/* ============================================================
   Waldkindergarten Ilmmünster e.V. – Stylesheet
   Design: cineastisch-dunkel (Waldgrün) × warme Logo-Farbwelt
   ============================================================ */

/* Zoom-Sperre (bewusst gesetzt): Pinch-Zoom unterbinden, Scrollen erlaubt.
   Ergänzt Viewport-Meta + JS-Gestenblocker in main.js. */
html {
  touch-action: pan-x pan-y;
}

:root {
  --wald-950: #101b14;
  --wald-900: #16241b;
  --wald-800: #1e3226;
  --wald-700: #2a4634;
  --wald-600: #3a6247;
  --wald-500: #4c7d5b;
  --blatt-400: #8fbf4d;
  --sonne-400: #f0b62f;
  --sonne-300: #f5c95e;
  --orange-500: #e0762a;
  --orange-400: #e8893f;
  --creme-50: #fdfbf6;
  --creme-100: #f8f3e9;
  --creme-200: #efe7d7;
  --ink-900: #24211b;
  --ink-600: #5c564a;

  --text-hi: #ffffff;
  --text-mid: rgb(255 255 255 / .84);
  --text-low: rgb(255 255 255 / .68);
  --line: rgb(255 255 255 / .14);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --radius: 14px;
  --maxw: 1240px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--wald-900);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-hi);
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: inherit; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }

strong { color: var(--text-hi); font-weight: 800; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 860px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Skip-Link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--sonne-400); color: var(--ink-900); padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 800; }
.skip-link:focus { left: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, transform .3s ease;
}
.nav.solid { background: rgb(16 27 20 / .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.6rem; height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; letter-spacing: .01em; color: #fff; min-width: 0; }
.nav-logo img { width: 58px; height: auto; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .4)); }
/* translate: optischer Schwerpunkt der Illustration (Figuren) liegt unterhalb der Bildmitte */
.nav-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; translate: 0 2px; }
.nav-logo b { font-weight: inherit; }
.brand-short { display: none; }
@media (max-width: 700px) {
  .brand-word { display: none; }
  .brand-short { display: inline; }
}
@media (max-width: 379px) {
  .brand-ort { display: none; }
}

.nav-links { display: flex; gap: 1.35rem; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .97rem; color: rgb(255 255 255 / .86); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sonne-300); }
.nav-links .btn { padding: .55rem 1.25rem; font-size: .95rem; color: #fff; }
.nav-links .btn:hover { color: #fff; }

/* Dropdowns (Desktop) */
.nav-item { position: relative; display: flex; align-items: center; gap: .1rem; height: var(--nav-h); }
.nav-item.is-active > a { color: var(--sonne-300); }
.sub-toggle { display: flex; align-items: center; background: none; border: 0; padding: .3rem .2rem; cursor: pointer; color: rgb(255 255 255 / .86); }
.sub-toggle:hover { color: var(--sonne-300); }
.sub-toggle svg { transition: transform .18s ease; }
.nav-item.open .sub-toggle svg { transform: rotate(180deg); }

.sub-menu {
  position: absolute; top: 100%; left: -.75rem; min-width: 230px;
  display: flex; flex-direction: column; padding: .5rem;
  background: var(--wald-950); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px rgb(0 0 0 / .45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
  html:not(.js) .nav-item:hover .sub-menu { opacity: 1; visibility: visible; transform: none; } /* No-JS-Fallback */
}
.nav-links .sub-menu a { padding: .55rem .8rem; border-radius: 8px; font-size: .95rem; }
.nav-links .sub-menu a:hover { background: rgb(255 255 255 / .06); }

@media (prefers-reduced-motion: reduce) {
  .sub-menu, .sub-toggle svg { transition: none; }
}

.nav-links a:focus-visible, .sub-toggle:focus-visible, .nav-toggle:focus-visible, .nav-logo:focus-visible {
  outline: 2.5px solid var(--sonne-400); outline-offset: 3px; border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 2px; margin: 5.5px 0; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  /* Header nur einblenden, wenn nach oben gescrollt wird (Platz sparen) */
  .nav.nav-hidden { transform: translateY(-100%); }
  .nav.open.nav-hidden { transform: none; } /* geöffnetes Menü nie verstecken */
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wald-950);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: 0 24px 40px rgb(0 0 0 / .4);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--wald-950); }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav-item { display: block; height: auto; position: static; }
  .nav-item > a { display: block; }
  .sub-toggle { display: none; }
  .sub-menu {
    position: static; min-width: 0; padding: 0 0 0 1.1rem;
    background: none; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .sub-menu .sub-home { display: none; }
  .nav-links .sub-menu a { padding: .85rem 0; border-radius: 0; font-size: 1rem; }
  .nav-links .sub-menu a:hover { background: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; padding: .85rem 1.7rem; border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-400); box-shadow: 0 8px 24px rgb(224 118 42 / .32); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgb(255 255 255 / .55); background: transparent; color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .07); transform: translateY(-2px); }

/* Sendezustand: der Submit-Guard in main.js haelt das Absenden kurz zurueck
   (Zeitfallen des Spamschutzes). Ohne Rueckmeldung wirkt das wie ein Haenger. */
.btn[data-busy] { cursor: progress; opacity: .75; transform: none; }
.btn[data-busy]:hover { transform: none; box-shadow: none; background: var(--orange-500); }
.btn-spinner {
  width: 1em; height: 1em; flex: none; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: none; border-top-color: rgb(255 255 255 / .35); }
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(22 36 27 / .38) 0%, rgb(22 36 27 / 0) 35%, rgb(22 36 27 / .82) 88%, var(--wald-900) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 0 clamp(3rem, 8vh, 5.5rem); max-width: 740px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; }
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgb(255 255 255 / .92); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem)); padding-bottom: clamp(2rem, 5vh, 3.5rem); overflow: hidden; }
.page-head.with-img { min-height: 62dvh; display: grid; align-items: end; padding-top: calc(var(--nav-h) + clamp(2rem, 5vh, 3rem)); }
.page-head.with-img .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.with-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(22 36 27 / .45) 0%, rgb(22 36 27 / .15) 45%, rgb(22 36 27 / .88) 90%, var(--wald-900) 100%); }
.page-head .wrap, .page-head .wrap-narrow { position: relative; z-index: 2; }
/* Hero-Text auf dieselbe Achse wie der Fliesstext darunter (.wrap-narrow).
   Ohne max-width waere der Wrap als Grid-Item shrink-to-fit und die Achse
   haenge an der Textlaenge -> jede Seite startet woanders. */
.page-head.with-img .wrap { max-width: 860px; width: 100%; }
.page-head p.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--text-mid); max-width: 42rem; }

/* ---------- Doppelüberschrift: kleine SEO-H1 (Kicker) + große Display-Zeile ----------
   Muss nach den .hero-/.page-head-Regeln stehen: gleiche Spezifität wie
   .hero h1/.hero p, gewinnt über die Quelltext-Reihenfolge. */
h1.kicker {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blatt-400);
  margin: 0 0 .6rem;
  text-wrap: balance;
}
p.display-h1 {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 .5em;
  max-width: none;
}
.hero p.display-h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; }
.hero h1.kicker, .page-head.with-img h1.kicker { text-shadow: 0 1px 3px rgb(0 0 0 / .55), 0 2px 14px rgb(0 0 0 / .35); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3.5rem, 8vh, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 6vh, 4rem); }
.section h2 { max-width: 24ch; }
.section .lead { font-size: 1.15rem; color: var(--text-mid); max-width: 46rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split img { object-fit: cover; width: 100%; } /* Form: siehe Block "Organische Blob-Form" am Dateiende */
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } }

.facts { border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 2.2rem; }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--sonne-300); }
.fact span { font-size: .95rem; color: var(--text-low); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.cards-3 img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1.1rem; width: 100%; height: auto; }
.cards-3 h3 { color: var(--sonne-300); }
.cards-3 p { color: var(--text-low); font-size: 1rem; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } .cards-3 img { aspect-ratio: 16 / 8; } }

.link-inline { color: var(--sonne-300); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgb(240 182 47 / .4); }
.link-inline:hover { border-color: var(--sonne-300); }

/* Bild-Band (full-bleed) */
.band { position: relative; }
.band img, .band video { width: 100%; height: clamp(320px, 55vh, 560px); object-fit: cover; display: block; }
.band-parallax { overflow: hidden; height: clamp(320px, 55vh, 560px); }
.band-parallax img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Foto-Mosaik (Einblicke + Alltags-Collagen) — Fotoabzüge an der Pinnwand:
   Papierrahmen + leichte, pro Kachel wechselnde Neigung (rotate/scale als
   eigenständige Properties, damit der translateY-transform von .reveal
   unangetastet bleibt). Hover richtet das Foto gerade und hebt es an. */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 205px);
  grid-auto-flow: dense;
  gap: clamp(.8rem, 1.5vw, 1.3rem);
}
.mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  border: 6px solid #f6f1e6;
  border-radius: 3px;
  box-shadow: 0 14px 34px rgb(0 0 0 / .4);
  rotate: var(--tilt, 0deg);
  transition: rotate .35s cubic-bezier(.16,1,.3,1), scale .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.mosaic img:nth-child(5n+1) { --tilt: -1.3deg; }
.mosaic img:nth-child(5n+2) { --tilt: 1.1deg; }
.mosaic img:nth-child(5n+3) { --tilt: -.7deg; }
.mosaic img:nth-child(5n+4) { --tilt: 1.5deg; }
.mosaic img:nth-child(5n+5) { --tilt: -1deg; }
/* Große Kacheln: langer Hebel, halbe Neigung reicht */
.mosaic .m-wide, .mosaic .m-big { rotate: calc(var(--tilt, 0deg) / 2); }
.mosaic img:hover { rotate: 0deg; scale: 1.035; z-index: 2; box-shadow: 0 20px 48px rgb(0 0 0 / .55); }
@media (prefers-reduced-motion: reduce) {
  .mosaic img { transition: box-shadow .35s; }
  .mosaic img:hover { scale: none; rotate: var(--tilt, 0deg); }
  .mosaic .m-wide:hover, .mosaic .m-big:hover { rotate: calc(var(--tilt, 0deg) / 2); }
}
/* Grid-Item ist das <picture>, die Span-Klasse sitzt aber am <img> darin
   (waki_img reicht class an das <img> durch). Darum die Spans zusaetzlich
   ueber :has() auf den Wrapper heben, sonst bleiben m-wide/m-big wirkungslos.
   Der Platzhalter ist ein <div> und traegt die Klasse selbst. */
.m-wide { grid-column: span 2; }
.m-tall { grid-row: span 2; }
.m-big  { grid-column: span 2; grid-row: span 2; }
.mosaic picture:has(> .m-wide) { grid-column: span 2; }
.mosaic picture:has(> .m-tall) { grid-row: span 2; }
.mosaic picture:has(> .m-big)  { grid-column: span 2; grid-row: span 2; }
.mosaic picture { display: block; }
.mosaic picture > img { width: 100%; height: 100%; }
/* Kompaktere Reihen für Collage-Bänder auf Inhaltsseiten */
.mosaic-compact { grid-auto-rows: clamp(110px, 13vw, 175px); }
/* Kacheln blenden leicht versetzt ein (--d setzt die Seite inline pro Kachel) */
.mosaic .reveal { transition-delay: calc(var(--d, 0) * 60ms); }
@media (max-width: 1020px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(105px, 24vw, 150px); }
}

/* Zitat/Betonung */
.callout { border-left: 4px solid var(--sonne-400); background: rgb(255 255 255 / .05); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.6rem; margin-block: 1.6rem; }
.callout p:last-child { margin-bottom: 0; }

/* Timeline (Ein Tag im Wald) */
.tl { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 130px minmax(0, 4fr) minmax(0, 7fr); gap: 1.4rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl-row b { font-family: var(--font-display); font-size: 1.3rem; color: var(--sonne-300); font-weight: 700; }
.tl-row h3 { margin: 0; }
.tl-row p { margin: 0; color: var(--text-low); }
@media (max-width: 760px) { .tl-row { grid-template-columns: 90px 1fr; } .tl-row p { grid-column: 2; } }

/* FAQ */
.faq-tools { display: grid; gap: 1rem; margin-bottom: 2.2rem; }
.faq-search {
  width: 100%; padding: .8rem 1rem .8rem 2.8rem; border-radius: 10px;
  border: 1.5px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .06);
  color: #fff; font: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' fill='none' stroke='%23f5c95e' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='M11.5 11.5 16 16'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 1rem center;
}
.faq-search::placeholder { color: rgb(255 255 255 / .45); }
.faq-search:focus { outline: 2.5px solid var(--sonne-400); outline-offset: 1px; border-color: transparent; }
.faq-search::-webkit-search-cancel-button { cursor: pointer; }
.faq-group-title { font-size: 1.35rem; color: var(--sonne-300); margin: 2.6rem 0 .4rem; }
.faq-group:first-of-type .faq-group-title { margin-top: 0; }
.faq-empty { color: var(--text-mid); padding-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text-hi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--sonne-300); flex: 0 0 auto; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 1.3rem; color: var(--text-mid); max-width: 60rem; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .92rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.team-card { background: rgb(255 255 255 / .05); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.team-card h3 { color: var(--sonne-300); margin-bottom: .6em; }
.team-card h3:has(+ .role) { margin-bottom: .2em; }
.team-card .role { color: var(--text-low); font-size: .95rem; margin-bottom: .8em; }
.team-card p { margin-bottom: 0; color: var(--text-mid); }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* Preis-/Kategorienkarten */
.tarif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tarif { background: rgb(255 255 255 / .05); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.tarif.highlight { border-color: rgb(240 182 47 / .55); background: rgb(240 182 47 / .07); }
.tarif h3 { margin-bottom: .1em; }
.tarif .zeit { color: var(--text-low); font-size: .95rem; }
.tarif .preis { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--sonne-300); margin-block: .5rem .2rem; }
.tarif .per { color: var(--text-low); font-size: .9rem; }
@media (max-width: 860px) { .tarif-grid { grid-template-columns: 1fr; } }

/* Kleine Zuschuss-Rechnung in der Tarifkarte */
.tarif .preis-rechnung { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-block: .5rem .2rem; }
.tarif .preis-voll { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-low); text-decoration: line-through; text-decoration-color: rgb(224 118 42 / .8); text-decoration-thickness: 2px; }
.tarif .preis-endbetrag { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--sonne-300); line-height: 1; }

/* Freistaat-Zuschuss Erklärblock */
.zuschuss-hero { margin-block: 1.8rem 2.4rem; padding: 1.8rem 2rem; border-radius: var(--radius); border: 1px solid rgb(143 191 77 / .35); background: linear-gradient(135deg, rgb(76 125 91 / .18), rgb(143 191 77 / .08)); }
.zuschuss-hero .zuschuss-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blatt-400); margin-bottom: .9rem; }
.zuschuss-hero .zuschuss-badge svg { width: 1.05rem; height: 1.05rem; fill: currentColor; flex-shrink: 0; }
.zuschuss-hero h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 1.3rem; max-width: 52ch; text-wrap: pretty; }
.zuschuss-rechnung { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.zr-block { display: flex; flex-direction: column; gap: .15rem; padding: .7rem 1.1rem; border-radius: 10px; background: rgb(255 255 255 / .04); min-width: 8.5rem; }
.zr-block .zr-zahl { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; line-height: 1; }
.zr-block .zr-label { font-size: .8rem; color: var(--text-low); }
.zr-block.zr-voll .zr-zahl { color: var(--text-mid); }
.zr-block.zr-zuschuss { background: rgb(143 191 77 / .12); border: 1px solid rgb(143 191 77 / .3); }
.zr-block.zr-zuschuss .zr-zahl { color: var(--blatt-400); }
.zr-block.zr-anteil { background: rgb(240 182 47 / .12); border: 1px solid rgb(240 182 47 / .4); }
.zr-block.zr-anteil .zr-zahl { color: var(--sonne-300); }
.zr-op { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text-low); padding-inline: .1rem; }
.zuschuss-hero .zuschuss-fuss { margin: 1.1rem 0 0; font-size: .9rem; color: var(--text-low); max-width: 62ch; }
@media (min-width: 900px) {
  .zuschuss-hero { display: grid; grid-template-columns: 1fr 23rem; grid-template-rows: auto auto auto; align-content: center; column-gap: 3.5rem; align-items: start; padding: 2rem 2.4rem; }
  .zuschuss-hero .zuschuss-badge, .zuschuss-hero h3, .zuschuss-hero .zuschuss-fuss { grid-column: 1; }
  .zuschuss-hero h3 { margin-bottom: .9rem; }
  .zuschuss-rechnung { grid-column: 2; grid-row: 1 / span 3; align-self: center; flex-direction: column; align-items: stretch; gap: .4rem; }
  .zuschuss-rechnung .zr-block { flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.2rem; }
  .zuschuss-rechnung .zr-block .zr-label { order: -1; font-size: .85rem; }
  .zuschuss-rechnung .zr-op { text-align: center; line-height: 1; padding-inline: 0; }
}
@media (max-width: 620px) {
  .zuschuss-rechnung { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .5rem .8rem; }
  .zr-op { text-align: center; }
  .zr-block { min-width: 0; }
}

/* Formulare */
.form { display: grid; gap: 1.15rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.5rem; margin: 0; display: grid; gap: 1.1rem; }
.form legend { font-family: var(--font-display); font-weight: 600; color: var(--sonne-300); padding-inline: .4rem; font-size: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; color: var(--text-hi); }
.field .hint, .form > .hint { font-size: .85rem; color: var(--text-low); }
.form > .hint { margin: .5rem 0 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1.5px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .06);
  color: #fff; font: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: rgb(255 255 255 / .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2.5px solid var(--sonne-400); outline-offset: 1px; border-color: transparent; }
.field input[data-mail-falsch], .field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: rgb(230 110 90 / .8); background: rgb(200 60 40 / .1); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23f5c95e' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field select option { color: var(--ink-900); background: #fff; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--text-mid); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--orange-500); flex: 0 0 auto; }
.form-error { background: rgb(200 60 40 / .18); border: 1.5px solid rgb(230 110 90 / .6); color: #ffd9d0; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; }
.form-ok { background: rgb(143 191 77 / .14); border: 1.5px solid rgb(143 191 77 / .5); color: #e2f3c8; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; }
/* Ferienhinweis (lib/ferien.php): kleine, ruhige Zeile unter dem Absenden-Button
   und in den Danke-Meldungen. Bewusst kein Callout — der Hinweis soll begleiten,
   nicht vom Formular ablenken. */
.form-ferien { font-size: .9rem; color: var(--text-low); margin-top: 1rem; padding-left: .9rem; border-left: 3px solid var(--sonne-400); }
.form-ok .form-ferien { color: inherit; opacity: .85; margin-top: .7rem; margin-bottom: 0; border-left-color: currentColor; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.addr-toggle { display: grid; gap: 1.1rem; }
.addr-toggle .check:has(input:checked) ~ .addr-field { display: none; }

/* Termine */
.termine-list { display: grid; gap: .9rem; min-height: 4rem; }
.termin { display: grid; grid-template-columns: 175px 1fr; gap: 1.2rem; align-items: baseline; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem; }
.termin b { font-family: var(--font-display); color: var(--sonne-300); font-size: 1.05rem; }
.termin span { color: var(--text-mid); }
@media (max-width: 560px) { .termin { grid-template-columns: 1fr; gap: .2rem; } }

/* Downloads */
.dl-list { display: grid; gap: .9rem; max-width: 720px; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.3rem; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.dl:hover { border-color: rgb(240 182 47 / .6); background: rgb(255 255 255 / .04); }
.dl b { font-family: var(--font-display); color: var(--text-hi); font-weight: 600; }
.dl small { display: block; color: var(--text-low); }
.dl .tag { flex: 0 0 auto; font-size: .85rem; font-weight: 800; color: var(--sonne-300); }

/* CTA-Band */
.cta-band { background: linear-gradient(160deg, var(--wald-800), var(--wald-700)); border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 8vh, 6rem); text-align: center; }
.cta-band h2 { margin-inline: auto; }
.cta-band p { max-width: 44rem; margin-inline: auto; }
.cta-band .tel { margin-top: 1.4rem; font-size: .98rem; color: var(--text-low); }
.cta-band .tel a { color: var(--sonne-300); font-weight: 700; text-decoration: none; }

/* Zitat-Band */
.zitat-band { background: linear-gradient(160deg, var(--wald-800), var(--wald-700)); border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 8vh, 6rem); text-align: center; }
.zitat-band.zitat-band-deep { background: var(--wald-900); }
.zitat-band blockquote { max-width: 46rem; margin-inline: auto; }
.zitat-band blockquote::before { content: '\201E'; display: block; font-family: var(--font-display); font-size: 4.5rem; line-height: .3; color: var(--sonne-400); margin-bottom: 1.4rem; }
.zitat-band blockquote p { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem); font-weight: 600; line-height: 1.4; color: var(--text-hi); text-wrap: balance; }
.zitat-band cite { display: block; margin-top: 1.3rem; font-style: normal; font-size: .95rem; color: var(--text-low); }

/* ---------- Footer ---------- */
footer { background: var(--wald-950); padding-block: 3rem 2rem; font-size: .95rem; color: var(--text-low); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-grid h4 { font-size: 1rem; color: var(--text-hi); margin-bottom: .7em; }
.footer-grid a { color: var(--text-low); text-decoration: none; }
.footer-grid a:hover { color: var(--sonne-300); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-logo { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-logo img { width: 64px; }
.footer-logo b { font-family: var(--font-display); color: var(--text-hi); font-size: 1.1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 1.4rem; font-size: .88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Karten-Dialog (Anfahrtsskizze) ---------- */
.karte-dialog { border: 0; border-radius: var(--radius); padding: 0; background: #d3f8e2; width: min(96vw, 88vh); max-width: none; box-shadow: 0 32px 80px rgb(0 0 0 / .6); }
.karte-dialog::backdrop { background: rgb(8 14 10 / .78); backdrop-filter: blur(4px); }
.karte-viewport { overflow: auto; overscroll-behavior: contain; max-height: 88vh; border-radius: var(--radius); cursor: zoom-in; scrollbar-width: thin; }
.karte-viewport.zoomed { cursor: grab; }
.karte-viewport.dragging { cursor: grabbing; }
.karte-dialog img { display: block; width: 100%; max-width: none; height: auto; user-select: none; -webkit-user-drag: none; }
.karte-tools { position: absolute; top: .7rem; right: .7rem; display: flex; gap: .5rem; z-index: 2; }
.karte-tools button { width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--wald-800); color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .18s ease, transform .18s ease; }
.karte-tools button:hover { background: var(--wald-700); transform: scale(1.08); }

/* ---------- Video-Lightbox ---------- */
.btn-play { display: inline-flex; align-items: center; gap: .55rem; }
.btn-play svg { flex: none; }

.video-dialog { border: 0; padding: 0; background: transparent; width: min(94vw, 158vh); max-width: none; border-radius: var(--radius); overflow: visible; }
.video-dialog::backdrop { background: rgb(8 14 10 / .82); backdrop-filter: blur(4px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 32px 80px rgb(0 0 0 / .6); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { object-fit: contain; }
.video-close { position: absolute; top: -.6rem; right: -.6rem; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: var(--wald-800); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 4px 16px rgb(0 0 0 / .4); transition: background .18s ease, transform .18s ease; }
.video-close:hover { background: var(--wald-700); transform: scale(1.08); }
/* "Noch mehr Videos"-Link: liegt im unteren Letterbox-Streifen des Videos und
   fadet dort nach 2 min Abspielzeit langsam ein (nur bei Buttons mit data-video-more) */
.video-more { display: none; position: absolute; bottom: 1.1rem; left: 0; right: 0; margin-inline: auto; width: fit-content; z-index: 2; visibility: hidden; opacity: 0; transition: opacity 10s ease; }
.video-dialog.has-more .video-more { display: inline-flex; }
.video-more.show { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .video-more { transition: none; } }
@media (max-width: 560px) {
  .video-close { top: .5rem; right: .5rem; }
}

/* ---------- Rückruf-Popup ---------- */
.rueckruf-dialog { border: 0; border-radius: var(--radius); background: var(--wald-800); color: var(--text-mid); padding: 1.8rem 1.9rem; width: min(92vw, 34rem); max-height: 90dvh; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; box-shadow: 0 32px 80px rgb(0 0 0 / .6); }
.rueckruf-dialog::backdrop { background: rgb(8 14 10 / .78); backdrop-filter: blur(4px); }
.rueckruf-dialog .video-close { top: .8rem; right: .8rem; width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
.rueckruf-titel { font-size: 1.45rem; margin: 0 2.4rem .45rem 0; }
.rueckruf-intro { margin-bottom: 1.3rem; }
.rueckruf-dialog .form { gap: 1rem; }
@media (max-width: 560px) { .rueckruf-dialog { padding: 1.4rem 1.2rem; } }

/* ---------- Videos-Seite: Featured-Film + Archiv-Karten ---------- */
.film-poster {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: none; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 40px rgb(0 0 0 / .4);
}
.film-poster img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.film-poster .film-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgb(16 27 20 / .18); transition: background .25s ease;
}
.film-poster .film-play svg {
  width: clamp(3.2rem, 6vw, 4.4rem); height: auto; color: #fff;
  filter: drop-shadow(0 6px 20px rgb(0 0 0 / .55));
  transition: transform .25s ease;
}
.film-poster:hover img, .film-poster:focus-visible img { transform: scale(1.04); }
.film-poster:hover .film-play, .film-poster:focus-visible .film-play { background: rgb(16 27 20 / .05); }
.film-poster:hover .film-play svg { transform: scale(1.1); }
.film-poster:focus-visible { outline: 2.5px solid var(--sonne-400); outline-offset: 3px; }
.film-poster .film-dauer {
  position: absolute; right: .7rem; bottom: .7rem; padding: .15rem .6rem;
  font-size: .85rem; font-weight: 700; color: #fff;
  background: rgb(16 27 20 / .72); border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) {
  .film-poster img, .film-poster .film-play, .film-poster .film-play svg { transition: none; }
  .film-poster:hover img { transform: none; }
}

.film-feature { margin-top: 2.2rem; }
.film-feature .film-poster { box-shadow: 0 28px 70px rgb(0 0 0 / .5); }

.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
.film-grid .reveal { transition-delay: calc(var(--d, 0) * 60ms); }
.film-grid h3 { margin: .9rem 0 .15rem; font-size: 1.12rem; }
.film-grid .film-jahr { color: var(--text-low); font-size: .95rem; margin: 0; }
@media (max-width: 1020px) { .film-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .film-grid { grid-template-columns: 1fr; } }

/* ---------- Sonstiges ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }

/* ---------- Termine-Bearbeitungsmodus (Vorstand) ---------- */
.no-select { user-select: none; -webkit-user-select: none; }
/* Mehrfach-Tipp auf die Seiten-Überschrift (Termine-Editiermodus): verhindert,
   dass Mobile-Browser den zweiten Tipp als Double-Tap-Zoom abfangen. */
.page-head h1 { touch-action: manipulation; }

.pin-dialog { border: 0; border-radius: var(--radius); background: var(--wald-800); color: var(--text-mid); padding: 1.6rem 1.7rem; width: min(92vw, 22rem); box-shadow: 0 32px 80px rgb(0 0 0 / .6); }
.pin-dialog::backdrop { background: rgb(8 14 10 / .78); backdrop-filter: blur(4px); }
.pin-form { display: grid; gap: .8rem; }
.pin-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--sonne-300); margin: 0; }
.pin-form label { font-weight: 700; font-size: .95rem; color: var(--text-hi); }
.pin-form input { width: 100%; font: inherit; font-size: 1.3rem; letter-spacing: .3em; text-align: center; color: var(--text-hi); background: rgb(255 255 255 / .06); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.pin-form input:focus { outline: 2.5px solid var(--sonne-400); outline-offset: 1px; border-color: transparent; }
.pin-error { background: rgb(200 60 40 / .18); border: 1.5px solid rgb(230 110 90 / .6); color: #ffd9d0; border-radius: 10px; padding: .6rem .9rem; margin: 0; font-size: .92rem; }
.pin-actions { display: flex; gap: .7rem; justify-content: flex-end; margin-top: .3rem; }

.edit-banner { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 1.4rem; background: var(--orange-500); color: #fff; padding: .7rem clamp(1rem, 4vw, 2rem); padding-top: max(.7rem, env(safe-area-inset-top)); font-family: var(--font-display); font-weight: 600; }
.edit-banner .btn { min-height: 40px; padding: .4rem 1.2rem; border-color: rgb(255 255 255 / .7); }

#termine-edit .termin { grid-template-columns: 175px 1fr auto; align-items: center; }
@media (max-width: 700px) { #termine-edit .termin { grid-template-columns: 1fr; gap: .45rem; } }
.termin-past { opacity: .45; }
.termin-actions { display: flex; gap: .5rem; justify-self: end; }
.termin-actions .btn { min-height: 34px; padding: .3rem .95rem; font-size: .85rem; }
@media (max-width: 700px) { .termin-actions { justify-self: start; margin-top: .3rem; } }
.termin-form-actions { align-self: end; display: flex; gap: .7rem; flex-wrap: wrap; }
.termin-edit-form { display: block; }

/* ---- Vorstand-Seite (/vorstand/) ---- */
.vs-card { max-width: 22rem; background: var(--wald-800); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.vs-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.vs-tab { font: inherit; font-weight: 700; color: var(--text-mid); background: none; border: 0; border-bottom: 3px solid transparent; padding: .7rem 1rem; cursor: pointer; text-decoration: none; }
.vs-tab[aria-selected="true"] { color: var(--sonne-300); border-bottom-color: var(--sonne-400); }
.vs-tab:hover { color: var(--text-hi); }
.vs-logout { margin-left: auto; }
.vs-stand { color: var(--text-low); font-size: .95rem; }
.vs-hint { color: var(--text-low); font-size: .9rem; margin-top: 1.4rem; }
.vs-jahr { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; margin: 0 0 1.1rem; }
.vs-jahr legend { font-weight: 700; color: var(--text-hi); padding: 0 .4rem; }
.callout-stand { font-size: .85rem; color: var(--text-low); margin-top: .6rem; }

/* --- Tag des offenen Waldes (nur sichtbar, solange ein Termin gepflegt ist) --- */
.waldtag-banner { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgb(240 182 47 / .13), rgb(240 182 47 / .04)); }
.waldtag-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding-block: 1.9rem; flex-wrap: wrap; }
.waldtag-banner-kicker { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--sonne-400); margin: 0 0 .3rem; }
.waldtag-banner-titel { font-family: var(--font-display, inherit); font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; color: var(--text-hi); margin: 0 0 .5rem; }
.waldtag-banner-text { color: var(--text-low); margin: 0; max-width: 46rem; }
.waldtag-banner .btn { flex: none; }
@media (max-width: 700px) { .waldtag-banner-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; } }

.callout-waldtag { border-left-color: var(--sonne-400); background: rgb(240 182 47 / .09); }
.callout-sommerpause { border-left-color: var(--sonne-400); background: rgb(240 182 47 / .12); }
.callout-waldtag .btn { margin-top: .4rem; }

.waldtag-dialog-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--sonne-400); margin: 0 2.4rem .35rem 0; }
.waldtag-dialog-aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.vs-waldtag-row { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 620px) { .vs-waldtag-row { grid-template-columns: 1fr; } }
/* Haupt-Button im Menü: bei wenig Platz die Kurzfassung (siehe $nav_cta in header.php) */
.cta-kurz { display: none; }
@media (max-width: 1180px) and (min-width: 1001px) {
  .cta-lang { display: none; }
  .cta-kurz { display: inline; }
}
/* Waldtag-Hinweis direkt unter dem Seitenkopf (z. B. /anmeldung/): eigener,
   knapper Abstand statt voller Section-Polsterung, sonst klafft eine Lücke. */
.waldtag-oben { padding-block: 0 .6rem; }
.waldtag-oben .callout { margin-top: 0; }

/* Termin-Störer (Startseite): gelbe Ticket-Karte im Hero (Kalenderblatt + Text), schiebt
   sich kurz nach dem Laden ein, ein Tipp schließt sie. Oben rechts unter der Nav in der
   freien Hero-Fläche (mobil volle Breite). Nav hat z-index 50. */
.stoerer { position: absolute; z-index: 40; right: clamp(1.25rem, 4vw, 2.5rem); top: calc(var(--nav-h) + 1.2rem); width: min(19.5rem, calc(100% - 2 * clamp(1.25rem, 4vw, 2.5rem))); display: flex; align-items: stretch; gap: .75rem; padding: .6rem .7rem .6rem .6rem; border-radius: 12px; background: var(--sonne-400); color: var(--ink-900); box-shadow: 0 18px 44px rgb(0 0 0 / .45); cursor: pointer; rotate: -1.5deg; transform: translateX(120%); opacity: 0; transition: transform .6s cubic-bezier(.22, 1.2, .36, 1), opacity .35s ease; -webkit-tap-highlight-color: transparent; }
.stoerer[hidden] { display: none; }
.stoerer.is-in { transform: none; opacity: 1; }
.stoerer.is-out { transform: translateX(120%); opacity: 0; transition-timing-function: ease-in; transition-duration: .3s; }
.stoerer p { margin: 0; color: inherit; max-width: none; } /* sonst gewinnt .hero p (weiß, große Schrift) */
.stoerer-datum { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.4rem; padding: .4rem .3rem; border-radius: 8px; background: var(--wald-800); color: #fff; line-height: 1; }
.stoerer-tag { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; }
.stoerer-monat { font-weight: 800; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; color: var(--sonne-300); }
.stoerer-wt { font-size: .62rem; margin-top: .2rem; opacity: .75; }
.stoerer-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-right: .9rem; }
.stoerer .stoerer-wann { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wald-700); }
.stoerer .stoerer-titel { font-family: var(--font-display); font-weight: 800; font-size: .98rem; line-height: 1.15; margin-top: .1rem !important; text-wrap: balance; overflow-wrap: anywhere; }
.stoerer .stoerer-info { font-size: .76rem; line-height: 1.3; margin-top: .2rem !important; opacity: .85; }
.stoerer-link { display: inline-block; width: fit-content; margin-top: .35rem; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-900); text-decoration: underline; text-underline-offset: 2px; }
.stoerer-close { position: absolute; top: -.55rem; right: -.55rem; width: 1.7rem; height: 1.7rem; border: 0; border-radius: 50%; background: var(--wald-800); color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgb(0 0 0 / .4); }
.stoerer:hover { box-shadow: 0 22px 52px rgb(0 0 0 / .5); }
@media (max-width: 560px) { .stoerer { width: min(17.5rem, calc(100% - 2.5rem)); } }
@media (prefers-reduced-motion: reduce) { .stoerer { transition: opacity .2s ease; transform: none; } .stoerer.is-out { transform: none; } }

/* ============================================================
   Organische Blob-Form für Split-Bilder.
   Maske am <img> (bei .flip gespiegelt), Schatten als drop-shadow am
   <picture>, damit er der Silhouette folgt (box-shadow wuerde mitmaskiert).
   Akzente als Pseudo-Elemente: drei Striche + Pfeil bei normalen Splits,
   zwei Zweige bei .flip. Bild fest auf 4:3, damit die Form nicht verzerrt.
   ============================================================ */
.split picture { position: relative; display: block; filter: drop-shadow(0 22px 28px rgb(0 0 0 / .5)); }
.split img {
  border-radius: 0; box-shadow: none; max-height: none; height: auto; aspect-ratio: 4 / 3 !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath d='M.36.05C.55-.03.78.01.9.13 1.02.26.98.44.93.57.88.7.97.85.85.94.7 1.03.5.99.32.96.15.93.02.83.01.66 0 .5.05.38.11.27.17.16.24.1.36.05Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath d='M.36.05C.55-.03.78.01.9.13 1.02.26.98.44.93.57.88.7.97.85.85.94.7 1.03.5.99.32.96.15.93.02.83.01.66 0 .5.05.38.11.27.17.16.24.1.36.05Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.split.flip img {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath d='M.64.05C.45-.03.22.01.1.13-.02.26.02.44.07.57.12.7.03.85.15.94.3 1.03.5.99.68.96.85.93.98.83.99.66 1 .5.95.38.89.27.83.16.76.1.64.05Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath d='M.64.05C.45-.03.22.01.1.13-.02.26.02.44.07.57.12.7.03.85.15.94.3 1.03.5.99.68.96.85.93.98.83.99.66 1 .5.95.38.89.27.83.16.76.1.64.05Z'/%3E%3C/svg%3E");
}
/* Akzente: normal = drei Striche oben rechts + Pfeil unten links, flip = zwei Zweige */
.split picture::before,
.split picture::after {
  content: ""; position: absolute; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
}
.split:not(.flip) picture::before {
  width: 3.4rem; height: 3.4rem; top: -.4rem; right: -1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%238fbf4d' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M10 30 20 15'/%3E%3Cpath d='M22 34 34 22'/%3E%3Cpath d='M6 20 12 8'/%3E%3C/svg%3E");
}
.split:not(.flip) picture::after {
  width: 2.2rem; height: 2.2rem; bottom: 1.2rem; left: -.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fbf4d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c3-1 7-1 11-6'/%3E%3Cpath d='M12 8c2 1 4 3 4 5-2 1-4 2-6 2'/%3E%3C/svg%3E");
}
.split.flip picture::before,
.split.flip picture::after {
  width: 5.2rem; height: 7.8rem; opacity: .75;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 90' fill='%238fbf4d'%3E%3Cpath d='M30 88C30 60 32 30 44 4' fill='none' stroke='%238fbf4d' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='18' cy='70' rx='11' ry='5.5' transform='rotate(-38 18 70)'/%3E%3Cellipse cx='43' cy='60' rx='11' ry='5.5' transform='rotate(-62 43 60)'/%3E%3Cellipse cx='20' cy='46' rx='10' ry='5' transform='rotate(-42 20 46)'/%3E%3Cellipse cx='47' cy='36' rx='10' ry='5' transform='rotate(-70 47 36)'/%3E%3Cellipse cx='28' cy='24' rx='9' ry='4.5' transform='rotate(-48 28 24)'/%3E%3Cellipse cx='50' cy='12' rx='8' ry='4' transform='rotate(-75 50 12)'/%3E%3C/svg%3E");
}
.split.flip picture::before { top: -1.8rem; right: -2.6rem; transform: rotate(18deg); }
.split.flip picture::after { bottom: -1.4rem; left: -2.4rem; transform: rotate(-150deg); }
@media (max-width: 860px) {
  .split.flip picture::before, .split.flip picture::after { width: 4rem; height: 6rem; }
  .split.flip picture::before { right: -.8rem; }
  .split.flip picture::after { left: -.6rem; }
  .split:not(.flip) picture::before { right: -.4rem; }
}

/* Termine: bald anstehende Termine als gelbe Ticket-Zeile (wie der Störer auf der Startseite) */
.termin-bald { grid-template-columns: 270px 1fr; background: var(--sonne-400); border-color: var(--sonne-400); color: var(--ink-900); box-shadow: 0 14px 36px rgb(0 0 0 / .35); align-items: center; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.termin-bald b { color: var(--ink-900); display: grid; gap: .3rem; padding-right: 1.2rem; border-right: 2px dashed rgb(36 33 27 / .35); line-height: 1.2; }
.termin-bald span { color: var(--ink-900); }
.termin-bald strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-900); }
.termin-wann { justify-self: start; padding: .2rem .6rem; border-radius: 999px; background: var(--wald-800); color: var(--sonne-300) !important; font-family: var(--font-body, inherit); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.termin-wann::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: var(--sonne-300); vertical-align: .05em; animation: termin-puls 1.8s ease-in-out infinite; }
@keyframes termin-puls { 50% { opacity: .25; } }
@media (max-width: 560px) { .termin-bald { grid-template-columns: 1fr; } .termin-bald b { border-right: 0; padding-right: 0; padding-bottom: .55rem; margin-bottom: .35rem; border-bottom: 2px dashed rgb(36 33 27 / .35); } }
@media (prefers-reduced-motion: reduce) { .termin-wann::before { animation: none; } }
.termin-bald-hinweis { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; padding: .45rem .9rem .45rem .45rem; border-radius: 999px; background: rgb(240 182 47 / .14); border: 1px solid rgb(240 182 47 / .45); color: var(--sonne-300); font-weight: 700; text-decoration: none; }
.termin-bald-hinweis span { padding: .15rem .55rem; border-radius: 999px; background: var(--sonne-400); color: var(--ink-900); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.termin-bald-hinweis:hover { background: rgb(240 182 47 / .24); }

/* ============================================================
   Waldrand über dem Footer. Drei nahtlos kachelbare SVG-Ebenen
   aus tools/waldrand.py: hinten wald-600 (dunstig hell), Mitte dunkel,
   vorne wald-950 = Footer. Der Streifen hat KEINEN eigenen Himmel: er wird um
   seine volle Hoehe in die letzte Sektion gezogen (die bekommt unten den Platz
   dazu), die Baeume stehen also immer auf dem Hintergrund der Sektion davor -
   egal ob CTA-Band oder Grundgruen. 2 px Ueberlappung in den Footer gegen
   Subpixel-Luecken. Feste Hoehe, kein Layout-Shift.
   ============================================================ */
:root { --waldrand-h: clamp(72px, 10vw, 170px); }
.waldrand {
  position: relative; z-index: 1;
  height: var(--waldrand-h);
  margin-top: calc(-1 * var(--waldrand-h));
  margin-bottom: -2px;
  pointer-events: none;
  background-image: url("/assets/img/waldrand-vorne.svg"), url("/assets/img/waldrand-mitte.svg"), url("/assets/img/waldrand-hinten.svg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0 bottom, 37% bottom, 71% bottom;
}
/* Platz fuer die Baeume in der letzten Sektion (section:last-of-type, damit ein
   nachfolgender <dialog> wie auf der Startseite nicht stoert) */
main > section.section:last-of-type { padding-bottom: calc(clamp(3.5rem, 8vh, 6rem) + var(--waldrand-h)); }
main > section.section-tight:last-of-type { padding-bottom: calc(clamp(2.5rem, 6vh, 4rem) + var(--waldrand-h)); }
main > section.cta-band:last-of-type { padding-bottom: calc(clamp(3.5rem, 8vh, 6rem) + var(--waldrand-h)); border-bottom: 0; }

/* ============================================================
   Hügelkante an Zitat- und Foto-Bändern. Form aus tools/waldrand.py (waldrand-huegel.svg),
   nur als Maske genutzt. Oberkante Zitat-Band: das Band wird um --huegel-h
   nach oben gezogen und zugeschnitten, die Kuppen wachsen samt Verlauf in die
   Sektion darueber. Unterkanten: ein ::after in Grundgruen (wald-900, die
   Farbe der Folgesektion) steht auf der Kante, beim Zitat-Band gespiegelt.
   Das tiefe Zitat-Band (/eingewoehnung/) hat Grundgruen, also keinen Farbwechsel.
   ============================================================ */
:root { --huegel-h: clamp(10px, 1.2vw, 18px); }
.zitat-band:not(.zitat-band-deep) {
  position: relative;
  margin-top: calc(-1 * var(--huegel-h));
  padding-block: calc(clamp(3.5rem, 8vh, 6rem) + var(--huegel-h));
  border-block: 0;
  -webkit-mask: url("/assets/img/waldrand-huegel.svg") 0 0 / 100% var(--huegel-h) no-repeat, linear-gradient(#000 0 0) 0 var(--huegel-h) / 100% 100% no-repeat;
          mask: url("/assets/img/waldrand-huegel.svg") 0 0 / 100% var(--huegel-h) no-repeat, linear-gradient(#000 0 0) 0 var(--huegel-h) / 100% 100% no-repeat;
}
.zitat-band:not(.zitat-band-deep)::after, .band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: var(--huegel-h); pointer-events: none;
  background: var(--wald-900);
  -webkit-mask: url("/assets/img/waldrand-huegel.svg") 0 100% / 100% 100% no-repeat;
          mask: url("/assets/img/waldrand-huegel.svg") 0 100% / 100% 100% no-repeat;
}
.zitat-band:not(.zitat-band-deep)::after { transform: scaleX(-1); }

/* Kalender-Abo (partials/kalender-abo.php, auf /termine/ und /eltern/) */
.kalender-abo { background: rgb(240 182 47 / .07); border: 1px solid rgb(240 182 47 / .45); border-radius: var(--radius); padding: 1.4rem 1.6rem .4rem; margin-block: 1.6rem; }
.kalender-abo h3 { color: var(--sonne-300); margin-bottom: .3em; }
.kalender-abo > p { color: var(--text-mid); margin-bottom: 0; }
.kalender-abo .faq-actions { margin-bottom: .6rem; }
.kalender-abo .faq-item { border-bottom: 0; }
.kalender-abo [data-kal][hidden] { display: none; }
.kalender-abo code { overflow-wrap: anywhere; }
.kalender-abo .kal-hinweis { font-size: .95rem; color: var(--text-mid); margin: 0 0 .6rem; }
.kalender-abo .faq-item summary { font-size: 1rem; padding-block: .8rem; }

/* Fuer-Eltern-Seite */
.eltern-sprung { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.eltern-sprung a { color: var(--text-hi); text-decoration: none; font-size: .92rem; font-weight: 600; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: rgb(0 0 0 / .25); }
.eltern-sprung a:hover { border-color: var(--sonne-300); color: var(--sonne-300); }
.eltern-klein { color: var(--text-low); font-size: .9rem; }
.eltern-intro { max-width: 52rem; }
.cards-3 ul { color: var(--text-low); font-size: 1rem; padding-left: 1.1rem; }
.cards-3 li + li { margin-top: .35rem; }
.packliste { list-style: none; padding-left: 0; }
.packliste li { position: relative; padding-left: 2rem; margin-bottom: .55rem; }
.packliste li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15rem; height: 1.15rem; border: 2px solid var(--sonne-400); border-radius: 4px; }

/* Kosten auf einen Blick (/anmeldung/) */
.kosten-blick { background: rgb(255 255 255 / .05); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 1.6rem; }
.kosten-blick h3 { color: var(--sonne-300); margin-bottom: .6em; }
.kosten-blick ul { list-style: none; padding: 0; margin: 0; }
.kosten-blick li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); column-gap: 1.2rem; padding-block: .7rem; border-top: 1px solid var(--line); }
.kosten-blick li span { color: var(--text-mid); }
.kosten-blick li b { color: var(--text-hi); }
.kosten-blick li em { grid-column: 2; font-style: normal; font-size: .9rem; color: var(--text-low); }
.kosten-blick > p { margin: .9rem 0 0; font-size: .95rem; color: var(--text-low); }
@media (max-width: 600px) { .kosten-blick li { grid-template-columns: 1fr; } .kosten-blick li em { grid-column: 1; } }
.termine-abo-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.2rem; }

/* Instagram: Footer-Link mit Icon, Hinweisbox auf /einblicke/ (nur verlinkt, kein Embed) */
.footer-grid a.footer-insta { display: inline-flex; align-items: center; gap: .6rem; margin-top: .3rem; padding: .55rem 1.15rem .55rem .6rem; border-radius: 999px; background: var(--sonne-400); color: var(--wald-950); font-family: var(--font-display); font-weight: 600; transition: background .18s ease, transform .18s ease; }
.footer-grid a.footer-insta:hover { background: var(--sonne-300); color: var(--wald-950); transform: translateY(-2px); }
.footer-insta svg { flex: none; box-sizing: content-box; padding: .35rem; border-radius: 50%; background: var(--wald-950); color: var(--sonne-400); }
.insta-callout { margin-top: 2.4rem; }
.insta-callout h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .5em; }
.insta-callout .btn { margin-top: .4rem; }
.insta-callout .btn svg { flex: none; }

/* ===== Beitritt bestaetigen: Angaben pruefen ===== */
.beitritt-pruefen { width: 100%; border-collapse: collapse; margin: 1.2rem 0 .5rem; }
.beitritt-pruefen th { text-align: left; font-weight: 600; color: var(--text-low); padding: .55rem 1rem .55rem 0; vertical-align: top; white-space: nowrap; }
.beitritt-pruefen td { padding: .55rem 0; overflow-wrap: anywhere; }
.beitritt-pruefen tr + tr { border-top: 1px solid var(--line); }
@media (max-width: 520px) {
  .beitritt-pruefen th, .beitritt-pruefen td { display: block; padding: 0; }
  .beitritt-pruefen th { padding-top: .6rem; font-size: .85rem; }
  .beitritt-pruefen td { padding-bottom: .6rem; }
}

/* ===== Beitritt: Anrede schmal neben Vor-/Nachname, Adresse von Person 2 nur bei Bedarf ===== */
@media (min-width: 641px) {
  .form-row-name { grid-template-columns: minmax(8rem, .6fr) 1fr 1fr; }
}
.beitritt-form [hidden] { display: none !important; } /* ein-/ausgeblendet per data-zeige-wenn (main.js) */
.beitritt-form .form-row { align-items: start; } /* Fehlertext unter einem Feld streckt die Nachbarn nicht */
.field-error { display: block; margin-top: .35rem; font-size: .88rem; color: #f3a08e; }
.field:not(:has([aria-invalid="true"])) > .field-error:not([data-iban-fehler]):not([data-mail-fehler]),
.check:not(:has([aria-invalid="true"])) + .field-error { display: none; }
.field-error[hidden] { display: none; }
/* E-Mail-Prüfung (assets/js/mail-pruefung.js): Tippfehler-Vorschlag unter dem Feld */
.mail-vorschlag { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-top: .4rem; font-size: .9rem; color: #fbe7a6; }
.mail-vorschlag[hidden] { display: none; }
/* Hinweis unter dem Mail-Feld soll das Nachbarfeld nicht nach unten schieben */
.form-row:has(.mail-vorschlag:not([hidden]), [data-mail-fehler]:not([hidden])) { align-items: start; }
.mail-vorschlag strong { color: #fff; word-break: break-all; }
.mail-vorschlag button { font: inherit; font-size: .85rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; border: 1.5px solid var(--sonne-400); background: transparent; color: var(--sonne-400); cursor: pointer; }
.mail-vorschlag button:hover, .mail-vorschlag button:focus-visible { background: var(--sonne-400); color: var(--wald-950); }

/* Instagram-Karte auf /kontakt/: ganze Karte ist der Link, Sonnengelb wie der Termin-Störer.
   Ab 900 px rechts neben Headline + Lead (spart Höhe), darunter unter dem Lead. */
.page-head-insta { display: grid; gap: 1.8rem 3rem; }
@media (min-width: 900px) { .page-head-insta { grid-template-columns: minmax(0, 1fr) 23rem; align-items: center; } }
.insta-karte { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .9rem 1rem; max-width: 30rem; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--sonne-400); color: var(--wald-950); text-decoration: none; box-shadow: 0 10px 30px rgb(0 0 0 / .28); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.insta-karte:hover { background: var(--sonne-300); transform: translateY(-2px); box-shadow: 0 14px 36px rgb(0 0 0 / .34); }
.insta-karte:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.insta-karte-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--wald-950); color: var(--sonne-400); }
.insta-karte-text { display: contents; }
.insta-karte-text b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.insta-karte-text > span { grid-column: 1 / -1; line-height: 1.45; }
.insta-karte-handle { font-weight: 700; }
.insta-karte-btn { grid-column: 1 / -1; text-align: center; font-family: var(--font-display); font-weight: 600; padding: .7rem 1.3rem; border-radius: 999px; background: var(--wald-950); color: #fff; }
@media (min-width: 641px) {
  .form-row-adresse { grid-template-columns: 1.6fr minmax(6rem, .5fr) 1.2fr; }
}

/* ===== Beitritt: Pflichtangaben des SEPA-Mandats ===== */
.mandat-angaben { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0 0 1.2rem; font-size: .92rem; color: var(--text-low); }
.mandat-angaben dt { font-weight: 600; color: var(--text-mid); }
.mandat-angaben dd { margin: 0; }
@media (max-width: 520px) {
  .mandat-angaben { grid-template-columns: 1fr; gap: 0; }
  .mandat-angaben dd { margin-bottom: .45rem; }
}
