/* ======================================================================
   Warwaras kleine Tuffi-Bande – Design
   CI aus dem bisherigen Auftritt: Türkis #139191, Himbeere (Knöpfe), Sonnengelb
   und Salbei #7D8677 aus dem Logo. Schriften (lokal): Fredoka (Überschriften,
   wie bisher) und Nunito (Fließtext, rund und freundlich).
   Erkennungszeichen: die Schwebebahn aus dem Logo – sie fährt im Hero und
   zeigt im Platz-Finder, wo das Kind auf dem Weg zur Tuffi-Bande steht.
   ====================================================================== */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Fredoka.woff2) format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/Nunito.woff2) format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Nunito-italic.woff2) format('woff2');
}

:root {
  --tuerkis: #139191;
  --tuerkis-tief: #0B6464;
  --tuerkis-dunkel: #073F3F;     /* Fuß */
  --minze: #E4F3F1;
  --minze-2: #CBE7E3;
  --sonne: #F8C53F;
  --sonne-hell: #FFF1C2;
  --himbeer: #EA5B8B;
  --himbeer-tief: #C53A6B;
  --himbeer-hell: #FCE4EC;
  --salbei: #7D8677;
  --creme: #FFFBF3;
  --text: #27383F;
  --text-leise: #5B6B72;
  --linie: #E3EBEA;
  --weiss: #FFFFFF;
  --gruen: #1E7A45;

  --f-titel: 'Fredoka', system-ui, sans-serif;
  --f-text: 'Nunito', system-ui, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --radius-klein: 16px;
  --schatten: 0 1px 2px rgba(39, 56, 63, .05), 0 14px 36px -14px rgba(19, 145, 145, .28);
  --abstand: clamp(72px, 9vw, 120px);

  /* Bewegung: verspielt, aber kurz. Kleine Dinge hüpfen, große gleiten. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-huepf: cubic-bezier(.34, 1.56, .64, 1);     /* leichtes Überschwingen für Karten, Symbole */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-schublade: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--f-text);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.15rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--sonne); color: var(--text); }
a { color: var(--tuerkis-tief); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--tuerkis); }
:focus-visible { outline: 3px solid var(--himbeer); outline-offset: 3px; border-radius: 8px; }
.dunkel :focus-visible, .kopfband :focus-visible { outline-color: var(--sonne); }

h1, h2, h3, h4 {
  font-family: var(--f-titel);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--tuerkis-tief);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 800; color: var(--tuerkis-tief); }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--tuerkis-tief); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.springen:focus { top: 12px; }

.dachzeile {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-titel);
  font-size: .95rem; font-weight: 500;
  letter-spacing: .04em;
  color: var(--himbeer-tief);
  margin-bottom: .8rem;
}
.dachzeile::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--sonne); box-shadow: 18px 0 0 -2px var(--himbeer), 36px 0 0 -4px var(--tuerkis);
  margin-right: 34px;
}
.einleitung { font-size: 1.12em; color: var(--text-leise); max-width: 40em; }

.ico { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico--voll { fill: currentColor !important; stroke: none !important; }

/* ---------- Schwebebahn (Vektor aus dem Logo) ---------- */
.bahn, .logo__bahn { overflow: visible; }
.bahn__schiene, .bahn__arm { stroke: currentColor; fill: none; }
.bahn__schiene { stroke-width: 3; }
.bahn__arm { stroke-width: 4; }
.bahn__gondel { fill: currentColor; }
.bahn__fenster { fill: var(--fenster, #FFF8E7); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: .8em 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-titel); font-weight: 500; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .16s var(--ease-out), box-shadow .18s ease;
}
.knopf:active { transform: scale(.97); }
.knopf:disabled { opacity: .6; cursor: progress; transform: none; }
.knopf--voll { background: var(--tuerkis); color: #fff; box-shadow: 0 8px 20px -10px rgba(19, 145, 145, .7); }
.knopf--himbeer { background: var(--himbeer); color: #fff; box-shadow: 0 8px 20px -10px rgba(234, 91, 139, .7); }
.knopf--sonne { background: var(--sonne); color: var(--text); box-shadow: 0 8px 20px -10px rgba(248, 197, 63, .8); }
.knopf--rand { border-color: currentColor; color: var(--tuerkis-tief); background: transparent; }
.dunkel .knopf--rand { color: #fff; }

/* ---------- Kopfband & Kopf ---------- */
.kopfband { background: var(--tuerkis-tief); color: #D7ECEA; font-size: .92rem; }
.kopfband .huelle { display: flex; gap: 28px; align-items: center; min-height: 42px; }
.kopfband a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.kopfband a:hover { color: #fff; text-decoration: underline; }
.kopfband .rechts { margin-left: auto; display: inline-flex; align-items: center; gap: .5em; }

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(11, 100, 100, .5); }
.kopf .huelle { display: flex; align-items: center; gap: 24px; min-height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--salbei); }
.logo__bahn { width: 56px; height: 37px; flex: none; color: var(--salbei); --fenster: var(--creme); }
.logo span {
  font-family: var(--f-titel); font-weight: 700; font-size: 1.45rem; line-height: .95; letter-spacing: -.01em;
  color: var(--salbei);
}
.logo small { display: block; font-size: .62em; font-weight: 500; letter-spacing: .01em; margin-top: .15em; }

.hauptmenue { margin-left: auto; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hauptmenue a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--f-titel); font-size: 1.02rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.hauptmenue a[aria-current="page"] { color: var(--tuerkis-tief); background: var(--minze); }
.knopf--kopf { min-height: 46px; padding: .55em 1.15em; font-size: .98rem; }
.menue-knopf { display: none; }

@media (max-width: 1100px) {
  .kopfband .rechts { display: none; }
  .hauptmenue a { padding: 10px 10px; }
}
@media (max-width: 960px) {
  .kopfband { display: none; }
  .kopf .huelle { min-height: 72px; gap: 10px; }
  .logo__bahn { width: 46px; height: 30px; }
  .logo span { font-size: 1.2rem; }
  .knopf--kopf span { display: none; }
  .knopf--kopf { width: 48px; min-height: 48px; padding: 0; margin-left: auto; }
  .menue-knopf {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--minze-2); background: #fff; color: var(--tuerkis-tief); cursor: pointer;
  }
  .menue-knopf .ico { width: 24px; height: 24px; }
  .menue-knopf .zu { display: none; }
  .menue-knopf[aria-expanded="true"] .auf { display: none; }
  .menue-knopf[aria-expanded="true"] .zu { display: block; }
  .hauptmenue {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--creme); border-bottom: 1px solid var(--linie);
    box-shadow: 0 24px 40px -24px rgba(11, 100, 100, .45);
    padding: 8px var(--rand) 20px;
    display: none;
  }
  .hauptmenue.ist-offen { display: block; animation: auftauchen .22s var(--ease-out); }
  .hauptmenue ul { flex-direction: column; gap: 0; }
  .hauptmenue a { padding: 14px 4px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid var(--linie); }
  .hauptmenue a[aria-current="page"] { background: none; }
  .hauptmenue li:last-child a { border-bottom: 0; }
  .no-js .hauptmenue { position: static; display: block; box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 48px; }
.hero__raster {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero__text { padding-block: clamp(16px, 3vw, 40px); }
.hero h1 { margin-bottom: .4em; }
.hero h1 .bunt { color: var(--tuerkis); position: relative; display: inline-block; }
.hero h1 .bunt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; z-index: -1;
  background: var(--sonne); border-radius: 999px; opacity: .85;
  transform: scaleX(0); transform-origin: left; animation: unterstrich .6s .75s var(--ease-out) forwards;
}
@keyframes unterstrich { to { transform: scaleX(1); } }
.hero__unter { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); color: var(--text-leise); max-width: 30em; margin-bottom: 1.6em; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fakten {
  list-style: none; padding: 0; margin: 2em 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  color: var(--text-leise); font-size: .98rem; font-weight: 600;
}
.hero__fakten li { display: inline-flex; align-items: center; gap: .45em; }
.hero__fakten .ico { color: var(--tuerkis); stroke-width: 2.3; }

/* Foto in Blob-Form, dahinter Sonne, davor die Tuffis */
.hero__bild { position: relative; justify-self: end; width: min(100%, 560px); aspect-ratio: 1; }
.hero__bild::before {
  content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; right: -6%; top: -4%;
  border-radius: 50%; background: var(--sonne);
  animation: sonne-drehen 24s linear infinite;
  background-image: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .22) 0 8deg, transparent 8deg 24deg);
}
@keyframes sonne-drehen { to { transform: rotate(360deg); } }
.hero__bild picture, .hero__bild picture img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  box-shadow: var(--schatten);
}
.hero__tuffis {
  position: absolute; left: -16%; bottom: -4%; width: 34%; height: auto;
  filter: drop-shadow(0 10px 18px rgba(39, 56, 63, .2));
  animation: tuffis-kommen .8s .5s var(--ease-huepf) both;
}
@keyframes tuffis-kommen { from { opacity: 0; transform: translateY(24px) scale(.9); } }
.hero__konfetti {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; z-index: -1;
}
.hero__konfetti--1 { background: var(--himbeer); left: 2%; top: 12%; }
.hero__konfetti--2 { background: var(--tuerkis); right: 8%; bottom: 14%; width: 10px; height: 10px; }
.hero__konfetti--3 { background: var(--sonne); left: 12%; top: 2%; width: 8px; height: 8px; }

/* Die Schwebebahn fährt oben am Hero entlang – langsam, als Hintergrundleben */
.schiene {
  position: absolute; left: 0; right: 0; top: 0; height: 48px; z-index: 0; pointer-events: none;
  color: var(--minze-2);
}
.schiene::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px;
  background: currentColor;
}
.schiene__stuetze {
  position: absolute; top: 10px; width: 28px; height: 38px; color: var(--minze-2);
}
.schiene__stuetze:nth-of-type(1) { left: 9%; }
.schiene__stuetze:nth-of-type(2) { left: 34%; }
.schiene__stuetze:nth-of-type(3) { left: 61%; }
.schiene__stuetze:nth-of-type(4) { left: 87%; }
.schiene__stuetze::before, .schiene__stuetze::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: currentColor; border-radius: 2px;
  transform-origin: top; transform: rotate(-18deg);
}
.schiene__stuetze::after { transform: rotate(18deg); }
.schiene__bahn {
  position: absolute; top: 9px; left: 0; width: 72px; height: 48px; color: var(--tuerkis); --fenster: var(--creme);
  animation: bahn-fahren 38s linear infinite;
}
.schiene__bahn .bahn { width: 100%; height: 100%; }
.schiene__bahn::after {   /* kleiner Schatten, hängt leicht nach */
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -10px; height: 6px; border-radius: 50%;
  background: rgba(19, 145, 145, .12); filter: blur(2px);
}
@keyframes bahn-fahren { from { transform: translateX(-90px); } to { transform: translateX(calc(100vw + 20px)); } }

/* Erster Eindruck: Text gestaffelt, Bild weich. Läuft einmal beim Laden. */
.hero__text > * { animation: auftritt .6s var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: 70ms; }
.hero__text > :nth-child(3) { animation-delay: 140ms; }
.hero__text > :nth-child(4) { animation-delay: 210ms; }
.hero__text > :nth-child(5) { animation-delay: 280ms; }
.hero__bild picture img { animation: bild-ruhe 1s .1s var(--ease-out) both; }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } }
@keyframes bild-ruhe { from { opacity: 0; transform: scale(.96); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(-6px); } }
@keyframes einblenden { from { opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero__raster { grid-template-columns: 1fr; gap: 28px; padding-bottom: 48px; }
  .hero__bild { order: -1; justify-self: center; width: min(78%, 360px); margin-top: 20px; }
  .hero__text { text-align: left; padding-block: 0; }
  .hero__tuffis { width: 46%; left: -10%; }
}

/* ---------- Wellen zwischen Flächen ---------- */
.welle { display: block; width: 100%; height: clamp(28px, 4vw, 60px); line-height: 0; }
.welle svg { width: 100%; height: 100%; display: block; }
.welle--minze svg { fill: var(--minze); }
.welle--creme svg { fill: var(--creme); }
.welle--tuerkis svg { fill: var(--tuerkis); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--minze { background: var(--minze); }
.abschnitt--weiss { background: #fff; }
.abschnitt--eng { padding-block: clamp(48px, 6vw, 80px); }
.abschnitt--nach-welle { padding-top: clamp(32px, 4vw, 56px); }
.abschnitt--mit-welle { padding-bottom: 0; }
.abschnitt--mit-welle > .welle { margin-top: calc(var(--abstand) * .55); }
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt__kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt__kopf--mitte .dachzeile { justify-content: center; }
.abschnitt__kopf--mitte .dachzeile::before { margin-right: 34px; }
.abschnitt__kopf--mitte .dachzeile::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%; margin-left: 34px;
  background: var(--tuerkis); box-shadow: -18px 0 0 -2px var(--himbeer), -36px 0 0 -4px var(--sonne);
}

/* Beim Scrollen auftauchen (JS setzt .ist-da) – nur ein kurzer Hüpfer */
.auftauchen { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.auftauchen.ist-da { opacity: 1; transform: none; }
.no-js .auftauchen { opacity: 1; transform: none; }

/* ---------- Auf einen Blick: fünf Fakten ---------- */
.blick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fakt {
  background: #fff; border-radius: var(--radius-klein); padding: 26px 22px 24px;
  border: 2px solid transparent; position: relative;
  transition: transform .26s var(--ease-huepf), box-shadow .26s ease, border-color .2s ease;
}
.fakt__ico {
  width: 54px; height: 54px; border-radius: 18px; margin-bottom: 16px;
  display: grid; place-items: center; color: var(--tuerkis-tief);
  background: var(--minze); transform: rotate(-4deg);
  transition: transform .3s var(--ease-huepf);
}
.fakt:nth-child(2) .fakt__ico { background: var(--sonne-hell); color: #8A5E00; transform: rotate(3deg); }
.fakt:nth-child(3) .fakt__ico { background: var(--himbeer-hell); color: var(--himbeer-tief); transform: rotate(-3deg); }
.fakt:nth-child(5) .fakt__ico { background: var(--sonne-hell); color: #8A5E00; transform: rotate(4deg); }
.fakt__ico .ico { width: 26px; height: 26px; }
.fakt h3 { font-size: 1.15rem; margin-bottom: .3em; }
.fakt p { margin: 0; color: var(--text-leise); font-size: .95rem; line-height: 1.5; }
.fakt--frei { border-color: var(--himbeer); background: var(--himbeer-hell); }
.fakt--frei p b { color: var(--himbeer-tief); font-family: var(--f-titel); font-weight: 600; font-size: 1.1em; display: block; }
.fakt--frei a { display: inline-flex; align-items: center; gap: .3em; margin-top: 10px; font-weight: 800; color: var(--himbeer-tief); font-size: .95rem; }
@media (max-width: 1000px) { .blick { grid-template-columns: repeat(3, 1fr); } .fakt:nth-child(4), .fakt:nth-child(5) { grid-column: span 1; } }
@media (max-width: 640px) { .blick { grid-template-columns: 1fr 1fr; gap: 12px; } .fakt { padding: 20px 16px; } .fakt--frei { grid-column: 1 / -1; } }

/* ---------- Aktivitäten: sechs Fotokarten ---------- */
.aktiv { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.aktiv__karte {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tuerkis-tief);
  aspect-ratio: 1; color: #fff; isolation: isolate;
  transition: transform .3s var(--ease-huepf), box-shadow .3s ease;
}
.aktiv__karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.aktiv__karte::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(7, 63, 63, .88) 0%, rgba(7, 63, 63, .35) 45%, rgba(7, 63, 63, 0) 70%);
}
.aktiv__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.5vw, 28px); }
.aktiv__ico {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: var(--sonne); color: var(--text); transform: rotate(-6deg);
  transition: transform .3s var(--ease-huepf);
}
.aktiv__karte:nth-child(2n) .aktiv__ico { background: var(--himbeer); color: #fff; transform: rotate(5deg); }
.aktiv__karte:nth-child(3n) .aktiv__ico { background: #fff; color: var(--tuerkis-tief); transform: rotate(-3deg); }
.aktiv__ico .ico { width: 24px; height: 24px; stroke-width: 2.1; }
.aktiv__text h3 { color: #fff; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: .25em; }
.aktiv__text p { margin: 0; color: #DDF0EE; font-size: .98rem; line-height: 1.45; }
@media (max-width: 860px) { .aktiv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .aktiv { grid-template-columns: 1fr; } .aktiv__karte { aspect-ratio: 5 / 4; } }

.hinweis {
  margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px; border-radius: var(--radius-klein);
  background: #fff; border: 1.5px dashed var(--minze-2); color: var(--text-leise); font-size: .95rem;
  display: flex; gap: 14px; align-items: flex-start;
}
.hinweis .ico { color: var(--tuerkis); width: 26px; height: 26px; margin-top: 2px; }
.hinweis p { margin: 0; }
.hinweis strong { color: var(--text); }

/* ---------- Platz-Finder (die Besonderheit) ---------- */
.finder {
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
}
.finder__eingabe { padding: clamp(28px, 4vw, 48px); background: var(--tuerkis); color: #fff; position: relative; }
.finder__eingabe::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -100px; border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, .1);
}
.finder__eingabe .dachzeile { color: var(--sonne); }
.finder__eingabe h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.finder__eingabe > p { color: #D7ECEA; }
.finder__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 14px; position: relative; z-index: 1; }
.finder__felder label { display: block; font-family: var(--f-titel); font-weight: 500; font-size: .95rem; margin-bottom: 6px; color: #fff; }
.finder select {
  width: 100%; font: inherit; font-family: var(--f-titel); font-size: 1.1rem; color: var(--text);
  padding: 12px 40px 12px 16px; border-radius: 14px; border: 2px solid transparent; background: #fff;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6464' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.finder select:focus { outline: none; border-color: var(--sonne); box-shadow: 0 0 0 4px rgba(248, 197, 63, .35); }
.finder__platz { font-size: .95rem; color: #D7ECEA; margin: 0; position: relative; z-index: 1; }
.finder__platz b { color: #fff; font-family: var(--f-titel); font-weight: 500; }

.finder__ergebnis { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.finder__leer { color: var(--text-leise); margin: 0; display: flex; gap: 14px; align-items: center; }
.finder__leer .bahn { width: 64px; flex: none; color: var(--minze-2); --fenster: #fff; }
.finder__aus[hidden], .finder__leer[hidden] { display: none; }
.finder__aus { animation: auftritt .4s var(--ease-out); }
.urteil {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-klein); margin-bottom: 20px;
}
.urteil .ico { width: 28px; height: 28px; flex: none; stroke-width: 2.3; margin-top: 2px; }
.urteil b { display: block; font-family: var(--f-titel); font-weight: 600; font-size: 1.2rem; margin-bottom: .15em; }
.urteil p { margin: 0; font-size: .98rem; }
.urteil--ja { background: var(--minze); color: var(--tuerkis-dunkel); }
.urteil--ja .ico { color: var(--tuerkis); }
.urteil--spaeter { background: var(--sonne-hell); color: #5A3D00; }
.urteil--spaeter .ico { color: #B07800; }
.urteil--zu-alt { background: var(--himbeer-hell); color: #7A1F43; }
.urteil--zu-alt .ico { color: var(--himbeer-tief); }

.finder__zahlen { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.finder__zahlen li { background: var(--creme); border-radius: 14px; padding: 12px 14px; }
.finder__zahlen span { display: block; font-size: .82rem; color: var(--text-leise); font-weight: 700; letter-spacing: .02em; }
.finder__zahlen b { font-family: var(--f-titel); font-weight: 600; font-size: 1.08rem; color: var(--tuerkis-tief); }

/* Zeitstrahl: Schiene von der Geburt bis kurz nach dem 3. Geburtstag; die Bahn steht bei „heute“ */
.zeitstrahl { position: relative; height: 132px; margin: 6px 6px 18px; }
.zeitstrahl__schiene { position: absolute; left: 0; right: 0; top: 72px; height: 4px; border-radius: 4px; background: var(--linie); }
.zeitstrahl__bereich {
  position: absolute; top: 72px; height: 4px; border-radius: 4px; background: var(--tuerkis);
  transition: left .6s var(--ease-out), width .6s var(--ease-out);
}
.zeitstrahl__marke { position: absolute; top: 80px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.zeitstrahl__marke::before {
  content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; margin: -12px auto 6px;
  background: #fff; border: 3px solid var(--tuerkis);
}
.zeitstrahl__marke b { display: block; font-family: var(--f-titel); font-weight: 500; font-size: .82rem; color: var(--tuerkis-tief); line-height: 1.2; }
.zeitstrahl__marke span { font-size: .75rem; color: var(--text-leise); }
.zeitstrahl__marke--geburt { left: 0; }
.zeitstrahl__marke--geburt::before { border-color: var(--linie); }
.zeitstrahl__marke--ende::before { border-color: var(--linie); }
.zeitstrahl__marke--platz { top: 0; transition: left .6s var(--ease-out); }
.zeitstrahl__marke--platz::before {
  width: 0; height: 0; border: 0; border-radius: 0; margin: 0 auto;
  background: none;
}
.zeitstrahl__marke--platz b { color: var(--himbeer-tief); background: rgba(255,255,255,.85); border-radius: 999px; padding: 1px 6px; }
.zeitstrahl__marke--platz::after {
  content: ""; display: block; width: 3px; height: 50px; margin: 2px auto 0; border-radius: 3px;
  background: repeating-linear-gradient(180deg, var(--himbeer) 0 5px, transparent 5px 8px);
}
.zeitstrahl__bahn {
  position: absolute; top: 30px; width: 64px; height: 42px; margin-left: -32px; z-index: 2;
  color: var(--tuerkis-tief); --fenster: var(--sonne-hell);
  transition: left .7s var(--ease-huepf);
}
.zeitstrahl__bahn .bahn { width: 100%; height: 100%; }
.zeitstrahl__bahn span {
  position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%);
  background: var(--sonne); color: var(--text); font-family: var(--f-titel); font-size: .7rem; font-weight: 600;
  padding: 1px 7px; border-radius: 999px; white-space: nowrap; line-height: 1.3;
}
.finder__knopf { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.finder__knopf small { color: var(--text-leise); font-size: .9rem; }
@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  .finder__zahlen { grid-template-columns: 1fr 1fr; }
  .zeitstrahl__marke b { font-size: .76rem; }
}
@media (max-width: 480px) {
  .finder__felder { grid-template-columns: 1fr; }
  .finder__zahlen { grid-template-columns: 1fr; }
  .zeitstrahl { margin-inline: 2px; }
  .zeitstrahl__marke--geburt { transform: translateX(-10%); }
  .zeitstrahl__marke--ende { transform: translateX(-90%); }
}

/* ---------- Elternstimmen ---------- */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: start; }
.stimme {
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
  position: relative; box-shadow: var(--schatten);
}
.stimme:nth-child(2) { transform: rotate(1.2deg); }
.stimme:nth-child(3) { transform: rotate(-.8deg); }
.stimme:nth-child(1) { transform: rotate(-1deg); }
.stimme__sterne { display: flex; gap: 2px; color: var(--sonne); margin-bottom: 14px; }
.stimme__sterne .ico { width: 20px; height: 20px; }
.stimme blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.stimme blockquote p { text-wrap: pretty; }
.stimme figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--f-titel); font-weight: 500; color: var(--tuerkis-tief); }
.stimme__kreis {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--minze); color: var(--tuerkis-tief); font-weight: 600;
}
.stimme:nth-child(2) .stimme__kreis { background: var(--sonne-hell); color: #8A5E00; }
.stimme:nth-child(3) .stimme__kreis { background: var(--himbeer-hell); color: var(--himbeer-tief); }
.stimme__mehr { margin-top: 8px; }
.stimme__mehr summary { list-style: none; cursor: pointer; color: var(--tuerkis-tief); font-weight: 800; font-size: .92rem; }
.stimme__mehr summary::-webkit-details-marker { display: none; }
.stimme__mehr[open] summary { display: none; }
@media (max-width: 860px) { .stimmen { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .stimme { transform: none !important; } }

/* ---------- Warwara (Startseite kurz, Über-mich-Seite lang) ---------- */
.warwara { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.warwara__bild { position: relative; justify-self: center; width: min(100%, 400px); padding-top: 24px; }
.warwara__bild::before {
  content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 12%; bottom: 3%;
  border-radius: 46% 54% 50% 50% / 55% 50% 50% 45%;
  background: var(--minze);
}
.warwara__bild::after {
  content: ""; position: absolute; z-index: 0; width: 22%; aspect-ratio: 1; right: -4%; top: 4%;
  border-radius: 50%; background: var(--sonne);
}
.warwara__bild img { position: relative; z-index: 1; width: 78%; margin-inline: auto; }
.warwara__text p { color: var(--text-leise); }
.warwara__text p:first-of-type:not(.dachzeile) { color: var(--text); font-size: 1.1em; }
.unterschrift { width: min(220px, 50%); margin: .6em 0 .2em; opacity: .9; }
.unterschrift-zeile { font-size: .92rem; color: var(--text-leise); margin: 0 0 1.4em; }
@media (max-width: 860px) {
  .warwara { grid-template-columns: 1fr; }
  .warwara__bild { width: min(70%, 300px); }
}

/* ---------- Impressionen (Bilderband) ---------- */
.band { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--rand) 24px; scrollbar-width: none; }
.band::-webkit-scrollbar { display: none; }
.band__bild {
  flex: 0 0 auto; width: clamp(180px, 22vw, 240px); scroll-snap-align: center;
  background: #fff; padding: 10px 10px 16px; border-radius: 10px; box-shadow: 0 10px 28px -14px rgba(39, 56, 63, .35);
}
.band__bild img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.band__bild:nth-child(odd) { transform: rotate(-2deg); }
.band__bild:nth-child(even) { transform: rotate(1.6deg) translateY(10px); }
.band__bild:nth-child(3n) { transform: rotate(2.4deg); }

/* ---------- Aufruf (Kostenfreie Beratung) ---------- */
.aufruf {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  border-radius: var(--radius); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background: var(--tuerkis-tief); box-shadow: var(--schatten);
}
.aufruf__bg { position: absolute; inset: 0; z-index: -2; }
.aufruf__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.aufruf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(11, 100, 100, .96) 0%, rgba(19, 145, 145, .85) 45%, rgba(19, 145, 145, .25) 100%);
}
.aufruf .dachzeile { color: var(--sonne); }
.aufruf h2 { color: #fff; max-width: 14em; }
.aufruf p { color: #E2F2F0; max-width: 34em; font-size: 1.08em; }
.aufruf__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- FAQ ---------- */
.fragen { max-width: 860px; margin: 0 auto; }
.frage { background: #fff; border-radius: var(--radius-klein); margin-bottom: 10px; border: 1.5px solid var(--linie); transition: border-color .2s ease; }
.frage[open] { border-color: var(--minze-2); }
.frage summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 20px;
  font-family: var(--f-titel); font-weight: 500; font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--tuerkis-tief);
}
.frage summary::-webkit-details-marker { display: none; }
.frage__zeichen {
  width: 36px; height: 36px; border-radius: 50%; flex: none; position: relative;
  background: var(--sonne-hell); transition: background-color .2s ease, transform .3s var(--ease-huepf);
}
.frage__zeichen::before, .frage__zeichen::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px;
  background: #8A5E00; transform: translate(-50%, -50%);
}
.frage__zeichen::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .24s var(--ease-out); }
.frage[open] .frage__zeichen { background: var(--sonne); transform: rotate(180deg); }
.frage[open] .frage__zeichen::after { transform: translate(-50%, -50%) rotate(0deg); }
.frage__antwort { padding: 0 72px 22px 20px; color: var(--text-leise); }
.frage[open] .frage__antwort { animation: auftauchen .26s var(--ease-out); }
.frage__antwort p:last-child { margin-bottom: 0; }
.fragen__nachsatz { text-align: center; margin-top: 32px; color: var(--text-leise); }

/* ---------- Unterseiten-Kopf mit Foto ---------- */
.seitenkopf {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: var(--tuerkis-tief);
  padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px);
}
.seitenkopf__bg { position: absolute; inset: 0; z-index: -2; }
.seitenkopf__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.seitenkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 63, 63, .9) 0%, rgba(11, 100, 100, .78) 50%, rgba(19, 145, 145, .5) 100%);
}
.seitenkopf h1 { color: #fff; font-size: clamp(2.3rem, 1.8rem + 2.4vw, 3.6rem); margin: 0 0 .3em; }
.seitenkopf .dachzeile { color: var(--sonne); }
.seitenkopf p:not(.dachzeile) { color: #E2F2F0; font-size: 1.1em; max-width: 36em; margin: 0; }
.seitenkopf .hero__knoepfe { margin-top: 1.6em; }
.seitenkopf .knopf--rand { color: #fff; }
.seitenkopf--schlicht { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.seitenkopf > .bahn {
  position: absolute; right: var(--rand); bottom: -6px; width: clamp(90px, 12vw, 150px); color: rgba(255, 255, 255, .22); --fenster: rgba(255, 255, 255, .15);
  z-index: -1;
}

/* ---------- Über mich ---------- */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.zwei__bild img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: min(100%, 460px); margin-inline: auto; box-shadow: var(--schatten); }
.zwei p { color: var(--text-leise); }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }

.konzept { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; }
.reiter { display: flex; gap: 6px; padding: 10px; background: var(--minze); flex-wrap: wrap; }
.reiter button {
  flex: 1 1 auto; font: inherit; font-family: var(--f-titel); font-weight: 500; font-size: 1.02rem;
  padding: 12px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--tuerkis-tief); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.reiter button:active { transform: scale(.97); }
.reiter button[aria-selected="true"] { background: var(--tuerkis); color: #fff; }
.reiter__inhalt { padding: clamp(24px, 3.5vw, 40px); }
.reiter__inhalt[hidden] { display: none; }
.reiter__inhalt { animation: auftritt .3s var(--ease-out); }
.reiter__inhalt p { color: var(--text-leise); }
.reiter__inhalt p:last-child { margin-bottom: 0; }
.no-js .reiter { display: none; }
.no-js .reiter__inhalt[hidden] { display: block; }

.werte { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.werte li { display: flex; gap: .6em; align-items: flex-start; font-weight: 700; color: var(--tuerkis-tief); }
.werte .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sonne); color: var(--text); flex: none; stroke-width: 2.6; margin-top: .15em; }
@media (max-width: 520px) { .werte { grid-template-columns: 1fr; } }

/* ---------- Warteliste ---------- */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.status__karte { background: #fff; border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--schatten); position: relative; overflow: hidden; }
.status__karte--frei { background: var(--tuerkis); color: #fff; }
.status__karte--frei h3, .status__karte--frei p { color: #fff; }
.status__karte--frei .status__wert { color: var(--sonne); }
.status__karte--frei .knopf { margin-top: 10px; }
.status__wert { font-family: var(--f-titel); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; color: var(--himbeer-tief); margin: .1em 0 .3em; }
.status__karte p { color: var(--text-leise); margin-bottom: .6em; }
.status__karte .ico--gross { width: 54px; height: 54px; color: var(--sonne); margin-bottom: 12px; }
@media (max-width: 760px) { .status { grid-template-columns: 1fr; } }

/* ---------- Kosten ---------- */
.kosten { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.kasten {
  background: #fff; border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--schatten);
}
.kasten--sonne { background: var(--sonne-hell); box-shadow: none; }
.kasten h3 { margin-bottom: .5em; }
.kasten p { color: var(--text-leise); }
.kasten p:last-child { margin-bottom: 0; }
.kasten--sonne strong { color: #5A3D00; }
.merk { list-style: none; margin: 1em 0 0; padding: 0; display: grid; gap: 12px; }
.merk li { display: flex; gap: .7em; align-items: flex-start; }
.merk .ico { color: var(--gruen); margin-top: .22em; stroke-width: 2.4; }
@media (max-width: 860px) { .kosten { grid-template-columns: 1fr; } }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.schritt { background: #fff; border-radius: var(--radius-klein); padding: 24px 22px; border: 1.5px solid var(--linie); counter-increment: s; position: relative; }
.schritt::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  background: var(--tuerkis); color: #fff; font-family: var(--f-titel); font-weight: 600; font-size: 1.2rem;
  transform: rotate(-6deg);
}
.schritt:nth-child(2)::before { background: var(--sonne); color: var(--text); transform: rotate(5deg); }
.schritt:nth-child(3)::before { background: var(--himbeer); transform: rotate(-4deg); }
.schritt:nth-child(4)::before { background: var(--salbei); transform: rotate(6deg); }
.schritt h3 { font-size: 1.15rem; margin-bottom: .3em; }
.schritt p { margin: 0; color: var(--text-leise); font-size: .96rem; }
.schritte--eins { grid-template-columns: 1fr; }
@media (max-width: 900px) { .schritte { grid-template-columns: 1fr 1fr; } .schritte--eins { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt__raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wege { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.weg {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius-klein);
  background: #fff; border: 1.5px solid var(--linie);
  color: var(--text); text-decoration: none;
  transition: border-color .18s ease, transform .2s var(--ease-huepf), box-shadow .2s ease;
}
a.weg:active { transform: scale(.98); }
.weg__ico { width: 48px; height: 48px; border-radius: 16px; background: var(--minze); color: var(--tuerkis-tief); display: grid; place-items: center; flex: none; transform: rotate(-4deg); }
.weg:nth-child(2) .weg__ico { background: var(--sonne-hell); color: #8A5E00; transform: rotate(3deg); }
.weg:nth-child(3) .weg__ico { background: var(--himbeer-hell); color: var(--himbeer-tief); transform: rotate(-3deg); }
.weg:nth-child(4) .weg__ico { background: var(--minze); transform: rotate(4deg); }
.weg__ico .ico { width: 22px; height: 22px; }
.weg small { display: block; font-size: .85rem; color: var(--text-leise); font-weight: 700; }
.weg b { font-family: var(--f-titel); font-weight: 500; font-size: 1.1rem; color: var(--tuerkis-tief); word-break: break-word; }
@media (max-width: 860px) { .kontakt__raster { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.formular {
  background: #fff; color: var(--text);
  border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--schatten);
}
.formular h3 { margin-bottom: .2em; }
.formular > p { color: var(--text-leise); font-size: .98rem; }
.feld { margin-bottom: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.feld label { display: block; font-family: var(--f-titel); font-weight: 500; font-size: 1rem; margin-bottom: 6px; color: var(--tuerkis-tief); }
.feld label .opt { font-family: var(--f-text); font-weight: 400; color: var(--text-leise); font-size: .9em; }
.feld input, .feld textarea, .feld select {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 15px; border-radius: 14px;
  border: 2px solid var(--linie); background: var(--creme);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--tuerkis); box-shadow: 0 0 0 4px rgba(19, 145, 145, .15); background: #fff; }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-leise); margin: 6px 0 20px; }
.einwilligung input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--tuerkis); flex: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { width: 100%; }
.formular__status { margin: 14px 0 0; padding: 0; font-size: .98rem; min-height: 1.5em; }
.formular__status.ok, .formular__status.fehler { animation: auftritt .24s var(--ease-out); }
.formular__status.ok { padding: 14px 16px; border-radius: 14px; background: #E7F4EC; color: #145232; }
.formular__status.fehler { padding: 14px 16px; border-radius: 14px; background: #FBEAEA; color: #8A1F1F; }
.formular__merkmale { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.formular__merkmale li { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; font-weight: 800; color: var(--tuerkis-tief); background: var(--minze); border-radius: 999px; padding: 5px 12px; }
.formular__merkmale .ico { width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 520px) { .feld-paar { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte, Danke, 404 ---------- */
.text { max-width: 800px; padding-block: clamp(48px, 6vw, 80px); }
.text h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-top: 1.8em; }
.text h3 { font-size: 1.2rem; margin-top: 1.6em; }
.text h4 { margin-top: 1.4em; }
.text h2:first-child { margin-top: 0; }
.text ul { padding-left: 1.3em; }
.text li { margin-bottom: .35em; }
.text address { font-style: normal; }
.text .kasten { background: var(--minze); border-radius: var(--radius-klein); padding: 20px 24px; margin: 1em 0 1.5em; box-shadow: none; }
.text .kasten p { color: var(--text); }
.text .stand { color: var(--text-leise); font-size: .92rem; margin-top: 3em; }

/* ---------- Fuß ---------- */
.fuss { background: var(--tuerkis-dunkel); color: #C9E0DD; font-size: .98rem; position: relative; }
.fuss__welle { height: clamp(28px, 4vw, 60px); line-height: 0; margin-top: calc(-1 * clamp(28px, 4vw, 60px)); position: relative; }
.fuss__welle svg { width: 100%; height: 100%; display: block; fill: var(--tuerkis-dunkel); }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }
.abschluss { padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.abschluss__raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.abschluss .dachzeile { color: var(--sonne); }
.abschluss h2 { color: #fff; max-width: 15em; }
.abschluss p { color: #C9E0DD; max-width: 30em; }
.abschluss__wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.abschluss__wege li { display: flex; align-items: center; gap: 14px; }
.abschluss__wege .ico { width: 22px; height: 22px; color: var(--sonne); }
.abschluss__wege a, .abschluss__wege span { font-family: var(--f-titel); font-weight: 400; font-size: 1.12rem; color: #fff; word-break: break-word; }
.fuss__unten { padding-block: 32px 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.fuss__unten nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss__unten .logo, .fuss__unten .logo span { color: #fff; }
.fuss__unten .logo__bahn { color: var(--sonne); --fenster: var(--tuerkis-dunkel); }
.credit { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #9FC1BC; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; }
.credit a { color: #C9E0DD; }
@media (max-width: 860px) { .abschluss__raster { grid-template-columns: 1fr; } }

/* Nach-oben-Knopf */
.nach-oben {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff;
  background: var(--tuerkis); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(7, 63, 63, .5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s var(--ease-out), background-color .18s ease;
}
.nach-oben .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.nach-oben.ist-sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.nach-oben:active { transform: scale(.94); }
@media (min-width: 761px) { .nach-oben { right: 24px; bottom: 24px; } }

/* Mobile Aktionsleiste (Anrufen / Warteliste) */
.aktionsleiste { display: none; }
@media (max-width: 760px) {
  .aktionsleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 251, 243, .97); border-top: 1px solid var(--linie);
    box-shadow: 0 -10px 30px -20px rgba(7, 63, 63, .5);
    transform: translateY(110%); transition: transform .34s var(--ease-schublade);
  }
  .aktionsleiste.ist-sichtbar { transform: none; }
  .aktionsleiste .knopf { min-height: 50px; padding: .6em 1em; font-size: .98rem; box-shadow: none; }
  body { padding-bottom: 76px; }
  .nach-oben { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Hover nur mit echter Maus ---------- */
@media (hover: hover) and (pointer: fine) {
  .knopf--voll:hover { background: var(--tuerkis-tief); color: #fff; }
  .knopf--himbeer:hover { background: var(--himbeer-tief); color: #fff; }
  .knopf--sonne:hover { background: #F5B814; color: var(--text); }
  .knopf--rand:hover { background: var(--tuerkis); border-color: var(--tuerkis); color: #fff; }
  .dunkel .knopf--rand:hover { background: #fff; border-color: #fff; color: var(--tuerkis-tief); }
  .hauptmenue a:hover { background: var(--minze); color: var(--tuerkis-tief); }
  .fakt:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: var(--minze-2); }
  .fakt--frei:hover { border-color: var(--himbeer); }
  .fakt:hover .fakt__ico { transform: rotate(0) scale(1.08); }
  .aktiv__karte:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -18px rgba(7, 63, 63, .45); }
  .aktiv__karte:hover img { transform: scale(1.05); }
  .aktiv__karte:hover .aktiv__ico { transform: rotate(0) scale(1.1); }
  a.weg:hover { border-color: var(--minze-2); transform: translateY(-2px); box-shadow: var(--schatten); }
  .frage summary:hover .frage__zeichen { transform: scale(1.1); }
  .frage[open] summary:hover .frage__zeichen { transform: rotate(180deg) scale(1.1); }
  .reiter button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .7); }
  .nach-oben:hover { background: var(--tuerkis-tief); }
  .stimme__mehr summary:hover { text-decoration: underline; }
}

/* ---------- Bewegung reduzieren: nur noch Einblenden ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__text > *, .hero__bild picture img, .hero__tuffis, .finder__aus, .reiter__inhalt,
  .frage[open] .frage__antwort, .hauptmenue.ist-offen,
  .formular__status.ok, .formular__status.fehler { animation-name: einblenden; animation-duration: .3s; }
  .hero h1 .bunt::after { animation: none; transform: none; }
  .hero__bild::before { animation: none; }
  .schiene__bahn { animation: none; left: 62%; }
  .auftauchen { opacity: 1; transform: none; transition: none; }
  .knopf:active, a.weg:active, .nach-oben:active, .reiter button:active { transform: none; }
  .zeitstrahl__bahn, .zeitstrahl__bereich, .zeitstrahl__marke--platz { transition: none; }
  .aktionsleiste { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  .aktionsleiste.ist-sichtbar { opacity: 1; visibility: visible; }
  .fakt, .aktiv__karte, .aktiv__karte img, .fakt__ico, .aktiv__ico { transition: none; }
}

@media print {
  .kopfband, .kopf, .aktionsleiste, .nach-oben, .aufruf__bg, .seitenkopf__bg, .formular, .schiene, .hero__bild { display: none !important; }
  .hero, .aufruf, .seitenkopf, .fuss { background: none; color: #000; }
  .seitenkopf h1, .aufruf h2, .abschluss h2 { color: #000; }
}
