/* ============================================================
   SeniorFit München — style.css
   Design-System „Warm Sage Vital" · Stand 09/2026
   Eine Familie (Manrope variabel), warme Flächen, Grün nur
   funktional, genau eine dunkle Sektion pro Seite.
   ============================================================ */

/* ---------- Fonts (lokal, variabel 200–800) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ---------- Tokens ---------- */
:root {
  --gruen:            #82A357;
  --gruen-tief:       #587239;
  --gruen-tiefer:     #4C6331;
  --blau:             #304F6E;
  --flaeche-warm:     #FFFAF5;
  --flaeche-weiss:    #FFFFFF;
  --flaeche-salbei:   #EEF1EA;
  --ink:              #1D1D1D;
  --ink-weich:        #2E2E2E;
  --text:             #3A3A3A;
  --text-gedaempft:   #5A5A5A;
  --text-salbei:      #5D6B5A;
  --text-invers:      #FFFAF5;
  --gruen-hell:       #A8C382;
  --fehler:           #B3261E;
  --linie:            rgba(29,29,29,.14);
  --linie-invers:     rgba(255,250,245,.22);
  --overlay-karte:    rgba(255,250,245,.92);
  --schatten-ruhe:    0 6px 18px rgba(29,41,29,.08);
  --schatten-hover:   0 10px 30px rgba(29,41,29,.14);
  --font:             "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-pill:      999px;
  --radius-gross:     28px;
  --radius-klein:     14px;
  --raum-1: 8px; --raum-2: 16px; --raum-3: 24px; --raum-4: 32px;
  --raum-5: 48px; --raum-6: 64px; --raum-7: 96px; --raum-8: 128px;
  --sektion-kompakt:  clamp(56px, 8vw, 96px);
  --sektion-normal:   clamp(72px, 10vw, 128px);
  --sektion-gross:    clamp(96px, 12vw, 160px);
  --container:        1200px;
  --container-schmal: 720px;
  --rand:             clamp(20px, 4vw, 48px);
  /* Motion — drei Zeiten, eine Kurve */
  --dur-micro:  180ms;
  --dur-ui:     320ms;
  --dur-reveal: 680ms;
  --ease-out:   cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.125rem, 1.11rem + .1vw, 1.1875rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--flaeche-warm);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-tief); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 4px; }
.s-dunkel :focus-visible, .footer :focus-visible { outline-color: var(--gruen-hell); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blau); color: #fff; padding: 12px 24px; border-radius: 0 0 var(--radius-klein) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typo-Rollen ---------- */
h1, h2, h3 { color: var(--ink-weich); margin: 0 0 .5em; text-wrap: balance; hyphens: manual; }
.display, h1 {
  font-size: clamp(2.5rem, 1.75rem + 3.1vw, 4.5rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 800;
}
h2 {
  font-size: clamp(2.125rem, 1.65rem + 1.95vw, 3.375rem);
  line-height: 1.04; letter-spacing: -.02em; font-weight: 800;
}
h3 {
  font-size: clamp(1.5rem, 1.36rem + .57vw, 1.875rem);
  line-height: 1.2; letter-spacing: -.015em; font-weight: 600;
}
.lead {
  font-size: clamp(1.1875rem, 1.12rem + .29vw, 1.375rem);
  line-height: 1.5; max-width: 34em; color: var(--text-gedaempft);
}
p { margin: 0 0 1em; max-width: 66ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(.75rem, .73rem + .1vw, .8125rem);
  font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-salbei); margin: 0 0 var(--raum-3);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gruen); flex: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--rand); }
.container--schmal { max-width: var(--container-schmal); }
.sektion { padding-block: var(--sektion-normal); }
.sektion--kompakt { padding-block: var(--sektion-kompakt); }
.sektion--gross { padding-block: var(--sektion-gross); }
.s-weiss  { background: var(--flaeche-weiss); }
.s-salbei { background: var(--flaeche-salbei); }
.s-dunkel { background: var(--ink); color: rgba(255,250,245,.78); }
.s-dunkel h2, .s-dunkel h3 { color: var(--text-invers); }
.s-dunkel .eyebrow { color: var(--gruen-hell); }
.s-dunkel .eyebrow::before { background: var(--gruen-hell); }
.s-dunkel .lead { color: rgba(255,250,245,.78); }

.split { display: grid; gap: var(--raum-6); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--57 { grid-template-columns: 5fr 7fr; }
  .split--75 { grid-template-columns: 7fr 5fr; }
}
.karten { display: grid; gap: var(--raum-4); grid-auto-flow: dense; }
@media (min-width: 640px)  { .karten--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .karten--3 { grid-template-columns: repeat(3, 1fr); }
                             .karten--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 32px;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font: 800 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--primaer { background: var(--gruen-tief); color: #fff; }
.btn--primaer:hover { background: var(--gruen-tiefer); box-shadow: var(--schatten-hover); transform: translateY(-1px); }
.btn--sekundaer { background: transparent; color: var(--gruen-tief); border-color: var(--gruen-tief); }
.btn--sekundaer:hover { background: var(--gruen-tief); color: #fff; }
.s-dunkel .btn--sekundaer { color: var(--gruen-hell); border-color: var(--gruen-hell); }
.s-dunkel .btn--sekundaer:hover { background: var(--gruen-hell); color: var(--ink); }
.btn--ghost {
  background: none; border: 0; padding: 8px 4px; min-height: 44px;
  color: var(--gruen-tief); font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--ghost .pfeil { transition: transform var(--dur-micro) var(--ease-out); }
.btn--ghost:hover .pfeil, .btn--ghost:focus-visible .pfeil { transform: translateX(4px); }
.btn--ghost:hover, .btn--ghost:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cta-reihe { display: flex; flex-wrap: wrap; gap: var(--raum-2); align-items: center; margin-top: var(--raum-4); }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--flaeche-warm); border-bottom: 1px solid var(--linie);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--raum-3);
  min-height: 80px;
}
.header__logo { display: inline-flex; align-items: center; flex: none; }
.header__logo img { width: 168px; height: 51px; }
.nav { display: none; }
.nav a {
  color: var(--ink-weich); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  padding: 10px 4px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gruen-tief); }
.nav a[aria-current="page"] { color: var(--gruen-tief); border-bottom-color: var(--gruen-tief); }
.header__cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: var(--raum-3); }
  .header__cta { display: inline-flex; }
  .burger { display: none !important; }
}
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-klein);
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink-weich); border-radius: 2px; transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui); }

/* Mobiles Overlay */
.mobilmenue {
  position: fixed; inset: 0; z-index: 150; background: var(--flaeche-warm);
  display: flex; flex-direction: column; padding: var(--raum-4) var(--rand);
  transform: translateX(102%); visibility: hidden;
  transition: transform var(--dur-ui) var(--ease-out), visibility 0s var(--dur-ui);
}
.mobilmenue.offen { transform: translateX(0); visibility: visible; transition: transform var(--dur-ui) var(--ease-out); }
.mobilmenue__kopf { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.mobilmenue nav { display: flex; flex-direction: column; gap: var(--raum-2); margin-top: var(--raum-6); }
.mobilmenue nav a {
  font-size: 1.75rem; font-weight: 800; color: var(--ink-weich); text-decoration: none;
  padding: 8px 0; opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
  transition-delay: calc(90ms + var(--i, 0) * 40ms);
}
.mobilmenue.offen nav a { opacity: 1; transform: none; }
.mobilmenue nav a[aria-current="page"] { color: var(--gruen-tief); }
.mobilmenue .btn { margin-top: var(--raum-4); align-self: flex-start; }
.mobilmenue__schliessen {
  width: 48px; height: 48px; background: none; border: 0; cursor: pointer;
  font-size: 1.75rem; line-height: 1; color: var(--ink-weich); border-radius: var(--radius-klein);
}
body.menue-offen { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--sektion-gross) var(--sektion-normal); }
.hero__bild { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-ruhe); }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .hero .split > .hero__bild { order: -1; } .hero__bild img { max-height: 420px; } }
.hero h1 { max-width: 13em; }

/* Zähler-Leiste */
.zaehler {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--raum-4);
  border-top: 1px solid var(--linie); margin-top: var(--sektion-kompakt); padding-top: var(--raum-5);
}
@media (min-width: 768px) { .zaehler { grid-template-columns: repeat(4, 1fr); } }
.zaehler__wert { font-size: clamp(2.25rem, 2rem + 1.4vw, 2.75rem); font-weight: 800; color: var(--blau); line-height: 1; }
.zaehler__label { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-salbei); margin-top: 8px; }

/* ---------- Karten ---------- */
.karte {
  background: var(--flaeche-weiss); border-radius: var(--radius-gross);
  padding: var(--raum-4); box-shadow: var(--schatten-ruhe);
  overflow-wrap: anywhere;
}
.s-dunkel .karte {
  background: rgba(255,250,245,.06); border: 1px solid var(--linie-invers); box-shadow: none;
}
.karte__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--flaeche-salbei);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--raum-3);
  color: var(--gruen-tief);
}
.s-dunkel .karte__icon { background: rgba(255,250,245,.1); color: var(--gruen-hell); }
.karte h3 { margin-bottom: .4em; }
.karte p { color: var(--text-gedaempft); margin-bottom: 0; }
.s-dunkel .karte p { color: rgba(255,250,245,.72); }
.karte__nr { font-size: 1.25rem; font-weight: 800; color: var(--text-salbei); display: block; margin-bottom: var(--raum-2); }
a.karte { display: block; text-decoration: none; color: inherit; transition: box-shadow var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
a.karte:hover { box-shadow: var(--schatten-hover); transform: translateY(-3px); }

/* Bild-Karten / Masken */
.bildmaske { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-ruhe); }
.bildmaske img { width: 100%; height: 100%; object-fit: cover; transition: transform 550ms var(--ease-out); }
a .bildmaske:hover img { transform: scale(1.04); }

/* Schritte */
.schritte { counter-reset: schritt; display: grid; gap: var(--raum-4); }
@media (min-width: 900px) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritt { position: relative; padding-top: var(--raum-2); }
.schritt::before {
  counter-increment: schritt; content: "0" counter(schritt);
  display: block; font-size: 1.25rem; font-weight: 800; color: var(--gruen-tief);
  margin-bottom: var(--raum-2);
}
.schritt h3 { font-size: 1.25rem; }
.schritt p { color: var(--text-gedaempft); }

/* Listen mit Häkchen */
.check-liste { list-style: none; margin: 0 0 var(--raum-3); padding: 0; display: grid; gap: 12px; max-width: 60ch; }
.check-liste li { padding-left: 36px; position: relative; }
.check-liste li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gruen-tief);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8 12.5l2.6 2.6L16 9.5" stroke="white"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8 12.5l2.6 2.6L16 9.5" stroke="white"/></svg>') center/contain no-repeat;
}
.s-dunkel .check-liste li::before { background: var(--gruen-hell); }

/* Hinweis-Box (Das sollten Sie wissen) */
.hinweis {
  border-left: 4px solid var(--gruen); background: var(--flaeche-salbei);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  padding: var(--raum-3) var(--raum-4); max-width: 66ch;
}
.hinweis h3 { font-size: 1.125rem; margin-bottom: .3em; }
.hinweis p { margin: 0; color: var(--text-gedaempft); }

/* ---------- FAQ (details) ---------- */
.faq { border-top: 1px solid var(--linie); max-width: var(--container-schmal); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--raum-3);
  cursor: pointer; list-style: none; padding: var(--raum-3) 4px;
  font-size: 1.25rem; font-weight: 600; color: var(--ink-weich); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gruen-tief); color: var(--gruen-tief);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1.25rem; line-height: 1;
  transition: transform var(--dur-ui) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__antwort { padding: 0 4px var(--raum-3); color: var(--text-gedaempft); }

/* ---------- Formular ---------- */
.formular { display: grid; gap: var(--raum-3); max-width: 640px; }
.feld label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink-weich); }
.feld input, .feld textarea {
  width: 100%; padding: 14px 16px; font: 400 1.125rem/1.5 var(--font); color: var(--text);
  background: var(--flaeche-weiss); border: 1px solid var(--linie); border-radius: var(--radius-klein);
}
.feld input:focus-visible, .feld textarea:focus-visible {
  outline: none; border-color: var(--gruen-tief); box-shadow: 0 0 0 3px rgba(88,114,57,.25);
}
.feld .hilfe { font-size: .9375rem; color: var(--text-gedaempft); margin-top: 6px; }
.feld--fehler input, .feld--fehler textarea { border: 2px solid var(--fehler); }
.feld .fehlertext { display: none; font-size: 1rem; color: var(--fehler); margin-top: 6px; }
.feld--fehler .fehlertext { display: block; }
.checkbox-feld { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-feld input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--gruen-tief); }
.checkbox-feld label { font-weight: 400; font-size: 1rem; color: var(--text-gedaempft); }
.honigtopf { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular__status { font-size: 1rem; }
.formular__status--fehler { color: var(--fehler); }

/* Kontakt-Infokarte */
.kontaktkarte { background: var(--flaeche-weiss); border-radius: var(--radius-gross); padding: var(--raum-5); box-shadow: var(--schatten-ruhe); }
.kontaktkarte dl { margin: var(--raum-3) 0 0; display: grid; gap: var(--raum-2); }
.kontaktkarte dt { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-salbei); }
.kontaktkarte dd { margin: 2px 0 0; font-size: 1.1875rem; }
.kontaktkarte a { text-decoration: none; font-weight: 600; }
.kontaktkarte a:hover { text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.rechtstext h1 { font-size: clamp(2.125rem, 1.65rem + 1.95vw, 3.375rem); }
.rechtstext h2 { font-size: 1.75rem; margin-top: var(--raum-6); }
.rechtstext h3 { font-size: 1.25rem; margin-top: var(--raum-4); }
.rechtstext p, .rechtstext li { max-width: 72ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,250,245,.72); }
.footer a { color: rgba(255,250,245,.85); text-decoration: none; }
.footer a:hover { color: var(--gruen-hell); text-decoration: underline; text-underline-offset: 4px; }
.footer__haupt {
  display: grid; gap: var(--raum-6); padding-block: var(--sektion-kompakt);
}
@media (min-width: 900px) { .footer__haupt { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__logo img { width: 190px; height: 58px; }
.footer__claim { margin-top: var(--raum-3); font-size: 1.1875rem; color: rgba(255,250,245,.85); font-weight: 600; }
.footer h2 { color: var(--text-invers); font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--raum-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__vertrauen { margin-top: var(--raum-3); font-size: .9375rem; color: rgba(255,250,245,.55); max-width: 34em; }
.footer__unten {
  border-top: 1px solid var(--linie-invers); padding-block: var(--raum-3);
  display: flex; flex-wrap: wrap; gap: var(--raum-2) var(--raum-4);
  justify-content: space-between; font-size: .9375rem; color: rgba(255,250,245,.55);
}
.footer__unten a { color: rgba(255,250,245,.7); }

/* ---------- Motion (nur hinter html.js, P1) ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: min(calc(var(--i, 0) * 70ms), 490ms);
}
html.js .reveal.sichtbar { opacity: 1; transform: none; }
/* Hero-Kaskade: feste Verzögerungen */
html.js .hero .hero-el { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
html.js .hero.geladen .hero-el { opacity: 1; transform: none; }
html.js .hero .hero-el:nth-child(1) { transition-delay: 0ms; }
html.js .hero .hero-el:nth-child(2) { transition-delay: 120ms; }
html.js .hero .hero-el:nth-child(3) { transition-delay: 320ms; }
html.js .hero .hero-el:nth-child(4) { transition-delay: 520ms; }
html.js .hero__bild img { transform: scale(1.06); transition: transform 1300ms var(--ease-out); }
html.js .hero.geladen .hero__bild img { transform: scale(1); }

/* ---------- Reduzierte Bewegung (P4) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal, html.js .hero .hero-el { opacity: 1 !important; transform: none !important; }
  html.js .hero__bild img { transform: none !important; }
  .btn:hover, a.karte:hover { transform: none !important; }
}

/* ---------- Zähler mit Textwerten (Jobs-Fakten) ---------- */
.zaehler--text .zaehler__wert { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.15; }

/* ---------- Bewerbungs-Funnel ---------- */
.funnel {
  border: 0; padding: 0; margin: auto;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border-radius: var(--radius-gross);
  background: var(--flaeche-warm);
  box-shadow: var(--schatten-hover);
  color: var(--text);
}
.funnel::backdrop { background: rgba(29,29,29,.55); }
.funnel__form { padding: clamp(24px, 4vw, 40px); }
.funnel__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: var(--raum-3); }
.funnel__schliessen {
  width: 48px; height: 48px; flex: none; background: none; border: 0; cursor: pointer;
  font-size: 1.75rem; line-height: 1; color: var(--ink-weich); border-radius: var(--radius-klein);
}
.funnel__fortschritt { font-size: .9375rem; font-weight: 800; letter-spacing: .04em; color: var(--text-salbei); margin: 0 0 10px; }
.funnel__balken { height: 6px; border-radius: 999px; background: var(--flaeche-salbei); overflow: hidden; margin-bottom: var(--raum-4); }
.funnel__balken span { display: block; height: 100%; background: var(--gruen-tief); border-radius: 999px; transition: width var(--dur-ui) var(--ease-out); }
.funnel__schritt { border: 0; padding: 0; margin: 0 0 var(--raum-4); min-width: 0; }
.funnel__schritt legend { font-size: 1.25rem; font-weight: 800; color: var(--ink-weich); padding: 0; margin-bottom: var(--raum-2); }
.funnel__schritt > .hilfe { font-size: .9375rem; margin: -4px 0 var(--raum-3); }
.funnel .hilfe { font-size: .9375rem; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.kachel { position: relative; display: block; cursor: pointer; }
.kachel input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.kachel span {
  display: flex; align-items: center; min-height: 68px; padding: 16px 20px;
  background: var(--flaeche-weiss); border: 2px solid var(--linie); border-radius: var(--radius-klein);
  font-weight: 600; font-size: 1rem; line-height: 1.35; pointer-events: none;
  hyphens: none; overflow-wrap: normal; word-break: normal;
  transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.kachel:hover span { border-color: var(--gruen-tief); }
.kachel input:checked + span { border-color: var(--gruen-tief); background: #EEF4E5; color: var(--gruen-tiefer); }
.kachel input:checked + span::after { content: "✓"; margin-left: auto; font-weight: 800; color: var(--gruen-tief); padding-left: 8px; }
.kachel input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.funnel .feld { margin-bottom: var(--raum-3); }
.funnel__zusammenfassung { background: var(--flaeche-salbei); border-radius: var(--radius-klein); padding: var(--raum-3); margin-bottom: var(--raum-3); }
.funnel__nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Wizard-Verhalten nur mit JS */
html.js .funnel__schritt { display: none; }
html.js .funnel__schritt.aktiv { display: block; }
html.js [data-funnel-senden] { display: none; }
html.js .funnel.schritt-4 [data-funnel-senden] { display: inline-flex; }
html.js .funnel.schritt-4 [data-funnel-weiter] { display: none; }

/* Ohne JS: Dialog als normaler Abschnitt, alle Schritte untereinander, in einem Rutsch absendbar */
html:not(.js) .funnel { display: block; position: static; margin: var(--raum-6) auto; }
html:not(.js) .funnel__fortschritt,
html:not(.js) .funnel__balken,
html:not(.js) .funnel__schliessen,
html:not(.js) [data-funnel-weiter],
html:not(.js) [data-funnel-zurueck],
html:not(.js) [data-zusammenfassung] { display: none; }

/* ---------- Druck ---------- */
@media print {
  .header, .footer, .burger, .mobilmenue, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
