/* =========================
   BASE / RESET
========================= */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
}

/* Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)),
    url("/assets/img/infinity4.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Links */
a {
  color: var(--blue-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Scroll-Anker unter Sticky Header */
section {
  scroll-margin-top: 120px;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hinweisbanner */
.site-notice {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  text-align: center;
}

/* Deaktivierter Link/Button-Look */
.demo-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================
   HEADER & NAV
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

.nav-toggle {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  white-space: nowrap;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-main);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover nur für Mausgeräte */
@media (hover: hover) {
  .main-nav a {
    transform: rotate(-18deg);
  }

  .main-nav a:hover {
    color: var(--blue-hover);
    transform: rotate(-18deg) scale(1.05);
  }
}

/* =========================
   HERO
========================= */

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subline {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================
   ÜBER MICH
========================= */

.ueber-mich {
  max-width: 1000px;
  margin: 6rem auto 0;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}
.ueber-mich p { line-height: 1.7; }

/* =========================
   ANGEBOT
========================= */

.angebot {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.angebot h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.angebot-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.angebot-list li { line-height: 1.6; }

/* =========================
   ARBEITSWEISE
========================= */

.arbeitsweise {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.arbeitsweise h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.arbeitsweise-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
.arbeitsweise-list li { line-height: 1.6; }

/* =========================
   PORTFOLIO
========================= */

.portfolio {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 5rem;
}

.portfolio > h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-einleitung {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
}

.portfolio-abschluss {
  margin-top: 3rem;
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
}

/* =========================
   PROJEKTE (Cards, Buttons, Layout)
========================= */

.project-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  margin-bottom: 3rem;
}

.project-main {
  background: rgba(255,255,255,0.75);
  border: 1px solid #e5e7eb;
  padding: 1.2rem;
}

.project-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.projekt-main h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.project-subline {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #374151;
}

.project-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--blue-accent);
  color: #fff;
  font-weight: 500;
}
.btn:hover { background: #1e4fd6; }

.btn-secondary {
  background: #e5e7eb;
  color: #111;
}
.btn-secondary:hover { background: #d1d5db; }

/* Alte Projekte */
.projekt {
  background: rgba(255,255,255,0.65);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  margin-bottom: 5rem;
}

.projekt h3,
.projekt h4 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.projekt p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.projekt-award {
  margin-top: 1.5rem;
  font-style: italic;
}

.projekt-details {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.projekt-details li { margin-bottom: 0.5rem; }

.projekt-layout {
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
}

.projekt-text { max-width: 650px; }

.projekt-media {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
}

.projekt-bild {
  width: 80%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .projekt-bild:hover { transform: scale(1.02); }
}
.projekt-bild.klein { max-height: 250px; }

.projekt-neben {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

/* =========================
   KONTAKT
========================= */

.kontakt {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.kontakt h2 { margin-bottom: 1.5rem; }

.kontakt-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-field label {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field textarea {
  padding: 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.kontakt-form button {
  align-self: center;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 0.4rem;
  background: var(--blue-accent);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}
.kontakt-form button:hover { background: var(--blue-hover); }

.form-hinweis {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* =========================
   FOOTER
========================= */

.back-to-top {
  text-align: center;
  margin: 3rem 0 1rem;
}

.back-to-top a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: var(--blue-main);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.back-to-top a:hover,
.back-to-top a:focus {
  background: #fff;
  color: var(--blue-hover);
  text-decoration: none;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-main);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.site-footer a {
  color: var(--blue-main);
  font-weight: 600;
}
.site-footer a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--blue-accent);
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);

    flex-direction: column;
    gap: 1rem;

    background: rgba(255,255,255,0.95);
    padding: 1.5rem;
    border-radius: 0.75rem;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .main-nav a { font-size: 1.05rem; }

  .projekt-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projekt-text { max-width: 100%; }
  .projekt-bild { width: 80%; }
}

/* =========================
   LEGAL PAGES (Datenschutz/Impressum)
========================= */

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.legal-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 2.5rem;
}

.legal-card h1 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 2rem;
}

.legal-card h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  color: var(--blue-main);
}

.legal-card p {
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--text-main);
}

.legal-card ul {
  margin: 0.5rem 0 1.2rem 1.2rem;
  padding: 0;
}

.legal-card li {
  margin: 0.4rem 0;
  line-height: 1.6;
}

.legal-card a { font-weight: 600; }

.legal-back {
  text-align: center;
  margin-top: 1.5rem;
}

.legal-back a {
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
  background: rgba(255,255,255,0.6);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}
.legal-back a:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}

































































