/* Startseite im Auftritt «Im Sucher» (nur index.html, body.st). Texte und Aufbau der Seite bleiben gleich, dieses Blatt ändert das Aussehen.
   Dunkel ist der Standard (René, 19.11.2026). Hell ist eine Wahl (Schalter im Kopf, Klasse st-dunkel, gespeichert in tfRaum) und stellt die Farbvariablen der Seite um. */
body.st { --amber: #f2a52b; --st-ink: #111114; --st-paper: #f4f0e8; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace; --lese: Newsreader, Georgia, serif;
  --bg: #f4f0e8; --surface: #fffdf8; --surface2: #eae4d6; --accent: #f2a52b; --radius: 4px; counter-reset: st; }
body.st.st-dunkel { color-scheme: dark; --bg: #0e0e10; --surface: #18181d; --surface2: #131317; --line: #2e2e36; --line-strong: #7a7468; --text: #f1ece0; --text-soft: #d6cfbf; --muted: #a8a294;
  --accent-text: #f2a52b; --accent-ink: #111114; --theory-text: #a9c4f2; --practice-text: #f2a52b; --done-text: #93d897; --theory-soft: rgba(120,160,230,.14); --practice-soft: rgba(242,165,43,.12); --done-soft: rgba(108,192,112,.14);
  --shadow: 0 10px 30px rgba(0,0,0,.5); --gloss-line: #a8a294; }

/* Kopf */
body.st .site-header { background: rgba(244,240,232,.93); }
body.st.st-dunkel .site-header { background: rgba(14,14,16,.9); border-bottom-color: #2e2e36; }
body.st.st-dunkel .site-header a, body.st.st-dunkel .site-header .logo { color: #f1ece0; }
body.st .st-raum { display: inline-flex; flex: none; border: 1px solid var(--line-strong); border-radius: 3px; overflow: hidden; margin-right: 10px; }
body.st .st-raum button { font: 500 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; background: none; border: 0; color: var(--text); padding: 7px 8px; cursor: pointer; opacity: .65; }
body.st .st-raum button[aria-pressed="true"] { background: var(--amber); color: #111; opacity: 1; }

/* Schaltflächen */
body.st .btn { border-radius: 3px; }
body.st .btn-primary { background: var(--amber); color: #111; border-color: var(--amber); }
body.st .btn-primary:hover { background: #ffb845; }
body.st .btn-ghost { border-color: currentColor; color: inherit; }

/* Titelbereich: das Bild füllt die Breite, der Text sitzt als Feld darauf */
body.st .hero { position: relative; padding: 0; min-height: min(88vh, 860px); display: flex; align-items: flex-end; background: #17171c var(--hero-img) center 35% / cover no-repeat !important; color: var(--st-ink); }
body.st .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,16,.42) 0, rgba(14,14,16,0) 26%, rgba(14,14,16,0) 60%, rgba(14,14,16,.5) 100%); pointer-events: none; }
body.st .hero::after { content: attr(data-credit); position: absolute; right: 18px; top: 16px; font: 500 .56rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
body.st .hero-grid { position: relative; z-index: 1; width: 100%; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 26px; align-items: end; padding-top: 150px; padding-bottom: 34px; }
body.st .hero-copy { background: var(--st-paper); border-top: 5px solid var(--st-ink); padding: 28px 32px 22px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
body.st .hero .eyebrow, body.st .eyebrow { font: 500 .66rem var(--mono); letter-spacing: .14em; color: #5d584d; }
body.st .hero .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--amber); margin-right: 9px; }
body.st .hero h1 { font: 600 clamp(2.5rem, 5.6vw, 4.5rem)/.98 Fraunces, Georgia, serif; letter-spacing: -.03em; margin: 14px 0 16px; color: var(--st-ink); }
body.st .hero h1 .accent { color: #b0740e; }
body.st .hero .lead { font: 400 1.18rem/1.5 var(--lese); color: #3d3a33; max-width: 56ch; }
body.st .hero-cta { margin: 22px 0 10px; }
body.st .hero-note { font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5d584d; margin: 0; }
body.st .hero-demo.card { --c: var(--st-ink); border: 0; border-radius: 0; box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); padding: 18px 16px 14px; background-color: var(--st-paper); background-image:
  linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)),
  linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c));
  background-repeat: no-repeat; background-size: 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom; }
body.st .demo-label { font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.st .demo-label::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--amber); margin-right: 9px; }

/* Dunkel: Text direkt im Bild, Simulator als Sucheranzeige */
body.st.st-dunkel .hero { color: #fff; }
body.st.st-dunkel .hero::before { background: linear-gradient(180deg, rgba(14,14,16,.6) 0, rgba(14,14,16,.05) 30%, rgba(14,14,16,.25) 55%, rgba(14,14,16,.95) 100%); }
body.st.st-dunkel .hero-copy { background: none; border: 0; padding: 0; box-shadow: none; }
body.st.st-dunkel .hero .eyebrow, body.st.st-dunkel .hero-note { color: #d6cfbf; }
body.st.st-dunkel .hero h1 { color: #fff; }
body.st.st-dunkel .hero h1 .accent { color: var(--amber); }
body.st.st-dunkel .hero .lead { color: #e7e1d3; }
body.st.st-dunkel .hero-demo.card { --c: rgba(255,255,255,.85); background-color: rgba(14,14,16,.84); color: #f1ece0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Abschnitte: nummeriert, linksbündig, ohne Kästen */
body.st .d-sec { padding: 78px 0; counter-increment: st; }
body.st .d-sec.alt { background: var(--surface2); }
body.st .section-title { text-align: left; font: 600 clamp(2rem, 4.4vw, 3.1rem)/1.03 Fraunces, Georgia, serif; letter-spacing: -.025em; max-width: 20ch; margin: 0 0 .4em; }
body.st .d-sec .section-title::before { content: "0" counter(st); display: block; font: 500 .68rem var(--mono); letter-spacing: .16em; color: var(--accent-text); margin-bottom: 16px; padding-top: 14px; border-top: 2px solid var(--text); width: 46px; }
body.st .section-lead { text-align: left; margin: 0 0 34px; max-width: 62ch; font: 400 1.16rem/1.5 var(--lese); color: var(--text-soft); }
body.st .diff { max-width: none; margin: 0; gap: 0 44px; }
body.st .diff li { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 18px 0 28px; gap: 8px; }
body.st .diff b { font-size: 1.5rem; letter-spacing: -.01em; }
body.st .diff span { font: 400 1.06rem/1.5 var(--lese); color: var(--text-soft); }
body.st .diff a { font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
body.st .why-h { text-align: left; font-size: 1.7rem; letter-spacing: -.015em; margin: 46px 0 0; }
body.st .diff-lead { margin-bottom: 18px; }
body.st .steps4 { gap: 0; border-top: 1px solid var(--line-strong); }
body.st .s4 { background: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 18px 20px 6px 0; margin-right: 20px; }
body.st .s4:last-child { border-right: 0; margin-right: 0; }
body.st .s4 b { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 1.3rem; }
body.st .s4 b i { width: auto; height: auto; border-radius: 0; background: none; color: var(--accent-text); font: 500 .68rem var(--mono); letter-spacing: .14em; }
body.st .s4 b i::before { content: "0"; }
body.st .s4 p { font: 400 1rem/1.45 var(--lese); color: var(--text-soft); }
body.st .card { box-shadow: none; }
body.st.st-dunkel .card, body.st.st-dunkel details { border-color: var(--line); }
body.st.st-dunkel .site-footer { background: #0a0a0c; color: #d6cfbf; }
body.st .strip-hint, body.st .seo-links a { font-family: var(--lese); }

@media (max-width: 900px) {
  body.st .hero { min-height: 0; display: block; background-size: auto 62vh !important; background-position: center top !important; }
  body.st .hero::before { height: 62vh; inset: 0 0 auto 0; }
  body.st .hero-grid { grid-template-columns: 1fr; padding-top: 40vh; padding-bottom: 28px; gap: 16px; }
  body.st .hero-copy { padding: 22px 20px 18px; }
  body.st.st-dunkel .hero { background-color: #0e0e10 !important; }
  body.st.st-dunkel .hero::before { height: 64vh; background: linear-gradient(180deg, rgba(14,14,16,.5) 0, rgba(14,14,16,0) 30%, rgba(14,14,16,.2) 60%, #0e0e10 100%); }
  body.st.st-dunkel .hero-copy { padding: 0 2px; }
  body.st .d-sec { padding: 52px 0; }
  body.st .diff { gap: 0; }
  body.st .steps4 { grid-template-columns: 1fr 1fr; }
  body.st .s4 { margin-right: 14px; padding-right: 14px; }
  body.st .s4:nth-child(2n) { border-right: 0; margin-right: 0; }
  body.st .st-raum button { padding: 7px 6px; }
}

/* Schalter Hell | Dunkel sitzt oben links im Titelbild (der Kopf ist dafür zu voll). */
body.st .hero .st-raum { position: absolute; left: 18px; top: 14px; z-index: 2; margin: 0; background: rgba(14,14,16,.5); border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
body.st .hero .st-raum button { color: #fff; opacity: .8; }
body.st .hero .st-raum button[aria-pressed="true"] { color: #111; opacity: 1; }
body.st .hero-note { font: 400 .92rem/1.4 var(--lese); letter-spacing: 0; text-transform: none; }
body.st .s4 b i { display: block; }
/* ---- Titelbereich ohne Hintergrundbild (Wunsch René, 18.11.2026): ruhige Fläche, das Bild des Simulators ist das Bild der Seite. ---- */
body.st .hero, body.st.st-dunkel .hero { background: var(--bg) !important; min-height: 0; display: block; padding: 0; color: var(--text); }
body.st .hero::before, body.st .hero::after { content: none; }
body.st .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
body.st .hero-copy, body.st.st-dunkel .hero-copy { background: none; border: 0; padding: 0; box-shadow: none; }
body.st .hero h1 { color: var(--text); }
body.st .hero h1 .accent { color: #b0740e; }
body.st.st-dunkel .hero h1 .accent { color: var(--amber); }
body.st .hero .lead { color: var(--text-soft); }
body.st .hero .eyebrow, body.st .hero-note, body.st.st-dunkel .hero .eyebrow, body.st.st-dunkel .hero-note { color: var(--muted); }
/* Simulator: ein einziger, ruhiger Rahmen statt Eckwinkel über abgerundetem Bild */
body.st .hero-demo.card, body.st.st-dunkel .hero-demo.card { background: var(--surface); background-image: none; border: 1px solid var(--line); border-top: 5px solid var(--text); border-radius: 0; box-shadow: 0 30px 60px -40px rgba(0,0,0,.45); padding: 16px 16px 14px; color: var(--text); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.st .hero-demo img, body.st .hero-demo canvas { border-radius: 0; }
body.st .hero .st-raum { position: static; display: inline-flex; margin: 0 0 22px; background: none; border-color: var(--line-strong); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.st .hero .st-raum button { color: var(--text); opacity: .65; }
body.st .hero .st-raum button[aria-pressed="true"] { color: #111; opacity: 1; }
@media (max-width: 900px) {
  body.st .hero, body.st.st-dunkel .hero { background: var(--bg) !important; }
  body.st .hero-grid { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 36px; gap: 24px; }
  body.st .hero-copy, body.st.st-dunkel .hero-copy { padding: 0; }
}
/* ---- Schalter Hell/Dunkel im Kopf (js/app.js), auf allen Seiten mit dem neuen Auftritt ---- */
body.st .st-mode { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--text); padding: 6px 8px; cursor: pointer; white-space: nowrap; }
body.st .st-mode em { font-style: normal; }
body.st .st-mode span { font-size: .95rem; line-height: 1; }
body.st .st-mode:hover { border-color: var(--amber); }
body.st .hero .st-raum { display: none; }

/* ---- Übersichtsseiten (Kurs, Mein Bereich, Glossar, Lernkarten, Bild-Check, Hilfe): dieselbe Handschrift ---- */
body.st main h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
body.st .page-head h1, body.st .fs-h1, body.st .pt-h1, body.st main > h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
body.st .page-head .eyebrow, body.st .pt-eyebrow, body.st .lk-eyebrow { display: inline-block; font: 500 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 0; border-radius: 0; }
body.st .page-head .eyebrow::before, body.st .pt-eyebrow::before, body.st .lk-eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--amber); margin-right: 9px; }
body.st .page-head .lead, body.st .pt-lead, body.st .fs-sub { font: 400 1.16rem/1.5 var(--lese); color: var(--text-soft); max-width: 66ch; }
body.st .page-head h1 .accent { color: #b0740e; }
body.st.st-dunkel .page-head h1 .accent { color: var(--amber); }
body.st main h2 { font-family: Fraunces, Georgia, serif; letter-spacing: -.015em; }
body.st.st-dunkel { background: var(--bg); color: var(--text); }
body.st.st-dunkel input, body.st.st-dunkel select, body.st.st-dunkel textarea { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
body.st.st-dunkel .btn-ghost { color: var(--text); }body.st .st-mode { order: 99; padding: 6px 7px; }
body.st .st-mode em { display: none; }
body.nav-open.st .st-mode em, body.st.nav-open .st-mode em { display: inline; }
@media (max-width: 1080px) { body.st .st-mode em { display: inline; } body.st .st-mode { align-self: flex-start; margin-top: 8px; } }

/* ---- Dunkel in Anthrazit statt fast Schwarz (René, 18.11.2026): weicher, wie ein Kameragehäuse. Orange bleibt die Akzentfarbe. ---- */
body.st.st-dunkel { --bg: #1f2023; --surface: #292a2e; --surface2: #242528; --line: #3a3b40; --line-strong: #8a8478; }
body.st.st-dunkel .site-header { background: rgba(31,32,35,.94); border-bottom-color: #3a3b40; }
body.st.st-dunkel .site-footer { background: #19191c; }
/* Akzent im dunklen Modus: gedämpftes Gold statt Orange (René hat Fassung D gewählt). */
body.st.st-dunkel { --amber: #e0b05a; --accent: #e0b05a; --accent-text: #e0b05a; --practice-text: #e0b05a; }
body.st.st-dunkel .btn-primary:hover { background: #ecc071; }
body.st.st-dunkel .hero h1 .accent, body.st.st-dunkel .page-head h1 .accent { color: #e0b05a; }

/* ---- Ganze Lektion (lektion.html, body.lp.st): derselbe Auftritt wie «Schritt für Schritt» und die Übersichtsseiten ---- */
body.st.lp { --ink: #111114; --theory: #111114; --theory-text: #111114; }
body.st.st-dunkel.lp { --ink: #e0b05a; --theory: #e0b05a; --theory-text: #e0b05a; --theory-soft: rgba(224,176,90,.1); --theory-line: #3a3b40; --done: #e0b05a; --done-text: #e0b05a; --done-soft: rgba(224,176,90,.1); --done-line: rgba(224,176,90,.5); --accent2-text: #8fd0d0; --warn-text: #ecc071; --ok-text: #93d897; --bad-text: #f29a8c; --mistake-text: #f29a8c; --practice-line: rgba(224,176,90,.5); }
body.st.st-dunkel.lp .step.s-theory.is-active, body.st.st-dunkel.lp .step .ck, body.st.st-dunkel.lp .lt-tab .ck, body.st.st-dunkel.lp .lt-theory[aria-selected="true"], body.st.st-dunkel.lp .lf-theory .btn-primary:not(:disabled), body.st.st-dunkel.lp .pager .btn-primary, body.st.st-dunkel.lp .step-next .btn-primary { color: #111; }
body.st.lp .lesson-body, body.st.lp .lesson-main > p, body.st.lp .lesson-body li { font-family: var(--lese); }
body.st.lp .lesson-body { font-size: 1.14rem; line-height: 1.6; }
body.st.lp .lesson-main h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
body.st.lp .lesson-body figcaption, body.st.lp .lesson-body .tip, body.st.lp .lesson-body .merke { font-family: var(--lese); }
/* Leisten, die im Skript weiss gesetzt sind: sie nehmen die Farbe des Blatts */
body.st.lp #lesson > .steps.lpath, body.st.lp #lesson > .lm-stickrow { background: var(--bg); border-bottom-color: var(--line); }
body.st.lp .pager.lp-bar { background: rgba(244,240,232,.96); }
body.st.st-dunkel.lp .pager.lp-bar { background: rgba(31,32,35,.96); border-top-color: var(--line); }
/* Umschalter «Schritt für Schritt | Ganze Lektion» (Farben stehen im Skript als style, darum !important) */
body.st.lp .lm-try > div[role="group"], body.st.lp .lm-stickrow > div[role="group"] { background: var(--surface) !important; border-color: var(--line-strong) !important; border-radius: 3px !important; }
body.st.lp .lm-try > div[role="group"] > *, body.st.lp .lm-stickrow > div[role="group"] > * { border-radius: 2px !important; }
body.st.lp div[role="group"] > span[aria-current] { background: var(--text) !important; color: var(--bg) !important; }
/* Aktiver Schritt und Weiter-Knopf */
body.st.lp .lp-st.is-active { background: var(--text); color: var(--bg); }
body.st.lp .lp-st.is-active .lp-k, body.st.lp .lp-st.is-active .lp-s, body.st.lp .lp-st.is-active .lp-k span { color: inherit; opacity: .72; }
body.st.lp .pager .pg-next { background: var(--amber); border-color: var(--amber); color: #111; border-radius: 3px; }
body.st.lp .pager .pg-next:hover { background: #ffb845; }
body.st.st-dunkel.lp .pager .pg-next:hover { background: #ecc071; }
body.st.lp .rl-dev .dev-seg button[aria-pressed="true"], body.st.lp .dev-seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
/* Inhalt am linken Rand */
body.st.lp #side .lt-side ol { border-left-color: var(--line); }
body.st.lp #side .lt-side li.is-cur button, body.st.lp #side .lt-side li button:hover { color: var(--text); }
body.st.st-dunkel.lp #side .lt-side li button { color: var(--text-soft); }
body.st.st-dunkel.lp .lesson-side li a { color: var(--text-soft); }
body.st.st-dunkel.lp .ex-fa .ex-tag { color: #111; }
body.st.st-dunkel.lp .is-cur .ltoc-tag { color: #111; }

/* ---- Stufenfarben (René, 18.11.2026): Grundlagen, Aufbau 1 und Aufbau 2 tragen im neuen Auftritt dieselbe Akzentfarbe statt Türkis und Blau. Die Farbe steht im Skript als style, darum !important. ---- */
body.st [style*="--stage:#5fb3b3"], body.st [style*="--stage:#4f8fb0"], body.st [style*="--stage:#e8a33d"], body.st [style*="--stage: #5fb3b3"], body.st [style*="--stage: #4f8fb0"] { --stage: var(--amber) !important; }

/* Häkchen an der gewählten Ansicht in der «Ganzen Lektion» (René, 18.11.2026). */
body.st.lp div[role="group"] > span[aria-current]::before { content: "\2713"; margin-right: 6px; color: var(--amber); font-weight: 700; }
/* Die nicht gewählte Ansicht tritt zurück, damit die gewählte eindeutig ist. */
body.st.lp div[role="group"] > a[data-ansicht] { font-weight: 500 !important; opacity: .72; }
body.st.lp div[role="group"] > a[data-ansicht]:hover { opacity: 1; }

/* ---- Startseite, Umbau 19.11.2026: sieben Abschnitte, Galerie der Genres an zweiter Stelle ---- */
body.st .hero-by { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 400 1rem/1.45 var(--lese); color: var(--text-soft); max-width: 56ch; }
body.st .hero-by a { font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; white-space: nowrap; margin-left: 6px; }
body.st .about-ws { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); max-width: 78ch; font: 400 1rem/1.5 var(--lese); color: var(--text-soft); text-align: left; }
body.st .about-ws a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
body.st a.st-head { text-decoration: none; color: inherit; cursor: pointer; }
body.st #methode .why-h { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
body.st #methode .lv5 { margin-top: 6px; }
/* Galerie: Wand, Schiene mit Strahlern, Boden, gerahmte Bilder mit Schild */
/* Hell: Gesamthintergrund weiss, die Galeriewand ein etwas dunkleres Weiss (René, 19.11.2026). */
body.st:not(.st-dunkel) { --bg: #ffffff; --surface: #ffffff; --surface2: #f6f5f2; --st-paper: #ffffff; --line: #e2dfd8; background: #ffffff; }
body.st:not(.st-dunkel) .site-header { background: rgba(255,255,255,.94); }
body.st.lp:not(.st-dunkel) .pager.lp-bar { background: rgba(255,255,255,.96); }
body.st .gw { --wall-a: #f1f0ed; --wall-b: #e6e5e1; --floor-a: #b9a98c; --floor-b: #8f7f65; --label: #ffffff; --label-tx: #17171c; --frame: #17171c; --mat: #ffffff; --spot: rgba(255,250,236,.9); --lab-acc: #a8701a; }
body.st:not(.st-dunkel) .gw-view { border-color: #dcd8cf; }
body.st.st-dunkel .gw { --wall-a: #34353a; --wall-b: #232427; --floor-a: #2b2622; --floor-b: #17140f; --label: #2c2d31; --label-tx: #f1ece0; --frame: #0d0d0f; --mat: #f4efe4; --spot: rgba(255,226,170,.5); --lab-acc: #e0b05a; }
body.st .gw .section-lead { margin-bottom: 22px; }
body.st .gw-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
body.st .gw-tabs button { font: 600 .9rem Inter, sans-serif; background: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 3px; padding: 9px 13px; cursor: pointer; opacity: .7; }
body.st .gw-tabs button[aria-selected="true"] { opacity: 1; border-color: var(--text); box-shadow: inset 0 -3px 0 var(--amber); }
body.st .gw-tabs small { font: 500 .62rem var(--mono); letter-spacing: .1em; color: var(--muted); margin-left: 8px; }
body.st .gw-view { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; border: 1px solid var(--line); }
body.st .gw-view::-webkit-scrollbar { display: none; }
body.st .gw-view:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
body.st .wall { flex: 0 0 100%; scroll-snap-align: start; position: relative; min-height: 520px; padding: 64px 34px 96px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse 34% 62% at 18% 0, var(--spot), transparent 70%), radial-gradient(ellipse 34% 62% at 50% 0, var(--spot), transparent 70%), radial-gradient(ellipse 34% 62% at 82% 0, var(--spot), transparent 70%), linear-gradient(180deg, var(--wall-a), var(--wall-b)); }
body.st .wall::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 8px; background: radial-gradient(ellipse 34px 4px at 18% 50%, #111, transparent 100%), radial-gradient(ellipse 34px 4px at 50% 50%, #111, transparent 100%), radial-gradient(ellipse 34px 4px at 82% 50%, #111, transparent 100%); opacity: .75; }
body.st .wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 22%), repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 148px), linear-gradient(180deg, var(--floor-a), var(--floor-b)); }
body.st .wall-t { position: absolute; left: 34px; top: 30px; font: 500 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.st .hang { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 34px; position: relative; z-index: 1; }
body.st .pic { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
body.st .pic .fr { display: block; background: var(--mat); padding: 10px; border: 7px solid var(--frame); box-shadow: 0 18px 26px -14px rgba(0,0,0,.6); transition: transform .2s, box-shadow .2s; }
body.st .pic img { display: block; height: 168px; width: auto; max-width: 300px; border-radius: 0; }
body.st .wall.zwei .pic img { height: 250px; max-width: 420px; }
body.st .pic:hover .fr, body.st .pic:focus-visible .fr { transform: translateY(-4px); box-shadow: 0 26px 30px -16px rgba(0,0,0,.65); }
body.st .pic:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
body.st .lab { margin-top: 14px; background: var(--label); color: var(--label-tx); border: 1px solid var(--line); padding: 7px 11px 8px; min-width: 150px; max-width: 240px; text-align: left; box-shadow: 0 6px 10px -8px rgba(0,0,0,.5); }
body.st .lab b { display: block; font: 600 .95rem/1.2 Inter, sans-serif; }
body.st .lab span { display: block; font: 500 .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lab-acc); margin-top: 3px; }
body.st .lab small { display: block; font: 400 .66rem/1.3 Inter, sans-serif; color: var(--muted); margin-top: 3px; }
body.st .gw-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
body.st .gw-nav button { font: 600 1.1rem Inter, sans-serif; width: 44px; height: 44px; background: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 3px; cursor: pointer; }
body.st .gw-nav button:disabled { opacity: .3; cursor: default; }
body.st .gw-dots { display: flex; gap: 8px; }
body.st .gw-dots i { width: 26px; height: 3px; background: var(--line-strong); opacity: .5; }
body.st .gw-dots i.on { background: var(--amber); opacity: 1; }
body.st .gw-hint { font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
body.st .gw-links { display: block; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 400 .92rem/1.7 var(--lese); color: var(--text-soft); }
body.st .gw-links a { color: inherit; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; margin-right: 12px; white-space: nowrap; display: inline-block; }
@media (min-width: 1500px) { body.st .gw > .wrap { max-width: 1400px; } body.st .wall { min-height: 560px; } body.st .pic img { height: 180px; max-width: 320px; } body.st .wall.zwei .pic img { height: 380px; max-width: 600px; } body.st .wall.zwei .hang { gap: 30px 60px; } }
@media (max-width: 700px) {
  body.st .gw-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } body.st .gw-tabs button { flex: none; padding: 8px 11px; font-size: .84rem; } body.st .gw-tabs small { display: none; }
  body.st .wall { padding: 54px 12px 70px; min-height: 0; justify-content: flex-start; } body.st .wall-t { left: 14px; top: 26px; }
  body.st .hang { gap: 22px 12px; } body.st .pic { width: calc(50% - 6px); } body.st .pic .fr { padding: 6px; border-width: 5px; width: 100%; }
  body.st .pic img, body.st .wall.zwei .pic img { height: auto; width: 100%; max-width: none; }
  body.st .wall.zwei .pic { width: 100%; max-width: 330px; }
  body.st .lab { min-width: 0; width: 100%; margin-top: 10px; padding: 6px 8px 7px; } body.st .lab b { font-size: .86rem; }
  body.st .gw-hint { display: none; }
}

/* ---- Hell: Akzent Grün statt Orange (René, 19.11.2026). Fläche = Grün von Thommen Fine Art #20372e, farbige Schrift #2a5a47 (Kontrast zu Weiss rund 7,9 : 1). Dunkel bleibt Gold. ---- */
body.st:not(.st-dunkel) { --amber: #20372e; --accent: #20372e; --accent-ink: #ffffff; --accent-text: #2a5a47; --practice: #20372e; --practice-text: #2a5a47; --practice-soft: rgba(32,55,46,.07); --practice-line: rgba(32,55,46,.4); --warn-text: #2a5a47; }
body.st:not(.st-dunkel) .btn-primary, body.st:not(.st-dunkel) .st-raum button[aria-pressed="true"], body.st.lp:not(.st-dunkel) .pager .pg-next { color: #ffffff; }
body.st:not(.st-dunkel) .btn-primary:hover, body.st.lp:not(.st-dunkel) .pager .pg-next:hover { background: #2c4a3e; }
body.st:not(.st-dunkel) .hero h1 .accent, body.st:not(.st-dunkel) .page-head h1 .accent { color: #2a5a47; }
body.st:not(.st-dunkel) .gw { --lab-acc: #2a5a47; }
/* Beta-Hinweis zurückgenommen (René, 19.11.2026: «nicht so prominent, sieht sonst unfertig aus»): schmale graue Zeile, Marke ohne farbige Pille. Der Text bleibt. */
body.st .beta-bar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
body.st .beta-bar .wrap { padding-top: 4px; padding-bottom: 4px; }
body.st .beta-bar .beta-tag { background: none; color: var(--muted); border: 1px solid var(--line); padding: .05em .6em; font-size: .58rem; font-weight: 600; }
/* Hell: Ziffern auf den grünen Stufenkreisen weiss. */
body.st:not(.st-dunkel) .tile-nr, body.st:not(.st-dunkel) .st-head .nr { color: #ffffff; }
/* ---- Neuer Auftritt auf allen übrigen Seiten (19.11.2026): Stellen mit fest weisser Fläche im dunklen Modus ---- */
body.st.st-dunkel .eyebrow { color: var(--muted); }
body.st.st-dunkel .es-opt, body.st.st-dunkel .ad-note, body.st.st-dunkel .ls-item { background: var(--surface); border-color: var(--line); color: var(--text); }
/* Das Arbeitsblatt der Lichtskizze bleibt ein helles Blatt. */
body.st.st-dunkel .ls-sheet { --text: #111114; --text-soft: #3d3a33; --muted: #6b6558; --line: #e2dfd8; --line-strong: #b9b2a2; --surface: #ffffff; --accent-text: #2a5a47; color: #111114; }
body.st.st-dunkel .ls-sheet .ls-item { background: #ffffff; color: #111114; border-color: #e2dfd8; }
/* ---- Kopfzeile neu (René, 19.11.2026): eine Zeile statt zwei, vier Menüpunkte, «Mehr», Lupe, keine Linien. Die Beta-Leiste bleibt im HTML, zeigt aber nur noch die Sprachwahl; der Satz steht in der Fusszeile (js/app.js). ---- */
body.st .beta-bar { position: sticky; top: 0; z-index: 51; height: 0; min-height: 0; border: 0; background: none; }
body.st .beta-bar .wrap { position: relative; display: block; height: 0; padding-top: 0; padding-bottom: 0; }
body.st .beta-bar .wrap > span { display: none; }
body.st .beta-bar .wrap > .lang-switch { position: absolute; right: 20px; top: 24px; transform: none; border: 0; background: none; border-radius: 0; gap: 2px; }
body.st .beta-bar .lang-switch button { font: 500 .66rem var(--mono); letter-spacing: .1em; padding: 4px 5px; min-height: 28px; background: none; color: var(--muted); }
body.st .beta-bar .lang-switch button[aria-pressed="true"] { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--amber); }
body.st .site-header { border-bottom: 0; }
body.st .header-inner { min-height: 76px; padding-right: 104px; }
body.st .logo::after { content: "Beta"; font: 500 .54rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 5px 1px; margin-left: 2px; opacity: .8; }
body.st .main-nav { border-left: 0; margin-left: 18px; padding-left: 0; gap: 28px; align-items: center; }
body.st .nav-more { position: relative; }
body.st .nav-more-btn { font: 500 .95rem var(--sans, Inter, sans-serif); background: none; border: 0; color: var(--text); padding: 10px 0; cursor: pointer; white-space: nowrap; }
body.st .nav-more-btn:hover { color: var(--accent-text); }
body.st .nav-more:has(a[aria-current]) .nav-more-btn { box-shadow: inset 0 -2px 0 var(--accent); color: var(--accent-text); }
body.st .nav-more-list { display: none; position: absolute; top: 100%; left: -16px; min-width: 180px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 34px -20px rgba(0,0,0,.4); padding: 6px 16px; z-index: 60; }
body.st .nav-more.open .nav-more-list { display: flex; }
body.st .nav-more-list a[aria-current] { box-shadow: none; }
body.st .nav-search { margin-left: auto; display: inline-flex; align-items: center; padding: 10px 2px; }
body.st .nav-search span { display: none; }
body.st .nav-search[aria-current] { box-shadow: none; }
body.st .st-mode { border: 0; padding: 6px 2px; }
body.st #xp-chip { display: none !important; }
body.st .footer-inner { flex-wrap: wrap; }
body.st .ft-beta { flex-basis: 100%; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(128,128,128,.25); font: 400 .82rem/1.45 var(--lese); opacity: .8; }
@media (max-width: 820px) {
  body.st .header-inner { padding-right: 100px; }
  body.st .main-nav { top: 76px; margin-left: 0; gap: 12px; align-items: flex-start; }
  body.st .nav-more, body.st .nav-more-list, body.st .nav-more.open .nav-more-list { display: contents; }
  body.st .nav-more-btn { display: none; }
  body.st .nav-search { margin-left: 0; padding: 10px 0; }
  body.st .nav-search span { display: inline; margin-left: 8px; }
  body.st .st-mode { border: 1px solid var(--line-strong); padding: 6px 8px; }
}
@media (min-width: 821px) { body.st .st-mode em { display: none; } body.st .st-mode { align-self: center; margin-top: 0; } }
/* Kopfzeile am Handy: Die Sprachwahl steht als schmale Zeile rechts über dem Kopf, weil neben Logo, Menüknopf und «Anmelden» kein Platz ist. */
@media (max-width: 820px) {
  body.st .beta-bar { position: static; height: auto; }
  body.st .beta-bar .wrap { height: auto; display: flex; justify-content: flex-end; padding: 2px 20px 0; }
  body.st .beta-bar .wrap > .lang-switch { position: static; }
  body.st .header-inner { padding-right: 20px; min-height: 64px; }
  body.st .logo::after { display: none; }
  body.st .main-nav { top: 64px; padding: 16px 20px; }
}
/* Galerie: Ein Klick auf ein Bild klappt das Genre unter der Wand auf (René, 19.11.2026). */
body.st .gw-detail { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--text); padding: 18px 22px 20px; }
body.st .gw-d-head { display: flex; align-items: baseline; gap: 14px; }
body.st .gw-d-head h3 { font: 600 1.6rem/1.1 Fraunces, Georgia, serif; letter-spacing: -.015em; margin: 0; }
body.st .gw-d-head span { font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.st .gw-d-x { margin-left: auto; align-self: center; width: 40px; height: 40px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--text); cursor: pointer; }
body.st .gw-d-list { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
body.st .gw-d-list a { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
body.st .gw-d-list i { font: 500 .66rem var(--mono); font-style: normal; color: var(--accent-text); min-width: 1.4em; }
body.st .gw-d-list b { font-weight: 500; flex: 1; }
body.st .gw-d-list small { color: var(--muted); white-space: nowrap; }
body.st .gw-d-list a:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
body.st .gw-d-btns { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.st .pic.on .fr { outline: 3px solid var(--amber); outline-offset: 4px; }
/* Die 17 Genre-Seiten stehen neu in der Fusszeile der Startseite (René, 19.11.2026). */
body.st .ft-genres { flex-basis: 100%; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(128,128,128,.25); font: 400 .86rem/1.9 var(--lese); }
body.st .ft-genres strong { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-right: 12px; opacity: .8; }
body.st .ft-genres a { color: inherit; margin-right: 14px; white-space: nowrap; display: inline-block; text-decoration: underline; text-decoration-color: rgba(128,128,128,.5); text-underline-offset: 3px; }
/* Abschnitt «Was diesen Kurs anders macht»: ein grosser Knopf statt vier kleiner Links (René, 19.11.2026). */
body.st .cta-mid { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin: 34px 0 0; }
body.st .cta-mid .btn { font-size: 1.12rem; padding: 17px 30px; }
body.st .cta-mid span { font: 400 1.02rem/1.4 var(--lese); color: var(--text-soft); }
body.st .diff li { padding-bottom: 22px; }

/* ---- Unterer Teil der Startseite neu (René, 19.11.2026): zeigen statt behaupten. Vier Blöcke: So lernst du · Dein Weg · ein Angebot · Fragen und Schlussbild. ---- */
body.st .d-sec .section-title::before { content: none; }
body.st .u-sec { padding: 84px 0; }
body.st .u-sec.alt { background: var(--surface2); }
body.st .u-h { font: 600 clamp(2rem, 4.4vw, 3.1rem)/1.03 Fraunces, Georgia, serif; letter-spacing: -.025em; margin: 0 0 .35em; max-width: 18ch; text-align: left; }
body.st .u-lead { font: 400 1.16rem/1.5 var(--lese); color: var(--text-soft); max-width: 58ch; margin: 0; }
body.st .u-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 64px; }
body.st .u-row.flip .u-pic { order: 2; }
body.st .u-pic { min-width: 0; }
body.st .u-k { font: 500 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
body.st .u-tx h3 { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.08 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 10px 0 12px; }
body.st .u-tx p { font: 400 1.12rem/1.55 var(--lese); color: var(--text-soft); margin: 0; max-width: 44ch; }
body.st .u-quiz { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--text); padding: 22px 24px 20px; box-shadow: 0 30px 60px -44px rgba(0,0,0,.5); }
body.st .u-q-k { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.st .u-q-q { font: 600 1.3rem/1.25 Fraunces, Georgia, serif; margin: 10px 0 16px; color: var(--text); }
body.st .u-quiz button { display: block; width: 100%; text-align: left; font: 500 1rem Inter, sans-serif; background: none; color: var(--text); border: 0; border-top: 1px solid var(--line); padding: 13px 4px; cursor: pointer; }
body.st .u-quiz button:hover:not(:disabled) { background: var(--surface2); }
body.st .u-quiz button.ok { color: var(--accent-text); font-weight: 700; }
body.st .u-quiz button.ok::before { content: "\2713\00a0\00a0"; }
body.st .u-quiz button.no { text-decoration: line-through; opacity: .7; }
body.st .u-quiz button.aus { opacity: .5; }
body.st .u-q-why { font: 400 1.02rem/1.5 var(--lese); color: var(--text-soft); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-strong); }
/* Lernkarte mit Praxisauftrag: ein Feld im selben Rahmen wie die Beispielfrage */
body.st .u-kp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
body.st .u-kp-grid img { display: block; width: 100%; height: auto; border-radius: 0; }
body.st .u-kp-grid ol { margin: 0; padding-left: 20px; font: 400 .98rem/1.45 var(--lese); color: var(--text); }
body.st .u-kp-grid li + li { margin-top: 8px; }
body.st .u-kp-auf { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
body.st .u-kp-auf b { display: block; font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
body.st .u-kp-auf p { font: 600 1.08rem/1.35 Inter, sans-serif; color: var(--text); margin: 0 0 14px; }
body.st .u-kp-auf ul { margin: 0; padding-left: 20px; font: 400 .98rem/1.45 var(--lese); color: var(--text-soft); }
body.st .u-kp-auf li + li { margin-top: 4px; }
body.st .u-kp-more { display: inline-block; margin-top: 16px; font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
body.st .u-fakt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; margin-top: 72px; padding: 30px 0 0; border-top: 1px solid var(--line-strong); }
body.st .u-lv { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 0; padding: 0; }
body.st .u-lv li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
body.st .u-lv li strong { font: 600 .86rem Inter, sans-serif; }
body.st .u-zahl { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; padding: 0; }
body.st .u-zahl b { display: block; font: 600 2.6rem/1 Fraunces, Georgia, serif; letter-spacing: -.03em; }
body.st .u-zahl span { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.st .u-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin: 40px 0 0; }
body.st .u-cta .btn, body.st .u-end .btn { font-size: 1.12rem; padding: 17px 30px; }
body.st .u-cta span { font: 400 1.02rem/1.4 var(--lese); color: var(--text-soft); }
body.st .u-weg { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
body.st .u-weg::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--line-strong); opacity: .6; }
body.st .u-weg li { position: relative; padding: 0 18px 0 0; }
body.st .u-weg i { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #fff; font: 700 1rem Fraunces, Georgia, serif; font-style: normal; }
body.st.st-dunkel .u-weg i { color: #111; }
body.st .u-weg small { display: block; margin-top: 16px; font: 500 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.st .u-weg b { display: block; font: 600 1.25rem/1.15 Fraunces, Georgia, serif; margin: 6px 0 6px; }
body.st .u-weg p { font: 400 .98rem/1.45 var(--lese); color: var(--text-soft); margin: 0; }
body.st .u-weg-btn { margin: 38px 0 0; }
body.st .u-off { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--text); padding: 34px 38px; }
body.st .u-off[hidden] { display: none; }
body.st .u-off img { display: block; width: 100%; height: auto; border-radius: 0; }
body.st .u-off h3 { font: 600 clamp(1.8rem, 3.4vw, 2.5rem)/1.05 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 10px 0 14px; }
body.st .u-off ul { list-style: none; margin: 0 0 16px; padding: 0; }
body.st .u-off li { font: 400 1.08rem/1.45 var(--lese); padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
body.st .u-off li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
body.st .u-off .bo-first { font: 400 1.02rem/1.45 var(--lese); margin: 0 0 20px; padding: 12px 14px; background: var(--surface2); border-left: 3px solid var(--amber); }
body.st .u-off-btns { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.st .u-off-btns .btn { font-size: 1.05rem; padding: 15px 24px; }
body.st .u-off details { margin-top: 18px; border: 0; padding: 0; background: none; font: 400 .98rem/1.5 var(--lese); color: var(--text-soft); }
body.st .u-off summary { cursor: pointer; font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
body.st .u-off table { border-collapse: collapse; margin: 10px 0; width: 100%; font: 400 .92rem Inter, sans-serif; color: var(--text); }
body.st .u-off td, body.st .u-off th { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); vertical-align: top; font-weight: 500; }
body.st .u-off th small { display: block; font-weight: 400; color: var(--muted); }
body.st .u-off td s { color: var(--muted); margin-right: 6px; }
body.st .u-faq { max-width: 800px; }
body.st .u-faq details { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: none; padding: 16px 0; }
body.st .u-faq summary { font: 600 1.15rem Inter, sans-serif; cursor: pointer; }
body.st .u-faq details p { font: 400 1.06rem/1.55 var(--lese); color: var(--text-soft); margin: 10px 0 0; max-width: 62ch; }
body.st .u-faq-more { margin: 18px 0 0; font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
body.st .u-faq-more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
body.st .u-end { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: #17171c center 40% / cover no-repeat; color: #fff; }
body.st .u-end::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0) 30%, rgba(10,10,12,.78) 100%); }
body.st .u-end .wrap { position: relative; padding-top: 60px; padding-bottom: 54px; width: 100%; }
body.st .u-end h2 { font: 600 clamp(2.2rem, 5vw, 3.8rem)/1.02 Fraunces, Georgia, serif; letter-spacing: -.03em; margin: 0 0 22px; max-width: 16ch; color: #fff; }
body.st .u-end small { display: block; margin-top: 18px; font: 500 .58rem var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (max-width: 860px) {
  body.st .u-sec { padding: 54px 0; }
  body.st .u-row { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  body.st .u-row.flip .u-pic { order: 0; }
  body.st .u-kp-grid { grid-template-columns: 1fr; }
  body.st .u-fakt { margin-top: 48px; }
  body.st .u-zahl { gap: 14px 28px; } body.st .u-zahl b { font-size: 2.1rem; }
  body.st .u-weg { grid-template-columns: 1fr; gap: 22px; }
  body.st .u-weg::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  body.st .u-weg li { padding: 0 0 0 54px; }
  body.st .u-weg i { position: absolute; left: 0; top: 0; }
  body.st .u-weg small { margin-top: 0; }
  body.st .u-off { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; }
  body.st .u-end { min-height: 440px; }
}

/* ---- Nachrichten im Konto (René, 19.11.2026): Briefsymbol im Kopf, Feld klappt darunter auf ---- */
body.st .msg-box { position: relative; display: flex; align-items: center; }
body.st .msg-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--text); cursor: pointer; }
body.st .msg-btn:hover { color: var(--accent-text); }
body.st .msg-dot { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--amber); color: #fff; font: 700 .66rem/18px Inter, sans-serif; font-style: normal; text-align: center; }
body.st.st-dunkel .msg-dot { color: #111; }
body.st .msg-panel { position: absolute; top: calc(100% + 10px); right: -8px; width: min(400px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--text); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); padding: 14px 18px 16px; z-index: 70; text-align: left; }
body.st .msg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
body.st .msg-head b { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.st .msg-x { width: 36px; height: 36px; margin-right: -10px; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--text); cursor: pointer; }
body.st .msg { padding: 12px 0 4px; border-top: 1px solid var(--line); }
body.st .msg small { font: 500 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.st .msg.neu small { color: var(--accent-text); }
body.st .msg h4 { font: 600 1.25rem/1.2 Fraunces, Georgia, serif; margin: 6px 0 8px; }
body.st .msg p { font: 400 1.02rem/1.55 var(--lese); color: var(--text-soft); margin: 0 0 10px; }
@media (max-width: 820px) { body.st .msg-panel { position: fixed; top: 100px; left: 16px; right: 16px; width: auto; } }

/* Schlussbild «Ice Edge» (René, 19.11.2026): Panorama 4:1 über die ganze Breite, unbeschnitten. Am Desktop steht der Text im Bild, am Handy darunter. */
body.st .u-end { position: relative; min-height: 0; display: block; background: #0d1014; color: #fff; }
body.st .u-end::before { content: none; }
body.st .u-end > img { display: block; width: 100%; height: auto; border-radius: 0; }
body.st .u-end .wrap { position: absolute; left: 0; right: 0; top: 0; bottom: 0; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding-top: clamp(18px, 3.4vw, 64px); }
body.st .u-end h2 { font-size: clamp(1.8rem, 3.6vw, 3.6rem); margin-bottom: clamp(12px, 1.6vw, 22px); text-shadow: 0 2px 18px rgba(0,0,0,.55); max-width: 18ch; }
body.st .u-end small { margin-top: 12px; }
@media (max-width: 1000px) {
  body.st .u-end .wrap { position: static; padding: 26px 20px 34px; }
  body.st .u-end h2 { font-size: 2rem; text-shadow: none; }
}

/* Sprachwahl im Kopf (Desktop): steht als letztes Element in .header-right (js/app.js), nicht mehr schwebend darüber. */
body.st.lang-in .header-inner { padding-right: 20px; }
body.st .header-right .lang-switch { position: static; display: inline-flex; border: 0; background: none; border-radius: 0; gap: 2px; margin-left: 2px; flex: none; }
body.st .header-right .lang-switch button { font: 500 .66rem var(--mono); letter-spacing: .1em; padding: 4px 5px; min-height: 28px; background: none; color: var(--muted); border: 0; cursor: pointer; }
body.st .header-right .lang-switch button[aria-pressed="true"] { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--amber); }
body.st .header-right { gap: 10px; }
@media (max-width: 1500px) { body.st #session .session-label { display: none; } }

/* Beispielfrage mit Foto und Lernkarten-Block (René, 19.11.2026, nach seiner Vorlage): Bild links, Frage gross mit drei grossen Antwortfeldern rechts. */
body.st .u-foto { margin: 0; }
body.st .u-foto img { display: block; width: 100%; height: auto; border-radius: 0; }
body.st .u-foto figcaption { margin-top: 8px; font: 500 .58rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.st .u-frage .u-quiz { background: none; border: 0; box-shadow: none; padding: 0; }
body.st .u-frage .u-q-q { font: 600 clamp(1.7rem, 3.2vw, 2.4rem)/1.08 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 10px 0 10px; }
body.st .u-q-sub { font: 400 1.1rem/1.5 var(--lese); color: var(--text-soft); margin: 0 0 8px; }
body.st .u-frage .u-quiz button { position: relative; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 17px 18px 17px 54px; font: 500 1.12rem Inter, sans-serif; }
body.st .u-frage .u-quiz button::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -11px; border: 1.5px solid var(--text); border-radius: 50%; }
body.st .u-frage .u-quiz button.ok { border-color: var(--accent-text); }
body.st .u-frage .u-quiz button.ok::before { content: "\2713"; border-color: var(--accent-text); background: var(--amber); color: #fff; font: 700 .8rem/20px Inter, sans-serif; text-align: center; }
body.st.st-dunkel .u-frage .u-quiz button.ok::before { color: #111; }
body.st .u-band { background: var(--surface2); padding: 44px 44px; margin-top: 72px; }
body.st .u-band-btn { margin: 20px 0 0 !important; }
@media (max-width: 860px) { body.st .u-band { padding: 26px 20px; margin-top: 48px; } }

/* Admin-Seite im dunklen Modus (René, 19.11.2026: «kaum lesbar»): Kacheln, Tabellen und Hinweise waren fest weiss mit heller Schrift. */
body.st.st-dunkel .ad-note, body.st.st-dunkel .ad-tile, body.st.st-dunkel .ad-scroll { background: var(--surface); border-color: var(--line); color: var(--text); }
body.st.st-dunkel .ad-table th, body.st.st-dunkel .ad-table td { border-bottom-color: var(--line); }
body.st.st-dunkel .ad-table td { color: var(--text); }
body.st.st-dunkel .ad-table a { color: var(--accent-text); }
body.st.st-dunkel .ad-tag { background: rgba(255,255,255,.14); color: var(--text); }
body.st.st-dunkel .ad-tag.warn { background: #5a3a1c; color: #f3c99a; }
body.st.st-dunkel .ad-stand.ad-old { color: #e9a35f; }

/* Eigenes Bild testen (Startseite): eine schmale Zeile, der Hauptknopf bleibt die erste Lektion */
body.st .u-test { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 48px; margin-top: 64px; }
body.st .u-test .u-tx p { max-width: 62ch; }
@media (max-width: 860px) { body.st .u-test { margin-top: 44px; } }
/* Praxiskurse (Kursseite), zum Aufklappen */
body.st .kurs-praxis { margin: 64px 0 80px; padding: 0; border: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); border-radius: 0; background: none; scroll-margin-top: 90px; }
body.st .kurs-praxis summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 22px 0; cursor: pointer; list-style: none; }
body.st .kurs-praxis summary::-webkit-details-marker { display: none; }
body.st .kurs-praxis summary::after { content: "+"; margin-left: auto; font: 400 1.6rem/1 Inter, sans-serif; color: var(--accent-text); }
body.st .kurs-praxis[open] summary::after { content: "\2013"; }
body.st .kurs-praxis .kp-t { font: 600 1.5rem/1.2 Fraunces, Georgia, serif; letter-spacing: -.01em; }
body.st .kurs-praxis .kp-s { color: var(--text-soft); font-size: 1rem; }
body.st .kurs-praxis .section-lead { margin: 0 0 20px; }
body.st .kurs-praxis .kp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 0 0 28px; }
body.st .kurs-praxis .kp-grid .card h3 { margin: 4px 0 8px; }
body.st .kurs-praxis .kp-grid .card a { font-weight: 600; color: var(--accent-text); }/* Framefight gut sichtbar auf der Bild-Check-Seite; nach der Auswertung steht der ausführliche Kasten im Ergebnis */
body.st .bc-ff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin: 0 0 80px; padding: 30px 34px; background: var(--surface2); }
body.st .bc-ff h2 { font: 600 clamp(1.4rem, 2.4vw, 1.8rem)/1.12 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 8px 0 8px; }
body.st .bc-ff p { margin: 0; color: var(--text-soft); max-width: 58ch; }
body.st #bildcheck:has(.ff-step) + .bc-ff { display: none; }
@media (max-width: 860px) { body.st .bc-ff { padding: 24px 20px; } }/* Vier Lernschritte unter «So lernst du» (René, 19.11.2026): dieselbe Reihe wie der Weg durch die Stufen, mit vier Spalten */
body.st .u-weg.u-vier { margin-top: 40px; }
@media (min-width: 861px) { body.st .u-weg.u-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Dunkel: «Korrekt belichtet» im Simulator der Startseite war zu schwach (Kontrast 2,7) */
body.st.st-dunkel .readout .good { color: #93d897; }
/* ---- Dunkel als Standard (19.11.2026): helle Flächen behalten dunkle Schrift, schwache Farben werden heller ---- */
/* Lernkarte am Bildschirm: Die Karte bleibt helles Papier, darum gelten auf ihr die hellen Farbwerte. */
body.st.st-dunkel .lk-side, body.st.st-dunkel .lk-fig.lk-figx { --text: #17171c; --text-soft: #3d3a33; --muted: #6b6558; --line: #e2dfd8; --line-strong: #b9b2a2; --surface: #ffffff; --surface2: #f4f0e8; --accent-text: #946012; --practice-text: #946012; --theory-text: #946012; --done-text: #2a7a31; color: #17171c; }
body.st.st-dunkel .lk-sides { border-color: var(--line-strong); }
body.st.st-dunkel .lk-sides button { color: #f1ece0; }
body.st.st-dunkel .lk-sides button[aria-pressed="true"] { background: #e0b05a; color: #111114; }
/* Medaillen-Stufen und Marke «Kostenlos» */
body.st.st-dunkel .medal.tier-1 { --tier-text: #d99a66; }
body.st.st-dunkel .medal.tier-2 { --tier-text: #c3ccd6; }
body.st.st-dunkel .medal.tier-3 { --tier-text: #f0c060; }
body.st.st-dunkel .medal.tier-4 { --tier-text: #7fcfcf; }
body.st.st-dunkel .l-tag.free { color: #7fcfcf; border-color: rgba(127, 207, 207, .5); }
body.st.st-dunkel mark { color: #111114; }
/* Ansichts-Knopf Hell/Dunkel grösser und mit Wort (René, 19.11.2026) */
@media (min-width: 821px) { body.st .st-mode { border: 1px solid var(--line-strong); padding: 8px 12px; font-size: .68rem; } body.st .st-mode em { display: inline; } body.st .st-mode span { font-size: 1.2rem; } }
@media (max-width: 820px) { body.st .st-mode { padding: 11px 16px; font-size: .78rem; } body.st .st-mode span { font-size: 1.25rem; } }
/* Hinweis nur am Handy: Der Kurs lernt sich am grösseren Bildschirm besser (René, 19.11.2026) */
body.st .geraet-tipp { display: none; }
@media (max-width: 700px) { body.st .geraet-tipp { display: block; margin: 12px 0 4px; font-size: .9rem; color: var(--text-soft); } }
/* Version 1.0: Beta-Marke am Logo und Beta-Texte entfernt */
body.st .logo::after { content: none; display: none; }
body.st .beta-bar .beta-tag, body.st .beta-bar .wrap > span:not([class]) { display: none !important; }
body.st .ft-beta { display: none; }
