/* 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: #378a3d; --pine-2: #2e7a34; --on-pine: #ffffff;
  --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;
  --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; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.03em; }
.logo-mark { width: 38px; height: 38px; }
.logo b { color: var(--pine); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { 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); }
.head-actions { display: flex; gap: 8px; align-items: center; }
/* Menü „Themen“ (Aufklapper) */
.btn.menu-btn { display: none; }
.illu { width: 64px; height: 64px; flex: none; display: block; }
@media (max-width: 480px) { #acctBtn span { display: none; } #acctBtn { padding-inline: 10px; } }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .btn.menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
  .head-actions .btn-cta { display: none; }
}

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

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

/* ---------- Sections ---------- */
/* 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); padding: 6px 0; border: 1px solid var(--line); line-height: 1.1; }
.datebox b { display: block; font-family: var(--f-display); font-size: 1.5rem; }
.datebox span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.next h4 a { text-decoration: none; }
.next h4 a:hover { text-decoration: underline; }
@media (max-width: 860px) { .next-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .next { grid-template-columns: 56px minmax(0, 1fr); } .next .btn { grid-column: 1 / -1; } }

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

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

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

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

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

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

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

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

/* Footer */
.foot { background: var(--soft); color: var(--ink); padding-block: 48px 28px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 3fr; gap: 28px; }
/* Linkspalten unten am linken Block ausrichten (wie bei Deisterbaby) */
/* 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, Telefon, E-Mail. Darunter 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; }
.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: 1100px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-links { display: grid; grid-template-columns: 1fr 1fr; } .foot-links > div:last-child { grid-column: 1 / -1; } }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: 44px 28px; }
.same-h { display: grid; } /* Themen-Seiten: gleiche Höhe für alle Themen, siehe ghosts() */
.same-h > span { grid-area: 1 / 1; }
.same-h > .ghost { visibility: hidden; }
.ghost [data-t]::before { content: attr(data-t); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fchip { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-weight: 650; cursor: pointer; font-size: .94rem; }
.fchip[aria-pressed="true"], .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; }
.detail-hero { display: flex; gap: 22px; align-items: center; }
.detail-hero .illu { width: 120px; height: 120px; flex: none; }
.detail-main p { max-width: 65ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%232c6a53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; margin-top: 2px; }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact:last-of-type { border-bottom: 0; }
.fact dt { color: var(--muted); font-weight: 600; }
.fact dd { margin: 0; font-weight: 600; }
.facts .price { font-size: 1.8rem; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } .facts { position: static; } }
@media (max-width: 480px) { .detail-hero { flex-direction: column; align-items: flex-start; } .detail-hero .illu { width: 88px; height: 88px; } }

.sessions { display: flex; flex-direction: column; gap: 10px; }
.session { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(150px, auto) auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.session .when b { display: block; }
.session.is-full { background: var(--soft); }
@media (max-width: 680px) { .session { grid-template-columns: 56px minmax(0, 1fr); } .session .seats, .session .btn { grid-column: 1 / -1; } }
.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 der Kursleitung): sieht aus wie der Status, öffnet die Anmeldung; wie bei Deisterbaby */
.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; }
.lb a { display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.reserviert { background: var(--st-res-bg); color: var(--st-res); }
.pill.bezahlt { background: var(--st-paid-bg); color: var(--st-paid); }
.pill.gebucht { background: var(--st-ok-bg); color: var(--st-ok); }
.pill.storniert, .pill.warteliste { background: var(--st-x-bg); color: var(--st-x); }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; margin-block: 8px; }
.tl-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; padding-inline: 6px; }
.tl-step::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.tl-step:first-child::before { display: none; }
.tl-step.done::before { background: var(--st-ok); }
.tl-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--line); position: relative; z-index: 1; font-weight: 800; }
.tl-step.done .tl-dot { background: var(--st-ok); border-color: var(--st-ok); color: var(--paper); }
.tl-step.current .tl-dot { border-color: var(--st-res); color: var(--st-res); animation: pulse 1.8s ease-in-out infinite; }
.tl-step b { font-size: .95rem; }
.tl-step small { color: var(--muted); font-size: .8rem; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--st-res) 40%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }

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

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

/* Formulare */
.form { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 650; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.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); }
.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); }
.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; }
/* Themen-Seiten: Abschnitt unter den Coaches (Ortsbezug, Einzugsgebiet) */
.topic-about { padding-bottom: 72px; }
.topic-about .prose { border-top: 1px solid var(--line); padding-top: 32px; }
a.tag { text-decoration: none; } a.tag:hover { box-shadow: inset 0 0 0 1px currentColor; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 1.04rem; }
details.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--pine); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.gift-amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-amounts button { min-width: 80px; }

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

/* ---------- Startseite v3: Willkommen ---------- */
.hero3 { padding-block: 36px 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); }
.coach-where { display: inline-flex; align-items: flex-start; gap: 6px; } .coach-where .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.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); 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%; height: auto; 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; }
.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; } }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 14px; }
.ig-post, .ig-reel { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--ink); min-width: 0; }
.ig-post { aspect-ratio: 1; }
.ig-reel { min-height: 220px; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-ph.ig-post { background: linear-gradient(135deg, var(--sun-bg), var(--rose-bg) 60%, var(--lilac-bg)); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.ig-ph.ig-reel.t0 { background: linear-gradient(160deg, var(--mint-bg), var(--sky-bg)); }
.ig-ph.ig-reel.t1 { background: linear-gradient(160deg, var(--peach-bg), var(--sun-bg)); }
.ig-ph.ig-reel.t2 { background: linear-gradient(160deg, var(--lilac-bg), var(--rose-bg)); }
.ig-badge { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-family: var(--f-display); align-self: flex-start; background: var(--paper); padding: 6px 12px; border-radius: 999px; }
.ig-badge svg { width: 18px; height: 18px; color: var(--rose); }
.ig-cap { font-size: .92rem; font-weight: 600; }
.ig-post:not(.ig-ph) .ig-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--paper) 85%, transparent); display: grid; place-items: center; color: var(--rose); }
.ig-play svg { width: 24px; height: 24px; margin-left: 3px; }
.ig-label { position: absolute; left: 12px; bottom: 12px; font-weight: 700; font-size: .85rem; background: var(--paper); padding: 3px 10px; border-radius: 999px; }
.ig-post:hover, .ig-reel:hover { box-shadow: var(--shadow); }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ig-post { grid-column: 1 / -1; aspect-ratio: 16 / 9; } .ig-reel { aspect-ratio: 9 / 14; min-height: 0; } }
/* 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; }

/* ================= Miteinander am Deister ================= */
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.05; color: var(--ink); }
.wordmark b { color: var(--pine); font-weight: 800; display: block; }
.wordmark span { display: flex; flex-direction: column; }
.hearts-mark { width: 52px; height: 40px; flex: none; }
@media (max-width: 480px) { .wordmark { font-size: 1.1rem; } .hearts-mark { width: 42px; height: 32px; } }

/* Porträts */
.portrait { display: block; border-radius: 50%; object-fit: cover; aspect-ratio: 1; height: auto; flex: none; background: var(--soft); }
.ph-portrait { display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.ph-portrait.t-peach { background: var(--peach-bg); } .ph-portrait.t-sky { background: var(--sky-bg); } .ph-portrait.t-sun { background: var(--sun-bg); }
.ph-portrait.t-mint { background: var(--mint-bg); } .ph-portrait.t-lilac { background: var(--lilac-bg); } .ph-portrait.t-rose { background: var(--rose-bg); }
.portrait-xs { width: 32px; font-size: .75rem; } .portrait-sm { width: 56px; font-size: 1.05rem; } .portrait-md { width: 96px; font-size: 1.6rem; }
.portrait-lg { width: 150px; font-size: 2.4rem; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.portrait-xl { width: 200px; font-size: 3rem; border: 8px solid var(--paper); box-shadow: var(--shadow); }
@media (max-width: 520px) { .portrait-lg { width: 120px; font-size: 2rem; } .portrait-xl { width: 140px; } }

/* Team-Karten: alle gleich groß */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
.coach-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.coach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coach-body { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.coach-body h3 { font-size: 1.15rem; }
.coach-title { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.coach-card .card-meta { justify-content: center; }
/* Knopf unten in der Coach-Karte (wie „Platz sichern“ bei Deisterbaby); die ganze Karte ist der Link */
.coach-cta { width: 100%; justify-content: center; margin-top: auto; min-height: 44px; pointer-events: none; }
/* Ruhig grau wie „Mehr über …“ bei Deisterbaby (2026-10-11, vorher kräftig in der Hauptfarbe) */
.coach-cta { background: #f4f3f1; box-shadow: inset 0 0 0 1px #e9e7e3; color: #353b3f; }
.coach-card:hover .coach-cta { background: #eceae7; box-shadow: inset 0 0 0 1px #dedbd6; }
.coach-go { font-weight: 700; color: var(--pine); display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; }
@media (max-width: 520px) { .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .coach-card { padding: 16px 10px; } .coach-card .card-meta { display: none; } }

/* Räume */
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.room-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.room-card .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.room-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.price small { font-size: .8rem; font-weight: 600; }
@media (max-width: 860px) { .room-grid { grid-template-columns: 1fr; } }

/* Deisterbaby-Teaser & Nine */
.db-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.db-logo { height: 90px; width: auto; }
@media (max-width: 700px) { .db-teaser { grid-template-columns: 1fr; justify-items: start; } }
.nine-call { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.nine-call .portrait { width: 140px; border: 6px solid var(--paper); box-shadow: var(--shadow); }
@media (max-width: 600px) { .nine-call { grid-template-columns: 1fr; } .nine-call .portrait { width: 110px; } }
.c-row { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.c-row svg { width: 20px; height: 20px; color: var(--pine); flex: none; }
a.c-row:hover b { text-decoration: underline; }

/* Coach-Seite */
.coach-hero { display: flex; gap: 28px; align-items: center; }
.intro { font-size: 1.15rem; max-width: 62ch; }
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.info-grid > * { min-width: 0; }
@media (max-width: 700px) { .coach-hero { flex-direction: column; align-items: flex-start; } .info-grid { grid-template-columns: 1fr; } }
.mini-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; border-radius: var(--r-m); text-decoration: none; background: var(--paper); min-width: 0; }
.mini:hover { box-shadow: var(--shadow); }
.mini b { font-size: .95rem; line-height: 1.25; } .mini span { font-size: .8rem; color: var(--muted); line-height: 1.3; }

/* Interner Bereich: Kopfzeile mit Menü wie auf der übrigen Seite (wie bei Deisterbaby, 2026-10-10) */
.intern-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 24px 0; }
.tabbar { display: flex; gap: 4px; margin-top: 18px; overflow-x: auto; }
.tabbar a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 16px; 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); }
/* Raumplan (Kopf, Kalender, Termine, Buchungsfenster): web/shared/roomplan.css, gemeinsam mit der Deisterbaby-Verwaltung */
/* Meine Buchungen: eine Zeitleiste (Monate, Jahr, freier Zeitraum), Vergangenes blasser */
.time-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin-bottom: 16px; width: fit-content; max-width: 100%; }
.tb-arrow { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; }
.tb-arrow:disabled { opacity: .35; cursor: default; } .tb-arrow svg { width: 18px; height: 18px; }
.tb-chip { position: relative; border: 0; background: none; border-radius: 999px; padding: 9px 14px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 38px; }
.tb-chip:hover { color: var(--ink); background: var(--soft); }
.tb-chip[aria-pressed="true"] { background: var(--pine); color: var(--on-pine); }
.tb-now { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.tb-today { color: var(--pine); }
.tb-sep { width: 1px; align-self: stretch; margin: 6px 4px; background: var(--line); }
.tb-free { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: -6px 0 16px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; width: fit-content; max-width: 100%; }
.tb-free[hidden] { display: none; } .tb-free .field { margin: 0; }
.tb-group { display: inline-flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.m-short { display: none; }
@media (max-width: 600px) {
  .time-bar { border-radius: 18px; width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
  .tb-sep { display: none; }
  .tb-group { justify-content: space-between; }
  .tb-chip { padding: 9px 10px; flex: 1; }
  .m-long { display: none; } .m-short { display: inline; }
}
.my-bk tr.is-past td { opacity: .55; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg.mine { background: var(--rose-bg); box-shadow: inset 0 0 0 2px var(--rose); } .lg.other { background: var(--soft); box-shadow: inset 0 0 0 2px var(--line); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--soft); }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 5px 14px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.tu-note { display: flex; gap: 6px; align-items: center; margin: -2px 0 10px; }
.tu-note svg { width: 15px; height: 15px; flex: none; }
.lg { background: var(--rc, #999); box-shadow: none; }
.bk-block { position: absolute; left: 4px; right: 4px; top: calc(var(--top) * var(--row) + 1px); height: calc(var(--h) * var(--row) - 2px); border-radius: 8px; border: 0; padding: 3px 8px; text-align: left; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; font-size: .78rem; line-height: 1.25; }
.bk-block b { font-size: .82rem; }
.bk-block.other { background: var(--soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.bk-block.own { background: var(--rose-bg); box-shadow: inset 3px 0 0 var(--rose); color: var(--ink); }
.bk-block.own.t-peach { background: var(--peach-bg); box-shadow: inset 3px 0 0 var(--peach); } .bk-block.own.t-sky { background: var(--sky-bg); box-shadow: inset 3px 0 0 var(--sky); }
.bk-block.own.t-sun { background: var(--sun-bg); box-shadow: inset 3px 0 0 var(--sun); } .bk-block.own.t-mint { background: var(--mint-bg); box-shadow: inset 3px 0 0 var(--mint); }
.bk-block.own.t-lilac { background: var(--lilac-bg); box-shadow: inset 3px 0 0 var(--lilac); }
.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; } }
.inv-sheet { display: flex; flex-direction: column; gap: 18px; font-size: .94rem; }
ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.coach-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; }
@media (max-width: 1100px) { .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-team { display: flex; flex-wrap: wrap; justify-content: center; }
.mini { width: 150px; }
@media (max-width: 520px) { .mini { width: calc(50% - 7px); } }

/* Markenfarbe aus dem Logo (Altrosa) */
:root { --pine: #a4534e; --pine-2: #8c4541; --on-pine: #ffffff; }
.mad-logo { height: 64px; width: auto; border-radius: 10px; display: block; }
@media (max-width: 600px) { .mad-logo { height: 48px; } }
.foot-mad { height: 70px; }
.inv-logo { height: 54px; width: auto; border-radius: 8px; }
.prose-panel { display: flex; flex-direction: column; gap: 12px; }
.prose-panel h3 { margin-top: 10px; }
.prose-panel p { max-width: 68ch; }
.quote-box { margin: 4px 0; padding: 14px 18px; border-left: 4px solid var(--rose); background: var(--rose-bg); border-radius: 0 14px 14px 0; font-style: italic; }
.flat-card { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 22px; }
/* ---------- Coach-Seiten: Originaltexte aufgelockert ---------- */
.o-wrap { display: flex; flex-direction: column; gap: 22px; margin-top: 4px; }
.o-wrap p { max-width: 68ch; }
.o-intro { display: flex; flex-direction: column; gap: 12px; }
.o-lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.o-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.o-jchip { font: inherit; font-size: .88rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.o-jchip:hover { box-shadow: inset 0 0 0 2px var(--pine); }
.o-sec { --tc: var(--peach); --tb: var(--peach-bg); border-left: 4px solid var(--tc); padding: 4px 0 4px 20px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.o-sec-head { display: flex; align-items: center; gap: 14px; }
.o-sec-head .illu { width: 64px; height: 64px; flex: none; }
.o-sec-head h3 { font-size: 1.3rem; margin: 0; }
.o-body { display: flex; flex-direction: column; gap: 12px; }
.t-peach { --tc: var(--peach); --tb: var(--peach-bg); } .t-mint { --tc: var(--mint); --tb: var(--mint-bg); } .t-lilac { --tc: var(--lilac); --tb: var(--lilac-bg); }
.t-sun { --tc: var(--sun); --tb: var(--sun-bg); } .t-sky { --tc: var(--sky); --tb: var(--sky-bg); } .t-rose { --tc: var(--rose); --tb: var(--rose-bg); }
.o-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.o-tile { background: var(--tb); border-radius: var(--r-m); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 90px; }
.o-tile .illu { width: 52px; height: 52px; }
.o-tile h4 { font-size: 1.05rem; margin: 2px 0 0; }
.o-tile p { font-size: .95rem; color: var(--ink); }
.o-quote { position: relative; margin: 6px 0; padding: 22px 24px 22px 64px; background: var(--rose-bg); border-radius: var(--r-m); font-family: var(--f-hand); font-size: 1.55rem; line-height: 1.25; color: var(--ink); }
.o-quote span { position: absolute; left: 16px; top: 2px; font-size: 4.2rem; line-height: 1; color: var(--rose); font-family: Georgia, serif; }
.o-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.o-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.o-chips li { display: flex; gap: 8px; align-items: center; background: var(--soft); border-radius: 14px; padding: 9px 12px; font-weight: 600; font-size: .95rem; }
.o-chips li svg { width: 18px; height: 18px; flex: none; color: var(--mint); }
.o-list { background: var(--soft); border-radius: var(--r-m); padding: 16px 18px; }
.o-fact { display: flex; gap: 12px; align-items: flex-start; background: var(--sun-bg); border-radius: var(--r-m); padding: 14px 16px; }
.o-fact .o-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-weight: 800; color: var(--ink); }
.o-contact { display: flex; gap: 12px; align-items: flex-start; border: 1px dashed var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.o-contact svg { flex: none; width: 22px; height: 22px; color: var(--pine); margin-top: 2px; }
.o-ask, .o-tagline { font-family: var(--f-hand); font-size: 1.75rem; line-height: 1.15; color: var(--pine); font-weight: 600; }
.o-note { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.o-note svg { flex: none; width: 20px; height: 20px; color: var(--rose); }
.o-sign { font-family: var(--f-hand); font-size: 1.9rem; color: var(--pine); transform: rotate(-2deg); transform-origin: left; }
@media (max-width: 520px) { .o-sec { padding-left: 14px; } .o-sec-head .illu { width: 52px; height: 52px; } .o-quote { font-size: 1.3rem; padding-left: 52px; } .o-lead { font-size: 1.08rem; } }
/* Team-Karten: Name und Titel mit fester Höhe, damit die Themen-Tags überall auf derselben Höhe beginnen */
.coach-card .coach-body { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.coach-card .coach-body h3 { line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; justify-content: center; margin: 0;; text-align: center; }
.coach-card .coach-title { line-height: 1.35; min-height: 2.7em; display: flex; align-items: flex-start; justify-content: center; margin: 0; }
.coach-card .card-meta { margin-top: 8px; }
.coach-card .card-meta { flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; }
.coach-card .card-meta .tag { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* Gemeinsames Raster (Subgrid): alle Karten einer Reihe teilen sich die Zeilen Foto, Name, Titel, Tags, Knopf.
   So beginnen die Tags nebeneinander auf derselben Höhe, egal wie viele Zeilen Name oder Titel brauchen. */
@supports (grid-template-rows: subgrid) {
  .coach-grid { grid-auto-rows: auto; }
  .coach-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 4px; justify-items: center; }
  .coach-card .coach-body { display: contents; }
  .coach-card .coach-body h3, .coach-card .coach-title { min-height: 0; width: 100%; }
  .coach-card .coach-body h3 { align-self: end; }
  .coach-card > .portrait { margin-bottom: 8px; }
  .coach-card .card-meta { align-self: start; }
  .coach-card .coach-cta { align-self: end; margin-top: 12px; }
}
/* 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; }
#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; }
.o-sec-head h3, .o-fact p, .o-contact p, .o-tile h4 { min-width: 0; overflow-wrap: anywhere; }
.c-line b, .c-row b { min-width: 0; overflow-wrap: anywhere; }
.c-line > div, .c-row { min-width: 0; }
.o-chips { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (max-width: 520px) { .o-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; } .o-sec-head h3 { font-size: 1.15rem; } }
.wa-link { white-space: nowrap; }

/* Kontaktkasten „Fragen? Meld Dich einfach“ (gleich aufgebaut wie bei Deisterbaby) */
.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; }

/* Lastschrift für die Raummiete */
.sepa-banner { margin-top: 14px; }
.sepa-banner a { font-weight: 700; }
.sepa-panel { margin-bottom: 18px; scroll-margin-top: 110px; }
.sepa-panel.is-off { box-shadow: inset 4px 0 0 var(--st-res); }
.sepa-panel.is-on { box-shadow: inset 4px 0 0 var(--st-ok); }
.sepa-panel h3 svg, .panel h3 svg { width: 18px; height: 18px; vertical-align: -3px; }
.flat-in { width: 84px; padding: 6px 8px; }
/* Coach-Übersicht (Verwaltung): kompakt, Icon-Knöpfe */
.btn-ico { padding: 8px 10px; min-width: 38px; justify-content: center; } .btn-ico svg { width: 18px; height: 18px; }
.coach-tbl td { vertical-align: middle; }
.coach-n { white-space: nowrap; hyphens: none; }
.coach-mail { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.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; }

/* Rechnungsadresse im Profil: beim Anspringen nicht unter der Kopfleiste verschwinden */
#rechnungsadresse, #lastschrift { scroll-margin-top: 110px; }
#rechnungsadresse.is-missing { border-color: var(--st-res, #a8690a); }

/* Raumplan: Raum-Auswahl für die Wochenansicht */

/* Profil: Farbe im Raumplan (Raster, vergebene Farben tragen das Foto der Person) */
.cal-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-color { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--paper); background: var(--rc); box-shadow: 0 0 0 2px var(--line); cursor: pointer; padding: 0; display: grid; place-items: center; color: #fff; }
.cal-color .icon { width: 20px; height: 20px; }
.cal-color[aria-checked="true"] { box-shadow: 0 0 0 3px var(--ink); }
.cal-color.taken { cursor: not-allowed; }
.cal-color:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }

/* Profil (Inhaberin): Akzentfarbe der öffentlichen Seite als Farbfelder statt Liste */
.tone-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tone-opt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: .88rem; font-weight: 650; color: var(--ink); cursor: pointer; }
.tone-opt i { width: 24px; height: 24px; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 3px var(--tb); }
.tone-opt[aria-checked="true"] { border-color: var(--ink); }
.tone-opt:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }


/* Meine Buchungen: Aktionen als Symbole */
.row-acts { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn:hover { background: color-mix(in srgb, var(--pine) 14%, var(--soft)); }
.icon-btn.danger:hover { background: color-mix(in srgb, var(--danger) 14%, var(--soft)); color: var(--danger); }
.icon-btn.is-locked:hover { background: var(--soft); color: var(--ink); }
.icon-btn:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
.tu-badge { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.notice .icon { vertical-align: -3px; }
/* Meine Buchungen auf dem Handy: jede Buchung als kompakte Zeile, Symbole rechts */
#app .my-bk td, #app .my-bk td * { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 640px) {
  .my-bk, .my-bk tbody { display: block; }
  .my-bk tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .my-bk td { display: block; padding: 0; border: 0; text-align: left; }
  .my-bk td:nth-child(1) { font-weight: 700; }
  .my-bk td:nth-child(2), .my-bk td:nth-child(3), .my-bk td:nth-child(4) { grid-column: 1; font-size: .9rem; }
  .my-bk td:nth-child(4):empty { display: none; }
  .my-bk td:last-child { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
}

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



/* Interner Bereich → Wochenplan: Titel-Feld so breit wie möglich, Haken nicht umbrechen */
.wk-admin td { vertical-align: middle; }
.wk-admin .wk-title-in { min-width: 220px; }
.wk-admin .check { white-space: nowrap; }
.wk-admin .wk-default { display: block; max-width: 9em; line-height: 1.3; margin-top: 4px; }
/* Handy: jede Zeile als Karte (Wann und Haken oben, darunter Coach und Titel), kein seitliches Schieben */
@media (max-width: 760px) {
  .wk-admin thead { display: none; }
  .wk-admin, .wk-admin tbody { display: block; }
  .wk-admin tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .wk-admin td { display: block; padding: 0; border: 0; }
  .wk-admin td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
  .wk-admin td:not(:first-child):not(:last-child) { grid-column: 1 / -1; }
  .wk-admin .wk-title-in { min-width: 0; width: 100%; }
}

/* Interner Bereich „Kurse“ (Deisterbaby-Kurse für Kursleitungen) */
.viewas-banner { margin-bottom: 14px; background: var(--st-res-bg); }
.k-when { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.k-date { width: 54px; flex: none; }
.k-title { color: var(--pine); text-decoration: none; } .k-title:hover b { text-decoration: underline; }
/* Kursliste für Kursleitungen: Titel als Link erkennbar (Pfeil), eigener Knopf „Teilnehmerliste“ (2026-10-13) */
.k-title .k-go { width: 15px; height: 15px; vertical-align: -2px; margin-left: 3px; }
.k-open { white-space: nowrap; } .k-open .icon { width: 15px; height: 15px; }
.k-open-in { display: none; }
@media (max-width: 999px) { .k-tbl .k-col-list { display: none; } .k-open-in { display: inline-flex; margin-top: 8px; } .k-tbl .k-when { gap: 6px; } .k-tbl .k-open-in { padding-inline: 10px; } .k-tbl th, .k-tbl td { padding-inline: 8px; } .k-tbl th:first-child, .k-tbl td:first-child { padding-left: 14px; } }
.k-tbl td { vertical-align: middle; }
.k-counts { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 240px; }
.k-n { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.k-n.ok { color: var(--st-ok); } .k-n.res { color: var(--st-res); } .k-n.wait { color: var(--st-x); }
.k-full { color: var(--danger, #b3261e); font-weight: 700; }
/* Eckdaten: festes Raster, damit alles exakt untereinander steht */
.k-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 14px; }
.k-fact { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.k-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .k-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .k-facts { grid-template-columns: minmax(0, 1fr); } }
.row-link { cursor: pointer; } .row-link:hover td { background: color-mix(in srgb, var(--pine) 5%, var(--paper)); }
.k-when .keep { display: block; } /* „Fr 16:00–20:00 Uhr &“ / „Sa 10:00–15:00 Uhr“ untereinander */
.k-tbl tr.k-sec td { background: var(--soft, #f6f1ea); padding-top: 10px; padding-bottom: 10px; }
.mail-body { background: var(--bg); border-radius: var(--r-m); padding: 18px 20px; font-size: .95rem; line-height: 1.6; } /* E-Mail-Ausgang, wie bei Deisterbaby */
/* Offene Überweisungen: Datumsfeld so hoch wie der kleine Knopf daneben */
.input.input-sm { width: auto; padding: 5px 10px; font-size: .9rem; border-radius: 10px; }
.late-text { color: var(--danger); font-weight: 600; }

/* ============================================================
   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; }
