/* Flow2Reboot: Aufbau aus Jessicas Vorlage (03-vorlage-jessica), Farben und Schrift nach dem
   Corporate Design (PDF vom 14.09.2026 im Projektordner):
   Hauptfarbe Nachtblau #0c0f17 (70 %), Nebenfarbe Hellblau #d6e3f4 (20 %), Akzent Blau #344fef (10 %),
   Schrift Red Hat Text (Überschriften Medium, Fließtext Light und Regular).
   Farben nur über die Variablen unten ändern, dann ziehen alle Seiten mit.
   Keine style-Attribute im HTML: die CSP (style-src 'self') verwirft sie. */

@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/schriften/redhattext-normal-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: 'Red Hat Text'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/schriften/redhattext-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Hauptfarbe Nachtblau und ihre Abstufungen */
  --bg: #0c0f17;
  --bg-panel: #121723;
  --bg-panel-2: #0f131d;
  --bg-karte: #161d2e;
  /* Schrift auf dunklem Grund: Überschriften in der Nebenfarbe Hellblau */
  --ink: #ffffff;
  --ink-kopf: #d6e3f4;
  --ink-dim: #b9c9d8;
  --ink-faint: #8fa3b4;
  /* Akzent Blau: --inhale für Schrift auf dunklem Grund, --exhale für Flächen mit weißer Schrift */
  --inhale: #93a5ff;
  --inhale-soft: rgba(52, 79, 239, 0.16);
  --exhale: #344fef;
  --exhale-hover: #1e1abb;
  --exhale-soft: rgba(52, 79, 239, 0.22);
  --royal: #110ea5;
  --line: rgba(214, 227, 244, 0.16);
  --line-soft: rgba(214, 227, 244, 0.08);
  /* Helle Abschnitte in der Nebenfarbe */
  --bg-light: #d6e3f4;
  --ink-on-light: #0c0f17;
  --ink-dim-on-light: #1b2642;
  --line-on-light: rgba(12, 15, 23, 0.16);
  --akzent-on-light: #2436c4;
  --akademie: #d7a85b;
  --ok: #4fb286;
  --warn: #d7a85b;
  --fehler: #e0645c;
  /* Eine Breite für alle Seiten (Carlo, 14.09.2026): Unterseiten, Rechtstexte und Formulare stehen bündig */
  --maxw: 1040px;
  /* Runde Ecken überall gleich (Carlo, 14.09.2026): Boxen, Raster, Tabellen, Hinweise */
  --radius: 16px;
  --radius-klein: 10px;
  --lesebreite: 72ch;
  --maxw-wide: 1040px;
  --font-text: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  hyphens: auto;
}
/* clip statt hidden: hidden macht body zum Scroll-Container und bricht die sticky Navigation */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
address, time, .tabelle td, .datum-kachel { hyphens: manual; }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink-kopf);
  /* pretty statt balance: balance schaltet in Chrome die Silbentrennung ab */
  text-wrap: pretty;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}
/* Satzteil-Klammer (Umbruch-Regel): bricht als Einheit um */
.satzteil { display: inline-block; }
.bind { white-space: nowrap; }
/* Ist die Überschrift schmaler als 9,5 Schrifthöhen (sehr große Schrift, z. B. 200 % Zoom auf dem Handy),
   werden Bindungen gelöst: dann lieber ein Wort allein als Text über den Bildschirmrand.
   9,5em passt zu maxEinheit 16 in bauen.mjs und system/umbruch.php (16 Zeichen sind rund 9em breit, em der Überschrift). */
h1:has(.bind, .satzteil), h2:has(.bind, .satzteil), h3:has(.bind, .satzteil), h4:has(.bind, .satzteil) { container-type: inline-size; }
@container (max-width: 9.5em) { .bind { white-space: normal; } .satzteil { display: inline; } }
h1:has(.satzteil), h2:has(.satzteil), h3:has(.satzteil), h4:has(.satzteil) { text-wrap: wrap; }
p { margin: 0 0 14px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--inhale); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--exhale-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.panel { background: var(--bg-panel); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--exhale); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-innen { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo-mark { height: 15px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { display: inline-flex; align-items: center; font-size: 0.92rem; color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--ink); }
.nav-cta { font-size: 0.92rem; font-weight: 500; padding: 9px 18px; background: var(--exhale); color: #fff; border: 1px solid var(--exhale); border-radius: 999px; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, background .2s ease; }
.nav-cta:hover { border-color: var(--royal); background: var(--royal); }
/* Anmelden als eigener Knopf: ruhig gerahmt, damit er sich vom Hauptaufruf "Call buchen" unterscheidet */
.nav-konto { font-size: 0.88rem; font-weight: 500; color: var(--ink-kopf); text-decoration: none; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--bg-karte); border: 1px solid var(--line); transition: border-color .2s ease, background .2s ease; }
.nav-konto:hover { color: var(--ink); border-color: var(--exhale); background: var(--exhale-soft); }

/* Kalender-Vorschau in der Navigation */
.nav-kalender { position: relative; }
.nav-kalender > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-punkt { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--inhale); box-shadow: 0 0 0 3px var(--inhale-soft); }
.nav-kalender.hat-termine .nav-punkt { display: inline-block; }
.nav-vorschau {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  width: 340px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease;
}
.nav-vorschau::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-kalender.hat-termine:hover .nav-vorschau, .nav-kalender.hat-termine:focus-within .nav-vorschau { opacity: 1; visibility: visible; }
.nav-vorschau-titel { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin: 2px 4px 10px; }
.nav-vorschau ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav-vorschau li a { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; align-items: center; }
.nav-vorschau li a:hover { background: var(--bg-karte); }
.nav-vorschau .alle { display: block; margin-top: 8px; padding: 9px; text-align: center; border-top: 1px solid var(--line-soft); font-size: 0.88rem; color: var(--inhale); text-decoration: none; }

.datum-kachel { display: grid; place-items: center; line-height: 1.1; border-radius: 10px; border: 1px solid var(--line); padding: 6px 4px; text-align: center; }
.datum-kachel .tag { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.datum-kachel .monat { font-size: 0.72rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.datum-kachel.akademie { border-color: rgba(215, 168, 91, 0.45); }
.termin-mini-titel { font-size: 0.92rem; color: var(--ink); display: block; line-height: 1.3; }
.termin-mini-meta { font-size: 0.8rem; color: var(--ink-faint); display: block; margin-top: 2px; }

/* Mobiles Menü ohne JavaScript */
.nav-mobil { display: none; }
.nav-mobil summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; }
.nav-mobil summary::-webkit-details-marker { display: none; }
.nav-innen { position: relative; }
.nav-mobil:not([open]) .nav-mobil-liste { display: none; }
.nav-mobil-liste { position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 24px; display: grid; gap: 2px; }
.nav-mobil-liste a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink-dim); }
.nav-mobil-liste a:last-child { border-bottom: 0; }
.nav-mobil-termin { display: block; font-size: 0.85rem; color: var(--inhale); padding-top: 4px; }
@media (max-width: 1040px) { .nav-links { gap: 14px; } .nav-link { font-size: 0.86rem; } }
@media (max-width: 900px) { .nav-links, .nav-cta, .nav-konto { display: none; } .nav-mobil { display: block; } }

/* ---------- Hero ---------- */
.hero { max-width: var(--maxw-wide); margin: 0 auto; padding: 76px 24px 60px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; } .hero-visual { order: -1; } }
.kicker { font-size: 0.82rem; color: var(--ink-kopf); margin-bottom: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; }
h1.headline { font-size: clamp(1.75rem, 4.4vw, 3rem); line-height: 1.1; }
.termin-seite h1.headline { font-size: clamp(1.6rem, 4vw, 2.6rem); }
/* Zweiter Teil läuft im Fließtext weiter (Umbruch-Regel: kein Einzelwort in der ersten Zeile), nur farblich abgesetzt */
h1.headline .zweite { color: var(--inhale); }
.lede { margin-top: 22px; font-size: 1.15rem; color: var(--ink-dim); max-width: 46ch; }
.hero-ctas { margin-top: 32px; display: flex; gap: 14px 20px; flex-wrap: wrap; align-items: center; }
.hero-visual { display: flex; justify-content: center; }
.hero-merkmale { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink-dim); font-size: 0.98rem; }
.hero-merkmale li::before { content: '·'; color: var(--exhale); font-weight: 600; margin-right: 10px; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--exhale); color: #fff; font-weight: 600; padding: 14px 22px 14px 26px; border-radius: 999px; text-decoration: none; font-size: 1rem; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .2s ease; }
.btn-primary::after { content: '→'; transition: transform .15s ease; }
.btn-primary:hover { background: var(--royal); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { font-size: 1rem; color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: inherit; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-dim); }

/* Atem-Grafik (ersetzt Fotos, solange keine freigegebenen Bilder da sind) */
.atem { width: min(100%, 380px); aspect-ratio: 1; }
.atem circle { fill: none; transform-origin: 200px 200px; }
.atem .ring { stroke: var(--line); }
.atem .ein { stroke: var(--inhale); stroke-width: 1.5; animation: atmen 11s ease-in-out infinite; }
.atem .aus { fill: var(--exhale-soft); stroke: var(--exhale); stroke-width: 2; animation: atmen 11s ease-in-out infinite reverse; }
.atem text { fill: var(--ink-faint); font: 500 13px var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; }
@keyframes atmen { 0%, 100% { transform: scale(0.82); } 45% { transform: scale(1); } 55% { transform: scale(1); } }

.foto { width: 100%; max-width: 380px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Abschnitte ---------- */
.eyebrow { font-size: 0.82rem; color: var(--inhale); margin-bottom: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; }
/* Umbruch-Regel: 24ch zwang Überschriften in Kurzzeilen, Mindestgröße eine Stufe kleiner (Messung 11.09.2026) */
h2.section-title { font-size: clamp(1.45rem, 3.2vw, 2.25rem); line-height: 1.18; max-width: 34ch; }
.lede-2 { margin-top: 18px; color: var(--ink-dim); font-size: 1.06rem; max-width: 62ch; }
.mehr-link { display: inline-block; margin-top: 22px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.mehr-link:hover { border-color: var(--ink); }

.raster { margin-top: 44px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .raster, .raster.zwei { grid-template-columns: minmax(0, 1fr); } }
.zelle { background: var(--bg-panel); padding: 30px 26px; }
.zelle .tag { color: var(--inhale); font-size: 0.9rem; font-weight: 500; margin-bottom: 12px; display: block; }
.zelle h3 { font-size: 1.2rem; margin-bottom: 10px; }
.zelle p { color: var(--ink-dim); font-size: 0.98rem; margin: 0; }
.zelle .mehr-link { margin-top: 18px; font-size: 0.95rem; }
.zelle .zahl { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--exhale); display: block; margin-bottom: 10px; }

.split { margin-top: 44px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.split .label { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--inhale); }
.split p { color: var(--ink-dim); }
.split strong { color: var(--ink); font-weight: 500; }

.trainer { margin-top: 44px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; }
@media (max-width: 720px) { .trainer { grid-template-columns: minmax(0, 1fr); } }
/* Feste Rasterspur: ohne sie wächst die Zeile auf die Bildhöhe (Hochformat 198 x 264), height: 100 % greift nicht,
   der Fokus verpufft und das Gesicht rutscht im Kreis nach unten (gemessen live auf /coaching/, 21.09.2026). */
.trainer-bild { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; background: var(--bg-karte); }
.trainer-bild img { width: 100%; height: 100%; object-fit: cover; }
/* Rundes Porträt aufs Gesicht vergrößert (Fokusklasse legt das Gesicht in die Mitte) */
.trainer-bild img.nah { transform: scale(2); transform-origin: 50% 50%; }
/* Waagerechte Feinkorrektur fürs runde Porträt (bildfokus.json rund.ox): Gesichtsmitte liegt bei 2 x Bildmitte - ox */
.trainer-bild img.nah.ursprung-47 { transform-origin: 47% 50%; }
/* Feinere Lage fürs Gesicht (lokal gemessen: coaching Gesichtsmitte bei 53 % der Bildhöhe, 18.09.2026) */
.trainer-bild .monogramm { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--inhale); }
.trainer p { color: var(--ink-dim); max-width: 60ch; }

.karten { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .karten { grid-template-columns: minmax(0, 1fr); } }
.karte { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--bg-panel-2); }
.karte .gross { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.karte .akzent { color: var(--inhale); margin-top: 6px; font-weight: 500; }
.karte p { color: var(--ink-dim); margin-top: 14px; font-size: 0.98rem; }
.hinweis-klein { margin-top: 18px; color: var(--ink-faint); font-size: 0.95rem; max-width: 62ch; }

/* Ablauf */
.ablauf { margin-top: 44px; display: grid; gap: 0; }
.ablauf-schritt { border-top: 1px solid var(--line); padding: 20px 0 22px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
@media (max-width: 560px) { .ablauf-schritt { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.ablauf-schritt .wann { color: var(--inhale); font-weight: 600; font-size: 0.95rem; }
.ablauf-schritt h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ablauf-schritt p { color: var(--ink-dim); margin: 0; }

/* Preis */
.preis { margin-top: 44px; border: 1px solid var(--line); border-radius: 16px; padding: 44px; background: linear-gradient(155deg, var(--bg-karte), #000813); }
@media (max-width: 640px) { .preis { padding: 28px 22px; } }
.preis-kopf { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.preis-kopf .name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.preis-kopf .betrag { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--inhale); }
.preis-kopf .betrag small { font-size: 1rem; color: var(--ink-faint); font-family: var(--font-text); font-weight: 400; margin-left: 6px; }
.haken-liste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.haken-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--ink-dim); }
.haken-liste li::before { content: ''; width: 16px; height: 9px; margin-top: 6px; border-left: 2px solid var(--exhale); border-bottom: 2px solid var(--exhale); transform: rotate(-45deg); }
.preis-aktionen { margin-top: 32px; display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }

/* Vergleichstabelle */
.tabelle-rahmen { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.vergleich { width: 100%; border-collapse: collapse; min-width: 640px; }
.vergleich th, .vergleich td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); font-size: 0.97rem; }
.vergleich thead th { font-family: var(--font-display); font-size: 1.05rem; background: var(--bg-panel); }
.vergleich tbody th { color: var(--ink-faint); font-weight: 500; width: 150px; }
.vergleich td { color: var(--ink-dim); }
.vergleich .preiszeile td { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--exhale); font-size: 1.5rem; line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .antwort { padding: 0 0 24px; color: var(--ink-dim); max-width: 64ch; }

/* Helle Abschnitte */
.panel-light { background: var(--bg-light); color: var(--ink-on-light); }
.panel-light h1, .panel-light h2, .panel-light h3 { color: var(--ink-on-light); }
.panel-light .eyebrow { color: var(--akzent-on-light); }
.panel-light p, .panel-light .lede-2 { color: var(--ink-dim-on-light); }
.panel-light .zelle { background: #eef3fa; }
.panel-light .raster { background: var(--line-on-light); border-color: var(--line-on-light); }
.panel-light .zelle p { color: var(--ink-dim-on-light); }
.panel-light .ablauf-schritt { border-color: var(--line-on-light); }
.panel-light .ablauf-schritt p { color: var(--ink-dim-on-light); }
.panel-light .mehr-link { color: var(--ink-on-light); border-color: var(--line-on-light); }

.nummern { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .nummern { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.nummern > div { border-top: 1px solid var(--line-on-light); padding-top: 18px; }
.nummern .n { font-weight: 600; color: var(--akzent-on-light); font-size: 0.95rem; margin-bottom: 12px; display: block; }
.nummern h3 { font-size: 1.12rem; margin-bottom: 8px; }
.nummern p { margin: 0; font-size: 0.98rem; }

/* Abschluss-Aufruf */
.aufruf { text-align: left; border: 1px solid var(--line); border-radius: 18px; padding: 44px; background: radial-gradient(120% 140% at 100% 0%, rgba(72, 129, 247, 0.3), transparent 60%), linear-gradient(160deg, var(--bg-panel), #000813); }
@media (max-width: 640px) { .aufruf { padding: 30px 22px; } }
.aufruf p { color: var(--ink-dim); max-width: 56ch; margin-top: 14px; }

/* ---------- Kalender ---------- */
.kal-filter { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.kal-filter button { font: inherit; font-size: 0.92rem; color: var(--ink-dim); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.kal-filter button[aria-pressed='true'] { color: #fff; border-color: var(--exhale); background: var(--exhale-soft); }
.kal-legende { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-faint); font-size: 0.9rem; }
.kal-legende span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.kal-legende .f2r::before { background: var(--inhale); }
.kal-legende .ak::before { background: var(--akademie); }
.kal-monat { margin-top: 44px; }
.kal-monat h3 { font-size: 1.05rem; color: var(--ink-faint); font-weight: 600; letter-spacing: 0.02em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kal-liste { list-style: none; margin: 0; padding: 0; }
.kal-eintrag { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 600px) { .kal-eintrag { grid-template-columns: 60px minmax(0, 1fr); } .kal-eintrag .kal-aktion { grid-column: 2; } }
.kal-eintrag h4 { margin: 0; font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.kal-meta { color: var(--ink-faint); font-size: 0.92rem; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.kal-quelle { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kal-quelle.f2r { color: var(--inhale); }
.kal-quelle.ak { color: var(--akademie); }
.kal-aktion { font-size: 0.92rem; color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--line); white-space: nowrap; }
.kal-aktion:hover { color: var(--ink); }
.kal-fest { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .kal-fest { grid-template-columns: minmax(0, 1fr); } }
.kal-leer { margin-top: 32px; color: var(--ink-faint); }

/* ---------- Kalender: Monatsansicht, Liste, Pop-up ---------- */
:root { --k-breathwork: #93a5ff; --k-move: #5fbf93; --k-coaching: #d7a85b; --k-training: #e3879f; --k-sonstiges: #b9b9b6; }
.k-breathwork { --k: var(--k-breathwork); }
.k-move { --k: var(--k-move); }
.k-coaching { --k: var(--k-coaching); }
.k-training { --k: var(--k-training); }
.k-sonstiges { --k: var(--k-sonstiges); }
.kal-abschnitt { padding-top: 24px; }
.kal-kopf { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 16px; }
.kal-kopf h3 { font-size: 1.4rem; min-width: 11ch; text-align: center; }
.kal-pfeil { font: 600 1.3rem/1 var(--font-text); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.kal-pfeil:hover { border-color: var(--exhale); background: var(--exhale-soft); }
.kal-heute-knopf { font: inherit; font-size: 0.92rem; border: 1px solid var(--line); background: none; color: var(--ink-dim); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.kal-zahl { margin-left: auto; color: var(--ink-faint); font-size: 0.95rem; }
.kal-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kal-wt { background: var(--bg-panel); color: var(--ink-faint); font-size: 0.85rem; text-align: center; padding: 10px 0; letter-spacing: 0.04em; }
.kal-tag { background: var(--bg-panel-2); min-height: 120px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kal-tag.aussen { background: #0a0d14; }
.kal-tag.aussen .kal-nr { color: var(--ink-faint); }
.kal-tag.vorbei .kal-chip { opacity: 0.55; }
.kal-nr { align-self: flex-start; font: 600 0.92rem var(--font-text); color: var(--ink-dim); background: none; border: 0; border-radius: 999px; width: 32px; height: 32px; cursor: pointer; flex-shrink: 0; }
.kal-nr:hover { background: var(--bg-karte); }
.kal-tag.heute .kal-nr { background: var(--exhale); color: #fff; }
.kal-tag.gewaehlt { box-shadow: inset 0 0 0 2px var(--exhale); }
.kal-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kal-chip { display: block; width: 100%; text-align: left; font: 500 0.8rem/1.3 var(--font-text); color: var(--ink); background: color-mix(in srgb, var(--k) 18%, transparent); border: 0; border-left: 3px solid var(--k); border-radius: 6px; padding: 5px 6px; cursor: pointer; }
.kal-chip:hover, .kal-chip:focus-visible { background: color-mix(in srgb, var(--k) 32%, transparent); }
.kal-chip-zeit { display: block; color: var(--k); font-size: 0.75rem; font-weight: 600; }
.kal-punkte { display: none; gap: 3px; flex-wrap: wrap; justify-content: center; }
.kal-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--k); }
@media (max-width: 760px) {
  .kal-tag { min-height: 60px; align-items: center; padding: 4px 2px; }
  .kal-nr { align-self: center; }
  .kal-chips { display: none; }
  .kal-punkte { display: flex; }
  .kal-kopf h3 { font-size: 1.15rem; }
  .kal-zahl { margin-left: 0; width: 100%; }
}
.kal-legende { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-faint); font-size: 0.92rem; }
.kal-legende span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--k); vertical-align: 1px; }
.kal-legende .f2r::before, .kal-legende .ak::before { background: var(--inhale); }
.kal-tagesliste, .kal-naechste { margin-top: 36px; }
.kal-tagesliste h4, .kal-naechste h4 { font: 600 1.12rem var(--font-display); margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kal-liste { list-style: none; margin: 0; padding: 0; }
.kal-eintrag { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line-soft); background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.kal-eintrag:hover .kal-eintrag-titel { color: var(--inhale); }
@media (max-width: 600px) { .kal-eintrag { grid-template-columns: 56px minmax(0, 1fr); } .kal-eintrag .kal-aktion { display: none; } }
.kal-eintrag-text { display: grid; gap: 3px; min-width: 0; }
.kal-eintrag-titel { font: 600 1.08rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.kal-quelle { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--k, var(--inhale)); }
.kal-meta { color: var(--ink-faint); font-size: 0.94rem; display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; }
.kal-aktion { font-size: 0.92rem; color: var(--ink-dim); border-bottom: 1px solid var(--line); white-space: nowrap; text-decoration: none; }
.datum-kachel[class*='k-'] { border-color: color-mix(in srgb, var(--k) 55%, transparent); }
.datum-kachel[class*='k-'] .tag { color: var(--k); }

.kal-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-panel); color: var(--ink); padding: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8); }
.kal-dialog::backdrop { background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(3px); }
.kal-dialog-innen { position: relative; padding: 30px 28px 28px; }
.kal-dialog-zu { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kal-dialog h3 { font-size: 1.5rem; line-height: 1.2; margin: 8px 44px 18px 0; }
.kal-kat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--k, var(--inhale)); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin: 0; }
.kal-kat .pille { text-transform: none; letter-spacing: 0; font-weight: 500; }
.kal-fakten { margin: 0 0 18px; display: grid; gap: 10px; }
.kal-fakten div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
.kal-fakten dt { color: var(--ink-faint); font-size: 0.92rem; }
.kal-fakten dd { margin: 0; }
.kal-fakten.gross { margin-top: 28px; font-size: 1.08rem; }
.kal-beschreibung { color: var(--ink-dim); }
.termin-seite { padding: 48px 0 96px; }
.termin-seite .headline { margin-top: 10px; }

/* ---------- Fotos ---------- */
.bildreihe { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .bildreihe { grid-template-columns: minmax(0, 1fr); } }
.bildreihe img, .galerie img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.bildreihe figure, .galerie figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.galerie { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CP-Check (Breathwork) ---------- */
.cp { width: 100%; max-width: 400px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.cp-kopf { background: var(--bg-karte); padding: 16px 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.cp-inhalt { background: #f7f7f7; color: #0c0f17; padding: 28px 26px 26px; }
.cp-inhalt h3 { color: #0c0f17; font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
.cp-inhalt p { color: #1b2642; font-size: 0.98rem; margin: 0 0 10px; }
.cp-zeit { font-family: var(--font-display); font-weight: 600; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cp-knopf { display: block; width: 100%; margin-top: 18px; background: var(--exhale); color: #fff; font: 600 1rem var(--font-text); border: 0; border-radius: 999px; padding: 15px 20px; cursor: pointer; text-align: center; text-decoration: none; }
.cp-knopf:hover { background: var(--exhale-hover); }
.cp-link { display: block; margin: 14px auto 0; background: none; border: 0; color: #1b2642; font: 0.92rem var(--font-text); text-decoration: underline; cursor: pointer; }
.cp-hinweis { background: #d6e3f4; border: 1px solid rgba(52, 79, 239, 0.35); padding: 10px 14px; font-size: 0.9rem !important; border-radius: var(--radius-klein); margin-top: 12px !important; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding-top: 56px; }
.rechtstext h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; margin-bottom: 20px; }
.rechtstext h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.rechtstext h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--ink-dim); max-width: var(--lesebreite); }
.rechtstext h1, .rechtstext .entwurf { max-width: var(--lesebreite); }
.rechtstext ul { padding-left: 20px; }
.entwurf { border: 1px solid rgba(215, 168, 91, 0.5); background: rgba(215, 168, 91, 0.08); color: var(--ink-dim); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.fuss { padding: 48px 0 60px; border-top: 1px solid var(--line-soft); }
.fuss-oben { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.fuss .fein { color: var(--ink-faint); font-size: 0.92rem; max-width: 48ch; margin-top: 12px; }
.fuss .kontakt a { color: var(--ink-dim); text-decoration: none; }
.fuss .kontakt a:hover { color: var(--inhale); }
.fuss-nav { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.fuss-nav div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fuss-nav a { color: var(--ink-faint); text-decoration: none; font-size: 0.92rem; }
.fuss-nav a:hover { color: var(--ink-dim); }

/* ---------- Formulare, Konto, Admin ---------- */
.bereich { padding: 48px 0 96px; }
.bereich-kopf { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.bereich-kopf h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.bereich-kopf p { color: var(--ink-faint); margin: 6px 0 0; }
.bereich h2 { font-size: 1.25rem; margin-bottom: 16px; }
.block { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-panel-2); padding: 24px; margin-bottom: 20px; }
.block-leer { color: var(--ink-faint); margin: 0; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .zwei-spalten { grid-template-columns: minmax(0, 1fr); } }

.formular { display: grid; gap: 16px; }
.formular.reihe { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.feld { display: grid; gap: 6px; }
.feld label, .feld .label { font-size: 0.9rem; color: var(--ink-dim); }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-panel-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; width: 100%;
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--exhale); outline-offset: 0; border-color: transparent; }
.feld .hilfe { font-size: 0.85rem; color: var(--ink-faint); }
.check { display: flex; gap: 10px; align-items: center; color: var(--ink-dim); font-size: 0.95rem; }
.knopf { font: 600 0.95rem var(--font-text); color: #fff; background: var(--exhale); border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; white-space: nowrap; }
.knopf:hover { background: var(--exhale-hover); }
.knopf.leise { background: none; border: 1px solid var(--line); color: var(--ink-dim); }
.knopf.leise:hover { border-color: var(--ink-dim); color: var(--ink); }
.knopf.gefahr { background: none; border: 1px solid rgba(224, 100, 92, 0.5); color: var(--fehler); }
.meldung { border-radius: 10px; padding: 12px 16px; font-size: 0.95rem; margin-bottom: 20px; }
.meldung.ok { background: rgba(79, 178, 134, 0.12); border: 1px solid rgba(79, 178, 134, 0.4); }
.meldung.fehler { background: rgba(224, 100, 92, 0.12); border: 1px solid rgba(224, 100, 92, 0.4); }
.meldung.info { background: var(--exhale-soft); border: 1px solid rgba(40, 71, 223, 0.5); }
.meldung a { word-break: break-all; }

/* Kurze Seiten (Anmeldung, Bestätigungen): gleiche Außenbreite wie alle Seiten, Inhalt links bündig und schmal */
.anmelden { max-width: var(--maxw-wide); margin: 0 auto; padding: 72px 24px 110px; }
.anmelden > * { max-width: 560px; }
.anmelden h1 { font-size: 1.9rem; margin-bottom: 10px; }
.anmelden > p { color: var(--ink-dim); }

.admin-nav { border-bottom: 1px solid var(--line-soft); background: var(--bg-panel-2); }
.admin-nav .wrap-wide { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; min-height: 52px; }
.admin-nav a { color: var(--ink-dim); text-decoration: none; font-size: 0.95rem; }
.admin-nav a:hover { color: var(--ink); }
.admin-nav .marke { color: var(--inhale); font-weight: 600; margin-right: 8px; }
.admin-nav form { margin-left: auto; }

.tabelle { width: 100%; border-collapse: collapse; min-width: 640px; }
.tabelle th, .tabelle td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; vertical-align: middle; }
.tabelle th { color: var(--ink-faint); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.03em; }
.tabelle td { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.tabelle td a.name { color: var(--ink); font-weight: 600; text-decoration: none; }
.tabelle td a.name:hover { color: var(--inhale); text-decoration: underline; }
.tabelle tr:hover td { background: rgba(255, 255, 255, 0.02); }
.rahmen-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }

.pille { display: inline-block; font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-dim); white-space: nowrap; }
.pille.laufend, .pille.bestaetigt { border-color: rgba(79, 178, 134, 0.5); color: var(--ok); }
.pille.angefragt { border-color: rgba(215, 168, 91, 0.5); color: var(--warn); }
.pille.storniert { border-color: rgba(224, 100, 92, 0.5); color: var(--fehler); }
.pille.admin { border-color: var(--exhale); color: var(--inhale); }

.leistung { border-top: 1px solid var(--line-soft); padding: 18px 0; }
.leistung:first-of-type { border-top: 0; padding-top: 0; }
.leistung-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.leistung-kopf h3 { font-size: 1.1rem; }
.leistung .meta { color: var(--ink-faint); font-size: 0.9rem; margin-top: 4px; }
.leistung .haken-liste { margin-top: 14px; gap: 8px; font-size: 0.96rem; }
.leistung .fuer-dich { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(147, 165, 255, 0.3); background: var(--inhale-soft); color: var(--ink-dim); border-radius: var(--radius-klein); font-size: 0.96rem; }
.liste-einfach { list-style: none; margin: 0; padding: 0; }
.liste-einfach li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.liste-einfach li:last-child { border-bottom: 0; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.kennzahl { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kennzahl b { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.kennzahl span { color: var(--ink-faint); font-size: 0.88rem; }
.suche { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.suche input { flex: 1 1 220px; font: inherit; color: var(--ink); background: var(--bg-panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
details.aufklapp summary { cursor: pointer; color: var(--inhale); list-style: none; }
details.aufklapp summary::-webkit-details-marker { display: none; }
details.aufklapp[open] summary { margin-bottom: 16px; }

/* ---------- Ergänzungen der statischen Fassung (PHP + MySQL) ---------- */
[hidden] { display: none !important; }
.nav-link[aria-current='page'], .admin-nav a[aria-current='page'] { color: var(--ink); }
.admin-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }

/* Kalender: Pfeile, Tage und Termine sind Links, damit alles ohne JavaScript funktioniert */
a.kal-pfeil, a.kal-heute-knopf { display: inline-grid; place-items: center; text-decoration: none; }
a.kal-nr { display: grid; place-items: center; text-decoration: none; }
a.kal-chip { text-decoration: none; }
.kal-tage-listen .kal-tagesliste { display: none; }
.kal-tage-listen .kal-tagesliste:target, .kal-tage-listen .kal-tagesliste.offen { display: block; }
.kal-hinweis { color: var(--ink-faint); font-size: 0.95rem; margin-top: 14px; }

/* Terminvorschau auf statischen Seiten (gefüllt von seite.js) */
.termin-vorschau { margin-top: 32px; }
.termin-vorschau .kal-leer { margin-top: 0; }

/* Termin-Anfrage */
.anfrage { margin-top: 44px; }
.anfrage .block { background: var(--bg-panel); }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feld-hinweis { font-size: 0.9rem; color: var(--ink-faint); margin: 0; }
.feld-hinweis a { color: var(--ink-dim); }

/* Übersichten in Rechtsstrecken und Bestätigungen */
.uebersicht { margin: 0; display: grid; gap: 10px; }
.uebersicht div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
@media (max-width: 520px) { .uebersicht div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.uebersicht dt { color: var(--ink-faint); font-size: 0.92rem; }
.uebersicht dd { margin: 0; overflow-wrap: anywhere; }
.schmal { max-width: none; }
.schmal > p, .schmal > form, .schmal > .block, .schmal > h1 { max-width: 640px; }
.bereich .block h3 { font-size: 1.05rem; margin-bottom: 10px; }
.bereich .block > p:last-child { margin-bottom: 0; }
.aktionen { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.aktionen form { margin: 0; }

/* Tages-Protokoll im Kundenbereich */
.protokoll-tabelle td meter { width: 100%; max-width: 140px; height: 10px; vertical-align: middle; }
.protokoll-tabelle td .wert { display: inline-block; min-width: 3.2ch; }
.befinden { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.befinden legend { font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 6px; padding: 0; }
.befinden label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink-dim); }
.befinden input { accent-color: var(--exhale); }
.einwilligung-text { border: 1px solid rgba(147, 165, 255, 0.3); padding: 12px 16px; background: var(--inhale-soft); border-radius: var(--radius-klein); color: var(--ink-dim); font-size: 0.96rem; }
.check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--exhale); }
.check { align-items: flex-start; }

/* Fußzeile mit drei Linkgruppen */
.fuss .brand .logo-mark { height: 15px; }
.fuss-nav { row-gap: 14px; }

/* Meldungen mit langen Links (lokaler Anmeldelink) */
.meldung code { word-break: break-all; font-size: 0.85rem; }
/* CP-Check: Knöpfe erst zeigen, wenn seite.js geladen ist */
.cp:not(.bereit) .cp-nur-js { display: none; }
/* Kalender-Überschriften in der PHP-Fassung (h2/h3 statt h3/h4) */
.kal-kopf h2 { font-size: 1.4rem; min-width: 11ch; text-align: center; margin: 0; }
@media (max-width: 760px) { .kal-kopf h2 { font-size: 1.15rem; } }
.kal-tagesliste h3, .kal-naechste h3 { font: 600 1.12rem var(--font-display); margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
a.kennzahl { color: inherit; text-decoration: none; }
a.kennzahl:hover { border-color: var(--exhale); }
.leistung-kopf h3 a { text-decoration: none; }
.leistung-kopf h3 a:hover { color: var(--inhale); }
.panel-light .hinweis-klein, .panel-light .kal-leer { color: var(--ink-dim-on-light); }
.panel-light .zelle .tag { color: var(--akzent-on-light); }

/* ---------- CP-Check mit Double-Opt-in ---------- */
.cp-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-kopf); }
.cp-fortschritt { flex: 0 0 90px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cp-fortschritt span { display: block; height: 100%; width: 0; background: var(--exhale); transition: width .3s ease; }
.cp-fortschritt span[data-stand='1'] { width: 45%; }
.cp-fortschritt span[data-stand='2'] { width: 100%; }
.cp-formular { display: grid; gap: 10px; margin-top: 14px; }
.cp-label { font-size: 0.9rem; font-weight: 500; color: #1b2642; }
.cp-eingabe { font: inherit; font-size: 1rem; color: #0c0f17; background: #fff; border: 1px solid #b9c9d8; border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0; }
.cp-eingabe:focus { outline: 2px solid var(--exhale); outline-offset: 0; border-color: transparent; }
.cp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: #1b2642; line-height: 1.45; }
.cp-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--exhale); }
.cp-formular .cp-knopf { margin-top: 6px; }
.cp-klein { font-size: 0.85rem !important; color: #1b2642 !important; margin: 4px 0 0 !important; }
.cp-klein a { color: #2436c4; }
.cp-abschnitt .cp-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .cp-abschnitt .cp-raster { grid-template-columns: minmax(0, 1fr); } }

/* Auswertung: Stufen, die zum gemessenen Wert passende wird hervorgehoben */
.cp-stufen { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.cp-stufen li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; background: var(--bg-panel-2); }
@media (max-width: 560px) { .cp-stufen li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.cp-stufen .grenze { color: var(--ink-faint); font-size: 0.92rem; }
.cp-stufen b { color: var(--ink-kopf); font-weight: 600; }
.cp-stufen p { margin: 4px 0 0; color: var(--ink-dim); }
.cp-stufen li.aktiv { border-color: var(--exhale); background: var(--inhale-soft); }
.cp-stufen li.aktiv .grenze { color: var(--inhale); }
.cp-dein-wert { font-size: clamp(2rem, 6vw, 3rem); font-weight: 600; color: var(--ink-kopf); margin: 6px 0 0; }
.auswertung-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .auswertung-raster { grid-template-columns: minmax(0, 1fr); } }
/* Mobiles Menü als Karte mit runden Ecken statt harter Kante */
.nav-mobil-liste { left: 12px; right: 12px; top: 72px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7); }

/* ======================================================================================
   Farbsysteme nach dem Corporate Design (PDF). Nur Farbwerte aus dem PDF:
   Nachtblau #0c0f17 #121723 #161d2e #1b2642 · Hellblau #d6e3f4 #b9c9d8 #9fb2c4 #8399aa
   Blau #344fef #435df3 #4f69fe #6379f9 #4881f7 · Königsblau #110ea5 #1a17af #1e1abb #2622cf
   Hellgrau #f7f7f7 #e8e8e8 #d9d9d9 · Verlauf 1 #4881f7 nach #000813 · Verlauf 2 #d6e3f4 nach #1b2642
   Umschalten über data-modus (dunkel|hell) auf <html>, gesetzt von thema.js.
   ====================================================================================== */
:root {
  --inhale: #6379f9;
  --knopf-text: #ffffff;
  --verlauf-1: linear-gradient(135deg, #4881f7 0%, #000813 100%);
  --verlauf-2: linear-gradient(135deg, #d6e3f4 0%, #1b2642 100%);
  --nav-grund: rgba(12, 15, 23, 0.9);
  --kal-aussen: #0a0d14;
  --karte-grund: var(--bg-karte);
  --k-breathwork: #6379f9; --k-move: #4881f7; --k-coaching: #d6e3f4; --k-training: #9fb2c4; --k-sonstiges: #8399aa;
}

/* Heller Modus: gleiche Marke, gleiche Akzente, Nachtblau wird zur Schrift */
:root[data-modus='hell'] {
  --bg: #f7f7f7;
  --bg-panel: #ffffff;
  --bg-panel-2: #f7f7f7;
  --bg-karte: #ffffff;
  --ink: #0c0f17;
  --ink-kopf: #0c0f17;
  --ink-dim: #1b2642;
  --ink-faint: #4a5a70;
  --inhale: #1a17af;
  --inhale-soft: rgba(52, 79, 239, 0.1);
  --exhale-soft: rgba(52, 79, 239, 0.12);
  --line: rgba(12, 15, 23, 0.14);
  --line-soft: rgba(12, 15, 23, 0.08);
  --nav-grund: rgba(247, 247, 247, 0.92);
  --kal-aussen: #e8e8e8;
  --karte-grund: #ffffff;
  --k-breathwork: #1a17af; --k-move: #344fef; --k-coaching: #1b2642; --k-training: #2622cf; --k-sonstiges: #4a5a70;
  color-scheme: light;
}
:root[data-modus='dunkel'], :root:not([data-modus]) { color-scheme: dark; }

/* Akzentfarben aus dem PDF (Knöpfe, Links, Markierungen) */

/* Flächen, die bisher feste Farben hatten, auf die Variablen legen */
.nav { background: var(--nav-grund); }
.kal-tag.aussen { background: var(--kal-aussen); }
.kal-dialog, .nav-vorschau { background: var(--bg-panel); }
.nav-mobil-liste { background: var(--bg); }
.btn-primary, .knopf:not(.leise):not(.gefahr), .cp-knopf, .nav-cta, .kal-tag.heute .kal-nr, .skip-link { color: var(--knopf-text); }
:root[data-modus='hell'] .tabelle tr:hover td { background: rgba(12, 15, 23, 0.03); }
:root[data-modus='hell'] .kal-dialog::backdrop { background: rgba(12, 15, 23, 0.45); }
:root[data-modus='hell'] .cp, :root[data-modus='hell'] .nav-vorschau, :root[data-modus='hell'] .nav-mobil-liste { box-shadow: 0 24px 48px -20px rgba(12, 15, 23, 0.25); }
:root[data-modus='hell'] .cp-inhalt { background: #ffffff; }
:root[data-modus='hell'] .cp-kopf { background: #1b2642; color: #d6e3f4; }
:root[data-modus='hell'] .panel-light { background: #d6e3f4; }
:root[data-modus='hell'] .panel-light .zelle { background: #ffffff; }
:root[data-modus='hell'] .fuss { background: #ffffff; }

/* Verläufe aus dem PDF: Knöpfe mit Verlauf 1 über der Akzentfarbe, Überschrift-Hervorhebung mit Verlauf 2 */
.btn-primary, .cp-knopf, .knopf:not(.leise):not(.gefahr) {
  background-color: var(--exhale);
  background-image: linear-gradient(135deg, rgba(72, 129, 247, 0.5) 0%, rgba(0, 8, 19, 0.35) 100%);
}
.btn-primary:hover, .cp-knopf:hover, .knopf:not(.leise):not(.gefahr):hover { background-color: var(--royal); }
h1.headline .zweite {
  background-image: linear-gradient(90deg, #d6e3f4 0%, var(--inhale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-modus='hell'] h1.headline .zweite { background-image: linear-gradient(90deg, #1b2642 0%, var(--exhale) 100%); }
@media (forced-colors: active) { h1.headline .zweite { color: CanvasText; background: none; } }
.aufruf { background: radial-gradient(120% 140% at 100% 0%, rgba(72, 129, 247, 0.32), transparent 60%), var(--verlauf-1); border-color: rgba(72, 129, 247, 0.35); }
.aufruf h2, .aufruf .eyebrow { color: #ffffff; }
.aufruf p { color: #d6e3f4; }
.aufruf .btn-ghost { color: #d6e3f4; border-color: rgba(214, 227, 244, 0.4); }
.preis { background: var(--verlauf-2); border-color: transparent; }
.preis .name, .preis .haken-liste li { color: #0c0f17; }
.preis .betrag { color: #1a17af; }
.preis .betrag small, .preis .hinweis-klein { color: #1b2642; }
.preis .haken-liste li::before { border-color: #1a17af; }
.preis .btn-ghost { color: #0c0f17; border-color: rgba(12, 15, 23, 0.35); }

/* Getrennte Karten statt zusammenhängender Tabellen-Blöcke (Carlo, 14.09.2026):
   jedes Angebot und jeder Vorteil steht in einem eigenen Container mit Abstand */
.raster { gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
.zelle { background: var(--karte-grund); border: 1px solid var(--line); border-radius: var(--radius); }
.panel .zelle { background: var(--bg); }
:root[data-modus='hell'] .panel .zelle { background: #f7f7f7; }

/* Tabs: ein Knopf je Bereich, darunter nur dessen Inhalt. Ohne JavaScript stehen alle Inhalte untereinander. */
.tabs { margin-top: 36px; }
.tab-leiste { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tabs:not(.bereit) .tab-leiste { display: none; }
.tab-knopf { font: 500 0.95rem var(--font-text); color: var(--ink-dim); background: var(--bg-panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.tab-knopf:hover { border-color: var(--exhale); color: var(--ink); }
.tab-knopf[aria-selected='true'] { color: var(--knopf-text); background: var(--exhale); border-color: var(--exhale); }
.tabs:not(.bereit) .tab-panel + .tab-panel { margin-top: 20px; }
.tab-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--karte-grund); padding: 28px; }
.tab-panel h3 { font-size: 1.35rem; margin-bottom: 14px; }
.tab-panel .uebersicht div { grid-template-columns: 170px minmax(0, 1fr); }
@media (max-width: 520px) { .tab-panel { padding: 22px 18px; } .tab-panel .uebersicht div { grid-template-columns: minmax(0, 1fr); } }
.tab-panel .preiswert { font-size: 1.5rem; font-weight: 600; color: var(--inhale); }

/* Kalender: Filterknöpfe je Bereich */
.kal-filter { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.kal-filter button { font: 500 0.9rem var(--font-text); color: var(--ink-dim); background: var(--bg-panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.kal-filter button::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--k, var(--ink-faint)); }
.kal-filter button[aria-pressed='true'] { color: var(--ink); border-color: var(--exhale); background: var(--exhale-soft); }
.kal:not(.bereit) .kal-filter { display: none; }
.kal .ausgefiltert { display: none !important; }
.kal-einbettung { margin-top: 32px; }
.kal-einbettung .kal-tage-listen { display: none; }

/* Hell/Dunkel-Knopf in der Navigation: Sonne im dunklen Modus (schaltet auf hell), Mond im hellen */
.modus-knopf { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .2s ease, color .2s ease; }
.modus-knopf:hover, .modus-knopf:focus-visible { border-color: var(--exhale); color: var(--ink-kopf); }
.modus-knopf svg { width: 18px; height: 18px; }
.modus-mond { display: none; }
:root[data-modus='hell'] .modus-sonne { display: none; }
:root[data-modus='hell'] .modus-mond { display: block; }
@media print { .modus-knopf { display: none; } }

/* ======================================================================================
   Bewegung und Feinschliff (Carlo, 14.09.2026: mehr Animationen, bessere Hover-Effekte,
   eleganter, größeres Logo). Alles ohne style-Attribute, Zustände nur über Klassen.
   Bei prefers-reduced-motion greift die Sperre oben: keine Animation, keine Übergänge.
   ====================================================================================== */

/* Logo größer, auch mobil */
.logo-mark { height: 22px; }
.fuss .brand .logo-mark { height: 20px; }
@media (max-width: 1100px) and (min-width: 901px) { .logo-mark { height: 19px; } }
@media (max-width: 900px) { .logo-mark { height: 21px; } }
@media (max-width: 360px) { .logo-mark { height: 18px; } }
.brand { transition: opacity .2s ease; }
.brand:hover { opacity: .85; }

/* Navigation: Glas, beim Scrollen mit Schatten; Links mit einlaufender Unterstreichung */
.nav { transition: box-shadow .3s ease, background-color .3s ease; }
.nav.gescrollt { box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .7); }
:root[data-modus='hell'] .nav.gescrollt { box-shadow: 0 12px 32px -18px rgba(12, 15, 23, .25); }
.nav-link { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--exhale); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav-link:hover::after, .nav-link[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav-cta, .nav-konto { transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease; }
.nav-cta:hover, .nav-konto:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--exhale); }

/* Knöpfe: Lichtkante läuft beim Überfahren durch, leichtes Anheben mit farbigem Schein */
.btn-primary, .cp-knopf, .knopf:not(.leise):not(.gefahr) { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s ease, box-shadow .3s ease, background-color .2s ease; }
.btn-primary::before, .cp-knopf::before, .knopf:not(.leise):not(.gefahr)::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.btn-primary:hover::before, .cp-knopf:hover::before, .knopf:not(.leise):not(.gefahr):hover::before { transform: translateX(120%); }
.btn-primary:hover, .cp-knopf:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--exhale); }
.btn-primary:active, .cp-knopf:active { transform: translateY(0); }
.btn-ghost, .mehr-link { background-image: linear-gradient(var(--inhale), var(--inhale)); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .2s ease, border-color .2s ease; }
.btn-ghost:hover, .mehr-link:hover { background-size: 100% 1px; border-color: transparent; }
.mehr-link::after { content: '\2009\2192'; display: inline-block; transition: transform .25s ease; }
.mehr-link:hover::after { transform: translateX(4px); }

/* Eyebrow mit feiner Linie davor */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; flex-shrink: 0; }

/* Karten: heben sich, Rand leuchtet in der Akzentfarbe, feiner Lichtverlauf oben */
.zelle, .karte, .tab-panel, .kennzahl { position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .3s ease, background-color .3s ease; }
.zelle::after, .karte::after { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--inhale), transparent); opacity: 0; transition: opacity .35s ease; }
.zelle:hover, .karte:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--exhale) 55%, transparent); box-shadow: 0 28px 50px -30px color-mix(in srgb, var(--exhale) 70%, transparent); }
.zelle:hover::after, .karte:hover::after { opacity: 1; }
:root[data-modus='hell'] .zelle:hover, :root[data-modus='hell'] .karte:hover { box-shadow: 0 28px 50px -30px rgba(26, 23, 175, .45); }
.tab-knopf { transition: transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease; }
.tab-knopf:hover { transform: translateY(-1px); }
.tab-panel:not([hidden]) { animation: einblenden-hoch .45s cubic-bezier(.2, .7, .2, 1) both; }
.kal-filter button { transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.kal-filter button:hover { transform: translateY(-1px); border-color: var(--exhale); }
.kal-eintrag { transition: padding-left .3s ease, background-color .3s ease; border-radius: var(--radius-klein); }
.kal-eintrag:hover { padding-left: 10px; background-color: var(--inhale-soft); }
.kal-chip { transition: background-color .2s ease, transform .2s ease; }
.kal-chip:hover { transform: translateY(-1px); }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--inhale); }

/* Hero: ruhig atmendes Licht im Hintergrund, Inhalt läuft beim Laden ein */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -10% -20% 0 30%;
  background: radial-gradient(40% 50% at 70% 40%, color-mix(in srgb, var(--exhale) 30%, transparent), transparent 70%),
              radial-gradient(35% 40% at 30% 70%, rgba(72, 129, 247, .16), transparent 70%);
  filter: blur(20px); pointer-events: none; animation: licht 16s ease-in-out infinite alternate;
}
:root[data-modus='hell'] .hero::before { opacity: .55; }
@keyframes licht { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 4%, 0) scale(1.12); } }
.hero > div:first-child > * { animation: einblenden-hoch .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero-visual { animation: einblenden .9s .2s ease both; }
@keyframes einblenden-hoch { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

/* Einblenden beim Scrollen: seite.js setzt .zeigen nur an Elemente unterhalb des Sichtfelds.
   Ohne JavaScript bleibt alles sichtbar. */
.zeigen { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .3s ease; }
.zeigen.gezeigt { opacity: 1; transform: none; }
.zeigen[data-stufe='1'] { transition-delay: .08s; }
.zeigen[data-stufe='2'] { transition-delay: .16s; }
.zeigen[data-stufe='3'] { transition-delay: .24s; }
.zeigen.gezeigt.fertig { transition-delay: 0s; transition-duration: .35s; }
.zelle.zeigen.gezeigt.fertig:hover, .karte.zeigen.gezeigt.fertig:hover, .reset-schritt.zeigen.gezeigt.fertig:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .zeigen { opacity: 1; transform: none; } }

/* Helle Abschnitte: kein grauer Rastergrund mehr zwischen den Karten */
.panel-light .raster { background: none; border: 0; }
.panel-light .zelle { border-color: rgba(12, 15, 23, .08); }

/* RESET LIVE: eigener Abschnitt mit Verlauf 1 aus dem PDF, bleibt in beiden Modi dunkel */
.reset-live { position: relative; overflow: hidden; isolation: isolate; color: #ffffff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(72, 129, 247, .45), transparent 65%),
              radial-gradient(50% 70% at 0% 100%, rgba(17, 14, 165, .55), transparent 70%),
              linear-gradient(160deg, #1b2642 0%, #0c0f17 55%, #000813 100%); }
.reset-live::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%;
  border: 1px solid rgba(214, 227, 244, .14); box-shadow: 0 0 0 60px rgba(214, 227, 244, .03), 0 0 0 120px rgba(214, 227, 244, .02);
  animation: atmen 11s ease-in-out infinite; }
.reset-live h2, .reset-live h3 { color: #ffffff; }
.reset-live .eyebrow { color: #93a5ff; }
.reset-live .lede-2 { color: #d6e3f4; }
.reset-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .reset-kopf { grid-template-columns: minmax(0, 1fr); } }
.reset-preis { display: grid; justify-items: start; gap: 4px; padding: 20px 26px; border-radius: var(--radius); border: 1px solid rgba(214, 227, 244, .18); background: rgba(214, 227, 244, .06); backdrop-filter: blur(8px); }
.reset-betrag { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; line-height: 1; background-image: linear-gradient(90deg, #d6e3f4, #6379f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reset-dauer { font-size: .92rem; color: #b9c9d8; }
.reset-schritte { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .reset-schritte { grid-template-columns: minmax(0, 1fr); } }
.reset-schritt { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); border: 1px solid rgba(214, 227, 244, .14);
  background: linear-gradient(160deg, rgba(214, 227, 244, .09), rgba(214, 227, 244, .02));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .35s ease; }
.reset-schritt:hover { transform: translateY(-6px); border-color: rgba(99, 121, 249, .6); box-shadow: 0 30px 60px -30px rgba(72, 129, 247, .7); }
.reset-nr { display: block; font-size: 2.6rem; font-weight: 600; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1px rgba(214, 227, 244, .45); transition: color .35s ease, -webkit-text-stroke-color .35s ease; }
.reset-schritt:hover .reset-nr { color: #6379f9; -webkit-text-stroke-color: #6379f9; }
.reset-schritt .tag { display: block; color: #93a5ff; font-size: .9rem; font-weight: 500; margin-bottom: 10px; }
.reset-schritt h3 { font-size: 1.2rem; margin-bottom: 10px; }
.reset-schritt p { margin: 0; color: #d6e3f4; font-size: .98rem; }
.reset-fuss { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.reset-fakten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reset-fakten li { font-size: .92rem; color: #d6e3f4; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(214, 227, 244, .18); background: rgba(214, 227, 244, .05); }
.reset-fakten li::before { content: '\2713'; color: #6379f9; margin-right: 8px; font-weight: 600; }
@media (forced-colors: active) { .reset-betrag, .reset-nr { color: CanvasText; background: none; -webkit-text-stroke: 0; } }

/* Deftform-Formular: Höhe setzt embed.js (seite.js), .fest nur als Ausweg */
.deftform-rahmen { margin-top: 24px; padding: clamp(18px, 4vw, 44px) clamp(14px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6); }
.anfrage .block { padding: clamp(22px, 4vw, 40px); }
.deftform-rahmen { min-height: 420px; }
.deftform-rahmen iframe { display: block; width: 100%; border: 0; }
.deftform-rahmen iframe.fest { height: 1150px; }
@media (max-width: 560px) { .deftform-rahmen { padding: 14px 6px; } .deftform-rahmen iframe.fest { height: 1350px; } }
.formular-hinweis { margin-top: 12px; font-size: .88rem; color: var(--ink-faint); max-width: 72ch; }
.anfrage .pille.angefragt { display: inline-block; margin: 4px 0 0; white-space: normal; line-height: 1.45; border-radius: var(--radius-klein); padding: 8px 12px; }

/* ======================================================================================
   Blickfänge für Termine (Carlo, 14.09.2026): umlaufender Rand am Knopf "Call buchen",
   schwebender Kontaktknopf unten links mit Anrufen und Kontaktformular.
   ====================================================================================== */

/* Call buchen: ein Lichtstreifen läuft um den Rand, alle paar Sekunden ein weicher Schein */
@property --cta-winkel { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.nav-cta {
  --cta-fuellung: var(--exhale);
  position: relative;
  border: 2px solid transparent;
  padding: 8px 18px;
  background:
    linear-gradient(var(--cta-fuellung), var(--cta-fuellung)) padding-box,
    conic-gradient(from var(--cta-winkel), var(--exhale) 0deg, var(--exhale) 200deg, #d6e3f4 290deg, #6379f9 320deg, var(--exhale) 360deg) border-box;
  animation: cta-rand 3.6s linear infinite, cta-schein 7s ease-in-out infinite;
}
.nav-cta:hover { --cta-fuellung: var(--royal); background:
    linear-gradient(var(--cta-fuellung), var(--cta-fuellung)) padding-box,
    conic-gradient(from var(--cta-winkel), var(--royal) 0deg, var(--royal) 200deg, #d6e3f4 290deg, #6379f9 320deg, var(--royal) 360deg) border-box; }
@keyframes cta-rand { to { --cta-winkel: 360deg; } }
@keyframes cta-schein {
  0%, 70%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--exhale) 0%, transparent); }
  80% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--exhale) 28%, transparent), 0 10px 26px -10px var(--exhale); }
  90% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--exhale) 0%, transparent); }
}

/* Schwebender Kontaktknopf unten links */
.schnell { position: fixed; left: 16px; bottom: 16px; z-index: 60; }
.schnell:not(.bereit) { display: none; }
.schnell-knopf {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--knopf-text);
  background-color: var(--exhale);
  background-image: linear-gradient(135deg, rgba(72, 129, 247, 0.55) 0%, rgba(0, 8, 19, 0.35) 100%);
  box-shadow: 0 18px 36px -14px var(--exhale);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, background-color .2s ease;
}
.schnell-knopf svg { width: 24px; height: 24px; grid-area: 1 / 1; transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease; }
.schnell-auf-icon { opacity: 0; transform: rotate(-90deg) scale(.6); }
.schnell.offen .schnell-zu-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.schnell.offen .schnell-auf-icon { opacity: 1; transform: none; }
.schnell-knopf:hover { transform: translateY(-2px) scale(1.05); background-color: var(--royal); }
.schnell-knopf::before, .schnell-knopf::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--exhale);
  opacity: 0; pointer-events: none; animation: schnell-puls 3.2s ease-out infinite;
}
.schnell-knopf::after { animation-delay: 1.1s; }
.schnell.offen .schnell-knopf::before, .schnell.offen .schnell-knopf::after { animation: none; }
@keyframes schnell-puls { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

.schnell-feld {
  position: absolute; left: 0; bottom: 70px; width: min(310px, calc(100vw - 32px));
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65);
  display: grid; gap: 10px;
  opacity: 0; visibility: hidden; transform: translate3d(-8px, 14px, 0) scale(.94); transform-origin: bottom left;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .4s;
}
.schnell.offen .schnell-feld { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
:root[data-modus='hell'] .schnell-feld { box-shadow: 0 30px 60px -24px rgba(12, 15, 23, .3); }
.schnell-titel { margin: 0 0 4px; font-size: .95rem; font-weight: 600; color: var(--ink-kopf); }

.schnell-aktion, .kontakt-weg {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--radius-klein); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .25s ease, border-color .2s ease, background-color .2s ease;
}
.schnell-aktion { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), border-color .2s ease, background-color .2s ease; }
.schnell.offen .schnell-aktion { opacity: 1; transform: none; transition-delay: .08s; }
.schnell.offen .schnell-aktion + .schnell-aktion { transition-delay: .16s; }
.schnell.offen .schnell-aktion:hover, .kontakt-weg:hover { transform: translateX(4px); border-color: var(--exhale); background-color: var(--exhale-soft); transition-delay: 0s; }
.schnell-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--exhale-soft); color: var(--inhale); transition: background-color .2s ease, color .2s ease; }
.schnell-icon svg { width: 20px; height: 20px; }
.schnell-aktion:hover .schnell-icon, .kontakt-weg:hover .schnell-icon { background: var(--exhale); color: var(--knopf-text); }
.schnell-text b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.schnell-text small { display: block; font-size: .84rem; color: var(--ink-faint); hyphens: manual; }
@media print { .schnell { display: none; } }

/* Kontaktseite */
.kontakt-wege { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .kontakt-wege { grid-template-columns: minmax(0, 1fr); } }
.kontakt-weg { padding: 16px 18px; border-radius: var(--radius); background: var(--bg-panel); }

/* Nettopreis unter dem Bruttopreis (B2C und B2B, Carlo 14.09.2026) */
.preis-netto { display: block; margin-top: 4px; font-size: .82rem; font-weight: 400; line-height: 1.4; color: var(--ink-faint); letter-spacing: 0; font-family: var(--font-text); -webkit-text-fill-color: currentColor; }
.preis-kopf .betrag .preis-netto { color: #1b2642; text-align: right; }
.preis-kopf .betrag small + .preis-netto { margin-top: 6px; }
.karte .akzent + .preis-netto { margin-top: 2px; }
.tab-panel .preiswert .preis-netto { font-size: .85rem; }
.reset-preis .preis-netto { color: #b9c9d8; }
.kal-fakten .preis-netto { margin-top: 2px; }
@media (max-width: 640px) { .preis-kopf .betrag .preis-netto { text-align: left; } }

/* Kontaktknopf dezenter (Carlo, 14.09.2026): kleiner, ruhige Fläche statt Akzentfarbe, seltener Puls */
.schnell-knopf {
  width: 46px; height: 46px;
  color: var(--ink-kopf);
  background-color: var(--bg-panel);
  background-image: none;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55);
}
.schnell-knopf svg { width: 20px; height: 20px; }
.schnell-knopf:hover { background-color: var(--bg-karte); border-color: var(--exhale); color: var(--inhale); transform: translateY(-1px); }
.schnell.offen .schnell-knopf { border-color: var(--exhale); color: var(--inhale); }
.schnell-knopf::before { border-width: 1px; border-color: color-mix(in srgb, var(--inhale) 60%, transparent); animation: schnell-puls-leise 6s ease-out infinite; }
.schnell-knopf::after { content: none; }
@keyframes schnell-puls-leise { 0% { transform: scale(1); opacity: .45; } 30%, 100% { transform: scale(1.5); opacity: 0; } }
.schnell-feld { bottom: 58px; }
:root[data-modus='hell'] .schnell-knopf { box-shadow: 0 12px 26px -14px rgba(12, 15, 23, .3); }

/* Preiskasten ohne Hell-Dunkel-Verlauf (Carlo, 14.09.2026): ruhige Karte wie die übrigen, feine Akzentlinie oben */
.preis { position: relative; overflow: hidden; background: var(--bg-karte); border: 1px solid var(--line); }
.preis::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--exhale), var(--inhale)); }
.preis .name { color: var(--ink-kopf); }
.preis .betrag { color: var(--inhale); }
.preis .betrag small, .preis .hinweis-klein, .preis-kopf .betrag .preis-netto { color: var(--ink-faint); }
.preis .haken-liste li { color: var(--ink-dim); }
.preis .haken-liste li::before { border-color: var(--exhale); }
.preis .btn-ghost { color: var(--ink-dim); border-color: var(--line); }
.preis-kopf { border-color: var(--line); }
:root[data-modus='hell'] .preis { background: #ffffff; box-shadow: 0 24px 48px -32px rgba(12, 15, 23, .25); }

/* ======================================================================================
   Kalender-Feinschliff (Carlo, 14.09.2026): ruhigere Filter, Terminliste mit Luft,
   Info-Karte beim Überfahren eines Termins
   ====================================================================================== */

/* Filter als ruhige Leiste; "Alle" ohne Farbpunkt, aktiver Bereich in seiner Kalenderfarbe */
.kal-filter { margin: 0 0 20px; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-panel); }
.kal-filter button { display: inline-flex; align-items: center; gap: 8px; font: 500 .9rem var(--font-text); color: var(--ink-dim); background: none; border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.kal-filter button::before { content: ''; width: 8px; height: 8px; margin: 0; border-radius: 50%; background: var(--k, var(--ink-faint)); flex-shrink: 0; }
.kal-filter button[data-kal-filter='alle']::before { content: none; }
.kal-filter button:hover { color: var(--ink); background: var(--bg-karte); transform: none; border-color: transparent; }
.kal-filter button[aria-pressed='true'] { color: var(--ink); background: color-mix(in srgb, var(--k, var(--exhale)) 20%, transparent); border-color: color-mix(in srgb, var(--k, var(--exhale)) 55%, transparent); }
@media (max-width: 560px) { .kal-filter { display: flex; border-radius: var(--radius); } }

/* Nächste Termine: jede Zeile als eigene Karte mit Luft, Details als kleiner Knopf */
.termin-vorschau .kal-liste, .kal-naechste .kal-liste, .kal-tagesliste .kal-liste { display: grid; gap: 12px; margin-top: 24px; }
/* Nächste Termine je Monat aufklappbar, gleiche Sprache wie die FAQ */
.kal-monate { margin-top: 8px; }
.kal-monat { border-bottom: 1px solid var(--line); }
.kal-monat summary { padding: 20px 0; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; font: 600 1.05rem var(--font-display); color: var(--ink-kopf); }
.kal-monat summary::-webkit-details-marker { display: none; }
.kal-monat summary::after { content: '+'; color: var(--exhale); font-size: 1.5rem; font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.kal-monat[open] summary::after { transform: rotate(45deg); }
.kal-monat summary:focus-visible { outline: 2px solid var(--inhale); outline-offset: 4px; border-radius: 4px; }
.kal-monat-anzahl { margin-left: auto; font: 400 .92rem var(--font-text); color: var(--ink-faint); }
.kal-naechste .kal-monat .kal-liste { margin-top: 0; padding-bottom: 24px; }
.kal-liste .kal-eintrag {
  grid-template-columns: 68px minmax(0, 1fr) auto; gap: 22px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, box-shadow .3s ease, background-color .25s ease;
}
.kal-liste .kal-eintrag:hover { padding-left: 24px; transform: translateY(-3px); border-color: color-mix(in srgb, var(--k, var(--exhale)) 60%, transparent); background: var(--bg-karte); box-shadow: 0 20px 40px -28px color-mix(in srgb, var(--k, var(--exhale)) 80%, transparent); }
.kal-liste .kal-eintrag .datum-kachel { padding: 10px 6px; border-color: color-mix(in srgb, var(--k, var(--inhale)) 45%, transparent); }
.kal-liste .kal-eintrag-text { gap: 5px; }
.kal-liste .kal-meta { gap: 4px 16px; }
.kal-liste .kal-aktion { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.kal-liste .kal-eintrag:hover .kal-aktion { color: var(--knopf-text); background: var(--exhale); border-color: var(--exhale); }
@media (max-width: 600px) { .kal-liste .kal-eintrag { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 16px 18px; } .kal-liste .kal-eintrag:hover { padding-left: 18px; } }
:root[data-modus='hell'] .kal-liste .kal-eintrag { background: #ffffff; }

/* Monatsraster darf die Info-Karte nicht abschneiden: runde Ecken direkt an den Eckzellen statt overflow hidden */
.kal-raster { overflow: visible; }
.kal-raster > :nth-child(1) { border-top-left-radius: 13px; }
.kal-raster > :nth-child(7) { border-top-right-radius: 13px; }
.kal-raster > :nth-last-child(7) { border-bottom-left-radius: 13px; }
.kal-raster > :last-child { border-bottom-right-radius: 13px; }
.kal-tag { position: relative; }
.kal-tag:hover, .kal-tag:focus-within { z-index: 5; }
.kal-chips li { position: relative; }
.kal-chip { position: relative; transition: background-color .2s ease, transform .2s ease; }

.kal-tipp {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 10; width: 250px;
  display: grid; gap: 4px; padding: 14px 16px; text-align: left;
  font: 400 .84rem/1.45 var(--font-text); color: var(--ink-dim); white-space: normal;
  background: var(--bg-panel); border: 1px solid var(--line); border-top: 3px solid var(--k, var(--exhale)); border-radius: var(--radius-klein);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .75);
  opacity: 0; visibility: hidden; transform: translate3d(0, 6px, 0); pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .25s;
}
.kal-tipp::after { content: ''; position: absolute; left: 18px; top: 100%; border: 7px solid transparent; border-top-color: var(--line); }
.kal-tag.rechts .kal-tipp { left: auto; right: 0; }
.kal-tag.rechts .kal-tipp::after { left: auto; right: 18px; }
.kal-chip:hover .kal-tipp, .kal-chip:focus-visible .kal-tipp { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.kal-tipp-kat { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--k, var(--inhale)); }
.kal-tipp-titel { font: 600 .98rem/1.3 var(--font-display); color: var(--ink-kopf); margin-bottom: 2px; }
.kal-tipp-zeile { color: var(--ink-dim); }
.kal-tipp-text { margin-top: 4px; color: var(--ink-faint); font-size: .8rem; }
.kal-tipp-hinweis { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-soft); color: var(--inhale); font-size: .78rem; font-weight: 500; }
:root[data-modus='hell'] .kal-tipp { background: #ffffff; box-shadow: 0 24px 48px -18px rgba(12, 15, 23, .3); }
/* Tipp nur mit Maus: auf Touch-Geräten öffnet der Tipp direkt das Pop-up */
@media (hover: none) { .kal-tipp { display: none; } }
@media (max-width: 760px) { .kal-tipp { display: none; } }

/* KI-Plakette im Bild (Art. 50 KI-VO, § 5 UWG): nur an Bildern aus public/bilder/kunde/ki/ und ki-teilweise/, gesetzt von bauen.mjs.
   Deckung 0,62 Schwarz, damit weiße Schrift auch vor heller Bildecke lesbar bleibt; Schrift skaliert nicht mit. */
.mit-plakette { position: relative; }
.ki-plakette {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 4px; border-radius: 999px;
  background: rgba(0, 0, 0, .62); color: #ffffff;
  font: 500 .68rem/1.2 var(--font-text); letter-spacing: .01em;
  max-width: calc(100% - 16px); /* längerer Text „Symbolbild, teilweise KI-generiert“: in schmalen Bildern umbrechen statt überstehen */
  pointer-events: none;
}
.ki-zeichen { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .25em; border: 1px solid rgba(255, 255, 255, .85); border-radius: 4px; font-weight: 700; font-size: .62rem; letter-spacing: .02em; }
.trainer-bild.mit-plakette .ki-plakette { right: 50%; bottom: 24px; transform: translateX(50%); }
@media (forced-colors: active) { .ki-plakette { background: Canvas; color: CanvasText; border: 1px solid CanvasText; } }

/* Aufklappbare Abschnitte in Rechtstexten, im Stil der FAQ */
.rechtstext .faq { margin-top: 28px; }
.rechtstext .faq summary { font-weight: 600; color: var(--ink-kopf); }
.rechtstext .faq .antwort p, .rechtstext .faq .antwort li { color: var(--ink-dim); }
.rechtstext .nachweise { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rechtstext .nachweise li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--bg-panel); }
.rechtstext .nachweise b { display: block; color: var(--ink-kopf); font-weight: 600; margin-bottom: 2px; }

/* ======================================================================================
   Mega-Menü (Carlo, 15.09.2026): Foto und Kurztext beim Überfahren eines Menüpunkts.
   Öffnet bei :hover und :focus-within, nur ab 901 px (darunter gilt das Handy-Menü).
   Fotos lädt seite.js beim ersten Öffnen; ohne JavaScript bleibt der Farbverlauf als Platzhalter.
   ====================================================================================== */
.mega { position: static; display: flex; align-items: center; height: 68px; }
.mega-panel {
  position: absolute; top: calc(100% - 6px); left: 50%; z-index: 55;
  width: min(680px, calc(100vw - 48px));
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-panel); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translate3d(-50%, 8px, 0);
  transition: opacity .2s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s;
  transition-delay: .12s, .12s, .42s;
}
/* unsichtbare Brücke zwischen Menüpunkt und Panel, damit es beim Hinfahren nicht zuklappt */
.mega-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel {
  opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0);
  transition-delay: .08s, .08s, 0s;
}
.mega.zu .mega-panel { opacity: 0; visibility: hidden; transition-delay: 0s; }
.mega:hover > .nav-link, .mega:focus-within > .nav-link { color: var(--ink); }
.mega:hover > .nav-link::after, .mega:focus-within > .nav-link::after { transform: scaleX(1); transform-origin: left; }
:root[data-modus='hell'] .mega-panel { box-shadow: 0 40px 80px -30px rgba(12, 15, 23, .3); }

.mega-bild { position: relative; overflow: hidden; border-radius: var(--radius-klein); aspect-ratio: 4 / 5; background: linear-gradient(160deg, #1b2642, #0c0f17 60%, #000813); }
.mega-bild img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.04); transition: opacity .4s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.mega-bild img.geladen { opacity: 1; transform: none; }
.mega:hover .mega-bild img.geladen { transform: scale(1.02); }
.mega-platzhalter { position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(72, 129, 247, .45), transparent 70%), radial-gradient(50% 50% at 20% 80%, rgba(17, 14, 165, .5), transparent 70%); }

.mega-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 6px 6px 4px 0; }
.mega-kicker { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inhale); }
.mega-titel { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--ink-kopf); letter-spacing: -.01em; }
.mega-text > p:not(.mega-kicker):not(.mega-titel) { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--ink-dim); }
.mega-punkte { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.mega-punkte li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink-dim); }
.mega-punkte li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--exhale); border-bottom: 2px solid var(--exhale); transform: rotate(-45deg); }
.mega-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--knopf-text); background-color: var(--exhale); background-image: linear-gradient(135deg, rgba(72, 129, 247, .5), rgba(0, 8, 19, .35)); transition: transform .2s ease, background-color .2s ease, box-shadow .3s ease; }
.mega-cta::after { content: '\2192'; transition: transform .2s ease; }
.mega-cta:hover { transform: translateY(-1px); background-color: var(--royal); box-shadow: 0 12px 26px -12px var(--exhale); }
.mega-cta:hover::after { transform: translateX(3px); }

/* Kalender-Panel ohne Foto, dafür die nächsten Termine aus der Datenbank */
.mega-panel.mega-kalender { grid-template-columns: minmax(0, 1fr); width: min(460px, calc(100vw - 48px)); }
.mega-termine { display: grid; gap: 8px; margin: 4px 0 6px; }
.mega-termine > p { margin: 0; font-size: .94rem; color: var(--ink-dim); }
.mega-termin { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-klein); border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.mega-termin:hover { background: var(--bg-karte); border-color: color-mix(in srgb, var(--k, var(--exhale)) 55%, transparent); transform: translateX(3px); }
.mega-termin .datum-kachel { border-color: color-mix(in srgb, var(--k, var(--inhale)) 45%, transparent); }
.mega-termin-titel { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.mega-termin-meta { display: block; font-size: .82rem; color: var(--ink-faint); margin-top: 2px; }

@media (max-width: 1100px) { .mega-panel { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; } }
@media (max-width: 900px) { .mega-panel { display: none; } .mega { height: auto; } }
@media (hover: none) { .mega:hover .mega-panel { opacity: 0; visibility: hidden; } }
@media print { .mega-panel { display: none; } }

/* ======================================================================================
   Admin-Bereich (Carlo, 15.09.2026): Anmeldung in zwei Schritten, Dashboard, Team,
   Kalender mit Drag-and-Drop
   ====================================================================================== */
.admin-nav .wrap-wide { gap: 6px 18px; }
.admin-person { margin-left: auto; font-size: .85rem; color: var(--ink-faint); }
.admin-nav form { margin-left: 0; }
.admin-anmelden .schritt-hinweis { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inhale); }
.code-feld { font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.admin-zwischentitel { margin-top: 32px; }
.admin-knoepfe { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: end; margin-top: 12px; }
.admin-knoepfe form { margin: 0; }
.admin-rolle { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.admin-rolle .feld { margin: 0; }
.rollen { display: grid; gap: 10px; margin: 0; }
.rollen div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
.rollen dt { font-weight: 600; color: var(--ink-kopf); }
.rollen dd { margin: 0; color: var(--ink-dim); }
.geraete { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.geraete li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-klein); display: grid; gap: 2px; }
.geraete span { font-size: .85rem; color: var(--ink-faint); }

/* Dashboard */
.dashboard-module { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 26px 0 30px; }
.modul-kachel { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); text-decoration: none; color: var(--ink); transition: transform .25s ease, border-color .2s ease, box-shadow .3s ease; }
.modul-kachel:hover { transform: translateY(-3px); border-color: var(--exhale); box-shadow: 0 18px 36px -24px var(--exhale); }
.modul-titel { font-weight: 600; font-size: 1.05rem; color: var(--ink-kopf); }
.modul-text { font-size: .88rem; color: var(--ink-dim); line-height: 1.45; }
.dashboard-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dashboard-liste li { display: grid; gap: 2px; padding: 10px 12px; border-left: 3px solid var(--k, var(--line)); border-radius: 6px; background: var(--bg-panel); }
.dashboard-liste span { font-size: .85rem; color: var(--ink-faint); }

/* Admin-Kalender */
.adm-kal { margin: 24px 0 36px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); }
.adm-kal-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; }
.adm-kal-kopf h2 { font-size: 1.35rem; min-width: 11ch; text-align: center; margin: 0; }
.adm-neu-knopf { margin-left: auto; }
.adm-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.adm-wt { background: var(--bg-panel-2); color: var(--ink-faint); font-size: .82rem; text-align: center; padding: 8px 0; }
.adm-tag { background: var(--bg); min-height: 118px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background-color .15s ease, box-shadow .15s ease; }
.adm-tag.aussen { background: var(--kal-aussen); }
.adm-tag.vorbei .adm-nr { color: var(--ink-faint); }
.adm-tag.heute .adm-nr { background: var(--exhale); color: var(--knopf-text); }
.adm-tag.ziel { background: var(--exhale-soft); box-shadow: inset 0 0 0 2px var(--exhale); }
.adm-tag-kopf { display: flex; align-items: center; justify-content: space-between; }
.adm-nr { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--ink-dim); }
.adm-plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--ink-faint); font-size: 1.1rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s ease, border-color .15s ease, color .15s ease; }
.adm-tag:hover .adm-plus, .adm-plus:focus-visible { opacity: 1; }
.adm-plus:hover { border-color: var(--exhale); color: var(--inhale); }
.adm-chip { display: block; width: 100%; text-align: left; font: 500 .78rem/1.3 var(--font-text); color: var(--ink); background: color-mix(in srgb, var(--k) 20%, transparent); border: 0; border-left: 3px solid var(--k); border-radius: 6px; padding: 4px 6px; cursor: grab; transition: background-color .15s ease, opacity .15s ease, transform .15s ease; }
.adm-chip[draggable='false'] { cursor: pointer; opacity: .8; }
.adm-chip:hover { background: color-mix(in srgb, var(--k) 34%, transparent); }
.adm-chip.serie .adm-titel::after { content: ' \21BB'; color: var(--k); }
.adm-chip.zieht { opacity: .45; transform: scale(.97); }
.adm-chip.speichert { opacity: .6; }
.adm-zeit { display: block; font-size: .72rem; font-weight: 600; color: var(--k); }
.adm-titel { display: block; overflow-wrap: anywhere; }
.adm-kal.zieht .adm-plus { opacity: 0; }
@media (max-width: 760px) {
  .adm-kal { padding: 10px; }
  .adm-tag { min-height: 72px; padding: 3px; }
  .adm-chip { font-size: .68rem; padding: 3px 4px; }
  .adm-zeit { display: none; }
  .adm-plus { opacity: 1; width: 22px; height: 22px; }
  .adm-neu-knopf { margin-left: 0; }
}
.adm-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-panel); color: var(--ink); padding: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.adm-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.adm-dialog-innen { position: relative; padding: 28px 26px 26px; }
.adm-dialog h2 { margin: 0 44px 16px 0; font-size: 1.4rem; }
.adm-dialog .admin-loeschen, .adm-dialog .admin-aktion { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.admin-loeschen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
:root[data-modus='hell'] .adm-tag { background: #ffffff; }

/* Hinweis "Termine unter Vorbehalt" (Kalender, Terminseiten, Footer) */
.vorbehalt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--bg-panel); font-size: .9rem; line-height: 1.5; color: var(--ink-dim); max-width: 72ch; }
.vorbehalt::before { content: 'i'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--inhale); color: var(--inhale); font-weight: 700; font-size: .8rem; font-family: Georgia, serif; }
.vorbehalt strong { color: var(--ink-kopf); font-weight: 600; }
.fuss .vorbehalt-fuss { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.fuss .vorbehalt-fuss strong { color: var(--ink-kopf); font-weight: 600; }

/* ======================================================================================
   Angemeldet (Carlo, 15.09.2026): Nutzer-Menü in der Navigation und ein auffälliger Rahmen,
   solange man eingeloggt ist. Kunden türkis, Inhaber und Admins orange. Bewusst außerhalb der
   CD-Blautöne, damit man den Zustand sofort sieht.
   ====================================================================================== */
:root { --rahmen-kunde: #1fd8c0; --rahmen-kunde-2: #4881f7; --rahmen-admin: #ff9f1c; --rahmen-admin-2: #ff6b2c; }
.angemeldet-rahmen { position: fixed; inset: 0; z-index: 70; pointer-events: none; border-radius: 0; }
.angemeldet-kunde .angemeldet-rahmen { box-shadow: inset 0 0 0 3px var(--rahmen-kunde), inset 0 0 26px -6px color-mix(in srgb, var(--rahmen-kunde) 70%, transparent); animation: rahmen-atmen 6s ease-in-out infinite; }
.angemeldet-admin .angemeldet-rahmen { box-shadow: inset 0 0 0 3px var(--rahmen-admin), inset 0 0 26px -6px color-mix(in srgb, var(--rahmen-admin) 70%, transparent); animation: rahmen-atmen 6s ease-in-out infinite; }
@keyframes rahmen-atmen { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
@media print { .angemeldet-rahmen { display: none; } }

.nutzer { position: relative; }
.nutzer-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1.5px solid var(--rahmen-kunde); background: var(--bg-karte); color: var(--ink); font: 500 .88rem var(--font-text); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.nutzer-admin .nutzer-knopf { border-color: var(--rahmen-admin); }
.nutzer-knopf:hover { transform: translateY(-1px); }
.nutzer-knopf::after { content: ''; width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nutzer.offen .nutzer-knopf::after { transform: rotate(225deg) translateY(-1px); }
.nutzer-kreis { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-size: .8rem; color: #0c0f17; background: linear-gradient(135deg, var(--rahmen-kunde), var(--rahmen-kunde-2)); }
.nutzer-admin .nutzer-kreis { background: linear-gradient(135deg, var(--rahmen-admin), var(--rahmen-admin-2)); }
.nutzer-menue { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 210px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--bg-panel); box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .7); animation: einblenden-hoch .2s ease both; }
.nutzer-menue a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-dim); text-decoration: none; font-size: .92rem; }
.nutzer-menue a:hover, .nutzer-menue a:focus-visible { background: var(--bg-karte); color: var(--ink); }
.nutzer-menue li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
:root[data-modus='hell'] .nutzer-menue { box-shadow: 0 24px 48px -18px rgba(12, 15, 23, .25); }

/* Kurze Seiten und Widerruf/Kündigung: mittig statt links an den Rand gedrückt */
.anmelden > * { margin-left: auto; margin-right: auto; }
.schmal > p, .schmal > form, .schmal > .block, .schmal > h1, .schmal > .meldung { max-width: 680px; margin-left: auto; margin-right: auto; }
.schmal > h1 { margin-bottom: 14px; }
.konto-nav .marke { color: var(--rahmen-kunde); }

/* Footer zweispaltig (Carlo, 15.09.2026): links Logo und Pflichthinweise, rechts Vorbehalt und Kontakt */
.fuss-oben { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
@media (max-width: 820px) { .fuss-oben { grid-template-columns: minmax(0, 1fr); } }
.fuss .fein { max-width: 60ch; }
.fuss-rechts { display: grid; gap: 16px; justify-items: stretch; padding-top: 4px; }
.fuss .vorbehalt-fuss { margin: 0; max-width: none; padding: 16px 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.fuss .kontakt { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Manuel-Karte (Kontakt, Terminseiten) */
.manuel-karte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin: 30px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); max-width: 760px; }
.manuel-karte .trainer-bild { width: 112px; height: 112px; }
.manuel-karte p { margin: 0 0 6px; color: var(--ink-dim); }
.manuel-karte .manuel-titel { font-weight: 600; font-size: 1.08rem; color: var(--ink-kopf); }
.manuel-karte .mehr-link { margin-top: 6px; }
@media (max-width: 520px) { .manuel-karte { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }

/* ======================================================================================
   Ratgeber (Carlo, 15.09.2026): Übersicht mit Sidebar und Filter, Kachel-Raster (max. 3 Spalten),
   Artikel mit Fazit oben, Inhaltsverzeichnis, Faktenboxen, FAQ
   ====================================================================================== */
.k-rg-breathwork { --k: var(--k-breathwork); }
.k-rg-qigong { --k: var(--k-move); }
.k-rg-podcast { --k: #b98cff; }
.k-rg-ankuendigungen { --k: var(--k-coaching); }
.k-rg-aktuelles { --k: var(--k-training); }

.brotkrumen { font-size: .85rem; color: var(--ink-faint); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brotkrumen a { color: var(--ink-dim); text-decoration: none; }
.brotkrumen a:hover { color: var(--inhale); }

.rg-kopf { padding: 56px 0 24px; }
.rg-kopf .lede { max-width: 62ch; }
.rg-bereich { padding: 24px 0 96px; }
.rg-raster-aussen { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .rg-raster-aussen { grid-template-columns: minmax(0, 1fr); } }

/* Sidebar */
.rg-sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
@media (max-width: 900px) { .rg-sidebar { position: static; } }
.rg-sidebar-titel { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.rg-filterliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
@media (max-width: 900px) { .rg-filterliste { display: flex; flex-wrap: wrap; gap: 8px; } }
.rg-filter { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-klein); border: 1px solid transparent; color: var(--ink-dim); text-decoration: none; font-size: .94rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.rg-filter::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--k, transparent); flex-shrink: 0; }
.rg-filter span:first-child { flex: 1; }
@media (max-width: 900px) { .rg-filter { border-color: var(--line); border-radius: 999px; padding: 7px 14px; } }
.rg-filter:hover { background: var(--bg-karte); color: var(--ink); transform: translateX(2px); }
.rg-filter[aria-current='page'] { background: color-mix(in srgb, var(--k, var(--exhale)) 18%, transparent); border-color: color-mix(in srgb, var(--k, var(--exhale)) 50%, transparent); color: var(--ink); }
.rg-anzahl { font-size: .78rem; min-width: 24px; padding: 1px 7px; border-radius: 999px; text-align: center; background: var(--bg-karte); color: var(--ink-faint); }
.rg-sidebar-cta { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--exhale-soft), transparent 70%), var(--bg-panel); }
.rg-sidebar-cta p { margin: 0 0 8px; font-size: .9rem; color: var(--ink-dim); }
.rg-sidebar-cta .rg-sidebar-cta-titel { font-weight: 600; color: var(--ink-kopf); font-size: .98rem; }
@media (max-width: 900px) { .rg-bereich .rg-sidebar-cta { display: none; } }

/* Kacheln */
.rg-status { margin: 0 0 14px; font-size: .88rem; color: var(--ink-faint); }
.rg-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .rg-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rg-raster { grid-template-columns: minmax(0, 1fr); } }
.rg-verwandt .rg-raster { margin-top: 30px; }
.rg-kachel { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.rg-kachel.rg-weg { display: none; }
.rg-kachel.rg-rein { animation: rg-rein .5s cubic-bezier(.2, .7, .2, 1) both; }
.rg-kachel[data-stufe='1'].rg-rein { animation-delay: .06s; }
.rg-kachel[data-stufe='2'].rg-rein { animation-delay: .12s; }
@keyframes rg-rein { from { opacity: 0; transform: translate3d(0, 16px, 0) scale(.98); } to { opacity: 1; transform: none; } }
.rg-kachel-link { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-panel); color: var(--ink); text-decoration: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .3s ease; }
.rg-kachel-link:hover, .rg-kachel-link:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--k, var(--exhale)) 60%, transparent); box-shadow: 0 30px 56px -32px color-mix(in srgb, var(--k, var(--exhale)) 80%, transparent); }
.rg-kachel-bild { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #1b2642, #0c0f17 60%, #000813); }
.rg-kachel-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rg-kachel-link:hover .rg-kachel-bild img { transform: scale(1.05); }
.rg-kachel-bild::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(12, 15, 23, .55)); pointer-events: none; }
.rg-kachel-text { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.rg-kat { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--k, var(--inhale)); }
.rg-kat::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.rg-kachel-titel { margin: 0; font-size: 1.12rem; line-height: 1.3; color: var(--ink-kopf); transition: color .2s ease; }
.rg-kachel-link:hover .rg-kachel-titel { color: var(--ink); }
.rg-teaser { font-size: .92rem; line-height: 1.5; color: var(--ink-dim); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.rg-meta { font-size: .82rem; color: var(--ink-faint); margin-top: auto; }
.rg-weiter { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--inhale); }
.rg-weiter::after { content: '\2192'; transition: transform .25s ease; }
.rg-kachel-link:hover .rg-weiter::after { transform: translateX(4px); }
.rg-leer { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-dim); }
.rg-leer p { margin: 0 0 6px; }
:root[data-modus='hell'] .rg-kachel-link { background: #ffffff; }

/* Artikel: links Titel, rechts kleineres Bild und darunter die Kurzfassung (Carlo, 15.09.2026) */
.rg-artikel-kopf { padding: 48px 0 32px; }
.rg-artikel-kopf-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 44px; align-items: start; margin-top: 18px; }
@media (max-width: 860px) { .rg-artikel-kopf-raster { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.rg-artikel-titel { padding-top: 8px; }
.rg-h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin: 10px 0 14px; }
.rg-lede { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.65; color: var(--ink-dim); max-width: 56ch; }
.rg-artikel-titel .rg-meta { margin: 0; }
.rg-artikel-seite { display: grid; gap: 14px; }
.rg-titelbild { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; }
.rg-titelbild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-fazit { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-panel); }
.rg-fazit .rg-fazit-titel { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--inhale); }
.rg-fazit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rg-fazit li { position: relative; padding-left: 24px; font-size: .94rem; line-height: 1.55; color: var(--ink-dim); }
.rg-fazit li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--exhale); }
:root[data-modus='hell'] .rg-fazit { background: #ffffff; }

/* Bildausschnitt aus werkzeuge/bildfokus.mjs, damit Gesichter beim Zuschneiden im Bild bleiben */
.bild-fokus.fokus-0-0 { object-position: 0% 0%; }
.bild-fokus.fokus-0-25 { object-position: 0% 25%; }
.bild-fokus.fokus-0-50 { object-position: 0% 50%; }
.bild-fokus.fokus-0-75 { object-position: 0% 75%; }
.bild-fokus.fokus-0-100 { object-position: 0% 100%; }
.bild-fokus.fokus-25-0 { object-position: 25% 0%; }
.bild-fokus.fokus-25-25 { object-position: 25% 25%; }
.bild-fokus.fokus-25-50 { object-position: 25% 50%; }
.bild-fokus.fokus-25-75 { object-position: 25% 75%; }
.bild-fokus.fokus-25-100 { object-position: 25% 100%; }
.bild-fokus.fokus-50-0 { object-position: 50% 0%; }
.bild-fokus.fokus-50-25 { object-position: 50% 25%; }
.bild-fokus.fokus-50-50 { object-position: 50% 50%; }
.bild-fokus.fokus-50-75 { object-position: 50% 75%; }
.bild-fokus.fokus-50-100 { object-position: 50% 100%; }
.bild-fokus.fokus-75-0 { object-position: 75% 0%; }
.bild-fokus.fokus-75-25 { object-position: 75% 25%; }
.bild-fokus.fokus-75-50 { object-position: 75% 50%; }
.bild-fokus.fokus-75-75 { object-position: 75% 75%; }
.bild-fokus.fokus-75-100 { object-position: 75% 100%; }
.bild-fokus.fokus-100-0 { object-position: 100% 0%; }
.bild-fokus.fokus-100-25 { object-position: 100% 25%; }
.bild-fokus.fokus-100-50 { object-position: 100% 50%; }
.bild-fokus.fokus-100-75 { object-position: 100% 75%; }
.bild-fokus.fokus-100-100 { object-position: 100% 100%; }

.rg-artikel-raster { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 72px; }
@media (max-width: 960px) { .rg-artikel-raster { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.rg-toc { position: sticky; top: 92px; display: grid; gap: 16px; }
@media (max-width: 960px) { .rg-toc { position: static; } .rg-toc .rg-sidebar-cta { display: none; } }
.rg-toc-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); padding: 14px 16px; }
.rg-toc-box summary { cursor: pointer; font-weight: 600; color: var(--ink-kopf); list-style: none; }
.rg-toc-box summary::-webkit-details-marker { display: none; }
.rg-toc-box ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: .88rem; }
.rg-toc-box a { color: var(--ink-dim); text-decoration: none; }
.rg-toc-box a:hover, .rg-toc-box a.aktiv { color: var(--inhale); }

.rg-text { max-width: 74ch; font-size: 1.05rem; }
.rg-text > p, .rg-text li { color: var(--ink-dim); line-height: 1.75; }
.rg-text h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 44px 0 14px; scroll-margin-top: 96px; }
.rg-text h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.rg-text strong { color: var(--ink); font-weight: 600; }
.rg-text a:not(.btn-primary):not(.mehr-link) { color: var(--inhale); text-underline-offset: 3px; }
.artikel-direkt { font-size: 1.15rem; line-height: 1.7; color: var(--ink) !important; margin-top: 8px; }
.artikel-kurz, .faktenbox, .hinweisbox, .merksatz, .artikel-cta { margin: 26px 0; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-panel); }
.artikel-kurz ul, .faktenbox ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.artikel-kurz-titel, .faktenbox-titel, .hinweisbox-titel, .artikel-cta-titel { margin: 0 0 10px; font-weight: 700; color: var(--ink-kopf); }
.artikel-kurz { border-left: 4px solid var(--exhale); }
.faktenbox { background: linear-gradient(160deg, color-mix(in srgb, var(--k-move) 12%, transparent), transparent 70%), var(--bg-panel); }
.faktenbox-titel::before { content: '\25A0  '; color: var(--k-move); font-size: .8em; }
.hinweisbox { border-color: color-mix(in srgb, #d7a85b 55%, transparent); background: linear-gradient(160deg, rgba(215, 168, 91, .1), transparent 70%), var(--bg-panel); }
.hinweisbox p { margin: 0 0 6px; color: var(--ink-dim); }
.merksatz { border: 0; background: var(--exhale-soft); }
.merksatz p { margin: 0; font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.artikel-cta { background: radial-gradient(120% 140% at 100% 0%, rgba(72, 129, 247, .28), transparent 60%), var(--bg-panel); border-color: color-mix(in srgb, var(--exhale) 40%, transparent); }
.artikel-cta p { color: var(--ink-dim); }
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.schritte li { counter-increment: schritt; position: relative; padding: 12px 14px 12px 54px; border: 1px solid var(--line-soft); border-radius: var(--radius-klein); }
.schritte li::before { content: counter(schritt); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--exhale); color: var(--knopf-text); }
.rg-text .tabelle-rahmen { margin: 24px 0; }
.rg-text .vergleich { min-width: 520px; }
.artikel-quellen { margin-top: 40px; }
.artikel-quellen ol { padding-left: 20px; display: grid; gap: 8px; font-size: .9rem; }
.artikel-quellen a { overflow-wrap: anywhere; }
.artikel-faq { margin-top: 36px; }
.artikel-faq details { border-bottom: 1px solid var(--line); }
.artikel-faq summary { padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink-kopf); transition: color .2s ease; }
.artikel-faq summary::-webkit-details-marker { display: none; }
.artikel-faq summary::after { content: '+'; color: var(--exhale); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; }
.artikel-faq details[open] summary::after { transform: rotate(45deg); }
.artikel-faq summary:hover { color: var(--inhale); }
.artikel-faq .antwort { padding: 0 0 18px; }
.artikel-faq .antwort p { color: var(--ink-dim); margin: 0 0 8px; }
.rg-autor { margin-top: 44px; }

/* Mega-Menü Aktuelles und Sitemap-Seite */
.mega-panel.mega-ratgeber { grid-template-columns: minmax(0, 1fr); width: min(500px, calc(100vw - 48px)); }
.mega-kategorien { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 6px; font-size: .86rem; }
.mega-kategorien a { color: var(--ink-dim); text-decoration: none; }
.mega-kategorien a:hover { color: var(--inhale); }
.sitemap-gruppen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
@media (max-width: 720px) { .sitemap-gruppen { grid-template-columns: minmax(0, 1fr); } }
.sitemap-gruppen h2 { margin-top: 0 !important; }
.sitemap-gruppen ul { padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 1100px) and (min-width: 901px) { .nav-links { gap: 11px; } .nav-link { font-size: .84rem; } }

.rg-teaser-abschnitt .rg-raster { margin-top: 30px; }
.rg-teaser-abschnitt .mehr-link { margin-top: 26px; }

/* ---------- Admin: Inhalte pflegen (Aktuelles, Seitentexte, Bilder), Demo-Zugang, Online-Termine ---------- */
/* KI-Plakette auch dann richtig platzieren, wenn ein Admin ein KI-Bild einsetzt (ohne Klasse mit-plakette) */
:has(> .ki-plakette) { position: relative; }
.trainer-bild:has(> .ki-plakette) .ki-plakette { right: 50%; bottom: 24px; transform: translateX(50%); }

.editor { display: grid; gap: 6px; }
.editor-leiste { display: flex; flex-wrap: wrap; gap: 4px; }
.editor-leiste button { font: 500 .82rem var(--font-text); color: var(--ink-dim); background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; cursor: pointer; }
.editor-leiste button:hover, .editor-leiste button[aria-pressed='true'] { color: var(--ink); border-color: var(--exhale); }
.editor[data-editor='zeile'] .editor-leiste { display: none; }
.editor[data-editor='zeile']:focus-within .editor-leiste { display: flex; }
.editor-flaeche { min-height: 2.6em; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.editor[data-editor='artikel'] .editor-flaeche { min-height: 420px; max-height: 70vh; overflow: auto; padding: 16px 18px; }
.editor-flaeche:focus { outline: 2px solid var(--exhale); outline-offset: 0; border-color: transparent; }
.editor-flaeche a { color: var(--inhale); text-decoration: underline; }
.editor-flaeche h2, .editor-flaeche h3 { margin: 18px 0 8px; }
.editor-html { width: 100%; font: .9rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-klein); padding: 10px 12px; }
.zaehler.zu-lang { color: var(--warn); }

.inhalte-leiste { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; padding: 12px 0; margin-bottom: 12px; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.inhalte-leiste .hilfe { margin-right: auto; }
.inhalte-leiste.unten { position: static; border: 0; }
.inhalte-liste { display: grid; gap: 4px; }
.inhalt-feld { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.inhalt-feld:first-child { border-top: 0; }
.inhalt-feld-kopf { display: flex; align-items: center; gap: 10px; }
.inhalt-art { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.inhalt-feld.ist-ueberschrift { padding-top: 22px; }
.inhalt-feld.stufe-h1 .editor-flaeche, .inhalt-feld.stufe-h2 .editor-flaeche { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.inhalt-feld.stufe-h3 .editor-flaeche { font-weight: 600; font-size: 1.08rem; }
.inhalt-feld .knopf.klein, .knopf.klein { justify-self: start; padding: 6px 12px; font-size: .84rem; }

.admin-knoepfe.spalte { display: grid; gap: 10px; }
.admin-bild { margin: 0 0 14px; border-radius: var(--radius-klein); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; background: var(--bg); }
.admin-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bilder-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 20px 0 8px; }
.bildplatz h2 { font-size: 1.05rem; margin: 0 0 4px; }
.bildplatz .meta { color: var(--ink-faint); font-size: .88rem; margin: 0 0 10px; }
.mediathek { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.mediathek-bild { margin: 0; display: grid; gap: 6px; font-size: .82rem; color: var(--ink-faint); }
.mediathek-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.beitrag-formular .zwei-spalten { align-items: start; }

.demo-zugang { margin-top: 28px; padding: 18px 20px; border: 1px dashed var(--warn); border-radius: var(--radius); background: color-mix(in srgb, var(--warn) 8%, transparent); text-align: left; }
.demo-zugang .demo-titel { margin: 0 0 6px; font-weight: 700; color: var(--ink-kopf); }
.demo-zugang dl { display: grid; gap: 6px; margin: 12px 0; }
.demo-zugang dl div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.demo-zugang dt { min-width: 5em; color: var(--ink-faint); }
.demo-zugang code { font-size: 1rem; padding: 2px 8px; border-radius: 6px; background: var(--bg-panel); border: 1px solid var(--line); user-select: all; overflow-wrap: anywhere; }

.vorschau-leiste { position: sticky; top: 0; z-index: 60; background: var(--warn); color: #1b1405; font-size: .92rem; }
.vorschau-leiste .wrap-wide { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-block: 10px; }
.vorschau-leiste a { color: inherit; font-weight: 600; }

.online-felder { border: 1px solid var(--line); border-radius: var(--radius-klein); padding: 12px 14px 14px; display: grid; gap: 10px; margin: 0; min-width: 0; }
.online-felder legend { padding: 0 6px; color: var(--ink-dim); font-size: .9rem; }
.online-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--inhale); overflow-wrap: anywhere; }
.online-link::after { content: '\2197'; }

/* Terminbild aus dem CMS (ProcessWire) auf der Terminseite und im Pop-up */
.termin-bild { margin: 18px 0 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 760px; }
.termin-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.termin-bild.klein { margin: 10px 0 14px; aspect-ratio: 16 / 8; }

/* aus bildfokus.json */
.bild-fokus.fokus-25-55 { object-position: 25% 55%; }
.bild-fokus.fokus-50-62 { object-position: 50% 62%; }
.bild-fokus.fokus-25-40 { object-position: 25% 40%; }
.bild-fokus.fokus-75-10 { object-position: 75% 10%; }
.bild-fokus.fokus-50-35 { object-position: 50% 35%; }
