/* ==========================================================================
   Du bist Du Campus – Designsystem
   Angelehnt an FOM DualMatch: Türkis (#00c6b2) als Primärfarbe, Gelb (#f9cb00)
   als Akzent, klare Grautöne, 16px-Radien, Pill-Buttons, nummerierte Kreise.
   Grundhaltung: weiß, ruhig, architektonisch – viel Luft, feine Linien.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --c-primary-50: #e5f9f7;
  --c-primary-100: #ccf3ef;
  --c-primary: #00c6b2;
  --c-primary-600: #009f8f;
  --c-primary-700: #00776b;
  --c-primary-800: #004f47;
  --c-accent: #f9cb00;
  --c-accent-50: #fefae5;
  --c-ink: #121212;
  --c-ink-2: #303030;
  --c-muted: #6d6d6d;
  --c-line: #e6e6e6;
  --c-line-strong: #cdcdcd;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f7;
  --c-danger: #c62828;

  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --r-card: 16px;
  --r-field: 8px;
  --r-pill: 28px;
  --shadow: 0 1px 2px rgba(18, 18, 18, .04), 0 12px 32px -12px rgba(18, 18, 18, .12);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--c-primary-700); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-800); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-ink); color: #fff; padding: 8px 16px; border-radius: var(--r-pill); z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font: 600 16px/1 var(--font); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--c-primary); color: var(--c-ink); }
.btn--primary:hover:not(:disabled) { background: var(--c-primary-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover:not(:disabled) { border-color: var(--c-ink); color: var(--c-ink); }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover:not(:disabled) { background: var(--c-ink-2); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--c-ink); }
.icon-btn:hover { border-color: var(--c-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--c-ink); text-decoration: none; }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.05; display: flex; flex-direction: column; }
.brand__sub { font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-primary-700); }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }
.lang-switch { display: flex; border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 3px; }
.lang-switch button { border: 0; background: none; font: 600 12px/1 var(--font); letter-spacing: .06em; padding: 8px 10px; border-radius: var(--r-pill); cursor: pointer; color: var(--c-muted); }
.lang-switch button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }

/* ---------- Sprachauswahl (erste Auswahl) ---------- */
.lang-gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: #fff;
  padding: var(--gutter);
}
.lang-gate__inner { text-align: center; max-width: 720px; width: 100%; }
.lang-gate__logo { margin: 0 auto 32px; }
.lang-gate__title { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: clamp(28px, 5vw, 48px); font-weight: 700; margin-bottom: 48px; }
.lang-gate__title span:nth-child(even) { color: var(--c-primary-600); }
.lang-gate__options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lang-option {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 12px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-card);
  font: 500 16px/1.2 var(--font); color: var(--c-ink); cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-option:hover, .lang-option:focus-visible { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.lang-option__code { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(72px, 12vw, 160px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.hero::before { /* feine Architekturlinien */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--c-line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: .5;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero__inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary-700); margin-bottom: 24px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--c-accent); }
.hero__title { font-size: clamp(56px, 11vw, 144px); font-weight: 700; letter-spacing: -0.045em; line-height: .95; margin-bottom: 28px; }
.hero__lead { font-size: clamp(18px, 2vw, 22px); color: var(--c-ink-2); max-width: 40ch; margin-bottom: 40px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 56px; } }

/* ---------- Kibo spricht (Begrüßung + Kapiteleinleitung, kibo.js) ---------- */
.kibo { margin: 0; display: grid; gap: 12px; }
.kibo[hidden] { display: none; }
.kibo__video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--c-bg-soft); border-radius: var(--r-card); box-shadow: var(--shadow); }
.kibo figcaption { display: grid; gap: 4px; }
.kibo__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary-700); }
.kibo--gruss { width: 100%; max-width: 380px; justify-self: center; }
.kibo--kapitel { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: center; gap: 20px; margin: 24px 0 32px; }
.kibo--kapitel .kibo__video { border-radius: 12px; }
@media (max-width: 560px) { .kibo--kapitel { grid-template-columns: 1fr; } .kibo--kapitel .kibo__video { max-width: 320px; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--c-bg-soft); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; margin-bottom: 16px; }
.section__lead { color: var(--c-muted); font-size: 18px; margin: 0; }

/* ---------- Kostenlose Einstiegs-Kachel "Worum geht's" (ganz oben) ---------- */
/* Kachel und Begrüßung sollen am Rechner zusammen auf den ersten Blick passen:
   Kachel flacher, Titel einzeilig, Kibo etwas kleiner. */
.einstieg { padding-top: 20px; }
.einstieg .intro-card { margin-bottom: 0; padding: 20px 28px; }
.einstieg .intro-card__badge { margin-bottom: 6px; }
.einstieg .intro-card__title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 4px; }
.einstieg + .hero { padding-top: clamp(24px, 3vw, 40px); }
.einstieg + .hero .eyebrow { margin-bottom: 16px; }
.einstieg + .hero .hero__title { font-size: clamp(48px, 7vw, 96px); margin-bottom: 20px; }
.einstieg + .hero .hero__lead { margin-bottom: 28px; }
.einstieg + .hero .kibo--gruss { max-width: 300px; }
@media (min-width: 900px) { .einstieg + .hero .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); } }
.intro-card {
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-card);
  padding: 32px;
  margin-bottom: 32px;
}
.intro-card__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.intro-card__intro { flex: 1; min-width: 240px; }
.intro-card__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary-700); margin: 0 0 10px; }
.intro-card__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.intro-card__title { font-size: clamp(26px, 3.5vw, 34px); font-weight: 700; margin-bottom: 8px; }
.intro-card__lead { color: var(--c-ink-2); margin: 0; }
.intro-card__toggle { flex-shrink: 0; }
/* Der Einstiegstext liegt im selben Blatt wie die Kapitel – nur ohne
   Kapitelkopf und Abschluss, denn er gehört zu keinem Kapitel. Die frühere
   Trennlinie zum Kartenkopf entfällt, das übernimmt jetzt der Rahmen. */
.intro-card__panel { margin-top: 28px; animation: panel-in .35s var(--ease); }
/* Vorlesen auch für den Einstiegstext – Bedienung wie in den Kapiteln. */
.reader-bar--einstieg { justify-content: flex-start; margin-bottom: 8px; }
.intro-reader-hint { margin: 0 0 4px; }
.intro-card__panel p { max-width: 72ch; text-align: left; hyphens: auto; }

/* ---------- Paket „alle Kapitel“ (09.11.2026) ---------- */
.paket {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 28px 0 0; padding: 22px 26px;
  background: linear-gradient(135deg, var(--c-primary-50), #fff 70%);
  border: 1px solid var(--c-primary); border-radius: var(--r-card);
}
.paket[hidden] { display: none; }
.paket__text { flex: 1 1 320px; min-width: 0; }
.paket__titel { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.paket__zeile { margin: 0; color: var(--c-ink-2); }
.paket__kauf { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.paket__preis { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.paket__alt { color: var(--c-ink-2); text-decoration: line-through; }
.paket__kauf .btn { align-self: center; }
/* Hinweis im Kauffenster eines einzelnen Kapitels */
.checkout-paket { margin: 4px 0 0; padding: 10px 14px; background: var(--c-primary-50); border-radius: 8px; font-size: 14px; }
.checkout-paket[hidden] { display: none; }
.checkout-paket .link-btn { font-weight: 600; color: var(--c-primary-700); margin-left: 4px; }

/* ---------- Lektions-Kacheln ---------- */
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.lesson {
  --accent: var(--c-primary);
  --accent-soft: var(--c-primary-50);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
  scroll-margin-top: 96px;
}
.lesson--2 { --accent: var(--c-accent); --accent-soft: var(--c-accent-50); }
.lesson--3 { --accent: var(--c-primary-800); --accent-soft: #e6eeed; }
.lesson:hover { box-shadow: var(--shadow); }
.lesson.is-open { grid-column: 1 / -1; box-shadow: var(--shadow); border-color: var(--c-line-strong); }
.lesson--skeleton { min-height: 320px; background: linear-gradient(90deg, var(--c-bg-soft), #fff, var(--c-bg-soft)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.lesson__card { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; min-height: 320px; border-top: 6px solid var(--accent); }
.lesson.is-open .lesson__card { min-height: 0; }
/* Ein geöffnetes Kapitel füllt die Seite. Alles, was zur Übersicht gehört,
   tritt zurück: Titel und Vorspann des Abschnitts, die Einstiegskachel, die
   übrigen Kapitel und die anderen Abschnitte der Seite.
   Kopf- und Fußzeile bleiben stehen – die Rechtstexte müssen von jeder Ansicht
   aus erreichbar sein. */
body.kapitel-offen .hero,
body.kapitel-offen #how,
body.kapitel-offen #contact,
body.kapitel-offen .einstieg,
body.kapitel-offen #lessons .section__head,
body.kapitel-offen .lesson:not(.is-open) { display: none; }

/* Kopfzeile der Kachel: links die Kapitelnummer, rechts – solange das Kapitel
   offen ist – der Weg zurück zur Übersicht. */
.lesson__kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.lesson__num { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--c-muted); }
.lesson__close { margin-left: auto; flex-shrink: 0; }
.lesson__title { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.lesson__teaser { color: var(--c-ink-2); }
/* Übersicht: Alle Kacheln sehen gleich aus (Wunsch der Inhaberin, 14.10.2026,
   Texte bleiben unverändert) – der Titel steht auf genau zwei Zeilen und endet
   mit „…“, der Vorspann wartet. „Weiterlesen“ (lessons.js, fuelleTitel) zeigt
   beides ganz. Im geöffneten Kapitel steht alles da, ohne Knopf. */
.lesson:not(.ist-aufgeklappt):not(.is-open) .lesson__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; min-height: 2lh;
}
.lesson__mehr {
  align-self: flex-start; margin: 0 0 24px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--c-primary-700);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.lesson__mehr:hover { color: var(--c-primary-800); }
.lesson.ist-aufgeklappt .lesson__mehr { margin-top: 12px; }
.lesson:not(.ist-aufgeklappt):not(.is-open) .lesson__teaser,
.lesson.is-open .lesson__mehr { display: none; }
.lesson__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--c-line); }
/* Ist das Kapitel geöffnet, braucht es die Leiste nicht mehr: Preis, Vorschau
   und „Freigeschaltet“ haben dann nichts mehr zu sagen, und geschlossen wird
   oben rechts. */
.lesson.is-open .lesson__foot { display: none; }
/* Kostenlose Kapitel-Vorschau (Anriss), aufklappbar */
.lesson__preview { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-line); animation: panel-in .35s var(--ease); }
.lesson__preview p { font-size: 15px; text-align: left; hyphens: auto; }
.lesson__preview p:last-child { margin-bottom: 0; }
.lesson__price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-right: auto; }
.lesson .badge--unlocked { display: none; }
.lesson.is-unlocked .badge--unlocked { display: inline-flex; margin-right: auto; }
.lesson.is-unlocked .lesson__price { display: none; }
.badge { align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-primary-50); color: var(--c-primary-800); }
.badge--unlocked::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }

/* Drop-down-Panel */
.lesson__panel { border-top: 1px solid var(--c-line); padding: 8px 32px 40px; animation: panel-in .35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); margin-bottom: 32px; overflow-x: auto; }
.tab { border: 0; background: none; font: 600 15px/1 var(--font); color: var(--c-muted); padding: 20px 16px 18px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--accent); }
.tab:hover { color: var(--c-ink); }
/* Schmale Bildschirme: Reiter dürfen zweizeilig werden ("Frequenzunterstützung" ist sonst zu breit) */
@media (max-width: 560px) {
  .tab { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.25; font-size: 14px; padding: 14px 6px 12px; text-align: center; hyphens: manual; }
}
.tabpanel { max-width: 860px; }

.reader-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; justify-content: space-between; margin-bottom: 12px; }
.reader-controls { display: flex; gap: 8px; }
.reader-text { margin-top: 24px; }
/* Linksbündig, nicht im Blocksatz: gewählt am 26.09.2026. Blocksatz reißt in
   schmalen Spalten Löcher zwischen die Wörter, und der flatternde rechte Rand
   gibt dem Auge beim Zeilenwechsel Halt. */
.reader-text p { text-align: left; hyphens: auto; }
.reader-text h4 { font-size: 20px; margin: 32px 0 12px; letter-spacing: -0.015em; }
.reader-text h4:first-child { margin-top: 0; }
/* Abschnitts-Überschriften im Text (Fettdruck, Fließtext-Größe, nicht im Blocksatz gestreckt) */
.reader-text h4.reader-subhead, .intro-card__panel .reader-subhead { font-size: 17px; font-weight: 700; margin: 1.6em 0 .5em; text-align: left; letter-spacing: 0; color: var(--c-ink); }
.reader-text .is-reading { background: var(--accent-soft); box-shadow: 0 0 0 6px var(--accent-soft); border-radius: 2px; }

/* ---------- Formatierungen aus dem Inhalts-Editor ----------
   Gilt für alle drei Textbereiche: Kapiteltext, Einstiegstext, Kapitel-Vorschau.
   Fett und kursiv erben ihr Aussehen vom Browser, alles Übrige steht hier. */
.reader-text ul, .reader-text ol,
.intro-card__panel ul, .intro-card__panel ol,
.lesson__preview ul, .lesson__preview ol { max-width: 72ch; padding-left: 1.4em; margin: 0 0 1.1em; }
.reader-text li, .intro-card__panel li, .lesson__preview li { margin-bottom: .45em; text-align: left; }
.reader-text li::marker, .intro-card__panel li::marker, .lesson__preview li::marker { color: var(--c-primary); }
/* Unterstrichen: etwas Luft zur Grundlinie, damit es nicht in die Unterlängen schneidet */
.reader-text u, .intro-card__panel u, .lesson__preview u { text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* Links im Fließtext klar von unterstrichenem Text unterscheidbar halten */
.reader-text a, .intro-card__panel a, .lesson__preview a {
  color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-primary);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.reader-text a:hover, .intro-card__panel a:hover, .lesson__preview a:hover { color: var(--c-primary); }
.lesson__preview li { font-size: 15px; }

.lesson-video { width: 100%; aspect-ratio: 16 / 9; background: var(--c-bg-soft); border-radius: 12px; }

/* Ankündigung zum Video ("Kibo", 03.10.2026): wie ein kleines Filmplakat über
   dem Player. Titel mittig, Text linksbündig wie alle Lesetexte. */
.video-intro { max-width: 62ch; margin: 8px auto 28px; }
.video-intro__titel {
  text-align: center; font-size: clamp(22px, 3vw, 30px); font-weight: 500;
  letter-spacing: .04em; margin: 0 0 14px;
}
.video-intro__text p { text-align: left; hyphens: auto; }
.video-intro__text p:last-child { margin-bottom: 0; }

/* Dieselbe Ankündigung im Anriss – mit Standbild, abgesetzt vom Kapiteltext. */
.anriss-video { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--c-line); }
.anriss-video__label {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-primary-700); margin: 0 0 14px;
}
.anriss-video__bild { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.anriss-video .video-intro__titel { font-size: 22px; margin-bottom: 10px; }

/* ---------- Das "Blatt": Gestaltung der Lesetexte ----------
   Nach der Vorlage der Inhaberin (Canva, 26.09.2026): dünner Rahmen,
   Kapitelkopf und Leitsatz mittig, Gliederung als nummerierte Liste ohne
   getippte Ziffern, Abschlusszeile. Der Fließtext bleibt bewusst linksbündig:
   zentriert müsste das Auge in jeder Zeile den Anfang neu suchen, was über
   mehrere Absätze hinweg ermüdet. */

.blatt {
  border: 1px solid var(--c-ink);
  background: #fff;
  padding: clamp(24px, 4vw, 56px);
  margin-top: 24px;
}

.blatt__kapitel {
  text-align: center; font-size: 20px; font-weight: 500;
  letter-spacing: .02em; margin: 0 0 30px;
}
.blatt__leitsatz {
  text-align: center; font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.45; margin: 0 auto 36px; max-width: 30ch;
}
.blatt__gliederung-titel {
  text-align: center; font-size: 17px; color: var(--c-muted); margin: 0 0 26px;
}

/* Die Ziffern kommen vom Browser, nicht aus dem Text. Dadurch kann die
   Zählung nicht verrutschen – in der Vorlage sprang sie von 11 auf 18. */
.blatt__gliederung-inhalt ol {
  margin: 0; padding: 0; list-style: none; counter-reset: gliederungspunkt;
}
.blatt__gliederung-inhalt ol > li {
  counter-increment: gliederungspunkt;
  text-align: center; max-width: 46ch; margin: 0 auto 26px;
  font-size: clamp(16px, 1.9vw, 20px); line-height: 1.5;
}
.blatt__gliederung-inhalt ol > li::before {
  content: counter(gliederungspunkt) ". "; font-variant-numeric: tabular-nums;
}
.blatt__gliederung-inhalt p { text-align: center; }

/* Jeder Punkt springt zu seinem Abschnitt. Sieht aus wie Text, verhält sich
   wie ein Link – als Schaltfläche gebaut, damit auch die Tastatur ihn erreicht. */
.gliederung__sprung {
  font: inherit; color: inherit; text-align: inherit;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--c-line-strong);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.gliederung__sprung:hover { text-decoration-color: var(--c-primary); color: var(--c-primary-700); }
.gliederung__sprung:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 3px; }
.gliederung__sprung:disabled { cursor: default; text-decoration: none; opacity: .55; }

/* Vorlesen je Teil: runder Knopf hinter jedem Punkt des Inhaltsverzeichnisses,
   während der Teil läuft daneben ein Stopp-Knopf. Nur Zeichen – die Beschriftung
   steht in aria-label und title. */
.teil-vorlesen {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin-left: 10px; vertical-align: middle;
  border-radius: 50%; border: 1px solid var(--c-line-strong); background: #fff;
  color: var(--c-ink-2); cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.teil-vorlesen + .teil-vorlesen { margin-left: 6px; }
.teil-vorlesen[hidden] { display: none; }
/* Lautsprecher als Maske, damit er die Schriftfarbe des Knopfs annimmt */
.teil-vorlesen::before {
  content: ''; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.teil-vorlesen[data-zustand="playing"]::before {
  content: '❚❚'; width: auto; height: auto; background: none; -webkit-mask: none; mask: none;
  font-size: 9px; line-height: 1; letter-spacing: -1px;
}
.teil-vorlesen--stopp::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: currentColor; -webkit-mask: none; mask: none; }
.teil-vorlesen:hover { transform: translateY(-1px); border-color: var(--accent, var(--c-primary)); box-shadow: 0 6px 14px -8px var(--accent, var(--c-primary)); }
.teil-vorlesen:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.teil-vorlesen[data-zustand="playing"], .teil-vorlesen[data-zustand="paused"] {
  background: var(--accent, var(--c-primary)); border-color: var(--accent, var(--c-primary)); color: var(--c-ink);
}
.lesson--3 .teil-vorlesen[data-zustand="playing"], .lesson--3 .teil-vorlesen[data-zustand="paused"] { color: #fff; }

/* Schwebende Vorlese-Leiste unten, solange vorgelesen wird */
.vorlese-leiste {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 6px;
  max-width: calc(100vw - 32px); padding: 8px 8px 8px 18px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(40, 30, 10, .35);
  font: 500 14px/1.3 var(--font, inherit); color: var(--c-ink);
}
.vorlese-leiste[hidden] { display: none; }
.vorlese-leiste__titel { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 4px; }
.vorlese-leiste .teil-vorlesen { margin-left: 0; width: 38px; height: 38px; flex: none; }
.vorlese-leiste--hell .teil-vorlesen[data-zustand="playing"], .vorlese-leiste--hell .teil-vorlesen[data-zustand="paused"] { color: #fff; }

/* „Ab hier vorlesen“: erscheint nach einem Klick über dem Absatz */
.blatt { position: relative; }
.ab-hier {
  position: absolute; z-index: 5; transform: translateY(calc(-100% - 6px));
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--accent, var(--c-primary));
  background: #fff; color: var(--c-ink); cursor: pointer;
  font: 600 13px/1 var(--font, inherit); white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(40, 30, 10, .4);
}
.ab-hier[hidden] { display: none; }
.ab-hier::before { content: ''; display: inline-block; width: 14px; height: 14px; margin: -2px 6px 0 0; vertical-align: middle; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ab-hier:hover { background: var(--accent-soft, #f4f4f4); }

/* Vorlesen in der kostenlosen Vorschau: Zeile unter „Kapitel I“ */
.anriss-vorlesen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: -8px 0 28px; }
.anriss-vorlesen__knopf {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--accent, var(--c-primary)); background: #fff;
  font: 600 14px/1 var(--font, inherit); color: var(--c-ink); cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.anriss-vorlesen__knopf::before {
  content: ''; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='black'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.3 6.3a8 8 0 0 1 0 11.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.anriss-vorlesen__knopf:hover { box-shadow: 0 6px 14px -8px var(--accent, var(--c-primary)); }
.anriss-vorlesen__knopf[data-zustand="playing"], .anriss-vorlesen__knopf[data-zustand="paused"] { background: var(--accent, var(--c-primary)); }
.lesson--3 .anriss-vorlesen__knopf[data-zustand="playing"], .lesson--3 .anriss-vorlesen__knopf[data-zustand="paused"] { color: #fff; }
.anriss-vorlesen .teil-vorlesen { margin-left: 0; width: 38px; height: 38px; }
.anriss-vorlesen__hinweis { flex-basis: 100%; text-align: center; margin: 2px 0 0; }

/* „Kapitel als PDF“ unter „Kapitel vorlesen“ (14.11.2026) */
.kapitel-pdf { margin-top: 14px; }
.kapitel-pdf__knopf { text-decoration: none; }
.kapitel-pdf__knopf::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Lesezeichen „Weiterlesen bei …“ über dem Inhaltsverzeichnis (lessons.js setupLesezeichen, 19.11.2026) */
.lesezeichen {
  position: relative; margin: 0 0 24px; padding: 14px 18px 14px 46px;
  background: var(--accent-soft, #eef3f2); border-radius: 12px;
  border-left: 4px solid var(--accent, var(--c-primary));
}
.lesezeichen[hidden] { display: none; }
.lesezeichen::before {
  content: ''; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px;
  background: var(--accent, var(--c-primary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lesezeichen__text { margin: 0 0 10px; line-height: 1.45; }
.lesezeichen__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lesezeichen__weiter::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lesezeichen__vorn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 500 14px/1.2 var(--font, inherit); color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px;
}
.lesezeichen-ziel { background: var(--accent-soft, #eef3f2); box-shadow: 0 0 0 8px var(--accent-soft, #eef3f2); border-radius: 2px; transition: background-color .6s var(--ease), box-shadow .6s var(--ease); }

/* „Kapitel vorlesen“ unter dem Inhaltsverzeichnis (13.11.2026) */
.kapitel-vorlesen { margin: 24px 0 4px; }
.kapitel-vorlesen[hidden] { display: none; }
.kapitel-vorlesen__knopf { min-height: 46px; padding: 0 22px; font-size: 16px; border-width: 2px; }
.kapitel-vorlesen__knopf::before { width: 19px; height: 19px; }
.kapitel-vorlesen .teil-vorlesen { width: 44px; height: 44px; }
.lesson__preview .is-reading { background: var(--accent-soft); box-shadow: 0 0 0 6px var(--accent-soft); border-radius: 2px; }

/* Schwebender Knopf „↑ Zum Inhaltsverzeichnis“ (lessons.js setupZumInhalt, 13.11.2026) */
.blatt__gliederung { scroll-margin-top: 96px; }
.zum-inhalt {
  position: fixed; z-index: 55; right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px 12px 16px;
  background: #fff; color: var(--c-ink); cursor: pointer;
  border: 2px solid var(--accent, var(--c-primary)); border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(40, 30, 10, .45);
  font: 600 15px/1.2 var(--font, inherit);
  animation: panel-in .25s var(--ease);
}
.zum-inhalt[hidden] { display: none; }
.zum-inhalt::before { content: '↑'; color: var(--accent, var(--c-primary)); font-weight: 800; font-size: 18px; line-height: 1; }
.zum-inhalt:hover, .zum-inhalt:focus-visible { background: var(--accent-soft, #f4f4f4); outline: none; }
/* Läuft das Vorlesen, sitzt der Knopf über der Vorlese-Leiste */
body:has(.vorlese-leiste:not([hidden])) .zum-inhalt { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  .zum-inhalt { right: 16px; padding: 10px 16px 10px 13px; font-size: 14px; }
}

.blatt__trenner { border: 0; border-top: 1px solid var(--c-line); margin: 36px 0; }
.blatt__ende { text-align: center; font-size: 18px; margin: 36px 0 0; }

/* Der Anriss nutzt dasselbe Blatt, nur schlanker. */
.blatt--anriss { margin-top: 16px; padding: clamp(20px, 3vw, 36px); }
.blatt--anriss .blatt__kapitel { margin-bottom: 20px; font-size: 18px; }

/* Der Einstiegstext ebenso – er trägt seinen Titel schon im Kartenkopf. */
.blatt--einstieg { padding: clamp(22px, 3.5vw, 44px); }

/* Klang des Kapitels: eine vorproduzierte Datei. Bis zum 26.09.2026 erzeugte
   der Browser hier selbst Töne (Web Audio); die Hz-Angaben sind seitdem nur
   noch Beschriftung. Die .freq-Regeln darunter gehören zu jener alten Fassung
   und werden nicht mehr verwendet – sie bleiben stehen, falls die Tonerzeugung
   je zurückkehrt (frontend/public/js/frequency.js liegt ebenfalls noch da). */
.klang { display: grid; gap: 16px; justify-items: start; }
.lesson-audio { width: 100%; max-width: 560px; }
/* Titel der Meditation: zurückhaltend in der Leseschrift, Länge und KI-Hinweis klein darunter */
.klang__kopf { display: grid; gap: 4px; }
.klang__titel {
  margin: 0; font-family: var(--font-lesen, Georgia, serif); font-style: italic;
  font-size: 1.1rem; font-weight: 400; color: var(--c-ink-2);
}
.klang__info { margin: 0; font-size: .9rem; color: var(--c-muted); }
.klang__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.klang__knoepfe[hidden] { display: none; }
.klang__freq {
  margin: 0; font-size: .9rem; color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}

.freq { display: grid; gap: 24px; justify-items: start; }
.freq__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--c-line-strong); background: #fff; border-radius: var(--r-pill); padding: 10px 18px; font: 600 15px/1 var(--font); cursor: pointer; color: var(--c-ink); }
.chip[aria-checked="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.freq__dial { display: flex; align-items: baseline; gap: 8px; }
.freq__hz { font-size: clamp(56px, 8vw, 88px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.freq__unit { font-size: 20px; color: var(--c-muted); font-weight: 600; }
.freq.is-playing .freq__hz { color: var(--c-primary-700); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.freq__controls { display: flex; flex-wrap: wrap; align-items: end; gap: 24px; }

/* ---------- So funktioniert's ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { background: #fff; border-radius: var(--r-card); padding: 32px; border: 1px solid var(--c-line); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); font-weight: 700; font-size: 20px; margin-bottom: 24px; }
.step:nth-child(2) .step__num { background: var(--c-accent); }
.step:nth-child(3) .step__num { background: var(--c-ink); color: #fff; }
.step__title { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--c-ink-2); margin: 0; }

/* ---------- Formulare ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__title { font-size: 20px; margin-top: 8px; }
.field { display: grid; gap: 8px; }
.field--inline { gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-ink-2); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-line-strong); border-radius: var(--r-field);
  padding: 12px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
select { width: auto; min-width: 160px; padding-right: 36px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--c-primary-600); box-shadow: 0 0 0 4px var(--c-primary-100); }
textarea { resize: vertical; min-height: 140px; }
input[type="range"] { accent-color: var(--c-primary-600); width: 180px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--c-ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-primary-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-error { color: var(--c-danger); }
.form__status.is-ok { color: var(--c-primary-700); }
.notice { background: var(--c-accent-50); border-left: 3px solid var(--c-accent); padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--c-ink-2); margin: 0; }

/* ---------- Dialoge ---------- */
.dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-card); box-shadow: 0 24px 80px -16px rgba(18, 18, 18, .35); color: var(--c-ink); }
.dialog--wide { width: min(860px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(18, 18, 18, .35); backdrop-filter: blur(3px); }
.dialog__body { padding: 32px; display: grid; gap: 20px; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog__head h2 { font-size: 26px; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.checkout-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0 8px; border-top: 1px solid var(--c-line); }
.checkout-summary__title { font-size: 20px; font-weight: 600; }
.checkout-summary__price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
/* Rechnungsanschrift im Checkout */
.address { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.address legend { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-ink-2); margin-bottom: 10px; }
.field-row { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr; gap: 12px; }
.pay-methods { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pay-methods legend { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-ink-2); margin-bottom: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--c-line-strong); border-radius: 12px; cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
.pay-method:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pay-method input { accent-color: var(--c-ink); width: 18px; height: 18px; margin: 0; }
.pay-method__name { font-weight: 600; }
.pay-method__soon { margin-left: auto; font-size: 12px; color: var(--c-muted); }
.code-box { display: flex; gap: 12px; align-items: center; background: var(--c-bg-soft); border: 1px dashed var(--c-line-strong); border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.code-box code { flex: 1; font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }

.prose { color: var(--c-ink-2); }
.prose h2, .prose h3 { color: var(--c-ink); margin: 1.6em 0 .6em; font-size: 20px; letter-spacing: -0.015em; }
.prose h3 { font-size: 17px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose p, .prose li { max-width: 72ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); padding: 48px 0 40px; font-size: 14px; color: var(--c-muted); }
.site-footer__disclaimer { max-width: 80ch; }
.site-footer__bar { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--c-line); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__links a, .site-footer__links .link-btn { color: var(--c-ink-2); text-decoration: none; font-size: 14px; }
.site-footer__links a:hover, .site-footer__links .link-btn:hover { color: var(--c-ink); text-decoration: underline; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--c-ink); color: #fff; padding: 14px 24px; border-radius: var(--r-pill); font-size: 15px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); animation: panel-in .3s var(--ease); }

/* ---------- Fischschwärme ---------- */
.fish-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 30; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lesson-grid, .steps { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 0; }
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lang-gate__options { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .lesson__card, .lesson__panel { padding-left: 20px; padding-right: 20px; }
  .dialog__body { padding: 24px 20px; }
  .brand__name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
