/* Fonts loaded via <link> in HTML for non-blocking rendering */


:root {
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --ink: #f5f1e8;
  --ink-dim: #9e9890;    /* aufgehellt für WCAG AA Kontrast */
  --ink-muted: #8a837a;  /* angehoben für lesbaren Kontrast auf #0a0a0a */
  --gold: #c9a961;
  --gold-bright: #e8c87a;
  --line: rgba(245,241,232,0.08);
  --line-gold: rgba(201,169,97,0.22);
  --card: #131210;       /* Karten-Hintergrund (svf-Footer, Panels) */
}

/* ── Globale Fokus-Sichtbarkeit (Tastatur-Navigation) ── */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Skip-Link (visually hidden, sichtbar bei Fokus) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: .8rem 1.4rem;
  background: var(--gold);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ── Reduzierte Bewegung (System-Einstellung respektieren) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .cs-shot-dyn {
    opacity: 1 !important;
    transform: none !important;
  }
  .cursor, .cursor-ring { display: none !important; }
  body { cursor: auto !important; }
  .btn, a, button { cursor: pointer !important; }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
/* Lenis aktiv (Klasse kommt von js/motion.js): natives smooth-scrolling AUS,
   sonst animiert der Browser jede Lenis-Frame-Position nochmal hinterher
   und das Scrollen fühlt sich zäh und gummiartig an. */
html.lenis {
  scroll-behavior: auto !important;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035; pointer-events: none; z-index: 100; /* mix-blend-mode entfernt: erzwang Viewport-Blending bei jedem Scroll-Frame */
}

/* ── Cursor — Saturn Style ── */
/* Nativer Zeiger wird nur versteckt, wenn JS den Custom Cursor aktiviert hat
   (html.has-custom-cursor wird von main.js gesetzt) — kein unsichtbarer
   Mauszeiger bei JS-Fehlern, Touch oder Reduced Motion. */
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor .btn,
html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor label {
  cursor: none;
}
.cursor {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  top: 0; left: 0;
  opacity: 0; /* unsichtbar bis zur ersten Mausbewegung (JS setzt opacity:1) */
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
  box-shadow: 0 0 6px rgba(201,169,97,.6);
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(201,169,97,.75);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483646;
  top: 0; left: 0;
  opacity: 0; /* unsichtbar bis zur ersten Mausbewegung (JS setzt opacity:1) */
  transition: width .2s, height .2s;
  box-shadow: 0 0 4px rgba(201,169,97,.2);
  will-change: transform;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.8rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(5,5,5,0.92), transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s cubic-bezier(.25,0,.1,1);
}
/* ── Schlankere Nav-Variante auf Projekt-Detail-Seiten ── */
.proj-page nav {
  padding: 1rem 4rem;
  background: rgba(5,5,5,0.96);
  border-bottom: 1px solid rgba(245,241,232,.06);
}
.proj-page .nav-logo { font-size: 1.4rem; }
.proj-page .nav-links a { font-size: .82rem; }
.proj-page .nav-cta { padding: .55rem 1.3rem; font-size: .74rem; }
@media (max-width: 900px) {
  .proj-page nav { padding: .8rem 1.5rem; }
}
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 400; letter-spacing: .38em; white-space: nowrap; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; align-items: center; white-space: nowrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; position: relative; transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .4s cubic-bezier(.7,0,.3,1); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .6rem 1.6rem; border: 1px solid var(--gold); color: var(--gold) !important; text-decoration: none; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; transition: background .4s, color .4s !important; }
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav-cta::after { display: none !important; }

/* ── Leistungen-Dropdown (Desktop-Nav) ──
   Öffnet per Hover/Fokus (CSS) und per Klick (.open via Inline-JS der Seiten). */
.nav-dd { position: relative; }
.nav-dd-trigger {
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  color: var(--ink);
  font-size: .88rem; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 0; position: relative;
  transition: color .3s;
}
.nav-dd-trigger:hover, .nav-dd:focus-within .nav-dd-trigger { color: var(--gold); }
.nav-dd-caret {
  font-size: .55em; color: var(--gold);
  transition: transform .3s;
  display: inline-block;
}
.nav-dd:hover .nav-dd-caret, .nav-dd.open .nav-dd-caret, .nav-dd:focus-within .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 230px;
  margin-top: 1.1rem;
  background: rgba(8, 8, 7, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-gold);
  list-style: none;
  padding: .6rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s cubic-bezier(.25,0,.1,1),
              transform .35s cubic-bezier(.25,0,.1,1),
              visibility 0s linear .35s;
}
/* Unsichtbare Brücke, damit der Hover beim Übergang Trigger → Menü nicht abreißt */
.nav-dd-menu::before {
  content: ''; position: absolute;
  top: -1.2rem; left: 0; right: 0; height: 1.2rem;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .35s cubic-bezier(.25,0,.1,1),
              transform .35s cubic-bezier(.25,0,.1,1),
              visibility 0s linear 0s;
}
.nav-dd-menu li a {
  display: block;
  padding: .75rem 1.6rem;
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: color .3s, background .3s, padding-left .3s;
}
.nav-dd-menu li a::after { display: none !important; }
.nav-dd-menu li a:hover {
  color: var(--gold);
  background: rgba(201,169,97,.06);
  padding-left: 1.9rem;
}
.nav-links a[aria-current="page"],
.nav-dd-menu li a[aria-current="page"] { color: var(--gold); }

/* ── Footer ── */
footer { padding: 5rem 4rem 3rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-brand-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.footer-brand-row .footer-brand { margin-bottom: 0; }
.footer-mark { width: 56px; height: 56px; opacity: 0.92; flex-shrink: 0; transition: opacity .3s; }
.footer-brand-row:hover .footer-mark { opacity: 1; }
.lp-footer-mark { width: 48px; height: 48px; opacity: 0.85; transition: opacity .3s; }
.lp-footer-mark:hover { opacity: 1; }
.footer-tagline { color: var(--ink-dim); font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .35em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; font-weight: 400; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .8rem; }
.footer-col a { color: var(--ink-dim); text-decoration: none; font-size: .88rem; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .2em; color: var(--ink-dim); text-transform: uppercase; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: var(--ink-dim); text-decoration: none; transition: color .3s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal-links { display: flex; gap: 2rem; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 1.1rem 2.4rem; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; position: relative; overflow: hidden; transition: color .4s; z-index: 1; background: transparent; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(100%); transition: transform .5s cubic-bezier(.7,0,.3,1); z-index: -1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold::before { background: var(--gold); }
.btn-gold:hover { color: var(--bg); }

/* ── Legal pages ── */
.legal-page { padding: 12rem 4rem 8rem; max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem,5vw,4rem); font-weight: 300; margin-bottom: 1rem; letter-spacing: -.02em; }
.legal-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .35em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; display: block; }
.legal-date { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .3em; color: var(--ink-muted); display: block; margin-bottom: 4rem; }
.legal-page h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 400; color: var(--gold); margin: 3.5rem 0 1rem; letter-spacing: -.01em; }
.legal-page h3 { font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; margin: 2.5rem 0 .8rem; }
.legal-page p { color: var(--ink-dim); line-height: 1.85; margin-bottom: 1.2rem; font-size: .95rem; }
.legal-page a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,169,97,.3); transition: border-color .3s; }
.legal-page a:hover { border-color: var(--gold); }
.legal-page ul { color: var(--ink-dim); line-height: 1.85; margin-bottom: 1.2rem; padding-left: 1.5rem; font-size: .95rem; }
.legal-page ul li { margin-bottom: .5rem; }
hr.legal-divider { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }
.placeholder { display: inline-block; background: rgba(201,169,97,.08); border: 1px dashed rgba(201,169,97,.4); padding: .25rem .7rem; border-radius: 2px; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--gold); letter-spacing: .08em; }
.info-box { border: 1px solid var(--line); padding: 2rem 2.5rem; margin: 2rem 0; background: rgba(255,255,255,.02); }
.info-box p { margin-bottom: 0; }

/* ── Contact form ── */
.contact-form { display: grid; gap: 1.5rem; max-width: 700px; }
.form-group { display: flex; flex-direction: column; gap: .6rem; }
.form-group label { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 1rem 1.2rem; font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 300;
  outline: none; transition: border-color .3s; width: 100%; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 160px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-note { font-size: .8rem; color: var(--ink-muted); line-height: 1.6; }
.form-note a { color: var(--gold); text-decoration: none; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.25,0,.1,1), transform .6s cubic-bezier(.25,0,.1,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 404 ── */
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.not-found h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(6rem,20vw,14rem); font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 1rem; opacity: .3; }
.not-found h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; margin-bottom: 1.5rem; }
.not-found p { color: var(--ink-dim); margin-bottom: 3rem; max-width: 400px; }

/* ── Mobile ── */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .btn { cursor: pointer; }
  nav { padding: 1.2rem 1.5rem; }
  .legal-page { padding: 8rem 1.5rem 5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-mark { width: 44px; height: 44px; }
  .footer-brand-row { gap: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 4rem 1.5rem 2rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ── Premium Hamburger / Fullscreen Menü ── */
.nav-hamburger {
  display: none;
  align-items: center;
  gap: .7rem;
  cursor: pointer; padding: .3rem;
  background: none; border: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 320;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  transition: color .3s;
}
.nav-hamburger:hover { color: var(--gold); }
.nav-hamburger.open { color: var(--gold); }
.nav-hamburger-label { transition: opacity .25s; position: relative; }
.nav-hamburger.open .nav-hamburger-label { opacity: 0; }
.nav-hamburger.open .nav-hamburger-label::after {
  content: 'Schließen'; position: absolute; left: 0; top: 0;
  opacity: 1; transition: opacity .25s .15s;
  color: var(--gold);
  white-space: nowrap;
}
.nav-hamburger-lines {
  position: relative; width: 26px; height: 18px;
  display: inline-block;
  transition: transform .3s;
}
.nav-hamburger.open .nav-hamburger-lines {
  transform: scale(1.15);
}
.nav-hamburger-lines span {
  position: absolute; display: block;
  left: 0; width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform .4s cubic-bezier(.7,0,.3,1), top .3s, opacity .2s, width .3s;
}
.nav-hamburger-lines span:nth-child(1) { top: 4px; }
.nav-hamburger-lines span:nth-child(2) { top: 8.5px; width: 70%; }
.nav-hamburger-lines span:nth-child(3) { top: 13px; }
.nav-hamburger.open .nav-hamburger-lines span:nth-child(1) {
  top: 8.5px; transform: rotate(45deg); width: 100%;
}
.nav-hamburger.open .nav-hamburger-lines span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-hamburger.open .nav-hamburger-lines span:nth-child(3) {
  top: 8.5px; transform: rotate(-45deg); width: 100%;
}

/* — Fullscreen Menu Overlay — */
.nav-mobile-menu {
  display: flex !important;
  position: fixed; inset: 0;
  width: 100vw;
  height: 100vh; height: 100dvh;
  z-index: 199; /* unter der Nav (200), damit der Hamburger-/Schließen-Button bedienbar bleibt */
  background: rgba(5, 5, 5, .98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5rem 2rem 3rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(1.03);
  transition: opacity .55s cubic-bezier(.25,0,.1,1),
              visibility 0s linear .55s,
              transform .65s cubic-bezier(.25,0,.1,1);
}
.nav-mobile-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: scale(1);
  transition: opacity .55s cubic-bezier(.25,0,.1,1),
              visibility 0s linear 0s,
              transform .65s cubic-bezier(.25,0,.1,1);
}
.nav-mobile-menu::before,
.nav-mobile-menu::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 20%, var(--gold) 50%, transparent 80%);
  opacity: 0;
  transition: opacity .6s cubic-bezier(.25,0,.1,1) .15s;
}
.nav-mobile-menu::before { top: 5.5rem; }
.nav-mobile-menu::after { bottom: 6rem; }
.nav-mobile-menu.open::before,
.nav-mobile-menu.open::after { opacity: .4; }

.nav-mobile-meta {
  position: absolute; top: 6.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .45em;
  color: var(--gold); text-transform: uppercase;
  opacity: 0; transition: opacity .5s cubic-bezier(.25,0,.1,1) .2s;
}
.nav-mobile-menu.open .nav-mobile-meta { opacity: 1; }

.nav-mobile-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.35rem, 4.2vh, 2.2rem); /* 10 Einträge müssen in die Höhe passen */
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  display: block;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.25,0,.1,1),
              transform .55s cubic-bezier(.25,0,.1,1),
              color .3s, font-style .3s;
  border-bottom: none !important;
}
.nav-mobile-link::before {
  content: attr(data-num);
  position: absolute; top: 50%; left: -3rem;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .3em;
  color: var(--gold); text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.nav-mobile-link:hover {
  color: var(--gold);
  font-style: italic;
  background: none !important;
}
.nav-mobile-link:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(.5rem);
}
.nav-mobile-menu.open .nav-mobile-link:nth-child(2) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(3) { transition-delay: .27s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(4) { transition-delay: .34s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(5) { transition-delay: .41s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(6) { transition-delay: .48s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(7) { transition-delay: .55s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(8) { transition-delay: .62s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(9) { transition-delay: .69s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(10) { transition-delay: .76s; opacity: 1; transform: translateY(0); }
.nav-mobile-menu.open .nav-mobile-link:nth-child(11) { transition-delay: .83s; opacity: 1; transform: translateY(0); }

.nav-mobile-link.cta {
  margin-top: 1.4rem;
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.4rem, 4vw, 2rem);
  border-top: none;
}
.nav-mobile-link.cta:hover { background: none; }

.nav-mobile-foot {
  position: absolute; bottom: 2.5rem; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 2.5rem;
  font-family: 'JetBrains Mono', monospace; font-size: .62rem;
  letter-spacing: .3em; color: var(--ink-muted);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.25,0,.1,1) .65s;
}
.nav-mobile-menu.open .nav-mobile-foot { opacity: 1; }
.nav-mobile-foot a {
  color: var(--gold); text-decoration: none;
  transition: color .3s;
}
.nav-mobile-foot a:hover { color: var(--gold-bright); }
.nav-mobile-divider { display: none; }

@media (max-width: 600px) {
  .nav-mobile-link { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .nav-mobile-link::before { display: none; }
  .nav-mobile-link.cta { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  /* Footer-Text mehrzeilig → braucht mehr Höhe, Linie höher setzen */
  .nav-mobile-menu::after { bottom: 8.5rem; }
  .nav-mobile-foot {
    bottom: 2rem;
    padding: 0 1.5rem;
    flex-direction: column;
    gap: .5rem;
    text-align: center;
    align-items: center;
  }
}

/* Nav kollabiert früher: zwei Dropdowns + großes Logo brauchen mehr Platz */
@media (max-width: 1040px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: inline-flex; }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOBILE OVERFLOW FIX (added 2026-05-23)
   Stellt sicher, dass keine Sektion horizontal überfließt
   ═══════════════════════════════════════════════════════════════ */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

/* Alle Sektionen mit potenziellem Overflow durch Glow-Elemente */
section, .hero, .page, .scene-hero, .scene-manifesto, .scene-disciplines,
.scene-process, .scene-showcase, .scene-stats, .scene-eclipse,
.scene-studio-anchor, .proj-hero, .pf-hero, .w-hero, .w-cta,
.cta-bottom, .contact-hero, .form-section, .location,
.intro-statement, .manifesto, .portrait-section, .legal-page {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Mobile spezifisch: Glow-Elemente klein halten */
@media (max-width: 700px) {
  /* Generic glow contraint — falls Selektor existiert */
  .approach-moon { width: 380px !important; height: 380px !important; }
  .manifesto-moon { width: 280px !important; height: 280px !important; right: -30% !important; }
  .proj-hero-glow { width: 380px !important; height: 380px !important; }
  .pf-hero-moon { width: 350px !important; height: 350px !important; }
  .w-hero-moon { width: 350px !important; height: 350px !important; }
  .moon-bg, .moon-404 { width: 300px !important; height: 300px !important; }
  .eclipse-content { width: 100% !important; max-width: 100vw !important; }
}


/* ───────── NEUER FOOTER (Selenova) ───────── */
.svf-section { position: relative; }

  .svf-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 16px;
    align-items: stretch;
  }

  /* ───────── LEFT CARD (video) ───────── */
  .svf-left {
    position: relative;
    min-height: 340px;
    border-radius: 28px;
    padding: 32px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.18);
    background: linear-gradient(150deg, #1a1610 0%, #0a0a0a 60%, #14110a 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line-gold);
  }

  .svf-logo {
    display: flex; align-items: center; gap: 10px;
    position: relative; z-index: 1;
  }
  .svf-logo-mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(232,200,122,0.85);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px; font-weight: 600; color: #fff;
    letter-spacing: -0.02em;
  }
  .svf-logo-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px; font-weight: 600; color: #fff;
    letter-spacing: 0.01em;
  }

  .svf-tagline-container {
    margin-top: auto; margin-bottom: 28px;
    position: relative; z-index: 1;
  }
  .svf-tagline {
    font-size: 18px; font-weight: 400; color: var(--ink);
    line-height: 1.5;
    font-family: 'Inter', system-ui, sans-serif;
  }
  .svf-tagline span { color: rgba(245,241,232,0.6); }

  .svf-social-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; position: relative; z-index: 1;
  }
  .svf-social-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 19px; font-weight: 500;
    color: rgba(245,241,232,0.92);
    letter-spacing: 0.3px;
  }
  .svf-svf-social-icons { display: flex; gap: 7px; }
  .svf-social-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: #0e1014;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    cursor: pointer;
  }
  .svf-social-icon svg { width: 15px; height: 15px; fill: #fff; }
  .svf-social-icon:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.5), 0 3px 8px rgba(0,0,0,0.3);
  }

  /* ───────── RIGHT CARD ───────── */
  .svf-right {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
  }

  /* Floating "Neugierig?" badge */
  .svf-lucky-graphic {
    position: absolute;
    top: -36px; right: 40px;
    z-index: 10;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  }
  .svf-lucky-cube {
    width: 96px; height: 96px;
    border-radius: 22px;
    transform: rotate(-10deg);
    background: linear-gradient(135deg, #f4dca0 0%, #e8c87a 45%, #c9a961 75%, #8c7543 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
      inset 3px 3px 8px rgba(255,255,255,0.45),
      inset -3px -3px 12px rgba(0,0,0,0.22),
      8px 14px 28px rgba(140,117,67,0.45);
  }
  .svf-svf-lucky-cube-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 46px; font-weight: 600; color: #1a140a;
    transform: rotate(10deg);
    text-shadow: 0 2px 5px rgba(255,255,255,0.3);
    line-height: 1;
  }
  .svf-svf-lucky-text-row {
    display: flex; gap: 6px; align-items: center;
    transform: rotate(-4deg); margin-top: 4px;
  }
  .svf-lucky-arrow { width: 22px; height: 22px; color: var(--ink-muted); }
  .svf-lucky-arrow svg { width: 100%; height: 100%; }
  .svf-lucky-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 22px; font-weight: 500;
    color: var(--ink-dim);
    white-space: nowrap;
  }

  /* Nav columns */
  .svf-right-top { padding-top: 8px; }
  .svf-nav-cols { display: flex; gap: 72px; }
  .svf-col-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px; font-weight: 500; font-style: italic;
    color: var(--gold);
    margin-bottom: 18px;
  }
  .svf-col a {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--ink);
    margin-bottom: 14px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .svf-col a:hover { color: var(--gold-bright); }

  /* Bottom */
  .svf-bottom {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-top: 48px; gap: 24px;
  }
  .svf-copyright {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11.5px; font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
    line-height: 1.7;
  }
  .svf-copyright .meta { display: block; color: var(--ink-muted); margin-top: 6px; }

  .svf-cta-mini { display: flex; flex-direction: column; gap: 14px; }
  .svf-cta-mini h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 19px; font-weight: 400; color: var(--ink-dim);
    line-height: 1.4;
  }
  .svf-cta-mini h4 strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px; font-weight: 600; color: var(--ink);
    font-style: italic;
  }
  .svf-subscribe-row {
    display: flex; width: 320px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line-gold);
    border-radius: 12px;
    padding: 5px;
  }
  .svf-subscribe-row input {
    flex: 1;
    padding: 11px 14px;
    background: transparent; border: none; outline: none;
    font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px;
    color: var(--ink);
  }
  .svf-subscribe-row input::placeholder { color: var(--ink-muted); }
  .svf-subscribe-row button {
    padding: 11px 22px;
    background: var(--gold);
    color: #0a0a0a;
    border: none;
    font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 6px 20px rgba(201,169,97,0.28);
  }
  .svf-subscribe-row button:hover {
    background: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(201,169,97,0.4);
  }

  /* Watermark */
  .svf-watermark {
    max-width: 1150px;
    margin: -60px auto 0;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 0;
    line-height: 0;
  }
  .svf-watermark svg { display: block; width: 100%; height: auto; overflow: visible; }
  .svf-watermark text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    fill: rgba(245, 241, 232, 0.045);
  }

  /* Responsive */
  @media (max-width: 860px) {
    .svf-wrapper { grid-template-columns: 1fr; }
    .svf-left { min-height: auto; gap: 40px; }
  }
  @media (max-width: 560px) {
    .svf-right { padding: 24px; padding-top: 76px; }
    .svf-nav-cols { gap: 40px; }
    .svf-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
    .svf-subscribe-row { width: 100%; }
    .svf-lucky-graphic { right: 14px; top: -18px; }
    .svf-lucky-cube { width: 58px; height: 58px; }
    .svf-svf-lucky-cube-mark { font-size: 28px; }
    .svf-svf-lucky-text-row { display: none; }
  }

/* Footer-Video */
.svf-left-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none;}
.svf-left::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(10,10,10,0.5) 0%,rgba(10,10,10,0.3) 45%,rgba(10,10,10,0.72) 100%);pointer-events:none;}

.svf-left .svf-logo-name,.svf-left .svf-tagline,.svf-left .svf-social-label{text-shadow:0 1px 14px rgba(0,0,0,0.9),0 0 6px rgba(0,0,0,0.6);}

/* ── Motion-System (js/motion.js): html.mjs = GSAP übernimmt ── */
.mjs .reveal { transition: none !important; }
[data-line] { transform: scaleX(var(--lineScale, 1)); transform-origin: left center; }
.mjs .btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), rgba(201,169,97,.28), transparent 70%);
  opacity: 0; transition: opacity .45s;
  pointer-events: none;
}
.mjs .btn:hover::after { opacity: 1; }
.glow-once { animation: goldGlow 1.2s cubic-bezier(0.25, 0, 0.1, 1) 1; }
@keyframes goldGlow {
  0% { text-shadow: 0 0 0 rgba(232,200,122,0); }
  35% { text-shadow: 0 0 26px rgba(232,200,122,.55); }
  100% { text-shadow: 0 0 0 rgba(232,200,122,0); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-once { animation: none; }
}

/* ── Seiten-Vorhang: öffnet sich beim Laden aus der Mitte (wie die Startseite) ── */
.page-curtain {
  position: fixed; left: 0; right: 0;
  height: 51vh;
  background: var(--bg-deep, #050505);
  z-index: 950;
  pointer-events: none;
}
.page-curtain.top { top: 0; animation: curtainUp 1s cubic-bezier(.7,0,.3,1) .25s forwards; }
.page-curtain.bot { bottom: 0; animation: curtainDown 1s cubic-bezier(.7,0,.3,1) .25s forwards; }
.page-curtain.top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, transparent 15%, var(--gold) 50%, transparent 85%);
  opacity: .5;
}
@keyframes curtainUp { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes curtainDown { to { transform: translateY(101%); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .page-curtain { display: none; } }
