/* ==========================================================================
   FINANZWÄCHTER — Designsystem
   Florian Wächter · Klartext für Versicherungen, Vorsorge & Vermögen

   Bewusst einfarbige Markenwelt: Tiefschwarz mit Gold, kein heller Modus.
   Die Marke ist dunkel — ein umschaltbares Erscheinungsbild würde die
   Wiedererkennung brechen. Alle Farben werden explizit gesetzt, damit die
   Seite unabhängig vom Systemdesign des Besuchers gleich aussieht.

   Keine externen Ressourcen: Schriften werden selbst ausgeliefert.
   ========================================================================== */

/* @import würde eine zusätzliche Netzrunde kosten — die Schriften stehen deshalb direkt hier. */
/* Selbst gehostete Schriften — beim Seitenaufruf entsteht keine Verbindung
   zu Google. Das ist zugleich die datenschutzrechtlich saubere Variante:
   beim Einbinden über fonts.googleapis.com würde die IP-Adresse des
   Besuchers an Google übertragen.

   Sora und IBM Plex stehen unter der SIL Open Font License 1.1.
   Es handelt sich um Variable Fonts: eine Datei deckt den gesamten
   Gewichtsbereich ab. */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Marken-Token
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Grundflächen — von tief nach erhaben */
  --void:        #07070A;
  --base:        #0B0B0F;
  --surface:     #121218;
  --surface-2:   #1A1A22;
  --surface-3:   #22222C;

  /* Gold — die einzige Buntfarbe der Marke */
  --gold-100:    #F7E3A1;
  --gold-200:    #EFD489;
  --gold-300:    #E3BF62;
  --gold-400:    #D9B14E;
  --gold-500:    #D4A73C;
  --gold-600:    #B8892B;
  --gold-700:    #A67C1A;
  --gold-900:    #5C430E;

  /* Schrift */
  --ink:         #F2EFE9;   /* warmes Weiß: weniger Nachleuchten als reines Weiß */
  --ink-2:       #A8A49C;
  --ink-3:       #8A867E;
  --ink-on-gold: #07070A;

  /* Linien */
  --line:        #22222C;
  --line-2:      #2E2E3A;
  --line-field:  #6E6E82;   /* Formularrahmen, WCAG 1.4.11 geprüft */
  --line-gold:   rgba(212, 167, 60, .34);

  /* Signalfarben — vom Markenakzent getrennt */
  --ok:          #63D9A4;
  --ok-bg:       #0B2119;
  --err:         #FF8A8A;
  --err-bg:      #2A1215;
  --focus:       var(--gold-300);

  /* Verläufe */
  --grad-gold: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-300) 28%,
                                       var(--gold-600) 58%, var(--gold-200) 82%, var(--gold-700) 100%);
  --grad-gold-line: linear-gradient(90deg, transparent, var(--gold-500), transparent);

  /* Schriftfamilien */
  --f-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-body:    'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Typografische Skala */
  --t--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
  --t--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.91rem);
  --t-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.10rem);
  --t-1:  clamp(1.19rem, 1.11rem + 0.38vw, 1.42rem);
  --t-2:  clamp(1.42rem, 1.28rem + 0.68vw, 1.85rem);
  --t-3:  clamp(1.69rem, 1.46rem + 1.14vw, 2.40rem);
  --t-4:  clamp(2.01rem, 1.63rem + 1.90vw, 3.12rem);
  --t-5:  clamp(2.05rem, 1.60rem + 2.30vw, 3.60rem);
  --t-6:  clamp(2.15rem, 1.60rem + 2.90vw, 4.60rem);

  /* Raum */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;   --s5: 1.5rem;
  --s6: 2rem;   --s7: 3rem;   --s8: 4rem;   --s9: 6rem;   --s10: 8rem;

  --wrap:        78rem;
  --wrap-narrow: 46rem;

  --gutter: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 4px;
  --r:    10px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Flächen, die es in beiden Modi gibt, aber nicht durch Invertieren */
  --tint-gold:   #17150F;   /* gewählter Chip, gewählte Option */
  --tint-gold-2: #1B1610;   /* Verlaufsansatz der Goldkarte */
  --hero-top:    #10101A;   /* oberer Punkt des Bühnenverlaufs */
  --chart-track: #726C62;   /* unbelegter Teil der Balken */

  /* Primärknopf: Fläche und Schrift getrennt, damit beide Modi lesbar bleiben.
     --grad-gold faerbt im Hellmodus Ueberschriften dunkel; als Knopffläche
     waere das mit dunkler Schrift unlesbar. Der Knopf bleibt deshalb in
     beiden Modi hell golden. */
  --grad-gold-btn: var(--grad-gold);
  --btn-gold-bg:   var(--gold-500);
  --btn-gold-fg:   var(--ink-on-gold);
  --btn-gold-line: transparent;

  --shadow:    0 18px 40px -20px rgba(0,0,0,.9);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.95);
  --glow-gold: 0 0 0 1px rgba(212,167,60,.22), 0 18px 50px -20px rgba(212,167,60,.28);

  --dur:  260ms;
  --dur-slow: 620ms;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}
/* --------------------------------------------------------------------------
   1b. Heller Modus

   Die Marke bleibt dunkel: Ohne Auswahl sieht jeder Besucher die dunkle
   Fassung. Wer umschaltet, bekommt diese Palette, und die Entscheidung
   bleibt im Browser gespeichert.

   Gold wird hier nicht heller, sondern dunkler. Helles Gold auf Weiss ist
   kaum zu lesen (rund 2:1) und wirkt ausgewaschen; ein tiefes, antikes Gold
   ist auf hellem Grund sowohl kontraststark als auch wertiger.
   -------------------------------------------------------------------------- */
:root[data-theme="light"] {
  color-scheme: light;

  --void:        #FFFFFF;
  --base:        #FAF8F4;
  --surface:     #FFFFFF;
  --surface-2:   #F3F0E9;
  --surface-3:   #E7E3D9;

  --gold-100:    #5E4406;
  --gold-200:    #6C4E08;
  --gold-300:    #7C5A0D;
  --gold-400:    #8E6710;
  --gold-500:    #8A6510;
  --gold-600:    #7A5A10;
  --gold-700:    #63480B;
  --gold-900:    #3C2B05;

  --ink:         #15130E;
  --ink-2:       #55504A;
  --ink-3:       #6B665B;
  --ink-on-gold: #15130E;

  --line:        #E2DED3;
  --line-2:      #CFC9BB;
  --line-field:  #857F71;
  --line-gold:   rgba(152, 112, 15, .38);

  --ok:          #1B6B47;
  --ok-bg:       #E8F5EE;
  --err:         #A32020;
  --err-bg:      #FCEBEB;
  --focus:       var(--gold-600);

  --grad-gold: linear-gradient(135deg, #8E6710 0%, #7C5A0D 28%,
                                       #63480B 58%, #98700F 82%, #5E4406 100%);
  --grad-gold-line: linear-gradient(90deg, transparent, var(--gold-500), transparent);

  --tint-gold:   #FBF3DE;
  --tint-gold-2: #FDF7E6;
  --hero-top:    #FFFFFF;
  --chart-track: #B4AC9C;

  /* Der Knopf bleibt hell golden mit dunkler Schrift — das liest sich am
     besten. Damit seine Kante auf hellem Grund nicht verschwindet
     (WCAG 1.4.11), bekommt er eine dunkle Umrandung. */
  --grad-gold-btn: linear-gradient(135deg, #F2DC9C 0%, #E5C060 30%,
                                           #D9B14E 62%, #EFD489 100%);
  --btn-gold-bg:   #D9B14E;
  --btn-gold-fg:   #15130E;
  --btn-gold-line: #8E6710;

  --shadow:    0 14px 32px -18px rgba(30, 24, 8, .28);
  --shadow-lg: 0 34px 70px -28px rgba(30, 24, 8, .30);
  --glow-gold: 0 0 0 1px rgba(152,112,15,.30), 0 16px 44px -20px rgba(152,112,15,.32);
}

/* --------------------------------------------------------------------------
   2. Reset und Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Feines Filmkorn über der gesamten Seite — nimmt dem Schwarz die Flachheit */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas, video { display: block; max-width: 100%; height: auto; }
/* Das hidden-Attribut gewinnt gegen jede display-Regel einer Komponente. */
[hidden] { display: none !important; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--t-5); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-1); letter-spacing: -0.015em; }
h4 { font-size: var(--t-0); letter-spacing: 0; }

p, li { text-wrap: pretty; }

/* Sicherheitsnetz gegen waagerechtes Überlaufen bei langen Fachwörtern */
h1, h2, h3, h4, p, li, dd, dt, td, th, summary, blockquote, address {
  overflow-wrap: break-word;
}
/* Nur die im Text gesetzten weichen Trennstellen (&shy;) nutzen —
   automatische Trennung liefert je nach Browser andere Ergebnisse. */
h1, h2, h3, summary { hyphens: manual; }

a { color: var(--gold-300); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-100); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-500); color: var(--ink-on-gold); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; border: 3px solid var(--void); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-900); }

/* --------------------------------------------------------------------------
   3. Layout-Primitive
   -------------------------------------------------------------------------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { position: relative; padding-block: clamp(4rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--deep  { background: var(--void); }
.section--raised { background: var(--surface); }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
/* Ohne dies wächst eine Spalte über den Container hinaus, sobald ein Kind
   ein langes, nicht umbrechbares Wort enthält. */
.grid > *, .hero__layout > *, .pillars > *, .metrics > *, .track > * { min-width: 0; }

/* Zweispaltig erst dort, wo zwei Spalten auch Platz haben. */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Senkrecht zentrierte Sektion. Bewusst kein place-items:center — das würde
   die Kinder auf ihre Inhaltsbreite schrumpfen und bei langen Wörtern
   waagerecht überlaufen lassen. */
.center-stage {
  display: grid; align-items: center; justify-items: stretch;
  grid-template-columns: minmax(0, 1fr);   /* nicht breiter als der Container werden */
  min-height: 60vh;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: var(--s4); z-index: 999;
  background: var(--grad-gold-btn); color: var(--btn-gold-fg); border: 1px solid var(--btn-gold-line);
  padding: var(--s3) var(--s5); border-radius: 0 0 var(--r) var(--r);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--ink-on-gold); }

/* --------------------------------------------------------------------------
   3b. Hilfsklassen — ersetzen Inline-Styles, damit die Content-Security-Policy
       ohne 'unsafe-inline' für Stylesheets auskommt.
   -------------------------------------------------------------------------- */
.mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s8); }
.mb-0 { margin-bottom: 0; } .mb-6 { margin-bottom: var(--s6); } .mb-7 { margin-bottom: var(--s7); }
.gap-4 { gap: var(--s4); }
.ta-c { text-align: center; }
.center-x { justify-content: center; }
.h-1 { font-size: var(--t-1); }
.h-3 { font-size: var(--t-3); }
.gold-dim { color: var(--gold-600); }
.mono-gold { font-family: var(--f-mono); color: var(--gold-300); letter-spacing: .1em; }
.eyebrow--err { color: var(--err); }
.contact-cell--static { cursor: default; }

/* Abschließende Handlungsaufforderung */
.card--cta { text-align: center; padding: clamp(2.5rem, 6vw, 4rem); }
.card--err { border-color: var(--err); }
.cta-lead { margin: var(--s4) auto 0; max-width: 40rem; }

/* --------------------------------------------------------------------------
   4. Marken-Ornamente
   -------------------------------------------------------------------------- */

/* Geschwungene Goldbögen — direkt aus dem Markenbild übernommen */
.arc-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.arc-field svg { position: absolute; width: 160%; height: 160%; }
.arc-field .arc-tl { top: -46%; left: -58%; }
.arc-field .arc-br { bottom: -52%; right: -56%; transform: rotate(180deg); }

/* Technisches Raster */
.mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .38;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 42%, #000 8%, transparent 76%);
  mask-image: radial-gradient(64% 58% at 50% 42%, #000 8%, transparent 76%);
}

/* Waagerechte Haarlinie mit Goldverlauf */
.rule { height: 1px; background: var(--grad-gold-line); border: 0; opacity: .5; }

/* Eckwinkel — technisches Signal an hervorgehobenen Flächen */
.bracket { position: relative; }
.bracket::before, .bracket::after {
  content: ""; position: absolute; width: 15px; height: 15px; pointer-events: none;
  border-color: var(--gold-500); opacity: .8;
}
.bracket::before { top: -1px; left: -1px; border-top: 1.5px solid; border-left: 1.5px solid; }
.bracket::after  { bottom: -1px; right: -1px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* --------------------------------------------------------------------------
   5. Typografische Hilfsklassen
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-family: var(--f-mono); font-size: var(--t--2); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-300);
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.eyebrow--center { justify-content: center; }

.lead { font-size: var(--t-1); color: var(--ink-2); line-height: 1.58; font-weight: 300; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: var(--t--1); }
.measure { max-width: 60ch; }
.mono { font-family: var(--f-mono); }

/* Goldene Textfüllung für einzelne Wörter */
.gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) { .gold { color: var(--gold-300); -webkit-text-fill-color: currentColor; } }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > * + * { margin-top: var(--s4); }
.section-head--center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------------------
   6. Schaltflächen
   -------------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.9em;
  font-family: var(--f-body); font-size: var(--t-0); font-weight: 600;
  line-height: 1.15; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--line-field); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Hauptaktion: massives Gold */
.btn--gold {
  background: var(--grad-gold-btn);
  color: var(--btn-gold-fg);
  border-color: var(--btn-gold-line);
  font-weight: 700;
}
.btn--gold:hover { color: var(--btn-gold-fg); box-shadow: var(--glow-gold); }

/* Lichtreflex, der beim Zeigen über die Fläche wandert */
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.btn--gold:hover::before { transform: translateX(120%); }

/* Nebenaktion: Kontur */
.btn--line { background: transparent; border-color: var(--line-field); }
.btn--line:hover { border-color: var(--gold-500); color: var(--gold-100); }

.btn--sm { padding: .68em 1.3em; font-size: var(--t--1); }
.btn--block { width: 100%; }

@media (max-width: 26rem) {
  .btn { white-space: normal; padding-inline: 1.35em; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none; color: var(--gold-300);
  font-size: var(--t--1); letter-spacing: .02em;
  min-height: 44px; /* Tippfläche auf dem Handy (WCAG 2.5.8) */
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--gold-100); }
.link-arrow:hover::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   7. Kopfbereich
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad-gold);
  pointer-events: none;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--base) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--void) 88%, transparent);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--void); } }

.nav { display: flex; align-items: center; gap: var(--s5); min-height: 5rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__signet { width: 2.5rem; height: 2.5rem; flex: none; }
.brand__type { display: flex; flex-direction: column; gap: .18rem; }
.brand__name {
  font-family: var(--f-display); font-size: .96rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; line-height: 1;
}
.brand__sub {
  font-family: var(--f-mono); font-size: .58rem; line-height: 1;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500);
}

.nav__list { display: flex; align-items: center; gap: var(--s1); list-style: none; padding: 0; margin: 0; }
.nav__link {
  position: relative; display: block; padding: .55rem .85rem;
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500;
  letter-spacing: .01em;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .18rem;
  height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__burger {
  display: none; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.nav__burger:hover { border-color: var(--gold-500); }

/* Umschalter hell/dunkel — gleiche Groesse und Form wie der Menueknopf,
   damit die Kopfzeile ruhig bleibt. */
.theme-toggle {
  display: grid; place-items: center; flex: none;
  width: 2.5rem; height: 2.5rem;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.theme-toggle:hover { color: var(--gold-500); border-color: var(--gold-500); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
/* Gezeigt wird, wohin der Klick fuehrt: im Dunkeln die Sonne, im Hellen der Mond. */
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
/* Bewegung: im Lauf das Pausenzeichen, angehalten das Abspielzeichen */
.theme-toggle .i-play { display: none; }
[data-motion-toggle][data-paused="true"] .i-pause { display: none; }
[data-motion-toggle][data-paused="true"] .i-play { display: block; }
.nav__burger svg { width: 1.2rem; height: 1.2rem; }
.nav__burger .i-close { display: none; }
.nav__burger[aria-expanded="true"] .i-close { display: block; }
.nav__burger[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 62rem) {
  .nav__burger { display: grid; }
  .nav__menu {
    position: fixed; inset: 5rem 0 auto 0;
    background: var(--void); border-bottom: 1px solid var(--line);
    padding: var(--s4) var(--gutter) var(--s6);
    display: none; box-shadow: var(--shadow-lg);
  }
  .nav__menu[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: var(--s5); width: 100%; }
  .nav__menu .theme-toggle { display: inline-grid; margin-top: var(--s5); margin-right: var(--s2); }
}
@media (min-width: 62.0625rem) {
  .nav__menu { display: flex !important; align-items: center; gap: var(--s5); }
}

/* --------------------------------------------------------------------------
   8. Bühne
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% -20%, var(--hero-top) 0%, var(--base) 46%, var(--void) 100%);
}
.hero__canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 2; }

.hero__layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 64rem) { .hero__layout { grid-template-columns: 1.28fr .72fr; } }

.hero__content > * + * { margin-top: var(--s5); }
.hero h1 { font-size: var(--t-6); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); padding-top: var(--s3); }
.cta-center { justify-content: center; }

/* Statuszeile mit Live-Punkt */
.hero__status {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .4rem .95rem .4rem .7rem;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-family: var(--f-mono); font-size: var(--t--2);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
/* Ruhige Goldmarke statt pulsierendem Grün — ein Puls liest sich als „jetzt online“
   und verspricht damit etwas, das die Seite nicht halten kann. */
.hero__status .mark {
  width: .4rem; height: .4rem; border-radius: 50%; flex: none;
  background: var(--gold-400); box-shadow: 0 0 10px rgba(212,167,60,.6);
}

/* Nachweise unter der Bühne */
.proof {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6);
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid var(--line);
  list-style: none; padding-left: 0;
}
.proof li {
  display: flex; align-items: center; gap: .6em;
  font-size: var(--t--1); color: var(--ink-2);
}
.proof svg { width: 1.05rem; height: 1.05rem; color: var(--gold-500); flex: none; }

/* Bühnen-Beiwerk: 3D-Objekt */
.hero__stage { position: relative; display: grid; place-items: center; min-height: clamp(20rem, 42vw, 32rem); }
.hero__object { width: 100%; max-width: 38rem; aspect-ratio: 1; }

/* Schmale Schirme: Das Signet steht über der Überschrift statt darunter.
   Unter dem Text lag es außerhalb des ersten Bildschirms — die Animation lief
   erst nach dem Scrollen an, und genau sie ist das Markenzeichen. Kleiner
   gehalten, damit der Terminknopf trotzdem im ersten Bild bleibt. */
@media (max-width: 63.99rem) {
  .hero__layout { gap: var(--s4); }
  .hero__stage { order: -1; min-height: 0; }
  .hero__object { max-width: min(14rem, 58vw); }
}
/* Niedrige Schirme (iPhone SE und ähnliche): etwas kleiner, weniger Luft oben,
   damit der Terminknopf im ersten Bild bleibt. */
@media (max-width: 63.99rem) and (max-height: 700px) {
  .hero { padding-top: var(--s4); }
  .hero__object { max-width: min(9.5rem, 42vw); }
}

/* --------------------------------------------------------------------------
   9. Die vier Säulen
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 40rem)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem)  { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: var(--s3);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--surface);
  text-decoration: none; color: var(--ink);
  transition: background-color var(--dur) var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(80% 70% at 50% 0%, rgba(212,167,60,.13), transparent 70%);
  transition: opacity var(--dur) var(--ease);
}
.pillar:hover { background: var(--surface-2); color: var(--ink); }
.pillar:hover::before, .pillar:focus-within::before { opacity: 1; }

.pillar__no {
  font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .18em;
  color: var(--gold-700);
}
.pillar__icon { width: 2.6rem; height: 2.6rem; color: var(--gold-400); margin-block: var(--s2); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: var(--t-1); }
.pillar h3 a { color: var(--ink); text-decoration: none; }
.pillar:hover h3 a, .pillar:focus-within h3 a { color: var(--gold-200); }
.pillar p { font-size: .95rem; color: var(--ink-2); flex: 1; }
.pillar__more { margin-top: var(--s2); }
.pillar__link::after { content: ""; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   9b. Bedarfs-Check — drei Fragen, eine Einordnung, alles im Browser
   -------------------------------------------------------------------------- */
.check { padding: clamp(1.5rem, 3vw, 2.25rem); }
.check fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check__q {
  display: flex; align-items: baseline; gap: var(--s3);
  font-family: var(--f-display); font-size: var(--t-1); font-weight: 500;
  margin-bottom: var(--s5); padding: 0;
}
.check__no { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .18em; color: var(--gold-600); }
.check__opts { display: grid; gap: var(--s2); }
.check__opt {
  position: relative; display: flex; align-items: center; gap: var(--s3);
  padding: .9rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--void); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.check__opt:hover { border-color: var(--line-field); transform: translateX(3px); }
.check__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__opt span { flex: 1; }
.check__opt span::before {
  content: ""; display: inline-block; width: .9rem; height: .9rem; margin-right: .75rem;
  border: 1px solid var(--line-field); border-radius: 50%; vertical-align: -.1em;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.check__opt:has(input:checked) { border-color: var(--gold-500); background: var(--tint-gold); }
.check__opt:has(input:checked) span::before { background: var(--gold-400); border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212,167,60,.18); }
.check__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.check__nav { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); }
.check__nav .btn { margin-left: auto; }
.check__nav .btn + .btn { margin-left: 0; }
.check__progress { display: inline-flex; gap: .35rem; }
.check__progress i { width: 1.6rem; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color var(--dur) var(--ease); }
.check__progress i.on { background: var(--gold-500); }

.check__result > * + * { margin-top: var(--s3); }
.check__reset { margin-top: var(--s5); font-size: var(--t--1); color: var(--ink-3); text-decoration: underline; text-underline-offset: .2em; }
.check__reset:hover { color: var(--gold-200); }

/* Standorte */
.sites { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.sites > * { max-width: 28rem; }
.site__addr { font-style: normal; color: var(--ink); font-weight: 500; line-height: 1.5; }
.footer__sites { list-style: none; padding: 0; margin-top: var(--s4); display: grid; gap: var(--s2); font-size: .9rem; color: var(--ink-2); }
.footer__sites .k { display: block; font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }

/* --------------------------------------------------------------------------
   9c. Erstgespräch-Assistent
   -------------------------------------------------------------------------- */
.funnel-stage { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); overflow: hidden; }
.funnel-stage .wrap--narrow { max-width: 52rem; }
.funnel-head > * + * { margin-top: var(--s4); }
.funnel-head { margin-bottom: var(--s7); }
.funnel { padding: clamp(1.5rem, 3.2vw, 2.5rem); }

.funnel__bar { height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.funnel__bar-fill { display: block; height: 100%; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.funnel__meta { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s3); margin-bottom: var(--s6); font-size: var(--t--2); letter-spacing: .14em; text-transform: uppercase; }

.fstep__q { font-size: var(--t-2); margin-bottom: var(--s5); }
.fstep__hint { margin: calc(-1 * var(--s4)) 0 var(--s5); font-size: var(--t--1); color: var(--ink-3); }
.fopts { display: grid; gap: var(--s2); }
@media (min-width: 40rem) { .fopts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fopt {
  display: flex; align-items: center; gap: var(--s3); text-align: left;
  padding: 1.05rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--void); color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.fopt::before {
  content: ""; flex: none; width: .9rem; height: .9rem; border-radius: 50%;
  border: 1px solid var(--line-field);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fopt:hover { border-color: var(--line-field); transform: translateY(-2px); }
.fopt.is-on { border-color: var(--gold-500); background: var(--tint-gold); }
.fopt.is-on::before { background: var(--gold-400); border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212,167,60,.18); }
.fopt__t { line-height: 1.35; }

.fstep__feedback {
  min-height: 1.6em; margin-top: var(--s4); color: var(--gold-200); font-size: .95rem;
  opacity: 0; transform: translateY(4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.fstep__feedback.is-on, .fstep__feedback:not(:empty) { opacity: 1; transform: none; }

.fnav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); flex-wrap: wrap; }

/* Schrittwechsel */
@media (prefers-reduced-motion: no-preference) {
  .fstep.is-in   { animation: fstep-in 420ms var(--ease-out); }
  .fstep.is-back { animation: fstep-back 420ms var(--ease-out); }
  @keyframes fstep-in   { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
  @keyframes fstep-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
}

/* Ergebnisgrafik: eine Messgröße, vier Kategorien — ein Farbton, direkt beschriftet */
.prio { margin: var(--s6) 0; }
.prio svg { display: block; width: 100%; height: auto; font-family: var(--f-body); }
.prio__rank  { font-family: var(--f-mono); font-size: 12px; fill: var(--gold-600); }
.prio__label { font-size: 13.5px; fill: var(--ink-2); }
.prio__label.is-top { fill: var(--ink); font-weight: 600; }
/* Die Spur zeigt den Bezugsrahmen des Balkens — bei kurzen Werten ist sie
   das Einzige, woran man die Skala erkennt. Deshalb auf UI-Kontrast gebracht
   (--line-field: 3,75:1 auf der Karte). */
/* Warmes Grau statt des bläulichen Feldrahmens — es steht neben Gold,
   nicht neben einem Formularfeld. 3,3:1 auf der Karte. */
.prio__track { fill: var(--chart-track); }
.prio__bar   { fill: var(--gold-400); }
.prio__value { font-family: var(--f-mono); font-size: 12px; fill: var(--ink-2); }

.fresult__next { padding-top: var(--s5); border-top: 1px solid var(--line); }

.fset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fset__l { font-size: .92rem; font-weight: 500; margin-bottom: var(--s3); padding: 0; }
.fchips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fchip span {
  display: inline-block; padding: .6rem 1.05rem; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--void); color: var(--ink-2); cursor: pointer; font-size: .93rem;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.fchip:hover span { border-color: var(--line-field); color: var(--ink); }
.fchip input:checked + span { border-color: var(--gold-500); color: var(--ink); background: var(--tint-gold); }
.fchip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.funnel__foot { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); }
.fdone .fstep__q span { color: var(--gold-200); }

/* Mobile Handlungsleiste: erscheint erst, wenn der Kopfbereich vorbei ist */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--void) 88%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform var(--dur-slow) var(--ease-out);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta__t { font-size: .84rem; color: var(--ink-2); line-height: 1.3; }
.sticky-cta__t strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 48rem) { .sticky-cta { display: flex; } }
.sticky-cta__t { margin-right: auto; }
.sticky-cta .btn { white-space: nowrap; }
@media (max-width: 26rem) { .sticky-cta__t { display: none; } .sticky-cta .btn { flex: 1; } }

/* Lichtkegel folgt dem Zeiger über der Bühne */
.hero__light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(28rem 28rem at var(--lx, 50%) var(--ly, 40%), rgba(212,167,60,.10), transparent 60%);
  transition: opacity 600ms var(--ease);
}
.hero:hover .hero__light { opacity: 1; }

/* Goldlinie zeichnet sich beim Erscheinen */
.js .rule { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1100ms var(--ease-out); }
.js .rule.shown { transform: none; }

/* Säulen-Piktogramme zeichnen sich beim Zeigen nach */
.pillar__icon path, .pillar__icon circle { stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out); }
.pillar:hover .pillar__icon path, .pillar:hover .pillar__icon circle { animation: draw 1.1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   10. Karten
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card > * + * { margin-top: var(--s3); }
.card h3 { font-size: var(--t-1); }
.card p { color: var(--ink-2); font-size: .96rem; }

/* Kippt der Karte leicht in Richtung Zeiger — von tilt.js gesteuert */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt__inner > * + * { margin-top: var(--s3); }
.tilt:hover { border-color: var(--line-2); }
.tilt__inner { transform: translateZ(28px); }

.card--gold {
  background: linear-gradient(155deg, var(--tint-gold-2), var(--surface) 62%);
  border-color: var(--line-gold);
}

.tag-row { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; }
.tag {
  font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .06em;
  padding: .3em .75em; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}

/* Nachweise in Kurzform — drei Belege statt eines Absatzes */
.credentials { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 46rem) { .credentials { grid-template-columns: repeat(3, 1fr); } }
.cred { background: var(--base); padding: var(--s5) var(--s5) var(--s5) 0; display: grid; gap: .35rem; }
@media (min-width: 46rem) { .cred { padding-inline: var(--s5); } .cred:first-child { padding-left: 0; } }
.cred__k { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.cred__v { font-family: var(--f-display); font-size: var(--t-1); font-weight: 500; color: var(--ink); }
.cred__n { font-size: var(--t--1); color: var(--ink-3); line-height: 1.5; }
.cred__n a { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   11. Kennzahlen
   -------------------------------------------------------------------------- */
.metrics {
  display: grid; gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 44rem) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .metrics { grid-template-columns: repeat(4, 1fr); } }
/* Zwei Zahlen bekommen den ganzen Platz — weniger, dafür groesser. */
@media (min-width: 66rem) { .metrics--duo { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 44rem) { .metrics--trio { grid-template-columns: repeat(3, 1fr); } }

.metric { background: var(--base); padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.4vw, 2rem); }
.metric__value {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: var(--t-4); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) { .metric__value { color: var(--gold-300); -webkit-text-fill-color: currentColor; } }
.metric__label { display: block; margin-top: var(--s3); font-size: var(--t--1); color: var(--ink-2); line-height: 1.5; }

/* --------------------------------------------------------------------------
   12. Ablauf
   -------------------------------------------------------------------------- */
.track { list-style: none; padding: 0; display: grid; gap: var(--s6); position: relative; }
@media (min-width: 56rem) { .track { grid-template-columns: repeat(4, 1fr); gap: var(--s5); } }

.track__step { position: relative; padding-top: var(--s6); }
.track__step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2);
}
.track__step::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold-500);
  box-shadow: 0 0 12px rgba(212,167,60,.7);
}
.track__no {
  font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .18em;
  color: var(--gold-600); display: block; margin-bottom: var(--s3);
}
.track__step h3 { font-size: var(--t-0); margin-bottom: var(--s2); }
.track__step p { font-size: .93rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   13. Zitat
   -------------------------------------------------------------------------- */
/* Ergebnis der Strategie-Einordnung */
.strat__dl { margin-top: var(--s5); display: grid; gap: var(--s4); }
.strat__dl dt {
  font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--s2);
}
.strat__dl dd { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }

.quote {
  position: relative; padding: clamp(2rem, 4vw, 3rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.quote::before {
  content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--grad-gold); border-radius: var(--r) 0 0 var(--r);
}
.quote blockquote {
  font-family: var(--f-display); font-size: var(--t-2); font-weight: 300;
  line-height: 1.36; letter-spacing: -.02em;
}
.quote figcaption { margin-top: var(--s5); font-size: var(--t--1); color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-weight: 600; display: block; }

/* --------------------------------------------------------------------------
   14. Fragen und Antworten
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5);
  padding: var(--s5) 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: var(--t-1); font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-200); }
.faq summary::after {
  content: ""; flex: none; width: .95rem; height: .95rem; margin-top: .5rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary { color: var(--gold-200); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding-bottom: var(--s5); color: var(--ink-2); max-width: 62ch; }
.faq__body > * + * { margin-top: var(--s3); }

/* --------------------------------------------------------------------------
   15. Hinweisflächen
   -------------------------------------------------------------------------- */
.note {
  padding: var(--s5); border: 1px solid var(--line); border-left: 2px solid var(--gold-600);
  border-radius: var(--r); background: var(--surface); font-size: .96rem; color: var(--ink-2);
}
.note > * + * { margin-top: var(--s3); }
.note strong { color: var(--ink); }
.note--warn { border-left-color: var(--err); background: var(--err-bg); }
.note--ok { border-left-color: var(--ok); background: var(--ok-bg); }

.checklist { list-style: none; padding: 0; display: grid; gap: var(--s4); }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.checklist svg { width: 1.15rem; height: 1.15rem; margin-top: .32rem; color: var(--gold-500); flex: none; }
.checklist strong { color: var(--ink); }
.checklist span { color: var(--ink-2); }

/* Kontaktflächen */
.contact-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 40rem) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-cell {
  background: var(--surface); padding: var(--s5); text-decoration: none; color: var(--ink);
  transition: background-color var(--dur) var(--ease);
}
.contact-cell:hover { background: var(--surface-2); color: var(--ink); }
.contact-cell svg { width: 1.3rem; height: 1.3rem; color: var(--gold-500); margin-bottom: var(--s4); }
.contact-cell .k { display: block; font-family: var(--f-mono); font-size: var(--t--2);
                   letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.contact-cell .v { display: block; margin-top: .35rem; font-weight: 500; word-break: break-word; }

/* --------------------------------------------------------------------------
   16. Formular
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.field { display: grid; gap: var(--s2); }
.field > label { font-size: .92rem; font-weight: 500; }
.field .hint { font-size: var(--t--1); color: var(--ink-2); }
.req { color: var(--gold-400); }

.input, .textarea, .select {
  width: 100%; padding: .85rem 1rem;
  background: var(--void); color: var(--ink);
  border: 1px solid var(--line-field); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,167,60,.16);
}
.textarea { min-height: 9.5rem; resize: vertical; line-height: 1.6; }
.select {
  appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-400) 50%),
                    linear-gradient(135deg, var(--gold-400) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%;
  background-size: .38rem .38rem, .38rem .38rem;
  background-repeat: no-repeat;
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); }
.field__error { font-size: var(--t--1); color: var(--err); font-weight: 500; }
.field__error:empty { display: none; }

.checkbox { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; }
.checkbox input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--gold-500); flex: none; }
.checkbox label { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { padding: var(--s4) var(--s5); border-radius: var(--r); font-weight: 500; }
.form__status[data-state="ok"]  { background: var(--ok-bg);  color: var(--ok);  border: 1px solid currentColor; }
.form__status[data-state="err"] { background: var(--err-bg); color: var(--err); border: 1px solid currentColor; }
.form__status:empty { display: none; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* --------------------------------------------------------------------------
   17. Rechtstexte
   -------------------------------------------------------------------------- */
.legal { max-width: 46rem; line-height: 1.78; }
.legal > * + * { margin-top: var(--s4); }
.legal h2 { font-size: var(--t-2); margin-top: var(--s8); }
.legal h3 { font-size: var(--t-1); margin-top: var(--s6); }
.legal h4 { margin-top: var(--s5); font-family: var(--f-body); font-weight: 600; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 1.35rem; display: grid; gap: var(--s2); }
.legal address { font-style: normal; color: var(--ink-2); }
.legal dl { display: grid; gap: var(--s4); }
.legal dt { font-weight: 600; color: var(--ink); font-family: var(--f-display); }
.legal dd { margin: 0; color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--ink-2); }
.legal code { font-family: var(--f-mono); font-size: .88em; color: var(--gold-200); }
.table-scroll { overflow-x: auto; }

.toc { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.toc h2 { font-size: var(--t--1) !important; margin: 0 0 var(--s3) !important;
          font-family: var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.toc ol { margin: 0; padding-left: 1.2rem; gap: var(--s1); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--gold-200); text-decoration: underline; }

/* Noch zu ersetzende Angaben */
.ph {
  background: var(--err-bg); color: var(--err);
  padding: .12em .45em; border-radius: 3px;
  font-family: var(--f-mono); font-size: .84em; font-weight: 500;
  border: 1px dashed currentColor;
}

.page-head { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head > * + * { margin-top: var(--s4); }

.breadcrumb { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: .1em; color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5em; color: var(--line-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   18. Fußbereich
   -------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--void); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 6vw, 5rem) var(--s6); }
.footer__grid { display: grid; gap: var(--s7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer__brand { max-width: 23rem; }
.footer__brand .brand { margin-bottom: var(--s5); }
.footer__brand p { color: var(--ink-2); font-size: .93rem; }
.footer__col h2 {
  font-family: var(--f-mono); font-size: var(--t--2); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500);
  margin-bottom: var(--s4);
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: var(--s3); font-size: .93rem; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--gold-200); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5);
  align-items: center; justify-content: space-between;
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line);
  font-size: var(--t--1); color: var(--ink-2);
}
.footer__bottom nav ul { display: flex; flex-wrap: wrap; gap: var(--s4); list-style: none; padding: 0; margin: 0; }
.footer__bottom a { color: var(--ink-2); text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-200); }

.footer__status {
  margin-top: var(--s5); font-size: .81rem; line-height: 1.65; color: var(--ink-3); max-width: 64rem;
}
.footer__status strong { color: var(--ink-2); }
.footer__status a { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   19. Bewegung
   -------------------------------------------------------------------------- */

/* Einblenden beim Scrollen. Startzustand nur, wenn JavaScript aktiv ist —
   ohne JavaScript bleibt der Inhalt normal sichtbar. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.shown {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.d1 { transition-delay: 90ms; }
.js .reveal.d2 { transition-delay: 180ms; }
.js .reveal.d3 { transition-delay: 270ms; }
.js .reveal.d4 { transition-delay: 360ms; }

/* Zeilenweiser Aufbau der Hauptüberschrift */
.js .line-in { display: block; overflow: hidden; }
.js .line-in > span {
  display: block; transform: translateY(105%);
  transition: transform 900ms var(--ease-out);
}
.js .line-in.shown > span { transform: none; }
.js .line-in.l2 > span { transition-delay: 110ms; }
.js .line-in.l3 > span { transition-delay: 220ms; }

/* Ruhe: bei der Geräteeinstellung „Bewegung reduzieren" — außer der Besucher
   hat Animationen über den Schalter ausdrücklich eingeschaltet — und immer,
   wenn er sie angehalten hat. */
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="on"]) { scroll-behavior: auto; }
  :root:not([data-motion="on"]) *, :root:not([data-motion="on"]) *::before, :root:not([data-motion="on"]) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  :root:not([data-motion="on"]).js .reveal { opacity: 1; transform: none; }
  :root:not([data-motion="on"]).js .line-in > span { transform: none; }
}
:root[data-motion="off"] { scroll-behavior: auto; }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after {
  animation-duration: .01ms !important; animation-iteration-count: 1 !important;
  transition-duration: .01ms !important; scroll-behavior: auto !important;
}
:root[data-motion="off"].js .reveal { opacity: 1; transform: none; }
:root[data-motion="off"].js .line-in > span { transform: none; }

/* --------------------------------------------------------------------------
   20. Druck
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .hero__canvas, .arc-field, .mesh,
  .scroll-progress, .skip-link, body::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .legal p, .legal li, .legal dd, .muted { color: #222; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="#"]::after { content: ""; }
  .ph { border: 1px solid #000; background: none; color: #000; }
}

/* --------------------------------------------------------------------------
   Team-Karten auf „Über uns“ — Foto neben dem Text, schmal darüber
   -------------------------------------------------------------------------- */
.person { container-type: inline-size; }
.person:has(.person__foto) { display: grid; gap: var(--s5); }
.person > .person__text { margin-top: 0; }
.person__text > * + * { margin-top: var(--s3); }
.person__foto {
  position: relative; margin: 0; max-width: 260px;
  border-radius: calc(var(--r) - 4px); overflow: hidden;
  border: 1px solid var(--line-gold);
  background: var(--line);
}
.person__foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.person__foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(11, 11, 15, .35));
}
@container (min-width: 440px) {
  .person:has(.person__foto) { grid-template-columns: minmax(150px, 40%) 1fr; align-items: center; }
  .person__foto { max-width: none; }
}


/* --------------------------------------------------------------------------
   Direkt zum Thema: vier Einstiege mit eigenem Termin
   -------------------------------------------------------------------------- */
.topics { display: grid; gap: var(--s4); }
@media (min-width: 40rem) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .topics { grid-template-columns: repeat(4, 1fr); } }
.topic {
  position: relative; display: flex; flex-direction: column; gap: var(--s3);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--surface, var(--base)); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); text-decoration: none; overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.topic::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-gold-line); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.topic:hover, .topic:focus-visible { border-color: var(--line-gold); transform: translateY(-2px); color: var(--ink); background: var(--surface-2, var(--base)); }
.topic:hover::before, .topic:focus-visible::before { opacity: 1; }
.topic__tag {
  align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300); border: 1px solid var(--line-gold); border-radius: 999px; padding: .28rem .7rem;
}
.topic__q { font-size: var(--t-1); line-height: 1.3; margin: 0; }
.topic__a { font-size: .94rem; color: var(--ink-2); margin: 0; flex: 1; }
.topic__cta { margin-top: var(--s2); color: var(--gold-300); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.topic:hover .topic__cta { color: var(--gold-100); }
.topic:hover .topic__cta::after { transform: translateX(4px); }
.topics__more { margin-top: var(--s5); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.topics__or { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .topic, .topic:hover { transform: none; } }

/* --------------------------------------------------------------------------
   21. Mehr Bewegung (5.11.2026)
   Alles hier hält der Schalter in der Kopfzeile an (data-motion="off").
   -------------------------------------------------------------------------- */

/* Gruppen bauen sich nacheinander auf. Mit „backwards" gilt der Startzustand
   nur bis zum Beginn; danach greifen wieder Hover-Effekte und Kippen. */
.js .stagger:not(.shown) > * { opacity: 0; }
.js .stagger.shown > * {
  animation: fw-rise 760ms var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 95ms + 120ms);
}
@keyframes fw-rise { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }

/* Säulen-Piktogramme zeichnen sich beim ersten Erscheinen selbst */
.js .pillars.shown .pillar__icon path, .js .pillars.shown .pillar__icon circle {
  animation: draw 1.5s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 140ms + 380ms);
}

/* Goldlinie vor den Abschnittsmarken wächst beim Erscheinen */
.js .reveal .eyebrow::before, .js .eyebrow.reveal::before { transform: scaleX(0); transform-origin: 100% 50%; transition: transform 900ms var(--ease-out) 250ms; }
.js .reveal.shown .eyebrow::before, .js .eyebrow.reveal.shown::before { transform: none; }

/* Goldene Knöpfe: Lichtreflex wandert von selbst in ruhigem Takt */
.btn--gold::before { animation: fw-shine 6s var(--ease) 2.2s infinite; }
@keyframes fw-shine {
  0%, 72% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}

/* Bühne: langsam wandernder Goldschimmer hinter dem Netz */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70rem; height: 70rem; left: 50%; top: -38rem; margin-left: -35rem;
  background: radial-gradient(closest-side, rgba(212,167,60,.10), transparent 70%);
  animation: fw-drift 22s ease-in-out infinite alternate;
}
@keyframes fw-drift {
  0%   { transform: translate3d(-18%, 0, 0) scale(1); }
  50%  { transform: translate3d(8%, 6%, 0) scale(1.12); }
  100% { transform: translate3d(20%, -4%, 0) scale(.96); }
}
:root[data-theme="light"] .hero::before { background: radial-gradient(closest-side, rgba(152,112,15,.10), transparent 70%); }

/* Mobile Handlungsleiste: sanfter Goldpuls, sobald sie eingeblendet ist */
.sticky-cta.is-on .btn--gold { animation: fw-pulse 2.8s var(--ease) 1s infinite; }
@keyframes fw-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,167,60,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(212,167,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,167,60,0); }
}

/* Angehalten: alles steht, nichts bleibt versteckt */
:root[data-motion="off"] .js .stagger > *, :root[data-motion="off"].js .stagger > * { opacity: 1; animation: none !important; }
:root[data-motion="off"] .btn--gold::before { animation: none; }
:root[data-motion="off"] .hero::before,
:root[data-motion="off"] .sticky-cta .btn--gold { animation: none; }
:root[data-motion="off"].js .reveal .eyebrow::before { transform: none; }
@media print { .js .stagger > * { opacity: 1 !important; animation: none !important; } .hero::before { display: none; } }
