/* jesus-der-ausserirdische.de, Theme "Protokoll" (T2 26.11.2026)
   Buchlayout für einen Roman: Pergament und Nachtblau, Gold für Auszeichnungen, wenige Zeichen einer Behördenakte als Akzent.
   Drei Lesemodi (hell, Sepia, dunkel), drei Schriftgrößen, Lesespalte um 800 px, ab 1100 px 19 px Schrift.
   Keine schwebenden Kästen; einzige mitlaufende Sache ist die Fortschrittslinie der Kapitelseiten. Schriften lokal (OFL). */

@font-face { font-family: "Literata"; src: url("fonts/literata-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --rand: 16px;
  --spalte: 800px;
  --lese: 1.0625rem;
  --lese-faktor: 1;

  --grund: #f6f1e4;
  --flaeche: #fbf8ef;
  --flaeche-2: #efe7d4;
  --text: #1c2236;
  --text-2: #4c5166;
  --linie: #ddd3bc;
  --linie-2: #c6b894;
  --link: #203466;
  --akzent: #1b2a50;
  --akzent-text: #fbf6e8;
  --gold: #805716;
  --gold-deko: #b8862f;
  --nacht: #0f1730;
  --nacht-2: #182447;
  --auf-nacht: #efe7d2;
  --auf-nacht-2: #c3c3cc;
  --gold-hell: #e4c072;
  --schatten: 0 1px 2px rgba(28, 34, 54, .06), 0 6px 22px rgba(28, 34, 54, .07);
  color-scheme: light;
}
html.modus-sepia {
  --grund: #efe4cb; --flaeche: #f6ecd7; --flaeche-2: #e6d7b6; --text: #33281a; --text-2: #5f4f3b; --linie: #d8c6a0; --linie-2: #c2aa7c;
  --link: #5b3410; --akzent: #4f3418; --akzent-text: #f8efdc; --gold: #74500f; --gold-deko: #a87a2c;
}
@media (prefers-color-scheme: dark) {
  html:not(.modus-hell):not(.modus-sepia) {
    --grund: #0e1528; --flaeche: #141d35; --flaeche-2: #19233f; --text: #e9e3d3; --text-2: #b0b4c3; --linie: #263257; --linie-2: #34426c;
    --link: #ecc97e; --akzent: #e4c072; --akzent-text: #111a31; --gold: #e4c072; --gold-deko: #d6ae5c; --nacht: #0a1022; --nacht-2: #131c38;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28); color-scheme: dark;
  }
}
html.modus-dunkel {
  --grund: #0e1528; --flaeche: #141d35; --flaeche-2: #19233f; --text: #e9e3d3; --text-2: #b0b4c3; --linie: #263257; --linie-2: #34426c;
  --link: #ecc97e; --akzent: #e4c072; --akzent-text: #111a31; --gold: #e4c072; --gold-deko: #d6ae5c; --nacht: #0a1022; --nacht-2: #131c38;
  --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28); color-scheme: dark;
}
html.schrift-2 { --lese-faktor: 1.1; }
html.schrift-3 { --lese-faktor: 1.22; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--serif); font-size: 1rem; line-height: 1.6; font-optical-sizing: auto; overflow-x: hidden; }
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--gold-deko); }
:focus-visible { outline: 2px solid var(--gold-deko); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
@media (max-width: 520px) { h1 { hyphens: auto; -webkit-hyphens: auto; } }
p { margin: 0 0 1em; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--akzent); color: var(--akzent-text); padding: 10px 16px; font-family: var(--sans); }
.sprung:focus { top: 12px; }
.nur-js { display: none !important; }
html.js .nur-js { display: inline-flex !important; }
.huelle { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.huelle.schmal { max-width: calc(var(--spalte) + 2 * var(--rand) + 80px); }
.lesespalte { width: 100%; max-width: calc(var(--spalte) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.symbol { flex: none; }

/* ---------- Kennungen, Knöpfe ---------- */
.kennung, .teil-nr, .karte-kennung, .im-roman-kennung, .weiter-kennung, .sv-kennung, .vermerk, .panel-titel, .fuss-titel, .vorlaeufig-kopf, .protokoll-kopf, .akte-zeile, .iv-nr, .eckdaten, .wl-host, .kapitel-ort {
  font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.kennung { color: var(--gold); margin: 0 0 .9rem; }
.vermerk { color: var(--gold); letter-spacing: .1em; font-size: .68rem; margin: .5rem 0 0; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.2rem; }
.knopf { display: inline-flex; align-items: center; gap: .55em; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .85em 1.35em; border-radius: 3px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.knopf-haupt { background: var(--akzent); color: var(--akzent-text); }
.knopf-haupt:hover { background: var(--nacht-2); color: var(--auf-nacht); }
.knopf-zweit { border-color: currentColor; color: inherit; }
.knopf-zweit:hover { border-color: var(--gold-deko); }
.mehr { display: inline-flex; align-items: center; gap: .35em; font-family: var(--sans); font-weight: 600; font-size: .95rem; text-decoration: none; }
.mehr:hover { text-decoration: underline; }
.mehr .symbol { transition: transform .15s; }
.mehr:hover .symbol { transform: translateX(3px); }

/* ---------- Kopf ---------- */
.fortschritt { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 50; pointer-events: none; }
.fortschritt-linie { height: 100%; background: var(--gold-deko); transform: scaleX(0); transform-origin: 0 50%; }
.kopf { background: var(--grund); border-bottom: 1px solid var(--linie); position: relative; }
.kopf-zeile { display: flex; align-items: center; gap: 12px 20px; min-height: 66px; flex-wrap: wrap; }
.wortmarke { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); margin-right: auto; padding: 10px 0; min-width: 0; }
.wm-zeichen { border-radius: 7px; }
.wm-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.wm-titel { font-family: var(--serif); font-weight: 650; font-size: 1.06rem; letter-spacing: -.005em; white-space: nowrap; }
.wm-zusatz { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-top: 3px; white-space: nowrap; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 6px; flex-wrap: wrap; }
.hauptnav a { display: block; font-family: var(--sans); font-weight: 500; font-size: .96rem; color: var(--text); text-decoration: none; padding: 8px 10px; border-bottom: 2px solid transparent; }
.hauptnav a:hover { border-bottom-color: var(--linie-2); }
.hauptnav a[aria-current="page"], .hauptnav a.ist-bereich { border-bottom-color: var(--gold-deko); }
.kopf-knoepfe { display: flex; gap: 6px; }
.kopf-knopf { align-items: center; gap: 7px; background: none; border: 1px solid var(--linie-2); color: var(--text); font-family: var(--sans); font-size: .9rem; font-weight: 600; padding: 7px 11px; border-radius: 3px; cursor: pointer; }
.kopf-knopf:hover, .kopf-knopf[aria-expanded="true"] { border-color: var(--gold-deko); background: var(--flaeche); }
.menue-knopf .symbol-zu, .menue-knopf[aria-expanded="true"] .symbol-auf { display: none; }
.menue-knopf[aria-expanded="true"] .symbol-zu { display: block; }
@media (max-width: 959px) {
  .hauptnav { order: 3; width: 100%; display: none; padding: 0 0 12px; }
  html:not(.js) .hauptnav, .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--linie); }
  .hauptnav a { padding: 12px 2px; border-bottom: 1px solid var(--linie); font-size: 1.02rem; }
  .hauptnav a[aria-current="page"], .hauptnav a.ist-bereich { border-bottom-color: var(--linie); color: var(--gold); }
}
@media (min-width: 960px) { html.js .menue-knopf.nur-js, .menue-knopf { display: none !important; } }
@media (max-width: 520px) { .wm-zusatz { display: none; } .wm-titel { font-size: 1rem; } .kopf-knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .kopf-knopf { padding: 8px; } }
@media (max-width: 359px) { .wm-titel { white-space: normal; } }

.panel { border-top: 1px solid var(--linie); background: var(--flaeche); }
.panel-raster { display: grid; gap: 18px 36px; padding-top: 20px; padding-bottom: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .panel-raster { grid-template-columns: auto auto 1fr; align-items: start; } .panel-titel, .panel-hinweis { grid-column: 1 / -1; } }
.panel-titel { margin: 0; color: var(--gold); }
.panel-hinweis { margin: 0; font-family: var(--sans); font-size: .85rem; color: var(--text-2); }
.wahl { border: 0; margin: 0; padding: 0; min-width: 0; }
.wahl legend { font-family: var(--sans); font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.wahl-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.wahl-knoepfe label { position: relative; }
.wahl-knoepfe input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl-knoepfe span { display: inline-block; font-family: var(--sans); font-size: .9rem; padding: 7px 12px; border: 1px solid var(--linie-2); border-radius: 3px; background: var(--grund); }
.wahl-knoepfe input:checked + span { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); }
.wahl-knoepfe input:focus-visible + span { outline: 2px solid var(--gold-deko); outline-offset: 2px; }
.schalter { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: .93rem; cursor: pointer; }
.schalter input { width: 18px; height: 18px; accent-color: var(--akzent); margin: 0; }

/* ---------- Brotkrumen, Seitenköpfe ---------- */
.krumen ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-family: var(--sans); font-size: .86rem; color: var(--text-2); }
.krumen li:not(:last-child)::after { content: "/"; margin: 0 .55em; color: var(--linie-2); }
.krumen a { color: var(--text-2); text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.seitenkopf { padding: 40px 0 34px; border-bottom: 1px solid var(--linie); background: var(--grund); }
.seitenkopf h1, .artikel-kopf h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
.einleitung { font-size: 1.14rem; color: var(--text-2); max-width: 40em; }
.seitenkopf-raster { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .seitenkopf-raster { grid-template-columns: 1fr 440px; gap: 48px; } }
.seitenkopf-figur { margin: 0; }
.seitenkopf-figur img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: var(--schatten); }

.sternkarte { background-color: var(--nacht); background-image: url("sternkarte.svg"), radial-gradient(ellipse at 70% 0%, #22305a 0%, transparent 60%); background-size: cover, 100% 100%; background-position: center; color: var(--auf-nacht); }
.sternkarte a { color: var(--gold-hell); }
.sternkarte .kennung { color: var(--gold-hell); }

/* ---------- Startseite ---------- */
.start-kopf { padding: 44px 0 56px; border-bottom: 1px solid #000; }
.start-raster { display: grid; gap: 34px; align-items: center; }
.start-umschlag { justify-self: center; width: min(62vw, 250px); }
@media (min-width: 900px) {
  .start-kopf { padding: 72px 0 84px; }
  .start-raster { grid-template-columns: 340px 1fr; gap: 64px; }
  .start-umschlag { width: 340px; }
}
.start-text h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.3rem); line-height: 1.04; margin-bottom: .3rem; color: #f7f0de; letter-spacing: -.015em; }
.unterzeile { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-style: italic; font-weight: 400; color: var(--gold-hell); margin: 0 0 .5rem; font-synthesis: style; }
.von { font-family: var(--sans); font-size: .98rem; color: var(--auf-nacht-2); margin-bottom: 1.6rem; }
.von a { color: var(--auf-nacht); }
.klappentext { max-width: 37em; }
.klappe-absatz { font-size: 1.07rem; line-height: 1.7; color: var(--auf-nacht); }
.start-kopf .knopf-haupt { background: var(--gold-hell); color: #111a31; }
.start-kopf .knopf-haupt:hover { background: #f0d28f; color: #111a31; }
.start-kopf .knopf-zweit { color: var(--auf-nacht); border-color: rgba(239, 231, 210, .55); }
.start-kopf .knopf-zweit:hover { border-color: var(--gold-hell); }
.eckdaten { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--auf-nacht-2); margin: 0; font-size: .68rem; }
.eckdaten span:not(:last-child)::after { content: "·"; margin: 0 .9em; color: var(--gold-hell); }

.umschlag { margin: 0; }
.umschlag img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 22px 50px rgba(0, 0, 0, .55); border-radius: 2px 5px 5px 2px; }
.umschlag figcaption { margin-top: 8px; text-align: center; }
.umschlag.gesetzt { position: relative; aspect-ratio: 2 / 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 13% 9% 9%;
  background: radial-gradient(ellipse at 50% 30%, #24345f 0%, #172244 55%, #101833 100%); color: #f3ead2; border-radius: 2px 6px 6px 2px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(228, 192, 114, .25); container-type: inline-size; }
.umschlag.gesetzt::before { content: ""; position: absolute; inset: 4.5%; border: 1px solid rgba(228, 192, 114, .55); pointer-events: none; }
.umschlag.gesetzt::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .06) 60%, transparent); border-radius: 2px 0 0 2px; }
.u-autor { font-family: var(--sans); font-weight: 500; font-size: 6.4cqi; letter-spacing: .22em; text-transform: uppercase; color: #d7d2c4; }
.u-stern { color: #e4c072; margin: 9% 0 6%; }
.u-stern .symbol { width: 11cqi; height: 11cqi; fill: #e4c072; stroke: none; }
.u-titel { font-family: var(--serif); font-weight: 650; font-size: 12.5cqi; line-height: 1.06; letter-spacing: -.01em; }
.u-linie { width: 22%; height: 1px; background: #e4c072; margin: 8% 0 7%; }
.u-zusatz { font-family: var(--serif); font-style: italic; font-size: 7.4cqi; line-height: 1.3; color: #e4c072; font-synthesis: style; }
.u-gattung { margin-top: auto; font-family: var(--mono); font-size: 4.6cqi; letter-spacing: .3em; text-transform: uppercase; color: #cfcab9; }
.u-az { position: absolute; right: 8%; bottom: 3%; font-family: var(--mono); font-size: 3.4cqi; letter-spacing: .1em; color: rgba(228, 192, 114, .7); }

.abschnitt { padding: 56px 0; }
.abschnitt-flaeche { background: var(--flaeche-2); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 1.4rem; }
.abschnitt-titel { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); margin: 0 0 1.2rem; }
.abschnitt-kopf .abschnitt-titel { margin: 0; }
.abschnitt-titel::before { content: ""; display: block; width: 42px; height: 2px; background: var(--gold-deko); margin-bottom: 14px; }
.abschnitt-satz { color: var(--text-2); max-width: 44em; margin-top: -.4rem; margin-bottom: 1.6rem; }
.leseprobe { text-align: center; padding-bottom: 20px; }
.leseprobe .abschnitt-titel::before { margin-left: auto; margin-right: auto; }
.probe { margin: 0 auto; max-width: 36em; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); line-height: 1.5; font-weight: 400; }
.probe p { margin: 0; }
.probe::before, .probe::after { content: ""; display: block; width: 64px; height: 1px; background: var(--linie-2); margin: 0 auto 22px; }
.probe::after { margin: 22px auto 0; }
.probe-quelle { margin-top: 18px; font-family: var(--sans); font-size: .95rem; color: var(--text-2); }

.teile-raster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.teil-kurz { background: var(--flaeche); border: 1px solid var(--linie); border-top: 3px solid var(--gold-deko); padding: 18px 18px 14px; }
.teil-kurz h3 { font-size: 1.2rem; margin: .3rem 0 .8rem; }
.teil-nr { color: var(--gold); margin: 0; }
.iv-kurz { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.iv-kurz li { display: flex; align-items: baseline; gap: 6px; padding: 4px 0; border-top: 1px solid var(--linie); }
.iv-kurz a { display: flex; gap: 10px; align-items: baseline; color: var(--text); text-decoration: none; flex: 1; }
.iv-kurz a:hover .iv-titel { text-decoration: underline; text-decoration-color: var(--gold-deko); }
.iv-kurz .iv-nr { min-width: 1.8em; color: var(--gold); letter-spacing: 0; font-size: .74rem; }
.iv-kurz .in-arbeit { color: var(--text-2); gap: 10px; }
.iv-kurz a .iv-titel { font-weight: 600; text-decoration: underline; text-decoration-color: var(--linie-2); text-underline-offset: .2em; }
.iv-kurz .haken { color: var(--gold); }
/* T3: lange Kapiteltitel ("Abweichung dreiundzwanzig") in schmalen Spalten trennen statt überstehen */
.iv-kurz a { min-width: 0; }
.iv-kurz .iv-titel { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.vorschau-hinweis { font-family: var(--sans); font-size: .85rem; color: var(--text-2); margin: 1.2rem 0 0; padding-left: 12px; border-left: 2px dashed var(--linie-2); }

.karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
/* T3: vier Sachbereiche auf der Startseite: eine, zwei oder vier Spalten, nie eine einzelne Karte in der letzten Reihe */
.karten.karten-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .karten.karten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .karten.karten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.karte-link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.karte:has(.karte-link):hover { border-color: var(--gold-deko); box-shadow: var(--schatten); }
.karte-bild { margin: 0; }
.karte-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.karte-text { padding: 16px 18px 20px; }
.karte-kennung { color: var(--gold); margin: 0 0 .5rem; font-size: .66rem; }
.karte-titel { font-size: 1.2rem; margin: 0 0 .45rem; }
.karte-link:hover .karte-titel { text-decoration: underline; text-decoration-color: var(--gold-deko); text-underline-offset: .18em; }
.karte-text p:not(.karte-kennung):not(.vermerk) { color: var(--text-2); font-size: .96rem; margin: 0; }
.karte.in-arbeit { border-style: dashed; background: transparent; }
.karte.in-arbeit .karte-titel { color: var(--text-2); font-weight: 500; }
.karte.in-arbeit .karte-bild img { opacity: .6; }
.artikel-text .weiterlesen ul, .artikel-text .sachverweise ul { padding-left: 0; }

.autorblock { display: flex; gap: 22px; align-items: flex-start; }
.autor-foto { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--flaeche); box-shadow: 0 0 0 1px var(--linie-2); }
.autor-ueber { font-size: 1.35rem; margin-bottom: .5rem; }
.autorblock p { color: var(--text-2); }
.autorblock .mehr { margin-right: 18px; }
@media (max-width: 560px) { .autorblock { flex-direction: column; gap: 14px; } .autor-foto { width: 88px; height: 88px; } }

/* ---------- Inhaltsverzeichnis /buch ---------- */
.lesestand { margin-top: 1.4rem; padding: 16px 18px; background: var(--flaeche); border: 1px solid var(--linie); display: grid; gap: 10px 18px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .lesestand { grid-template-columns: 1fr auto; } .lesestand-balken { grid-column: 1; } .lesestand .knopf { grid-row: 1 / span 2; grid-column: 2; } }
.lesestand-text { margin: 0; font-family: var(--sans); font-weight: 600; }
.lesestand-balken { height: 4px; background: var(--linie); border-radius: 2px; overflow: hidden; }
.lesestand-balken span { display: block; height: 100%; width: 0; background: var(--gold-deko); }
.lesestand .knoepfe { margin: 0; }
.buch-teile { padding-top: 22px; padding-bottom: 56px; }
.teil { margin-top: 38px; }
.teil-kopf { display: grid; gap: 18px; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
@media (min-width: 700px) { .teil-kopf { grid-template-columns: 230px 1fr; gap: 26px; } }
.teil-kopf h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: .2rem 0 .4rem; }
.teil-satz { color: var(--text-2); margin: 0; font-size: .98rem; }
.teil-bild { margin: 0; }
.teil-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.teil-bild figcaption, .titelbild figcaption, .kapitel-bild figcaption, .seitenkopf-figur figcaption { margin-top: 6px; }
.bildhinweis { font-family: var(--sans); font-size: .76rem; color: var(--text-2); }
.iv { list-style: none; margin: 0; padding: 0; }
.iv-zeile { display: grid; grid-template-columns: 2.6rem 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
@media (min-width: 640px) { .iv-zeile { grid-template-columns: 3rem 1fr auto; } }
.iv-zeile .iv-nr { font-size: 1.15rem; letter-spacing: 0; color: var(--gold); padding-top: 2px; }
.iv-titel { font-size: 1.22rem; margin: 0 0 .25rem; }
.iv-titel a { color: var(--text); text-decoration: none; }
.iv-titel a:hover { text-decoration: underline; text-decoration-color: var(--gold-deko); }
.iv-satz { margin: 0; color: var(--text-2); font-size: .97rem; }
.iv-rechts { grid-column: 2; margin: 2px 0 0; display: flex; gap: 14px; align-items: center; font-family: var(--sans); font-size: .86rem; color: var(--text-2); white-space: nowrap; }
@media (min-width: 640px) { .iv-rechts { grid-column: 3; flex-direction: column; align-items: flex-end; gap: 6px; } }
.iv-zeit { display: inline-flex; align-items: center; gap: 5px; }
.haken { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 600; }
.haken[hidden], [hidden] { display: none !important; }
.iv-zeile.in-arbeit .iv-titel { color: var(--text-2); font-weight: 500; }
.iv-zeile.in-arbeit .vermerk { margin: 0; }
.iv-zeile.gelesen .iv-titel a { color: var(--text-2); }

/* ---------- Kapitel ---------- */
.kapitel-kopf { padding: 34px 0 10px; text-align: center; }
.kapitel-kopf .krumen ol { justify-content: center; }
.kapitel-ort { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; color: var(--text-2); margin: 0 0 1.1rem; }
.kapitel-ort span:not(:last-child)::after { content: "·"; margin: 0 .9em; color: var(--gold-deko); }
.aktenzeichen { display: inline-block; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; color: var(--gold); border: 1.5px solid currentColor; padding: 3px 10px 2px; border-radius: 2px; margin: 0 0 1.3rem; transform: rotate(-1.2deg); }
.aktenzeichen span { margin-right: .4em; font-size: .9em; font-weight: 400; }
.kapitel-kopf h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.6rem); line-height: 1.06; margin: 0 0 .9rem; letter-spacing: -.015em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-family: var(--sans); font-size: .9rem; color: var(--text-2); margin: 0 0 1.4rem; }
.kapitel-kopf .meta { justify-content: center; }
.meta .symbol { margin-right: 5px; }
.meta > span:not(.trenner) { display: inline-flex; align-items: center; }
.meta a { color: var(--text-2); }
.trenner::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--linie-2); margin: 0 .8em; vertical-align: middle; }
.kapitel-bild-huelle { max-width: calc(var(--spalte) + 2 * var(--rand) + 64px); margin: 8px auto 0; padding: 0 var(--rand); }
.kapitel-bild { margin: 0; }
.kapitel-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
@media (max-width: 640px) { .kapitel-bild-huelle { padding: 0; } .kapitel-bild img { border-radius: 0; } .kapitel-bild figcaption { padding: 0 var(--rand); } }

.kapiteltext, .artikel-text { font-size: calc(var(--lese) * var(--lese-faktor)); line-height: 1.75; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 700px) { :root { --lese: 1.125rem; } }
@media (min-width: 1100px) { :root { --lese: 1.1875rem; } }
.kapiteltext { padding-top: 40px; }
.kapiteltext p { margin: 0 0 1.05em; }
.kapiteltext p.rede + p.rede { margin-top: -.35em; }
.kapiteltext p.anfang::first-letter { float: left; font-size: 4.2em; line-height: .8; margin: .07em .1em 0 -.02em; font-weight: 600; color: var(--gold-deko); }
.kapiteltext p.anfang::first-line { font-variant-caps: small-caps; letter-spacing: .04em; }
.kapiteltext > ins, .artikel-text > ins, .kapitel-unten > ins { display: block; clear: both; margin: 2.4em 0 !important; }
.begriff { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--gold-deko); text-decoration-thickness: 1.5px; text-underline-offset: .24em; cursor: help; }
html.glossar-aus .begriff { text-decoration: none; pointer-events: none; cursor: auto; }
.begriff[aria-expanded="true"] { background: var(--flaeche-2); }
.begriff-fenster { position: absolute; z-index: 60; background: var(--flaeche); color: var(--text); border: 1px solid var(--linie-2); border-top: 3px solid var(--gold-deko); box-shadow: 0 12px 34px rgba(0, 0, 0, .2); padding: 14px 18px 14px; font-size: .96rem; line-height: 1.55; }
.bf-kopf { font-weight: 650; margin: 0 2rem .4rem 0; font-size: 1.05rem; }
.begriff-fenster p { margin: 0 0 .6rem; }
.bf-mehr { font-family: var(--sans); font-size: .88rem; font-weight: 600; }
.bf-zu { position: absolute; right: 8px; top: 6px; width: 32px; height: 32px; border: 0; background: none; color: var(--text-2); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 3px; }
.bf-zu:hover { background: var(--flaeche-2); }

.protokoll { margin: 2em 0; padding: 18px 22px 8px; background: var(--flaeche-2); border-left: 3px solid var(--gold-deko); font-size: .97em; }
.protokoll-kopf { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--text-2); margin: 0 0 1em !important; font-size: .68rem; line-height: 1.4; }
.protokoll-kopf span:first-child { background: var(--akzent); color: var(--akzent-text); padding: 3px 8px 2px; border-radius: 2px; }
.kapitelende { display: flex; align-items: center; gap: 14px; color: var(--gold-deko); margin: 2.4em 0 2.4em; }
.kapitelende::before, .kapitelende::after { content: ""; flex: 1; height: 1px; background: var(--linie-2); }
.kapitelende .symbol { fill: currentColor; stroke: none; }
.akte { margin: 0 0 2.6em; border: 1px solid var(--linie-2); background: var(--flaeche); font-size: .95em; box-shadow: var(--schatten); }
.akte-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; background: var(--nacht); color: var(--auf-nacht); padding: 11px 18px; }
.akte-kopf h2 { margin: 0; font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hell); }
.akte-az { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--auf-nacht-2); }
.akte-zeile { margin: 0 !important; padding: 12px 20px 10px; color: var(--text-2); border-bottom: 1px dashed var(--linie-2); font-size: .7rem; text-transform: none; letter-spacing: .04em; }
.akte p:not(.akte-zeile) { padding: 0 20px; }
.akte .akte-zeile + p { padding-top: 14px; }
.akte p:last-child { padding-bottom: 6px; }

.kapitel-unten { padding-bottom: 56px; }
.hintergrund { border-top: 2px solid var(--text); border-bottom: 1px solid var(--linie); margin: 0 0 2.4rem; }
.hintergrund summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; display: flex; flex-direction: column; gap: 3px; }
.hintergrund summary::-webkit-details-marker { display: none; }
.hintergrund summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.hintergrund[open] summary::after { content: "\2212"; }
.hg-titel { font-size: 1.35rem; font-weight: 600; }
.hg-unter { font-family: var(--sans); font-size: .9rem; color: var(--text-2); }
.hg-innen { padding: 4px 0 18px; font-size: 1rem; line-height: 1.7; }
.hg-teil { padding: 16px 0; border-top: 1px solid var(--linie); }
.hg-teil h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.hg-teil p:last-child { margin-bottom: 0; }
.hg-teil ul { margin: 0; padding-left: 1.2em; }
.wl-host { color: var(--text-2); font-size: .62rem; letter-spacing: .08em; text-transform: none; }
.sachverweise { margin: 0 0 2.4rem; }
.sachverweise h2, .weiterlesen h2, .quellen h2 { font-size: 1.35rem; }
.sachverweise ul, .weiterlesen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.sachverweise a, .weiterlesen a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); text-decoration: none; border-radius: 3px; }
.sachverweise a:hover, .weiterlesen a:hover { border-color: var(--gold-deko); }
.sv-kennung { color: var(--gold); font-size: .64rem; }
.sv-titel, .wl-text { font-weight: 600; line-height: 1.35; }
.weiter { display: grid; gap: 6px; position: relative; padding: 28px 70px 30px 28px; background: var(--nacht); color: var(--auf-nacht); text-decoration: none; border-radius: 3px; margin-bottom: 18px; background-image: url("sternkarte.svg"); background-size: cover; background-position: right center; }
.weiter-kennung { color: var(--gold-hell); }
.weiter-titel { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.15; color: #f7f0de; }
.weiter-satz { color: var(--auf-nacht-2); font-size: 1rem; line-height: 1.55; max-width: 38em; }
.weiter-pfeil { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold-hell); transition: transform .15s; }
a.weiter:hover .weiter-pfeil { transform: translate(4px, -50%); }
a.weiter:hover .weiter-titel { text-decoration: underline; text-decoration-color: var(--gold-hell); text-underline-offset: .15em; text-decoration-thickness: 1px; }
.weiter-arbeit { background: transparent; background-image: none; color: var(--text); border: 1px dashed var(--linie-2); }
.weiter-arbeit .weiter-kennung { color: var(--gold); }
.weiter-arbeit .weiter-titel { color: var(--text); }
.weiter-arbeit .weiter-satz { color: var(--text-2); }
.blaettern { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--sans); font-size: .93rem; }
.blaettern a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); text-decoration: none; padding: 6px 0; }
.blaettern a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Artikel: Sach-, Figuren-, Pflichtseiten ---------- */
.artikel-kopf { padding: 38px 0 6px; }
.titelbild { margin: 0 0 8px; }
.titelbild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.artikel-text { padding-bottom: 60px; }
.artikel-text h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 2em 0 .6em; }
.artikel-text h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.artikel-text ul, .artikel-text ol { padding-left: 1.3em; }
.artikel-text li { margin-bottom: .35em; }
.pflichttext { font-size: 1rem; line-height: 1.7; hyphens: auto; overflow-wrap: anywhere; }
.artikel-text a { overflow-wrap: anywhere; }
.pflichttext h2 { font-size: 1.3rem; }
.vorlaeufig { border: 1.5px dashed var(--gold-deko); background: var(--flaeche); padding: 14px 18px 4px; margin: 0 0 2em; font-family: var(--sans); font-size: .95rem; line-height: 1.55; }
.vorlaeufig-kopf { color: var(--gold); margin-bottom: .4rem !important; }
.vorlaeufig-satz { border-left: 3px solid var(--gold-deko); padding-left: 14px; color: var(--text-2); }
.im-roman { margin: 0 0 2.2em; padding: 18px 22px 6px; border-left: 3px solid var(--gold-deko); background: var(--flaeche-2); }
.im-roman-kennung { color: var(--gold); margin: 0 0 .6rem; }
.im-roman blockquote { margin: 0 0 .8rem; font-size: 1.12em; font-style: italic; font-synthesis: style; line-height: 1.6; }
.im-roman blockquote p { margin: 0; }
.quellen { margin-top: 2.6em; font-size: .95rem; }
.quellen .leer, .leer { color: var(--text-2); font-family: var(--sans); font-size: .93rem; }
.weiterlesen { margin-top: 2.6em; }
.weiterlesen .wl-host { font-family: var(--mono); }
.stand { font-family: var(--sans); font-size: .88rem; color: var(--text-2); margin-top: 2.4em; padding-top: 14px; border-top: 1px solid var(--linie); }
.downloads { list-style: none; padding: 0 !important; margin: 0 0 1.2em; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.download { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px dashed var(--linie-2); border-radius: 3px; font-family: var(--sans); font-size: .93rem; }
.download .symbol { grid-row: 1 / span 3; color: var(--gold); }
.dl-format { font-weight: 700; font-size: 1.05rem; }
.dl-text { color: var(--text-2); }
.download .vermerk { margin: 2px 0 0; }
.autor-kopf { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.autor-foto-gross { width: 144px; height: 144px; }
.autoren { list-style: none; margin: 0; padding: 36px 0 60px; }

/* ---------- Glossar, Bibelstellen, Fehler ---------- */
.glossar-liste { margin: 30px 0 0; }
.begriff-eintrag { padding: 22px 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 20px; }
.begriff-eintrag:target { background: var(--flaeche); box-shadow: -12px 0 0 var(--flaeche), 12px 0 0 var(--flaeche); }
.begriff-eintrag dt { font-size: 1.4rem; font-weight: 600; margin-bottom: .35rem; }
.begriff-eintrag dd { margin: 0; line-height: 1.7; }
.begriff-eintrag dd p { margin: 0 0 .5rem; }
.stellen { font-family: var(--sans); font-size: .92rem; color: var(--text-2); }
.stellen span { font-weight: 600; }
.bs-buch { margin-top: 34px; }
.bs-buch h2 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 2px solid var(--text); margin-bottom: 0; }
.bs-liste { list-style: none; margin: 0; padding: 0; }
.bs-liste li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.bs-stelle { font-weight: 600; }
.bs-kapitel { font-family: var(--sans); font-size: .95rem; }
.hinweis-klein { font-family: var(--sans); font-size: .88rem; color: var(--text-2); margin-top: 26px; }
.seitenkopf-fehler { padding: 64px 0 56px; border-bottom: 0; }
.seitenkopf-fehler h1 { color: #f7f0de; }
.seitenkopf-fehler .einleitung { color: var(--auf-nacht); }
.wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.wege a { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--linie); background: var(--flaeche); text-decoration: none; color: var(--text); border-radius: 3px; height: 100%; }
.wege a:hover { border-color: var(--gold-deko); }
.weg-titel { font-weight: 600; font-size: 1.1rem; }
.weg-text { font-family: var(--sans); font-size: .9rem; color: var(--text-2); }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: var(--auf-nacht); padding: 50px 0 26px; margin-top: 0; }
.fuss a { color: var(--auf-nacht); text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--gold-hell); }
.fuss-oben { display: grid; gap: 34px; }
@media (min-width: 900px) { .fuss-oben { grid-template-columns: 1.1fr 2fr; gap: 56px; } }
.wortmarke-fuss { margin: 0 0 14px; padding: 0; color: #f7f0de; }
.wortmarke-fuss .wm-zusatz { color: var(--auf-nacht-2); display: block; }
.fuss-marke p:not(.wortmarke) { color: var(--auf-nacht-2); font-size: .98rem; max-width: 30em; }
.fuss-spalten { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fuss-titel { color: var(--gold-hell); margin: 0 0 12px; }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .95rem; }
.fuss-spalte li { margin-bottom: 7px; }
.fuss-consent { background: none; border: 0; padding: 0; color: var(--auf-nacht); font: inherit; cursor: pointer; text-align: left; }
.fuss-consent:hover { text-decoration: underline; }
.fuss-projekt { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(239, 231, 210, .16); font-family: var(--sans); font-size: .88rem; color: var(--auf-nacht-2); }

/* ---------- T3: Vorwort und Nachwort, Hintergrundseiten, eingespielte Sachseiten, Downloads ---------- */
.iv-rahmen { margin: 0 0 18px; }
.iv-rahmen-nachwort { margin: 18px 0 0; }
.iv-rahmen a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-left: 3px solid var(--gold-deko); color: var(--text); text-decoration: none; }
.iv-rahmen a:hover .iv-rahmen-titel { text-decoration: underline; text-decoration-color: var(--gold-deko); }
.iv-rahmen-titel { font-weight: 600; font-size: 1.1rem; }
.iv-rahmen-satz { font-family: var(--sans); font-size: .9rem; color: var(--text-2); }
.teil-rahmen { margin: 0 0 8px; }
.teil-rahmen + .teil { margin-top: 26px; }
.teil + .teil-rahmen { margin-top: 30px; }
.iv-zeile-rahmen { border-top: 2px solid var(--text); }
.iv-zeile-rahmen .iv-nr { color: var(--gold-deko); }
.iv-zeile-rahmen .iv-nr .symbol { fill: currentColor; stroke: none; }
.iv-zeile-rahmen h2.iv-titel { font-size: 1.22rem; }
.rahmen-unterzeile { font-size: 1.15rem; color: var(--text-2); margin: -.3rem 0 1rem; font-style: italic; font-synthesis: style; }
.kapiteltext h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin: 2em 0 .6em; clear: both; }
.kapiteltext h3 { font-size: 1.2rem; margin: 1.7em 0 .5em; }
.kapiteltext p.gruss { text-align: right; font-style: italic; font-synthesis: style; margin-top: 1.6em; }
.vorlaeufig.entwurf { margin-bottom: 2.2em; }
.hg-seite { margin: 0 0 2.4rem; }
.hg-seite a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; padding: 16px 18px; border: 1px solid var(--linie-2); border-left: 3px solid var(--gold-deko); background: var(--flaeche); color: var(--text); text-decoration: none; border-radius: 3px; }
.hg-seite .sv-kennung { grid-column: 1; }
.hg-seite .sv-titel { grid-column: 1; font-size: 1.12rem; }
.hg-seite .symbol { grid-column: 2; grid-row: 1 / span 2; color: var(--gold); }
.hg-seite a:hover { border-color: var(--gold-deko); }
.artikel-text blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold-deko); color: var(--text-2); }
.artikel-text blockquote p { margin: .4em 0; }
.tabelle { overflow-x: auto; margin: 1.4em 0; }
.artikel-text table { border-collapse: collapse; width: 100%; font-size: .92em; line-height: 1.5; hyphens: manual; }
.artikel-text th, .artikel-text td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--linie); }
.artikel-text th { font-family: var(--sans); font-weight: 600; font-size: .92em; border-bottom: 2px solid var(--linie-2); }
.quellen ol { padding-left: 1.6em; }
.quellen li { overflow-wrap: anywhere; scroll-margin-top: 20px; }
.quellen li:target { background: var(--flaeche-2); }
.quellverweis { white-space: nowrap; }
.download.hat-datei { padding: 0; border-style: solid; border-color: var(--linie-2); background: var(--flaeche); }
.download.hat-datei:hover { border-color: var(--gold-deko); }
.download-link { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; color: var(--text); text-decoration: none; height: 100%; }
.download-link .symbol { grid-row: 1 / span 3; color: var(--gold); }
.download-link:hover .dl-format { text-decoration: underline; text-decoration-color: var(--gold-deko); }
.dl-meta { font-family: var(--mono); font-size: .78rem; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .kopf, .fuss, .fortschritt, .kapitel-unten, .krumen, .kapitel-bild-huelle { display: none !important; }
  body { background: #fff; color: #000; }
  .kapiteltext { font-size: 11pt; }
}
