/* immanuel-kant.info — Design-System
   Leitmotiv: „Der bestirnte Himmel über mir und das moralische Gesetz in mir."
   Dark  = Königsberger Nacht (Preußischblau + Gold + Sternweiß)
   Light = Papier & Morgenhimmel (warmes Papier + Tinte + Preußischblau + Gold)
   Fonts: Fraunces (Display-Serif) + Inter (Text), beide lokal/variabel. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Echte Kursive (Niels 2026-09-24): vorher gab es nur die aufrechte Datei, jede Kursive war schräggestellt.
   Aus Fraunces-Italic (google/fonts, OFL) auf denselben Zeichenumfang beschnitten, SOFT=0/WONK=1 fixiert. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic-var-latin.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter";    src: url("/assets/fonts/inter-var-latin.woff2")    format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Inter", system-ui, sans-serif;
  --wrap: 1120px;
  --wrap-text: 760px;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(8, 15, 34, .12);
  --ease: cubic-bezier(.22,.8,.28,1);
}
:root[data-theme="light"] {
  --bg: #f7f4ec;          /* Papier */
  --bg-2: #efeadd;        /* Band-Wechsel */
  --box: #fffdf7;         /* Kachel auf Band (immer Gegenfläche!) */
  --ink: #1d2432;
  --ink-2: #4c5568;
  --line: #ddd5c2;
  --accent: #a97d1e;      /* Gold gedeckt */
  --accent-2: #1e3a5f;    /* Preußischblau */
  --star: #7d6b3d;
  --hero-sky-1: #14294a; --hero-sky-2: #2c4a76; --hero-horizon: #d9b96a;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a1526;          /* Königsberger Nacht */
  --bg-2: #101f38;
  --box: #16274a;
  --ink: #efe9da;
  --ink-2: #a8b0c4;
  --line: #24365c;
  --accent: #d3a94f;      /* Gold */
  --accent-2: #8fb4e8;    /* Nachthimmel-Blau */
  --star: #f2ecdf;
  --hero-sky-1: #060d1c; --hero-sky-2: #0e2140; --hero-horizon: #d3a94f;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip statt hidden → sticky-Header bleibt intakt */
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 640; line-height: 1.18; margin: 0 0 .55em; letter-spacing: .002em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1.05em; }
a { color: var(--accent-2); text-decoration-color: color-mix(in srgb, var(--accent-2) 42%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.wrap--text { max-width: var(--wrap-text); }
.lead { font-size: 1.12rem; color: var(--ink-2); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #14110a; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* ---------- Sektionen: alternierende Bänder (Kachel = IMMER Gegenfläche via --box) ---------- */
.band { padding: clamp(3rem, 7vw, 5.2rem) 0; border-top: 1px solid var(--line); background: var(--bg); }
.band--alt { background: var(--bg-2); }
.band--alt { --box: var(--bg); }
:root[data-theme="light"] .band--alt { --box: #fffdf7; }
.sec-head { max-width: var(--wrap-text); margin-bottom: 2rem; scroll-margin-top: 84px; }   /* Sprungziel (#sortierer, #pruefer …) nicht unter der klebenden Kopfzeile (60 px) — 01.10.2026 */
.sec-head h2 { position: relative; padding-left: 1.05rem; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 3px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 30%, transparent)); }
.chapter-eyebrow { font-family: var(--font-display); color: var(--accent); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: .8rem; }
.chapter-eyebrow .roman { font-size: 1.35em; letter-spacing: .04em; margin-right: .45rem; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head__in { max-width: var(--wrap); margin: 0 auto; padding: .55rem clamp(14px, 3vw, 28px); display: flex; align-items: center; gap: 1rem; }
.brand { flex: none; display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
/* Sternbild-K statt Stern in der Kachel — die Kachel wurde von der Leiste zur Kapsel gestaucht. */
.brand__mark { flex: none; display: grid; place-items: center; width: 32px; height: 38px; color: var(--accent); transition: transform .35s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 660; white-space: nowrap; }
.brand__txt small { color: var(--ink-2); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; margin-top: 2px; }
@media (max-width: 560px) { .brand__txt small { display: none; } }
.nav { display: flex; align-items: center; gap: .1rem; }
.nav__link { display: inline-flex; align-items: center; gap: .38rem; padding: .5rem .62rem; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 560; white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: var(--font-text); }
.nav__link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav__link.is-active { color: var(--accent); }
.navgroup, .langmenu { position: relative; }
.navgroup__menu, .langmenu__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--box); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; z-index: 60; }
.navgroup__menu .nav__link { display: flex; width: 100%; }
[data-menu].is-open > .navgroup__menu, [data-menu].is-open > .langmenu__menu { display: block; animation: pop .16s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.head-tools { display: flex; align-items: center; gap: .35rem; }
/* Alle Kopfzeilen-Knöpfe gleich hoch (Sprache 41 px, Hell/Dunkel 34, Menü 31 wichen ab); Symbolknöpfe quadratisch. */
.tool { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 40px; min-width: 40px; padding: 0 .7rem; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; font: inherit; font-size: .85rem; }
.tool:hover { color: var(--ink); border-color: var(--accent); }
.langmenu__item { display: block; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; }
.langmenu__item:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.langmenu__item.is-current { color: var(--accent); font-weight: 640; }
:root .theme-toggle { display: inline-grid; place-items: center; }
/* Sonne und Mond liegen übereinander: das gehende dreht weg und schrumpft, das kommende dreht herein */
.theme-toggle svg { grid-area: 1 / 1; transition: opacity .25s, rotate .35s cubic-bezier(.2,.7,.2,1), scale .35s cubic-bezier(.2,.7,.2,1); }
:root[data-theme="light"] .ico-sun { opacity: 0; rotate: 40deg; scale: .5; }
:root[data-theme="dark"] .ico-moon { opacity: 0; rotate: -40deg; scale: .5; }
.theme-toggle, .burger { width: 40px; padding: 0; }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; flex-direction: column; padding: .5rem clamp(14px, 3vw, 28px) 1rem; border-top: 1px solid var(--line); }
.mnav .nav__link { padding: .7rem .5rem; font-size: 1.02rem; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mnav.is-open { display: flex; }
}

/* ---------- Hero: der bestirnte Himmel ---------- */
.hero {
  position: relative; overflow: clip; color: #f2ecdf;
  background: linear-gradient(to bottom, var(--hero-sky-1) 0%, var(--hero-sky-2) 62%, color-mix(in srgb, var(--hero-horizon) 26%, var(--hero-sky-2)) 88%, var(--bg) 100%);
  padding: clamp(4.2rem, 11vw, 8.5rem) 0 clamp(3.2rem, 8vw, 6rem);
}
.hero .wrap { position: relative; z-index: 3; }
/* Sternenhimmel aus truedistance.org (src/layouts/Base.astro, „Sternenhimmel hinter der Seite"),
   Niels 2026-09-24. Dort steht er fest hinter der ganzen Seite; hier liegt er im Kopfbereich und
   scrollt mit — die Parallaxe läuft deshalb umgekehrt (site.js). Farbe wie dort (--stern). */
.sternenfeld { --stern: oklch(0.92 0.02 250 / 0.85); position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; container-type: size; }
.sternenfeld .stern { position: absolute; border-radius: 50%; background: var(--stern); will-change: transform; }
.sternenfeld .stern.hell { box-shadow: 0 0 4px 1px var(--stern); }
@keyframes stern-weg { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--weg, 0px), 0); } }
@keyframes stern-glimmen { from { opacity: .45; } to { opacity: 1; } }
@keyframes stern-funkeln { from { opacity: .15; } to { opacity: 1; } }
.sternenfeld .nebel { position: absolute; border-radius: 50%; transform: rotate(var(--dreh, 0deg)); will-change: transform;
  background: radial-gradient(60% 50% at 42% 46%, oklch(0.62 0.09 var(--ton, 250) / 0.55) 0%, transparent 68%),
              radial-gradient(100% 85% at 58% 56%, oklch(0.55 0.06 calc(var(--ton, 250) + 24) / 0.32) 0%, transparent 74%); }
.sternenfeld .nebel.galaxie { background: radial-gradient(26% 26% at 50% 50%, oklch(0.86 0.04 var(--ton, 250) / 0.75) 0%, transparent 70%),
              radial-gradient(72% 42% at 50% 50%, oklch(0.66 0.07 var(--ton, 250) / 0.42) 0%, transparent 76%); }
@keyframes nebel-weg { from { transform: rotate(var(--dreh, 0deg)) translate3d(0, 0, 0); } to { transform: rotate(var(--dreh, 0deg)) translate3d(0, var(--weg, 0px), 0); } }
.sternenfeld .flieger { position: absolute; top: var(--start-top, 20%); left: var(--start-left, -8%); width: 2px; height: 2px; border-radius: 50%;
  background: var(--stern); opacity: 0; box-shadow: 0 0 5px 1px var(--stern); will-change: transform, opacity; }
.sternenfeld .flieger.asteroid { width: 3px; height: 3px; box-shadow: 0 0 3px 0 var(--stern); }
/* Bahnen in Containerbreite/-höhe (cqw/cqh) statt vw/vh — das Feld ist nur so groß wie der Kopfbereich. */
@keyframes flug {
  0%   { transform: translate3d(var(--von-x, 0cqw), var(--von-y, 0cqh), 0); opacity: 0; }
  3%   { opacity: .85; }
  56%  { opacity: .85; }
  62%  { transform: translate3d(var(--nach-x, 116cqw), var(--nach-y, 14cqh), 0); opacity: 0; }
  100% { transform: translate3d(var(--nach-x, 116cqw), var(--nach-y, 14cqh), 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sternenfeld .stern { animation-name: stern-weg !important; } }
.hero__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--hero-horizon) 32%, transparent), transparent 75%); }
.hero__kicker { font-size: .92rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; display: block; }
.hero__kicker > span { white-space: nowrap; }
@media (max-width: 560px) { .hero__sep { display: none; } .hero__kicker > span:not(.hero__sep) { display: block; } }
/* Porträt im Kopfbereich: Oval mit Goldring, Nachweis darunter (der Himmel bleibt in beiden Themen dunkel) */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__txt { min-width: 0; }
.hero__portrait { margin: 0; width: clamp(220px, 24vw, 300px); }
.fig.hero__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(211, 169, 79, .65), 0 0 0 8px rgba(211, 169, 79, .1), 0 30px 70px rgba(0, 0, 0, .5);
  filter: grayscale(0.4); }   /* Niels 08.10.2026: Porträt etwas entsättigt */
.fig.hero__portrait--1768 img { object-position: 50% 30%; }   /* Becker 1768: schon oval gemalt, Gesicht oben */
.fig.hero__portrait--c1790 img { object-position: 62% 40%; }   /* Portrait c1790: Gesicht rechts der Mitte */
.hero__portrait figcaption { color: #dfe5ef; font-size: .7rem; text-align: center; margin-top: 1rem; padding: .35rem .6rem; border-radius: 8px; background: rgba(6, 13, 28, .72); }
.hero__portrait .fig__credit { opacity: 1; }
.hero__portrait figcaption a { color: inherit; }
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .hero__portrait { order: -1; width: auto; display: flex; align-items: center; gap: 1rem; }
  .fig.hero__portrait img { width: 96px; flex: none; }
  .hero__portrait figcaption { text-align: left; margin: 0; }
}
.hero h1 { color: #fdf9ee; max-width: 22ch; }
.hero__quote { font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 480; font-style: italic; color: #efe6cd; max-width: 46ch; margin: 1.4rem 0 .4rem; }
.hero__quote strong { color: var(--accent); font-style: normal; }
.hero .src, .hero .src a { color: #b7c2d8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 12px; text-decoration: none; font-weight: 620; font-size: .98rem; transition: transform .2s var(--ease), box-shadow .2s; border: 1px solid transparent; cursor: pointer; font-family: var(--font-text); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(140deg, #e4bd63, #c29638); color: #191204; box-shadow: 0 8px 26px rgba(212, 169, 79, .35); }
/* a:hover färbt Links gold — auf dem Goldknopf verschwand die Schrift. */
.btn--gold:hover { color: #191204; background: linear-gradient(140deg, #ecc972, #cda043); box-shadow: 0 10px 30px rgba(212, 169, 79, .45); }
.btn--ghost { border-color: color-mix(in srgb, #f2ecdf 45%, transparent); color: #f2ecdf; }
.band .btn--ghost { border-color: var(--line); color: var(--ink); }

/* ---------- Inhalt: Figures, Quellen, Zitate, Callouts ---------- */
.fig { margin: 1.8rem 0; }
.fig img { border-radius: var(--radius); box-shadow: var(--shadow); }
.fig figcaption { font-size: .84rem; color: var(--ink-2); margin-top: .55rem; line-height: 1.5; }
.fig__cap { display: block; }
.fig__credit { display: block; opacity: .82; font-size: .93em; }
.fig--right { max-width: 400px; }
/* Rechts umflossenes Bild direkt vor einer Schrittfolge: zentriert darüber statt daneben (engte die Schritte ein). */
.fig--right:has(+ .steps) { float: none; margin: 1.8rem auto; }
@media (min-width: 900px) { .fig--right { float: right; margin: .3rem 0 1.2rem 2rem; } }
/* Bildnachweis als feine Zeile UNTER dem Bild (Niels 2026-09-24) — das Verlaufsband über jedem
   Bild machte das Kapitelraster unruhig. Der Nachweis bleibt vollständig (kein Abschneiden). */
.thumb { position: relative; display: block; border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0; overflow: hidden; }
.thumb img { display: block; width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .thumb img { transform: scale(1.045); }
.thumb__credit { position: relative; z-index: 1; display: block; background: var(--box); border-bottom: 1px solid var(--line); font-size: .66rem; line-height: 1.4; color: var(--ink-2); padding: .4rem 1.25rem .45rem; }
.src { font-size: .82rem; color: var(--ink-2); border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); padding-left: .65rem; margin: .35rem 0 1.6rem; line-height: 1.55; }
.src a { color: var(--ink-2); }
.src a:hover { color: var(--accent); }
.quote { margin: 2.2rem 0; padding: 1.4rem 1.6rem 1.2rem; border-left: 4px solid var(--accent); background: var(--box); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.quote p { font-family: var(--font-display); font-size: 1.22rem; font-style: italic; font-weight: 500; margin-bottom: .5rem; }
.quote cite { display: block; color: var(--ink-2); font-style: normal; font-size: .9rem; }
.quote__src { font-size: .8rem; margin-top: .35rem; }
.quote__src a { color: var(--ink-2); }
.callout { display: flex; flex-direction: column; gap: .35rem; margin: 1.7rem 0; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--box); border: 1px solid var(--line); box-shadow: var(--shadow); }
.callout__t { color: var(--accent); font-family: var(--font-display); font-size: 1.03rem; }
.callout--idea { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.callout--warn .callout__t { color: #c96f3a; }

/* ---------- Grids & Cards (Kachel nutzt --box = Gegenfläche des Bands) ---------- */
.grid { display: grid; gap: 1.3rem; margin: 1.6rem 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.card { background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.card__body { padding: 1.15rem 1.25rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4rem; }
.card__body > div { color: var(--ink-2); font-size: .95rem; flex: 1; }
.card__more { margin: .8rem 0 0; }
.card__link { font-weight: 620; text-decoration: none; }

/* ---------- kv / steps ---------- */
.kv { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv__row { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 1rem; padding: .8rem 1.1rem; background: var(--box); }
.kv__row:nth-child(even) { background: color-mix(in srgb, var(--box) 55%, var(--bg)); }
.kv dt { font-weight: 640; font-family: var(--font-display); color: var(--accent-2); }
.kv dd { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .kv__row { grid-template-columns: 1fr; gap: .15rem; } }
.steps { list-style: none; margin: 1.8rem 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.steps__item { position: relative; display: flex; gap: 1.1rem; padding: 0 0 1.6rem; }
.steps__num { position: relative; z-index: 1; flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--box); border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.steps__body { padding-top: .45rem; }
.steps__body strong { font-family: var(--font-display); font-size: 1.06rem; display: block; margin-bottom: .25rem; }
.steps__body > div { color: var(--ink-2); font-size: .97rem; }

/* ---------- Timeline ---------- */
.tl-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; }
.chip { padding: .45rem .95rem; border-radius: 99px; border: 1px solid var(--line); background: var(--box); color: var(--ink-2); font: inherit; font-size: .88rem; cursor: pointer; }
.chip.is-active { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--box)); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl__item { position: relative; padding: 0 0 1.9rem 2.2rem; }
.tl__item::before { content: ""; position: absolute; left: 2px; top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.tl__item--world::before { background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 22%, transparent); }
.tl__year { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.tl__item--world .tl__year { color: var(--accent-2); }
.tl__body { color: var(--ink-2); font-size: .97rem; }
.tl__body strong { color: var(--ink); }
.tl__item.is-hidden { display: none; }

/* ---------- Glossar ---------- */
.gloss-tools { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }
.gloss-search { flex: 1 1 260px; padding: .7rem 1rem; border-radius: 11px; border: 1px solid var(--line); background: var(--box); color: var(--ink); font: inherit; }
.gloss-search:focus { outline: 2px solid var(--accent); border-color: transparent; }
a.gloss { color: inherit; text-decoration: none; border-bottom: 1.5px dashed color-mix(in srgb, var(--accent) 75%, transparent); cursor: help; }
a.gloss:hover { color: var(--accent); }
.gloss-tip { position: absolute; z-index: 150; max-width: 340px; background: var(--box); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .9rem 1rem; font-size: .88rem; line-height: 1.55; display: none; }
.gloss-tip.is-open { display: block; animation: pop .18s var(--ease); }
.gloss-tip img { width: 100%; height: auto; max-height: 240px; object-fit: contain; border-radius: 8px; margin-bottom: .6rem; }
.gloss-tip strong { font-family: var(--font-display); display: block; margin-bottom: .25rem; }
.gloss-tip a.gloss-tip__more { display: inline-block; margin-top: .45rem; font-weight: 620; }
@media (hover: none) { .gloss-tip { display: none !important; } }

/* ---------- Quiz ---------- */
.quiz { background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem clamp(1rem, 3vw, 2rem); margin: 1.8rem 0; }
.quiz__q { font-family: var(--font-display); font-size: 1.18rem; font-weight: 620; margin-bottom: 1rem; }
.quiz__opts { display: grid; gap: .6rem; margin-bottom: 1rem; }
.quiz__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.quiz__head .quiz__count b { color: var(--ink); font-weight: 650; }
.quiz__sep { margin: 0 .55rem; opacity: .5; }
.quiz__pts { color: var(--accent) !important; }
.quiz__again { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border-radius: 9px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .85rem; font-weight: 560; cursor: pointer; }
.quiz__again:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.quiz__prog { height: 6px; margin: .7rem 0 1.4rem; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.quiz__prog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff)); transition: width .3s var(--ease); }
.quiz__opt { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; padding: .8rem 1rem; border-radius: 11px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .97rem; cursor: pointer; transition: border-color .15s, background .15s, opacity .15s; }
.quiz__opt:hover:not(:disabled) { border-color: var(--accent); }
.quiz__opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__opt:disabled { cursor: default; }
.quiz__num { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 650; }
.quiz__txt { flex: 1; min-width: 0; }
.quiz__mark { flex: none; display: grid; place-items: center; min-width: 20px; }
.quiz__opt.is-right { border-color: #3f9d5f; background: color-mix(in srgb, #3f9d5f 13%, transparent); }
.quiz__opt.is-right .quiz__mark { color: #3f9d5f; }
.quiz__opt.is-wrong { border-color: #c9563a; background: color-mix(in srgb, #c9563a 12%, transparent); }
.quiz__opt.is-wrong .quiz__mark { color: #c9563a; }
.quiz__opt.is-dim { opacity: .55; }
.quiz__verdict { font-weight: 700; margin: .2rem 0 0; }
.quiz__verdict.is-ok { color: #3f9d5f; }
.quiz__verdict.is-no { color: #c9563a; }
.quiz__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; min-height: 44px; }
.quiz__back { padding: .5rem .7rem; border-radius: 9px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 560; cursor: pointer; }
.quiz__back:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.quiz__back[hidden] { display: block; visibility: hidden; }
.quiz__actions .btn { margin-left: auto; }
.quiz__label { color: var(--ink-2); margin: 0 0 .6rem; }
.sorter .sorter__stmt { margin-bottom: 1rem; }
.quiz__opts--grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .quiz__opts--grid { grid-template-columns: 1fr; } }
/* Nach richtiger Antwort: 3 s Zeit für die Erklärung; der Balken am oberen Rand der Kachel schrumpft mit (site.js QUIZ_WARTE_MS).
   Niels 2026-09-24: nicht im Weiter-Knopf, sondern oben an der Kachel. */
.quiz { position: relative; overflow: hidden; }
.quiz__timer { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--accent); transform-origin: left; animation: quiz-timer linear forwards; }
@keyframes quiz-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.quiz__explain { display: none; border-left: 3px solid var(--accent); padding: .6rem 1rem; margin: .8rem 0; background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 9px 9px 0; font-size: .93rem; }
.quiz__explain.is-open { display: block; }
.quiz__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.quiz__count { font-size: .85rem; color: var(--ink-2); }
.quiz__result { text-align: center; padding: 1.2rem 0 .4rem; }
.quiz__score { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); font-weight: 700; }

/* ---------- Lernkarten ---------- */
.cards-app { margin: 1.8rem 0; }
.fcard { perspective: 1400px; max-width: 560px; margin: 0 auto 1rem; }
.fcard__in { position: relative; width: 100%; min-height: 250px; transform-style: preserve-3d; transition: transform .55s var(--ease); cursor: pointer; }
.fcard.is-flipped .fcard__in { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .fcard__in { transition: none; } }
.fcard__face { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--box); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fcard__face--back { transform: rotateY(180deg); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.fcard__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.fcard__txt { font-size: 1.08rem; }
.fcard__face--front .fcard__txt { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.cards-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.cards-progress { text-align: center; color: var(--ink-2); font-size: .88rem; margin-top: .8rem; }
.cards-progress .bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 380px; margin: .45rem auto 0; }
.cards-progress .bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #e4bd63); transition: width .3s var(--ease); }

/* ---------- Maximen-Prüfer & Sortierer ---------- */
.maxim, .sorter { background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem clamp(1rem, 3vw, 2rem); margin: 1.8rem 0; }
.maxim__stage { min-height: 120px; margin: 1rem 0; }
.maxim__phase { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; display: block; }
.maxim__txt { font-family: var(--font-display); font-size: 1.14rem; }
.maxim__opts, .sorter__opts { display: grid; gap: .55rem; margin: .9rem 0; }
.verdict { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 99px; font-weight: 650; font-size: .95rem; }
.verdict--ok { background: color-mix(in srgb, #3f9d5f 16%, transparent); color: #46b06c; }
.verdict--fail { background: color-mix(in srgb, #c9563a 15%, transparent); color: #d4694c; }
.sorter__stmt { font-family: var(--font-display); font-size: 1.12rem; padding: .9rem 1.1rem; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 10px 10px 0; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--box); margin-bottom: .8rem; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-family: var(--font-display); font-weight: 620; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .chev { flex: 0 0 auto; transition: transform .25s var(--ease); display: inline-grid; place-items: center; }
.faq details[open]:not([data-schliesst]) summary > .chev { transform: rotate(180deg); }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

/* ---------- Footer / Sonstiges ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 2.6rem 0 1.6rem; margin-top: 0; }
.site-foot__in { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.site-foot__cols { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; margin-bottom: 1.6rem; }
.site-foot__brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 650; margin: 0 0 .5rem; }
.site-foot__brand span { color: var(--ink-2); font-weight: 400; font-size: .9rem; margin-left: .4rem; }
.site-foot__note { max-width: 54ch; color: var(--ink-2); font-size: .85rem; margin: 0; }
.site-foot nav { display: flex; flex-direction: column; gap: .35rem; }
.site-foot nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.site-foot nav a:hover { color: var(--accent); }
.site-foot__legal { color: var(--ink-2); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: 0; }
.site-foot__legal a { color: var(--ink-2); }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--box); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); }
.totop.is-visible { opacity: 1; pointer-events: auto; }
.totop:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Reveal (nur mit JS aktiv; reduced-motion → sofort sichtbar) ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Drei-Fragen-Portal (Home) ---------- */
/* Die vier Fragen: drei Karten nebeneinander, deren Linien in die vierte münden (Kant, Logik:
   „weil sich die drei ersten Fragen auf die letzte beziehen“). Unter 860 px eine Spalte, die
   Linien werden zu einem senkrechten Faden. */
.threeq { display: grid; column-gap: 1.2rem; row-gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0; }
.threeq__card { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius); background: var(--box); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.threeq__card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
/* Ordinalwort statt großer 1/2/3 — die Kapitel zählen römisch, zwei Zählweisen nebeneinander wirkten uneinheitlich. */
.threeq__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .8rem; margin-bottom: .8rem; }
.threeq__ord { font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.threeq__fach { font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--ink-2); }
.threeq__card h3 { font-style: italic; font-weight: 560; }
.threeq__card p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.threeq__card .goto { display: inline-block; margin-top: auto; padding-top: .9rem; color: var(--accent); font-weight: 640; font-size: .9rem; }

.threeq__join { grid-column: 1 / -1; height: 3.4rem; color: var(--accent); }
.threeq__join svg { display: block; width: 100%; height: 100%; overflow: visible; }
.threeq__join path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .7; }
/* Linien zeichnen sich von oben nach unten, wenn der Block ins Bild kommt. */
html.js .threeq__join.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease) .25s; }
html.js .threeq__join.reveal.is-visible { clip-path: inset(0); }

.threeq__card--mensch { overflow: visible; grid-column: 1 / -1; justify-self: center; width: min(100%, 50rem); display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.8rem; padding: 1.9rem 2rem 1.7rem;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, var(--box)), var(--box) 60%); }
.threeq__card--mensch::before { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); box-shadow: 0 0 10px var(--accent); }
.threeq__titel { display: block; }
.threeq__card--mensch h3 { font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.15; margin: 0; }
.threeq__text { display: flex; flex-direction: column; }
.threeq__zitat { margin: 0 0 .9rem; padding-left: 1rem; border-left: 2px solid var(--accent); }
.threeq__card .threeq__zitat p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: var(--ink); margin: 0 0 .3rem; }
.threeq__zitat cite { font-style: normal; font-size: .8rem; color: var(--ink-2); }

/* Kopf, Frage, Text und Link der drei Karten liegen auf gemeinsamen Zeilen — bricht der Kopf in
   einer Karte um, stehen die Fragen trotzdem auf einer Höhe. */
@media (min-width: 861px) {
  .threeq__card:not(.threeq__card--mensch) { grid-row: span 4; display: grid; grid-template-rows: subgrid; }
  .threeq__card:not(.threeq__card--mensch) .goto { align-self: end; }
}
@media (max-width: 860px) {
  .threeq { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; }
  .threeq__join { height: 2.2rem; margin: -1.2rem 0; }
  .threeq__join svg { display: none; }
  .threeq__join::before { content: ""; display: block; width: 1.5px; height: 100%; margin: 0 auto; background: var(--accent); opacity: .7; }
}
@media (max-width: 600px) {
  .threeq__card--mensch { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.6rem 1.5rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html.js .threeq__join.reveal { clip-path: none; transition: none; } }

/* ---------- Werk-Liste / Detail-Kopf ---------- */
.werk-head { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.werk-head .fig { flex: 0 1 300px; margin-top: 0; }
.werk-head__txt { flex: 1 1 380px; }
.pill { display: inline-block; padding: .3rem .8rem; border-radius: 99px; font-size: .8rem; font-weight: 620; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); margin-bottom: .9rem; }

/* ---------- Vorlese-Player (KI-Stimme) ---------- */
/* Auslöser = Pille unter Titel + Einleitung (build/audio.mjs mitVorleseKnopf, Niels 01.10.2026): Klick lädt das Audio
   in EINEN globalen, unten fixierten Balken (.ra-bar). Zustand setzt site.js als data-ra-zustand: ruhe | weiter | spielt.
   „KI-Stimme“ steht nur im Text des Zustands „spielt“ (die anderen Texte sind per hidden aus). Der Balken spielt über
   Seitenwechsel weiter (localStorage + bfcache). <noscript> hält einen schlichten Inline-Player. */
.ra-knopf-zeile { margin: 1.15rem 0 1.5rem; }
.ra-knopf { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%;
  padding: .32rem .95rem .32rem .34rem; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  color: var(--ink); background: var(--box); cursor: pointer; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--ink-2) 45%, var(--line)); border-radius: 999px;
  transition: border-color .15s ease, background-color .15s ease; }
.ra-knopf:hover { border-color: var(--accent); }
.ra-knopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ra-knopf__ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: #14110a; }
.ra-knopf__play { margin-left: 2px; }   /* Dreieck optisch mittig */
.ra-knopf__pause { display: none; }
.ra-knopf__text { overflow: hidden; text-overflow: ellipsis; }
.ra-knopf__text[hidden] { display: none; }
.ra-knopf[data-ra-zustand="spielt"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--box)); }
.ra-knopf[data-ra-zustand="spielt"] .ra-knopf__play { display: none; }
.ra-knopf[data-ra-zustand="spielt"] .ra-knopf__pause { display: block; }
.ra-knopf-zeile noscript audio, .ra-knopf__audio { display: block; width: 100%; max-width: 460px; height: 38px; margin-top: .6rem; }

/* Globaler, unten fixierter Vorlese-Balken (von site.js erzeugt und an <body> gehängt). */
.ra-bar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 95;
  display: flex; justify-content: center; align-items: center; padding: .5rem clamp(.7rem, 4vw, 1.6rem);
  background: var(--box); border-top: 1px solid var(--line); box-shadow: 0 -6px 26px rgba(8, 15, 34, .18);
  transition: transform .28s var(--ease); }
.ra-bar[hidden] { display: none; }
/* Nach 10 s Ruhe fährt der Balken nach unten weg; 3 s holt ihn die Maus am unteren Rand zurück (site.js, wie heimseiten.de). */
.ra-bar { transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .6s ease; }
.ra-bar.is-weg { transform: translateY(calc(100% + 12px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ra-bar { transition: none; } }
.ra-bar__inner { display: flex; align-items: center; gap: .55rem; width: 100%; max-width: var(--wrap); }
.ra-bar__skip { flex: 0 0 auto; font: inherit; font-size: .72rem; font-weight: 700; color: var(--ink-2);
  background: none; border: 1px solid var(--line); border-radius: 5px; padding: .18rem .38rem; min-width: 1.9rem; cursor: pointer; }
.ra-bar__skip:hover { color: var(--ink); border-color: var(--ink); }
.ra-bar__play { flex: 0 0 auto; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--accent); color: #14110a; font-size: .78rem; line-height: 1; cursor: pointer; }
.ra-bar__play:hover { filter: brightness(1.08); }
.ra-bar__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .22rem; }
.ra-bar__label { display: block; min-width: 0; max-width: 100%; font-size: .82rem; font-weight: 600; color: var(--ink); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra-bar__label:hover { text-decoration: underline; }
/* Titelzeile mit „KI-Stimme“ dahinter — nur während der Wiedergabe (site.js sync). */
.ra-bar__zeile { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.ra-bar__zeile .ra-bar__label { flex: 0 1 auto; }
.ra-bar__ki { flex: 0 0 auto; font-size: .72rem; line-height: 1; color: var(--ink-2); white-space: nowrap; }
.ra-bar__ki[hidden] { display: none; }
.ra-bar__seek { position: relative; height: 8px; background: var(--line); border-radius: 4px; cursor: pointer; touch-action: none; }
.ra-bar__played { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); border-radius: 4px; }
.ra-bar__knob { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin-left: -6px; transform: translateY(-50%);
  background: var(--accent); border: 2px solid var(--box); border-radius: 50%; box-shadow: 0 0 2px rgba(0, 0, 0, .3); }
.ra-bar__seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ra-bar__time { flex: 0 0 auto; font-size: .76rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ra-bar__audio { display: none; }
.ra-bar__close { flex: 0 0 auto; background: transparent; border: 0; font-size: 1.5rem; line-height: 1;
  color: var(--ink-2); cursor: pointer; padding: 0 .25rem; }
.ra-bar__close:hover { color: var(--ink); }
/* Handy: Titel ist dort aus, die Zeile trägt nur den Hinweis — Platz bleibt reserviert, damit der Balken bei Play/Pause nicht in der Höhe springt. */
@media (max-width: 560px) { .ra-bar__label { display: none; } .ra-bar__ki[hidden] { display: inline; visibility: hidden; } }
@media (max-width: 400px) { .ra-bar__skip { display: none; } }
@media (prefers-reduced-motion: reduce) { .ra-bar { transition: none; } }

/* ---------- Print ---------- */
@media print { .site-head, .site-foot, .totop, .hero__cta, .ra-bar, .ra-knopf-zeile { display: none; } body { background: #fff; color: #000; } }

/* Sanfte Seitenübergänge (View Transitions), wie heimseiten.de (Niels 2026-09-24) */
@view-transition { navigation: auto; }
/* ohne main-Präfix — die Pseudo-Elemente hängen am Wurzelelement (Niels 2026-09-24) */
::view-transition-old(root) { animation: fade-out 0.4s ease forwards; }
::view-transition-new(root) { animation: fade-in 0.4s ease forwards; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Begriffsnetz (Glossar, build/begriffsnetz.mjs) ---------- */
.netz { margin: 1.4rem 0 .6rem; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.netz svg { display: block; width: 100%; min-width: 640px; height: auto; }
.netz__kanten line { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1; transition: stroke .2s, opacity .2s; }
.netz__knoten circle { fill: var(--accent); stroke: var(--box); stroke-width: 2; transition: opacity .2s, r .2s; }
.netz__knoten text { font: 600 12.5px var(--font-text); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--box); stroke-width: 3px; transition: opacity .2s; }
.netz__knoten:focus-visible { outline: none; }
.netz__knoten:focus-visible circle { stroke: var(--ink); stroke-width: 3; }
.netz.is-aktiv .netz__kanten line { opacity: .12; }
.netz.is-aktiv .netz__kanten line.is-an { opacity: 1; stroke: var(--accent); stroke-width: 2; }
.netz.is-aktiv .netz__knoten { opacity: .25; }
.netz.is-aktiv .netz__knoten.is-an { opacity: 1; }

/* ---------- Hörbuch (Startseite) ---------- */
.hoerbuch { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.2rem; }
.hoerbuch__note { color: var(--ink-2); font-size: .8rem; }
.hoerbuch__inhalt { flex-basis: 100%; margin-top: .4rem; }
.hoerbuch__inhalt summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.hoerbuch__inhalt ol { margin: .6rem 0 0; padding-left: 1.4rem; display: grid; gap: .25rem; }
.hoerbuch__inhalt li a { color: var(--ink); text-decoration: none; }
.hoerbuch__inhalt li a:hover { color: var(--accent); }
.hoerbuch__inhalt li span { color: var(--ink-2); font-size: .85rem; font-variant-numeric: tabular-nums; margin-left: .6rem; }

/* ---------- Eigene Maxime prüfen (Ethik) ---------- */
.maxim-eigen__h { margin-top: 2.4rem; }
.maxim-eigen__in { display: block; width: 100%; box-sizing: border-box; margin: .6rem 0; padding: .75rem .9rem; border-radius: 11px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 1rem; resize: vertical; }
.maxim-eigen__in:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.maxim-eigen__fehler { color: #c9563a; font-size: .9rem; margin: 0 0 .6rem; }
.maxim-eigen__bsp { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .2rem 0 1.1rem; font-size: .85rem; color: var(--ink-2); }
.maxim-eigen__bsp .chip { text-align: left; }
.maxim-eigen__wahl { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .maxim-eigen__wahl { grid-template-columns: 1fr; } }
.maxim-eigen__hinweis { color: var(--ink-2); font-size: .85rem; }

/* ---------- Kants Tag als Uhr (Leben) ---------- */
/* Liste UNTER dem Zifferblatt (Niels 2026-09-24: sonst rückte sie mit der Textlänge auf und ab);
   der Text hält die Höhe des längsten Eintrags (site.js), Handy: Uhr · Text · Liste. */
.uhr { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-areas: "blatt text" "liste text"; gap: 1.2rem 2rem; align-items: start; margin: 1.4rem 0; padding: 1.4rem; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.uhr__blatt { grid-area: blatt; } .uhr__text { grid-area: text; } .uhr__liste { grid-area: liste; }
@media (max-width: 760px) { .uhr { grid-template-columns: minmax(0, 1fr); grid-template-areas: "blatt" "text" "liste"; } .uhr__blatt { max-width: 320px; margin: 0 auto; width: 100%; } }
.uhr svg { display: block; width: 100%; height: auto; }
.uhr__rand { fill: color-mix(in srgb, var(--ink) 3%, var(--box)); stroke: var(--line); }
.uhr__striche line { stroke: var(--ink-2); stroke-width: 1.4; opacity: .6; }
.uhr__ziffern text { font: 600 13px var(--font-text); fill: var(--ink-2); text-anchor: middle; }
.uhr__seg { fill: none; stroke: color-mix(in srgb, var(--accent) 45%, transparent); stroke-width: 26; cursor: pointer; transition: stroke .2s; }
.uhr__seg.uhr__seg--b { stroke: color-mix(in srgb, var(--accent) 28%, transparent); }
.uhr__seg--nacht, .uhr__seg--nacht.uhr__seg--b { stroke: color-mix(in srgb, var(--ink) 16%, transparent); }
.uhr__seg:hover, .uhr__seg.is-an { stroke: var(--accent); }
.uhr__seg--punkt { stroke: none; }
.uhr__seg--punkt circle { fill: var(--box); stroke: var(--accent); stroke-width: 3; }
.uhr__seg--punkt.is-an circle { fill: var(--accent); }
.uhr__seg--punkt .uhr__alt { stroke-dasharray: 3 3; stroke-width: 2; fill: none; }
.uhr__zeiger { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 200px 200px; transition: transform .6s var(--ease); }
.uhr__nabe { fill: var(--ink); }
@media (prefers-reduced-motion: reduce) { .uhr__zeiger { transition: none; } }
.uhr__jetzt-satz { color: var(--ink-2); font-size: .9rem; margin: .5rem 0 0; min-height: 3.2em; }   /* Platz für zwei Zeilen, damit nichts springt */
.uhr__kopf { margin: .8rem 0 .3rem; display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline; }
.uhr__kopf-zeit { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.uhr__kopf-titel { font-family: var(--font-display); font-size: 1.2rem; }
.uhr__erkl { margin: 0 0 .4rem; }
.uhr__src { border: 0; padding: 0; }
.uhr__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .3rem; }
.uhr__knopf, .karte__ort { display: flex; gap: .6rem; align-items: baseline; width: 100%; text-align: left; padding: .45rem .6rem; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; }
.uhr__knopf:hover, .karte__ort:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.uhr__knopf.is-an, .karte__ort.is-an { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.uhr__zeit { color: var(--ink-2); font-size: .8rem; min-width: 4.4rem; font-variant-numeric: tabular-nums; }

/* ---------- Königsberg-Karte (Leben) ---------- */
.karte__bild { margin: 1.2rem 0 .6rem; max-width: none; }
.karte__flaeche { position: relative; display: block; }
.karte__flaeche img { display: block; width: 100%; height: auto; }
.karte__pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: #8a5a1c; color: #fff; font: 700 13px var(--font-text); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: transform .2s var(--ease), background .2s; }
.karte__pin:hover { transform: translate(-50%, -50%) scale(1.12); }
.karte__pin.is-an { background: #c0392b; transform: translate(-50%, -50%) scale(1.22); z-index: 2; }
.karte__pin:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .karte__pin { width: 24px; height: 24px; font-size: 11px; } }
.karte__info.is-neu { animation: karte-neu .9s var(--ease); }
@keyframes karte-neu { from { box-shadow: 0 0 0 3px var(--accent); } to { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .karte__info.is-neu { animation: none; } }
.karte__info { scroll-margin: 90px 0 24px; padding: 1rem 1.2rem; background: var(--box); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.karte__titel { font-family: var(--font-display); font-size: 1.15rem; font-weight: 620; margin: 0 0 .3rem; }
.karte__erkl { margin: 0 0 .3rem; }
.karte__src { border: 0; padding: 0; margin: 0; }
.karte__liste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .35rem; }
.karte__nr { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #8a5a1c; color: #fff; font-size: .75rem; font-weight: 700; }
/* Uhr-Liste unter dem Zifferblatt: Uhrzeit über dem Titel, sonst ragt „Die Tischgesellschaft“ aus der schmalen Spalte */
.uhr__liste .uhr__knopf { flex-direction: column; align-items: flex-start; gap: .05rem; line-height: 1.3; }
.uhr__liste .uhr__zeit { min-width: 0; font-size: .75rem; }

/* =====================================================================================
   Gestaltungsrunde 24.09.2026 (Niels: „ästhetischer, eleganter, interessanter“)
   ===================================================================================== */

/* ---------- Fußzeile als Nachthimmel: Klammer zum Kopfbereich ----------
   Oben „der bestirnte Himmel über mir“, unten dieselbe Nacht mit der zweiten Satzhälfte.
   In beiden Themen dunkel (wie der Kopfbereich) — deshalb eigene Tokens im Block. */
.site-foot { position: relative; overflow: clip; isolation: isolate;
  --ink: #efe9da; --ink-2: #a8b0c4; --line: rgba(211, 169, 79, .2); --accent: #d3a94f;
  color: var(--ink); padding: clamp(4.2rem, 10vw, 7rem) 0 1.6rem;
  border-top: 1px solid color-mix(in srgb, #d3a94f 55%, transparent);
  background: radial-gradient(70% 90px at 50% 0%, color-mix(in srgb, var(--hero-horizon) 30%, transparent), transparent 100%),
              linear-gradient(to bottom, var(--hero-sky-2) 0%, var(--hero-sky-1) 100%); }
.site-foot .sternenfeld { z-index: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); }
.site-foot__in { position: relative; z-index: 1; }
.site-foot__motto { text-align: center; margin: 0 auto clamp(2.8rem, 6vw, 4rem); }
.site-foot__mark { display: inline-block; color: var(--accent); margin-bottom: 1rem; filter: drop-shadow(0 0 10px color-mix(in srgb, #d3a94f 45%, transparent)); }
.site-foot__mark svg { width: 46px; height: auto; display: block; }
.site-foot__quote { font-family: var(--font-display); font-style: italic; font-weight: 420; font-size: clamp(1.55rem, 3.6vw, 2.5rem); line-height: 1.2; margin: 0 0 .7rem; color: #f3ead3; }
.site-foot__cite { font-size: .8rem; margin: 0; }
.site-foot__cite a { color: var(--ink-2); }
.site-foot__cite a:hover, .site-foot nav a:hover { color: var(--accent); }
.site-foot__cols { border-top: 1px solid var(--line); padding-top: 2rem; }

/* ---------- Zwischenband „Sapere aude!“ (Startseite) ----------
   Nachtblau mit Morgenlicht von unten — Aufklärung als Tagesanbruch. Ohne Sterne: die gehören
   an Anfang und Ende der Seite. */
.sapere { position: relative; overflow: clip; text-align: center; color: #efe9da;
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 4.5rem);
  background: radial-gradient(90% 75% at 50% 118%, color-mix(in srgb, var(--hero-horizon) 42%, transparent) 0%, transparent 62%),
              linear-gradient(to bottom, var(--hero-sky-1), var(--hero-sky-2)); }
.sapere__kicker { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: #d3a94f; margin: 0 0 1.1rem; }
.sapere__motto { font-style: italic; font-weight: 380; font-size: clamp(3.3rem, 11.5vw, 8.6rem); line-height: 1; letter-spacing: -.015em; margin: 0; padding: 0 .12em .06em;
  color: #ecd9a6; background: linear-gradient(180deg, #fbf3dc 10%, #d3a94f 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sapere__satz { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.35; max-width: 26ch; margin: 1.1rem auto 1.7rem; color: #f2ecdf; }
.sapere__weiter { display: inline-block; color: #d3a94f; font-weight: 640; text-decoration: none; }
.sapere__weiter:hover { color: #f3dfa6; }
.sapere .src { display: table; margin: 2.6rem auto 0; text-align: left; color: #aab5cc; }
.sapere .src a { color: #aab5cc; }

/* ---------- „Kant in fünf Minuten“: Stichwort am Rand statt Tabelle ---------- */
.kurz { margin: 1.4rem 0 1.2rem; border-top: 1px solid var(--line); }
.kurz__item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.6rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.kurz__wort { margin: 0; font-style: italic; font-weight: 480; font-size: 1.4rem; line-height: 1.2; color: var(--accent); text-align: right; }
.kurz__item p { margin: 0; font-size: 1.03rem; line-height: 1.7; }
@media (max-width: 620px) { .kurz__item { grid-template-columns: minmax(0, 1fr); gap: .35rem; } .kurz__wort { text-align: left; } }

/* ---------- Anreißer „Kant oder nicht Kant?“ (Startseite) ---------- */
.kot { position: relative; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3.4vw, 2.2rem); }
.kot__q { font-family: var(--font-display); font-style: italic; font-weight: 440; font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.45; margin: 0 0 1.4rem; }
.kot__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.kot__opt { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 620; cursor: pointer; transition: border-color .2s, background .2s; }
.kot__opt:hover:not(:disabled) { border-color: var(--accent); }
.kot__opt:disabled { cursor: default; }
.kot__opt.is-right { border-color: #3f9d5f; background: color-mix(in srgb, #3f9d5f 13%, transparent); }
.kot__opt.is-right svg { color: #3f9d5f; }
.kot__opt.is-wrong { border-color: #c9563a; background: color-mix(in srgb, #c9563a 12%, transparent); }
.kot__opt.is-wrong svg { color: #c9563a; }
.kot__opt.is-dim { opacity: .55; }
.kot__fb:empty { display: none; }
.kot__verdict { font-weight: 700; margin: 1.3rem 0 .35rem; }
.kot__verdict.is-ok { color: #3f9d5f; }
.kot__verdict.is-no { color: #c9563a; }
.kot__explain { color: var(--ink-2); font-size: .95rem; margin: 0 0 1.2rem; }
.kot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.kot__all { color: var(--accent); font-weight: 640; text-decoration: none; }
@media (max-width: 480px) { .kot__opts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Schmuck-Initial am Kapitelanfang ----------
   initial-letter rechnet die Zeilen selbst (Chrome, Safari); Firefox zeigt den normalen Einstieg. */
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  :is(.chapter-eyebrow ~ h1, .werk-head__txt > h1) + .lead::first-letter {
    -webkit-initial-letter: 2; initial-letter: 2; font-family: var(--font-display); font-weight: 600; color: var(--accent); margin-right: .4rem; }
}

/* ---------- Zierstück auf jedem Bandwechsel ----------
   Stern mit zwei Punkten auf der Trennlinie (das Sternbild-Motiv). ::before deckt die Linie unter dem
   Zierstück ab, ::after zeichnet es. ⚠️ mask als Einzel-Eigenschaften — die Kurzform ohne Position fällt
   lautlos weg (Frontend-Falle). */
.band { position: relative; }
/* ⚠️ Die Linie ist der 1-px-border-top des Bandes; `top` misst ab der INNENkante, also UNTER der Linie.
   Darum top: -1px (Lücke genau auf der Linienzeile, nicht 1 px ins Nachbarband — sonst ein „Kasten“) und
   Zierstück 15 px hoch mit top: -8px → seine Mitte liegt auf der Linienzeile; KEIN translateY(-50%) — das landet auf
   einem halben Pixel und rundet je nach Bandlage mal hoch, mal runter (gemessen ±½ px). Lücke 56 px = Punkte (±20 px) + je 8 px Luft. */
.band + .band::before, .band + .band::after { content: ""; position: absolute; left: 50%; pointer-events: none; }
.band + .band::before { top: -1px; width: 56px; height: 1px; transform: translateX(-50%); background: inherit; }
.band + .band::after { top: -8px; width: 72px; height: 15px; transform: translateX(-50%); background-color: color-mix(in srgb, var(--accent) 80%, transparent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 15'%3E%3Ccircle cx='18' cy='7.5' r='2'/%3E%3Cpath d='M36 .7l1.9 5 5 1.8-5 1.8-1.9 5-1.9-5-5-1.8 5-1.8z'/%3E%3Ccircle cx='54' cy='7.5' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 15'%3E%3Ccircle cx='18' cy='7.5' r='2'/%3E%3Cpath d='M36 .7l1.9 5 5 1.8-5 1.8-1.9 5-1.9-5-5-1.8 5-1.8z'/%3E%3Ccircle cx='54' cy='7.5' r='2'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }

/* ---------- Quellen als Randnotiz auf breiten Bildschirmen ----------
   Nur echte Quellenzeilen direkt im Textblock; `.src` mit Inline-Stil sind Navigationszeilen
   („← Alle Werke“, „Weiter im Kapitel …“) und bleiben im Fluss. Ohne `top` sitzt die Notiz auf der
   Höhe, an der sie im Fluss stünde; translateY(-100%) hebt sie so an, dass sie BÜNDIG mit dem Ende ihres
   Blocks abschließt (sonst ragte sie am Bandende über die Kante). */
@media (min-width: 1320px) {
  main .wrap--text { position: relative; }
  main .wrap--text > .src:not([style]) { position: absolute; left: calc(100% + .25rem); width: 200px; margin: 0; transform: translateY(-100%); font-size: .74rem; line-height: 1.5; }
}

/* ---------- Kopfzeile bei 320–380 px: ragte 42 px über (gemessen 24.09.), jetzt innerhalb des 16-px-Rands ---------- */
@media (max-width: 380px) {
  .langmenu__btn svg { display: none; }
  .head-tools { gap: .25rem; }
  .brand { gap: .45rem; }
  .brand__txt strong { font-size: 1rem; }
  .langmenu__btn { padding: 0 .55rem; }
}
@media (max-width: 360px) {
  .head-tools { gap: .15rem; }
  .tool { min-width: 38px; height: 38px; }
  .brand__mark { width: 26px; }
  .brand__txt strong { font-size: .94rem; }
}

/* Große Zitatzeilen ausgleichen — sonst steht auf dem Handy „mir.“ allein in der letzten Zeile. */
.site-foot__quote, .sapere__satz, .kot__q, .threeq__zitat p { text-wrap: balance; }

/* Einbettungs-Box (<details class="kr__embed">) auf Ethik-, Start- und Lernseite */
.kr__embed { margin-top: 1.25rem; padding: .75rem 1rem; border: 1px solid var(--line, rgba(128,128,128,.3)); border-radius: 8px; font-size: .9rem; background: var(--box); }
.kr__embed summary { cursor: pointer; font-weight: 600; user-select: none; }
.kr__embed-body { margin-top: .75rem; display: grid; gap: .6rem; }
.kr__embed-help { margin: 0; opacity: .85; }
.kr__embed-code { width: 100%; box-sizing: border-box; padding: .6rem .75rem; border: 1px solid var(--line, rgba(128,128,128,.35)); border-radius: 6px; background: rgba(0,0,0,.04); color: inherit; font: .78rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.kr__embed-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Mitlesen beim Vorlesen (Niels 27.09.2026): gesprochener Satz dezent, gesprochenes Wort kräftiger.
   Markiert von /assets/js/mitlesen.js (Kopie von ~/projects/tools/tts/read-aloud/mitlesen.js) über die CSS Custom
   Highlight API — nur Hinterlegung, keine Textfarbe. Farbe = --accent (Gold, hell #a97d1e, dunkel #d3a94f). */
::highlight(mitlesen-satz) {
  background-color: color-mix(in srgb, var(--accent) 14%, transparent);
}
::highlight(mitlesen-wort) {
  background-color: color-mix(in srgb, var(--accent) 34%, transparent);
}
@media (forced-colors: active) {
  ::highlight(mitlesen-satz) {
    background-color: transparent;
    color: CanvasText;
    text-decoration: underline;
  }
  ::highlight(mitlesen-wort) {
    background-color: Mark;
    color: MarkText;
  }
}

/* >>> wiki-bewegung (aus _shared/bewegung.css) */
/* Bewegung (Checkliste B5 + B2): aufklappbare Bereiche und Hell/Dunkel-Wechsel. Quelle: _shared/bewegung.css */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details:not(.langdd, [data-langdd], [data-ohne-bewegung])::details-content {
      block-size: 0; overflow-y: clip;
      transition: block-size .32s cubic-bezier(.2,.7,.2,1), content-visibility .32s allow-discrete;
    }
    details:not(.langdd, [data-langdd], [data-ohne-bewegung])[open]::details-content { block-size: auto; }
  }
}
html.thema-wechsel::view-transition-old(root),
html.thema-wechsel::view-transition-new(root) { animation-duration: .4s; animation-timing-function: ease; }
/* <<< wiki-bewegung */
