/* =========================================================
   Der Finanzingenieur – Stylesheet
   Aufbau: 1 Schriften · 2 Farben & Maße · 3 Basis · 4 Layout
           5 Bausteine · 6 Header & Navigation · 7 Footer
           8 Seitenbereiche · 9 Module · 10 Formular · 11 Rechtstexte
           12 Animation
   ========================================================= */

/* ---------- 1 Schriften (lokal, keine externen Server) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

/* ---------- 2 Farben & Maße ---------- */
:root {
  /* Flächen */
  --cream: #F7F4EC;        /* Grundfläche */
  --cream-deep: #EFEADD;   /* abgesetzte Bereiche */
  --white: #FFFFFF;        /* Karten */
  --sand: #EDE6D6;         /* Icon-Kreise, Hinweisboxen */
  --sand-line: #E2D9C6;    /* feine Linien, Rahmen */
  --blue-soft: #E6EDF4;    /* helle Fläche (Zinswende) */
  --card: #FFFFFF;         /* Kartenfläche */
  --section-alt: #FFFFFF;  /* helle Zwischenbereiche */
  --footer-bg: #1A3A5C;    /* Footer */
  --gold-on-dark: #E2C887; /* Gold auf dunklen Flächen */
  --header-bg: rgba(247, 244, 236, .9);

  /* Marke */
  --navy: #1A3A5C;         /* Text, Überschriften, Footer */
  --navy-deep: #0E2238;    /* dunkle Flächen, Text auf Gold */
  --gold: #C29A45;         /* Flächen, Linien, Buttons (nie Fließtext) */
  --gold-lg: #A87E2E;      /* Goldtext nur groß (ab ca. 24 px oder 19 px fett) */
  --gold-ink: #7E5A1B;     /* Goldtext klein (AA auch auf Sand- und Goldflächen) */
  --gold-soft: #F3E9D2;    /* zarter Goldton für Badges */
  --fresh: #41702F;        /* Frische: Häkchen */
  --fresh-soft: #E7EFE1;

  /* Text */
  --text: var(--navy);
  --text-muted: #4A5D72;   /* 6,2:1 auf Cream */
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D4E0;

  /* Schrift */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: var(--font-serif);   /* Überschriften, Logo, Zahlen */
  --font-body: var(--font-sans);    /* Fließtext, Buttons */
  --heading-color: var(--navy);
  --heading-weight: 700;
  --heading-tracking: -.01em;
  --eyebrow-color: var(--gold-ink);

  /* Maße */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(26, 58, 92, .05), 0 8px 24px rgba(26, 58, 92, .07);
  --shadow-hover: 0 2px 4px rgba(26, 58, 92, .06), 0 16px 40px rgba(26, 58, 92, .12);
  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(2.75rem, 6vw, 4.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3 Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading-color);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
h4 { font-size: 1.125rem; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--navy-deep); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4 Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--sand { background: var(--cream-deep); }
.section--white { background: var(--section-alt); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: var(--on-dark); }
.section--blue { background: var(--blue-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }
.lead { font-size: clamp(1.125rem, 2.2vw, 1.3rem); line-height: 1.6; color: var(--text-muted); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid > *, .split > *, .modgrid > *, .timeline > *, .step > *, .card-head > * { min-width: 0; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr .9fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
  .split--form { grid-template-columns: 1.5fr 1fr; }
}

/* ---------- 5 Bausteine ---------- */

/* Mini-Überschrift mit Goldquadrat (wie in der Präsentation) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow-color);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: .7em; height: .7em; background: var(--gold); border-radius: 2px; flex: none; }
.section--navy .eyebrow { color: var(--gold-on-dark); }

/* Goldlinie unter Überschriften */
.rule { width: 72px; height: 3px; background: var(--gold); border: 0; border-radius: 3px; margin: 0 0 1.5rem; }
.section-head--center .rule { margin-inline: auto; }

/* Buttons */
.btn {
  --btn-bg: var(--white); --btn-fg: var(--navy); --btn-border: var(--sand-line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-border); border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); --btn-border: var(--gold); }
.btn--primary:hover { --btn-bg: #CFA956; border-color: #CFA956; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; --btn-border: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-deep); border-color: var(--navy-deep); }
.btn--ghost { --btn-bg: transparent; --btn-border: var(--navy); }
.section--navy .btn--ghost, .cta-band .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255,255,255,.55); }
.btn--lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Textlink mit Pfeil */
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; color: var(--navy); }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Karten */
.card {
  position: relative; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 3.5vw, 2rem);
}
.card--accent::before {
  content: ""; position: absolute; top: 0; left: clamp(1.5rem, 3.5vw, 2rem);
  width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold);
}
.card--accent-navy::before { background: var(--navy); }
.card--accent-fresh::before { background: var(--fresh); }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); }
.card--sand { background: var(--sand); box-shadow: none; }
.card--navy { background: var(--navy); color: var(--on-dark); }
.card--navy h2, .card--navy h3 { color: #fff; }
.card--navy p { color: var(--on-dark-muted); }

/* Icon im Sandkreis */
.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 50%; background: var(--sand); color: var(--navy); margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--gold { color: var(--gold-ink); }
.icon-badge--fresh { color: var(--fresh); background: var(--fresh-soft); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: .75rem; }
.card-head .icon-badge { margin: 0; }
.card-head h3 { margin: 0; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3rem .8rem; border-radius: 999px; background: var(--sand);
  font-size: .9375rem; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.chip svg { width: 1em; height: 1em; }
.chip--gold { background: var(--gold-soft); color: var(--gold-ink); }
.chip--fresh { background: var(--fresh-soft); color: var(--fresh); }
.chip--outline { background: transparent; border: 1.5px solid var(--sand-line); }

/* Häkchenliste */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; }
.checklist li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; margin-top: .05em;
  background: var(--fresh-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A7A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist--no li::before {
  background: var(--cream-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A3A5C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat;
}
/* Startseite: Ja, wenn / Nein, wenn */
.fit-grid { align-items: stretch; }
.fit-card { padding: clamp(1.5rem, 4vw, 2.25rem); }
.fit-card__title { font-size: 1.35rem; margin-bottom: 1.1rem; }
.fit-card__note { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--sand-line); color: var(--navy); font-weight: 600; }
.fit-more { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.dotlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dotlist li { position: relative; padding-left: 1.4rem; }
.dotlist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* Hinweisbox */
.note {
  background: var(--sand); border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold); color: var(--navy); font-size: 1rem;
}

/* Große blasse Ziffer (wie Kapitelfolien) */
.bignum {
  font-family: var(--font-head); font-weight: 800; line-height: .8;
  font-size: clamp(4rem, 12vw, 7rem); color: var(--sand-line); letter-spacing: -.04em;
  user-select: none;
}

/* Aufklapper: <details> „Mehr lesen“ und Akkordeon */
.more { margin-top: .75rem; }
.more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45em;
  font-weight: 650; color: var(--navy); min-height: 44px;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after {
  content: ""; width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); margin-left: .2em;
}
.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.more > summary .when-open { display: none; }
.more[open] > summary .when-open { display: inline; }
.more[open] > summary .when-closed { display: none; }
.more__body { padding-top: .5rem; color: var(--text-muted); animation: fadeIn .35s var(--ease); }
.card--navy .more > summary { color: #fff; }
.card--navy .more__body { color: var(--on-dark-muted); }

.accordion { display: grid; gap: .75rem; }
.accordion details {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: box-shadow .2s var(--ease);
}
.accordion details[open] { box-shadow: var(--shadow-hover); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 1.75rem); min-height: 64px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .sum-text { flex: 1; }
.accordion summary .sum-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--text-muted); margin-top: .2rem; }
.accordion summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand); font-family: var(--font-body); font-size: 1.4rem; font-weight: 500; line-height: 1;
  transition: transform .25s var(--ease), background-color .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--gold-soft); }
.accordion .acc-body { padding: 0 clamp(1.25rem, 3vw, 1.75rem) 1.5rem; color: var(--text-muted); animation: fadeIn .35s var(--ease); }
.accordion .acc-body > :first-child { margin-top: 0; }

/* Zitat / Kernaussage */
.quote {
  font-family: var(--font-head); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.4; color: var(--navy);
  border: 2px solid var(--gold); border-radius: var(--radius); background: var(--card);
  padding: clamp(1.5rem, 4vw, 2.5rem); margin: 0;
}

/* Bilder */
.photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; max-width: 360px; margin-inline: auto; }
.photo--wide { aspect-ratio: 3 / 2; max-width: 480px; margin-inline: auto; }

/* ---------- 6 Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--sand-line); box-shadow: 0 6px 20px rgba(26,58,92,.05); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
/* Logo: Zeichen (Zahnrad = Ingenieur, steigende Kurve = Finanzen) als Inline-SVG + Schriftzug als Text.
   Farben: Zahnrad = currentColor, Kurve = --logo-akzent. Größe über font-size von .brand / .logo. */
.brand, .logo {
  display: inline-flex; align-items: center; gap: .45em; flex: 0 1 auto; min-width: 0;
  color: var(--navy); text-decoration: none; line-height: 1; border-radius: 6px;
  font-size: clamp(1.17rem, 4.6vw, 1.45rem); --logo-akzent: var(--gold);
}
.brand { margin-right: auto; }
.logo-mark { width: 1.75em; height: 1.75em; flex: none; }
.logo-mark__kurve { stroke: var(--logo-akzent); }
.logo-text { font-family: var(--font-sans); letter-spacing: -.01em; white-space: nowrap; }
.logo-der { font-weight: 400; }
.logo-fi { font-weight: 700; }
.logo-ing { font-weight: 700; color: var(--gold-lg); }
@media (min-width: 1200px) { .brand { font-size: 1.35rem; } .nav-link { white-space: nowrap; } }
/* Handy: Schriftzug kleiner; unter ca. 19 px fett ist das helle Gold zu schwach, daher dunkleres Gold */
@media (max-width: 479.98px) {
  .brand { font-size: 1.05rem; }
  .brand .logo-ing { color: var(--gold-ink); }
}
/* Sehr schmal: „Der“ klein über „Finanzingenieur“ */
@media (max-width: 389.98px) {
  .brand { font-size: 1.05rem; }
  .brand .logo-text { display: inline-block; line-height: 1.05; }
  .brand .logo-der { display: block; font-size: .78em; }
}

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 1rem; border-radius: 999px;
}
.nav-link[aria-current="page"], .nav-link[aria-current="true"] { background: var(--card); box-shadow: var(--shadow); }
.header-cta { padding-inline: 1.1rem; min-height: 44px; font-size: .9375rem; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--sand-line); background: var(--card); color: var(--navy); cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Handy: Menü als Panel */
@media (max-width: 1199.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--cream); border-bottom: 1px solid var(--sand-line);
    box-shadow: 0 24px 40px rgba(26,58,92,.12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: .75rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-list { display: grid; gap: .25rem; }
  .nav-link { min-height: 52px; padding: 0 1rem; font-size: 1.125rem; }
  .nav-link:hover { background: var(--card); color: var(--navy); }
  body.nav-open { overflow: hidden; }
}
.nav-toggle, .header-cta { flex: none; }
@media (max-width: 430px) {
  .header-inner { gap: .5rem; padding-inline: 14px; }
  .header-cta { padding-inline: .8rem; font-size: .875rem; }
  .nav-toggle { width: 44px; height: 44px; flex: none; }
}
.btn { max-width: 100%; text-align: center; }
.cta-band .chip, .facts .chip { white-space: normal; }
/* PC: Menü in der Zeile */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { margin-right: .5rem; }
  .nav-list { display: flex; gap: .15rem; }
  .nav-link { min-height: 42px; padding: 0 .9rem; }
  .nav-link:hover { background: rgba(255,255,255,.7); color: var(--navy); }
}

/* ---------- 7 Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--on-dark-muted); padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-on-dark); }
.footer-top { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { margin-bottom: .75rem; }
.footer-brand .logo { font-size: 1.45rem; color: #fff; --logo-akzent: var(--gold-on-dark); }
.footer-brand .logo-ing { color: var(--gold-on-dark); }
.footer-title { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-on-dark); margin-bottom: .75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-links a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.footer-disclaimer { font-size: .9375rem; line-height: 1.55; padding-top: 1.75rem; margin: 0 0 1rem; max-width: 820px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: .9375rem; }
.footer-bottom nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.footer-bottom nav a { display: inline-flex; min-height: 36px; align-items: center; }

/* ---------- 8 Seitenbereiche ---------- */

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.hero h1 { margin-bottom: 1.25rem; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.hero .lead { max-width: 38em; }
.hero-photo { position: relative; max-width: 360px; margin-inline: auto; width: 100%; }
/* Gründungsangebot direkt unter dem Hero: kompakte Abstände davor und danach */
.section--offer { padding-block: 0; }
/* danach gilt der normale Abschnittsabstand (--section) */
.hero-photo .photo { position: relative; z-index: 1; }
.hero-photo::before {
  content: ""; position: absolute; z-index: 0; inset: auto -6% -5% auto; width: 70%; height: 70%;
  border-radius: var(--radius-lg); background: var(--sand);
}
.hero-badge {
  position: absolute; z-index: 3; left: -4%; bottom: 7%;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-hover);
  padding: .8rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 80%;
}
.hero-badge .icon-badge { margin: 0; width: 44px; height: 44px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; }
.hero-badge span { font-size: .875rem; color: var(--text-muted); }
.page-hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero .lead { max-width: 40em; }

/* Faktenleiste */
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.facts .chip { background: var(--card); box-shadow: var(--shadow); padding: .5rem 1rem; white-space: normal; }
.facts .chip svg { color: var(--gold-ink); width: 1.15em; height: 1.15em; flex: none; }

/* Angebots-Streifen */
.offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem 1.1rem 1.1rem; border: 1.5px solid var(--gold);
}
.offer__pct {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: var(--gold); color: var(--navy-deep); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.offer__text { flex: 1 1 260px; margin: 0; }
.offer__text strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }

/* CTA-Band */
.cta-band { border-radius: var(--radius-lg); background: var(--navy); color: var(--on-dark); padding: clamp(2rem, 6vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 40em; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 2px solid rgba(194, 154, 69, .5);
}
.cta-band::before {
  content: ""; position: absolute; right: 40px; bottom: -90px; width: 160px; height: 160px; border-radius: 50%;
  background: rgba(194, 154, 69, .14);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .price-inline { display: inline-flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
/* Zinswende: Preis erst nach der Beschreibung, gut sichtbar */
.cta-band .zw-price { align-items: center; gap: .6rem 1rem; margin: .5rem 0 .25rem; }
.zw-price__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; color: #fff; }
.zw-sub { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.zw-pricebox {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.5rem;
  padding: 1rem 1.25rem; border-radius: var(--radius); border: 1.5px solid var(--gold); background: var(--card);
}
.zw-pricebox__label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.zw-pricebox__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--navy); }
.cta-band .chip { background: rgba(255,255,255,.12); color: #fff; }

/* Schritte (Ablauf) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; position: relative; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--gold); color: var(--navy-deep); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: -1rem; width: 2px; background: var(--sand-line);
}
.step .card { padding: 1.25rem 1.5rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .3em; }
.step__price { font-family: var(--font-body); font-size: .9375rem; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); border-radius: 999px; padding: .1rem .6rem; margin-left: .4rem; white-space: nowrap; vertical-align: middle; }

/* Zeitleiste (Über mich) */
.timeline { display: grid; gap: 1.25rem; }
.timeline .card { display: grid; gap: .25rem; }
.year { font-family: var(--font-head); font-weight: 800; color: var(--gold-lg); font-size: 1.5rem; line-height: 1; }

/* Stat-Kacheln */
.stat { text-align: left; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; color: var(--navy); }
.stat__label { color: var(--text-muted); margin-top: .5rem; font-size: 1rem; }

/* Kleine Modul-Teaser auf der Startseite */
.mini-module { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.mini-module .code {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--sand-line);
  margin-bottom: .75rem; transition: color .25s var(--ease);
}
.mini-module:hover .code { color: var(--gold); }
.mini-module h3 { font-size: 1.25rem; }
.mini-module p { flex: 1; }
.mini-module .link-arrow { margin-top: 1rem; }
.mini-module:hover { color: inherit; }

/* Apps-Übersicht */
.app-card { display: flex; flex-direction: column; overflow: hidden; }
.app-card__num {
  position: absolute; right: 1rem; top: .4rem; font-family: var(--font-head); font-weight: 800;
  font-size: 4rem; line-height: 1; color: var(--cream-deep); letter-spacing: -.04em; pointer-events: none;
}
.app-card .icon-badge { position: relative; }
.app-card__title { font-size: clamp(1.35rem, 2.8vw, 1.6rem); margin-bottom: .2em; position: relative; }
.app-card .app-card__kicker { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow-color); margin-bottom: .9rem; }
/* Gemeinsames Zeilenraster: Symbol, Titel, Unterzeile, Text, „So funktioniert’s“ und Fußbereich
   stehen in allen App-Karten einer Reihe auf derselben Höhe, auch bei unterschiedlich langen Texten
   und wenn eine Karte aufgeklappt ist. Browser ohne Subgrid zeigen die Karten wie bisher. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .grid--3 > .app-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; }
    .grid--3 > .app-card > .icon-badge { justify-self: start; }
    .grid--3 > .app-card > .app-card__foot { align-self: end; }
  }
}
.app-card__foot { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .9rem; justify-items: start; }

/* ---------- 9 Module ---------- */
.filter { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .25rem 1rem; margin: 0 -.25rem 1.5rem; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  flex: none; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--sand-line); background: var(--card); color: var(--navy);
  font: 600 1rem var(--font-body); transition: background-color .2s, border-color .2s, color .2s;
}
.filter button:hover { border-color: var(--gold); }
.filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.modgroup { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.modgroup[hidden] { display: none; }
.modgroup__head { display: grid; gap: .25rem; margin-bottom: 1.5rem; max-width: 760px; }
.modgroup__head h2 { display: flex; align-items: baseline; gap: .6rem; margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.modgroup__letter {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; flex: none;
  background: var(--navy); color: #fff; font-size: 1.15rem; transform: translateY(-.15em);
}
.modgroup__head p { color: var(--text-muted); margin: .5rem 0 0; }

.modgrid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .modgrid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1000px) { .modgrid { grid-template-columns: repeat(3, 1fr); } }

.modcard {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.5rem 1.25rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden; min-height: 210px;
}
.modcard::before { content: ""; position: absolute; top: 0; left: 1.5rem; width: 48px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.modcard--soon::before { background: var(--sand-line); }
.modcard__code {
  position: absolute; right: 1rem; top: .5rem; font-family: var(--font-head); font-weight: 800;
  font-size: 4.25rem; line-height: 1; color: var(--cream-deep); letter-spacing: -.04em; pointer-events: none;
  transition: color .25s var(--ease);
}
.modcard__kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: .25rem 0 .4rem; position: relative; }
/* h3 bewusst ohne position, damit sich die Klickfläche des Links (::after) über die ganze Karte legt */
.modcard h3 { font-size: 1.3rem; margin: 0 0 1rem; padding-right: 3.5rem; }
.modcard__open { color: inherit; text-decoration: none; }
.modcard__open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.modcard__open:focus-visible { outline: none; }
.modcard__open:focus-visible::after { outline: 3px solid var(--gold); outline-offset: -3px; }
.modcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; position: relative; }
.modcard__price { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); margin-left: auto; line-height: 1; }
.modcard__soon { margin-left: auto; }
.modcard__teaser {
  position: relative; color: var(--text-muted); font-size: 1rem; line-height: 1.55;
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .35s var(--ease), opacity .3s var(--ease), margin .35s var(--ease);
}
.modcard__teaser > div { overflow: hidden; }
.modcard__teaser p { margin: 0; }
.modcard__more { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; color: var(--navy); margin-top: .6rem; }
.modcard__more svg { width: 1.05em; height: 1.05em; }
.modcard.is-open .modcard__teaser { grid-template-rows: 1fr; opacity: 1; margin-bottom: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .modcard:hover, .modcard:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .modcard:hover .modcard__code, .modcard:focus-within .modcard__code { color: var(--gold-soft); }
  .modcard:hover .modcard__teaser, .modcard:focus-within .modcard__teaser { grid-template-rows: 1fr; opacity: 1; margin-bottom: 1rem; }
}
/* Tastatur auch auf Touch-Geräten */
.modcard:focus-within .modcard__teaser { grid-template-rows: 1fr; opacity: 1; margin-bottom: 1rem; }
.modcard.is-open { box-shadow: var(--shadow-hover); }
.modcard.is-open .modcard__code { color: var(--gold-soft); }
.tap-hint { font-size: .9375rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; margin: -.5rem 0 1.5rem; }
.tap-hint svg { width: 1.2em; height: 1.2em; color: var(--gold-ink); }
@media (hover: hover) and (pointer: fine) { .tap-hint .touch { display: none; } }
@media not all and (hover: hover) and (pointer: fine) { .tap-hint .mouse { display: none; } }

.badge-discount {
  display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-ink); font-size: .8125rem; font-weight: 700;
}

/* Standortbestimmung-Karte */
.start-card { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .start-card { grid-template-columns: 1fr auto; } }
.price-tag { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-tag__num { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--navy); }
.price-tag__sub { color: var(--text-muted); font-size: 1rem; }

/* Detail-Ansicht (Dialog) */
.modal {
  width: min(760px, calc(100% - 2rem)); max-height: min(88dvh, 900px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--card); color: var(--text);
  box-shadow: 0 30px 80px rgba(14, 34, 56, .35); overflow: hidden;
}
.modal::backdrop { background: rgba(14, 34, 56, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .3s var(--ease); }
.modal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem .75rem .75rem 1.5rem; border-bottom: 1px solid var(--sand-line); background: var(--card);
}
.modal__bar .eyebrow { margin: 0; }
.modal__close {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--sand-line); background: var(--card);
  display: grid; place-items: center; cursor: pointer; color: var(--navy); flex: none;
}
.modal__close:hover { border-color: var(--gold); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.5rem); overscroll-behavior: contain; }
.modal__foot { border-top: 1px solid var(--sand-line); padding: 1rem 1.5rem; background: var(--cream); display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
@media (max-width: 639.98px) {
  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .modal[open] { animation: sheetIn .35s var(--ease); }
  .modal__foot { padding: .75rem 1rem; }
  .modal__foot .btn { width: 100%; }
  .modal__foot .modal-only { display: none; }
  .modal__foot .btn-row { margin-top: 0; width: 100%; }
}
.modal__foot .btn-row { margin-top: 0; }

/* Inhalt einer Modulbeschreibung */
.moddetail__code { font-family: var(--font-head); font-weight: 800; font-size: 3.5rem; line-height: .9; color: var(--sand-line); margin-bottom: .5rem; }
.moddetail h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .25em; }
.moddetail__claim { font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--gold-ink); margin-bottom: 1.25rem; }
.moddetail__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.moddetail__points { background: var(--cream); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.moddetail__points h3 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .75rem; }
.moddetail__text p { color: var(--text); }
.moddetail__cta { font-size: 1.0625rem; margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--blue-soft); }
.modal-only { display: none; }
.modal .modal-only { display: inline-flex; }

/* Modulbeschreibungen ohne JavaScript als normale Abschnitte */
.moddetails { display: grid; gap: 1.5rem; }
.moddetails > .moddetail { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.js .moddetails-wrap { display: none; }

/* Preisübersicht */
.price-card {
  margin-top: 1.5rem; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: .5rem clamp(1rem, 3vw, 1.75rem) 1rem; overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td {
  text-align: left; font-weight: 400; padding: .75rem .5rem;
  border-bottom: 1px solid var(--cream-deep); vertical-align: middle;
}
.price-table thead th {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); border-bottom: 2px solid var(--sand-line); padding-top: 1rem;
}
.price-table th[scope="row"] { font-weight: 650; color: var(--navy); }
.price-table td:last-child, .price-table thead th:last-child { text-align: right; white-space: nowrap; }
.price-table td:nth-child(2) { color: var(--text-muted); white-space: nowrap; }
.price-table .p { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.price-table small { display: block; color: var(--text-muted); font-size: .9375rem; font-weight: 400; margin-top: .15rem; }
.price-table__code {
  display: inline-block; min-width: 2.4em; font-family: var(--font-head); font-weight: 800; color: var(--gold-ink);
}
.price-table__start th, .price-table__start td { background: var(--blue-soft); border-bottom: 0; }
.price-table__start th { border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding-left: 1rem; }
.price-table__start td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding-right: 1rem; }
.price-table__start tr { border-top: .75rem solid var(--card); }
.price-table__group th {
  padding: 1.5rem .5rem .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  color: var(--navy); border-bottom: 2px solid var(--gold);
}
.price-table tbody tr:not(.price-table__group):hover th,
.price-table tbody tr:not(.price-table__group):hover td { background: var(--cream); }
.price-table__start tr:hover th, .price-table__start tr:hover td { background: var(--blue-soft) !important; }
.price-table .is-soon th[scope="row"] { color: var(--text-muted); }
.price-table .is-soon .chip { font-size: .8125rem; }
@media (max-width: 599.98px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; align-items: center; border-bottom: 1px solid var(--cream-deep); }
  .price-table th, .price-table td { border: 0; padding: .1rem 0; }
  .price-table tr:not(.price-table__group) { padding: .7rem 0; }
  .price-table th[scope="row"] { grid-column: 1; grid-row: 1; }
  .price-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: .9375rem; }
  .price-table td:last-child { grid-column: 2; grid-row: 1 / span 2; }
  .price-table .is-soon td:nth-child(2) { display: none; }
  .price-table__group { border-bottom: 2px solid var(--gold) !important; }
  .price-table__group th { grid-column: 1 / -1; padding: 1.25rem 0 .4rem; border: 0; }
  .price-table__start tr { padding: .8rem 1rem !important; background: var(--blue-soft); border-radius: var(--radius-sm); border: 0; margin-top: .75rem; }
  .price-table__start th, .price-table__start td { padding: .1rem 0; background: none; }
}

/* ---------- 10 Formular ---------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-weight: 650; color: var(--navy); }
.req { color: var(--gold-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand-line); background: var(--card); color: var(--navy);
  font: 400 1.0625rem/1.5 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 170px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A3A5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}
.input:hover, .select:hover, .textarea:hover { border-color: #CDBF9F; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(194,154,69,.3); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #A23B2C; }
.error-msg { color: #A23B2C; font-size: .9375rem; font-weight: 600; display: none; }
.field.has-error .error-msg { display: block; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: .85rem; align-items: start; font-size: 1rem; color: var(--text-muted); }
.consent input { width: 26px; height: 26px; margin: .1rem 0 0; accent-color: var(--navy); cursor: pointer; }
.consent label { cursor: pointer; }
.consent .error-msg { grid-column: 2; }
.form-hint { font-size: .9375rem; color: var(--text-muted); margin: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 1.25rem 1.5rem; display: none; gap: 1rem; align-items: flex-start; }
.form-status.is-visible { display: flex; animation: fadeIn .35s var(--ease); }
.form-status--ok { background: var(--fresh-soft); color: #2E5224; }
.form-status--error { background: #F6E5E1; color: #7E2A1E; }
.form-status svg { width: 28px; height: 28px; flex: none; }
.form-status strong { display: block; font-size: 1.1rem; }
.field[hidden] { display: none; }

/* ---------- 11 Rechtstexte ---------- */
.legal { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 5vw, 3.5rem); }
.legal h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--sand-line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--text); font-size: 1.0625rem; overflow-wrap: anywhere; }
.legal .form-line { padding: .9rem 0; border-bottom: 1px dashed var(--sand-line); margin: 0; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.legal-toc a { text-decoration: none; }

/* ---------- 12 Animation ---------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { opacity: .4; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer nav, .btn, .filter { display: none !important; }
  body { background: #fff; }
  .card, .legal { box-shadow: none; border: 1px solid #ddd; }
}
