/* Achtmalklug, Variante „final" (Runde 8: alles kostenlos, Merkblatt-Inhalte auf der Themenseite)
   Ruhige Produktseite: viel Weißraum, leicht gerundete Karten, getönter Hero auf der Startseite,
   je Sektion ein kleiner Farbakzent (Abschnitts-Marker), Flat-Illustrationen als Details, echte Video-Frames.
   Headlines in geometrischer Grotesk (Avenir Next, Webfont-Entscheidung später), Text IBM Plex Sans.
   Kein Framework, kein Build, Fließtext-Font lokal aus brand/fonts. */

/* ---------- Fonts (nur Fließtext; Headlines nutzen die Systemschrift Avenir Next) ---------- */
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --ink: #17384A;          /* Petrol: Text und Buttons */
  --ink-deep: #102A39;
  --ink-3: #244F63;
  --sub: #5B7482;          /* Nebentexte */
  --mute: #8BA0AC;         /* „in Vorbereitung" */
  --line: #E3E8EB;
  --line-2: #D3DDE2;
  --tint: #F3F6F8;
  --cream: #FFF4E0;
  --gold: #FFC83D;
  --gold-d: #F2B526;
  --sky: #7CC4FF;
  --lav: #9D7FD8;
  --mint: #5FD3A8;
  --mint-soft: #E6F8F0;
  --coral: #FF6F59;
  --coral-soft: #FFECE8;
  --gold-soft: #FFF1C9;
  --sky-soft: #E6F2FD;
  --lav-soft: #EEE8F9;
  --hero-bg: #FFF9EE;      /* Startseite: sehr helles Creme */
  --gold-soft-2: #FFEDBD;  /* Farbkörper hinter der Komposition */
  --mint-soft-2: #DDF4EA;
  --mint-d: #2FB283;
  --coral-d: #E5533E;

  --f-head: "Avenir Next", "Helvetica Neue", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1160px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(88px, 10vw, 144px);
  --gap: clamp(20px, 2.2vw, 28px);
  --head: 76px;

  --r: 16px;       /* Karten */
  --r-s: 12px;     /* Bilder, Antworten */
  --r-btn: 10px;   /* Buttons, Felder */

  --t-hero: clamp(42px, 5.2vw, 68px);
  --t-h1: clamp(38px, 4.4vw, 58px);
  --t-h2: clamp(28px, 2.8vw, 38px);
  --t-h3: clamp(19px, 1.5vw, 21px);

  --shadow-hover: 0 14px 32px -16px rgba(16, 42, 57, .22), 0 2px 6px -2px rgba(16, 42, 57, .06);
  --sine: cubic-bezier(.37, 0, .63, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17.5px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; letter-spacing: -.018em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.28; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
[id] { scroll-margin-top: 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: var(--r-btn); font: 600 15px/1.4 var(--f-head); text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0 0; }
.sec--tight { padding-top: clamp(40px, 5vw, 64px); }
.sec-head { max-width: 44em; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head p { margin-top: 16px; color: var(--sub); max-width: 38em; }
.sec-head--illu { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: 0; }
.sec-illu { width: clamp(108px, 12vw, 164px); margin-bottom: -8px; }
@media (max-width: 599px) { .sec-head--illu { grid-template-columns: minmax(0, 1fr) 88px; gap: 16px; align-items: start; } .sec-illu { width: 88px; } }

/* Illustrationen (Inline-SVG) */
.illu { width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-btn);
  font: 600 16px/1 var(--f-head); letter-spacing: .005em; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, translate .2s ease, color .2s ease;
}
.btn:hover { translate: 0 -1px; }
.btn:active { translate: 0 0; }
.btn .ext { width: 15px; height: 15px; }
.btn .arr { margin-right: -2px; }
.btn:hover .arr { translate: 3px 0; }
.btn:hover .arr--down { translate: 0 2px; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 1px 0 rgba(16, 42, 57, .08); }
.btn--gold:hover { background: var(--gold-d); box-shadow: 0 8px 18px -10px rgba(190, 130, 0, .7); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-deep); box-shadow: 0 8px 18px -10px rgba(16, 42, 57, .7); }
.btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Abschnitts-Marker (Runde 7): kurzer Balken plus Punkt in der Farbe der Sektion ---------- */
.mark { --mk: var(--gold); display: flex; align-items: center; gap: 5px; margin-bottom: 18px; }
.mark::before { content: ""; width: 28px; height: 6px; border-radius: 3px; background: var(--mk); }
.mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mk); opacity: .45; }
.mark.mark { margin-top: 0; }
.mark--gold { --mk: var(--gold); } .mark--mint { --mk: var(--mint); } .mark--coral { --mk: var(--coral); }
.mark--sky { --mk: var(--sky); } .mark--lav { --mk: var(--lav); } .mark--ink { --mk: var(--ink-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arr { width: 16px; height: 16px; flex: none; transition: translate .15s ease; }
.ext { width: 14px; height: 14px; flex: none; }
.more-link, .vlink { display: inline-flex; align-items: center; gap: 6px; font: 600 15.5px/1.3 var(--f-head); text-decoration: none; }
.more-link:hover .arr, .vlink:hover .arr { translate: 3px 0; }
.more-link:hover, .vlink:hover { text-decoration: underline; }

/* ---------- Kopf ---------- */
.site-head { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-head--over { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.head-in { display: flex; align-items: center; gap: 40px; min-height: var(--head); }
.logo { font: 700 23px/1 var(--f-head); letter-spacing: -.03em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo span { color: #6A4FB0; }
.nav { flex: 1; display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 28px; }
.nav a:not(.btn) { font: 500 15.5px/1 var(--f-head); text-decoration: none; padding: 8px 0; color: var(--ink); }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.nav a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav .btn { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px 0; cursor: pointer; font: 600 16px/1 var(--f-head); }

@media (max-width: 899px) {
  :root { --head: 64px; }
  .js .menu-btn { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); padding: 8px var(--pad) 28px; flex-direction: column; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -20px rgba(16, 42, 57, .3); }
  .js .site-head.open .nav { display: flex; }
  .js .site-head--over.open { background: var(--white); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; font-size: 18px; padding: 12px 0; }
  .nav .btn { margin-left: 0; }
  .no-js .head-in { flex-wrap: wrap; padding-bottom: 16px; }
  .no-js .nav { flex-wrap: wrap; gap: 16px; }
  .no-js .nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { padding: calc(var(--head) + clamp(40px, 6vw, 96px)) 0 clamp(64px, 8vw, 112px); }
/* Fach-Hero: getönte Fläche in der Fachfarbe, Illustration rechts */
.hero--subject { padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 80px); }
.hero--mint { background: var(--mint-soft); }
.hero--coral { background: var(--coral-soft); }
.hero--sky { background: var(--sky-soft); }
.hero--lav { background: var(--lav-soft); }
.hero--subject .crumb { margin-bottom: 24px; }
.hero--subject h1 { font-size: var(--t-h1); line-height: 1.05; letter-spacing: -.02em; }
.hero--subject .hero-lead { margin-top: 20px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--white); font: 600 14px/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hf, var(--mint-d)); }
.hero-facts .hf-gold { --hf: var(--gold-d); } .hero-facts .hf-sky { --hf: #4C9BE0; }
.subject-illu { width: min(100%, 360px); }
@media (max-width: 999px) { .hero--subject .hero-media { order: 0; } .subject-illu { width: min(60vw, 280px); } }
.subject-illu svg { width: 100%; height: auto; display: block; }
/* Fächer-Übersicht (Runde 6): jedes Fach als kleine Bühne, links Illustrations-Feld in der Fachfarbe, rechts Text, Themen-Chips, Pfeil-Button */
.subj-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .subj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subj {
  --subj-soft: var(--tint);
  display: grid; grid-template-columns: 42% minmax(0, 1fr); height: 100%; min-height: 300px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white);
  color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, translate .2s ease, border-color .2s ease;
}
a.subj:hover { box-shadow: var(--shadow-hover); translate: 0 -2px; border-color: var(--line-2); }
.subj--mint { --subj-soft: var(--mint-soft); } .subj--coral { --subj-soft: var(--coral-soft); } .subj--sky { --subj-soft: var(--sky-soft); } .subj--lav { --subj-soft: var(--lav-soft); }
.subj-art { display: grid; place-items: center; padding: 24px 14px; background: var(--subj-soft); }
.subj-illu { display: block; width: min(100%, 220px); height: auto; overflow: visible; }
.subj-illu text { font-family: var(--f-head); }
.subj-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(26px, 3vw, 36px) clamp(22px, 2.6vw, 34px); }
.subj h2 { font: 700 clamp(28px, 2.3vw, 32px)/1.08 var(--f-head); letter-spacing: -.022em; }
.subj-meta { margin-top: 10px; font: 500 15.5px/1.4 var(--f-head); color: var(--sub); }
.subj-stats { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 22px; }
.subj-stats div { display: grid; gap: 2px; }
.subj-stats dt { order: 2; font: 500 14px/1.3 var(--f-head); color: var(--sub); }
.subj-stats dd { order: 1; margin: 0; font: 700 30px/1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.subj-stats .live dd { display: inline-flex; align-items: center; gap: 8px; }
.subj-stats .live dd::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint-d); box-shadow: 0 0 0 4px var(--mint-soft); }
.subj-foot { margin-top: auto; padding-top: 28px; }
#themen .toolbar { margin-top: 24px; }
.subj-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px; border-radius: var(--r-btn);
  background: var(--ink); color: var(--white); font: 600 15px/1 var(--f-head); transition: background-color .15s ease;
}
a.subj:hover .subj-cta { background: var(--ink-deep); }
a.subj:hover .subj-cta .arr { translate: 3px 0; }
.subj-soon { display: inline-flex; align-items: center; gap: 7px; font: 600 14.5px/1 var(--f-head); color: var(--mute); }
.subj-soon svg { width: 16px; height: 16px; }
.subj.is-soon h2 { color: var(--ink-3); }
.subj.is-soon .subj-art { background: color-mix(in srgb, var(--subj-soft) 80%, var(--white)); }
.subj.is-soon .subj-illu { opacity: .9; filter: saturate(.72); }
.subj-meta::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--subj-dot, var(--mute)); vertical-align: 1px; }
.subj--mint { --subj-dot: var(--mint-d); } .subj--coral { --subj-dot: var(--coral); } .subj--sky { --subj-dot: #4C9BE0; } .subj--lav { --subj-dot: var(--lav); }
.subj.is-soon .subj-meta::before { opacity: .55; }
/* Hover Biologie: das Blatt wippt */
.leaf-sway { transform-box: fill-box; transform-origin: 50% 92%; }
@media (prefers-reduced-motion: no-preference) {
  a.subj:hover .leaf-sway { animation: leaf-sway 1.6s var(--sine) infinite; }
}
@keyframes leaf-sway { 0%, 100% { rotate: 0deg; } 30% { rotate: -6deg; } 70% { rotate: 5deg; } }
@media (max-width: 999px) { .subj { min-height: 260px; } .subj-art { padding-block: 20px; } }
@media (max-width: 559px) {
  .subj { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .subj-art { padding: 20px 16px 12px; }
  .subj-illu { width: min(78%, 220px); }
  .subj-body { padding: 22px 22px 26px; }
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: var(--t-hero); line-height: 1.03; letter-spacing: -.024em; max-width: 9em; }
.hero-lead { margin-top: 24px; max-width: 31em; font-size: clamp(18px, 1.35vw, 19.5px); line-height: 1.6; color: var(--sub); }
.hero-copy .btn-row { margin-top: 36px; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 5vw, 80px); }
  .hero--start .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 4vw, 64px); }
}

/* Startseite (Runde 7): getönte Fläche statt Weiß, Claim mit Gold-Markierung, Vertrauens-Einträge */
.hero--start { position: relative; overflow: hidden; background: var(--hero-bg); padding-bottom: clamp(72px, 8vw, 120px); }
.hero--start h1 { max-width: 8.6em; }
.hl {
  white-space: nowrap; padding: 0 .04em; margin: 0 -.04em;
  background: linear-gradient(transparent 69%, var(--gold) 69%, var(--gold) 88%, transparent 88%) no-repeat 0 0 / 100% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .hl { animation: hl-draw .7s cubic-bezier(.3, .7, .3, 1) .45s both; }
}
@keyframes hl-draw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(23, 56, 74, .1); max-width: 31em; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1.3 var(--f-head); color: var(--ink-3); }
.trust li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--tk, var(--mint))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' stroke='%2317384A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.trust--mint { --tk: var(--mint); } .trust--gold { --tk: var(--gold); } .trust--sky { --tk: var(--sky); }

.hero-media { position: relative; }
/* Produkt-Komposition: drei versetzte Kacheln (Video mit Kapitel-Liste hinten, Quiz vorn links mit Ergebnis-Badge,
   Lernzettel vorn rechts), Dr. Krake schaut hinter der Quiz-Kachel hervor. Dahinter zwei flache Farbkörper
   (Gold-soft, in den Rand laufend, und Minze-soft). Maße in % einer 540 × 520-Bühne. */
.hero-comp { position: relative; width: min(100%, 600px); aspect-ratio: 540 / 520; margin-inline: auto; }
.hc-back { position: absolute; inset: 0; }
.hc-blob { position: absolute; left: 9%; top: -10%; width: 134%; aspect-ratio: 1; border-radius: 47% 53% 44% 56% / 52% 46% 54% 48%; background: var(--gold-soft-2); }
.hc-blob2 { position: absolute; left: -16%; top: 56%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--mint-soft-2); }
.hs-ring { position: absolute; left: 2%; top: -14%; width: 132%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(242, 181, 38, .32); }
.hs-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.hs-dot--gold { background: var(--gold); left: 13%; top: 12%; }
.hs-dot--coral { background: var(--coral); right: -2%; top: 44%; width: 10px; height: 10px; }
.hs-dot--sky { background: var(--sky); left: 58%; bottom: -2%; width: 9px; height: 9px; }
.hc {
  position: absolute; border-radius: 16px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(16, 42, 57, .05), 0 2px 4px -1px rgba(16, 42, 57, .06), 0 24px 48px -22px rgba(16, 42, 57, .34);
}
.hc svg { display: block; width: 100%; height: auto; overflow: visible; }
.hc text { font-family: var(--f-head); }
.hc--video { z-index: 1; left: 20%; top: 3%; width: 80%; background: var(--ink); }
.hc--quiz { z-index: 3; left: 0; top: 64%; width: 56%; }
.hc--sheet { z-index: 4; left: 66%; top: 47%; width: 32%; border-radius: 12px; rotate: 4deg; }
.hero-krake { position: absolute; z-index: 2; left: -6%; top: 33%; width: 42%; }
/* Ergebnis-Badge: schwebt an der Quiz-Kachel */
.hc-badge {
  position: absolute; z-index: 5; left: 35%; top: 58.5%; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--white); white-space: nowrap;
  font: 500 14px/1 var(--f-head); color: var(--ink-3);
  box-shadow: 0 0 0 1px rgba(16, 42, 57, .06), 0 12px 24px -12px rgba(16, 42, 57, .4);
}
.hc-badge strong { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hc-badge-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--ink); }
.hc-badge-ico svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  /* Einfahren (0,6 s, versetzt), danach sehr langsames Schweben (±4 px, versetzt) */
  .hc { animation: hc-in .6s cubic-bezier(.2, .8, .3, 1) both, hc-float 7s var(--sine) .8s infinite; }
  .hc--quiz { animation-delay: .1s, 1.4s; animation-duration: .6s, 8s; }
  .hc--sheet { animation-delay: .2s, 2.1s; animation-duration: .6s, 6.4s; }
  .hc-badge { animation: hc-pop .45s cubic-bezier(.3, 1.5, .5, 1) 1s both, hc-float 8s var(--sine) 1.5s infinite; }
}
@keyframes hc-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes hc-pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes hc-float { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-4px); } 75% { transform: translateY(4px); } }
@media (max-width: 999px) {
  .hero-media { order: -1; }
  .hero-comp { width: min(100%, 460px); margin-top: 8px; }
}
@media (max-width: 599px) {
  .hero-comp { width: min(100%, 340px); }
  .hc-badge { padding: 5px 10px 5px 5px; gap: 6px; font-size: 12px; left: 33%; top: 57%; }
  .hc-badge-ico { width: 19px; height: 19px; }
  .hc-badge-ico svg { width: 13px; height: 13px; }
  .hs-dot--gold { width: 10px; height: 10px; }
  .hs-dot--coral, .hs-dot--sky { width: 7px; height: 7px; }
  .trust { gap: 10px 18px; }
  .hero-krake { left: -2%; }
  .hero--start .btn-row .btn { padding: 0 16px; }
  .trust li { font-size: 14.5px; }
}

/* Play-Knopf (Themenseite, Videokarten) */
.play, .vplay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .94); box-shadow: 0 8px 24px -8px rgba(6, 26, 36, .5);
  transition: scale .18s ease;
}
.play svg, .vplay svg { width: 34%; height: auto; margin-left: 8%; fill: var(--ink); }
.player:hover .play, .vthumb:hover .vplay { scale: 1.06; }

/* ---------- Fächer-Zeile ---------- */
.subjects { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.subjects-in { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.subjects-label { font: 600 14px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--sub); text-decoration: none; }
a.subjects-label:hover { color: var(--ink); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  --chip-bg: var(--white);
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--chip-bg);
  font: 600 15.5px/1 var(--f-head); text-decoration: none; color: var(--ink);
}
/* Icons: kleine 20-px-Derivate der Fach-Illustrationen (Blatt, Kolben, Prisma, Koordinatenkreuz) */
.chip .ico { width: 20px; height: 20px; flex: none; }
.chip.is-off .ico { opacity: .85; }
.chip small { font: 500 13px/1 var(--f-head); color: var(--mute); }
a.chip { transition: border-color .2s ease, background-color .2s ease, translate .2s ease; }
a.chip:hover { border-color: var(--ink); translate: 0 -1px; }
a.chip.is-active:hover { background: var(--ink-deep); }
.chip.is-active { --chip-bg: var(--ink); background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-off { color: var(--mute); border-color: var(--line); }
@media (max-width: 599px) {
  .chip small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chip { padding: 0 14px 0 12px; }
}

/* ---------- Werkzeugleiste: Klassenstufe (Textschalter) und Suche ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: clamp(32px, 4vw, 44px) 0 clamp(24px, 3vw, 32px); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--white);
  font: 600 15px/1 var(--f-head); color: var(--ink-3);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, translate .2s ease;
}
.seg button:not(:has(.seg-n)) { padding-right: 16px; }
.seg button:hover { border-color: var(--ink); color: var(--ink); translate: 0 -1px; }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); translate: none; }
.seg-n {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--tint);
  font: 700 12.5px/24px var(--f-head); text-align: center; color: var(--sub); font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, color .2s ease;
}
.seg button[aria-pressed="true"] .seg-n { background: var(--gold); color: var(--ink); }
.seg button.is-zero .seg-n { opacity: .55; }
.search { position: relative; flex: 0 1 340px; min-width: 240px; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 19px; height: 19px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; height: 48px; padding: 0 18px 0 46px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white);
  font-size: 16px; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.search input:hover { border-color: var(--mute); }
.search input::placeholder { color: var(--mute); }
.search input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.count { margin: -8px 0 24px; font: 500 14.5px/1.4 var(--f-head); color: var(--sub); font-variant-numeric: tabular-nums; }
.empty { margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--tint); color: var(--sub); }
@media (max-width: 599px) { .search { flex-basis: 100%; } .seg { gap: 6px; } .seg button { height: 40px; font-size: 14.5px; padding-left: 13px; } }

/* ---------- Video-Karten ---------- */
.vgrid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: box-shadow .2s ease, border-color .2s ease, translate .2s ease; }
.vcard:not(.is-soon):hover { box-shadow: var(--shadow-hover); border-color: var(--line-2); translate: 0 -2px; }
.vcard.is-soon:hover { border-color: var(--line-2); }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); container-type: inline-size; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.vthumb:hover img { scale: 1.02; }
.vplay { width: 52px; aspect-ratio: 1; }
.vdur { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(4, 14, 21, .78); color: #fff; font: 600 12.5px/1.2 var(--f-head); }
/* Platzhalter: Petrol-Grund, dazu ein flacher Lichtfleck und ein kleines Themen-Symbol in der Akzentfarbe */
.vthumb--soon { --acc: var(--sky); background: var(--ink); }
.vthumb--soon::before { content: ""; position: absolute; right: -8cqi; top: -26cqi; width: 58cqi; aspect-ratio: 1; border-radius: 50%; background: var(--acc); opacity: .14; }
.vthumb--soon::after { content: ""; position: absolute; right: -20cqi; top: -38cqi; width: 82cqi; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--acc); opacity: .2; }
.vsym { position: absolute; z-index: 1; right: 9cqi; top: 9cqi; width: 15cqi; height: auto; transition: rotate .3s ease, scale .3s ease; }
.vcard:hover .vsym { rotate: -8deg; scale: 1.06; }
.acc-mint { --acc: var(--mint); } .acc-gold { --acc: var(--gold); } .acc-sky { --acc: var(--sky); }
.acc-lav { --acc: #B9A1EA; }
.acc-gold::before { opacity: .09; } .acc-coral { --acc: var(--coral); }
.vword { position: absolute; left: 7cqi; right: 7cqi; bottom: 9cqi; font: 700 10.5cqi/1.02 var(--f-head); letter-spacing: -.02em; color: var(--cream); hyphens: manual; }
.vbody { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.vlvl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 14px/1.4 var(--f-head); color: var(--sub); font-variant-numeric: tabular-nums; }
.vsubj { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; background: var(--mint-soft); font: 600 12.5px/1.2 var(--f-head); color: var(--ink); }
.vsubj::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-d); }
.vbody h3 { margin-top: 6px; }
.vbody h3 a { text-decoration: none; }
.vbody h3 a:hover { text-decoration: underline; }
.vlinks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; padding-top: 18px; }
.yt-ico { width: 19px; height: 14px; flex: none; color: var(--ink); }
.vsoon { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 5px 10px; border-radius: 999px; background: var(--tint); font: 600 13px/1.2 var(--f-head); color: var(--sub); }
.vsoon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.is-soon .vsoon { margin-top: 16px; }
.is-soon .vbody { padding-bottom: 20px; }
@media (max-width: 639px) {
  /* Platzhalter mobil kompakt: Thumbnail links, Text rechts */
  .vcard.is-soon { flex-direction: row; }
  .is-soon .vthumb { flex: none; width: 118px; aspect-ratio: auto; }
  .is-soon .vword { font-size: 15.5cqi; left: 10cqi; right: 8cqi; bottom: 11cqi; }
  .is-soon .vbody { padding: 16px 18px; }
  .is-soon .vbody h3 { font-size: 17px; }
  .is-soon .vsoon { margin-top: 10px; }
}

/* ---------- So sieht ein Video aus: drei echte Frames ---------- */
.steps { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); }
.step--sky { background: var(--sky-soft); }
.step--coral { background: var(--coral-soft); }
.step--mint { background: var(--mint-soft); }
.step-illu { width: 120px; height: 120px; display: block; margin-bottom: 20px; }
.step h3 { font: 600 var(--t-h3) var(--f-head); color: var(--ink); }
.step p { margin-top: 10px; color: var(--sub); font-size: 16px; line-height: 1.55; }

/* ---------- Häkchen-Listen ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--tick-bg, var(--mint-soft-2))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5-5.2' stroke='%2317384A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.note { min-height: 1.5em; margin-top: 10px; font-size: 14.5px; color: var(--sub); }

/* ---------- Für Lehrkräfte (eine Karte) ---------- */
.teach { position: relative; overflow: hidden; display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); background: var(--cream); border-radius: var(--r); }
.teach > * { position: relative; }
.teach-illu { position: relative; isolation: isolate; }
.teach-illu::before { content: ""; position: absolute; z-index: -1; inset: -16%; border-radius: 50%; background: var(--gold-soft-2); }
.teach::after { content: ""; position: absolute; left: -40px; bottom: -40px; width: 120px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(242, 181, 38, .35); }
.teach .ticks li::before { --tick-bg: var(--white); }
.teach-copy > h2 + p { margin-top: 16px; color: var(--sub); max-width: 34em; }
.teach .ticks { margin-top: 28px; }
.teach .btn-row { margin-top: 28px; }
.teach-illu { width: clamp(170px, 22vw, 260px); justify-self: center; transition: translate .3s ease; }
.teach:hover .teach-illu { translate: 0 -4px; }
@media (min-width: 800px) { .teach { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } .teach-illu { margin-right: clamp(0px, 3vw, 40px); } }
@media (max-width: 799px) { .teach-illu { order: -1; justify-self: start; width: 132px; } }

/* ---------- Fuß ---------- */
.site-foot { margin-top: var(--sec); border-top: 1px solid var(--line); background: #FBFCFD; font-size: 15px; color: var(--sub); }
.site-foot .wrap { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 44px; }
.brandline { display: flex; gap: 4px; margin-top: 20px; }
.brandline span { width: 18px; height: 4px; border-radius: 2px; background: var(--c); }
.foot-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 16px; max-width: 26em; }
.foot-grid h2 { font: 600 14px/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a { transition: color .2s ease; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid small { font-size: 12.5px; color: var(--mute); }
.foot-grid li > span { color: var(--mute); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-legal span + span { color: var(--mute); }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
}

/* ---------- Seitenkopf (Fach-, Themen- und Rechtsseite) ---------- */
.page-head { padding: clamp(40px, 5vw, 72px) 0 clamp(8px, 1vw, 16px); }
.page-head-grid { display: grid; gap: 32px; align-items: end; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .page-head-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.crumb { font: 500 14.5px/1.4 var(--f-head); color: var(--sub); margin-bottom: 20px; }
.crumb a { color: var(--sub); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb > span[aria-hidden] { margin: 0 6px; color: var(--mute); }
.page-head h1 { max-width: 16em; }
.page-head .lead { margin-top: 20px; max-width: 36em; font-size: clamp(17.5px, 1.3vw, 19px); color: var(--sub); }
.page-illu { width: clamp(150px, 15vw, 196px); margin-bottom: -4px; }
.page-illu--wide { width: clamp(200px, 21vw, 264px); }
@media (max-width: 699px) { .page-illu { order: -1; width: 120px; } .page-illu--wide { width: 156px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--tint); font: 600 14px/1.3 var(--f-head); font-variant-numeric: tabular-nums; }
.tags li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tg, var(--ink-3)); }
.tags .tg-mint { --tg: var(--mint-d); background: var(--mint-soft); }
.tags .tg-sky { --tg: #4C9BE0; background: var(--sky-soft); }
.tags .tg-gold { --tg: var(--gold-d); background: var(--gold-soft); }

/* ---------- Themenseite: Player und Kapitel ---------- */
.watch { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1000px) { .watch { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); } }
.player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.player img { width: 100%; height: 100%; object-fit: cover; }
.play { width: clamp(60px, 7vw, 84px); aspect-ratio: 1; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chapters-card { padding: 22px 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.ch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; margin-bottom: 10px; }
.chapters-card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.ch-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--gold-soft); font: 700 13px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.ch-yt { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--f-head); color: var(--sub); }
.ch-yt .yt-ico { width: 17px; height: 12px; color: #E5533E; }
.chapters li + li { margin-top: 2px; }
.chapters a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px; gap: 0 8px; align-items: center;
  padding: 10px 8px; border-radius: 10px; text-decoration: none; color: var(--ink);
  transition: background-color .2s ease;
}
.chapters time {
  justify-self: start; padding: 4px 7px; border-radius: 6px; background: var(--tint);
  font: 600 13.5px/1.2 var(--f-head); color: var(--ink-3); font-variant-numeric: tabular-nums; transition: background-color .2s ease;
}
.chapters .ch-title { font-size: 16px; line-height: 1.4; }
.ch-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); opacity: 0; scale: .8; transition: opacity .2s ease, scale .2s ease; }
.ch-play svg { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }
.chapters a:hover { background: var(--tint); }
.chapters a:hover time { background: var(--gold-soft); }
.chapters a:hover .ch-play, .chapters a:focus-visible .ch-play { opacity: 1; scale: 1; }
.chapters a:focus-visible { outline-offset: 0; border-radius: 10px; }
@media (hover: none) { .ch-play { opacity: 1; scale: .85; background: var(--gold-soft); } }
.player-note { margin: 10px 8px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }

/* ---------- Das Wichtigste in drei Sätzen: Karte mit Gold-Zahlen ---------- */
.musts { display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); background: var(--gold-soft); border-radius: var(--r); }
@media (min-width: 900px) { .musts { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } }
.musts-illu { width: clamp(120px, 14vw, 180px); }
@media (max-width: 899px) { .musts-illu { order: -1; width: 112px; } }
.must-list { display: grid; gap: 14px; margin-top: 32px; }
.must-list li { padding: 24px 22px 26px; border-radius: 14px; background: var(--white); box-shadow: 0 1px 0 rgba(16, 42, 57, .05); }
@media (min-width: 760px) { .must-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.must-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); font: 700 18px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.must-list p { margin-top: 16px; font: 600 20px/1.38 var(--f-head); letter-spacing: -.01em; max-width: 15em; }
@media (max-width: 759px) {
  .must-list { gap: 10px; }
  .must-list li { padding: 18px 18px 20px; }
  .must-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .must-list p { margin-top: 6px; font-size: 18px; }
}

/* ---------- Quiz ---------- */
.quiz-grid { display: grid; gap: 32px; align-items: start; }
.panel {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px;
  margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
}
.panel .react-krake { width: 60px; flex: none; }
.panel-text { flex: 1; min-width: 0; }
.react-line { font: 600 15.5px/1.3 var(--f-head); }
.score { margin-top: 2px; font-size: 13.5px; color: var(--sub); }
.score strong { font: 700 15px/1 var(--f-head); color: var(--ink); }
.score-bar { height: 5px; margin-top: 8px; border-radius: 3px; background: var(--tint); overflow: hidden; }
.score-bar span { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--gold); transition: width .4s ease; }
@media (min-width: 1000px) {
  .quiz-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(48px, 6vw, 88px); }
  .panel { grid-column: 2; grid-row: 1; top: 24px; margin: 0; padding: 28px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .panel .react-krake { width: 184px; margin: 0 auto; }
  .react-line { font-size: 18px; min-height: 2.7em; }
  .score { font-size: 14.5px; }
  .score strong { font-size: 22px; margin-right: 4px; }
  .quiz-main { grid-column: 1; grid-row: 1; }
}
.qlist { display: grid; gap: 48px; }
.q-text { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 16px; align-items: start; font: 600 clamp(18px, 1.45vw, 20px)/1.4 var(--f-head); letter-spacing: -.005em; }
.q-num { display: grid; place-items: center; width: 34px; height: 34px; margin-top: -3px; border-radius: 50%; background: var(--tint); font: 700 15px/1 var(--f-head); }
.opts { display: grid; gap: 8px; margin-top: 18px; padding-left: 50px; }
.opt {
  display: flex; gap: 14px; align-items: center; width: 100%; min-height: 54px; text-align: left; line-height: 1.45;
  padding: 10px 16px 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--white); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, translate .2s ease;
}
.opt:hover:not(:disabled) { background: var(--tint); border-color: var(--ink); translate: 2px 0; }
.opt:disabled { cursor: default; }
.opt-key {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--tint);
  font: 700 14px/1 var(--f-head); color: var(--ink-3); transition: background-color .2s ease, color .2s ease;
}
.opt:hover:not(:disabled) .opt-key { background: var(--ink); color: var(--white); }
.opt.is-right { background: var(--mint-soft); border-color: var(--mint); }
.opt.is-right .opt-key { background: var(--mint); color: var(--ink); }
.opt.is-wrong { background: var(--coral-soft); border-color: var(--coral); }
.opt.is-wrong .opt-key { background: var(--coral); color: var(--white); }
.opt.is-right::after, .opt.is-wrong::after { content: ""; flex: none; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; }
.opt.is-right::after { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' stroke='%2317384A' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.opt.is-wrong::after { background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%23FFFFFF' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.q.done .opt:not(.is-right):not(.is-wrong) { color: var(--sub); }
.q-feedback { margin-top: 14px; padding-left: 50px; font-size: 16px; color: var(--sub); }
.q-feedback strong { font: 700 16px/1 var(--f-head); color: var(--ink); }
@media (max-width: 599px) {
  .q-text { grid-template-columns: 30px minmax(0, 1fr); gap: 0 12px; }
  .q-num { width: 30px; height: 30px; font-size: 14px; }
  .opts, .q-feedback { padding-left: 0; }
}
.quiz-result {
  --rt: var(--mint); --rt-soft: var(--mint-soft);
  position: relative; overflow: hidden; display: grid; gap: 20px 32px; align-items: center;
  margin-top: 48px; padding: clamp(24px, 3.4vw, 36px); border-radius: var(--r); background: var(--rt-soft);
}
.quiz-result[data-tone="mid"] { --rt: var(--gold); --rt-soft: var(--gold-soft); }
.quiz-result[data-tone="low"] { --rt: var(--coral); --rt-soft: var(--coral-soft); }
.quiz-result::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; aspect-ratio: 1; border-radius: 50%; background: var(--rt); opacity: .16; }
.quiz-result > * { position: relative; z-index: 1; }
.quiz-result:focus { outline: none; }
.result-score {
  display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 5px var(--rt);
  font: 700 34px/1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.result-body p { margin-top: 8px; color: var(--sub); max-width: 34em; }
.quiz-result .btn { margin-top: 22px; }
@media (min-width: 600px) { .quiz-result { grid-template-columns: auto minmax(0, 1fr); } }

/* =========================================================
   Runde 8: Merkblatt-Inhalte auf der Themenseite
   (gleiche Daten und Illustrationen wie das PDF, gerendert im Website-Stil)
   ========================================================= */
:root { --gold-text: #8A5F00; --mint-text: #1D7A57; --coral-text: #C2412E; }
.wrap--wide { max-width: calc(1320px + 2 * var(--pad)); }
.gl-art svg, .pz-art svg, .vg-art svg, .pr-pic svg { display: block; width: 100%; height: auto; }

/* Kopf: Titel links, „Worum geht’s“ rechts (wie auf dem Merkblatt) */
.topic-head { display: grid; gap: 28px; }
/* Worum geht’s steht seit Runde 8b unter dem Video */
.intro-sec { padding-top: clamp(28px, 3vw, 40px); }
.intro-sec .intro-card { max-width: 860px; }
.intro-card { position: relative; overflow: hidden; padding: 26px 28px 28px; border-radius: var(--r); background: var(--cream); }
.intro-card::after { content: ""; position: absolute; right: -34px; top: -34px; width: 96px; aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft-2); }
.intro-card > * { position: relative; z-index: 1; }
.intro-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 12.5px/1.2 var(--f-head); letter-spacing: .09em; text-transform: uppercase; color: var(--gold-text); }
.intro-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-d); }
.intro-card p { font-size: 16.5px; line-height: 1.62; color: var(--ink-3); }
@media (max-width: 999px) { .intro-card { padding: 20px 22px 22px; } .intro-card p { font-size: 15.5px; line-height: 1.58; } }
.watch-actions .arr--down { margin-right: -2px; }

/* Das Wichtigste: lange Merksätze ruhiger setzen */
.must-list--lang p { font-size: 17px; font-weight: 500; line-height: 1.5; max-width: none; }
@media (max-width: 759px) { .must-list--lang p { font-size: 16px; } }

/* Grundlagen: Karten mit Illustrationsfeld, Begriffe als Definitionsliste, Zellzyklus-Stationen mit Farbmarkern */
.gl-grid { display: flex; flex-wrap: wrap; gap: var(--gap); }
.gl-card { flex: 1 1 320px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.gl-card--wide { flex: 1.5 1 420px; }
.gl-art { display: grid; place-items: center; padding: 28px 24px; background: var(--sky-soft); }
.gl-art svg { width: 100%; max-width: 440px; height: 200px; }
@media (max-width: 599px) { .gl-art { padding: 20px 16px; } .gl-art svg { height: 164px; } }
.gl-body { padding: clamp(24px, 2.6vw, 32px); }
.gl-body h3 { font-size: 22px; font-weight: 700; }
.gl-text { margin-top: 12px; color: var(--ink-3); }
.terms { margin-top: 22px; border-top: 1px solid var(--line); }
.terms div { display: grid; gap: 2px 20px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .terms div { grid-template-columns: 12.5em minmax(0, 1fr); } }
.terms dt { display: flex; align-items: baseline; gap: 9px; font: 600 16px/1.45 var(--f-head); }
.terms dt::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); translate: 0 -1px; }
.terms dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--sub); }
@media (max-width: 599px) { .terms dd { padding-left: 17px; } }
.stations { display: grid; gap: 4px; margin-top: 20px; }
.stations li { position: relative; padding: 9px 12px 10px 36px; border-radius: 10px; font-size: 15.5px; line-height: 1.5; color: var(--sub); }
.stations li::before { content: ""; position: absolute; left: 12px; top: 15px; width: 12px; height: 12px; border-radius: 3px; background: var(--st, var(--ink)); }
.stations strong { font: 600 16px/1.45 var(--f-head); color: var(--ink); margin-right: 4px; }
.stations .is-key { background: var(--gold-soft); color: var(--ink-3); }

/* Ablauf: Stepper. Ab 1200 px eine Leiste wie auf dem Merkblatt (Zeilen per Subgrid ausgerichtet, Gold-Pfeile),
   darunter wischbar mit Scroll-Snap und Schritt-Navigation (app.js) */
.pz { position: relative; }
.pz-card { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px 12px 12px; border-radius: var(--r); background: var(--cream); transition: background-color .25s ease; }
.pz-art { width: 100%; transition: scale .3s ease; }
.pz-card:not(:has(.pz-art)) { aspect-ratio: auto; min-height: 54px; } /* Illustration fehlt: nur Nummer */
.pz-num { position: absolute; z-index: 1; left: 12px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 14px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.pz-arrow { display: none; }
.pz-name { margin-top: 20px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.pz-hint { margin-top: 6px; }
.pz-hint mark { padding: 0 3px; margin: 0 -3px; background: linear-gradient(transparent 52%, var(--gold) 52%, var(--gold) 90%, transparent 90%); color: var(--ink); font: 600 15.5px/1.45 var(--f-head); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pz-text { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); hyphens: auto; -webkit-hyphens: auto; }
.pz-text p + p { margin-top: 8px; }
.pz-see { margin-top: 18px; padding: 12px 14px 14px; border-radius: 12px; background: var(--gold-soft); font-size: 15px; line-height: 1.5; color: var(--ink); hyphens: auto; -webkit-hyphens: auto; }
.pz-see-label { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; font: 700 12px/1.3 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.pz-see-label::before { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8S4 3.5 8 3.5 14.5 8 14.5 8 12 12.5 8 12.5 1.5 8 1.5 8Z' fill='%23F2B526'/%3E%3Ccircle cx='8' cy='8' r='2.6' fill='%2317384A'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pz-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line); }
.pz-time { display: flex; align-items: center; gap: 12px; font: 600 16px/1.45 var(--f-head); color: var(--ink-3); }
.pz-clock { flex: none; width: 24px; height: 24px; }
.pz-note { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1.3 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.pz-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pz-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.pz-dots { display: flex; gap: 6px; }
.pz-dots button, .pz-prev, .pz-next {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--tint); color: var(--ink-3); font: 700 14px/1 var(--f-head); font-variant-numeric: tabular-nums; transition: background-color .2s ease, color .2s ease;
}
.pz-dots button:hover, .pz-prev:hover:not(:disabled), .pz-next:hover:not(:disabled) { background: var(--gold-soft); color: var(--ink); }
.pz-dots button[aria-current] { background: var(--gold); color: var(--ink); }
.pz-prev, .pz-next { width: 44px; height: 44px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.pz-prev svg, .pz-next svg { width: 16px; height: 16px; }
.pz-prev svg { rotate: 180deg; }
.pz-prev:disabled, .pz-next:disabled { opacity: .35; cursor: default; }
@media (min-width: 1200px) {
  .pz:not(.pz--viele) {
    --gx: clamp(30px, 2.8vw, 40px);
    display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto; column-gap: var(--gx);
  }
  .pz:not(.pz--viele) .pz-step { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; transition: opacity .25s ease; }
  .pz:not(.pz--viele) .pz-card { grid-row: 1; }
  .pz:not(.pz--viele) .pz-name { grid-row: 2; }
  .pz:not(.pz--viele) .pz-hint { grid-row: 3; }
  .pz:not(.pz--viele) .pz-text { grid-row: 4; }
  .pz:not(.pz--viele) .pz-see { grid-row: 5; }
  .pz:not(.pz--viele) .pz-arrow {
    position: absolute; z-index: 2; right: calc(-.5 * var(--gx)); top: 50%; translate: 50% -50%;
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px var(--white);
  }
  .pz:not(.pz--viele) .pz-arrow svg { width: 16px; height: 16px; }
  .pz:not(.pz--viele) ~ .pz-nav { display: none; }
  /* Lesefokus: der Schritt unter dem Mauszeiger bleibt kräftig, die anderen treten zurück */
  @media (hover: hover) {
    .pz:not(.pz--viele):has(.pz-step:hover) .pz-step:not(:hover) { opacity: .55; }
    .pz-step:hover .pz-card { background: var(--gold-soft-2); }
    .pz-step:hover .pz-art { scale: 1.04; }
  }
}
@media (max-width: 1199px) {
  .pz-wrap { padding: 0; }
  .pz-wrap > .pz-foot { margin-inline: var(--pad); }
  .pz, .pz.pz--viele {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    padding: 2px var(--pad) 6px; scrollbar-width: none;
  }
  .pz::-webkit-scrollbar { display: none; }
  .pz-step { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .pz-step > :not(.pz-card):not(.pz-see) { padding-inline: 6px; }
  .pz-see { margin-top: auto; }
  .pz-text { margin-bottom: 18px; }
}
@media (min-width: 1200px) {
  .pz.pz--viele { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .pz.pz--viele .pz-step { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; }
  .pz.pz--viele .pz-see { margin-top: auto; }
}

/* Zytokinese bei Tier und Pflanze */
.vg { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .vg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vg-card { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.vg-art { display: grid; place-items: center; padding: 22px 18px; background: var(--mint-soft); }
.vg-art svg { max-width: 210px; }
.vg-body { align-self: center; padding: clamp(22px, 2.6vw, 32px); }
.vg-body h3 { font-size: 22px; font-weight: 700; }
.vg-body p { margin-top: 10px; color: var(--ink-3); }
@media (max-width: 559px) { .vg-card { grid-template-columns: minmax(0, 1fr); } .vg-art { padding: 18px 16px 14px; } .vg-art svg { max-width: 170px; } }

/* Typische Fehler: falsch (Koralle, durchgestrichen) über richtig (Minze) */
.fe { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .fe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fe-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.fe-nr { position: absolute; z-index: 1; right: 20px; top: 14px; font: 700 46px/1 var(--f-head); letter-spacing: -.03em; color: var(--coral); opacity: .28; font-variant-numeric: tabular-nums; }
.fe-wrong { padding: 22px 24px 22px; background: var(--coral-soft); }
.fe-right { flex: 1; padding: 22px 24px 26px; }
.fe-label { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.2 var(--f-head); letter-spacing: .09em; text-transform: uppercase; }
.fe-label::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; }
.fe-wrong .fe-label { color: var(--coral-text); }
.fe-wrong .fe-label::before { background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%23FFFFFF' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.fe-right .fe-label { color: var(--mint-text); }
.fe-right .fe-label::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' stroke='%2317384A' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.fe-text { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.fe-wrong .fe-text { padding-right: 36px; font: 600 17.5px/1.42 var(--f-head); color: var(--ink-3); }
.fe-wrong s { text-decoration-color: rgba(229, 83, 62, .75); text-decoration-thickness: 2px; }

/* Prüfungsaufgaben: Aufgabe sichtbar, Lösung zum Aufklappen */
.pr { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1000px) { .pr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.pr-card { min-width: 0; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.pr-lvl { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font: 700 12.5px/1.1 var(--f-head); letter-spacing: .09em; text-transform: uppercase; }
.pr-task { margin-top: 16px; font-size: clamp(19px, 1.5vw, 21px); font-weight: 600; line-height: 1.4; }
.pr-pics { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
@media (max-width: 459px) { .pr-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-pics li { display: grid; gap: 8px; justify-items: center; }
.pr-pic { width: 100%; padding: 8px 6px; border-radius: 12px; background: var(--sky-soft); }
.pr-pics span { font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.pr-ops { display: grid; gap: 10px; margin-top: 18px; }
.pr-ops div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; }
.pr-ops dt { padding: 5px 11px; border-radius: 8px; background: var(--sky-soft); font: 600 15px/1.3 var(--f-head); color: var(--ink); }
.pr-ops dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--sub); }
.pr-tip { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.pr-tip-tag { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--gold); font: 700 11.5px/1 var(--f-head); letter-spacing: .09em; text-transform: uppercase; color: var(--ink); }
.pr-sol { margin-top: 22px; }
.pr-sol summary {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 18px; border-radius: var(--r-btn); list-style: none; cursor: pointer;
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 15.5px/1 var(--f-head); color: var(--ink);
  transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, translate .2s ease;
}
.pr-sol summary::-webkit-details-marker { display: none; }
.pr-sol summary::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 7l4 4 4-4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 7l4 4 4-4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: rotate .2s ease; }
.pr-sol summary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); translate: 0 -1px; }
.pr-sol[open] summary { background: var(--ink); color: var(--white); box-shadow: none; }
.pr-sol[open] summary::after { rotate: 180deg; }
.pr-sol-close, .pr-sol[open] .pr-sol-open { display: none; }
.pr-sol[open] .pr-sol-close { display: inline; }
.pr-sol-body { margin-top: 14px; padding: 20px 22px 22px; border-radius: 14px; background: var(--mint-soft); }
@media (prefers-reduced-motion: no-preference) { .pr-sol[open] .pr-sol-body { animation: sol-in .3s ease both; } }
@keyframes sol-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.pr-sol-title { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.2 var(--f-head); letter-spacing: .09em; text-transform: uppercase; color: var(--mint-text); }
.pr-sol-title::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' stroke='%2317384A' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pr-lines { display: grid; gap: 8px; margin-top: 14px; font-size: 15.5px; line-height: 1.58; color: var(--ink-3); }
.pr-lines strong { font-weight: 600; color: var(--ink); }
.pr-lines--parts { gap: 14px; counter-reset: teil; }
.pr-lines--parts li { position: relative; padding-left: 36px; counter-increment: teil; }
.pr-lines--parts li::before { content: counter(teil); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); font: 700 13px/1 var(--f-head); color: var(--ink); }

/* Download-Kachel Merkblatt: Papierstapel aus den beiden PDF-Seiten */
.dl { position: relative; display: grid; overflow: hidden; border-radius: var(--r); background: var(--lav-soft); }
@media (min-width: 860px) { .dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; } }
.dl-art { position: relative; display: grid; place-items: center; min-height: 340px; padding: clamp(44px, 5vw, 64px) 24px clamp(36px, 4vw, 56px); }
.dl-art::before { content: ""; position: absolute; width: min(82%, 420px); aspect-ratio: 1; border-radius: 47% 53% 44% 56% / 52% 46% 54% 48%; background: #E1D6F6; }
.dl-art::after { content: ""; position: absolute; left: 14%; bottom: 14%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 22px -16px 0 -3px var(--mint); }
.dl-tag { position: absolute; z-index: 3; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--white); font: 600 13.5px/1.2 var(--f-head); color: var(--ink); box-shadow: 0 1px 0 rgba(16, 42, 57, .06); }
.dl-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-d); }
.dl-stack { position: relative; z-index: 1; width: min(58%, 276px); aspect-ratio: 210 / 297; translate: -6% 0; }
.dl-stack--symbol { aspect-ratio: 1; width: min(70%, 240px); translate: none; }
.dl-sheet {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(16, 42, 57, .06), 0 2px 4px -1px rgba(16, 42, 57, .1), 0 26px 44px -20px rgba(16, 42, 57, .5);
  transition: rotate .4s cubic-bezier(.3, .7, .3, 1), translate .4s cubic-bezier(.3, .7, .3, 1);
}
.dl-sheet--2 { rotate: 7deg; translate: 22% -3%; }
.dl-sheet--1 { rotate: -3deg; }
.dl-stack::after {
  content: ""; position: absolute; z-index: 2; right: 14%; top: -5%; width: 18px; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 46'%3E%3Cpath d='M4 38V8a5 5 0 0 1 10 0v30a3.4 3.4 0 0 1-6.8 0V12' stroke='%234C9BE0' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: 8deg; transition: rotate .4s ease, translate .4s ease;
}
.dl-stack--symbol::after { content: none; }
.dl:hover .dl-sheet--2 { rotate: 10deg; translate: 28% -5%; }
.dl:hover .dl-sheet--1 { rotate: -5deg; translate: -4% 1%; }
.dl:hover .dl-stack::after { rotate: 3deg; translate: -14px 1px; }
.dl-body { position: relative; padding: 8px clamp(26px, 5vw, 40px) clamp(32px, 5vw, 44px); }
@media (min-width: 860px) { .dl-body { padding: clamp(40px, 5vw, 64px) clamp(36px, 5vw, 64px) clamp(40px, 5vw, 64px) 8px; } }
.dl-body h2 { font-size: var(--t-h2); }
.dl-what { margin-top: 14px; max-width: 30em; font-size: clamp(17.5px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-3); }
.dl-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dl-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--white); font: 600 14px/1.3 var(--f-head); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dl-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lav); }
.dl-facts li:first-child::before { background: var(--coral); }
.dl-actions { margin-top: 28px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.dl-lic { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.dl-lic::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5-5.2' stroke='%2317384A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 859px) { .dl-art { min-height: 300px; } .dl-stack { width: min(48%, 220px); } }

/* Nav-Button YouTube */
.nav-yt .yt-ico { width: 18px; height: 13px; }

/* Für Lehrkräfte (Startseite): drei Punkte mit Symbol */
.teach-points { display: grid; gap: 18px; margin-top: 28px; }
.teach-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.tp-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--tp, var(--gold)); box-shadow: 0 1px 0 rgba(16, 42, 57, .05); }
.tp-ico svg { width: 24px; height: 24px; }
.tp--coral { --tp: var(--coral); } .tp--gold { --tp: var(--gold); } .tp--mint { --tp: var(--mint); }
.teach-points h3 { font-size: 18px; font-weight: 700; }
.teach-points p { margin-top: 3px; font-size: 16px; color: var(--sub); }

/* ---------- Transkript, Quellen ---------- */
.more details { border-top: 1px solid var(--line); }
.more details:last-child { border-bottom: 1px solid var(--line); }
.more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 var(--t-h3)/1.25 var(--f-head); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11.5 14.5l5.5 5.5 5.5-5.5' stroke='%2317384A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 34px no-repeat;
  transition: rotate .2s ease, background-color .2s ease;
}
.more details[open] summary::after { rotate: 180deg; background-color: var(--gold-soft); }
.more summary:hover::after { background-color: var(--gold-soft); }
.more summary:hover { color: var(--ink-3); }
.more .body { padding: 0 0 28px; max-width: 40em; color: var(--sub); }
.more .body p + p, .more .body ul + p { margin-top: 16px; }

/* ---------- Impressum (früher KI-Hinweis) ---------- */
.steps { display: grid; gap: var(--gap); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { --st: var(--gold); --st-soft: var(--gold-soft); position: relative; overflow: hidden; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.steps li:nth-child(2) { --st: var(--mint); --st-soft: var(--mint-soft); }
.steps li:nth-child(3) { --st: var(--sky); --st-soft: var(--sky-soft); }
.steps li::before { content: ""; position: absolute; right: -36px; top: -36px; width: 112px; aspect-ratio: 1; border-radius: 50%; background: var(--st-soft); }
.step-num { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--st); font: 700 17px/1 var(--f-head); }
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 8px; color: var(--sub); font-size: 16.5px; }
.prose > * { max-width: 40em; }
.prose p { color: var(--sub); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 + p { margin-top: 16px; }
.prose p + p { margin-top: 12px; }
.prose .btn { margin-top: 24px; }
.fix-card { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--coral-soft); }
.fix-card > * { max-width: 40em; }
@media (min-width: 800px) { .fix-card { grid-template-columns: minmax(0, 1fr) auto; } .fix-card .btn { margin-top: 0; } }

/* =========================================================
   Dr. Krake: Rig-Animation (CSS-Keyframes, Events per app.js)
   Gruppen im SVG: .rig > .arms/.cupsrow/.arm6/.body > .head/.arms-front
   Arm-Wurzeln (viewBox 0 0 420 420) als transform-origin in Nutzer-Einheiten.
   ========================================================= */
.kr { display: block; width: 100%; height: auto; overflow: visible; }
.kr .rig { transform-box: view-box; transform-origin: 210px 400px; }
.kr .shadow { transform-box: fill-box; transform-origin: center; }
.kr .body { transform-box: view-box; transform-origin: 210px 286px; animation: kr-breathe 1.75s var(--sine) infinite alternate; }
.kr .head { transform-box: view-box; transform-origin: 210px 290px; }
.kr .arm, .kr .cup { transform-box: view-box; }
.kr .a1 { transform-origin: 120px 262px; animation: kr-sway 5.8s var(--sine) -1.4s infinite; }
.kr .a2 { transform-origin: 150px 274px; }
.kr .a3 { transform-origin: 184px 282px; }
.kr .a4 { transform-origin: 236px 282px; }
.kr .a5 { transform-origin: 270px 274px; animation: kr-sway 6.9s var(--sine) -3.6s infinite reverse; }
.kr .a6 { transform-origin: 300px 262px; animation: kr-sway6 6.2s var(--sine) -2s infinite; }
.kr .arm6 { transform-box: view-box; transform-origin: 300px 262px; }
.kr .a7 { transform-origin: 166px 268px; }
.kr .a8 { transform-origin: 254px 268px; animation: kr-sway-s 4.7s var(--sine) -.8s infinite; }
.kr .pupils { transition: translate .7s cubic-bezier(.22, .7, .3, 1); }
.kr .brow { transform-box: fill-box; transform-origin: center; transition: translate .28s ease, rotate .28s ease; }
.kr .mouth-line { transform-box: fill-box; transform-origin: 50% 0; transition: scale .3s ease; }
.kr .happy { transition: opacity .12s ease; }
.kr .sparks { transform-box: fill-box; transform-origin: center; }

@keyframes kr-breathe { from { scale: 1; } to { scale: 1.02; } }
@keyframes kr-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 4deg; } }
@keyframes kr-sway-s { 0%, 100% { rotate: -4deg; } 50% { rotate: 3deg; } }
@keyframes kr-sway6 { 0%, 100% { rotate: -2deg; } 50% { rotate: 5deg; } }

/* Auftritt im Hero: Gleiten + Einblenden, danach einmal Winken (app.js) */
.kr-enter { animation: kr-enter .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes kr-enter { from { opacity: 0; translate: -28px 20px; } to { opacity: 1; translate: 0 0; } }

.kr.is-wave .arm6 { animation: kr-wave 1.2s cubic-bezier(.45, 0, .55, 1) 1; }
@keyframes kr-wave { 0% { rotate: 0deg; } 20% { rotate: 16deg; } 42% { rotate: -8deg; } 64% { rotate: 16deg; } 84% { rotate: -6deg; } 100% { rotate: 0deg; } }

/* Ausdrücke */
.kr.is-blink .lids { opacity: 1; }
.kr.is-happy .happy { opacity: 1; }
.kr.is-yes .brow { translate: 0 -8px; }
.kr.is-no .browL { translate: 0 4px; rotate: 12deg; }
.kr.is-no .browR { translate: 0 4px; rotate: -12deg; }
.kr.is-no .mouth-line { scale: 1 .3; }
.kr.is-skeptic .browL { translate: 0 -9px; rotate: -4deg; }
.kr.is-skeptic .browR { translate: 0 4px; rotate: -13deg; }
.kr.is-skeptic .mouth-line { scale: 1 .22; }

/* Reaktionen: Nicken, Kopfschütteln, Hüpfer mit Squash & Stretch */
.kr.is-yes .head { animation: kr-nod .8s var(--sine) 1; }
@keyframes kr-nod { 0%, 100% { translate: 0 0; } 28% { translate: 0 6px; } 56% { translate: 0 0; } 78% { translate: 0 3px; } }
.kr.is-no .head { animation: kr-shake .8s var(--sine) 1; }
@keyframes kr-shake { 0%, 100% { rotate: 0deg; } 18% { rotate: -4deg; } 42% { rotate: 4deg; } 66% { rotate: -3deg; } 86% { rotate: 1.5deg; } }
.kr.is-hop .rig { animation: kr-hop 1.05s cubic-bezier(.33, 0, .3, 1) 1; }
@keyframes kr-hop {
  0% { translate: 0 0; scale: 1 1; }
  14% { translate: 0 0; scale: 1.08 .9; }
  36% { translate: 0 -44px; scale: .94 1.08; }
  54% { translate: 0 -50px; scale: 1 1; }
  76% { translate: 0 0; scale: 1.1 .88; }
  88% { translate: 0 0; scale: .97 1.04; }
  100% { translate: 0 0; scale: 1 1; }
}
.kr.is-hop .shadow { animation: kr-hop-shadow 1.05s cubic-bezier(.33, 0, .3, 1) 1; }
@keyframes kr-hop-shadow { 0%, 14%, 76%, 100% { scale: 1; opacity: 1; } 54% { scale: .62; opacity: .55; } }
.kr.is-cheer .sparks { opacity: 1; animation: kr-sparks 1.6s ease-out 1 both; }
@keyframes kr-sparks { 0% { opacity: 0; scale: .7; } 20% { opacity: 1; scale: 1.05; } 70% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.1; } }

/* Reduzierte Bewegung: nur Blinzeln (Ausdrücke wechseln ohne Übergang) */
@media (prefers-reduced-motion: reduce) {
  .kr, .kr *, .kr-enter { animation: none !important; transition: none !important; }
  .btn, .opt, .opt-key, .vcard, .vsym, .subj, .subj-cta, .subj-cta .arr, .seg button, .seg-n, .score-bar span, .more summary::after, .arr, .vthumb img, .play, .vplay,
  .ch-play, .chapters a, .chapters time, .teach-illu, .search input, .chip, .pz-step, .pz-card, .pz-art, .dl-sheet, .dl-stack::after, .pr-sol summary, .pr-sol summary::after { transition: none !important; }
  .btn:hover, .seg button:hover, .vcard:not(.is-soon):hover, .opt:hover:not(:disabled), a.chip:hover, a.subj:hover { translate: none; }
  .vcard:hover .vsym, .teach:hover .teach-illu, .pz-step:hover .pz-art, .pr-sol summary:hover { rotate: none; scale: none; translate: none; }
  .dl:hover .dl-sheet--2 { rotate: 7deg; translate: 22% -3%; } .dl:hover .dl-sheet--1 { rotate: -3deg; translate: none; } .dl:hover .dl-stack::after { rotate: 8deg; translate: none; }
  .btn:hover .arr { translate: none; }
  .vthumb:hover img, .player:hover .play, .vthumb:hover .vplay { scale: none; }
  .more-link:hover .arr, .vlink:hover .arr { translate: none; }
}

/* ---------- Rechtstexte (Impressum, Datenschutzerklärung) ---------- */
.recht h3 { margin-top: 40px; }
.recht h3 + p, .recht h3 + ul { margin-top: 10px; }
.recht address { margin-top: 18px; font-style: normal; color: var(--ink); }
.recht-daten { display: grid; gap: 8px; margin-top: 20px; }
.recht-daten div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 2px 16px; }
@media (max-width: 559px) { .recht-daten div { grid-template-columns: minmax(0, 1fr); } }
.recht-daten dt { font: 600 15.5px/1.6 var(--f-head); color: var(--ink); }
.recht-daten dd { margin: 0; color: var(--sub); }
.recht-stand { font: 500 15px/1.4 var(--f-head); }
.recht-liste { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; color: var(--sub); }
.recht-liste li::marker { color: var(--mint-d); }
.recht a { overflow-wrap: anywhere; }
/* noch offene Angaben: gut sichtbar, bis sie vor dem Start ersetzt sind */
.offen { padding: 1px 6px; border-radius: 6px; background: var(--gold-soft); color: var(--ink); font-weight: 600; outline: 2px dashed var(--gold-d); outline-offset: -2px; }

/* ---------- Seite nicht gefunden (404) ---------- */
.page-404 { padding-bottom: clamp(56px, 7vw, 112px); }
.nf { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .nf { grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px); gap: 64px; } }
.nf-code { margin-bottom: 14px; font: 600 14px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); }
.nf-btns { margin-top: 32px; }
.nf-faecher { margin-top: 28px; }
.nf-illu svg { display: block; width: 100%; height: auto; }
@media (max-width: 799px) { .nf-illu { order: -1; width: 160px; } }
