/* Layout: helle, luftige Ein-Spalten-Seite; Farben aus dem Herzbaum-Logo (Grün, Koralle, Sonnengelb, Himmelblau, Flieder, Rosa). Bewusst nur helles Design. */
:root {
  --bg: #fffdf9; --paper: #ffffff; --ink: #353b3f; --muted: #626a6f; --line: #efe7dc; --soft: #f8f2ea;
  --pine: #34843a; --pine-2: #2e7a34; --on-pine: #ffffff; --cta: #34843a; --cta-2: #2e7a34; /* weiß auf Grün ≥ 4,5:1 */
  --peach: #ff8a5c; --peach-bg: #fff0e8; --sky: #4fb0e8; --sky-bg: #e7f4fc; --sun: #ffc93c; --sun-bg: #fff6d9;
  --mint: #6cc28a; --mint-bg: #e9f7ee; --lilac: #a77bd9; --lilac-bg: #f3ebfc; --rose: #f2709a; --rose-bg: #fde9f0; --rose-ink: #e0507f; /* Rosa für Schrift: ≥ 3:1 bei großer Handschrift */
  --st-res: #a8690a; --st-res-bg: #fff2d6; --st-paid: #2a6fb0; --st-paid-bg: #e3effa; --st-ok: #2e7d3a; --st-ok-bg: #e2f5e6; --st-x: #7b817e; --st-x-bg: #f0f0ee;
  --danger: #c0283f;
  --f-display: "Nunito", "Avenir Next Rounded", "Trebuchet MS", system-ui, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --f-body: "Nunito Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --shadow: 0 1px 2px rgba(53, 59, 63, .05), 0 10px 28px -14px rgba(53, 59, 63, .2);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; }
h1, h2 { hyphens: manual; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
h4 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pine); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 92px; }
.logo-img { height: 72px; width: auto; display: block; }
@media (max-width: 600px) { .topbar .wrap { height: 76px; } .logo-img { height: 58px; } }
/* Sehr schmale Handys (≤ 370 px): vier Knöpfe oben (Freie Plätze, Gutscheine, Konto, Menü) passen nur mit kleinerem Logo */
@media (max-width: 370px) { .topbar .wrap { padding-inline: 14px; gap: 8px; } .topbar .logo { padding-right: 0; } .logo-img { height: 44px; } .head-actions { gap: 5px; } .btn.menu-btn { padding-inline: 10px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.03em; }
.logo-mark { width: 38px; height: 38px; }
.logo b { color: var(--pine); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
/* Gutscheine im Menü hervorgehoben */
.nav a.nav-gift { display: inline-flex; align-items: center; gap: 6px; color: #b3305c; background: var(--rose-bg); } /* dunkleres Rosa: Kontrast ≥ 4,5:1 */
.nav a.nav-gift .icon { width: 17px; height: 17px; }
.nav a.nav-gift:hover, .nav a.nav-gift[aria-current="page"] { color: #fff; background: #b3305c; }
.head-actions { display: flex; gap: 8px; align-items: center; }
.btn.menu-btn { display: none; }
.illu { width: 64px; height: 64px; flex: none; display: block; }
@media (max-width: 480px) { #acctBtn span, .head-gift span, .head-free span { display: none; } #acctBtn, .btn.head-gift, .btn.head-free { padding-inline: 10px; } }
/* Menü klappt zusammen, sobald die sechs Punkte nicht mehr nebeneinander passen; dann steht „Gutscheine“ als eigener Knopf oben */
.btn.head-gift, .btn.head-free, .head-offers { display: none; }
.btn.head-free[aria-expanded="true"] { background: var(--st-ok); color: #fff; }
/* Auswahl „Angebote“: sieht aus wie das aufgeklappte Hauptmenü (volle Breite unter der Kopfzeile, gleiche Schrift) */
.offers-menu { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); }
.offers-menu[hidden] { display: none; }
.offers-menu a { white-space: nowrap; text-decoration: none; border-radius: 999px; font-weight: 600; color: var(--muted); padding: 12px 14px; font-size: 1.05rem; }
.offers-menu a:hover, .offers-menu a[aria-current="page"] { color: var(--ink); background: var(--soft); }
@media (max-width: 1080px) {
  .btn.head-gift { display: inline-flex; color: #b3305c; background: var(--rose-bg); }
  /* „Angebote“: Auswahl Kurse, Workshops, Treffen, Specials, solange das Menü eingeklappt ist
     (neben dem Gutschein-Knopf, damit der nicht allein heraussticht) */
  .head-offers { display: block; }
  .btn.head-free { display: inline-flex; color: var(--st-ok); background: var(--mint-bg); }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .btn.menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
  .head-actions .btn-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 12px 22px; font-size: 1rem; line-height: 1.2; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: var(--on-pine); }
.btn-primary:hover { background: var(--pine-2); }
.btn-warm { background: var(--peach); color: #23150f; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon { width: 20px; height: 20px; flex: none; }
.link { background: none; border: 0; padding: 0; color: var(--pine); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding-block: 44px 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--pine); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; background: var(--sun); z-index: -1; border-radius: 4px; opacity: .8; }
.hero .lead { margin-top: 18px; }
.hero-scene { width: 100%; height: auto; display: block; }
.finder { margin-top: 28px; background: var(--paper); border-radius: var(--r-l); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.finder-q { font-weight: 700; margin-bottom: 12px; font-size: .98rem; }
.finder-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.finder-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--soft); text-decoration: none; font-weight: 650; border: 2px solid transparent; transition: border-color .15s; }
.finder-opt:hover { border-color: var(--pine); }
.finder-opt .illu { width: 40px; height: 40px; flex: none; }
.finder-opt small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--pine); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 460px; margin-inline: auto; } }
@media (max-width: 420px) { .finder-opts { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.band { padding-block: 72px; }
.band-tint { background: var(--paper); }
.band-pine { background: var(--sun-bg); color: var(--ink); }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head > div { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.ridge { display: block; width: 100%; height: 40px; color: var(--paper); margin-bottom: -1px; }
.ridge.to-bg { color: var(--bg); }
.ridge.to-pine { color: var(--pine); }

/* Phasen */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.phase { border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.phase-top { display: flex; align-items: center; gap: 14px; }
.phase .illu { width: 64px; height: 64px; flex: none; }
.phase ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.phase li { font-size: .84rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
.phase .go { margin-top: auto; font-weight: 700; color: var(--pine); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* Terminliste (Landing) */
.next-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.next { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--bg); border-radius: var(--r-m); padding: 14px 16px; }
.datebox { text-align: center; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); line-height: 1.1; overflow: hidden; align-self: center; }
.datebox-m { display: block; padding: 4px 2px; background: var(--mint-bg); color: var(--st-ok); font-size: .8rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.datebox.is-alt-year .datebox-m { background: var(--sun-bg); color: var(--st-res); }
.datebox b { display: block; font-family: var(--f-display); font-size: 1.6rem; padding: 4px 0 6px; }
/* Jahres-Trenner in Terminlisten (z. B. „2027“) */
.year-sep { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; color: var(--st-ok); font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.year-sep::after { content: ""; flex: 1; border-top: 2px solid var(--mint); }
.year-sep.is-alt-year { color: var(--st-res); } .year-sep.is-alt-year::after { border-top-color: var(--sun); }
.next h4 a { text-decoration: none; }
.next h4 a:hover { text-decoration: underline; }
@media (max-width: 860px) { .next-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .next { grid-template-columns: 56px minmax(0, 1fr); } .next .btn { grid-column: 1 / -1; } }

/* Sitzplatz-Anzeige */
.seats { display: flex; flex-direction: column; gap: 5px; }
.seat-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.seat-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px var(--line); }
.seat-dots i.b { background: var(--st-ok); box-shadow: none; }
.seat-dots i.r { background: repeating-linear-gradient(45deg, var(--st-res) 0 2px, var(--st-res-bg) 2px 4px); box-shadow: inset 0 0 0 1.5px var(--st-res); }
.seat-txt { font-size: .86rem; font-weight: 700; }
.seat-txt.full { color: var(--danger); }
.seat-txt.few { color: var(--st-res); }
.seat-txt.ok { color: var(--st-ok); }

/* Angebote-Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .illu { width: 76px; height: 76px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.tag.t-peach { background: var(--peach-bg); color: var(--ink); } .tag.t-sky { background: var(--sky-bg); color: var(--ink); } .tag.t-sun { background: var(--sun-bg); color: var(--ink); }
.tag.t-mint { background: var(--mint-bg); color: var(--ink); } .tag.t-lilac { background: var(--lilac-bg); color: var(--ink); } .tag.t-rose { background: var(--rose-bg); color: var(--ink); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.price { font-family: var(--f-display); font-weight: 750; font-size: 1.15rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Workshops kompakt */
.ws-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ws { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ws .illu { width: 48px; height: 48px; }
.ws:hover h4 { text-decoration: underline; }
@media (max-width: 760px) { .ws-list { grid-template-columns: 1fr; } }

/* Treffpunkte */
.treffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.treff { border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.treff .illu { width: 64px; height: 64px; }
.treff.peach { background: var(--peach-bg); } .treff.sun { background: var(--sun-bg); } .treff.lilac { background: var(--lilac-bg); }
.treff.sky { background: var(--sky-bg); } .treff.rose { background: var(--rose-bg); } .treff.mint { background: var(--mint-bg); }
.treff .when { font-weight: 700; font-size: .92rem; }
@media (max-width: 900px) { .treffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .treffs { grid-template-columns: 1fr; } }

/* Ablauf Buchung */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pay-logo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--paper); font-weight: 700; font-size: .92rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Über uns Teaser */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about > * { min-width: 0; }
.quote { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.015em; }
.quote::before { content: "„"; color: var(--peach); }
.quote::after { content: "“"; color: var(--peach); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.member { display: flex; gap: 12px; align-items: center; }
.mono { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; flex: none; color: var(--ink); }
.mono.peach { background: var(--peach-bg); } .mono.sky { background: var(--sky-bg); } .mono.sun { background: var(--sun-bg); } .mono.mint { background: var(--mint-bg); } .mono.lilac { background: var(--lilac-bg); } .mono.rose { background: var(--rose-bg); }
.member b { display: block; line-height: 1.25; }
.member span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Gut zu wissen */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { padding: 20px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.perk b { font-family: var(--f-display); font-size: 1.6rem; color: var(--pine); line-height: 1.1; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perks { grid-template-columns: 1fr; } }

/* Kontakt-Band */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact > * { min-width: 0; }
.c-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-line svg { width: 22px; height: 22px; color: var(--pine); flex: none; margin-top: 2px; }
.mapcard { border-radius: var(--r-l); overflow: hidden; background: var(--mint-bg); position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.mapcard svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard .pin-label { position: relative; background: var(--paper); border-radius: var(--r-m); padding: 14px 16px; box-shadow: var(--shadow); max-width: 320px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--soft); color: var(--ink); padding-block: 48px 28px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 3fr; gap: 28px; }
/* Linkspalten unten am linken Block ausrichten: die längste Liste endet auf Höhe des Textes links */
/* Spalten verteilt: die letzte schließt rechts bündig ab (wie die E-Mail-Adresse darunter) */
.foot-links { display: flex; justify-content: space-between; gap: 28px; align-self: end; }
.foot-links > div { flex-shrink: 0; } .foot-links > div:last-child { flex-shrink: 1; min-width: 0; } /* nur die letzte Spalte darf notfalls umbrechen */
.foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; color: var(--muted); font-family: var(--f-body); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* Kontaktstreifen ganz unten: Adresse (mit Praxisgemeinschaft darunter), Telefon, E-Mail.
   Darunter, durch eine Linie getrennt, Copyright und Rechtslinks. */
.foot-contact { margin-top: 40px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 48px; }
.fc-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; line-height: 1.5; }
.fc-item > svg { width: 20px; height: 20px; margin-top: .15em; color: var(--pine); flex: none; }
.fc-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-item small { font-size: .85rem; color: var(--muted); }
.fc-item small a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--muted) 40%, transparent); }
.fc-item small a:hover { color: var(--ink); }
.foot-contact .nowrap { white-space: nowrap; }
@media (max-width: 1000px) { .foot-contact { flex-direction: column; align-items: flex-start; gap: 14px; } }
.foot-bottom { margin-top: 0; padding-top: 18px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: var(--ink); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-links { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: 44px 28px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fchip { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-weight: 650; cursor: pointer; font-size: .94rem; }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.searchbox { flex: 1 1 220px; max-width: 320px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 64px; }
.detail-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.detail-hero { display: flex; gap: 22px; align-items: center; }
.detail-hero .illu { width: 120px; height: 120px; flex: none; }
.detail-main p { max-width: 65ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%232c6a53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; margin-top: 2px; }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact:last-of-type { border-bottom: 0; }
.fact dt { color: var(--muted); font-weight: 600; }
.fact dd { margin: 0; font-weight: 600; }
.facts .price { font-size: 1.8rem; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } .facts { position: static; } }
@media (max-width: 480px) { .detail-hero { flex-direction: column; align-items: flex-start; } .detail-hero .illu { width: 88px; height: 88px; } }

.sessions { display: flex; flex-direction: column; gap: 10px; }
/* Terminkarte (Angebotsseite): Datum | Wochentag + Uhrzeit | Stand + Preis | Ampel, Knopf, Einstieg; Hinweis als Fußzeile */
.session { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 8px 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; overflow: hidden; }
.session .when, .session .s-mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.session .when b { font-size: 1.05rem; }
.session .s-act { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.session .s-act .seats { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.session .s-act .seat-min { flex-basis: 100%; justify-content: center; }
.session .s-act .btn { width: 100%; justify-content: center; min-height: 44px; }
.session .s-foot { grid-column: 1 / -1; margin: 6px -16px -14px; padding: 8px 16px; background: var(--soft); border-top: 1px solid var(--line); color: var(--ink); }
.session.is-full { background: var(--soft); color: var(--muted); }
.session.is-full > :not(.s-act), .session.is-full .s-act .seats { opacity: .6; filter: grayscale(1); }
.session.is-full .s-foot { background: var(--soft); }
/* Warteliste: zurückhaltend, aber auf dem grauen Grund gut zu erkennen */
.session.is-full .btn[data-wait] { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px #cfc8bd; }
.session.is-full .btn[data-wait]:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sessions { container-type: inline-size; }
@container (max-width: 620px) {
  .session { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); }
  .session .s-act { grid-column: 1 / -1; }
}
/* Handy: links Kalenderblatt mit Wochentag und Uhrzeit darunter, rechts Stand und Preis; Knopf und Fußzeile über die volle Breite */
@container (max-width: 460px) {
  .session { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .session .datebox { grid-column: 1; grid-row: 1; width: 60px; }
  .session .when { grid-column: 1; grid-row: 2; }
  .session .s-mid { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.notice { border-radius: var(--r-m); padding: 16px 18px; background: var(--sun-bg); display: flex; gap: 12px; align-items: flex-start; }
.notice.info { background: var(--sky-bg); }
.notice.ok { background: var(--st-ok-bg); }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.verify { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--st-res-bg); color: var(--st-res); }

/* Status */
.pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.reserviert { background: var(--st-res-bg); color: var(--st-res); }
.pill.bezahlt { background: var(--st-paid-bg); color: var(--st-paid); }
.pill.gebucht { background: var(--st-ok-bg); color: var(--st-ok); }
.pill.storniert, .pill.warteliste { background: var(--st-x-bg); color: var(--st-x); }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; margin-block: 8px; }
.tl-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; padding-inline: 6px; }
.tl-step::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.tl-step:first-child::before { display: none; }
.tl-step.done::before { background: var(--st-ok); }
.tl-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--line); position: relative; z-index: 1; font-weight: 800; }
.tl-step.done .tl-dot { background: var(--st-ok); border-color: var(--st-ok); color: var(--paper); }
.tl-step.current .tl-dot { border-color: var(--st-res); color: var(--st-res); animation: pulse 1.8s ease-in-out infinite; }
.tl-step b { font-size: .95rem; }
.tl-step small { color: var(--muted); font-size: .8rem; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--st-res) 40%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.kv { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
.copyline { display: flex; gap: 8px; align-items: center; background: var(--soft); border-radius: 14px; padding: 8px 8px 8px 14px; }
.copyline code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .86rem; }

/* Konto */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 64px; }
.acct-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.acct-nav button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 12px; font-weight: 650; cursor: pointer; }
.acct-nav button[aria-current="true"] { background: var(--paper); box-shadow: var(--shadow); }
@media (max-width: 820px) { .acct { grid-template-columns: 1fr; } .acct-nav { position: static; flex-direction: row; overflow-x: auto; } .acct-nav button { white-space: nowrap; } }
.bk { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bk:last-child { border-bottom: 0; }
.bk .illu { width: 56px; height: 56px; }
@media (max-width: 560px) { .bk { grid-template-columns: 48px minmax(0, 1fr); } .bk > :last-child { grid-column: 1 / -1; } }
.tbl-wrap { overflow: auto; max-height: calc(100dvh - 110px); }
/* Oberste Zeile bleibt beim Scrollen stehen: die Tabelle scrollt in ihrem eigenen Kasten (unter der oberen Leiste) */
.tbl thead th { position: sticky; top: 0; z-index: 3; background: var(--paper); box-shadow: inset 0 -1px 0 var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Formulare */
.form { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 650; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .label { font-weight: 650; font-size: .92rem; }
/* Zeichenfeld für den Gutschein (Hintergrund = Farbe der Gutscheinkarte) */
.drawpad-canvas { width: 100%; aspect-ratio: 2 / 1; border: 2px dashed var(--line); border-radius: 12px; background: #fff0e8; touch-action: none; cursor: crosshair; }
.drawpad-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.drawpad-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.drawpad-color { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--paper); background: var(--pen); box-shadow: 0 0 0 2px var(--line); cursor: pointer; padding: 0; }
.drawpad-color[aria-pressed="true"], .drawpad-custom[data-on="true"] { box-shadow: 0 0 0 2px var(--ink); }
/* Eigene Farbe: Regenbogen-Ring, innen die gewählte Farbe */
.drawpad-custom { position: relative; background: conic-gradient(#e0507f, #e8683a, #c9971c, #34843a, #1f9a8a, #2f8fd0, #7a5cc4, #e0507f); }
.drawpad-custom::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--pen); border: 2px solid var(--paper); pointer-events: none; }
.drawpad-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.drawpad-custom:has(input:focus-visible) { outline: 3px solid var(--pine); outline-offset: 2px; }
.drawpad-widths { display: flex; gap: 6px; }
.drawpad-width { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; padding: 0; }
.drawpad-width i { display: block; border-radius: 50%; background: var(--ink); }
.drawpad-width[aria-pressed="true"] { border-color: var(--pine); }
.input, select.input, textarea.input { width: 100%; border: 2px solid var(--line); background: var(--paper); border-radius: 12px; padding: 11px 14px; font-size: 1rem; }
.input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 28%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .84rem; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pine); flex: none; }
.choice { display: flex; gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; cursor: pointer; background: var(--paper); }
.choice:has(input:checked) { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 6%, var(--paper)); }
.choice input { accent-color: var(--pine); width: 20px; height: 20px; flex: none; }
.choice .ch-body { flex: 1; min-width: 0; }
.choice .ch-body b { display: block; }
.choice .ch-body span { font-size: .86rem; color: var(--muted); }
.badge-rec { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--pine); color: var(--on-pine); padding: 3px 8px; border-radius: 6px; }
.paymark { width: 52px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .72rem; flex: none; letter-spacing: .02em; }
.paymark.sepa { background: var(--sky-bg); color: var(--ink); }
.paymark.pp { background: #ffc439; color: #0b2a5b; font-style: italic; }
.paymark.su { background: var(--ink); color: var(--bg); }
.paymark.st { background: #635bff; color: #fff; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .92rem; }
.seg button[aria-pressed="true"] { background: var(--paper); box-shadow: var(--shadow); }

/* Dialog / Buchungsstrecke */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15, 25, 20, .55); display: flex; justify-content: flex-end; }
.drawer { width: min(640px, 100%); height: 100%; background: var(--bg); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); animation: slidein .28s ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: .5; } to { transform: none; opacity: 1; } }
.drawer-head { padding: calc(env(safe-area-inset-top, 0px) + 16px) 22px 14px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; background: var(--paper); }
.drawer-head .illu { width: 48px; height: 48px; flex: none; }
.drawer-head > div { flex: 1; min-width: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.drawer-foot { padding: 14px 22px calc(env(safe-area-inset-bottom, 0px) + 14px); border-top: 1px solid var(--line); background: var(--paper); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.x-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; flex: none; }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--pine); }
.sum { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.sum div { display: flex; justify-content: space-between; gap: 10px; }
.sum .tot { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.modal { margin: auto; width: min(760px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow-y: auto; background: var(--paper); border-radius: var(--r-l); padding: 0; animation: pop .2s ease; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.overlay.center { justify-content: center; align-items: center; padding: 16px; }

/* Rechnung */
.invoice { padding: 32px; display: flex; flex-direction: column; gap: 22px; font-size: .94rem; }
.inv-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stamp { border: 3px solid currentColor; border-radius: 10px; padding: 6px 14px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; transform: rotate(-6deg); display: inline-block; }
.stamp.paid { color: var(--st-ok); } .stamp.open { color: var(--st-res); }

/* Zahlungsanbieter-Simulation */
.psp { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.psp-bar { padding: 14px 18px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.psp-bar.pp { background: #ffc439; color: #0b2a5b; }
.psp-bar.su { background: #1d1d1b; color: #fff; }
.psp-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

/* Toast & Demo */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 650; z-index: 100; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.demo-fab { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 60; }
.demo-fab > button { background: var(--sun); color: #2a2205; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: .85rem; cursor: pointer; box-shadow: var(--shadow); display: inline-flex; gap: 8px; align-items: center; }
.demo-menu { position: absolute; bottom: 52px; right: 0; width: min(300px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.demo-menu button { text-align: left; }

.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.empty .illu { width: 110px; height: 110px; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; }
.prose h3 { margin-top: 14px; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 1.04rem; }
details.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--pine); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.gift-amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-amounts button { min-width: 80px; }

/* ---------- Startseite v2 ---------- */
.hero2 { padding-block: 40px 56px; }
.hero2 .hero-grid { grid-template-columns: 1fr 1fr; }
.hero2 h1 { max-width: 14ch; }
.hero2 .lead { margin-top: 16px; font-size: 1.2rem; }
.hero2 .row { margin-top: 26px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 12px 18px; border-radius: var(--r-l); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .illu { width: 78px; height: 78px; }
.tile small { font-family: var(--f-body); font-weight: 600; font-size: .82rem; color: var(--muted); }
.tile.peach { background: var(--peach-bg); } .tile.sky { background: var(--sky-bg); } .tile.sun { background: var(--sun-bg); } .tile.mint { background: var(--mint-bg); } .tile.lilac { background: var(--lilac-bg); } .tile.rose { background: var(--rose-bg); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile .illu { width: 60px; height: 60px; } }
.sec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.slim-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.slim-step { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--r-m); padding: 16px 18px; }
.slim-step .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; flex: none; }
.slim-step b { display: block; font-family: var(--f-display); font-size: 1.08rem; }
.slim-step span { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .slim-steps { grid-template-columns: 1fr; } }
.c-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.c-item { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.c-item svg { width: 26px; height: 26px; color: var(--pine); flex: none; }
.c-item b { display: block; }
.c-item span { font-size: .88rem; color: var(--muted); }
@media (max-width: 820px) { .c-strip { grid-template-columns: 1fr; } }
.foot-logo { height: 84px; width: auto; }
.inv-logo { height: 64px; width: auto; }
@media (max-width: 520px) { .hero2 .row .btn { flex: 1 1 100%; } }
@media (max-width: 860px) { .hero2 .hero-grid { grid-template-columns: 1fr; } .hero2 { padding-block: 20px 40px; } .hero2 h1 { max-width: none; } }

/* ---------- Startseite v3: Willkommen ---------- */
.hero3 { padding-block: 36px 56px; background: linear-gradient(180deg, var(--bg) 0%, var(--peach-bg) 160%); }
.hero3 .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 36px; }
.hero-copy { display: flex; flex-direction: column; gap: 14px; }
.hero3 h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero3 .lead { font-size: 1.18rem; color: var(--muted); }
.hero3 .row { margin-top: 10px; }
.hand { font-family: var(--f-hand); font-size: 1.9rem; line-height: 1.1; color: var(--rose-ink); font-weight: 600; transform: rotate(-2deg); transform-origin: left; }
.welcome { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.welcome > * { min-width: 0; }
.welcome-note { background: var(--paper); border-radius: var(--r-l); padding: 28px 30px; box-shadow: var(--shadow); position: relative; font-size: 1.08rem; display: flex; flex-direction: column; gap: 10px; }
.welcome-note::before { content: ""; position: absolute; top: -12px; left: 34px; width: 70px; height: 24px; background: color-mix(in srgb, var(--sun) 55%, transparent); border-radius: 4px; transform: rotate(-4deg); }
.sig { color: var(--pine); font-size: 1.7rem; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.promises li { display: flex; gap: 16px; align-items: center; }
.promises .illu { width: 56px; height: 56px; }
.promises b { display: block; font-family: var(--f-display); font-size: 1.12rem; }
.promises span { color: var(--muted); font-size: .95rem; }
.team-strip { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.team-strip > * { min-width: 0; }
.team-dots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tdot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.tdot .mono { width: 72px; height: 72px; font-size: 1.3rem; margin-bottom: 4px; }
.tdot span:last-child { font-size: .84rem; color: var(--muted); }
.band-warm { background: var(--rose-bg); }
.call { display: flex; flex-direction: column; gap: 22px; }
.band-warm .c-item { border-color: transparent; }
@media (max-width: 900px) { .welcome, .team-strip, .hero3 .hero-grid { grid-template-columns: 1fr; } .hero3 .hero-art { max-width: 480px; margin-inline: auto; } }
@media (max-width: 520px) { .team-dots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .tdot .mono { width: 56px; height: 56px; font-size: 1.05rem; } .hero3 .row .btn { flex: 1 1 100%; } .welcome-note { padding: 24px 20px; } }
.tdot { min-width: 0; } .tdot span:last-child { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Fotos ---------- */
.photo { display: block; width: 100%; object-fit: cover; border-radius: var(--r-l); background: var(--soft); }
.ph { background: linear-gradient(135deg, var(--peach-bg), var(--sun-bg) 55%, var(--mint-bg)); display: grid; place-items: center; text-align: center; color: var(--muted); }
.ph span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; font-size: .85rem; font-weight: 600; }
.ph svg { width: 28px; height: 28px; color: var(--rose); }
.hero-photo { position: relative; padding: 0 0 34px 34px; min-width: 0; }
.ph-hero { aspect-ratio: 5 / 4; border-radius: 36px 36px 36px 120px; box-shadow: var(--shadow); }
.ph-round { border-radius: 50%; aspect-ratio: 1; width: 132px; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.ph-round.ph span small { display: none; }
.ph-sm { width: 72px; border-width: 4px; flex: none; }
.nine-badge { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; gap: 4px; }
.nine-badge .hand { font-size: 1.5rem; color: var(--pine); margin-bottom: 10px; background: var(--paper); padding: 6px 12px; border-radius: 14px; box-shadow: var(--shadow); }
.note-head { display: flex; gap: 14px; align-items: center; }
.note-head b { display: block; font-family: var(--f-display); font-size: 1.2rem; }
/* ---------- Stimmen von Familien (Startseite) ---------- */
.voices { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.voices > * { min-width: 0; }
.voices figure { margin: 0; }
.voices blockquote { margin: 0; }
.voice-lead { display: flex; flex-direction: column; gap: 18px; }
.voice-lead .quote { max-width: 24ch; font-size: clamp(1.45rem, 2.7vw, 2rem); }
.voice-lead figcaption { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.voice-lead .hand { color: var(--pine); font-size: 1.8rem; }
.stars { display: inline-flex; gap: 3px; color: var(--sun); }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.voice-notes { display: flex; flex-direction: column; gap: 26px; }
.voice { --tape: var(--sun); position: relative; background: var(--bg); border-radius: var(--r-m); padding: 22px 24px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.voice::before { content: ""; position: absolute; top: -10px; left: 28px; width: 58px; height: 20px; background: color-mix(in srgb, var(--tape) 50%, transparent); border-radius: 4px; transform: rotate(-4deg); }
.voice:nth-child(2) { margin-left: 28px; } .voice:nth-child(2)::before { left: auto; right: 34px; transform: rotate(3deg); }
.voice.t-lilac { --tape: var(--lilac); } .voice.t-mint { --tape: var(--mint); } .voice.t-peach { --tape: var(--peach); } .voice.t-rose { --tape: var(--rose); } .voice.t-sky { --tape: var(--sky); }
.voice blockquote { font-size: 1.02rem; line-height: 1.55; }
.voice figcaption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.voice figcaption b { font-family: var(--f-display); }
.voices-foot { margin-top: 28px; }
.voices-foot a { color: var(--pine); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; gap: 36px; } .voice:nth-child(2) { margin-left: 0; } }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; }
.gallery .photo { height: 100%; }
.gallery .g1 { grid-row: 1 / 3; }
.gallery .g4 { grid-column: 2 / 4; }
@media (max-width: 900px) { .hero-photo { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery .g1 { grid-column: 1 / 3; grid-row: auto; } .gallery .g4 { grid-column: 1 / 3; }
  .ph-round { width: 100px; } .nine-badge .hand { font-size: 1.25rem; } .hero-photo { padding: 0 0 26px 18px; }
}

.hero-photo { padding: 0 0 26px; }
.sticker { position: absolute; left: -14px; bottom: 0; font-size: 1.7rem; color: var(--pine); background: var(--paper); padding: 8px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.gallery figure { margin: 0; position: relative; min-height: 0; }
.gallery figure .photo { height: 100%; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: color-mix(in srgb, var(--paper) 92%, transparent); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
@media (max-width: 640px) { .sticker { left: 8px; font-size: 1.35rem; } .gallery figcaption { left: 8px; bottom: 8px; padding: 3px 10px; font-size: .8rem; white-space: nowrap; } }
@media (max-width: 360px) { .gallery figcaption { left: 6px; bottom: 6px; padding: 3px 8px; font-size: .74rem; } }

/* Logo: ganze Fläche klickbar */
.topbar .logo { align-self: stretch; height: 100%; display: flex; align-items: center; padding-right: 12px; cursor: pointer; position: relative; z-index: 2; }
.topbar .logo img, .foot .logo img { pointer-events: none; }
.foot .logo { display: inline-flex; cursor: pointer; }

/* Kurslisten */
/* Kopf einer Kursliste: Pfad + „Kurs bearbeiten“, Eckdaten, Status-Kasten, Werkzeugzeile über der Tabelle */
.course-top { justify-content: space-between; align-items: center; gap: 12px; }
.course-top .link { display: inline-flex; align-items: center; gap: 6px; } .course-top .link .icon { width: 15px; height: 15px; }
.course-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 14px; color: var(--muted); }
.course-facts > span { display: inline-flex; align-items: center; gap: 7px; }
.course-facts .icon { width: 17px; height: 17px; color: var(--pine); }
.course-status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.cs-item { display: flex; flex-direction: column; gap: 3px; }
.cs-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.course-tools { justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 10px; }
.roster th, .roster td { white-space: nowrap; }
/* Kursliste: Zeile „Anwesend je Termin“ bleibt unten sichtbar */
.roster tfoot td { position: sticky; bottom: 0; z-index: 2; background: var(--paper); box-shadow: inset 0 1px 0 var(--line); }
.roster td:nth-child(2) { white-space: normal; min-width: 150px; }
.att-h { text-align: center !important; font-size: .72rem !important; line-height: 1.3; }
.att-c { text-align: center; }
.att-skip { font: inherit; color: inherit; background: none; border: 1px dashed transparent; border-radius: 8px; padding: 2px 4px; cursor: pointer; }
.att-skip:hover, .att-skip:focus-visible { border-color: var(--danger); color: var(--danger); }
.att-all { margin-top: 4px; width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--st-ok); background: var(--st-ok-bg); color: var(--st-ok); font-weight: 800; font-size: .95rem; line-height: 1; cursor: pointer; }
.att-all:hover, .att-all:focus-visible { background: var(--st-ok); color: #fff; }
.att-btn { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 800; font-size: 1.05rem; line-height: 1; }
.att-btn:hover { border-color: var(--pine); }
.att-btn.a { background: var(--st-ok-bg); border-color: var(--st-ok); color: var(--st-ok); }
.att-btn.x { background: var(--rose-bg); border-color: var(--danger); color: var(--danger); }
.att-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 800; }
.att-dot.a { background: var(--st-ok-bg); color: var(--st-ok); } .att-dot.x { background: var(--rose-bg); color: var(--danger); }
.legend > span { margin-right: 6px; } .legend .att-dot { margin-right: 4px; }
/* Geburtstag seit dem letzten Treffen */
.att-wrap { position: relative; display: inline-block; }
.att-c.bday .att-btn { border-color: var(--gold, #d9a520); box-shadow: 0 0 0 3px rgba(217, 165, 32, .18); }
.bday-crown { position: absolute; top: -11px; right: -10px; font-size: .95rem; line-height: 1; transform: rotate(14deg); pointer-events: none; }
.bday-note { color: #8a6410; font-weight: 600; }
.bday-dot { margin-right: 4px; }

/* Anmerkungen */
.notes { display: flex; flex-direction: column; gap: 14px; }
.note-text { min-height: 140px; font-size: 1.02rem; line-height: 1.55; }
.ink-bar { gap: 12px; }
.ink-color { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.ink-color.on { box-shadow: 0 0 0 3px var(--ink); }
.ink-wrap { border: 2px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff repeating-linear-gradient(transparent 0 35px, #e8edf0 35px 36px); }
#ink { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 640; touch-action: none; cursor: crosshair; }

/* Mindestteilnehmerzahl */
.min-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--st-ok); background: var(--st-ok-bg); padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
.min-ok .icon { width: 14px; height: 14px; }
.min-wait { display: inline-flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.min-bar { display: block; width: 110px; height: 6px; border-radius: 3px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.min-bar i { display: block; height: 100%; background: var(--sun); }
.mail-body { background: var(--bg); border-radius: var(--r-m); padding: 18px 20px; font-size: .95rem; line-height: 1.6; }
.timeline { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }

/* Platz-Kreise: belegte neutral, freie in der Farbe der Frei-Anzeige (grün = viele frei, rot = nur noch wenige) */
.seat-dots { align-items: center; }
.seat-dots i.t.pend { background: #aeb6b2; box-shadow: none; }
.seat-dots i.t.c-ok { background: var(--st-ok); box-shadow: none; }
.seat-dots i.t.c-few { background: var(--st-res); box-shadow: none; }
.seat-dots i.t.c-full { background: var(--danger); box-shadow: none; }
.seat-dots i.f.c-ok { background: #e3f3e8; box-shadow: inset 0 0 0 2px #a9d6b6; }
.seat-dots i.f.c-few { background: #fbe1dc; box-shadow: inset 0 0 0 2px #ec9d90; }
.seat-txt.few { color: #b83a2e; }
.min-line { display: block; width: 2px; height: 17px; border-radius: 1px; background: var(--ink); opacity: .55; margin: 0 2px; }
/* Mindestzahl als sichtbare zweite Zeile */
.seat-min { font-size: .8rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.seat-min.ok { color: var(--st-ok); }
.seat-min .icon { width: 13px; height: 13px; }

/* Kursleitung mit kleinem Foto */
.lead-chip { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.lead-avs { display: inline-flex; }
.lead-avs .lead-av + .lead-av { margin-left: -8px; }
.lead-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); flex: none; display: inline-grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .7rem; color: var(--ink); }
.lead-av.xs { width: 24px; height: 24px; font-size: .62rem; }
.lead-av.lg { width: 46px; height: 46px; font-size: .9rem; }
.lead-chip.xs { font-size: .8rem; margin: 2px 0 2px; }
.lead-chip.lg { font-size: .98rem; margin-top: 4px; }
.lead-short { vertical-align: middle; white-space: nowrap; font-size: inherit; gap: 6px; }
/* Kurslisten-Übersicht: ganze Zeile anklickbar, Icon-Knöpfe */
.row-link { cursor: pointer; } .row-link:hover td { background: color-mix(in srgb, var(--pine) 5%, var(--paper)); }
.row-title { color: inherit; text-decoration: none; } .row-title:hover b, .row-title:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.btn-ico { padding: 8px 10px; min-width: 38px; justify-content: center; } .btn-ico svg { width: 18px; height: 18px; }
/* Filter „Leitung“ in der Kurslisten-Übersicht */
.th-filter { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 1px dashed transparent; border-radius: 8px; padding: 2px 6px; margin: -3px -6px; cursor: pointer; }
.th-filter:hover, .th-filter:focus-visible, .th-filter[aria-expanded="true"] { border-color: var(--line); color: var(--ink); }
.th-filter.on { color: var(--pine); }
/* Sortierbare Spaltenköpfe (Verwaltung → Kundinnen) */
.th-sort { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.th-sort:hover, .th-sort:focus-visible { color: var(--ink); text-decoration: underline; }
th[aria-sort="ascending"] .th-sort, th[aria-sort="descending"] .th-sort { color: var(--pine); }
.pop-menu { position: fixed; z-index: 60; min-width: 220px; max-height: 60vh; overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 6px; display: flex; flex-direction: column; }
.pop-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 7px 10px; cursor: pointer; font: inherit; color: var(--ink); min-height: 44px; }
.pop-menu button:hover, .pop-menu button:focus-visible { background: var(--bg); outline: none; }
.pop-menu button[aria-checked="true"] { background: color-mix(in srgb, var(--pine) 10%, var(--paper)); }
.filter-chip { gap: 8px; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
/* Rand in der Farbe aus dem Raumplan von Miteinander */
.lead-av.rc { border-color: var(--paper); box-shadow: 0 0 0 2px var(--rc); }
.ph-av.peach { background: var(--peach-bg); } .ph-av.sky { background: var(--sky-bg); } .ph-av.sun { background: var(--sun-bg); } .ph-av.mint { background: var(--mint-bg); } .ph-av.lilac { background: var(--lilac-bg); } .ph-av.rose { background: var(--rose-bg); }
/* Sanftes Rot statt Pink */
.seat-dots i.f.c-few { background: #fbe1dc; box-shadow: inset 0 0 0 2px #ec9d90; }
.seat-txt.few { color: #b83a2e; }

/* Blättern bei den nächsten Terminen */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pager-dots { display: inline-flex; align-items: center; gap: 0; flex-wrap: wrap; }
.pdot { width: 28px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.pdot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.pdot.on { width: 36px; }
.pdot.on::after { width: 22px; border-radius: 5px; background: var(--pine); }
.pdot:hover::after { background: color-mix(in srgb, var(--pine) 45%, var(--line)); }
.pdot.on:hover::after { background: var(--pine); }
@media (max-width: 560px) { .pager { justify-content: center; } .pager-dots { order: -1; width: 100%; justify-content: center; } }

/* Startseite: Platz-Kreise rechts beim Button */
.next-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.next-act .seats { align-items: flex-end; align-self: auto; }
@media (max-width: 480px) { .next-act { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; } .next-act .seats { align-items: flex-start; } .next .btn { grid-column: auto; } }

/* Startseite: einheitliche Breite rechts */
.when-lines { line-height: 1.4; margin-top: 2px; }
.when-lines b { font-weight: 700; }
.next-act { width: 184px; flex: none; align-items: stretch; text-align: left; }
.next-act .seats { align-items: stretch; width: 100%; }
.next-act .seat-dots { display: grid; grid-template-columns: repeat(var(--cap, 8), minmax(0, 1fr)); gap: 3px; width: 100%; justify-items: center; }
.next-act .seat-dots i { width: 100%; max-width: 13px; height: auto; aspect-ratio: 1; }
.next-act .seat-txt { text-align: center; }
.next-act .btn { width: 100%; }
@media (max-width: 480px) { .next-act { width: 100%; flex-direction: column; } .next-act .seat-dots { max-width: 260px; margin-inline: auto; } }

/* Startseite: Kurstitel über dem ganzen Block, rechter Teil dezenter */
.next.next-v2 { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 10px; padding: 16px 18px; }
.next-title { grid-column: 1 / -1; font-size: 1.28rem; line-height: 1.2; }
.next-title a { text-decoration: none; color: var(--ink); }
.next-title a:hover { text-decoration: underline; }
.next-v2 .next-act { width: 150px; gap: 6px; }
.next-v2 .next-act .seat-dots { gap: 2px; }
.next-v2 .next-act .seat-dots i { max-width: 10px; }
.next-v2 .next-act .seat-txt { font-size: .76rem; font-weight: 600; }
@media (max-width: 480px) { .next.next-v2 { grid-template-columns: 56px minmax(0, 1fr); } .next-v2 .next-act { width: 100%; grid-column: 1 / -1; } .next-v2 .next-act .seat-dots { max-width: 220px; } }
/* Kursleitung: Fotos und Schrift ca. 30 % größer */
.lead-chip { font-size: 1.1rem; gap: 10px; }
.lead-av { width: 39px; height: 39px; font-size: .9rem; }
.lead-av.xs { width: 31px; height: 31px; font-size: .8rem; }
.lead-av.lg { width: 60px; height: 60px; font-size: 1.15rem; }
.lead-chip.xs { font-size: 1.04rem; }
.lead-chip.lg { font-size: 1.27rem; }
.lead-avs .lead-av + .lead-av { margin-left: -10px; }
/* Kursleitung: Fotos nochmal ca. 30 % größer, Schrift minimal kleiner */
img.mono { object-fit: cover; }
.lead-chip { font-size: 1.04rem; gap: 12px; }
.lead-av { width: 51px; height: 51px; font-size: 1.05rem; }
.lead-av.xs { width: 40px; height: 40px; font-size: .9rem; }
.lead-av.lg { width: 78px; height: 78px; font-size: 1.4rem; }
.lead-chip.xs { font-size: .98rem; }
.lead-chip.lg { font-size: 1.2rem; }
.lead-avs .lead-av + .lead-av { margin-left: -12px; }
/* Call-to-Action auf Angebotskarten */
.card-cta { width: 100%; justify-content: center; margin-top: 2px; }
/* Team-Karten „Die Menschen hinter Deisterbaby“: alle gleich mit Foto */
.team-card .team-ph { width: 96px; height: 96px; font-size: 1.6rem; object-fit: cover; }
/* Angebotskarten: Icon dezenter, neben der Kategorie */
.card-top { display: flex; align-items: center; gap: 12px; }
.card .card-top .illu { width: 46px; height: 46px; flex: none; }
.card .card-top .illu { width: 38px; height: 38px; }
.card-top { margin-top: -4px; }
/* Terminliste auf Angebotsseiten: Status- und Button-Spalte überall gleich breit und zentriert */
/* Schmale Terminliste (z. B. Tablet neben der Seitenleiste): Platzanzeige und Knopf unter den Text, sonst wird die Textspalte zu eng */
/* Termin-Übersicht: Button nie schmaler als der Text darüber (auch mit breiterer Webschrift) */
.next-v2 .next-act { width: 188px; }
.next-v2 .next-act .btn { width: 100%; white-space: nowrap; }
@media (max-width: 480px) { .next-v2 .next-act { width: 100%; } }
/* Angebotskarten: Preis und Plätze kompakt und zentriert über dem Button */
/* Preis + Plätze: kompakte, in allen Karten gleich breite Gruppe, mittig über dem Button */
/* Call-to-Action-Buttons: helleres, freundlicheres Grün */
.btn-primary { background: var(--cta); }
.btn-primary:hover { background: var(--cta-2); }
/* Vormerken / Warteliste: helles Grau als Hintergrund */
.btn-ghost.card-cta, .btn-ghost[data-wait] { background: #f4f3f1; box-shadow: inset 0 0 0 1px #e9e7e3; color: #353b3f; }
.btn-ghost.card-cta:hover, .btn-ghost[data-wait]:hover { background: #eceae7; box-shadow: inset 0 0 0 1px #dedbd6; }
/* Begrüßung von Nine: Karte klarer abgesetzt */
.welcome-note { border: 1px solid #ddd1c2; box-shadow: 0 14px 36px rgba(80, 60, 40, .16), 0 3px 8px rgba(80, 60, 40, .08); }
/* „Hier ist noch ein Platz für Dich“: gleicher Kachel-Stil wie die Kurs- und Workshop-Karten */
.next.next-v2 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.next.next-v2:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* „Hier ist noch ein Platz für Dich“: Überschrift + Themen-Icon wie auf den Kurskarten */
.next-head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.next-head .card-top .illu { width: 38px; height: 38px; flex: none; }
/* Telefonnummer als WhatsApp-Link */
.wa-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.wa-link:hover { text-decoration-color: currentColor; }
/* Lange deutsche Wörter nie über den Rand hinaus: Silbentrennung + Umbruch als Notlösung */
/* Umbruch einheitlich (beide Websites): Silbentrennung nur bei langen Wörtern, keine einzelnen Wörter allein in der letzten Zeile,
   Überschriften und Einleitungen ohne Trennung und ausgewogen */
#app h1, #app h2, #app h3, #app h4, #app p, #app li, #app .tag, #app .seat-txt, #app dd, #app td, #app b, #app span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
#app p, #app li, #app dd, #app blockquote { text-wrap: pretty; }
#app h1, #app h2, #app .lead, #app .intro, #app .faq p, #app .eyebrow { hyphens: manual; -webkit-hyphens: manual; }
#app h1, #app h2, #app h3, #app h4, #app .eyebrow { text-wrap: balance; }
/* Gutschein-Seite: auf breiten Bildschirmen jeder Satz eine Zeile */
#app .gift-head .lead { max-width: none; }
#app .gift-head .eyebrow { text-wrap: balance; }
#app .gift-steps b, #app .gift-steps span, #app .gift-perks li, #app .gift-occasions span, #app .gift-occasions b { hyphens: manual; -webkit-hyphens: manual; text-wrap: pretty; }
@media (min-width: 760px) { .gift-head .lead-line { display: block; } }
#app .btn, #app .tnum, #app .price, #app .wa-link, #app .seat-txt, #app .next-act *, #app .card-foot * { hyphens: manual; -webkit-hyphens: manual; }
.o-chips li span, .checks li { min-width: 0; }
.o-chips li { align-items: flex-start; }
.o-chips li svg { margin-top: 2px; }
.detail-hero > .stack { min-width: 0; }
.detail-hero h1 { overflow-wrap: anywhere; }
@media (max-width: 480px) { .detail-hero > .stack { align-self: stretch; width: 100%; } }
/* Logos der Kursleitung (z. B. Nest & Notfall von Reihana) */
.team-logo { display: block; width: 150px; height: auto; margin: 6px auto 0; border-radius: 12px; }
.team-card { align-items: flex-start; }
.team-card .team-logo { margin-left: 0; margin-top: auto; padding-top: 10px; }
.lead-logo { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.lead-logo img { width: 170px; height: auto; border-radius: 12px; }
.team-logo, .lead-logo img { mix-blend-mode: multiply; border-radius: 0; }
.wa-link { white-space: nowrap; }
/* Team-Karte: Logo klein und dezent neben dem Foto */
.team-top { display: flex; align-items: center; gap: 16px; }
.team-card .team-logo { width: 72px; height: auto; margin: 0; padding: 0; mix-blend-mode: multiply; }

/* ---------- Bedienbarkeit am Handy & im Buchungsfenster (Prüfung 2026-10) ---------- */
#app h1, #app h2 { hyphens: manual; -webkit-hyphens: manual; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Tippflächen mindestens 44 px, wo mit dem Finger getippt wird */
@media (pointer: coarse), (max-width: 760px) {
  .btn, .btn-sm, .next-v2 .next-act .btn { min-height: 44px; }
  #acctBtn, .btn.menu-btn { min-height: 44px; min-width: 44px; }
  .seg button { min-height: 44px; }
  .x-btn { width: 44px; height: 44px; }
  .sec-title .link, .voices-foot a { display: inline-block; padding-block: 9px; }
}
.x-btn { width: 44px; height: 44px; }
/* Kontowahl als Auswahlgruppe */
.seg button[aria-checked="true"] { background: var(--paper); box-shadow: var(--shadow); }
/* PLZ schmal, Ort breit */
.grid-zip { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 14px; }
/* Eingeklappte Extras: Rabatt, Gutschein, Anmerkung */
details.more { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
details.more > summary { list-style: none; cursor: pointer; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--pine); }
details.more[open] > summary::after { content: "–"; }
details.more > .stack { padding: 4px 16px 16px; }
/* Leise Variante im Buchungsformular: nur eine kleine Zeile zum Aufklappen */
details.more.quiet { border: 0; background: none; }
details.more.quiet > summary { justify-content: flex-start; gap: 6px; padding: 4px 0; min-height: 44px; font-weight: 600; font-size: .9rem; color: var(--muted); }
details.more.quiet > summary::before { content: "+"; font-size: 1.1rem; line-height: 1; }
details.more.quiet[open] > summary::before { content: "–"; }
details.more.quiet > summary::after { content: none; }
details.more.quiet > .stack { padding: 4px 0 8px; }
.check-quiet { font-size: .84rem; color: var(--muted, #6b6b6b); }
.check-quiet input { width: 18px; height: 18px; margin-top: 0; }
/* Prüfschritt: Deine Angaben */
.review { padding: 18px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.review-head .link, .drawer-foot .link { min-height: 44px; display: inline-flex; align-items: center; }
.review-list { margin: 0; display: grid; gap: 8px; }
.review-list > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; }
.review-list dt { color: var(--muted); font-size: .9rem; }
.review-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .review-list > div { grid-template-columns: 1fr; gap: 0; } }
.reassure { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-weight: 700; color: var(--st-ok); }
.reassure .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.paymark.su, .paymark.st { width: auto; min-width: 58px; padding-inline: 10px; white-space: nowrap; }
/* Fußleiste im Prüfschritt: am Handy großer Buchen-Knopf, „Zurück“ als Textlink */
@media (max-width: 560px) {
  .drawer-foot.is-pay .btn { flex: 1; }
  .drawer-foot .btn-primary { flex: 1; }
}
.next-act .seat-min, .card-foot .seat-min, .session .s-act .seat-min { align-self: center; text-align: center; }

/* ---------- Altersfinder: mitlaufender Knopf unten rechts ---------- */
.kidf { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: calc(100vw - 32px); }
.kidf[hidden] { display: none; }
.kidf-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 12px; border: 0; border-radius: 999px; cursor: pointer; background: var(--paper); color: var(--ink); font: inherit; text-align: left; box-shadow: 0 1px 2px rgba(53, 59, 63, .08), 0 10px 26px -10px rgba(53, 59, 63, .35); transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease; }
.kidf-btn:hover { transform: translateY(-2px); }
.kidf-btn .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--rose-bg); color: var(--rose-ink); flex: none; }
.kidf-btn.is-set .icon { background: var(--st-ok-bg); color: var(--st-ok); }
.kidf-l { display: flex; flex-direction: column; line-height: 1.15; }
.kidf-l b { font-family: var(--f-display); font-size: .98rem; }
.kidf-k { font-size: .74rem; color: var(--muted); font-weight: 600; }
.kidf-panel { width: min(360px, calc(100vw - 32px)); background: var(--paper); border-radius: var(--r-l); padding: 18px 20px 20px; box-shadow: 0 2px 6px rgba(53, 59, 63, .08), 0 24px 48px -16px rgba(53, 59, 63, .4); animation: kidf-in .22s cubic-bezier(.2, .8, .2, 1); }
.kidf-panel[hidden] { display: none; }
.kidf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.kidf-head h2 { font-size: 1.25rem; }
.kidf-panel .hint.err { color: var(--danger); }
/* Leeres Datumsfeld: am Handy zeigt der Browser keinen Platzhalter, am Computer schon („tt.mm.jjjj“) – hier gleich ergänzen */
.date-ph-wrap { position: relative; display: block; }
.date-ph { display: none; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; letter-spacing: .02em; }
/* Am Handy (Datum nur über den Wähler, kein Tippen): eigener Platzhalter, den Browser-Text (z. B. „dd.mm.yyyy“ bei Android) ausblenden */
@media (pointer: coarse) {
  .date-ph-wrap.is-empty .date-ph { display: block; }
  .date-ph-wrap.is-empty input::-webkit-datetime-edit { color: transparent; }
}
@keyframes kidf-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
/* Platz lassen, damit der Knopf am Seitenende nichts verdeckt */
body.has-kidf .foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
@media (max-width: 480px) { .kidf { right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); } .kidf-btn { min-height: 48px; padding-right: 14px; } }

/* Hinweise in Listen und auf Karten */
.kid-line { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.kid-line:empty { display: none; }
.kid-line .icon { width: 18px; height: 18px; color: var(--rose-ink); flex: none; margin-top: 3px; }
.sec-title + .kid-line { margin: -8px 0 18px; }
.kid-line .link { min-height: 44px; display: inline-flex; align-items: center; margin-block: -12px; } /* große Tippfläche, ohne die Zeile höher zu machen */
.fit-badge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: .8rem; font-weight: 700; color: #276d32; background: var(--st-ok-bg); padding: 3px 10px; border-radius: 999px; }
.fit-badge .icon { width: 13px; height: 13px; }
/* Passt nicht zum Alter: nur Bild, Foto und Datum zurücknehmen, Text und Knopf bleiben gut lesbar */
.card.is-unfit .illu, .card.is-unfit .lead-av, .next.is-unfit .illu, .next.is-unfit .lead-av, .next.is-unfit .datebox { opacity: .55; filter: grayscale(.5); }
.card.is-unfit, .next.is-unfit { border-style: dashed; }
.other-head { font-size: 1.3rem; margin: 40px 0 16px; }
.fit-line { display: flex; gap: 6px; align-items: flex-start; font-size: .86rem; font-weight: 600; margin: 2px 0; }
.fit-line .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.fit-line.yes { color: var(--st-ok); }
.fit-line.no { color: var(--muted); }
p.fit-line { margin: 0; }
.for-line { margin: 0; }
@media (min-width: 921px) { .for-line { display: none; } }
/* Admin: Altersbereich in einer Zeile */
.fit-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fit-edit .input { width: auto; flex: 0 1 120px; }

/* Buchungsfenster: Kontozeile, Zahlung, Hilfe */
.acct-line { margin: 0; color: var(--muted); line-height: 1.55; }
.acct-line .link { font-size: inherit; }
.pay-info { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: var(--r-m); padding: 14px 16px; }
.pay-info .ch-body { flex: 1; min-width: 0; }
.pay-info .ch-body b { display: block; }
.pay-info .ch-body span { font-size: .86rem; color: var(--muted); }
/* Kartenknöpfe überall mindestens 44 px hoch */
.next-v2 .next-act .btn, .card-cta { min-height: 44px; }
#nextWrap, #listWrap, .sec-title, #freie-plaetze, #termine { scroll-margin-top: 110px; }
@media (max-width: 760px) { body.has-kidf .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 76px); } }

/* ---------- Kurskacheln: ganze Kachel ist der Link ----------
   Der Titel-Link spannt sich über die Kachel; Knöpfe („Platz sichern“) liegen darüber. */
.is-link { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.card-link:focus-visible { outline: none; }
.is-link:has(.card-link:focus-visible) { outline: 3px solid var(--pine); outline-offset: 3px; }
.is-link:hover .card-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.is-link .btn, .is-link button, .is-link .link { position: relative; z-index: 1; }
.next-title a:hover { text-decoration: none; }
.card.is-link { cursor: pointer; }
/* Fußzeile der Kurskarte: Preis und Plätze nebeneinander, bei Platzmangel untereinander, nie über den Rand */
.card-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; text-align: center; }
.card-foot > .price { flex: none; white-space: nowrap; }
.card-foot > .seats, .card-foot > .seat-txt { flex: 1 1 150px; min-width: 0; max-width: 100%; align-items: center; text-align: center; }
/* Platz-Text darf immer umbrechen, ausgewogen auf zwei Zeilen */
.seat-txt { white-space: normal; text-wrap: balance; overflow-wrap: break-word; }
.next-act .seat-txt, .session .s-act .seat-txt { text-align: center; }

/* Platz-Ampel auf der Website (keine Zahlen): grün = Plätze frei, gelb = nur noch 3 oder 2, rot = nur noch 1, ausgebucht = rot */
.seat-txt.few { color: #8a5d00; }
.seat-txt.few1 { color: #b83a2e; }
/* Team: nur Kacheln mit eigener Seite sind Links; die übrigen ohne Hover */
.card.static:hover { transform: none; box-shadow: none; }
.team-card .team-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pine); }
.team-card .team-more .icon { width: 16px; height: 16px; }
.team-head { display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.team-head .team-ph-lg { width: 132px; height: 132px; font-size: 2rem; object-fit: cover; }
@media (max-width: 520px) { .team-head { flex-direction: column; align-items: flex-start; gap: 14px; } .team-head .team-ph-lg { width: 112px; height: 112px; } }
.team-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.team-sign { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--pine); }

.prose.team-prose p, .prose.team-prose h3 { margin: 0; } .prose.team-prose h3 { margin-top: 10px; }

/* Kontaktkasten „Fragen? Meld Dich einfach.“ (gleich aufgebaut wie bei Miteinander am Deister) */
.nine-call { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.nine-call .portrait { display: block; width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; flex: none; background: var(--soft); border: 6px solid var(--paper); box-shadow: var(--shadow); }
.nine-call .c-strip { display: flex; flex-wrap: wrap; margin-top: 6px; }
.nine-call .c-item { flex: 1 1 auto; }
.nine-call .c-item b { overflow-wrap: break-word; }
@media (max-width: 600px) { .nine-call { grid-template-columns: 1fr; } .nine-call .portrait { width: 110px; } }
/* „Bitte mitbringen“ (Angebotsseite, Buchungsseite) */
.bring-box { background: var(--sun-bg); border-radius: var(--r-m); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.bring-box h3 { font-size: 1.1rem; }
ul.bring { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
ul.bring li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
ul.bring li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .55; flex: none; margin-top: .62em; }

/* Konto anlegen nach einer Gast-Buchung (Abschluss im Buchungsfenster, Buchungsseite) */
.acct-offer { background: var(--lilac-bg); border-radius: var(--r-m); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.acct-offer h3 { font-size: 1.15rem; }
.acct-offer p { margin: 0; }
ul.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
ul.perks li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
ul.perks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--lilac); }
.acct-offer-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.acct-offer-row .field { flex: 1 1 220px; min-width: 0; }
.acct-offer-row .btn { margin-top: 27px; }
@media (max-width: 520px) { .acct-offer-row .btn { margin-top: 0; width: 100%; } }
.wrap > .panel + #acctOffer, .wrap > #acctOffer + .panel { margin-top: 18px; }
/* Buchungsseite: Statuskasten ohne Inhalt (z. B. Vormerkung) nicht als leeren Rahmen zeigen */
.status-panel:not(:has(> *)) { display: none; }
.status-panel:not(:has(> *)) + .panel { margin-top: 0; }

/* ---------- Gutschein: Vorschau (Nachbau des PDFs, skaliert mit der Breite) ---------- */
.gsheet { container-type: inline-size; position: relative; background: #fff; border-radius: 16px; box-shadow: 0 2px 4px rgba(53, 59, 63, .06), 0 24px 48px -20px rgba(53, 59, 63, .35); padding: 5% 6% 6%; } /* % statt cqi: cqi am Container selbst bezöge sich auf den Bildschirm */
.gsheet-badge { position: absolute; top: 14px; left: 16px; font-size: .78rem; font-weight: 700; color: #b4441c; background: #fff0e8; border: 1px solid #ff8a5c; border-radius: 999px; padding: 2px 10px; }
.gsheet-logo { display: block; width: 28cqi; height: auto; margin: 0 auto 4cqi; }
.gcard { position: relative; background: #fff0e8; border-radius: 5.5cqi; padding: 8cqi 8cqi 6cqi; text-align: center; display: flex; flex-direction: column; align-items: center; color: #353b3f; }
.gdot { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.gdot.sun { background: #ffc93c; } .gdot.sky { background: #4fb0e8; } .gdot.rose { background: #f2709a; } .gdot.mint { background: #6cc28a; } .gdot.lilac { background: #a77bd9; } .gdot.peach { background: #ff8a5c; }
.gcard-eyebrow { font-weight: 700; font-size: 2.3cqi; letter-spacing: .04em; color: #e8683a; }
.gcard-head { font-family: var(--f-display); font-weight: 800; font-size: 6cqi; line-height: 1.15; margin-top: 2.5cqi; overflow-wrap: anywhere; }
.gcard-amt { font-family: var(--f-display); font-weight: 800; font-size: 13cqi; line-height: 1.05; color: #34843a; margin-top: 2cqi; }
.gcard-sub { font-size: 2.5cqi; color: #626a6f; margin-top: 1.5cqi; }
.gcard-greet { font-family: var(--f-hand); font-weight: 600; font-size: 4.6cqi; line-height: 1.2; margin: 4cqi 0 0; max-width: 78cqi; white-space: pre-line; overflow-wrap: anywhere; }
.gcard-draw { width: 62cqi; height: auto; margin-top: 2cqi; }
.gcard-from { font-family: var(--f-hand); font-weight: 600; font-size: 4.3cqi; color: #e8683a; margin: 3cqi 0 0; overflow-wrap: anywhere; }
.gcard-code { background: #fff; border: 1.5px solid #ff8a5c; border-radius: 3.5cqi; width: 56cqi; margin-top: 5cqi; padding: 2.2cqi 2cqi 2.6cqi; display: flex; flex-direction: column; }
.gcard-code small { font-size: 1.8cqi; font-weight: 700; color: #626a6f; }
.gcard-code b { font-family: var(--f-display); font-weight: 800; font-size: 5cqi; letter-spacing: .02em; }

/* ---------- Gutschein-Seite ---------- */
.gift-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 22px; max-width: 900px; }
/* Drei Schritte oben auf der Gutschein-Seite */
.gift-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gift-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.gift-step-no { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: #fff; background: var(--pine); }
.gift-steps li:nth-child(2) .gift-step-no { background: #2373b0; } .gift-steps li:nth-child(3) .gift-step-no { background: #b3305c; }
.gift-steps b { display: block; font-size: 1rem; }
.gift-steps span:not(.gift-step-no) { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) { .gift-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; } .gift-steps li { padding: 0; background: none; border: 0; border-radius: 0; } }
.gift-perks li { display: flex; align-items: center; gap: 6px; font-weight: 650; font-size: .95rem; }
.gift-perks .icon { color: var(--pine); width: 18px; height: 18px; }
.gift-make { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 56px; }
.gift-preview { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); max-width: 520px; width: 100%; justify-self: center; }
.gift-form h3 { font-size: 1.15rem; }
.gift-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.gift-buy .price { font-size: 1.8rem; }
.gift-occasions { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--muted); }
.gift-occasions .icon { flex: none; width: 20px; height: 20px; color: #b3305c; margin-top: 3px; }
.gift-occasions b { color: var(--ink); font-weight: 650; }
.font-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.font-pick legend { font-weight: 650; font-size: .92rem; margin-bottom: 8px; }
.font-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.font-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 8px 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff0e8; cursor: pointer; text-align: center; }
.font-opt input { position: absolute; opacity: 0; pointer-events: none; }
.font-opt .font-sample { color: var(--ink); line-height: 1.15; white-space: nowrap; }
.font-opt small { font-size: .78rem; color: var(--muted); font-weight: 650; }
.font-opt:has(input:checked) { border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 22%, transparent); }
.font-opt:has(input:focus-visible) { outline: 3px solid var(--pine); outline-offset: 2px; }
.gift-peek { display: none; align-items: center; gap: 6px; align-self: flex-start; font-weight: 700; }
.gift-preview { scroll-margin-top: 90px; }
@media (max-width: 900px) { .gift-make { grid-template-columns: 1fr; gap: 24px; } .gift-preview { position: static; max-width: 440px; } .gift-peek { display: inline-flex; } }

/* ---------- Startseite: Gutschein-Abschnitt ---------- */
.band-gift { background: var(--rose-bg); }
.gift-teaser { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; }
.gift-teaser-card { transform: rotate(-3deg); max-width: 360px; width: 100%; justify-self: center; }
@media (max-width: 760px) { .gift-teaser { grid-template-columns: 1fr; gap: 28px; } .gift-teaser-card { max-width: 300px; order: 2; } } /* am Handy erst Überschrift und Text, dann das Beispielbild */

/* Verwaltung: Reiter in einer Zeile, Einstellungen & E-Mails klein rechts; auf schmalen Bildschirmen wischbar ohne Balken */
.tabbar.admin-nav { justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabbar.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav-main, .admin-nav-more { display: flex; gap: 2px; }
.tabbar.admin-nav a { padding: 12px 13px; margin-bottom: -1px; }
.adm-sec { color: var(--muted); font-weight: 600; }
.roster-note { color: var(--muted); font-style: italic; } .roster-note svg { width: 13px; height: 13px; vertical-align: -2px; }
.adm-sec[aria-current="page"] { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.tabbar .admin-nav-more a.sec { padding: 10px 10px 12px; font-size: .86rem; font-weight: 600; }
.tabbar .admin-nav-more a.sec .icon { width: 16px; height: 16px; }
@media (max-width: 1120px) { .tabbar .admin-nav-more a.sec span { display: none; } .tabbar .admin-nav-more a.sec { padding-inline: 11px; } }
/* Handy: alle Bereiche als Kachelraster (Symbol über Text), nichts versteckt */
@media (max-width: 760px) {
  .tabbar.admin-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; border-bottom: 0; overflow: visible; }
  .admin-nav-main, .admin-nav-more { display: contents; }
  .tabbar.admin-nav a, .tabbar .admin-nav-more a.sec { flex-direction: column; gap: 4px; justify-content: center; padding: 9px 4px; margin: 0; border: 1px solid var(--line); border-radius: 12px; font-size: .7rem; font-weight: 700; text-align: center; white-space: nowrap; hyphens: manual; letter-spacing: -.01em; line-height: 1.15; min-width: 0; }
  .tabbar .admin-nav-more a.sec span { display: inline; }
  .tabbar.admin-nav a[aria-current] { background: color-mix(in srgb, var(--pine) 8%, var(--paper)); border-color: var(--pine); }
}
@media (max-width: 380px) { .tabbar.admin-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Epassi (HanseFit): Text + Foto, Vorteil groß, Kurse als Chips, zwei Familien-Karten */
.ep-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 36px; }
.ep-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ep-logo { width: clamp(150px, 22vw, 210px); height: auto; display: block; margin-bottom: 6px; }
.ep-badge { display: flex; gap: 18px; align-items: center; background: var(--sun-bg); border-radius: var(--r-l); padding: 18px 20px; }
.ep-badge > b { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--pine); line-height: 1; flex: none; }
.ep-badge h3 { margin-bottom: 4px; }
.ep-photo { margin: 0; }
.ep-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow); display: block; max-height: 560px; }
.ep-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.ep-courses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ep-courses .tag { text-decoration: none; font-size: .92rem; padding: 7px 12px; }
.ep-courses .tag:hover { filter: brightness(.96); text-decoration: underline; text-underline-offset: 3px; }
.ep-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ep-card { gap: 12px; justify-content: flex-start; } .ep-card > * { flex: none; } .ep-card .btn { margin-top: auto; }
.ep-card .illu { width: 56px; height: 56px; }
.ep-big { font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--pine); line-height: 1; }
@media (max-width: 860px) { .ep-grid, .ep-more { grid-template-columns: 1fr; } .ep-photo { max-width: 420px; margin-inline: auto; } }

/* Seitenkopf: Einleitung unter der Überschrift, abgesetzt mit einem kurzen Strich in der Akzentfarbe.
   Ab 760 px steht jeder Satz der Einleitung in einer eigenen Zeile (<br class="sb"> setzt headLines() in core.js). */
#app .page-head:not(.gift-head) .wrap > h1 + .lead { position: relative; margin-top: 14px !important; padding-top: 22px; max-width: none; text-wrap: balance; }
.page-head:not(.gift-head) .wrap > h1 + .lead::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 5px; border-radius: 99px; background: var(--pine); opacity: .85; }
@media (max-width: 759px) { .page-head .lead br.sb { display: none; } }

/* Angebotsseite: Eckdaten auf einen Blick, nur wenn der Fakten-Kasten unter die Termine rutscht (Handy/Tablet) */
.quick-facts { display: none; }
@media (max-width: 920px) {
  .quick-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 4px 0 0; font-weight: 700; color: var(--ink); }
  .quick-facts a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
  .quick-facts a .icon { width: 16px; height: 16px; transform: rotate(90deg); }
}

/* Prüfschritt: Satz direkt über „Zahlungspflichtig buchen“, solange der Kurs noch nicht sicher ist */
.foot-note { flex-basis: 100%; margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: .86rem; color: var(--st-ok); }
.foot-note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Am Handy: Footer- und Rechtslinks, Brotkrumen und Gutschein-Knopf mit Tippfläche von mindestens 44 px */
@media (max-width: 760px) {
  .foot ul { gap: 0; }
  .foot ul a, .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-legal { gap: 0 20px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
  .fc-item a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
  .btn.head-gift, .btn.head-free { min-width: 44px; justify-content: center; }
}
.drawer-head h3:focus { outline: none; } /* nur programmatisch fokussiert (Handy), Tab führt weiter zu den Feldern */

/* Zweite Preiszeile (Partner*in-Aufpreis, Kassenleistung) */
.price .price-extra { display: block; font-family: var(--f-body); font-weight: 600; font-size: .78rem; color: var(--muted); white-space: normal; }
.check-note { display: block; }
/* Links in hellblauen Hinweisen: etwas dunkleres Grün (≥ 4,5:1 auf Himmelblau) */
.notice.info a:not(.btn) { color: #276d32; }
/* Am Handy: Kontakt auf der Startseite, Konto-Links in der Buchung und Hinweis-Links mit großer Tippfläche */
@media (max-width: 760px) {
  .c-item a, .notice a:not(.btn), .drawer-body .small > .link, .voices-foot a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
  .voices-foot a { padding-block: 0; }
}
#kidf-h:focus { outline: none; } /* nur programmatisch fokussiert (Handy) */

/* Am Handy kürzer: Versprechen neben Nines Brief, „Was passt gerade zu Dir?“ und „Das sagen Familien“ nur ab Tablet-Breite */
@media (max-width: 760px) { .only-wide { display: none !important; } }
/* Am Handy fehlen die Abschnitte dazwischen: „Fragen? Meld Dich einfach.“ folgt direkt auf den rosa Gutschein-Abschnitt, deshalb dort hell */
@media (max-width: 760px) { .band-gift + .only-wide + .band-warm { background: var(--paper); } }

/* Zahlungsart wählen (vor Stripe), Lastschrift voreingestellt */
.pay-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pay-choice legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.pay-opt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.pay-opt:has(input:checked) { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine) inset; }
.pay-opt > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-opt.off { opacity: .55; cursor: not-allowed; }

/* Verwaltung → Buchungen: Status-Kacheln, ein Klick filtert die Liste */
.status-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.status-tile { padding: 16px 18px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.status-tile b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.status-tile > span { overflow-wrap: anywhere; }
.status-tile:hover { border-color: var(--pine); }
.status-tile[aria-pressed="true"] { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine) inset; background: var(--soft); }
