/* Selbst gehostete Schriften (SIL Open Font License) – kein Abruf von Google-Servern, DSGVO-freundlich */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/shared/fonts/caveat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/shared/fonts/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/shared/fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/shared/fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/shared/fonts/nunitosans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/shared/fonts/nunitosans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Handschriften für Unterschriften: jede Person schreibt in ihrer eigenen Hand (Zuordnung in shared/core.js → sigClass) */
@font-face { font-family: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/patrickhand-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'La Belle Aurore'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/labelleaurore-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'La Belle Aurore'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/labelleaurore-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nothing You Could Do'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/nothingyoucoulddo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Herr Von Muellerhoff'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/herrvonmuellerhoff-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Herr Von Muellerhoff'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/herrvonmuellerhoff-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Reenie Beanie'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/reeniebeanie-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Over the Rainbow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/overtherainbow-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Over the Rainbow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/overtherainbow-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Indie Flower'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/indieflower-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Dawning of a New Day'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/dawningofanewday-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Zeyada'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/zeyada-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Zeyada'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/zeyada-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mrs Saint Delafield'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/mrssaintdelafield-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mrs Saint Delafield'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shared/fonts/mrssaintdelafield-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 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; align-items: center; }
.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 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; gap: 4px; 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: 1020px) {
  .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; align-items: stretch; 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; }
/* Schon dabei: ruhiger grüner Hinweis statt Buchungsknopf, gleiche Größe (führt zum eigenen Buchungsstand) */
.btn.is-mine { background: var(--st-ok-bg); color: var(--st-ok); gap: 6px; }
.btn.is-mine:hover { box-shadow: inset 0 0 0 2px var(--st-ok); }
.btn.is-mine .icon { width: 1.1em; height: 1.1em; flex: none; }
.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 ---------- */
/* Abstand der Abschnitte: zwischen zwei Abschnitten 96 px (Laptop) bzw. 72 px (Handy), vorher 144 px (2026-10-11) */
.band { padding-block: 48px; }
@media (max-width: 600px) { .band { padding-block: 36px; } }
.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: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; 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: 32px 18px; }
.page-head .crumbs { margin-bottom: 8px; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); } /* so groß wie auf den Angebotsseiten (2026-10-11) */
@media (max-width: 600px) { .page-head { padding-top: 20px; } }
.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; }
.fchips { display: contents; } /* Handy: eigene, waagerecht wischbare Zeile */
/* Übersichtsseiten: „Wann ist was?“ und „Was passt zu Deinem Kind?“ nebeneinander statt untereinander (2026-10-11) */
.head-hints { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 14px; }
.head-hints .kid-line { margin: 0; }
/* Laptop: Hinweise rechts in der Zeile der Brotkrumen (nur die Links, Erklärung beim Drüberfahren), damit die Karten samt Knopf gleich im Bild sind (2026-10-11) */
@media (min-width: 900px) {
  .page-head .wrap { position: relative; }
  .page-head .head-hints { position: absolute; top: -1px; right: 20px; margin: 0; gap: 24px; }
  .page-head .head-hints .kid-more { display: none; }
}
@media (max-width: 600px) {
  .head-hints { gap: 6px 20px; }
  .head-hints .kid-more { display: none; } /* am Handy nur die Links; die Erklärung steht im Fenster dahinter */
  .filters { margin-top: 16px; }
  .fchips { display: flex; gap: 8px; flex: 0 0 calc(100% + 40px); overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .searchbox { flex-basis: 100%; max-width: none; }
}
.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"], .fchip[aria-current="page"] { 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; }
/* Angebotsseite: Brotkrumen in der linken Spalte, damit der Eckdaten-Kasten auf ihrer Höhe beginnt (Abstände wie vorher mit .page-head) */
.detail-top { padding-top: 32px; }
@media (max-width: 600px) { .detail-top { padding-top: 20px; } }
.detail-main > .crumbs { margin-bottom: 14px; }
.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: 20px 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: 8px 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; }
/* Leitung rechts in den Eckdaten: kleines Foto vor dem Namen (groß nur einmal unten bei „Mit dabei“, 2026-10-11) */
.fact-lead { display: flex; align-items: flex-start; gap: 8px; }
.fact-lead > span { padding-top: 4px; } /* Name auf Höhe der Fotomitte, Rolle darunter */
.fact-lead + .fact-lead { margin-top: 6px; }
.fact-lead .lead-av { width: 30px; height: 30px; font-size: .7rem; }
.fact-lead > a { flex: none; line-height: 0; }
.fact-lead-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; } /* wie .wa-link */
.fact-lead-link:hover { text-decoration-color: currentColor; }
.facts .price { font-size: 1.8rem; }
.price-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.price-unit { font-size: .92rem; font-weight: 600; color: var(--muted); }
@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; }
/* Sprungziel aus dem Wochenplan: unter der Kopfzeile ankommen, kurz grün umrandet */
.session[id] { scroll-margin-top: 150px; transition: box-shadow .6s ease; }
.session.is-target { box-shadow: 0 0 0 3px var(--pine); }
.session .when, .session .s-mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.session .when b { font-size: 1.05rem; }
.session .when .keep { white-space: nowrap; } /* „Fr 16:00–20:00 Uhr &“ bleibt eine Zeile */
.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; }
/* Buchungsseite: Terminkarte ohne Knopf */
.session.session-static { background: var(--soft); border-color: transparent; }
@container (min-width: 461px) { .session.session-static { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); } } /* schmaler: Handy-Aufteilung wie auf der Angebotsseite */
/* Schmal (Handy, Tablet hochkant): Ampel links, Knopf rechts nur so breit wie sein Text, wie die Fußzeile der Angebotskarten
   (2026-10-11, vorher Knopf über die volle Breite: bei mehreren Terminen wuchtig, viel Scrollen) */
@container (max-width: 620px) {
  .session { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); }
  .session .s-act { grid-column: 1 / -1; flex-flow: row wrap; justify-content: space-between; align-items: center; gap: 8px 12px; text-align: left; padding-top: 10px; border-top: 1px dashed var(--line); }
  .session .s-act .seats { flex: 1 1 0; min-width: 5rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; } /* wird erst schmaler (zweizeilig), bevor der Knopf umbricht */
  .session .s-act .seat-txt, .session .s-act .seat-min { text-align: left; align-self: flex-start; justify-content: flex-start; }
  .session .s-act .btn { width: auto; flex: none; margin-left: auto; padding-inline: 18px; } /* passt er nicht daneben (320 px, „Auf der Warteliste“), rutscht er rechtsbündig darunter */
}
/* Handy: Kalenderblatt, Wochentag + Uhrzeit, Stand + Preis in einer Zeile; darunter Ampel und Knopf (2026-10-11, Karte 232 → 155 px hoch).
   Wochentag und Uhrzeit so breit wie nötig (nie umbrechen), Stand und Preis teilen sich den Rest und dürfen zweizeilig werden */
@container (min-width: 300px) and (max-width: 460px) {
  .session:not(.is-long) { grid-template-columns: 52px minmax(7rem, max-content) minmax(0, 1fr); gap: 8px 12px; } /* feste Mindestbreite: Spalten stehen über alle Termine untereinander */
  .session:not(.is-long) .datebox { width: 52px; }
}
/* Zwei Tage mit eigenen Zeiten (is-long) und sehr schmal: Kalenderblatt mit Wochentag und Uhrzeit darunter, rechts Stand und Preis */
@container (max-width: 460px) {
  .session.is-long { grid-template-columns: minmax(min-content, 1fr) minmax(0, 1fr); align-items: start; } /* linke Spalte mindestens so breit wie die längste Zeitangabe („Fr 16:00–20:00 Uhr &“) */
  .session.is-long .datebox { grid-column: 1; grid-row: 1; width: 60px; }
  .session.is-long .when { grid-column: 1; grid-row: 2; }
  .session.is-long .s-mid { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@container (max-width: 299px) {
  .session { grid-template-columns: minmax(min-content, 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; }
/* Status als Knopf (Kursliste): sieht aus wie der Status, öffnet die Buchung */
.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; } }
/* position: relative hält unsichtbare Vorlese-Texte (.sr-only) im Scrollbereich, sonst machen sie die Seite am Handy breiter */
.tbl-wrap { overflow: auto; max-height: calc(100dvh - 110px); position: relative; }
/* 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; }
/* Kursbereiche: Abschnitt unter den Kursen (Ortsbezug, Einzugsgebiet) */
.cat-about { padding-bottom: 72px; margin-top: -24px; }
.cat-about .prose { border-top: 1px solid var(--line); padding-top: 32px; }
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: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 6px; }
.gift-amounts .btn { min-width: 0; padding: 0 4px; height: 36px; font-size: .9rem; }
.gift-amounts .input { height: 36px; min-height: 36px; padding: 0 10px; font-size: .9rem; border-radius: 999px; }
@container gift (max-width: 520px) { .gift-amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gift-amounts .input { grid-column: 1 / -1; } }

/* ---------- 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 48px; background: linear-gradient(180deg, var(--bg) 0%, var(--peach-bg) 160%); }
@media (max-width: 600px) { .hero3 { padding-bottom: 36px; } } /* wie .band */
.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 h1 .h1-sub { display: block; margin-top: 8px; font-size: .5em; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.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: 30ch; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; } /* vorher bis 2rem, wirkte zu groß (2026-10-11) */
.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; }
/* Raster mit festen Spalten: Eckdaten oben und Stand unten stehen exakt untereinander */
.course-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px 28px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
@media (min-width: 901px) { .course-status .cs-wide { grid-column: span 2; } } /* „Noch 4 bis der Kurs sicher stattfindet“ in einer Zeile */
@media (max-width: 900px) { .course-status { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .course-status { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.cs-item { display: flex; flex-direction: column; gap: 3px; }
.cs-item .tl-date { margin-top: 3px; } .cs-item .tl-date b { font-size: 1rem; }
.cs-item .lead-chip { margin-top: 2px; }
.cs-link { align-self: flex-start; text-align: left; }
/* Trennlinie zwischen Eckdaten (oben) und Stand (unten) */
.cs-split { grid-column: 1 / -1; height: 1px; background: var(--line); }
.cs-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }


/* 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: Startspalte wie auf der Angebotsseite (Kalenderblatt + Wochentag + Uhrzeit) */
.tl-date { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.tl-date .datebox { width: 56px; flex: none; }
.tl-date .keep { display: block; } /* „Fr 16:00–20:00 Uhr &“ / „Sa 10:00–15:00 Uhr“ untereinander statt einer sehr breiten Zeile */
.run-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--st-ok-bg); color: var(--st-ok); vertical-align: -4px; margin-left: 4px; }
.run-mark svg { width: 15px; height: 15px; }
.tl-min { margin-top: 4px; display: flex; justify-content: flex-end; } .tl-min .min-wait { align-items: flex-end; font-size: .74rem; }
.tl-min .min-ok { white-space: nowrap; } /* „findet statt“ in einer Zeile */
.seat-cnt { display: inline-block; padding: 3px 9px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.seat-cnt.full { background: var(--st-res-bg); color: var(--st-res); }
.seat-cnt.over { background: var(--danger); color: #fff; }
/* 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; } /* Preis und Tage normal, nicht fett (2026-10-12) */
.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; }
.fit-badge.is-no { color: var(--muted); background: var(--soft); }
.fit-badge.is-hold { visibility: hidden; } /* Platzhalter: Karten ohne Altersbereich bleiben in der Reihe auf gleicher Höhe */
/* Passt nicht zum Alter: nur Bild, Foto und Datum zurücknehmen, Text und Knopf bleiben gut lesbar */
/* Passt nicht zum Alter: Symbol und Datum blasser, Fotos der Kursleitung bleiben farbig (graue Personen wirken wie ein Fehler) */
.card.is-unfit .illu, .next.is-unfit .illu, .next.is-unfit .datebox { opacity: .55; filter: grayscale(.5); }
.card.is-unfit, .next.is-unfit { border-style: dashed; }
/* Gruppen in der Kursliste bei gewähltem Alter: wie die Jahres-Trenner (Text links, Linie bis zum Rand) */
.group-sep { margin: 40px 0 18px; color: var(--pine); }
.group-sep::after { border-top-color: var(--mint); }
.group-sep.is-other { color: var(--muted); } .group-sep.is-other::after { border-top-color: var(--line); }
.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; }
.of-sec .fit-edit { flex-wrap: nowrap; gap: 6px; }
.of-sec .fit-edit input.input { flex: 0 0 64px; min-width: 0; padding-left: 10px; padding-right: 6px; }
.of-sec .fit-edit select.input { flex: 1 1 0; min-width: 0; }
.of-sec .fit-edit > span { flex: none; }

/* 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, #warteliste { 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; }
/* Angebotskarte kompakt (2026-10-11): Start und Plätze in einer Zeile darüber, unten Preis links und Knopf rechts,
   damit der Knopf auf dem Laptop gleich sichtbar ist (vorher Preis + Plätze, Knopf in voller Breite darunter) */
.card-when { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.card-when > .seats { margin-left: auto; align-items: flex-end; text-align: right; }
.card-when > .seats .seat-txt { text-align: right; }
.card-foot { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.card-foot > .price { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.card-foot > .card-cta { width: auto; flex: none; margin-top: 0; white-space: nowrap; padding-inline: 18px; }
.card .kasse-note { display: block; margin-top: auto; padding-top: 4px; font-weight: 600; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.card .kasse-note > .keep { display: block; } .card .kasse-note > br { display: none; }
.card .kasse-note + .card-foot { margin-top: 0; }
/* Fußzeile immer gleich hoch, so hoch wie ein zweizeiliger Preis („110 € / + 250 € für Partner*in“, 50 px) plus Linie und Abstand:
   Linien und Knöpfe liegen in jeder Reihe und auf allen Karten gleich (2026-10-11) */
.card .card-foot { min-height: 61px; }
/* 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; }
.team-card:hover .team-more { background: #eceae7; box-shadow: inset 0 0 0 1px #dedbd6; }
/* Team auf „Über uns“: Spaltenzahl aus views.js (teamCols), damit unten nie jemand allein steht */
.team-grid { --n: var(--c4, 3); display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; } /* Spaltenzahl je Breite, unvollständige letzte Reihe mittig */
.team-grid > * { flex: 0 0 calc((100% - (var(--n) - 1) * 18px) / var(--n)); min-width: 0; }
@media (max-width: 1099px) { .team-grid { --n: var(--c3, 3); } }
@media (max-width: 760px) { .team-grid { --n: var(--c2, 2); } }
@media (max-width: 520px) { .team-grid { --n: 1; } }
.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; }
/* Unterschrift in der eigenen Handschrift (Schrift aus sig-hand/sig-N in shared/extra.css, dieselbe wie bei Miteinander) */
.team-sign { --sig-size: 2.2rem; color: var(--pine); margin-top: 8px !important; transform: rotate(-2deg); transform-origin: left; }

.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-Seite: unauffälliger Zugang zur Verwaltung (nur für das Team) */
.team-login { margin: 0; padding-inline: 4px; }
.team-login a { color: var(--muted); }
.team-login a:hover { color: var(--ink); }

/* 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: #8a3412; }
.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: #8a3412; 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: var(--gpw, auto) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 56px; }
/* Breite setzt fitGift (views.js) nach der freien Höhe; das hier ist die Vorgabe ohne JavaScript */
.gift-preview { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); width: min(440px, calc((100dvh - 120px) / 1.5)); 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: 799px) { .gift-make { grid-template-columns: 1fr; gap: 24px; } .gift-preview { position: static; width: 100%; max-width: 400px; justify-self: center; } .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 */

/* Buchungsliste: feste Spalten, damit jede Ansicht gleich aussieht */
.bk-tbl { table-layout: fixed; min-width: 860px; width: 100%; }
.bk-tbl th, .bk-tbl td { padding-inline: 8px; }
.bk-tbl td { overflow-wrap: anywhere; }
/* Zeilen höchstens zweizeilig: lange Texte in einer Zeile mit Auslassung */
.bk-tbl .one { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-tbl .nowrap { white-space: nowrap; }
/* Buchungsnummer öffnet die Details */
.bk-open { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--pine); cursor: pointer; }
.bk-open svg { width: 15px; height: 15px; transition: transform .15s; }
.bk-open:hover { text-decoration: underline; text-underline-offset: 3px; } .bk-open:hover svg { transform: translateX(2px); }
.bk-open:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; border-radius: 4px; }
/* Rabatt-Spalte: Beträge und Epassi-Logo untereinander */
.disc-cell { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; white-space: nowrap; }
.fee-wait { display: inline-grid; color: var(--muted); cursor: help; } .fee-wait svg { width: 15px; height: 15px; }
.ep-mini { height: 11px; width: auto; display: inline-block; vertical-align: middle; cursor: help; }
/* Zahlart-Bildchen */
.pay-pic { display: inline-flex; align-items: center; gap: 4px; cursor: help; }
.pay-b { display: inline-flex; align-items: center; gap: 2px; height: 22px; min-width: 34px; justify-content: center; padding: 0 6px; border-radius: 5px; font: 700 11px/1 var(--f-body); letter-spacing: .01em; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.pay-b svg { width: 15px; height: 15px; }
.pay-apple { background: #000; color: #fff; border-color: #000; } .pay-apple svg { width: 12px; height: 12px; margin-top: -2px; }
.pay-google b { font-weight: 800; background: linear-gradient(90deg, #4285f4 0 30%, #ea4335 30% 55%, #fbbc05 55% 75%, #34a853 75%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-right: 2px; }
.pay-amazon { position: relative; background: #232f3e; color: #fff; border-color: #232f3e; padding-bottom: 3px; }
.pay-amazon i { position: absolute; left: 7px; right: 7px; bottom: 3px; height: 4px; border-bottom: 2px solid #ff9900; border-radius: 0 0 50% 50%; }
.pay-wero { background: #fff48d; color: #1d1d1b; border-color: #e6d95a; font-weight: 800; letter-spacing: -.01em; }
.pay-sepa { background: #10298e; color: #fff; border-color: #10298e; font-style: italic; }
.pay-open, .pay-plain { color: var(--muted); }
.pay-wait { color: var(--st-res); display: inline-grid; } .pay-wait svg { width: 14px; height: 14px; }

/* 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: 12px !important; padding-top: 18px; 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 (Kategorien): „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); } }
/* … und ohne Kästen um Telefon und E-Mail: auf hellem Grund wären sie unsichtbar und wirkten nur wie Leerraum */
@media (max-width: 760px) { .nine-call .c-strip { gap: 18px; margin-top: 10px; } .nine-call .c-item { padding: 0; background: none; border: 0; } }

/* 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-Umschalter über der Buchungsliste: schmale Leiste statt großer Kacheln, ab Laptop über die ganze Breite (2026-10-11).
   Aufschlüsselung („2× Zahlung offen“) in zweiter Zeile; mit Neuem („+1“): hellgrün hinterlegt, Zahl als grünes Abzeichen */
.status-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
/* Zahl links, über alle Textzeilen senkrecht mittig; Text (Bezeichnung, darunter die Aufschlüsselung) rechts daneben, linksbündig (2026-10-11) */
.status-tile { position: relative; padding: 8px 12px; min-height: 48px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-content: start; column-gap: 8px; text-align: left; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 600; color: inherit; min-width: 0; }
.status-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.status-tile .tile-n { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; min-width: 1ch; text-align: center; }
.status-tile .tile-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#app .status-tile span { hyphens: manual; -webkit-hyphens: manual; } /* Bezeichnungen nie mitten im Wort trennen */
.status-tile .tile-main { line-height: 1.25; }
.status-tile .tile-sub { font-size: .78rem; font-weight: 700; line-height: 1.25; color: var(--st-res); }
.status-tile:hover { border-color: var(--pine); }
.status-tile .tile-new { position: absolute; top: -9px; right: -6px; font-size: .76rem; font-weight: 800; line-height: 1; color: var(--on-pine); background: var(--pine); border: 2px solid var(--bg); border-radius: 999px; padding: 4px 7px; white-space: nowrap; box-shadow: 0 2px 6px rgb(0 0 0 / .12); }
.status-tile.has-new { background: var(--mint-bg); border-color: var(--mint); }
.status-tile[aria-pressed="true"] { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine) inset; background: var(--soft); }
.status-tile.has-new[aria-pressed="true"] { background: var(--mint-bg); }
/* Handy: Schrift, Rundung und Abstände wie die Bereichs-Kacheln darüber, zwei Spalten (2026-10-11) */
@media (max-width: 599px) {
  .status-tiles { gap: 6px; }
  .status-tile { padding: 7px 10px; min-height: 40px; border-radius: 12px; column-gap: 7px; font-size: .7rem; font-weight: 700; letter-spacing: -.01em; }
  .status-tile .tile-n { font-size: 1.05rem; }
  .status-tile .tile-main { line-height: 1.2; }
  .status-tile .tile-sub { font-size: .64rem; line-height: 1.2; }
  .status-tile .tile-new { top: -8px; right: -5px; font-size: .66rem; padding: 3px 6px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .status-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .status-tile:last-child:nth-child(odd) { grid-column: auto; }
  .status-tile:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .status-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .status-tile { padding: 8px 10px; grid-template-columns: auto auto; justify-content: center; }
  .status-tile:last-child:nth-child(odd) { grid-column: auto; }
}
/* Buchungsliste: Status als Symbol im farbigen Kreis (Farben wie die bisherigen Status-Pillen) */
.st-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; cursor: help; }
.st-ico svg { width: 15px; height: 15px; }
.st-ico.st-reserviert { background: var(--st-res-bg); color: var(--st-res); }
.st-ico.st-bezahlt { background: var(--st-paid-bg); color: var(--st-paid); }
.st-ico.st-gebucht { background: var(--st-ok-bg); color: var(--st-ok); }
.st-ico.st-warteliste, .st-ico.st-anfrage { background: var(--mint-bg); color: var(--pine); }
.st-ico.st-storniert { background: var(--st-x-bg); color: var(--st-x); }
.bk-tbl th.center, .bk-tbl td.center, .roster th.center, .roster td.center { text-align: center; }
/* Buchungsdetails (Verwaltung): Kopf, zwei Karten Kund*in | Zahlung, Hinweise, Aktionen, Verlauf */
.bkd { padding: 24px 26px 20px; font-size: .93rem; }
.bkd-main, .bkd-sub { display: flex; flex-direction: column; gap: 16px; }
.bkd-main[hidden], .bkd-sub[hidden] { display: none; }
.bkd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bkd-title { min-width: 0; }
.bkd-meta { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 0 0 2px; }
.bkd-meta .src-ico svg { width: 14px; height: 14px; }
.bkd-head h2 { font-size: 1.3rem; line-height: 1.2; margin: 0; }
.bkd-when { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.bkd-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.bkd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bkd-card { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bkd-name { font-weight: 700; font-size: 1.02rem; margin: 0 0 2px; display: flex; align-items: center; gap: 6px; }
.bkd-acc { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--soft); color: var(--pine); }
.bkd-acc svg { width: 14px; height: 14px; }
.bkd-line { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
a.bkd-line:hover span { text-decoration: underline; }
.bkd-line svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.bkd-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bkd-facts { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; }
.bkd-facts span { background: var(--soft); border-radius: 999px; padding: 2px 9px; font-size: .8rem; }
.bkd-sepa { margin-top: auto; padding-top: 6px; font-size: .84rem; color: var(--muted); }
.bkd-payhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.bkd-sum { gap: 4px; font-size: .88rem; }
.bkd-sum > div > span:first-child { min-width: 0; }
.bkd-sum .bkd-off { color: var(--st-ok); }
.bkd-sum .ep-mini { height: 10px; vertical-align: 0; }
.bkd-sum .tot { font-size: 1rem; padding-top: 6px; margin-top: 2px; }
.bkd-paymeta { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.bkd-paymeta a { display: inline-flex; align-items: center; gap: 4px; }
.bkd-paymeta svg { width: 13px; height: 13px; }
.bkd-notes { display: flex; flex-direction: column; gap: 6px; background: var(--soft); border-radius: var(--r-m); padding: 10px 14px; font-size: .88rem; }
.bkd-notes p { display: flex; gap: 8px; margin: 0; white-space: pre-line; }
.bkd-notes svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--muted); }
.bkd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* Umbuchen: Termine untereinander, Datum + Uhrzeit, darunter Kursnummer, Geburtsmonate, freie Plätze */
.mv-list { gap: 10px; margin: 4px 0 6px; }
/* Erstatten: Betragsfeld mit der Rechnung nach AGB daneben (auf dem Handy darunter) */
.rf-row { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: flex-end; }
.rf-row .field { width: 180px; margin: 0; }
.rf-row .rf-calc { flex: 1 1 240px; margin: 0 0 8px; line-height: 1.45; }
.mv-txt { display: flex; flex-direction: column; gap: 2px; }
.mv-txt b { font-weight: 700; }
@media (max-width: 640px) {
  .bkd { padding: 18px 16px; }
  .bkd-grid { grid-template-columns: 1fr; }
  /* Handy: Schließen-Knopf oben rechts, Status unter dem Termin, damit der Titel die volle Breite hat */
  .bkd-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .bkd-tools { display: contents; }
  .bkd-head .x-btn { grid-column: 2; grid-row: 1; }
  .bkd-head .pill { grid-column: 1; grid-row: 2; justify-self: start; }
}

/* ---------- Personenseiten /ueber-uns/<slug> ---------- */
.team-role { font-weight: 700; color: var(--pine); }
.team-lead { margin-top: 20px; max-width: 760px; }
.team-cta { margin-top: 20px; }
.team-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 48px; } /* nebeneinander, solange Platz ist */
.team-tiles.n1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.team-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.team-tile p { margin: 0; }
.team-tile-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0; }
.team-tile-h .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--mint-bg); color: var(--pine); flex: none; }
.team-olinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.team-olinks a { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--pine); text-decoration: none; border-radius: 12px; padding: 4px 8px 4px 4px; margin-left: -4px; } /* grün + Pfeil wie .team-xlink: als Link erkennbar */
.team-olinks a > span { flex: 1; min-width: 0; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--pine) 35%, transparent); text-underline-offset: 3px; }
.team-olinks a:hover { background: var(--soft); }
.team-olinks a:hover > span { text-decoration-color: currentColor; }
.team-olinks .illu { width: 34px; height: 34px; flex: none; }
.team-olinks a > .icon { width: 18px; height: 18px; flex: none; }
.team-tile-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pine); }
.team-tile-more .icon { width: 16px; height: 16px; }
.team-tile-note { margin-top: 4px !important; padding-top: 12px; border-top: 1px solid var(--line); }
.team-tile-note a { color: var(--pine); font-weight: 700; }
.team-about { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 56px; }
.team-about.solo { grid-template-columns: minmax(0, 1fr); }
.team-about .prose h2 { font-size: 1.8rem; }
.team-aside { display: flex; flex-direction: column; gap: 18px; }
.team-aside .panel + .panel { margin-top: 0; }
.team-panel h3 { font-size: 1.15rem; margin: 0 0 14px; }
.team-xlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); text-decoration: none; }
.team-xlink > span { display: flex; flex-direction: column; gap: 2px; }
.team-xlink b { color: var(--pine); }
.team-xlink:hover b { text-decoration: underline; }
.team-xlink .icon { width: 18px; height: 18px; flex: none; color: var(--pine); }
/* Persönliche Kurstexte: Raster wie .cards (3 / 2 / 1 Spalten), je Spalte kompakter Textkasten über der Kurskarte;
   Textkästen und Karten einer Reihe beginnen jeweils auf gleicher Höhe (subgrid) */
.team-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; row-gap: 28px; margin-bottom: 8px; }
.team-offer { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 12px; min-width: 0; }
.team-offer-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; }
.team-offer-text h3 { font-size: 1.1rem; margin: 0; }
.team-offer-text p { margin: 0; font-size: .95rem; line-height: 1.6; }
.team-offer-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.team-offer-more .icon { width: 16px; height: 16px; }
@media (max-width: 960px) { .team-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-offers { grid-template-columns: minmax(0, 1fr); } }
.team-end { padding: 40px 0 64px; display: flex; flex-direction: column; gap: 16px; }
.team-end p { margin: 0; }
@media (max-width: 900px) { .team-about { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
/* Angebotsseite: Kasten „Deine Kursleitung“ mit Link zur Personenseite */
.lead-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.lead-box { display: flex; flex-direction: row; gap: 16px; align-items: stretch; text-decoration: none; color: var(--ink); }
.lead-box .team-ph { width: 72px; height: 72px; font-size: 1.3rem; object-fit: cover; flex: none; }
.lead-box-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lead-box-txt .muted { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } /* kurze Vorstellung, mehr auf der eigenen Seite */
.lead-box-role { font-weight: 700; color: var(--pine); }
.lead-box-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pine); margin-top: auto; padding-top: 4px; } /* in allen Kästen auf gleicher Höhe */
.lead-box-more .icon { width: 16px; height: 16px; }
.lead-box:hover .lead-box-more { text-decoration: underline; }

/* Buchungsstatus: Verlauf. Laptop: Zeit | Status | Text in Spalten; Handy: Zeit und Status oben, Text darunter in voller Breite */
.hist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); column-gap: 16px; }
.hist li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; row-gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.hist li:first-child { border-top: 0; padding-top: 0; }
.hist-at { white-space: nowrap; }
@media (max-width: 600px) {
  .hist { grid-template-columns: max-content minmax(0, 1fr); }
  .hist li > span:nth-child(2) { justify-self: start; }
  .hist-note { grid-column: 1 / -1; }
}

/* Verwaltung, Termin anlegen/bearbeiten: kompakt, vier Spalten (2026-10-11) */
.sess-form { padding: 20px 24px; gap: 12px; }
.sess-form h2 { font-size: 1.2rem; }
.sess-form p { margin: 0; }
.sess-form .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; align-items: start; }
.sess-form .span2 { grid-column: span 2; }
.sess-form .span3 { grid-column: span 3; }
.sess-form .span4 { grid-column: 1 / -1; }
.sess-form .field { gap: 4px; }
.sess-form .field label, .sess-form .lbl { font-weight: 650; font-size: .84rem; }
.sess-form .input, .sess-form input.input[type="date"] { height: 40px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: .95rem; line-height: 1; }
.sess-form input.input[type="date"] { line-height: 36px; } /* wie Miteinander-Buchung: ohne appearance zentriert erst die Zeilenhöhe den Text (Safari/iPhone) */
.sess-form input.input[type="date"]::-webkit-datetime-edit { padding-block: 0; }
.sess-form .field .row { gap: 6px 14px; min-height: 38px; align-items: center; }
.sess-form .check { font-size: .9rem; align-items: center; }
.sess-form .check input { margin-top: 0; }
.sess-form .input:disabled { opacity: .5; }
.sess-late summary { font-weight: 650; font-size: .9rem; cursor: pointer; }
.sess-late[open] summary { margin-bottom: 8px; }
.sess-late .g4 { align-items: end; margin-bottom: 6px; }
.sess-late .sess-fixed { margin-top: 14px; }
@media (max-width: 560px) {
  .sess-form { padding: 16px; }
  .sess-form .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sess-form .span3 { grid-column: 1 / -1; }
}

/* ---------- Angebot bearbeiten (überarbeitet 2026-10-11): Abschnitte mit Kopf, Termine wie die Übersicht „Termine“ ---------- */
.of-page { padding-bottom: 40px; }
.of-form { display: flex; flex-direction: column; gap: 18px; }
.of-form > .panel + .panel { margin-top: 0; }
.of-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.of-top-r { gap: 14px; }
.of-sec { display: flex; flex-direction: column; gap: 16px; }
.of-sec-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.of-sec-head h3 { margin: 0; font-size: 1.15rem; }
.of-sec-head p { margin: 2px 0 0; }
.of-sec-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--mint-bg); color: var(--pine); display: grid; place-items: center; flex: none; }
.of-sec-ic svg { width: 18px; height: 18px; }
.of-sessions > .row { flex-wrap: wrap; gap: 10px; }
.of-sessions .tbl-wrap { margin-top: 12px; }
.of-sessions tr.is-past td { color: var(--muted); }
.of-sessions tr.is-past .datebox { opacity: .55; }
.of-sessions td { vertical-align: middle; }
.of-sessions td:nth-child(2) > b { white-space: nowrap; }
.of-sessions .tl-min { margin-top: 4px; display: flex; justify-content: flex-end; }
.of-old { margin-top: 14px; }
.of-old summary, .of-more summary { font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--muted); width: fit-content; list-style: none; display: flex; align-items: center; gap: 8px; }
.of-old summary::-webkit-details-marker, .of-more summary::-webkit-details-marker { display: none; }
.of-old summary::before, .of-more summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.of-old[open] summary::before, .of-more[open] summary::before { transform: rotate(45deg); }
.of-old[open] summary, .of-more[open] summary { margin-bottom: 12px; }
.of-sec .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: start; }
.of-sec .span2 { grid-column: span 2; }
.of-more { border-top: 1px solid var(--line); padding-top: 14px; }
.of-more > * + * { margin-top: 14px; }
.of-sec .seg { align-self: flex-start; }
.of-epassi { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 28px; background: var(--soft); border-radius: var(--r-s); padding: 14px 16px; }
.of-epassi-pct { width: 150px; }
.of-epassi > .field:last-child { flex: 1 1 260px; padding-top: 43px; } /* Häkchen mittig zum Prozentfeld */
.of-extras .label { font-weight: 650; font-size: .92rem; }
.of-checks { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.of-extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; background: var(--soft); border-radius: var(--r-s); padding: 14px 16px; }
.of-extra-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: .94rem; }
/* Schalter „Auf der Website sichtbar“ */
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 42px; height: 24px; border-radius: 999px; background: #d9d3cb; position: relative; transition: background .15s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .switch-ui { background: var(--pine); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--pine); outline-offset: 2px; }
/* Kursleitung: Fotos zum Antippen (Angebot und Termin) */
.lead-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-opt { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; min-height: 36px; }
.lead-opt:hover { border-color: #d9cfc2; }
.lead-opt[aria-pressed="false"] .lead-av { filter: grayscale(.7); opacity: .7; }
.lead-opt[aria-pressed="true"] { border-color: var(--pine); background: var(--mint-bg); }
.lead-opt .lead-av { box-shadow: none; border: 0; }
.lead-tick { display: none; color: var(--pine); }
.lead-tick svg { width: 15px; height: 15px; stroke-width: 3; }
.lead-opt[aria-pressed="true"] .lead-tick { display: inline-flex; }
.lead-opt:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
/* Speichern bleibt unten stehen */
.of-save { z-index: 5; align-self: flex-end; display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow); }
.of-save.is-dirty { position: sticky; bottom: 14px; } /* erst mit ungespeicherten Änderungen mitlaufen, sonst verdeckt er nichts */
.of-save .is-dirty { color: var(--st-res); font-weight: 700; }
@media (max-width: 760px) {
  .of-sec .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-extras { grid-template-columns: 1fr; }
  .of-epassi > .field:last-child { padding-top: 0; }
  .of-form > .panel { padding: 18px 16px; }
  .of-sec .fit-edit { display: grid; grid-template-columns: 2.2em 72px minmax(0, 1fr); gap: 8px; }
  .of-save { align-self: stretch; justify-content: space-between; }
}

/* Gutschein gestalten: Formular kompakt (2026-10-11) */
.gift-form { gap: 12px; padding: 20px 22px; container: gift / inline-size; }
.gift-form h3 + * { margin-top: -4px; }
.gift-form h3:not(:first-child) { margin-top: 6px; }
.gift-form .font-pick-grid { grid-template-columns: repeat(auto-fit, minmax(94px, 1fr)); gap: 6px; }
.gift-form .font-opt { min-height: 56px; padding: 6px 4px; }
.gift-form .font-opt small { font-size: .72rem; }
.gift-hand { border: 2px dashed var(--line); border-radius: 12px; padding: 0 12px; }
.gift-hand > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; }
.gift-hand > summary::-webkit-details-marker { display: none; }
.gift-hand > summary .icon { flex: none; width: 20px; height: 20px; color: var(--pine); }
.gift-hand > summary::after { content: "+"; margin-left: auto; font-family: var(--f-display); font-size: 1.4rem; line-height: 1; color: var(--pine); }
.gift-hand[open] > summary::after { content: "−"; }
.gift-hand[open] { padding-bottom: 12px; }
.gift-hand .drawpad > .label { display: none; } /* steht schon in der Zeile zum Aufklappen */
.gift-ship { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gift-ship .choice { padding: 7px 10px; gap: 8px; border-width: 1.5px; border-radius: 12px; }
.gift-ship .choice input { width: 16px; height: 16px; }
.gift-ship .ch-body b { font-size: .9rem; }
.gift-ship .ch-body span { font-size: .76rem; display: block; line-height: 1.3; }
.gift-ship .choice > b { font-size: .9rem; }
/* Preis und Knopf: eine ruhige Zeile */
.gift-form .gift-buy { padding-top: 10px; margin-top: 0; gap: 10px; }
.gift-form .gift-buy .price { font-size: 1.35rem; line-height: 1.1; }
.gift-form .gift-buy p { margin: 0; font-size: .76rem; }
.gift-form .gift-buy .btn { padding: 9px 18px; font-size: .95rem; }
@container gift (max-width: 380px) { .gift-ship { grid-template-columns: 1fr; } }
/* Kursliste, Warteliste: Abschnitte „Für diesen Termin“ / „Für freie Plätze & neue Termine“ in derselben Tabelle (Spalten bündig) */
.wl-tbl tr.wl-sec td { background: var(--soft); padding-top: 10px; padding-bottom: 10px; white-space: normal; }
.wl-sec-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.wl-tbl td:last-child { text-align: right; } /* „Öffnen“ bündig mit „Vorgemerkte informieren“ */
/* „Für freie Plätze & neue Termine vormerken“: darf auf dem Handy umbrechen statt überzustehen */
.wait-all-btn { white-space: normal; max-width: 100%; text-align: center; }

/* ---------- Verwaltung als App-Oberfläche (js/webapp.js, admin.js; 2026-10-16) ----------
   Immer unter /verwaltung (Klasse adm-shell, auch im Browser): kein Website-Kopf und -Fuß.
   Laptop ab 1100 px Menü links mit Text, Tablet nur Symbole, Handy Leiste unten mit „Mehr“. */
:root { --side-w: 0px; }
.adm-side, .app-top, .app-tabbar, .app-back { display: none; }
html.is-app body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
html.adm-shell :is(.topbar, .foot, .skip) { display: none; }
html.adm-shell body { min-height: 100dvh; padding-left: var(--side-w); }
html.adm-shell .admin-head { padding-top: calc(env(safe-area-inset-top, 0px) + 28px); }
html.adm-shell .wrap { max-width: 1280px; }

/* Kopf im Inhalt: Überschrift einzeilig mit „Neu laden“, Einleitung im festen Platz (höchstens 2 Zeilen) */
.admin-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-head .admin-h1 { min-width: 0; flex: 1 1 auto; font-size: clamp(1.8rem, 3.4vw, 2.4rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-lead { margin-top: 6px; font-size: 1rem; line-height: 1.5; height: 3em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 80ch; }
.app-reload { position: relative; width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.app-reload:hover { border-color: var(--ink); }
.app-reload::after { content: ''; position: absolute; inset: -2px; } /* Tippfläche 44 px */
.app-reload .icon { width: 19px; height: 19px; }
.app-reload.is-spinning .icon { animation: app-spin .8s linear infinite; }
@keyframes app-spin { to { transform: rotate(360deg); } }

/* Menü links */
@media (min-width: 761px) {
  html.adm-shell:has(.adm-side) { --side-w: 248px; }
  .adm-side { display: flex; flex-direction: column; gap: 6px; position: fixed; inset: 0 auto 0 0; z-index: 45; width: var(--side-w); padding: calc(env(safe-area-inset-top, 0px) + 20px) 14px 16px; overflow-y: auto; background: var(--paper); border-right: 1px solid var(--line); }
  /* Oben links der Herzbaum aus dem Logo (die kleine Unterzeile des ganzen Logos wäre hier nicht lesbar), daneben „Deisterbaby / Verwaltung“; Tablet nur der Baum */
  .adm-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; text-decoration: none; font: 800 1.3rem/1.05 var(--f-display); }
  .adm-brand img { flex: none; width: 52px; height: 52px; }
  .adm-brand small, .adm-user-name small { display: block; margin-top: 2px; font: 700 .68rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }
  .adm-menu { display: flex; flex-direction: column; gap: 2px; }
  .adm-menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--muted); font-weight: 700; font-size: .96rem; text-decoration: none; transition: background-color .15s, color .15s; }
  .adm-menu a .icon { flex: none; width: 20px; height: 20px; }
  .adm-menu a:hover { background: var(--soft); color: var(--ink); }
  .adm-menu a[aria-current] { background: color-mix(in srgb, var(--pine) 11%, transparent); color: var(--pine); }
  .adm-menu-more { margin-top: auto; padding-top: 16px; }
  .adm-menu-h { padding: 0 12px 6px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .adm-user { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 4px 0 8px; border-top: 1px solid var(--line); }
  .adm-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pine); color: var(--on-pine); font: 800 1rem/1 var(--f-display); }
  .adm-user-name { min-width: 0; flex: 1; font-weight: 700; font-size: .95rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .adm-logout { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
  .adm-logout:hover { background: var(--soft); color: var(--danger); }
  .adm-logout .icon { width: 20px; height: 20px; }
}
/* Tablet: schmale Leiste nur mit Symbolen (Name beim Drüberfahren) */
@media (min-width: 761px) and (max-width: 1099px) {
  html.adm-shell:has(.adm-side) { --side-w: 76px; }
  .adm-side { padding-inline: 12px; align-items: stretch; }
  .adm-brand { justify-content: center; padding-inline: 0; }
  .adm-brand > span, .adm-menu a span, .adm-menu-h, .adm-user-name { display: none; }
  .adm-menu a { justify-content: center; padding-inline: 0; }
  .adm-user { flex-direction: column; padding: 12px 0 0; }
}

/* Handy: Marke oben, Leiste unten (nur Verwaltung mit allen Bereichen) */
@media (max-width: 760px) {
  html.adm-shell .admin-head { padding-top: calc(env(safe-area-inset-top, 0px) + 12px); }
  html.adm-shell .app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
  .admin-lead { display: none; }
  /* Schwebende Leiste wie in der Revolut-App: abgerundet, leicht durchscheinend, rechts der Pfeil fürs ganze Menü */
  html.adm-shell .app-tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 46px; gap: 2px; position: fixed; left: 10px; right: 10px; bottom: max(8px, calc(env(safe-area-inset-bottom, 0px) - 14px)); z-index: 50; height: 64px; padding: 6px; border: 1px solid var(--line); border-radius: 30px; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 12px 34px -14px rgba(15, 25, 20, .45); }
  .app-tabbar :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 2px; border: 0; border-radius: 24px; background: none; color: var(--muted); font: 700 .68rem/1.15 var(--f-body); letter-spacing: -.01em; text-decoration: none; cursor: pointer; -webkit-user-select: none; user-select: none; transition: background-color .2s, color .2s; }
  .app-tabbar :is(a, button) span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-tabbar .icon { width: 23px; height: 23px; }
  .app-tabbar :is([aria-current], [data-current], [aria-expanded="true"]) { color: var(--pine); background: color-mix(in srgb, var(--pine) 13%, transparent); }
  .app-tabbar :is(a, button):active { background: color-mix(in srgb, var(--ink) 8%, transparent); }
  .app-tabbar .app-tab-more { color: var(--ink); }
  html.adm-shell #app:has(.app-tabbar) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
  html.adm-shell:has(.app-tabbar) .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); }
  html.adm-shell:has(.app-tabbar) .of-save.is-dirty { bottom: calc(env(safe-area-inset-bottom, 0px) + 88px); }
}
.app-brand { display: inline-flex; align-items: center; gap: 8px; font: 800 1.15rem/1.05 var(--f-display); }
.app-brand img { flex: none; width: 44px; height: 44px; }
.app-brand small { display: block; margin-top: 2px; font: 700 .66rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }

/* Anmeldung: Karte mittig mit App-Symbol */
html.adm-shell .login-wrap { min-height: 100dvh; display: grid; align-content: center; padding-block: calc(env(safe-area-inset-top, 0px) + 24px) calc(env(safe-area-inset-bottom, 0px) + 24px); }
.app-login-mark { border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow); margin-bottom: 6px; }

/* „Mehr“: Blatt von unten (am Laptop mittig) */
.app-more { width: min(100%, 520px); max-width: 100%; margin: auto auto 0; padding: 6px 18px calc(env(safe-area-inset-bottom, 0px) + 16px); border: 0; border-radius: 24px 24px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -12px 40px rgba(15, 25, 20, .18); }
.app-more::backdrop { background: rgba(15, 25, 20, .45); }
.app-more[open] { animation: app-sheet .22s ease-out; }
@keyframes app-sheet { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 761px) { .app-more { margin: auto; border-radius: var(--r-l); padding-bottom: 16px; } }
.app-more-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 4px; }
.app-more-me { display: flex; align-items: center; gap: 12px; }
.app-more-me .adm-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pine); color: var(--on-pine); font: 800 1.1rem/1 var(--f-display); }
.app-more-me > span:last-child { display: grid; line-height: 1.2; }
.app-more-me strong { font: 800 1.15rem/1.2 var(--f-display); }
.app-more-me small { font: 700 .66rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }
.app-more-h { margin: 14px 0 8px; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* Kacheln: drei je Reihe, alle gleich hoch */
.app-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-tile { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 84px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); text-decoration: none; font-weight: 700; font-size: .85rem; text-align: center; color: var(--ink); }
.app-tile .icon { width: 24px; height: 24px; color: var(--pine); }
.app-tile[aria-current] { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 13%, transparent); color: var(--pine); }
.app-more-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }

/* Website-Seite in der App: Knopf zurück zur Verwaltung */
html.is-app .app-back:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; position: fixed; left: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 70; min-height: 44px; padding: 10px 18px 10px 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .92rem/1 var(--f-body); box-shadow: var(--shadow); cursor: pointer; }
.app-back .icon { width: 18px; height: 18px; }
html.is-app .kidf { display: none; } /* Nine braucht in der App keine Kind-Auswahl; sonst lägen beide Knöpfe übereinander */

/* Einstellungen: Kasten „Als App“ */
.app-panel-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.app-panel-head img { flex: none; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.app-panel-head p { margin-top: 4px; }
.app-steps { display: grid; gap: 4px; margin: 12px 0 0; padding-left: 1.3em; font-size: .92rem; }
.app-steps .icon { width: 17px; height: 17px; margin-right: 3px; vertical-align: -3px; color: var(--sky); }

/* ---------- Benachrichtigungen (js/notices.js, 2026-10-16) ---------- */
.adm-bell, .app-bell { position: relative; cursor: pointer; font: inherit; }
.adm-bell { display: none; }
.bell-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--peach); color: #fff; font: 800 .72rem/1 var(--f-body); font-variant-numeric: tabular-nums; }
.bell-n[hidden] { display: none; }
@media (min-width: 761px) {
  .adm-menu-bell { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .adm-bell { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-weight: 700; font-size: .96rem; text-align: left; transition: background-color .15s, color .15s; }
  .adm-bell:hover { background: var(--soft); color: var(--ink); }
  .adm-bell .icon { flex: none; width: 20px; height: 20px; }
  .adm-bell .bell-n { margin-left: auto; }
  .adm-bell:has(.bell-n:not([hidden])) { color: var(--ink); }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .adm-bell { justify-content: center; padding-inline: 0; }
  .adm-bell > span:not(.bell-n) { display: none; }
  .adm-bell .bell-n { position: absolute; top: 3px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; font-size: .66rem; }
}
.app-bell { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.app-bell::after { content: ''; position: absolute; inset: -2px; }
.app-bell .icon { width: 20px; height: 20px; }
.app-bell .bell-n { position: absolute; top: -4px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; font-size: .68rem; box-shadow: 0 0 0 2px var(--bg); }

/* Liste im Fenster (Blatt von unten bzw. mittig wie „Mehr“) */
.notice-dlg { width: min(100%, 560px); max-height: min(80dvh, 720px); overflow-y: auto; }
.notice-list { list-style: none; margin: 4px 0 0; padding: 0; }
.notice-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 10px 8px 10px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.notice-item:hover { background: var(--soft); }
.notice-item.is-static { cursor: default; } .notice-item.is-static:hover { background: none; } /* Nachrichten: nur zum Lesen (Text steht im Postfach bzw. bei der Coachin) */
.notice-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); }
.notice-ic .icon { width: 18px; height: 18px; }
.notice-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.notice-txt b, .notice-txt .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Räume: Unterzeile (Person, Raum, Tag, Zeit, ggf. vorher, Titel) darf umbrechen, jeder Teil nur als Ganzes (2026-10-17) */
.notice-txt .notice-sub { white-space: normal; overflow: visible; }
.notice-when { white-space: nowrap; align-self: start; padding-top: 2px; }
.notice-item.is-new .notice-txt b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--peach); }
.notice-empty { padding: 8px 0 12px; }
/* Umschalter „Buchungen“ / „Räume“ (2026-10-17): Zahl der neuen wie an der Glocke */
.notice-tabs { display: flex; width: max-content; max-width: 100%; margin: 0 0 6px; }
.notice-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.notice-tabs .bell-n { min-width: 19px; height: 19px; padding: 0 5px; font-size: .68rem; }
/* Handy: drei Reiter in einer Zeile über die ganze Breite */
@media (max-width: 560px) { .notice-tabs { width: 100%; flex-wrap: nowrap; } .notice-tabs button { flex: 1 1 auto; justify-content: center; gap: 5px; padding: 8px 8px; font-size: .86rem; white-space: nowrap; } } @media (max-width: 359px) { .notice-tabs button { padding-inline: 4px; font-size: .78rem; gap: 3px; } }

/* Buchungsliste: von der Kundin geändert, noch nicht in der Glocke angesehen */
.bk-tbl tr.bk-new > td { background: color-mix(in srgb, var(--peach) 9%, var(--paper)); }
.bk-tbl tr.bk-new > td:first-child { box-shadow: inset 3px 0 0 var(--peach); }
.bk-notice { color: var(--st-paid); font-weight: 600; font-size: .82rem; }
@media (max-width: 560px) {
  .notice-item { grid-template-columns: 36px minmax(0, 1fr); align-items: start; row-gap: 2px; }
  .notice-txt b { white-space: normal; }
  .notice-when { grid-column: 2; padding-top: 0; }
}
/* Neuigkeiten: Mitteilungen auf diesem Gerät ein-/ausschalten */
.push-box { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--soft); }
.push-box:empty { display: none; }
.push-box p { margin: 0; }
.push-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--st-paid); }
.push-ic .icon { width: 17px; height: 17px; }
.push-box.is-on .push-ic { color: var(--st-ok); }
@media (max-width: 560px) { .push-box { grid-template-columns: 32px minmax(0, 1fr); } .push-box > .btn { grid-column: 2; justify-self: start; } }

/* ---------- Buchungsfenster: Verlauf, Mail ansehen, Zurück (2026-10-17) ---------- */
.bkd-tl { border-top: 1px solid var(--line); padding-top: 14px; }
.bkd-tl h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding-bottom: 12px; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--pine); }
.tl-dot .icon { width: 14px; height: 14px; }
.tl-body { min-width: 0; padding-top: 3px; }
.tl-when { display: block; line-height: 1.3; }
.tl-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.tl-line .pill { flex: none; }
.tl-txt { min-width: 0; }
.tl-mail { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 520px; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: .86rem; text-align: left; cursor: pointer; }
.tl-mail:hover { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 5%, var(--paper)); }
.tl-mail .icon { flex: none; width: 15px; height: 15px; color: var(--pine); }
.tl-mail span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bkd-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bkd-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.bkd-back:hover { background: color-mix(in srgb, var(--pine) 10%, var(--soft)); }
.bkd-back .icon { width: 20px; height: 20px; }
.mailv-subj { font-size: 1.15rem; margin: 4px 0 12px; }
.mailv-body { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); line-height: 1.55; overflow-wrap: anywhere; }
/* Zurück zur Buchung nach einem Sprung zur Kursliste bzw. Kundin */
.bkd-return { position: fixed; z-index: 60; left: calc(var(--side-w) + 20px); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.bkd-return button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: inherit; font: 700 .9rem/1 var(--f-body); cursor: pointer; }
.bkd-return button:hover { background: rgba(255, 255, 255, .12); }
.bkd-return .icon { width: 18px; height: 18px; }
.bkd-return .bkd-return-x { padding: 6px 10px; opacity: .75; }
@media (max-width: 760px) { html.adm-shell:has(.app-tabbar) .bkd-return { left: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 88px); } }

/* Verwaltung: Umschalter (Termine Laufend/Zukünftig …, E-Mails, Neuigkeiten, Einnahmen) als einzelne Kacheln statt Text auf
   gemeinsamer Fläche; sonst verschwammen die Knöpfe mit der Umrandung, am Handy zweizeilig als großer Klotz (2026-10-17).
   Gewählt grün wie Menü links und Status-Kacheln. „Pro Seite“ unter Listen bleibt die kleine Leiste. */
html.adm-shell .seg:not(.pg-per) { background: none; padding: 0; gap: 6px; border-radius: 0; }
html.adm-shell .seg:not(.pg-per) button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 7px 14px; box-shadow: none; transition: border-color .15s, background-color .15s; }
html.adm-shell .seg:not(.pg-per) button:hover { border-color: color-mix(in srgb, var(--pine) 45%, var(--line)); }
html.adm-shell .seg:not(.pg-per) button:is([aria-pressed="true"], [aria-checked="true"]) { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 9%, var(--paper)); color: var(--pine); box-shadow: none; }
html.adm-shell .seg:not(.pg-per) button:is([aria-pressed="true"], [aria-checked="true"]) .muted { color: inherit; opacity: .8; }
.notice-txt .notice-trail { display: block; margin-top: 2px; white-space: normal; overflow: visible; font-size: .78rem; }

/* ============================================================
   Ergänzungen für den Live-Betrieb (beide Seiten)
   ============================================================ */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }
#app:focus { outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
a.fchip { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.acct-nav a { text-align: left; padding: 10px 14px; border-radius: 12px; font-weight: 650; text-decoration: none; color: inherit; }
.acct-nav a[aria-current="true"] { background: var(--paper); box-shadow: var(--shadow); }
.acct-nav button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 12px; font-weight: 650; cursor: pointer; color: var(--muted); }
@media (max-width: 820px) { .acct-nav a { white-space: nowrap; } }
/* Warte-Zeiger nur, solange ein Knopf wirklich lädt; sonst zeigt ein deaktivierter Knopf „nicht möglich“ */
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.is-busy { opacity: .6; cursor: progress; }
.btn.is-busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { min-height: 40vh; }
.check span a, .notice a:not(.btn) { color: var(--pine); font-weight: 700; }
td.muted, tr.muted td { color: var(--muted); }
.paymark.su { background: #1c1c1c; color: #fff; border-radius: 8px; padding: 6px 10px; font-weight: 800; font-size: .8rem; }
.prose h2 { margin-top: 18px; }
.prose p { margin: 10px 0; }

/* Verwaltung (Deisterbaby übernimmt die Bausteine des internen Bereichs) */
.tabbar { display: flex; gap: 4px; margin-top: 18px; overflow-x: auto; }
.tabbar a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 13px; /* sieben Reiter (Nine) passen nebeneinander */ text-decoration: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabbar a[aria-current] { color: var(--ink); border-color: var(--pine); }
.tabbar .icon { width: 18px; height: 18px; }
.login-wrap { display: grid; place-items: center; padding-block: 56px 80px; }
.login-card { width: min(440px, 100%); }
.login-card > .stack > .icon { width: 36px; height: 36px; color: var(--pine); }
.bill-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .bill-grid { grid-template-columns: 1fr !important; } }
ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.panel + .panel, .panel + .bill-grid { margin-top: 18px; }
.coach-photo-edit { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Unterschriften in eigener Handschrift je Person (Zuordnung: sigClass in shared/core.js).
   Die Schriften sind unterschiedlich groß gezeichnet, deshalb gleicht --sig-scale sie an. */
.sig-hand { font-weight: 400; font-size: calc(var(--sig-size, 1.7rem) * var(--sig-scale, 1)); line-height: 1.25; }
.sig-nine { font-family: var(--f-hand); font-weight: 600; --sig-scale: 1; line-height: 1.2; } /* Nines Handschrift = Caveat (gut lesbar), wie die Sprüche auf der Seite */
.sig-1 { font-family: 'La Belle Aurore', var(--f-hand); --sig-scale: .95; }
.sig-2 { font-family: 'Nothing You Could Do', var(--f-hand); --sig-scale: .85; }
.sig-3 { font-family: 'Herr Von Muellerhoff', var(--f-hand); --sig-scale: 1.35; }
.sig-4 { font-family: 'Reenie Beanie', var(--f-hand); --sig-scale: 1.2; }
.sig-5 { font-family: 'Over the Rainbow', var(--f-hand); --sig-scale: .85; }
.sig-6 { font-family: 'Dawning of a New Day', var(--f-hand); --sig-scale: 1.1; }
.sig-7 { font-family: 'Zeyada', var(--f-hand); --sig-scale: 1.35; }
.sig-8 { font-family: 'Mrs Saint Delafield', var(--f-hand); --sig-scale: 1.35; }
.o-sign.sig-hand { --sig-size: 1.9rem; }
.voice-lead .sig-hand { --sig-size: 1.9rem; }

/* ---------- Einnahmen (Verwaltung beider Seiten, web/shared/income.js) ---------- */
/* Einnahmen immer in einem ruhigen Grün (auf beiden Seiten gleich; die Hausfarbe von Miteinander ist rötlich und wirkte wie ein Minus) */
.inc { display: flex; flex-direction: column; gap: 18px; --inc: #2f7d4a; --inc-soft: #e3f1e7; }
.inc-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.inc-range, .inc-mode { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 20px; background: var(--soft); }
.inc-range button, .inc-mode button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.inc-range button[aria-pressed="true"], .inc-mode button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.inc-range button:focus-visible, .inc-mode button:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; }
/* Zuordnung (Eingangs- oder Kursdatum) über der Zeitauswahl, etwas größer, nur so breit wie nötig */
.inc-mode { margin-bottom: 12px; width: max-content; max-width: 100%; align-self: flex-start; } .inc-mode button { font-size: .95rem; padding: 9px 18px; }
/* Deisterbaby-Verwaltung: Bereich (Kurse / Raummiete) und Zuordnung nebeneinander */
.inc-top { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; } .inc-top .inc-mode { margin-bottom: 0; }
@media (max-width: 560px) { .inc-top .inc-mode button { padding: 9px 11px; font-size: .86rem; } } /* „Nach Eingangsdatum | Nach Kursdatum“ in einer Zeile */
.inc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .inc-tiles { grid-template-columns: 1fr; } }
.inc-tiles .perk b { color: var(--ink); }
.inc-tiles .perk b.inc-hero { font-size: 2rem; color: var(--inc); }
.inc-tiles .perk b.inc-up { color: var(--st-ok); }
.inc-tiles .perk b.inc-down { color: var(--danger); }
.inc-chart { position: relative; margin-top: 12px; min-height: 60px; color: var(--inc); }
.inc-svg { display: block; overflow: visible; }
.inc-grid { stroke: var(--line); stroke-width: 1; }
.inc-base { stroke: color-mix(in srgb, var(--muted) 45%, var(--line)); }
.inc-tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.inc-col { fill: currentColor; transition: opacity .12s; }
.inc-col.inc-prev { fill: url(#incHatch); }
.inc-col.inc-neg { fill: var(--danger); }
.inc-col.on { opacity: .78; }
.inc-hit { fill: transparent; cursor: default; outline: none; }
.inc-hit:focus-visible { stroke: var(--pine); stroke-width: 2; }
.inc-tip { position: absolute; pointer-events: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 7px 10px; display: flex; flex-direction: column; gap: 1px; font-size: .82rem; white-space: nowrap; z-index: 2; }
.inc-tip b { font-size: .98rem; font-variant-numeric: tabular-nums; }
.inc-empty { padding: 28px 0; text-align: center; }
.inc-legend { display: inline-flex; gap: 14px; color: var(--muted); }
.inc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.inc-key { width: 12px; height: 12px; border-radius: 3px; background: var(--inc); display: inline-block; }
.inc-key-prev { background: repeating-linear-gradient(45deg, var(--inc) 0 2px, var(--inc-soft) 2px 5px); }
.inc-table { margin-top: 10px; }
.inc-split { gap: 10px; }
.inc-split li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 7.5rem; gap: 12px; align-items: center; } /* feste Betragsspalte: alle Balken gleich lang vergleichbar */
.inc-split-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; min-width: 0; }
.inc-split-l > span { overflow: hidden; text-overflow: ellipsis; }
.inc-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; font-size: .62rem; font-weight: 800; background: var(--soft); color: var(--ink); }
.inc-split-bar { display: flex; gap: 2px; height: 10px; background: var(--soft); border-radius: 4px; }
.inc-split-bar i { display: block; height: 100%; background: var(--inc); border-radius: 0 4px 4px 0; min-width: 0; }
.inc-split-bar i.prev { background: repeating-linear-gradient(45deg, var(--inc) 0 2px, var(--inc-soft) 2px 5px); }
.inc-split-v { text-align: right; white-space: nowrap; line-height: 1.2; }
.inc-split-v small { display: block; font-size: .72rem; }
@media (max-width: 560px) { .inc-split li { grid-template-columns: minmax(0, 1fr) auto; } .inc-split-bar { grid-column: 1 / -1; order: 3; } }

/* ---------- Bedienung mit dem Finger: Tippflächen mind. 44 px (Prüfung 2026-10-08) ---------- */
@media (pointer: coarse), (max-width: 760px) {
  .btn, .btn-sm, .seg button, .drawpad-widths button { min-height: 44px; }
  .drawpad-color, .drawpad-custom { width: 44px; height: 44px; }
  details > summary { min-height: 44px; display: flex; align-items: center; }
  /* Miteinander intern: Zeitraum-Auswahl, Monatsblättern, Zeilen-Aktionen, Farbwahl, Ansicht */
  .inc-range button, .tb-chip, .tone-opt, select.input { min-height: 44px; }
  .tb-arrow, .row-acts .icon-btn { min-width: 44px; min-height: 44px; }
}
/* FAQ: ganze Zeile antippbar, nicht nur die Schrift */
details.faq summary { padding-block: 10px; margin-block: -10px; }

/* Buchungs-Zeitleiste: am Handy untereinander statt vier schmale Spalten (keine getrennten Wörter) */
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr !important; gap: 12px; }
  .tl-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 0; text-align: left; align-items: center; padding-inline: 0; }
  .tl-step .tl-dot { grid-row: span 2; }
  .tl-step b, .tl-step small { grid-column: 2; hyphens: manual; -webkit-hyphens: manual; }
  .tl-step::before { left: 17px; top: -12px; width: 4px; height: 12px; }
}

/* Verwaltung: kleiner runder Knopf neben der Mindestzahl */
.min-cell { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.min-cell > :first-child { min-width: 0; }
.min-cell .btn { flex: none; }
.btn.icon-only { width: 36px; min-width: 36px; height: 36px; padding: 0; border-radius: 50%; justify-content: center; }
.btn.icon-only .icon { width: 18px; height: 18px; margin: 0; }
@media (pointer: coarse) { .btn.icon-only { width: 44px; min-width: 44px; height: 44px; } }
/* Hinweiskästen: Inhalt und Knöpfe bleiben im Kasten (lange Knopftexte brechen um) */
.notice > div { min-width: 0; }
.notice .btn { white-space: normal; max-width: 100%; text-align: left; }

/* Satzteile zusammenhalten (keep/keepJoin in core.js): umbrechen nur als Ganzes */
.keep { display: inline-block; max-width: 100%; text-indent: 0; }
/* Trennpunkt steht vor jedem Teil; am Zeilenanfang rutscht er links aus dem sichtbaren Bereich */
.keeps { display: block; overflow: hidden; }
.keeps-in { display: block; margin-left: -1em; }
.keeps-in > .keep { position: relative; padding-left: 1em; }
.keeps-in > .keep::before { content: '·'; position: absolute; left: 0; width: 1em; text-align: center; } /* bricht ein Teil doch um (sehr schmal), beginnt auch seine zweite Zeile im sichtbaren Bereich */

/* Startseite am Handy: drei freie Termine und ein klarer Weg zu allen statt Blättern */
.next-all { display: none; }
@media (max-width: 600px) {
  #nextWrap .next-list > :nth-child(n+4) { display: none; }
  #nextWrap .pager { display: none; }
  #nextWrap .next-all { display: flex; width: 100%; margin-top: 16px; }
}

/* Altersfinder-Knopf: weicht beim Herunterscrollen aus, kommt beim Hochscrollen wieder */
.kidf { transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
.kidf.is-away { transform: translateY(150%); opacity: 0; visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s .28s; }
@media (prefers-reduced-motion: reduce) { .kidf, .kidf.is-away { transition: none; } }
/* Sprungziele des Altersfinders nicht unter der Kopfleiste */
#freie-plaetze h2, #termine h2 { scroll-margin-top: 110px; }

/* Buchung Schritt 2: persönlicher Gruß der Kursleitung zum Schluss */
.closing { border-top: 1px dashed var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.closing p { margin: 0; }
.closing-sig { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--muted); }
.closing-sig .hand { color: var(--pine-2, #2e7a34); --sig-size: 1.9rem; transform: none; }
.review .fit-line.no { margin-top: 12px; color: var(--ink); font-weight: 600; }
/* Unterschriften: dunkleres Grün, gut lesbar auch auf Rosa (≥ 4,5 : 1) */
.sig.sig-hand { color: var(--pine-2, #2e7a34); }

/* Namen nie trennen (nameHTML in core.js): jeder Namensteil bleibt ganz, ohne Silbentrennung */
.pname, #app .pname { white-space: nowrap; hyphens: manual; -webkit-hyphens: manual; }

/* iPhone: Datumsfelder haben sonst eine eigene Mindestbreite und -höhe (ragen über den Rand, leer niedriger als die anderen Felder) */
input.input[type="date"], input.input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; display: block; height: calc(1.6em + 26px); height: calc(1lh + 26px); } /* = Textfeld: Zeile + 2 × 11px Innenabstand + 2 × 2px Rahmen */
input.input[type="date"]::-webkit-date-and-time-value, input.input[type="time"]::-webkit-date-and-time-value { text-align: left; }

/* ---------- Wochenplan (beide Seiten, web/shared/week.js) ----------
   Laptop: ein Tag pro Spalte, Zeilen nach Stunde des Beginns (gleiche Zeit = gleiche Höhe). Tablet und Handy: Tage untereinander (Wochentag bleibt beim Scrollen oben).
   Bewusst eng, damit die Woche auf einen Blick passt. Jeder Eintrag hat links einen Streifen in der Farbe des Angebots (--wk). */
.week { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); gap: 6px 12px; align-items: start; }
.wk-head { font-size: 1rem; font-weight: 800; margin: 0 0 2px; padding: 0 2px 6px; border-bottom: 2px solid var(--line); }
.wk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wk-item { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--wk); border-radius: 10px; padding: 7px 10px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wk-time { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; line-height: 1.35; }
.wk-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wk-title { font-family: var(--f-display); font-weight: 800; font-size: .95rem; line-height: 1.22; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--wk) 60%, transparent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: break-word; hyphens: auto; }
.wk-title:hover { text-decoration-color: var(--ink); }
.wk-ext { white-space: nowrap; color: var(--muted); font-weight: 700; }
.wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; min-width: 0; }
.wk-who { display: flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; line-height: 1.3; min-width: 0; }
.wk-who a { color: inherit; text-decoration: none; }
.wk-who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wk-avs { display: inline-flex; flex: none; }
.wk-avs .wk-av + .wk-av { margin-left: -6px; }
.wk-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; border: 1.5px solid var(--paper); box-shadow: 0 0 0 1px var(--line); display: inline-grid; place-items: center; font-family: var(--f-display); font-size: .55rem; font-weight: 800; color: var(--ink); background: var(--soft); }
.wk-note { font-size: .72rem; font-weight: 700; line-height: 1.3; color: var(--ink); background: var(--wk-bg); border-radius: 6px; padding: 1px 6px; }
.wk-planned { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: .94rem; }
.wk-planned + .wk-planned { margin-top: 8px; }
.wk-planned > svg { width: 20px; height: 20px; flex: none; margin-top: .15em; color: var(--pine); }
.wk-planned a { color: var(--pine); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; } /* alle Links gleich, Komma bleibt am Namen */
/* Unter dem Plan derselbe Abstand wie bei Abschnitten (.band) */
.wk-section { padding-bottom: 48px; }
@media (max-width: 600px) { .wk-section { padding-bottom: 36px; } }
/* Link rechts neben einer Abschnitts-Überschrift („Alle Bewertungen bei Google“, „Ganzer Wochenplan“, „Räume mieten“): etwas kleiner als der Fließtext */
.sec-title > .link { font-size: .92rem; }
/* Coach-Seite: Kasten „Feste Termine“ */
.wk-mine { list-style: none; margin: 12px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wk-mine li { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wk-mine-when { font-size: .9rem; color: var(--muted); }
.wk-mine-when b { color: var(--ink); }
.wk-mine a, .wk-mine-what { color: var(--pine); font-weight: 700; text-underline-offset: 3px; }
.wk-mine-what { color: var(--ink); }
/* Einzelangebote: eine Kachel je Person, gleich hoch, Knopf unten bündig */
.wk-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wk-person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wk-person-head { display: flex; gap: 14px; align-items: center; min-width: 0; }
.wk-person-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wk-person-name h3 { font-size: 1.12rem; line-height: 1.25; }
.wk-pic { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: var(--ink); background: var(--soft); }
.wk-offers { margin: 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 4px; }
.wk-offers li::marker { color: var(--muted); }
.wk-offers a { color: var(--pine); font-weight: 700; text-underline-offset: 3px; }
.btn.wk-more { margin-top: auto; width: 100%; justify-content: center; min-height: 44px; background: #f4f3f1; box-shadow: inset 0 0 0 1px #e9e7e3; color: #353b3f; }
.btn.wk-more:hover { background: #eceae7; box-shadow: inset 0 0 0 1px #dedbd6; }
/* Eine Karte pro Zeile (Handy, Tablet hochkant): Knopf nur so breit wie sein Text (Nebenweg, soll nicht wuchtig wirken, 2026-10-11) */
@media (max-width: 760px) { .btn.wk-more { width: auto; align-self: flex-start; padding-inline: 18px; } }
.wk-av.t-peach, .wk-pic.t-peach { background: var(--peach-bg); } .wk-av.t-sky, .wk-pic.t-sky { background: var(--sky-bg); } .wk-av.t-sun, .wk-pic.t-sun { background: var(--sun-bg); }
.wk-av.t-mint, .wk-pic.t-mint { background: var(--mint-bg); } .wk-av.t-lilac, .wk-pic.t-lilac { background: var(--lilac-bg); } .wk-av.t-rose, .wk-pic.t-rose { background: var(--rose-bg); }
@media (max-width: 1000px) {
  .wk-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .week > * { grid-area: auto !important; }
  .wk-head { position: sticky; top: 92px; z-index: 4; background: var(--bg); padding-top: 8px; margin-top: 18px; }
  .wk-head:first-child { margin-top: 0; }
  /* Uhrzeit links, Angebot rechts */
  .wk-item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 8px 12px; }
  .wk-time { padding-top: .1em; }
}
@media (max-width: 760px) {
  .wk-people { grid-template-columns: minmax(0, 1fr); }
  .wk-who a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
}
@media (max-width: 600px) { .wk-head { top: 76px; } }

/* ---------- Aufklappmenü in der Kopfzeile (beide Seiten: „Themen“ bei Miteinander, „Angebote“ bei Deisterbaby) ---------- */
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary:hover, .nav-dd[open] > summary, .nav-dd > summary[data-current] { color: var(--ink); background: var(--soft); }
.dd-caret { width: 16px; height: 16px; transition: transform .15s; } .nav-dd[open] .dd-caret { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
/* Unsichtbare Brücke über die 8 px Lücke, damit das Menü beim Hinüberfahren mit der Maus nicht zugeht */
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav.open .nav-dd-menu::before { display: none; }
.nav .nav-dd-menu a { border-radius: 10px; padding: 10px 12px; color: var(--ink); font-weight: 600; }
.nav .nav-dd-menu a.dd-all { color: var(--pine); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
/* Eingeklappte Navigation (Menü-Knopf): Unterpunkte eingerückt statt schwebend */
.nav.open .nav-dd > summary { padding: 12px 14px; font-size: 1.05rem; width: 100%; justify-content: space-between; }
.nav.open .nav-dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }

/* ============================================================
   Kursliste mit Anwesenheit (gemeinsam: Nines Verwaltung bei Deisterbaby und „Kurse“ bei Miteinander, Baustein web/deisterbaby/js/kursliste.js)
   ============================================================ */
.pill-open { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 999px; }
.pill-open:hover .pill, .pill-open:focus-visible .pill { box-shadow: inset 0 0 0 1px currentColor; }
.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); }
/* Quereinstieg: Treffen vor dem Einstieg ausgegraut, nicht klickbar (2026-10-17) */
.att-btn.att-late { display: inline-block; background: #e9e7e3; border-color: #dedbd6; cursor: default; vertical-align: middle; }
.att-btn.att-late:hover { border-color: #dedbd6; }
.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); }
.att-dot.late { background: #e9e7e3; box-shadow: inset 0 0 0 2px #dedbd6; }
.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; }
/* Kursliste: Stift vor dem Namen, Herkunft mit Symbol */
.rp-name { display: inline-flex; align-items: center; gap: 6px; }
.rp-edit { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border: 0; border-radius: 8px; background: var(--soft); color: var(--ink); cursor: pointer; }
.rp-edit:hover { background: color-mix(in srgb, var(--pine) 14%, var(--soft)); color: var(--pine); }
.rp-edit:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
.rp-edit svg { width: 15px; height: 15px; }
.src-ico { display: inline-grid; place-items: center; color: var(--muted); cursor: help; }
.src-ico svg { width: 16px; height: 16px; }
.roster-note { color: var(--muted); font-style: italic; } .roster-note svg { width: 13px; height: 13px; vertical-align: -2px; }
.roster .center, .roster th.center { text-align: center; }

/* Text-Knöpfe in Tabellen und Listen (z. B. Betreff im E-Mail-Ausgang): linksbündig wie normaler Text, auch wenn sie umbrechen */
.tbl button.link, .plain button.link { text-align: left; }
/* Reiter „Warteliste“: Kurs in der ersten Spalte, über die Einträge eines Termins zusammengefasst */
.wl-tbl td.wl-kurs { vertical-align: top; white-space: normal; min-width: 220px; max-width: 360px; border-right: 1px solid var(--line); }
/* Kurstitel wie in den Kurslisten (.row-title / .k-title): fett, Unterstrich beim Drüberfahren */
.wl-tbl td.wl-kurs a { color: inherit; text-decoration: none; }
/* ganze Zelle anklickbar wie die Zeilen in „Kommend & laufend“ (.row-link): Link über die Zelle gespannt, gleiche Hover-Farbe */
.wl-tbl td.wl-kurs:has(a) { position: relative; cursor: pointer; } .wl-tbl td.wl-kurs a::after { content: ''; position: absolute; inset: 0; } .wl-tbl td.wl-kurs:has(a):hover { background: color-mix(in srgb, var(--pine) 5%, var(--paper)); } .wl-tbl td.wl-kurs a:hover b, .wl-tbl td.wl-kurs a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }

/* Seitenleiste unter langen Listen (Verwaltung): Anzahl links, Seitenzahlen Mitte, „Pro Seite 20 / 50 / Alle“ rechts */
.pg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.pg-nums { display: flex; align-items: center; gap: 4px; }
.pg-btn { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.pg-btn[aria-current="page"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.pg-btn[disabled] { opacity: .4; cursor: default; }
.pg-gap { padding: 0 2px; }
.pg-per { align-items: center; } .pg-per > span { padding: 0 8px 0 6px; }

/* Verschickte Mails: Anhänge (E-Mail-Ausgang beider Seiten, Buchungsverlauf; 2026-10-17) */
.mail-files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 12px; }
.mail-files-h { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.mail-file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: .86rem; font-weight: 600; text-decoration: none; }
.mail-file:hover { border-color: var(--pine); }
.mail-file .icon { flex: none; width: 15px; height: 15px; color: var(--pine); }
.mail-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-file small { flex: none; color: var(--muted); font-weight: 400; }
.mail-clip { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); }
.mail-clip .icon { width: 15px; height: 15px; }
.mail-tbl th.center, .mail-tbl td.center { text-align: center; }
.mail-tbl .mail-when { white-space: nowrap; line-height: 1.35; }

/* Seite erst zeigen, wenn Schriften und erster Aufbau fertig sind (revealWhenReady in dom.js): kein Umbrechen kurz nach dem
   ersten Bild. Sicherheitsnetz: nach 1,5 s sichtbar, auch wenn etwas hängt; ohne JavaScript sofort (noscript). */
html:not(.ready) body { opacity: 0; animation: reveal-late 0s 1.5s forwards; }
html.ready body { opacity: 1; transition: opacity .15s ease-out; }
@keyframes reveal-late { to { opacity: 1; } }
/* Kursliste (beide Seiten): Epassi-Spalte mit Logo */
.ep-ok { display: inline-flex; align-items: center; cursor: help; }
.ep-ok img { height: 15px; width: auto; display: block; }
