/* Kontextbibel – Gestaltung. Farben und Maße nur über Tokens. */

@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/plus-jakarta-sans.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --c-header: #4A2060;
  --c-time: #2B1440;
  --c-control: #6B2E86;
  --c-control-ink: #FFFFFF;
  --c-gold: #C9A227;
  --c-gold-on-purple: #E3C464;
  --c-gold-dark: #7A5C0E;
  --c-gold-line: #A07C1E;
  --c-bg: #F7F5FA;
  --c-card: #FFFFFF;
  --c-tint: #EFE6F5;
  --c-ink: #171320;
  --c-muted: #5A5468;
  --c-faint: #6F6880;
  --c-line: #E6E1EE;
  --c-link: #6B2E86;
  --c-link-hover: #4A2060;
  --c-land: #EFEAE2;
  --c-sea: #D7E0EA;
  --c-coast: #BFCBDA;
  --c-river: #9AB0C4;
  --c-border-now: #A49BB2;
  --c-orient: #857F94;
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: #D9CFE6;
  --c-g-tora: #E8DCCB; --c-g-geschichte: #DCE8D5; --c-g-poesie: #E3DAEA; --c-g-propheten: #D6E3EC;
  --c-g-evangelien: #F6DCD2; --c-g-apg: #DCE8D5; --c-g-briefe: #DDE6E2; --c-g-offb: #E7D9D9;
  --c-genre-bg: #DCE8D5; --c-genre-ink: #2F4A2A;
  --c-t1: #9A7417; --c-t2: #6B2E86; --c-t3: #A0442A; --c-t4: #22706F;
  --c-star-bg: #2B1440; --c-star: #E3C464; --c-star-dim: #B9A6CF;
  --c-backdrop: rgba(23, 19, 32, 0.4);
  --shadow-card: 0 1px 2px rgba(23, 19, 32, 0.05);
  --shadow-float: 0 10px 30px rgba(43, 20, 64, 0.18);
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --text-size: 20px;
  --radius-card: 20px;
  --radius-inner: 14px;
  --gap: 16px;
  --t-fast: 180ms;
  --t-mid: 240ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
:root[data-size='1'] { --text-size: 18px; }
:root[data-size='3'] { --text-size: 23px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --c-header: #2B1440; --c-time: #2B1440; --c-control: #C9A3E0; --c-control-ink: #16121C; --c-gold: #E3C464; --c-gold-on-purple: #E3C464; --c-gold-dark: #E3C464; --c-gold-line: #E3C464;
    --c-bg: #16121C; --c-card: #201A29; --c-tint: #2E2440; --c-ink: #ECE7F2; --c-muted: #B9B0C8; --c-faint: #A69DB6; --c-line: #3A3148;
    --c-link: #C9A3E0; --c-link-hover: #E7D3F3; --c-land: #2A2533; --c-sea: #1B2230; --c-coast: #3A465A; --c-river: #4F6A85; --c-border-now: #7D7391; --c-orient: #A69DB6;
    --c-g-tora: #5A4B33; --c-g-geschichte: #3E5238; --c-g-poesie: #4D3F5C; --c-g-propheten: #354A5A; --c-g-evangelien: #5E3F36; --c-g-apg: #3E5238; --c-g-briefe: #3B504A; --c-g-offb: #573E44;
    --c-genre-bg: #2F4A2A; --c-genre-ink: #DCE8D5; --c-t1: #E3C464; --c-t2: #C9A3E0; --c-t3: #E58C6E; --c-t4: #6FC3C1; --c-star-bg: #120C1C;
    --c-backdrop: rgba(0, 0, 0, 0.55); --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --c-header: #2B1440; --c-time: #2B1440; --c-control: #C9A3E0; --c-control-ink: #16121C; --c-gold: #E3C464; --c-gold-on-purple: #E3C464; --c-gold-dark: #E3C464; --c-gold-line: #E3C464;
  --c-bg: #16121C; --c-card: #201A29; --c-tint: #2E2440; --c-ink: #ECE7F2; --c-muted: #B9B0C8; --c-faint: #A69DB6; --c-line: #3A3148;
  --c-link: #C9A3E0; --c-link-hover: #E7D3F3; --c-land: #2A2533; --c-sea: #1B2230; --c-coast: #3A465A; --c-river: #4F6A85; --c-border-now: #7D7391; --c-orient: #A69DB6;
  --c-g-tora: #5A4B33; --c-g-geschichte: #3E5238; --c-g-poesie: #4D3F5C; --c-g-propheten: #354A5A; --c-g-evangelien: #5E3F36; --c-g-apg: #3E5238; --c-g-briefe: #3B504A; --c-g-offb: #573E44;
  --c-genre-bg: #2F4A2A; --c-genre-ink: #DCE8D5; --c-t1: #E3C464; --c-t2: #C9A3E0; --c-t3: #E58C6E; --c-t4: #6FC3C1; --c-star-bg: #120C1C;
  --c-backdrop: rgba(0, 0, 0, 0.55); --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.5; }
a { color: var(--c-link); text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-link-hover); }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; border-radius: 6px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--c-card); font-weight: 700; }
.skip:focus { top: 12px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-faint); margin: 0; }
.muted { color: var(--c-muted); }
.small { font-size: 13px; }

/* ---------- Pillen und Knöpfe ---------- */
.pill, .chips-plain > a { font-family: var(--font-ui); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-ink); font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.pill:hover, .chips-plain > a:hover { background: var(--c-tint); color: var(--c-ink); }
.pill[aria-pressed='true'], .pill[aria-current='page'], .pill.is-on { background: var(--c-tint); border-color: transparent; color: var(--c-link); font-weight: 700; }
.pill-primary { background: var(--c-control); border-color: transparent; color: var(--c-control-ink); }
.pill-primary:hover { background: var(--c-link-hover); color: var(--c-control-ink); }
.pill-sm, .chips-plain > a { min-height: 34px; padding: 0 12px; font-size: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--c-tint); gap: 2px; }
.seg button { flex: 1 1 0; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--c-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease); white-space: nowrap; }
.seg button[aria-selected='true'], .seg button[aria-pressed='true'] { background: var(--c-card); color: var(--c-link); font-weight: 700; box-shadow: var(--shadow-card); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; cursor: pointer; font-weight: 700; transition: background-color var(--t-fast) var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, 0.22); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--c-genre-bg); color: var(--c-genre-ink); font-size: 12px; font-weight: 700; }
.ai-tag { display: inline-flex; gap: 4px; font-size: 11px; color: var(--c-faint); }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px 24px; padding: 0 clamp(16px, 3vw, 40px); min-height: 64px; background: var(--c-header); color: #F5F0FA; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; white-space: nowrap; border-radius: 999px; color: #D9CFE6; font-weight: 500; text-decoration: none; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.site-nav a[aria-current='page'] { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; font-weight: 700; }
.site-nav a[aria-current='page']::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold-on-purple); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; font-weight: 600; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: rgba(255, 255, 255, 0.22); }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 240px; margin: 0; padding: 8px; list-style: none; border-radius: 16px; background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); }
.menu-list a, .menu-list button { display: flex; flex-direction: column; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--c-ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.menu-list a:hover, .menu-list a[aria-current='true'], .menu-list button:hover, .menu-list button[aria-current='true'] { background: var(--c-tint); }
.menu-list small { color: var(--c-muted); }
.lang-link { color: #D9CFE6; font-weight: 600; font-size: 13px; text-decoration: none; padding: 0 6px; }
.lang-link:hover { color: #FFFFFF; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; width: 100%; max-width: 1360px; margin: 0 auto; padding: 16px 16px 120px; }
.book-nav { display: none; }
.context-col { display: none; }
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 680px) minmax(300px, 380px); justify-content: center; padding: 32px 32px 64px; gap: 40px; }
  .context-col { display: flex; }
  .context-bar, .context-sheet, .bottom-nav { display: none !important; }
}
@media (min-width: 1240px) {
  .layout { grid-template-columns: 240px minmax(0, 680px) minmax(320px, 380px); }
  .book-nav { display: flex; }
}

/* ---------- Buchnavigation ---------- */
.book-nav { flex-direction: column; gap: 24px; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; }
.book-nav h2 { margin: 2px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.chapter-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.chapter-dots a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-card); border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 600; text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
.chapter-dots a:hover { background: var(--c-tint); }
.chapter-dots a[aria-current='page'] { background: var(--c-control); border-color: transparent; color: var(--c-control-ink); font-weight: 700; }
.section-links { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.section-links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; color: var(--c-ink); text-decoration: none; transition: background-color var(--t-mid) var(--ease); }
.section-links a:hover { background: var(--c-tint); }
.section-links a.is-current { background: var(--c-tint); }
.section-links .ref { font-size: 12px; font-weight: 600; color: var(--c-faint); }
.section-links a.is-current .ref { color: var(--c-link); }
.section-links .title { font-weight: 600; }
.book-step { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; font-weight: 600; }

/* ---------- Leseansicht ---------- */
.reader { min-width: 0; }
/* Breite Blätterpfeile am oberen und unteren Rand des Bibeltexts (nur ab Tablet-Breite) */
.page-step { position: sticky; z-index: 5; height: 0; pointer-events: none; }
.page-step button { pointer-events: auto; }
.page-step.is-up { top: 72px; }
.page-step.is-down { bottom: 16px; height: 34px; margin-top: 24px; }
.page-step button { display: flex; align-items: center; justify-content: center; width: 88px; margin-inline: auto; height: 34px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-muted); cursor: pointer; box-shadow: var(--shadow-card); transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), visibility var(--t-fast); }
.page-step button:hover, .page-step button:focus-visible { color: var(--c-link); background: var(--c-tint); }
.page-step.is-off button { opacity: 0; visibility: hidden; }
@media (max-width: 899px) { .page-step { display: none; } }
.reader-kicker { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.chapter-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.chapter-head h1 { margin: 0; font-size: clamp(34px, 6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.gold-rule { width: 48px; height: 4px; border-radius: 2px; background: var(--c-gold); margin: 14px 0 6px; }
.section { scroll-margin-top: 140px; }
.section-head { margin: 28px 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.section-head .ref { font-size: 13px; font-weight: 600; color: var(--c-faint); }
.section-head .chip { font-size: 11px; padding: 3px 9px; align-self: center; }
.bible { font-family: var(--font-text); font-size: var(--text-size); line-height: 1.7; font-optical-sizing: auto; }
.bible p { margin: 0 0 14px; }
.bible .q1, .bible .q2, .bible .qr, .bible .qa { margin: 0; padding-left: 1.2em; text-indent: -1.2em; }
.bible .q2 { padding-left: 2.4em; }
.bible .qr { text-align: right; }
.bible .pi, .bible .li { padding-left: 1.2em; }
.bible .b { height: 0.7em; }
.bible .poem-end { margin-bottom: 14px; }
.v { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--c-link); margin-right: 5px; vertical-align: top; position: relative; top: 0.25em; line-height: 1; scroll-margin-top: 150px; text-decoration: none; }
.nd span { font-variant-caps: all-small-caps; letter-spacing: 0.03em; }
.bible i { font-style: italic; color: var(--c-muted); }
.fn { font-family: var(--font-ui); font-size: 11px; font-weight: 700; vertical-align: super; line-height: 0; margin: 0 1px; text-decoration: none; color: var(--c-link); }
.verse.is-target { animation: pulse 1.2s var(--ease) 1; border-radius: 6px; }
@keyframes pulse { 0% { background: rgba(201, 162, 39, 0.35); } 100% { background: transparent; } }
.notes { margin-top: 20px; border-radius: 14px; background: var(--c-tint); font-size: 13px; color: var(--c-muted); }
.notes > summary { cursor: pointer; padding: 14px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-link); }
.notes ol { margin: 0; padding: 0 16px 14px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.notes li b { color: var(--c-ink); margin-right: 6px; }
.chapter-step { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.chapter-step .pill { min-height: 44px; }
.group-books { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.group-books .label { margin: 0 0 8px; }
.group-books .pill { min-height: 36px; }
.reader-foot { margin-top: 28px; font-size: 12px; color: var(--c-faint); display: flex; flex-direction: column; gap: 4px; }

/* ---------- Kontextspalte (Desktop) ---------- */
.context-col { flex-direction: column; gap: 16px; position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; padding-bottom: 16px; scrollbar-width: thin; }
.context-col .col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.follows { font-size: 12px; font-weight: 600; color: var(--c-link); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card h3 { margin: 0; }
.fade { animation: fade var(--t-mid) var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Zeit-Karte */
.time-card .muted { color: var(--c-muted); }
.time-card a, .time-card button.link { color: var(--c-link); font-weight: 700; font-size: 13px; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.period-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.period-bar { display: flex; gap: 3px; height: 12px; }
.period-bar span { flex: 0 0 14px; border-radius: 4px; background: var(--c-tint); transition: flex-grow var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease); }
.period-bar span.is-now { flex: 1 1 auto; background: var(--c-gold); }
.period-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--c-muted); }
.period-scale .now { color: var(--c-link); font-weight: 700; }
.time-hint { font-size: 12px; color: var(--c-muted); margin: 0; padding: 8px 12px; border-radius: var(--radius-inner); background: var(--c-bg); border: 1px solid var(--c-line); }

/* Zeitachse */
.axis-wrap { border-radius: var(--radius-inner); background: var(--c-tint); overflow: hidden; touch-action: pan-y; }
.axis-svg { display: block; width: 100%; height: auto; cursor: grab; user-select: none; }
.axis-svg:active { cursor: grabbing; }
.axis-tools { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.axis-tools .icon-btn { width: 34px; height: 34px; }

/* Atlas */
.map-wrap { position: relative; border-radius: var(--radius-inner); overflow: hidden; background: var(--c-sea); aspect-ratio: 374 / 300; touch-action: none; }
.map-wrap svg { display: block; width: 100%; height: 100%; cursor: grab; user-select: none; }
.map-wrap svg:active { cursor: grabbing; }
/* Fokus: Ring um die ganze, abgerundete Kartenfläche statt eckiger Umrandung der Grafik; beim Klicken keiner */
.map-wrap svg:focus { outline: none; }
.map-wrap:has(svg:focus-visible) { outline: 2px solid var(--c-control); outline-offset: 2px; }
.disputed { fill: var(--c-border-now); fill-opacity: 0.12; stroke: var(--c-border-now); stroke-dasharray: 4 3; }
.map-label.disputed-label { fill: var(--c-muted); font-style: italic; font-weight: 600; }
.map-tools { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.map-tools button { width: 34px; height: 34px; border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-card); color: var(--c-ink); font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.map-tools button:hover { background: var(--c-tint); }
.map-base { position: absolute; left: 8px; bottom: 8px; padding: 3px; box-shadow: var(--shadow-card); }
.map-base button { flex: none; min-height: 28px; padding: 0 10px; font-size: 12px; }
.map-relief { mix-blend-mode: multiply; pointer-events: none; }
/* Reiche, Stämme, Völker, Wege (Ansicht „Damals“) */
.map-realms { pointer-events: none; }
.realm { fill-opacity: 0.16; stroke-opacity: 0.75; stroke-dasharray: 5 3; }
.realm.tribe { fill-opacity: 0.12; stroke-dasharray: 2 2; }
.rf1 { fill: #7A3E9D; stroke: #7A3E9D; } .rf2 { fill: #B4472F; stroke: #B4472F; } .rf3 { fill: #2E7D6B; stroke: #2E7D6B; }
.rf4 { fill: #7A6A1F; stroke: #7A6A1F; } .rf5 { fill: #2F5F9E; stroke: #2F5F9E; } .rf6 { fill: #A86A12; stroke: #A86A12; }
.map-label.realm-label { stroke: var(--c-land); font-weight: 700; letter-spacing: 0.12em; fill-opacity: 1; stroke-opacity: 1; stroke-dasharray: none; }
.map-label.realm-label.tribe { letter-spacing: 0.02em; font-weight: 600; }
.map-label.people { fill: var(--c-muted); font-style: italic; font-weight: 600; }
.route { fill: none; stroke: #8A6A3A; stroke-dasharray: 1 4; stroke-linecap: round; opacity: 0.85; }
.map-label.route-label { fill: #8A6A3A; font-style: italic; }
.map-link { stroke: var(--c-gold-dark); stroke-dasharray: 6 5; opacity: 0.7; }
/* Küsten damals, Römerstraßen, Reisen des Paulus, Regengrenze */
.old-sea { fill: var(--c-sea); stroke: var(--c-river); stroke-dasharray: 3 2; }
.map-label.water.old { font-size: inherit; }
.roman-road { fill: none; stroke: #8A6A3A; opacity: 0.5; stroke-linecap: round; }
.paul-route { fill: none; opacity: 0.55; stroke-linecap: round; stroke-linejoin: round; }
.paul-route.sea { stroke-dasharray: 5 4; }
.paul-route.is-here { opacity: 0.95; }
.paul-route.t1, .paul-chip.t1 { stroke: var(--c-t1); } .paul-route.t2, .paul-chip.t2 { stroke: var(--c-t2); }
.paul-route.t3, .paul-chip.t3 { stroke: var(--c-t3); } .paul-route.t4, .paul-chip.t4 { stroke: var(--c-t4); }
.paul-stop { fill: var(--c-card); stroke-width: 0; }
.paul-stop.t1 { fill: var(--c-t1); } .paul-stop.t2 { fill: var(--c-t2); } .paul-stop.t3 { fill: var(--c-t3); } .paul-stop.t4 { fill: var(--c-t4); }
.paul-chip { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--c-muted); white-space: nowrap; }
.paul-chip::before { content: ''; width: 14px; height: 0; border-top: 3px solid; border-color: inherit; }
.paul-chip.t1 { border-color: var(--c-t1); } .paul-chip.t2 { border-color: var(--c-t2); } .paul-chip.t3 { border-color: var(--c-t3); } .paul-chip.t4 { border-color: var(--c-t4); }
.rain-line { fill: none; stroke: #3E8E5E; opacity: 0.8; }
.map-label.rain { fill: #2F7A4E; font-style: italic; font-weight: 600; }
.map-label.crescent { fill: #2F7A4E; font-weight: 700; letter-spacing: 0.18em; }
.map-time { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-top: 8px; }
.map-time-row { display: flex; align-items: center; gap: 10px; flex: 1 1 220px; min-width: 0; }
.map-time-row input { flex: 1 1 auto; min-width: 0; min-height: 24px; accent-color: var(--c-control); cursor: pointer; }
.map-time-row output { font-size: 13px; font-weight: 700; color: var(--c-ink); white-space: nowrap; min-width: 92px; text-align: right; }
.map-time button.link { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-link); font: 600 12px var(--font-ui); cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.map-time button.link:hover { background: var(--c-tint); }
.map-realm-toggle { position: absolute; left: 8px; top: 8px; min-height: 30px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-muted); font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-card); }
.map-realm-toggle[aria-pressed='true'] { background: var(--c-control); border-color: transparent; color: var(--c-control-ink); }
.map-attrib { position: absolute; right: 6px; bottom: 36px; padding: 1px 6px; border-radius: 999px; background: var(--c-card); color: var(--c-muted); font-size: 10px; font-weight: 600; pointer-events: none; }
.map-scale { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 10px; font-weight: 600; color: var(--c-muted); pointer-events: none; }
.map-scale span { display: block; height: 5px; border: 1.5px solid var(--c-muted); border-top: 0; }
.place-list .facts { display: block; font-size: 12px; color: var(--c-muted); margin-top: 2px; }
/* Dunkel: Relief invertiert aufhellen, sonst verschwindet der Schatten im dunklen Land */
:root[data-theme='dark'] .map-relief { mix-blend-mode: screen; filter: invert(1); opacity: 0.38; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .map-relief { mix-blend-mode: screen; filter: invert(1); opacity: 0.38; } }
.map-land { fill: var(--c-land); stroke: var(--c-coast); stroke-linejoin: round; }
.map-lake { fill: var(--c-sea); stroke: var(--c-coast); }
.map-river { fill: none; stroke: var(--c-river); stroke-linecap: round; stroke-linejoin: round; }
.map-border { fill: none; stroke: var(--c-border-now); stroke-dasharray: 4 3; stroke-linejoin: round; }
.map-label { font-family: var(--font-ui); fill: var(--c-ink); paint-order: stroke; stroke: var(--c-land); stroke-linejoin: round; }
.map-label.water { fill: var(--c-river); stroke: none; font-style: italic; }
.map-label.country { fill: var(--c-muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.map-label.city { fill: var(--c-muted); }
.map-label.place { font-weight: 700; }
.map-label.sub { fill: var(--c-muted); font-weight: 400; }
.map-city { fill: var(--c-muted); }
.map-label.capital { font-weight: 600; fill: var(--c-ink); }
.map-label.peak { font-style: italic; }
.map-orient { fill: var(--c-orient); }
.mk-sure { fill: var(--c-gold); stroke: var(--c-gold-dark); }
.mk-unsure { fill: var(--c-card); stroke: var(--c-gold-dark); }
.mk-mention { fill: var(--c-card); stroke: var(--c-muted); }
.mk-mention.mk-sure { fill: var(--c-orient); stroke: var(--c-muted); }
.mk-route { fill: none; stroke: var(--c-gold-line); stroke-dasharray: 4 4; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--c-muted); margin: 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.place-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.place-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.place-list .name { font-weight: 700; color: var(--c-link); }
.place-list .meta { color: var(--c-muted); font-size: 13px; text-align: right; }
.place-list .now { display: block; font-size: 12px; color: var(--c-muted); font-weight: 500; }

/* Ereignisse */
.event-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.event-list li { display: flex; gap: 10px; align-items: baseline; }
.event-list li::before { content: ''; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--c-control); transform: translateY(-1px); }
.event-list .when { margin-left: auto; font-size: 12px; color: var(--c-muted); white-space: nowrap; }

/* Verweise */
.refs-head h3 { font-size: 16px; font-weight: 700; margin: 0; }
.refs-head p { margin: 2px 0 0; font-size: 13px; color: var(--c-muted); }
.canon-svg, .threads-svg, .web-svg { display: block; width: 100%; height: auto; overflow: visible; }
.canon-svg .book { cursor: pointer; }
.canon-svg .book:hover rect.bg, .canon-svg .book:focus rect.bg { opacity: 0.6; }
.canon-svg text, .threads-svg text, .web-svg text { font-family: var(--font-ui); fill: var(--c-muted); }
.canon-svg .grp { fill: var(--c-ink); font-weight: 600; }
.canon-svg .bar { fill: var(--c-gold); }
.canon-svg .is-off .bar { fill: var(--c-line); }
.canon-svg .self { fill: var(--c-header); }
.bracket { fill: none; stroke: var(--c-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ref-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ref-list li { border-bottom: 1px solid var(--c-line); }
.ref-list li:last-child { border-bottom: 0; }
.ref-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--c-ink); }
.ref-item:hover .ref-name { color: var(--c-link-hover); }
.ref-name { font-weight: 700; color: var(--c-link); display: block; transition: color var(--t-fast) var(--ease); }
.ref-snippet { font-family: var(--font-text); font-size: 15px; color: var(--c-muted); display: block; }
.ref-detail { padding: 0 0 12px 24px; font-family: var(--font-text); font-size: 16px; }
.ref-detail .pill { font-family: var(--font-ui); margin-top: 8px; }
.strength { flex: 0 0 14px; display: inline-flex; align-items: flex-end; gap: 1.5px; height: 12px; margin-top: 5px; }
.strength i { width: 3px; border-radius: 1px; background: var(--c-line); }
.strength i:nth-child(1) { height: 5px; } .strength i:nth-child(2) { height: 8px; } .strength i:nth-child(3) { height: 12px; }
.strength i.on { background: var(--c-gold); }
.refs-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.refs-foot button { border: 0; background: none; color: var(--c-link); font-weight: 700; cursor: pointer; padding: 0; }
.source-note { font-size: 9.5px; line-height: 1.45; color: var(--c-faint); margin: 0; }
/* Quellenhinweise überall gleich (Feedback 16.11.): klein, grau, Links in derselben Farbe und unterstrichen – nie lila */
.source-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.source-note a:hover { color: var(--c-link); }
/* Abstand zur Grafik oder zum Inhalt darüber (Zeitfäden, Karten, Listen); eigene Abstände weiter unten (z. B. .map-credit) gehen vor */
* + .source-note { margin-top: 12px; }
.map-credit { margin: 6px 2px 0; }

/* Zeitfäden */
.threads { display: flex; flex-direction: column; }
.thread { border-top: 1px solid var(--c-line); }
.thread-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 4px 8px; align-items: center; width: 100%; padding: 12px 0 4px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--c-ink); }
.thread-row .t-name { font-weight: 700; }
.thread-row .t-from { font-size: 12px; color: var(--c-muted); font-weight: 500; margin-left: 6px; }
.thread-row .t-count { font-size: 12px; color: var(--c-muted); display: inline-flex; gap: 4px; align-items: center; }
.thread-row .chev { transition: transform var(--t-mid) var(--ease); }
.thread-row[aria-expanded='true'] .chev { transform: rotate(90deg); }
.thread-body { padding: 4px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.thread-quote { margin: 0; font-family: var(--font-text); font-style: italic; font-size: 16px; }
.stop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stop-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); font-size: 12px; font-weight: 700; color: var(--c-ink); cursor: pointer; }
.stop-chip.is-open { border-style: dashed; border-color: var(--c-gold-line); }
.epoch-band { fill: var(--c-gold); opacity: 0.18; }
.t1 { color: var(--c-t1); fill: var(--c-t1); stroke: var(--c-t1); }
.t2 { color: var(--c-t2); fill: var(--c-t2); stroke: var(--c-t2); }
.t3 { color: var(--c-t3); fill: var(--c-t3); stroke: var(--c-t3); }
.t4 { color: var(--c-t4); fill: var(--c-t4); stroke: var(--c-t4); }


/* Bücherkreis */
.web-svg .spoke { fill: none; stroke: var(--c-gold); stroke-linecap: round; opacity: 0.7; }
.web-svg .web-book { cursor: pointer; }
.web-svg .web-book:hover .seg-arc, .web-svg .web-book:focus .seg-arc { opacity: 0.6; }
.web-svg .is-self .seg-arc { fill: var(--c-header); }
.web-svg .ring-line { fill: none; stroke: var(--c-line); }

/* ---------- Kontextleiste und Sheet (Handy) ---------- */
.context-bar { position: sticky; top: 72px; z-index: 20; display: flex; align-items: center; gap: 12px; margin: -4px 0 16px; padding: 10px 10px 10px 12px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-card); box-shadow: var(--shadow-card); }
.context-bar .thumb { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: var(--c-land); overflow: hidden; }
.context-bar .info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex-grow: 1; }
.context-bar .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.context-bar .line { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.context-bar .mini-canon { display: block; width: 100%; max-width: 180px; height: auto; }
.context-bar .pill { min-height: 36px; flex-shrink: 0; }
.context-sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end; visibility: hidden; pointer-events: none; }
.context-sheet.is-open { visibility: visible; pointer-events: auto; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--c-backdrop); opacity: 0; transition: opacity var(--t-mid) var(--ease); border: 0; }
.context-sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel { position: relative; max-height: 88vh; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: var(--c-bg); box-shadow: var(--shadow-float); transform: translateY(100%); transition: transform var(--t-mid) var(--ease); }
.context-sheet.is-open .sheet-panel { transform: none; }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--c-line); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 8px; }
.sheet-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.sheet-tabs { margin: 0 16px 8px; }
.sheet-body { overflow: auto; padding: 4px 16px 24px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.sheet-body .card { padding: 16px; }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--c-line); padding: 24px clamp(16px, 3vw, 40px) 32px; font-size: 13px; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 32px; } }

/* ---------- Startseite ---------- */
.start { margin: 0 auto; padding: 0 0 120px; display: flex; flex-direction: column; gap: 20px; }
/* Inhalt mittig und breit; Hero und Bänder laufen über die ganze Breite (ohne 100vw – sonst Querscrollen) */
.start > :not(.hero):not(.band) { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.start:not(:has(.hero)) { padding-top: 56px; }
.start h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.start p.lead { font-family: var(--font-text); font-size: 22px; margin: 0; color: var(--c-muted); }
.chapter-grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Einblendungen und Bewegung ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
/* Druckansicht: nur Inhalt, schwarz auf weiß, Bibeltext in der Leseschrift; Bedienung, Panel und Navigation entfallen */
@media print {
  @page { margin: 16mm 15mm 18mm; }
  :root, :root[data-theme='dark'] { --c-bg: #FFFFFF; --c-card: #FFFFFF; --c-tint: #F2F2F2; --c-ink: #000000; --c-muted: #444444; --c-link: #000000; --c-line: #BBBBBB; color-scheme: light; }
  html, body { background: #FFFFFF !important; color: #000000 !important; }
  .site-header, .context-col, .book-nav, .context-bar, .context-sheet, .bottom-nav, .chapter-step, .site-footer nav, .page-step, .skip, .reader-kicker .nav-open,
  .group-books, .more-books, .az-nav, .sprung-nav, .va-btn, .va-bar, .term-pop, .share-pop, .zl-pop, .zl-cbar, .zl-ctools, .zl-range, .zl-range-head, .zl-toggles, .zl-tools, .ow-tabs, .ow-form,
  .entity-map-head .seg, button, [data-action] { display: none !important; }
  .layout { display: block; padding: 0; }
  main, .reader { max-width: none; padding: 0; margin: 0; }
  .card, .intro-block, .route-box { box-shadow: none !important; border: 0 !important; background: none !important; padding-left: 0; padding-right: 0; }
  .bible { font-size: 12pt; line-height: 1.55; color: #000000; }
  .bible a.v { color: #000000; font-weight: 700; text-decoration: none; }
  a { color: #000000; text-decoration: none; }
  .notes a[href^='http']::after, .pop-belege a[href^='http']::after, .intro-notes a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 8.5pt; word-break: break-all; color: #444444; }
  h1, h2, h3, .section-head { break-after: avoid; page-break-after: avoid; color: #000000; }
  p, li { orphans: 3; widows: 3; }
  figure, .map-wrap, .route-profile, .zl-stage, table { break-inside: avoid; }
  .reader-foot { display: block; margin-top: 10mm; font-size: 8.5pt; color: #444444; }
  .reader-foot span { display: block; }
  .site-footer { padding: 6mm 0 0; font-size: 8.5pt; }
  * { animation: none !important; transition: none !important; }
}
.map-sea { fill: var(--c-sea); }
.map-land-bg { fill: var(--c-land); }
.link-btn { border: 0; background: none; padding: 0; color: var(--c-link); font-weight: 700; cursor: pointer; }
.axis-ev { cursor: pointer; }
.axis-ev:focus { outline: none; }
.axis-ev:focus circle, .axis-ev:focus rect { stroke: var(--c-ink); stroke-width: 1.5; }

/* ---------- Kopf am Handy ---------- */
.lang-link .short { display: none; }
@media (max-width: 999px) {
  .site-header { gap: 8px; padding: 0 12px; min-height: 60px; }
  .site-nav { display: none; }
  .brand { font-size: 18px; gap: 8px; }
  .header-tools { gap: 6px; }
  .menu > summary { padding: 0 12px; }
  .lang-link .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-link .short { display: inline; }
  .context-bar { top: 68px; }
  /* Auswahllisten im Kopf am Bildschirm ausrichten statt an der Pille – sonst ragen lange Namen links hinaus */
  .site-header .menu-list { position: fixed; top: 68px; left: 12px; right: 12px; min-width: 0; max-height: calc(100vh - 84px); overflow-y: auto; }
}
/* mittlere Breiten: Kopfzeile mit Menü, Suche und Übersetzungswahl passt ohne Überlauf (sieben Bereiche seit 16.11.: „Welt der Bibel“ kurz „Welt“) */
@media (max-width: 1399px) { .nav-x { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-nav a { padding: 0 10px; }
  .goto input { width: clamp(130px, 13vw, 200px); }
  .lang-link .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-link .short { display: inline; }
}
@media (min-width: 1000px) and (max-width: 1279px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 1000px) and (max-width: 1199px) {
  .site-header { gap: 10px; }
  .site-nav a { padding: 0 10px; }
  .goto input { width: clamp(130px, 15vw, 200px); }
  .lang-link .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-link .short { display: inline; }
}
@media (min-width: 1000px) and (max-width: 1049px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav a { padding: 0 8px; }
  .goto input { width: 130px; }
}
@media (max-width: 359px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Leseseiten haben zusätzlich die Übersetzungswahl: unter 440 px nur das Logo (Name bleibt für Screenreader) */
@media (max-width: 439px) { .site-header:has(.menu) .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.book-filter { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--c-muted); }
.book-filter select { min-height: 36px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-ink); font: inherit; font-size: 13px; }
.canon-svg, .web-svg { cursor: pointer; }
/* Mindestgröße kleiner Text-Schaltflächen als Tippziel (WCAG 2.5.8) */
.refs-foot button, .refs-foot a, .time-card button.link, .link-btn, .lang-link, .book-step a { min-height: 24px; display: inline-flex; align-items: center; }
@media (max-width: 420px) { .seg button { padding: 0 7px; font-size: 12.5px; } .sheet-body { padding-left: 12px; padding-right: 12px; } .sheet-body .card { padding: 14px; } }

/* ---------- Seitenleisten: Abstand, Scrollleiste, Einklappen, Schnelllinks ---------- */
.context-col { scrollbar-width: auto; scrollbar-gutter: stable; padding-right: 14px; padding-left: 4px; margin-right: -4px; }
.book-nav { scrollbar-gutter: stable; padding-right: 12px; }
/* beide Seitenleisten: gleiche, gut greifbare Leiste */
.context-col::-webkit-scrollbar, .book-nav::-webkit-scrollbar { width: 14px; }
.context-col::-webkit-scrollbar-track, .book-nav::-webkit-scrollbar-track { background: transparent; }
.context-col::-webkit-scrollbar-thumb, .book-nav::-webkit-scrollbar-thumb { background: var(--c-faint); border-radius: 7px; border: 2px solid var(--c-bg); }
.context-col::-webkit-scrollbar-thumb:hover, .book-nav::-webkit-scrollbar-thumb:hover { background: var(--c-muted); }
.col-head { position: sticky; top: 0; z-index: 2; flex-direction: column; align-items: stretch !important; gap: 10px !important; padding: 2px 0 10px; background: var(--c-bg); }
.col-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quicklinks { display: flex; flex-wrap: nowrap; gap: 6px; }
.quicklinks .pill-sm { flex: 1 1 auto; justify-content: center; min-height: 38px; padding: 0 8px; font-size: 13px; background: var(--c-tint); border-color: transparent; color: var(--c-link); white-space: nowrap; }
.quicklinks .pill-sm:hover { background: var(--c-line); color: var(--c-link); }
.quicklinks .pill-sm[aria-pressed='true'] { background: var(--c-header); color: #FFFFFF; font-weight: 700; }
:root[data-theme='dark'] .quicklinks .pill-sm[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .quicklinks .pill-sm[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); } }
.context-col section[tabindex] { outline-offset: 4px; }
.nav-toggle, .nav-open { display: none; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.nav-toggle:hover, .nav-open:hover { background: var(--c-tint); color: var(--c-ink); }
@media (min-width: 1240px) {
  .nav-toggle:not([hidden]) { display: inline-flex; align-self: flex-start; }
  .nav-collapsed .layout { grid-template-columns: minmax(0, 680px) minmax(320px, 380px); }
  .nav-collapsed .book-nav { display: none; }
  .nav-collapsed .nav-open:not([hidden]) { display: inline-flex; }
}
.reader-kicker { align-items: center; min-height: 40px; }
.col-head { padding-top: 0 !important; }
.col-title { min-height: 40px; align-items: center !important; }
.time-card .source-note { color: var(--c-muted); }
.reader-foot a { color: inherit; text-decoration: underline; }

/* ---------- Verweise: Steuerung in einer Reihe ---------- */
.refs-controls { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.refs-controls .seg { flex: 0 0 auto; }
.seg-sm button { min-height: 32px; padding: 0 10px; font-size: 12px; }
.votes { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--c-muted); }
.votes input[type='range'] { width: 100%; accent-color: var(--c-control); min-height: 24px; margin: 0; cursor: pointer; }
.book-filter { margin-top: 0; }
@media (max-width: 380px) { .refs-controls { flex-wrap: wrap; } }

/* Zeitfäden */
.threads-svg { overflow: hidden; }
.epoch-sep { stroke: var(--c-line); stroke-width: 1; }

/* Bücherkreis */
.web-svg .seg-arc.is-off { opacity: 0.35; }
.web-svg .grp-label { fill: var(--c-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.web-svg .book-label { fill: var(--c-ink); font-weight: 600; }
.web-svg .spoke-end { fill: var(--c-gold); }
[data-refs] > .seg button { padding: 0 6px; font-size: 12.5px; }
.map-label.area { fill: var(--c-muted); font-style: italic; letter-spacing: 0.06em; font-weight: 600; }
.map-label.place.area { fill: var(--c-ink); }
.map-label.place.area.acting { fill: var(--c-gold-dark); }

/* Beschriftungen der Zeitebene: dunklere Töne für Kontrast (mind. 4,5:1 auf der Landfarbe) */
.map-label.realm-label.rf1 { fill: #5E2F7A; } .map-label.realm-label.rf2 { fill: #8A3320; } .map-label.realm-label.rf3 { fill: #1D5A4D; }
.map-label.realm-label.rf4 { fill: #574B12; } .map-label.realm-label.rf5 { fill: #22487C; } .map-label.realm-label.rf6 { fill: #6E450B; }
.map-label.route-label { fill: #62492A; } .map-label.rain, .map-label.crescent { fill: #22603D; }
:root[data-theme='dark'] .map-label.realm-label, :root[data-theme='dark'] .map-label.route-label, :root[data-theme='dark'] .map-label.rain, :root[data-theme='dark'] .map-label.crescent { fill: var(--c-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .map-label.realm-label, :root:not([data-theme='light']) .map-label.route-label, :root:not([data-theme='light']) .map-label.rain, :root:not([data-theme='light']) .map-label.crescent { fill: var(--c-ink); } }
.source-note .paul-chip { color: var(--c-muted); }

/* ---------- Gehe zu (Kopf) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.goto { position: relative; margin-left: auto; display: flex; align-items: center; }
.goto:not([hidden]) + .header-tools { margin-left: 0; }
.goto-field { position: relative; display: flex; align-items: center; }
.goto-go { position: absolute; right: 4px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #FFFFFF; cursor: pointer; }
.goto-go:hover, .goto-go:focus-visible { background: rgba(255, 255, 255, 0.16); }
.goto input { width: clamp(150px, 18vw, 240px); height: 40px; padding: 0 40px 0 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font: 500 14px var(--font-ui); transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.goto input::placeholder { color: #CFC3DE; }
.goto input:focus { outline: none; background: rgba(255, 255, 255, 0.18); border-color: var(--c-gold-on-purple); }
.goto-open { display: none; }
.goto-msg { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: max-content; max-width: 280px; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--c-card); color: var(--c-ink); font-size: 13px; box-shadow: var(--shadow-float); }
@media (max-width: 899px) {
  .goto-open { display: inline-flex; }
  /* am Handy klappt das Feld unter dem Kopf über die volle Breite auf */
  .goto { position: static; }
  /* über der Kontextleiste (z-index) und immer deckend – auch im Fokus, sonst scheint am iPhone die Leiste durch */
  .goto-field { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 45; display: none; }
  .goto.is-open .goto-field { display: flex; }
  .goto input, .goto input:focus { width: 100%; background: var(--c-header); box-shadow: var(--shadow-float); }
  .goto-msg { top: calc(100% + 58px); left: 12px; right: 12px; width: auto; max-width: none; z-index: 45; }
}
/* sehr schmale oder vergrößerte Ansicht (Safari-Zoom, große Schrift): Kopf kompakter, kein Knopf ragt hinaus */
@media (max-width: 379px) {
  .site-header { gap: 6px; padding: 0 8px; }
  .header-tools { gap: 4px; }
  .site-header .icon-btn { width: 36px; height: 36px; }
  .menu > summary { height: 36px; padding: 0 10px; gap: 4px; }
}

/* ---------- Buch-, Orts-, Ereignis- und Periodenseiten ---------- */
.page { width: min(var(--wrap), 100% - 32px); max-width: none; margin: 0 auto; padding: 40px 0 120px; display: flex; flex-direction: column; gap: 14px; }
.page h1 { font-size: clamp(32px, 5.5vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.page h2 { margin: 22px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.page h3 { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.page h3 a, .page p a:not(.pill), .facts a { color: var(--c-link); }
.page .lead { font-family: var(--font-text); font-size: 19px; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; margin: 4px 0 0; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.facts dd { margin: 0; font-size: 15px; }
.lead-sm { font-size: 17px; }
.steps { counter-reset: st; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; background: var(--c-card); border-radius: 20px; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-tint); color: var(--c-control); font: 700 14px/26px var(--font-ui); text-align: center; }
.src-lic { display: inline-block; padding: 1px 9px; margin-right: 6px; border-radius: 999px; background: var(--c-tint); color: var(--c-control); font-size: 12px; font-weight: 700; }
.src-facts { margin: 0; display: grid; gap: 16px; }
.src-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.src-facts dd { margin: 0; line-height: 1.6; }
.src-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
ul.spaced li + li { margin-top: 10px; }
.license-entry { margin: 20px 0 28px; }
.license-entry h3 { margin-bottom: 10px; }
.license-entry p { margin: 8px 0 0; }
.entity-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.entity-links li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.entity-links li > a { font-weight: 700; color: var(--c-link); text-decoration: none; }
.entity-links li > span:not([class]) { color: var(--c-muted); }
.entity-links li > a:hover { text-decoration: underline; }
.entity-links .meta { margin-left: auto; font-size: 12px; color: var(--c-muted); }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill.is-off { color: var(--c-muted); background: transparent; border-style: dashed; font-weight: 500; cursor: default; }
.books a.pill { color: var(--c-link); font-weight: 700; border-color: var(--c-tint); }
.entity-card { gap: 10px; margin-top: 6px; }
.entity-map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.entity-map { aspect-ratio: 16 / 10; max-height: min(60vh, 520px); width: 100%; }
.books { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.books h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.book-group { display: flex; flex-direction: column; gap: 8px; padding-left: 12px; border-left: 4px solid var(--c-line); }
.book-group.g-tora { border-color: var(--c-g-tora); } .book-group.g-geschichte { border-color: var(--c-g-geschichte); } .book-group.g-poesie { border-color: var(--c-g-poesie); }
.book-group.g-propheten { border-color: var(--c-g-propheten); } .book-group.g-evangelien { border-color: var(--c-g-evangelien); } .book-group.g-apg { border-color: var(--c-g-apg); }
.book-group.g-briefe { border-color: var(--c-g-briefe); } .book-group.g-offb { border-color: var(--c-g-offb); }
.book-nav h2 a { color: inherit; text-decoration: none; }
.book-nav h2 a:hover { color: var(--c-link); }
/* Links im Kontextpanel */
.place-list .name a, .event-list a { color: inherit; text-decoration: none; }
.place-list .name a:hover, .event-list a:hover { text-decoration: underline; }
.time-card .period-name a { color: inherit; text-decoration: none; }
.time-card .period-name a:hover { text-decoration: underline; text-decoration-color: var(--c-gold); }
.map-notes summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--c-muted); list-style-position: inside; }
.map-notes summary:hover { color: var(--c-link); }
.map-notes[open] summary { margin-bottom: 6px; }
/* Zeitachse: größere Trefferflächen, gewähltes Ereignis, Liste der nahen Ereignisse */
.axis-hit { fill: transparent; }
.axis-ev.is-selected circle:not(.axis-hit) { filter: drop-shadow(0 0 3px rgba(201, 162, 39, 0.8)); }
.axis-near-label { margin: 6px 0 0; color: var(--c-muted); }
.axis-near { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.axis-near button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--c-ink); font: 500 13px var(--font-ui); text-align: left; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.axis-near button:hover, .axis-near button:focus-visible, .axis-near button[aria-pressed='true'] { background: var(--c-tint); }
.axis-near button[aria-pressed='true'] { box-shadow: inset 3px 0 0 var(--c-gold); }
.axis-near button.is-here span:first-child { color: var(--c-link); font-weight: 700; }
.axis-near .when { flex-shrink: 0; color: var(--c-muted); font-size: 12px; }
/* Großansicht der Karte */
.map-dialog { width: min(1180px, calc(100vw - 32px)); height: min(860px, calc(100vh - 32px)); max-width: none; max-height: none; padding: 16px; border: 0; border-radius: 20px; background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); }
.map-dialog[open] { display: flex; flex-direction: column; gap: 10px; }
.map-dialog::backdrop { background: var(--c-backdrop); }
.map-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.map-dialog-head .label { margin: 0; }
.map-wrap.map-large { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
@media (max-width: 600px) { .map-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 12px; } }
/* Zeitregler bis heute: Skala unter der Leiste; Zeitschnitte ab 106 mit durchgezogenen Grenzen, besetzte Gebiete gestrichelt */
.map-time-track { position: relative; display: flex; flex: 1 1 auto; min-width: 0; padding-bottom: 14px; container-type: inline-size; }
.map-time-track input { width: 100%; }
.map-time-ticks { position: absolute; left: 8px; right: 8px; bottom: 0; height: 12px; font-size: 10px; line-height: 12px; color: var(--c-muted); pointer-events: none; }
.map-time-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.map-time-ticks span:first-child { transform: translateX(-8px); }
.realm.late { stroke-dasharray: none; fill-opacity: 0.13; stroke-opacity: 0.55; }
.realm.occupied { fill-opacity: 0.06; stroke-dasharray: 3 2; stroke-opacity: 0.95; }
/* Gebiete mit umstrittenem Status (Gaza ab 2005): neutral grau, gepunktet – weder wie ein Staat noch wie besetzt */
.rf0 { fill: #6B6478; stroke: #6B6478; }
.map-label.realm-label.rf0 { fill: #4A4458; }
.realm.contested { fill-opacity: 0.1; stroke-dasharray: 1 2.5; stroke-linecap: round; stroke-opacity: 1; }
/* schmale Spalte: „1000 v. Chr.“ weglassen, sonst überschneiden sich die Jahreszahlen */
@container (max-width: 300px) { .map-time-ticks span:nth-child(2) { display: none; } }
/* Ortsseiten: bloße Erwähnungen je Buch in einer Zeile */
.page .mentions { margin: 4px 0 12px; font-size: 14px; line-height: 1.7; }
.page .mentions a { color: var(--c-link); }
/* Bucheinleitung */
.note-ref { font-size: 0.68em; line-height: 0; margin-left: 1px; }
.note-ref a { text-decoration: none; padding: 0 1px; }
.intro-notes { padding-left: 1.4em; font-size: 14px; color: var(--c-muted); }
.intro-notes li { margin: 0 0 6px; scroll-margin-top: 80px; }
.intro-meta { margin-top: 18px; font-size: 12px; }
/* Zwei-Klick-Video (eigene Vorschau, kein fremdes Bild) */
.video { margin: 12px 0 22px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-inner); overflow: hidden; background: var(--c-header); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 0; background: linear-gradient(135deg, #4A2060, #2B1440); color: #F7F5FA; font: inherit; cursor: pointer; text-align: center; }
.video-play svg { color: #E3C464; transition: transform var(--t-fast) var(--ease); }
.video-play:hover svg, .video-play:focus-visible svg { transform: scale(1.08); }
.video-title { font-weight: 700; font-size: 16px; max-width: 34ch; }
.video-cta { font-size: 13px; color: #E3C464; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.video figcaption { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .video-play svg { transition: none; } }
/* Buchseite: Einleitung mit Steckbrief, Akkordeon, Aufbau-Leiste, Fäden-Karten */
:root { interpolate-size: allow-keywords; }
.intro { display: flex; flex-direction: column; gap: 18px; }
.intro-lead { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; }
.intro-block { display: flex; flex-direction: column; gap: 12px; }
.intro-block h2 { margin: 10px 0 0; }
.intro-tools { display: flex; justify-content: flex-end; margin-bottom: -6px; }
.book-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0; }
.book-facts div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--radius-inner); background: var(--c-tint); }
.book-facts .bf-wide { grid-column: 1 / -1; }
.book-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.book-facts dd { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.book-facts .bf-wide dd { font-size: 15px; font-weight: 600; }
.bf-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-genres .chip { font-size: 12px; }
@media (max-width: 520px) { .book-facts .bf-genre { grid-column: 1 / -1; } }
/* Akkordeon */
.accordion { border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); overflow: hidden; }
.acc + .acc { border-top: 1px solid var(--c-line); }
.acc > summary, .part > summary, .thread > summary { list-style: none; cursor: pointer; }
.acc > summary::-webkit-details-marker, .part > summary::-webkit-details-marker, .thread > summary::-webkit-details-marker { display: none; }
.acc > summary { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 16px 18px; transition: background var(--t-fast) var(--ease); }
.acc > summary:hover { background: var(--c-tint); }
.acc-title { font-size: 16px; font-weight: 800; }
.acc-teaser { grid-column: 1; grid-row: 2; font-size: 14px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.acc[open] .acc-teaser { display: none; }
.acc > summary .chev { grid-column: 2; grid-row: 1 / span 2; }
.acc-body { padding: 0 18px 18px; }
.acc-body > p { margin: 0 0 10px; }
.chev { color: var(--c-muted); flex: none; transition: transform var(--t-mid) var(--ease); }
details[open] > summary .chev { transform: rotate(180deg); }
.acc > summary:focus-visible, .part > summary:focus-visible, .thread > summary:focus-visible { outline: 2px solid var(--c-link); outline-offset: -2px; border-radius: 8px; }
/* weiches Auf- und Zuklappen, wo der Browser es kann */
.acc::details-content, .part::details-content, .thread::details-content { block-size: 0; overflow-y: clip; opacity: 0; transition: block-size var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease), content-visibility var(--t-mid) allow-discrete; }
.acc[open]::details-content, .part[open]::details-content, .thread[open]::details-content { block-size: auto; opacity: 1; }
/* Aufbau */
.part-band { display: block; width: 100%; height: 28px; }
.part-band rect { cursor: pointer; transition: opacity var(--t-fast) var(--ease); }
.part-band rect:hover { opacity: 0.8; }
.pc1 { --pc: var(--c-control); } .pc2 { --pc: var(--c-t4); } .pc3 { --pc: var(--c-t1); } .pc4 { --pc: var(--c-t3); }
.pc5 { --pc: var(--c-gold); } .pc6 { --pc: var(--c-t2); } .pc7 { --pc: var(--c-faint); }
.part-band rect { fill: var(--pc); }
.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.parts li { scroll-margin-top: 90px; }
.part { border: 1px solid var(--c-line); border-radius: var(--radius-inner); background: var(--c-card); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.part[open], .part:hover { border-color: var(--pc); box-shadow: var(--shadow-card); }
.part > summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.part-no { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--pc); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--c-ink); }
.part-head { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.part-title { font-weight: 700; }
.part-ref { font-size: 13px; color: var(--c-muted); }
.part-body { padding: 0 14px 14px 56px; }
.part-body p { margin: 0 0 10px; }
.parts li.is-flash .part { animation: part-flash 900ms var(--ease); }
@keyframes part-flash { 0% { box-shadow: 0 0 0 0 var(--c-link); } 40% { box-shadow: 0 0 0 4px var(--c-tint); } 100% { box-shadow: none; } }
/* Rote Fäden */
.thread-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; align-items: start; }
.thread-grid .thread { border: 0; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); padding: 0; }
.thread-grid .thread.t1 { color: var(--c-t1); } .thread-grid .thread.t2 { color: var(--c-t2); } .thread-grid .thread.t3 { color: var(--c-t3); } .thread-grid .thread.t4 { color: var(--c-t4); }
.thread-grid .thread > summary { display: flex; align-items: center; gap: 10px; padding: 14px; }
.thread-title { flex: 1; font-weight: 700; color: var(--c-ink); }
.thread-grid .thread > p { margin: 0; padding: 0 14px 14px; color: var(--c-ink); }
.thread-grid .thread:hover { box-shadow: 0 14px 28px -18px rgba(28, 16, 40, 0.55); }
/* Linie zum Evangelium */
.gospel-card { position: relative; padding: 22px 22px 20px; border-radius: var(--radius-card); background: var(--c-time); color: var(--c-on-dark); overflow: hidden; }
.gospel-card .label { color: var(--c-gold-on-purple); margin-bottom: 8px; }
.gospel-card p:last-child { margin: 0; font-family: var(--font-text); font-size: 18px; line-height: 1.55; }
.page .gospel-card a { color: var(--c-gold-on-purple); }
/* sanfte Einblendung beim Scrollen */
[data-reveal].reveal { opacity: 0; transform: translateY(12px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
[data-reveal].reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .acc::details-content, .part::details-content, .thread::details-content, .chev, .part, .acc > summary { transition: none; }
  [data-reveal].reveal { opacity: 1; transform: none; transition: none; }
  .parts li.is-flash .part { animation: none; }
}
.acc-body > p, .part-body p, .thread > p { font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
/* Feedback 3. 11.: Kapitel oben, Video neben der Einleitung, Zeitband, Zeitleiste, Belege am Seitenende */
.intro-head { display: grid; gap: 18px; align-items: start; }
@media (min-width: 760px) { .intro-head.has-video { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (min-width: 1100px) { .intro-head.has-video { grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; } }
.video-credit { margin: 0; }
.book-facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .book-facts.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Zeitband */
.era-card { padding: 14px 16px 12px; border-radius: var(--radius-inner); background: var(--c-tint); display: flex; flex-direction: column; gap: 10px; }
.era-card .label { color: var(--c-muted); }
.era-caption { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 10px; font-size: 13px; }
.era-caption .era-side { color: var(--c-muted); text-decoration: none; }
.era-caption .era-side:last-child { text-align: right; }
.era-caption .era-side:hover { color: var(--c-link); text-decoration: underline; }
.era-now { text-align: center; font-weight: 800; font-size: 15px; }
.era-years { display: block; font-weight: 600; font-size: 12px; color: var(--c-muted); }
.page .era-now a { color: var(--c-ink); text-decoration-color: var(--c-gold); }
@media (max-width: 600px) { .era-epochs { display: none; } .era-caption { grid-template-columns: 1fr; text-align: center; } .era-caption .era-side, .era-caption .era-side:last-child { text-align: center; } }
.page > .era { margin-bottom: 4px; }
/* Zeitleiste der Ereignisse */
.pstrip { margin: 4px 0 14px; padding: 12px 14px 6px; background: var(--c-card); border-radius: 20px; }
.pstrip svg { display: block; width: 100%; height: auto; overflow: visible; }
.pstrip-axis, .pstrip-tick { stroke: var(--c-line); stroke-width: 2; }
.pstrip text { font: 600 12px var(--font-ui); fill: var(--c-muted); text-anchor: middle; }
.pstrip-dots circle { fill: var(--c-control); fill-opacity: .75; stroke: var(--c-card); stroke-width: 1.5; }
details.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0 140px; padding: 6px 14px; border-radius: 999px; background: var(--c-tint); color: var(--c-control); font-weight: 700; font-size: 14px; }
details.more > summary::-webkit-details-marker { display: none; }
@media (max-width: 520px) { details.more > summary { margin-left: 104px; } }
.timeline { list-style: none; margin: 4px 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: var(--c-line); }
.timeline li { position: relative; padding: 6px 0 6px 140px; font-size: 15px; }
.timeline li::before { content: attr(data-y); position: absolute; left: 0; width: 104px; top: 9px; font-size: 12px; font-weight: 700; color: var(--c-muted); text-align: right; }
.timeline li::after { content: ''; position: absolute; left: 113px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-card); border: 2.5px solid var(--c-control); }
@media (max-width: 520px) { .timeline::before { left: 82px; } .timeline li { padding-left: 104px; } .timeline li::before { width: 70px; } .timeline li::after { left: 77px; } }
/* Belege am Seitenende, klein und ohne Box */
.intro-notes-block { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); scroll-margin-top: 80px; }
.intro-notes-block h2 { font-size: 15px; margin: 0 0 8px; }
.intro-notes-block .intro-notes { font-size: 13px; margin: 0; }
/* Belege der Buchseite eingeklappt: Zeile mit Zahl und Pfeil wie bei den Klappkarten */
.notes-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-radius: 8px; }
.notes-fold > summary::-webkit-details-marker { display: none; }
.notes-fold > summary h2 { margin: 0; }
.notes-fold > summary:hover h2 { color: var(--c-link-hover); }
.notes-count { display: inline-block; min-width: 1.8em; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--c-tint); font: 700 12px var(--font-ui); color: var(--c-muted); text-align: center; vertical-align: 2px; }
.notes-fold[open] > summary { margin-bottom: 8px; }
.intro-meta { margin: 10px 0 0; font-size: 12px; color: var(--c-muted); line-height: 1.5; }
span.chev { display: inline-block; width: 9px; height: 9px; margin: 0 4px 4px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: rotate(45deg); }
details[open] > summary span.chev { transform: rotate(225deg); margin-bottom: -2px; }

/* Zeitstrahl der Epochen (Buch- und Periodenseiten) */
.era { display: flex; flex-direction: column; gap: 12px; }
.era-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.era-line::before { content: ''; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 10px; height: 2px; background: color-mix(in srgb, var(--c-control) 25%, transparent); }
.era-line a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 2px; text-align: center; text-decoration: none; color: var(--c-muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
.era-dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--c-card); border: 2px solid color-mix(in srgb, var(--c-control) 45%, transparent); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.era-line a:hover .era-dot, .era-line a:focus-visible .era-dot { transform: scale(1.25); border-color: var(--c-control); }
.era-line a:hover .era-name { color: var(--c-link); }
.era-line .is-on a { color: var(--c-ink); font-weight: 800; }
.era-line .is-on .era-dot { width: 22px; height: 22px; margin-top: -1px; background: var(--c-control); border: 3px solid var(--c-gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-gold) 25%, transparent); }
@media (max-width: 520px) { .era-line a { font-size: 10.5px; } }

/* Buchseite: Kapitel-Kreise immer sichtbar (lange Bücher klappen den Rest auf), darunter Kacheln „Abschnitte“ und „Orte“ */
.read-chapters { display: flex; flex-direction: column; gap: 10px; }
.read-chapters .label { margin: 0; }
.book-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.book-kicker .chip { font-size: 12px; }
.book-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.bt { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'label chev' 'num chev' 'hint chev'; align-items: center; text-align: left; padding: 12px 16px; border: 0; border-radius: var(--radius-inner); background: var(--c-tint); color: var(--c-ink); font: inherit; cursor: pointer; transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.bt:hover { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-control) 35%, transparent); }
.bt[aria-expanded='true'] { background: var(--c-control); color: var(--c-control-ink); }
.bt-label { grid-area: label; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.bt-num { grid-area: num; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.bt-hint { grid-area: hint; font-size: 12px; color: var(--c-muted); }
.bt .chev { grid-area: chev; }
.bt[aria-expanded='true'] .bt-label, .bt[aria-expanded='true'] .bt-hint, .bt[aria-expanded='true'] .chev { color: inherit; }
.bt[aria-expanded='true'] span.chev { transform: rotate(225deg); margin-bottom: -2px; }
.bt-panel { padding: 16px; border-radius: var(--radius-inner); background: var(--c-card); animation: bt-in var(--t-mid) var(--ease); }
.bt-panel .link-list { margin: 0; }
@keyframes bt-in { from { opacity: 0; transform: translateY(-6px); } }

/* Videokarte neben der Einleitung: eigene Illustration (4:3), Buchname oben links, „Video ansehen“ unten mittig */
.video-side { display: flex; flex-direction: column; }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-card .video-frame { aspect-ratio: 4 / 3; border-radius: 18px; background: #2B1440; box-shadow: 0 10px 28px -14px rgba(28, 16, 40, 0.6); }
.video-card .video-frame:has(iframe) { aspect-ratio: 16 / 9; }
.video-card .video-play { position: absolute; inset: 0; padding: 0; display: block; background: none; color: #F7F1E4; text-align: left; }
.video-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video-head { position: absolute; left: 16px; top: 14px; right: 16px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 8px rgba(20, 10, 30, 0.45); }
.video-card .video-by { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #E3C464; }
.video-card .video-title { font-family: var(--font-text); font-size: 31px; font-weight: 600; line-height: 1.05; color: #F7F1E4; max-width: none; }
.video-card .video-part { font-size: 12px; font-weight: 700; color: #F7F1E4; opacity: 0.9; }
.video-card .video-cta { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 4px 13px 4px 4px; border-radius: 999px; background: rgba(247, 241, 228, 0.94); color: #2B1440; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; white-space: nowrap; box-shadow: 0 4px 14px -4px rgba(20, 10, 30, 0.5); transition: transform var(--t-fast) var(--ease); }
.video-card .video-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #C9A227; color: #2B1440; padding-left: 2px; }
.video-card .video-btn svg { color: #2B1440; }
.video-play:hover > .video-cta, .video-play:focus-visible > .video-cta { transform: translateX(-50%) scale(1.05); }
.video-play:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
.video-side .video-credit { margin: 8px 4px 0; font-size: 11.5px; line-height: 1.4; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .bt-panel { animation: none; } .video-btn, .era-dot { transition: none; } }

/* Ortsbeschreibung oben auf der Ortsseite */
.place-about { margin: 18px 0 6px; }
.place-about h2 { margin-bottom: 6px; }
.place-about p { font-family: var(--font-text); font-size: 19px; line-height: 1.6; margin: 0; }
.acc-chips { display: inline-flex; gap: 6px; margin-left: 8px; vertical-align: 2px; }
.acc-chips .chip { font-size: 12px; }

/* Orte-Übersicht */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.az-nav a { min-width: 34px; justify-content: center; }
.az-nav a[aria-current='page'] { background: var(--c-control); color: var(--c-control-ink); }
.region-block { margin: 14px 0 18px; }
.region-block h3 { margin: 0 0 8px; font-size: 16px; }
.region-block h3 .muted { font-weight: 600; font-size: 13px; }
.place-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.place-grid a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 14px; border-radius: var(--radius-inner); background: var(--c-card); text-decoration: none; color: var(--c-ink); transition: background var(--t-fast) var(--ease); }
.place-grid a:hover { background: var(--c-tint); }
.pg-name { font-weight: 800; }
.pg-meta { font-size: 12.5px; color: var(--c-muted); }
.start-links { margin: 6px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.place-about h3 { margin: 18px 0 4px; font-size: 17px; }
.place-about h3 + p { margin-top: 0; }
/* Buchvideo in mehreren Teilen: ein Bild, ein Knopf je Teil; nach dem Start ein Umschalter */
.video-ctas { position: absolute; left: 8px; right: 8px; bottom: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.video-card .video-ctas .video-cta { position: static; transform: none; cursor: pointer; border: 0; font-family: inherit; }
.video-card .video-ctas .video-cta:hover, .video-card .video-ctas .video-cta:focus-visible { transform: scale(1.05); }
.video-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.video-switch[hidden] { display: none; }
.video-switch [aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }

/* Bereichsseiten: Bücher (Karten mit Illustration), Lesen (Übersetzungen, Weiterlesen), Zeit (Epochenleiste) */
.book-grid { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.book-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); overflow: hidden; color: var(--c-ink); text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.book-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(28, 16, 40, 0.55); }
.book-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #2B1440; }
.bc-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.bc-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.bc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--c-muted); }
.bc-meta .chip { font-size: 11.5px; }
.bc-text { font-family: var(--font-text); font-size: 15.5px; line-height: 1.45; }
.tr-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tr-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); }
.tr-card p { margin: 0; }
.tr-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.tr-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-credit { font-size: 12px; color: var(--c-muted); }
.continue-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: var(--radius-inner); background: var(--c-tint); }
.continue-card[hidden] { display: none; }
.continue-card .label { margin: 0; color: var(--c-muted); }
.time-bar { margin: 6px 0 4px; padding: 10px 14px 4px; background: var(--c-card); border-radius: var(--radius-card); }
.time-bar svg { display: block; width: 100%; height: auto; overflow: visible; }
.tb-ep.tb-0 { fill: var(--c-control); } .tb-ep.tb-1 { fill: #9A6BB5; }
.tb-num { fill: var(--c-card); stroke: var(--c-control); stroke-width: 2; transition: fill var(--t-fast) var(--ease); }
.tb-numt { font: 800 12px var(--font-ui); fill: var(--c-ink); text-anchor: middle; pointer-events: none; }
.time-bar a:hover .tb-num, .time-bar a:focus .tb-num { fill: var(--c-gold); }
.tb-break { stroke: var(--c-card); stroke-width: 3; fill: none; }
.epoch h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ep-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-control); color: var(--c-control-ink); font-size: 14px; font-weight: 800; align-self: center; }
.ep-years { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.epoch .label { margin: 14px 0 4px; }
@media (prefers-reduced-motion: reduce) { .book-card, .tb-num { transition: none; } .book-card:hover { transform: none; } }

/* Datenschutz: Widerspruch gegen die Statistik */
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-radius: var(--radius-inner); background: var(--c-tint); }
.optout[hidden] { display: none; }
.optout p { margin: 0; }

/* Startseite: Einstiegsblöcke und die drei Stärken (Ort, Zeit, Zusammenhang) */
.start-block { display: flex; flex-direction: column; gap: 10px; }
.start-block h2 { margin: 18px 0 0; }
.start-block p { margin: 0; }
.feature-grid { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.feature-grid li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); border-top: 4px solid var(--c-gold); }
.feature-grid h3 { margin: 0; font-size: 18px; }
.feature-grid p { font-size: 15px; color: var(--c-muted); }
.feature-grid a { margin-top: auto; font-weight: 700; }
/* Seite nicht gefunden */
.not-found .chip-links { margin-top: 6px; }

/* Zeitachse im Kontextpanel: helle Karte wie Ort und Verweise (Farben über Klassen, nicht im Skript) */
.ax-per { fill: var(--c-card); stroke: var(--c-line); }
.ax-per.is-alt { fill: var(--c-tint); }
.ax-per.is-now { fill: var(--c-gold); stroke: none; }
.ax-per-t { fill: var(--c-muted); font-weight: 500; }
.ax-per-t.is-now { fill: #2B1440; font-weight: 700; }
.ax-lane { stroke: var(--c-line); }
.ax-muted { fill: var(--c-muted); }
.ax-tick { stroke: var(--c-muted); }
.ax-dot { fill: var(--c-control); opacity: 0.75; }
.ax-dot.is-on { fill: var(--c-gold); opacity: 1; }
.ax-dot.is-sel { stroke: var(--c-ink); stroke-width: 1.5; }
.ax-here { stroke: var(--c-gold); fill: none; }
.ax-here-t { fill: var(--c-link); }

/* Ereignisse auf der Periodenseite: aufklappbar statt eigener Seite */
.timeline details.ev > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--c-link); font-weight: 600; }
.timeline details.ev > summary::-webkit-details-marker { display: none; }
.timeline details.ev[open] > summary .chev { transform: rotate(225deg); }
.ev-body { margin: 8px 0 4px; padding: 10px 14px; border-radius: var(--radius-inner); background: var(--c-card); }
.ev-body .entity-links { margin: 0; }
.timeline li:target, .timeline details.ev:target { scroll-margin-top: 90px; }

/* Wüstenwanderung (vermutete Route) auf der Karte */
.exodus-route { fill: none; stroke: var(--c-control); stroke-width: 2.4; stroke-dasharray: 7 5; opacity: 0.6; stroke-linecap: round; stroke-linejoin: round; }
.exodus-route.is-here { opacity: 0.95; }
.exodus-stop { fill: var(--c-card); stroke: var(--c-control); stroke-width: 1.2; }
.exodus-chip { display: inline-block; padding: 0 8px; border-radius: 999px; border: 2px dashed var(--c-control); font-weight: 700; }

/* Ortsseite: der beschriebene Ort hervorgehoben */
.mk-focus { fill: var(--c-control); fill-opacity: 0.16; stroke: var(--c-control); stroke-opacity: 0.45; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-svg text.place.is-focus, text.place.is-focus { fill: var(--c-control); font-weight: 800; }
/* Gebiete auf der Ortsseite: gesperrte Versalien statt Punkt und Hof; Gewässer blau und kursiv */
.map-svg text.place.area.is-focus { letter-spacing: 0.14em; font-weight: 700; font-style: normal; fill-opacity: 0.85; }
.map-svg text.place.area.water, .map-svg text.place.area.water.is-focus { fill: var(--c-river); font-style: italic; letter-spacing: 0.02em; }

/* ---------- Startseite: Hero über die ganze Breite ---------- */
.hero { position: relative; width: 100%; margin: 0; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: #2B1440; color: #FFFFFF; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg.is-illu { filter: saturate(1.05); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 10, 36, 0.15) 0%, rgba(23, 10, 36, 0.55) 45%, rgba(23, 10, 36, 0.88) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px 16px 48px; display: flex; flex-direction: column; gap: 14px; }
.hero .label { color: var(--c-gold-on-purple); }
.start .hero h1 { color: #FFFFFF; font-size: clamp(38px, 7vw, 64px); text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-lead { margin: 0; font-family: var(--font-text); font-size: clamp(19px, 2.6vw, 23px); line-height: 1.45; color: #EDE6F3; max-width: 34em; }
.hero .start-links { margin: 6px 0 0; }
.pill-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); color: #FFFFFF; }
.pill-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }
.hero-continue { margin: 0; font-size: 14px; }
.hero-continue[hidden] { display: none; }
.hero-continue a { color: #FFFFFF; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .hero-bg { animation: hero-zoom 22s ease-in-out infinite alternate; } @keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } } }

/* Drei Stärken als Bild-Text-Reihen (abwechselnd) */
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 22px; align-items: center; margin-top: 12px; }
.feature-row.is-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature-row.is-flip img { order: 2; }
.feature-row img { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: 0 14px 32px -18px rgba(28, 16, 40, 0.6); }
.feature-row h3 { margin: 4px 0 6px; font-family: var(--font-text); font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; line-height: 1.15; }
.feature-row p { margin: 0 0 10px; color: var(--c-muted); }
.feature-row .label { margin: 0; }
@media (max-width: 640px) { .feature-row { grid-template-columns: 1fr; } .feature-row.is-flip img { order: 0; } }

/* Einstiege mit Buch-Illustration, 3 × 3 */
.try-grid { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.try-grid a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); overflow: hidden; color: var(--c-ink); text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.try-grid a:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(28, 16, 40, 0.55); }
.try-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.try-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
@media (max-width: 640px) { .try-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Zitat (Haltung) */
.pull-quote { margin: 4px 0; padding: 18px 22px; border-radius: var(--radius-card); background: var(--c-tint); }
.pull-quote p { margin: 0; font-family: var(--font-text); font-size: clamp(20px, 2.6vw, 24px); line-height: 1.45; font-style: italic; }

/* ---------- Über-Seite ---------- */
.about-hero { padding: 8px 0 4px; }
.about-mission { margin: 6px 0 0; font-family: var(--font-text); font-size: clamp(24px, 3.6vw, 32px); line-height: 1.25; color: var(--c-link); }
.num-strip { list-style: none; margin: 10px 0 6px; padding: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px 0; border-block: 1px solid var(--c-line); }
.num-strip li { display: flex; flex-direction: column; gap: 2px; padding: 0 18px; border-left: 1px solid var(--c-line); }
.num-strip li:first-child { border-left: 0; padding-left: 0; }
.num-strip .num { font-family: var(--font-text); font-size: clamp(34px, 4.6vw, 44px); font-weight: 600; line-height: 1; color: var(--c-link); }
.num-strip .num-label { font-size: 13px; color: var(--c-muted); }
/* Über-Seite (23.11.): Texte links eng untereinander, Bild rechts bleibt beim Scrollen stehen */
.about-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.about-texte > section + section { margin-top: 26px; }
.about-texte h2 { margin-top: 0; }
.about-split .about-bild { width: 100%; height: auto; border-radius: var(--radius-card); position: sticky; top: 96px; }
@media (max-width: 640px) { .about-split { grid-template-columns: 1fr; } .about-split .about-bild { position: static; order: -1; } }
.link-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.link-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--c-ink); }
.link-cards .lc-title { font-weight: 800; color: var(--c-link); }
.link-cards .lc-desc { font-size: 13.5px; color: var(--c-muted); }

/* ---------- Wie die Texte entstehen: Ablauf in Schritten ---------- */
.flow { list-style: none; margin: 8px 0; padding: 0; counter-reset: flow; display: flex; flex-direction: column; gap: 0; }
.flow li { position: relative; counter-increment: flow; padding: 0 0 22px 56px; }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--c-control); color: var(--c-control-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--c-line); }
.flow h2 { margin: 6px 0 4px; font-size: 20px; }
.flow p { margin: 0; }
.ev-refs { margin: 4px 0 0; font-size: 14.5px; }

/* Bänder über die ganze Breite: Weiterlesen (hell), Haltung (Purpur) */
.band { width: 100%; }
.band[hidden] { display: none; }
.band-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.band-tint { background: var(--c-tint); margin-top: -20px; }
.continue-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0; }
.continue-row .label { margin: 0; }
.band-purple { background: var(--c-time); color: #FFFFFF; margin-top: 24px; }
.stance { padding: 80px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.stance .label { color: var(--c-gold-on-purple); margin: 0; }
.stance blockquote { margin: 0; position: relative; padding-left: 64px; max-width: none; }
.stance blockquote::before { content: '„'; position: absolute; left: 0; top: -36px; font-family: var(--font-text); font-size: 110px; line-height: 1; color: var(--c-gold-on-purple); }
.stance blockquote p { margin: 0; font-family: var(--font-text); font-size: clamp(24px, 3.2vw, 38px); line-height: 1.35; color: #FFFFFF; text-wrap: pretty; }
.start > .band-purple + * { margin-top: 0; }

.about-hero h1 { margin-bottom: 10px; }
.link-cards { margin-bottom: 28px; }
.page > section + section { margin-top: 12px; }
:lang(en) .stance blockquote::before { content: '“'; top: -24px; }

/* Link auf Bibelschütze mit eigenem Vorschaubild (alle Querverweise als Bögen) */
.bs-link { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; text-decoration: none; color: var(--c-ink); }
.bs-link img { width: 100%; height: auto; border-radius: var(--radius-inner); transition: transform var(--t-fast) var(--ease); }
.bs-link:hover img { transform: translateY(-2px); }
.bs-link > span { display: flex; flex-direction: column; gap: 2px; }
.bs-link b { color: var(--c-link); }
@media (prefers-reduced-motion: reduce) { .bs-link img { transition: none; } .bs-link:hover img { transform: none; } }

/* ---------- Querverweise der Bibel: Bögen über dem Buchband ---------- */
.rb { margin: 6px 0 4px; padding: 14px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.rb svg { display: block; width: 100%; height: auto; }
.rb-arc { fill: none; stroke: var(--c-control); stroke-width: 1.1; transition: stroke-opacity var(--t-fast) var(--ease); }
.has-sel .rb-arc { stroke-opacity: 0.04; }
.has-sel .rb-arc.is-on { stroke: var(--c-gold); stroke-opacity: 0.9; stroke-width: 1.6; }
.rb-seg { cursor: pointer; stroke: var(--c-card); stroke-width: 0.5; }
.rb-seg.g-tora { fill: #B98B5B; } .rb-seg.g-geschichte { fill: #6E9A5F; } .rb-seg.g-poesie { fill: #9A78B5; } .rb-seg.g-propheten { fill: #5B86A8; }
.rb-seg.g-evangelien { fill: #C4735A; } .rb-seg.g-apg { fill: #5F9A7E; } .rb-seg.g-briefe { fill: #6A8F8A; } .rb-seg.g-offb { fill: #A86A6A; }
.has-sel .rb-seg:not(.is-on) { opacity: 0.45; }
.rb-pick { display: flex; flex-direction: column; gap: 6px; }
.rb-pick .label { margin: 8px 0 0; }
.rb-pick button[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); border-color: transparent; }
.rb-info { margin-top: 12px; padding: 16px 18px; border-radius: var(--radius-card); background: var(--c-tint); }
.rb-info[hidden] { display: none; }
.rb-info .rb-name { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.rb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rb-top { margin: 4px 0 0; padding-left: 20px; }
.rb-ep { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rb-ep li { display: grid; grid-template-columns: 9em 1fr 3em; align-items: center; gap: 8px; font-size: 13.5px; }
.rb-bar { height: 8px; border-radius: 4px; background: var(--c-card); overflow: hidden; }
.rb-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c-control); transition: width var(--t-mid) var(--ease); }
.rb-list { margin: 6px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.rb-list .meta { margin-left: 8px; font-size: 12.5px; color: var(--c-muted); }
.bs-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; align-items: center; padding: 14px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--c-ink); }
.bs-card img { width: 100%; height: auto; border-radius: var(--radius-inner); }
.bs-card > span { display: flex; flex-direction: column; gap: 6px; }
.bs-card b { color: var(--c-link); font-size: 18px; }
@media (max-width: 640px) { .bs-card { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rb-arc, .rb-bar span { transition: none; } }

/* Breite Seiten: Raster, Karten und Karten nutzen die Breite, Fließtext bleibt gut lesbar */
.page > p, .page .lead, .page .lead-sm, .place-about, .page > .intro-block > p, .page > section > p, .flow, .pull-quote, .page > h2 + p { max-width: 46em; }
@media (min-width: 1100px) {
  .place-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Startseite: Band „Zum Ausprobieren“ und kompakte Bücherliste */
.band-try { margin-top: 40px; padding: 44px 0 52px; }
.band-try h2 { margin: 0 0 14px; }
.books-compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 8px 40px; }
.books-compact .label { margin: 0 0 6px; }
.bc-row { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bc-group { display: inline-block; flex-basis: 100%; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.bc-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--c-card); box-shadow: 0 1px 0 var(--c-line), 0 4px 12px -10px rgba(28, 16, 40, 0.5); color: var(--c-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.bc-chip:hover { background: var(--c-tint); color: var(--c-link); transform: translateY(-1px); }

/* Verweise: die drei Darstellungen als Karten (Antippen schaltet die Vorführung um) */
.view-cards { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.view-card { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 0 0 16px; border: 0; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); text-align: left; font: inherit; color: var(--c-ink); cursor: pointer; overflow: hidden; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.view-card:hover, .view-card:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(28, 16, 40, 0.6); }
.view-card svg { display: block; width: 100%; height: auto; padding: 18px 26px; background: linear-gradient(160deg, var(--c-tint), color-mix(in srgb, var(--c-control) 18%, var(--c-tint))); }
.view-card > span { padding: 0 18px; }
.vc-name { font-size: 20px; font-weight: 800; margin-top: 8px; }
.vc-q { font-family: var(--font-text); font-size: 17px; font-style: italic; color: var(--c-link); }
.vc-text { font-size: 14.5px; color: var(--c-muted); }
.vc-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--c-link); }
.vi-band { fill: color-mix(in srgb, var(--c-control) 30%, var(--c-card)); }
.vi-line { stroke: var(--c-control); stroke-width: 1.6; fill: none; opacity: 0.7; }
.vi-dot { fill: var(--c-control); } .vi-dot.is-gold { fill: var(--c-gold); }
.vi-col { stroke: var(--c-line); stroke-width: 1; }
.vi-thread { fill: none; stroke: var(--c-control); stroke-width: 2.2; stroke-linecap: round; } .vi-thread.is-gold { stroke: var(--c-gold); }
.vi-ring { fill: none; stroke: color-mix(in srgb, var(--c-control) 35%, var(--c-card)); stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .vi-thread { stroke-dasharray: 160; stroke-dashoffset: 160; animation: vi-draw 2.4s var(--ease) 0.3s forwards; }
  .vi-thread.is-gold { animation-delay: 0.9s; }
  .view-card:hover .vi-dot.is-gold, .view-card:hover .vi-thread.is-gold { filter: drop-shadow(0 0 3px rgba(201, 162, 39, 0.9)); }
  @keyframes vi-draw { to { stroke-dashoffset: 0; } }
}
.refs-demo .chip-links { margin: 4px 0 10px; }
.refs-demo .chip-links button[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); border-color: transparent; }
.refs-demo-card { min-height: 420px; }
.refs-demo-card { max-width: none; }
.refs-demo-card .web-svg { display: block; max-width: 560px; margin-inline: auto; }
.refs-demo-card .bs-link { display: none; }

/* ---------- Startseite: „Ein Text, vier Blickwinkel“ ---------- */
.showcase { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.sc-head h2 { margin: 0 0 4px; }
.sc-head p { margin: 0; max-width: 46em; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-card); overflow: hidden; background: var(--c-card); box-shadow: 0 18px 40px -24px rgba(28, 16, 40, 0.55); }
.sc-pane { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 600ms var(--ease), transform 900ms var(--ease); pointer-events: none; }
.sc-pane.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sc-pane svg { display: block; width: 100%; height: 100%; }
.sc-sea { fill: var(--c-sea); } .sc-land { fill: var(--c-land); }
.sc-lake { fill: color-mix(in srgb, var(--c-sea) 70%, #6E95BE); } .sc-river { fill: none; stroke: #8FB0D2; stroke-width: 3; }
.sc-water { font: italic 13px var(--font-text); fill: #5D7EA3; }
.sc-lbl { font: 700 14px var(--font-ui); fill: var(--c-ink); paint-order: stroke; stroke: var(--c-land); stroke-width: 3px; }
.sc-small { font-size: 12px; font-weight: 600; stroke: var(--c-card); }
.sc-pt { fill: var(--c-control); stroke: #FFFFFF; stroke-width: 2; } .sc-pt.is-gold { fill: var(--c-gold); }
.sc-route { fill: none; stroke: var(--c-control); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0.04 0.03; }
.sc-profile rect { fill: rgba(255, 255, 255, 0.88); } .sc-profile text { font: 700 12px var(--font-ui); fill: var(--c-link); }
.sc-profile path { fill: none; stroke: var(--c-gold); stroke-width: 3; stroke-linecap: round; }
.sc-ep { fill: var(--c-tint); } .sc-ep.is-on { fill: var(--c-control); }
.sc-pin circle { fill: var(--c-gold); stroke: #FFFFFF; stroke-width: 2; }
.sc-at { fill: color-mix(in srgb, var(--c-control) 25%, var(--c-card)); } .sc-nt { fill: color-mix(in srgb, var(--c-gold) 45%, var(--c-card)); }
.sc-faint { fill: none; stroke: var(--c-control); stroke-opacity: 0.18; stroke-width: 1.4; }
.sc-arc { fill: none; stroke: var(--c-gold); stroke-width: 3; stroke-linecap: round; }
.sc-book { position: relative; width: 100%; height: 100%; }
.sc-book img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-step button { width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 0; border-radius: var(--radius-inner); background: transparent; text-align: left; font: inherit; color: var(--c-ink); cursor: pointer; position: relative; overflow: hidden; transition: background var(--t-fast) var(--ease); }
.sc-step button:hover { background: var(--c-tint); }
.sc-step.is-on button { background: var(--c-tint); }
.sc-step .label { margin: 0; }
.sc-title { font-family: var(--font-text); font-size: 22px; font-weight: 600; line-height: 1.2; }
.sc-step:not(.is-on) .sc-title { color: var(--c-muted); }
.sc-body { padding: 4px 16px 6px; }
.sc-body p { margin: 0 0 6px; color: var(--c-muted); }
.sc-body a { font-weight: 700; }
.showcase[data-ready] .sc-step:not(.is-on) .sc-body { display: none; }
.sc-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c-gold); }
@media (prefers-reduced-motion: no-preference) {
  .sc-pane.is-on .sc-draw { stroke-dasharray: 1; animation: sc-draw 1.6s var(--ease) 0.2s backwards; }
  .sc-pane.is-on .sc-route.sc-draw { stroke-dasharray: 0.04 0.03; animation: sc-route 2s var(--ease) both; }
  .sc-pane.is-on .sc-late { animation-delay: 0.7s; }
  .sc-pane.is-on .sc-pin { animation: sc-drop 700ms var(--ease) 0.3s backwards; }
  .sc-pane.is-on .sc-ep { animation: sc-grow 600ms var(--ease) backwards; transform-box: fill-box; transform-origin: left center; }
  .sc-pane.is-on .sc-ep:nth-of-type(2) { animation-delay: 0.12s; } .sc-pane.is-on .sc-ep:nth-of-type(3) { animation-delay: 0.24s; } .sc-pane.is-on .sc-ep:nth-of-type(4) { animation-delay: 0.36s; } .sc-pane.is-on .sc-ep:nth-of-type(5) { animation-delay: 0.48s; } .sc-pane.is-on .sc-ep:nth-of-type(6) { animation-delay: 0.6s; }
  .sc-pane.is-on .sc-pin { animation-delay: 0.9s; }
  .sc-pane.is-on .sc-book img { animation: sc-zoom 7s ease-out both; }
  .showcase[data-ready]:not(.is-paused) .sc-step.is-on .sc-progress { animation: sc-progress 7s linear both; }
  @keyframes sc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes sc-route { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes sc-drop { from { transform: translateY(-14px); opacity: 0; } }
  @keyframes sc-grow { from { transform: scaleX(0.2); opacity: 0; } }
  @keyframes sc-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes sc-progress { from { width: 0; } to { width: 100%; } }
}

/* ---------- Zeit: jede Epoche mit Bildband ---------- */
.epoch { margin-top: 26px; }
.ep-banner { position: relative; aspect-ratio: 16 / 5; border-radius: var(--radius-card); overflow: hidden; margin-bottom: 10px; background: #2B1440; }
.ep-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 10, 36, 0.86) 0%, rgba(23, 10, 36, 0.45) 55%, rgba(23, 10, 36, 0.1) 100%); }
.ep-banner-text { position: absolute; z-index: 1; left: 24px; bottom: 20px; right: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: #FFFFFF; }
.ep-banner-text h2 { margin: 0; color: #FFFFFF; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.02em; }
.ep-banner .ep-num { width: 40px; height: 40px; font-size: 18px; background: var(--c-gold); color: #2B1440; }
.ep-banner .ep-years { color: #EDE6F3; font-size: 15px; flex-basis: 100%; }
@media (prefers-reduced-motion: no-preference) { .ep-banner img { transition: transform 1.2s var(--ease); } .epoch.is-in .ep-banner img, .epoch:not(.reveal) .ep-banner img { animation: ep-pan 16s ease-in-out infinite alternate; } @keyframes ep-pan { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.1) translateX(1.5%); } } }

/* ---------- Orte: Regionen und Kacheln mit Farbe ---------- */
.r-israel { --rc: #C9A227; } .r-syrien { --rc: #3F8F86; } .r-mesopotamien { --rc: #B5653F; } .r-aegypten { --rc: #C58A3B; }
.r-arabien { --rc: #A0703A; } .r-kleinasien { --rc: #4E79B0; } .r-mittelmeer { --rc: #3E86A8; }
.region-block { padding: 14px 16px 16px; border-radius: var(--radius-card); background: color-mix(in srgb, var(--rc) 12%, var(--c-card)); margin-top: 10px; }
.region-block h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.region-block h3::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--rc); flex-shrink: 0; }
.region-block .pill { background: var(--c-card); border-color: transparent; }
.region-block .pill:hover { background: color-mix(in srgb, var(--rc) 22%, var(--c-card)); }
/* Orte-Übersicht (23.11.2026): Suche, bekannte Orte mit Foto, Landschaften als Karten, Arten als Kacheln */
.orte-suche { margin: 14px 0 18px; max-width: 560px; }
.orte-suche .os-zeile { display: flex; gap: 8px; margin-top: 4px; }
.orte-suche input { flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font: inherit; }
.orte-suche input:focus-visible { outline: 2px solid var(--c-control); outline-offset: 2px; }
.ort-karten { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ort-karten a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-card); overflow: hidden; background: var(--c-card); text-decoration: none; color: var(--c-ink); box-shadow: 0 1px 3px rgb(23 19 32 / 0.06); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.ort-karten a:hover, .ort-karten a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(23 19 32 / 0.12); }
.ort-karten img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--c-tint); }
.ort-karten .ok-name { padding: 10px 14px 0; font-weight: 700; }
.ort-karten .ok-name::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--rc); vertical-align: 1px; }
.ort-karten .ok-meta { padding: 2px 14px 12px; font-size: 13px; color: var(--c-muted); }
@media (max-width: 640px) {
  .ort-karten { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .ort-karten > li { flex: 0 0 72%; scroll-snap-align: start; }
}
.region-karten { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.region-karte { display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; background: color-mix(in srgb, var(--rc) 12%, var(--c-card)); }
.region-karte .rk-bild { position: relative; }
.region-karte .rk-bild img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.region-karte .rk-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(23 19 32 / 0.72); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.region-karte .rk-text { padding: 12px 16px 16px; }
.region-karte h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; font-size: 17px; }
.region-karte h3::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--rc); flex-shrink: 0; }
.region-karte h3 .muted { font-weight: 600; font-size: 13px; }
.region-karte p.small { margin: 0 0 10px; }
.region-karte .pill { background: var(--c-card); border-color: transparent; }
.region-karte .pill:hover { background: color-mix(in srgb, var(--rc) 22%, var(--c-card)); }
.rk-mehr { margin-top: 8px; }
.rk-mehr summary, .art-kachel summary { cursor: pointer; }
.rk-mehr summary { color: var(--c-link); font-weight: 600; }
.rk-mehr .chip-links { margin-top: 8px; }
.region-karte .label, .region-karte .muted { color: var(--c-muted); }
.art-kacheln { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; align-items: start; }
.art-kachel { border-radius: var(--radius-card); background: var(--c-card); padding: 4px 0; }
.art-kachel summary { display: flex; align-items: center; gap: 12px; padding: 10px 16px; list-style: none; border-radius: var(--radius-card); transition: background var(--t-fast) var(--ease); }
.art-kachel summary::-webkit-details-marker { display: none; }
.art-kachel summary:hover { background: var(--c-tint); }
.art-kachel .art-icon { flex-shrink: 0; color: var(--c-control); }
.art-kachel .ak-name { font-weight: 700; flex: 1; }
.art-kacheln > li:has(> .art-kachel[open]) { grid-column: 1 / -1; }
.art-kachel > .chip-links, .art-kachel > p { padding: 4px 16px 12px; margin: 0; }
.place-grid.is-colored a { background: var(--c-card); }
.place-grid.is-colored .pg-name::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--rc); vertical-align: 1px; }
.place-grid.is-colored a:hover { background: var(--c-tint); }
/* Labels auf getöntem Grund brauchen den dunkleren Grauton (Kontrast) */
.band-tint .label, .sc-step .label, .rb-info .label, .region-block .label, .view-card .label { color: var(--c-muted); }

/* Einblenden beim Scrollen ohne JavaScript (scroll-gesteuerte Animation); ältere Browser zeigen alles sofort */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    :is(.page > section, .intro-block, .accordion, .try-grid > li, .book-grid > li, .place-grid > li, .link-cards > li, .flow > li, .tr-grid > li, .view-cards > li, .region-block, .epoch, .feature-grid > li, .an-raster > *, .gn-gruppe, .gn-liste > li, .gr-card, .person-list > li, .akte, .ba-panel li, .an-spalten > section):not([data-reveal]) {
      animation: sd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
    @keyframes sd-reveal { from { transform: translateY(26px) scale(0.985); } }
  }
}
button[data-all] { min-height: 28px; }

/* ---------- Große Bildschirme: Breite nutzen ---------- */
:root { --wrap: 1160px; }
@media (min-width: 1600px) {
  :root { --wrap: 1400px; }
  .layout { max-width: 1800px; grid-template-columns: 260px minmax(0, 780px) minmax(400px, 560px); gap: 56px; }
}
@media (min-width: 2000px) {
  :root { --wrap: 1640px; }
  .layout { max-width: 2200px; grid-template-columns: 300px minmax(0, 860px) minmax(460px, 700px); gap: 72px; }
  .bible { font-size: 1.08em; }
}

/* H1 der Startseite: Oberzeile (Suchbegriff) und Leitsatz in einer Überschrift, Optik wie zuvor */
.start .hero h1 { display: flex; flex-direction: column; gap: 14px; }
.start .hero h1 .label { display: block; text-shadow: none; }

/* Ortsseite: Verse im Wortlaut (selten genannte Orte) */
.verse-quotes { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 8px; max-width: 46em; }
.vq { margin: 0; padding: 12px 16px 10px 18px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); }
.vq p { margin: 0 0 4px; font-family: var(--font-text); font-size: 18px; line-height: 1.55; }
.vq cite { font-style: normal; font-size: 13px; font-weight: 700; }

.place-az li[class^='r-'] > a::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--rc, var(--c-line)); vertical-align: 1px; }

/* ---------- Querverweise: Suche, Kapitelübersicht, Kapitelseiten ---------- */
.refs-search { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.refs-search label { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.refs-search-row { display: flex; gap: 8px; }
.refs-search input { flex: 1; min-height: 48px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--c-ink); font: 500 16px var(--font-ui); }
.refs-search input:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-control) 40%, transparent); outline-offset: 1px; }
.refs-search .goto-msg { margin: 0; }
.ref-chapters { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.ref-chapters a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); color: var(--c-ink); text-decoration: none; transition: background var(--t-fast) var(--ease); }
.ref-chapters a:hover { background: var(--c-tint); }
.rc-n { font-size: 20px; font-weight: 800; }
.rc-meta { font-size: 12px; color: var(--c-muted); }
.ref-sec { margin-top: 18px; scroll-margin-top: 90px; }
.ref-sec h2 { font-size: 20px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ref-sec h2 .muted { font-size: 14px; font-weight: 700; }
.ref-sec.is-target h2 { color: var(--c-link); }
.ref-list { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.ref-list li { padding: 12px 14px; border-radius: var(--radius-inner); background: var(--c-card); box-shadow: var(--shadow-card); }
.ref-list li > a { font-weight: 800; }
.ref-list .meta { margin-left: 6px; font-size: 12px; color: var(--c-muted); }
.ref-list p { margin: 4px 0 0; font-family: var(--font-text); font-size: 16px; line-height: 1.5; color: var(--c-ink); }

/* Querverweise Vers für Vers */
.vref-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vref-v { min-width: 38px; min-height: 34px; padding: 0 8px; border: 0; border-radius: 10px; background: var(--c-card); box-shadow: 0 1px 0 var(--c-line); color: var(--c-ink); font: 700 13px var(--font-ui); cursor: pointer; transition: background var(--t-fast) var(--ease); }
.vref-v:hover { background: var(--c-tint); }
.vref-v[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }
.vref-panel { margin-top: 12px; padding: 18px 20px; border-radius: var(--radius-card); background: var(--c-tint); display: flex; flex-direction: column; gap: 10px; animation: bt-in var(--t-mid) var(--ease); }
.vref-panel[hidden] { display: none; }
.vref-head { margin: 0; font-size: 22px; font-weight: 800; }
.vref-text { margin: 0; font-family: var(--font-text); font-size: 20px; line-height: 1.5; max-width: 46em; }
.vref-panel .seg { align-self: flex-start; }
.vref-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--c-card); }
.vref-bar span { display: block; height: 100%; }
.vref-bar .g-tora { background: #B98B5B; } .vref-bar .g-geschichte { background: #6E9A5F; } .vref-bar .g-poesie { background: #9A78B5; } .vref-bar .g-propheten { background: #5B86A8; }
.vref-bar .g-evangelien { background: #C4735A; } .vref-bar .g-apg { background: #5F9A7E; } .vref-bar .g-briefe { background: #6A8F8A; } .vref-bar .g-offb { background: #A86A6A; }
.vref-panel .small { margin: 0; }
@media (prefers-reduced-motion: reduce) { .vref-panel { animation: none; } }

/* ---------- Zeit: Bücher auf der Zeitachse ---------- */
.bt-chart { margin: 6px 0 4px; padding: 12px 14px 6px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); max-width: 1180px; }
.bt-chart svg { display: block; width: 100%; height: auto; }
.bt-band { fill: var(--c-tint); } .bt-band.is-alt { fill: color-mix(in srgb, var(--c-tint) 45%, var(--c-card)); }
.bt-band-t { font: 700 11px var(--font-ui); fill: var(--c-muted); text-anchor: middle; letter-spacing: 0.06em; text-transform: uppercase; }
.bt-mark { stroke: var(--c-gold); stroke-width: 1.5; stroke-dasharray: 4 4; }
.bt-name { font: 600 11.5px var(--font-ui); fill: var(--c-ink); text-anchor: end; }
.bt-row { fill: transparent; }
.books-time a:hover .bt-row, .books-time a:focus .bt-row { fill: color-mix(in srgb, var(--c-control) 8%, transparent); }
.books-time a:hover .bt-name { fill: var(--c-link); }
.bt-bar.g-tora { fill: #B98B5B; } .bt-bar.g-geschichte { fill: #6E9A5F; } .bt-bar.g-poesie { fill: #9A78B5; } .bt-bar.g-propheten { fill: #5B86A8; }
.bt-bar.g-evangelien { fill: #C4735A; } .bt-bar.g-apg { fill: #5F9A7E; } .bt-bar.g-briefe { fill: #6A8F8A; } .bt-bar.g-offb { fill: #A86A6A; }
.bt-clip { font: 700 11px var(--font-ui); fill: var(--c-muted); }
.bt-tick { stroke: var(--c-muted); } .bt-tick-t { font: 600 11px var(--font-ui); fill: var(--c-muted); text-anchor: middle; }
.bt-legend { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.bt-mark-key { display: inline-block; width: 14px; margin-right: 6px; border-top: 2px dashed var(--c-gold); vertical-align: middle; }
.books-time h3 { margin: 14px 0 4px; }
/* Epochen-Bildbänder schmaler, Zeitstreifen der Periodenseite nicht über die volle Breite */
.ep-banner { aspect-ratio: auto; height: clamp(130px, 15vw, 210px); }
.ep-banner img { object-position: 70% 72%; }
.pstrip { max-width: 820px; }

/* ---------- Startseite: eigenes Hero-Bild (aufgeschlagene Bibel), flacher; Nachthimmel hinter der Haltung ---------- */
.hero.hero-illu { min-height: min(62vh, 560px); }
.hero-illu .hero-bg { object-position: 82% 60%; }
.hero-illu::after { background: linear-gradient(90deg, rgba(18, 9, 30, 0.88) 0%, rgba(18, 9, 30, 0.55) 42%, rgba(18, 9, 30, 0.05) 72%), linear-gradient(0deg, rgba(18, 9, 30, 0.7) 0%, rgba(18, 9, 30, 0) 40%); }
.hero-illu .hero-inner { padding-top: 72px; }
@media (max-width: 760px) {
  .hero-illu .hero-bg { object-position: 70% 50%; }
  .hero-illu::after { background: linear-gradient(180deg, rgba(18, 9, 30, 0.35) 0%, rgba(18, 9, 30, 0.7) 45%, rgba(18, 9, 30, 0.92) 100%); }
}
.band-night { position: relative; overflow: hidden; isolation: isolate; }
.band-night .band-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.band-night::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 12, 37, 0.7) 0%, rgba(23, 12, 37, 0.25) 70%); }
@media (prefers-reduced-motion: no-preference) { .band-night .band-bg { animation: night-drift 40s ease-in-out infinite alternate; } @keyframes night-drift { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.12) translateX(1.5%); } } }
.start { padding-bottom: 0; }
.start + .bottom-nav + .site-footer, .start ~ .site-footer { border-top: 0; margin-top: 0; }
.vref-more-t { margin: 6px 0 0; }
.vref-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vref-more a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--c-card); font: 600 13.5px var(--font-ui); text-decoration: none; }
.vref-more a:hover, .vref-more a:focus-visible { background: var(--c-control); color: var(--c-control-ink); }
.hero-illu .hero-bg { object-position: 100% 60%; }
.hero-illu h1, .hero-illu .hero-lead { max-width: 760px; }
@media (max-width: 760px) { .hero-illu .hero-bg { object-position: 76% 50%; } }
/* mittlere Breiten: Text liegt über der Bibel – Verlauf kräftiger, damit alles gut lesbar bleibt */
@media (min-width: 761px) and (max-width: 1279px) {
  .hero-illu::after { background: linear-gradient(90deg, rgba(18, 9, 30, 0.92) 0%, rgba(18, 9, 30, 0.8) 55%, rgba(18, 9, 30, 0.45) 100%); }
}
/* Blickwinkel „Ort“: echtes Kartenbild aus dem Atlas */
.sc-map { position: relative; width: 100%; height: 100%; background: #EFEAE2; }
.sc-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-map-chip { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #4A2060; font: 800 14px var(--font-ui); box-shadow: 0 2px 10px rgba(23, 19, 32, 0.12); }
.sc-map-credit { position: absolute; right: 10px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: #5A5468; font: 500 11px var(--font-ui); }
.sc-map-credit a { color: inherit; }

/* ---------- Zeit: Epochenband im Stil der Verweis-Grafiken ---------- */
.time-bar { padding: 18px 22px 8px; border-radius: var(--radius-card); background: linear-gradient(160deg, var(--c-tint), color-mix(in srgb, var(--c-control) 18%, var(--c-tint))); box-shadow: var(--shadow-card); }
.tb-track { fill: color-mix(in srgb, var(--c-control) 14%, var(--c-card)); }
.tb-ep.tb-0 { fill: var(--c-control); } .tb-ep.tb-1 { fill: #9A6BB5; }
.tb-stem { stroke: var(--c-control); stroke-width: 1.5; opacity: 0.5; }
.tb-num { fill: var(--c-card); stroke: var(--c-control); stroke-width: 2; transition: fill var(--t-fast) var(--ease), stroke var(--t-fast) var(--ease); }
.tb-numt { font: 800 13px var(--font-ui); fill: var(--c-ink); text-anchor: middle; pointer-events: none; }
.tb-name { font: 700 11px var(--font-ui); fill: var(--c-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.time-bar a:hover .tb-num, .time-bar a:focus .tb-num { fill: var(--c-gold); stroke: var(--c-gold); }
.time-bar a:hover .tb-name, .time-bar a:focus .tb-name { fill: var(--c-ink); }
.tb-break { stroke: color-mix(in srgb, var(--c-tint) 70%, var(--c-card)); stroke-width: 3; fill: none; }
.time-bar .tb-year { font: 600 12px var(--font-ui); fill: var(--c-muted); text-anchor: middle; }
.time-bar .pstrip-tick { stroke: color-mix(in srgb, var(--c-control) 35%, transparent); }
.tb-sheen { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tb-ep { transform-box: fill-box; transform-origin: left center; animation: tb-grow 700ms var(--ease) backwards; }
  .tb-pin { transform-box: fill-box; transform-origin: center; animation: tb-pop 520ms cubic-bezier(.3, 1.5, .5, 1) backwards; }
  .tb-stem { transform-box: fill-box; transform-origin: bottom center; animation: tb-stem 400ms var(--ease) backwards; }
  .time-bar .d0 { animation-delay: 0ms; } .time-bar .d1 { animation-delay: 140ms; } .time-bar .d2 { animation-delay: 280ms; } .time-bar .d3 { animation-delay: 420ms; } .time-bar .d4 { animation-delay: 560ms; } .time-bar .d5 { animation-delay: 700ms; }
  .time-bar .tb-pin.d0 { animation-delay: 350ms; } .time-bar .tb-pin.d1 { animation-delay: 490ms; } .time-bar .tb-pin.d2 { animation-delay: 630ms; } .time-bar .tb-pin.d3 { animation-delay: 770ms; } .time-bar .tb-pin.d4 { animation-delay: 910ms; } .time-bar .tb-pin.d5 { animation-delay: 1050ms; }
  .tb-sheen { opacity: 1; animation: tb-sheen 7s ease-in-out 1.6s infinite; transform: translateX(-200px); }
  @keyframes tb-grow { from { transform: scaleX(0); } }
  @keyframes tb-pop { from { transform: scale(0); } }
  @keyframes tb-stem { from { transform: scaleY(0); } }
  @keyframes tb-sheen { 0% { transform: translateX(-200px); } 55%, 100% { transform: translateX(1000px); } }
}
/* Bücher-Zeitachse: je Testament ausklappbar */
.bt-details { margin: 10px 0 0; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.bt-details > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: var(--radius-card); }
.bt-details > summary::-webkit-details-marker { display: none; }
.bt-details > summary:hover { background: var(--c-tint); }
.bt-sum-title { font: 800 18px var(--font-ui); }
.bt-sum-meta { font-size: 14px; color: var(--c-muted); margin-right: auto; }
.bt-details .bt-chart { margin: 0 12px 6px; box-shadow: none; padding: 4px 2px 0; max-width: none; }
.bt-details .bt-legend, .bt-details > p { margin-inline: 20px; }
.bt-details > :last-child { margin-bottom: 16px; }
@media (prefers-reduced-motion: no-preference) { .bt-details[open] .bt-chart { animation: bt-in var(--t-mid) var(--ease); } }
.time-bar svg { display: block; width: 100%; height: auto; max-width: 1180px; margin-inline: auto; overflow: visible; }
.time-bar .tb-name, .time-bar .tb-year { text-anchor: middle; }
.time-bar .tb-name.is-end, .time-bar .tb-year.is-end { text-anchor: end; }
.time-bar .tb-m, .tb-list { display: none; }
.tb-m .tb-numt { font-size: 16px; }
.tb-m .tb-year { font-size: 15px; }
@media (max-width: 760px) {
  .time-bar { padding: 14px 14px 10px; }
  .time-bar .tb-d { display: none; }
  .time-bar .tb-m { display: block; }
  .tb-list { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: tb; font: 600 13px var(--font-ui); }
  .tb-list li { counter-increment: tb; }
  .tb-list li::before { content: counter(tb) ' '; color: var(--c-muted); font-weight: 800; }
  .tb-list a { display: inline-flex; align-items: center; min-height: 28px; color: var(--c-ink); text-decoration: none; }
}
.gospel-card .note-ref a { color: var(--c-gold-on-purple); }

/* Kapitelkreise der Buchseite: feste Spalten je Breite, zwei volle Reihen sichtbar, „Alle … Kapitel“ klappt den Rest auf.
   Je Breite erst alle Kreise zeigen (gleiche Spezifität wie das Ausblenden), dann ab Reihe drei ausblenden */
.read-chapters { display: flex; flex-direction: column; gap: 8px; --cols: 6; }
.read-chapters .chapter-dots { display: grid; grid-template-columns: repeat(var(--cols), 44px); gap: 8px; order: 1; }
.read-chapters .ch-all { order: 2; }
.ch-all > summary { list-style: none; cursor: pointer; width: fit-content; }
.ch-all > summary::-webkit-details-marker { display: none; }
.ch-all[open] { display: none; }
.read-chapters { --cols: 6; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-12 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+13) { display: none; } .read-chapters:not(.gt-12) .ch-all { display: none; }
@media (min-width: 420px) { .read-chapters { --cols: 7; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-14 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+15) { display: none; } .read-chapters:not(.gt-14) .ch-all { display: none; } }
@media (min-width: 600px) { .read-chapters { --cols: 10; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-20 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+21) { display: none; } .read-chapters:not(.gt-20) .ch-all { display: none; } }
@media (min-width: 768px) { .read-chapters { --cols: 13; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-26 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+27) { display: none; } .read-chapters:not(.gt-26) .ch-all { display: none; } }
@media (min-width: 900px) { .read-chapters { --cols: 15; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-30 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+31) { display: none; } .read-chapters:not(.gt-30) .ch-all { display: none; } }
@media (min-width: 1024px) { .read-chapters { --cols: 18; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-36 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+37) { display: none; } .read-chapters:not(.gt-36) .ch-all { display: none; } }
@media (min-width: 1192px) { .read-chapters { --cols: 22; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-44 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+45) { display: none; } .read-chapters:not(.gt-44) .ch-all { display: none; } }
@media (min-width: 1600px) { .read-chapters { --cols: 27; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-54 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+55) { display: none; } .read-chapters:not(.gt-54) .ch-all { display: none; } }
@media (min-width: 2000px) { .read-chapters { --cols: 31; } .read-chapters[class] .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n) { display: flex; } .read-chapters.gt-62 .ch-all:not([open]) ~ .chapter-dots > a:nth-child(n+63) { display: none; } .read-chapters:not(.gt-62) .ch-all { display: none; } }
/* Buchseite: „Auf einen Blick“ neben dem Video – nur auf großen Bildschirmen */
.intro-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.intro-glance, .intro-glance-more { display: none; }
@media (min-width: 1100px) {
  .intro-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 26px; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--c-line); }
  .intro-glance dt { font: 800 11px var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
  .intro-glance dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-ink); }
  .intro-glance-more { display: flex; margin: 0; }
}
@media (min-width: 1100px) and (max-width: 1399px) { .intro-glance { grid-template-columns: 1fr; } }
/* Zeit: Sprungmarken oben, Bücher-Zeitachse als abgesetzter Schluss */
.time-jump { margin: 14px 0 4px; }
.books-time { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--c-line); scroll-margin-top: 80px; }
.books-time + * { margin-top: 28px; }
.epoch { scroll-margin-top: 80px; }

/* Zwei Reiche: Doppelspur der Könige und Propheten (Periodenseiten, kompakt auf der Zeitseite) */
.zr { margin: 18px 0 0; padding: 16px 14px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.zr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 0 auto 6px; }
.zr-head p { margin: 0; display: flex; flex-direction: column; font: 800 13px var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); }
.zr-head p:last-child { text-align: right; }
.zr-head span { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-muted); font-size: 12px; }
.zr-svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; font-family: var(--font-ui); }
.zr-axis { stroke: var(--c-line); stroke-width: 1; }
.zr-year { font-size: 8px; fill: var(--c-muted); }
.zr-mark { stroke: var(--c-gold); stroke-width: 1.4; stroke-dasharray: 4 3; }
.zr-kb { fill: var(--c-control); }
.zr-kb.zr-1 { fill: #9C6FB8; }
.zr-pb { fill: #3E7A9C; }
.zr-pb.is-exil { fill: #6A8A9C; }
.zr-gone { fill: var(--c-tint); }
.zr-lead { stroke: var(--c-muted); stroke-width: 0.6; }
.zr-k { font-size: 9.5px; font-weight: 600; fill: var(--c-ink); }
.zr-p { font-size: 9.5px; font-weight: 800; fill: #2F6383; }
.zr-note { font-size: 8.5px; font-style: italic; fill: var(--c-muted); }
.zr a:hover text, .zr a:focus-visible text { fill: var(--c-link-hover); text-decoration: underline; }
.zr-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--c-ink); }
.zr-legend li { display: inline-flex; align-items: center; gap: 8px; }
.zr-key { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.zr-key-k { background: var(--c-control); }
.zr-key-p { width: 5px; background: #3E7A9C; }
.zr-key-m { height: 0; border-top: 2px dashed var(--c-gold); }
.zr.is-compact { margin-top: 12px; }
.zr.is-compact .zr-svg { max-width: 420px; }
.zr.is-compact .zr-p { font-size: 13px; }
.zr.is-compact .zr-year { font-size: 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .zr-kb.zr-1 { fill: #8A63A8; } :root:not([data-theme="light"]) .zr-pb { fill: #8FC1DD; } :root:not([data-theme="light"]) .zr-p { fill: #A9D2EA; } }
:root[data-theme="dark"] .zr-pb { fill: #8FC1DD; }
:root[data-theme="dark"] .zr-kb.zr-1 { fill: #8A63A8; }
:root[data-theme="dark"] .zr-p { fill: #A9D2EA; }
.zr-now { display: grid; gap: 4px; margin: 0 0 6px; font-size: 14px; }
.zr-now div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.zr-now dt { font: 800 11px var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); padding-top: 2px; }
.zr-now dd { margin: 0; color: var(--c-ink); }

/* ---------- Große Zeitleiste (Zeitseite) und kompakte Zeitleiste (Reiter „Zeit“) ---------- */
.zl-stage {
  --zl-bg: var(--c-card); --zl-ink: var(--c-ink); --zl-muted: var(--c-muted); --zl-grid: var(--c-line); --zl-halo: var(--c-card);
  --zl-per: #EFE6F5; --zl-per-alt: #E4D6EF; --zl-undated: rgba(107, 46, 134, 0.06); --zl-ev: var(--c-control);
  --reg-aegypten: #D9A441; --reg-mesopotamien: #3FA7A0; --reg-kleinasien: #C98A6B; --reg-levante: #A88BD8; --reg-persien: #6DB77A;
  --reg-griechenland: #6E9BE0; --reg-rom: #D9706E; --reg-asien: #E09BC2; --reg-amerika: #9CC25A; --reg-europa: #9AA7BA;
  --zl-israel: #C9A3E0; --zl-israel-2: #B68BD3; --zl-juda: #E3C464; --zl-juda-2: #D3B04C; --zl-united: #9FD3C7; --zl-proph: #8DBDE6;
  position: relative; border-radius: var(--radius-inner); background: var(--zl-bg); color: var(--zl-ink); overflow: hidden; border: 1px solid var(--c-line);
}
.mega .zl-stage {
  --zl-bg: #2B1440; --zl-ink: #F5F0FA; --zl-muted: #CFC3DE; --zl-grid: rgba(255, 255, 255, 0.09); --zl-halo: #2B1440;
  --zl-per: #4A2A66; --zl-per-alt: #5A3577; --zl-undated: rgba(255, 255, 255, 0.04); --zl-ev: #E3C464;
  border: 0; box-shadow: var(--shadow-float); border-radius: var(--radius-card);
}
.zl-scroll { overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--zl-grid) transparent; overscroll-behavior-x: contain; }
.zl-scroll.is-drag { cursor: grabbing; user-select: none; }
.zl-scroll:focus-visible { outline-offset: -3px; }
.zl-svg { display: block; font-family: var(--font-ui); }
.zl-grid { stroke: var(--zl-grid); stroke-width: 1; }
.zl-grid.is-major { stroke-width: 1.5; }
.zl-tick { fill: var(--zl-muted); font-size: 10.5px; text-anchor: middle; font-variant-numeric: tabular-nums; }
.zl-undated { fill: var(--zl-undated); }
.zl-undated-t { fill: var(--zl-ink); font-size: 12px; font-weight: 700; text-anchor: middle; opacity: 0.85; }
.zl-undated-s { fill: var(--zl-muted); font-size: 10px; text-anchor: middle; letter-spacing: 0.08em; text-transform: uppercase; }
.zl-lbl { fill: var(--zl-ink); font-size: 11px; paint-order: stroke; stroke: var(--zl-halo); stroke-width: 3.5px; stroke-linejoin: round; }
.zl-lbl.is-sm { font-size: 10px; fill: var(--zl-muted); }
.zl-in { fill: #16121C; font-size: 11px; font-weight: 600; pointer-events: none; }
.zl-item { cursor: pointer; transition: opacity var(--t-fast) var(--ease); }
.zl-item:hover rect, .zl-item:hover circle { filter: brightness(1.12); }
.zl-item.is-picked rect, .zl-item.is-picked circle { stroke: var(--c-gold); stroke-width: 2.5px; }
.zl-band rect, .zl-world circle, .zl-world .zl-wbar { fill: var(--reg-europa); }
.zl-world .zl-wbar { opacity: 0.55; }
.zl-world.is-hidden-label circle { opacity: 0.7; }
.reg-aegypten rect, .reg-aegypten circle { fill: var(--reg-aegypten); }
.reg-mesopotamien rect, .reg-mesopotamien circle { fill: var(--reg-mesopotamien); }
.reg-kleinasien rect, .reg-kleinasien circle { fill: var(--reg-kleinasien); }
.reg-levante rect, .reg-levante circle { fill: var(--reg-levante); }
.reg-persien rect, .reg-persien circle { fill: var(--reg-persien); }
.reg-griechenland rect, .reg-griechenland circle { fill: var(--reg-griechenland); }
.reg-rom rect, .reg-rom circle { fill: var(--reg-rom); }
.reg-asien rect, .reg-asien circle { fill: var(--reg-asien); }
.reg-amerika rect, .reg-amerika circle { fill: var(--reg-amerika); }
.reg-europa rect, .reg-europa circle { fill: var(--reg-europa); }
.zl-per rect { fill: var(--zl-per); }
.zl-per text { fill: var(--zl-ink); font-weight: 700; }
.zl-per.ep-wueste rect, .zl-per.ep-geteilt rect, .zl-per.ep-gemeinde rect { fill: var(--zl-per-alt); }
.zl-king.r-i rect { fill: var(--zl-israel); }
.zl-king.r-i.s1 rect { fill: var(--zl-israel-2); }
.zl-king.r-j rect { fill: var(--zl-juda); }
.zl-king.r-j.s1 rect { fill: var(--zl-juda-2); }
.zl-king.r-v rect { fill: var(--zl-united); }
.zl-proph rect { fill: var(--zl-proph); }
.zl-ev circle { fill: var(--zl-ev); }
.zl-book rect { fill: var(--c-g-propheten); }
.zl-book.g-tora rect { fill: var(--c-g-tora); }
.zl-book.g-geschichte rect { fill: var(--c-g-geschichte); }
.zl-book.g-poesie rect { fill: var(--c-g-poesie); }
.zl-book.g-evangelien rect { fill: var(--c-g-evangelien); }
.zl-book.g-apg rect { fill: var(--c-g-apg); }
.zl-book.g-briefe rect { fill: var(--c-g-briefe); }
.zl-book.g-offb rect { fill: var(--c-g-offb); }
.zl-mark { stroke: var(--c-gold); stroke-width: 2; stroke-dasharray: 4 3; }
.zl-mark-t { fill: var(--c-gold-dark); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.zl-lanes { position: absolute; inset: 0 auto 0 0; width: 0; pointer-events: none; }
.zl-lanes span { position: absolute; left: 10px; white-space: nowrap; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--zl-muted); background: var(--zl-bg); padding: 1px 6px 1px 0; border-radius: 4px; }
.zl-cursor { position: absolute; top: 0; bottom: 18px; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(var(--c-gold), rgba(201, 162, 39, 0.35)); pointer-events: none; }
.zl-cursor span { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--c-gold); color: #16121C; font: 700 11.5px/1 var(--font-ui); padding: 4px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.zl-range { width: 100%; margin: 4px 0 0; accent-color: var(--c-header); height: 28px; cursor: pointer; }
.zl-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.zl-year { margin: 0; font: 800 clamp(26px, 4.2vw, 40px)/1.05 var(--font-ui); color: var(--c-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.zl-tools { display: flex; gap: 8px; align-items: center; }
.zl-epochs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.zl-howto { margin: 4px 0 0; }
.zl-pick p { margin: 0 0 4px; }
.zl-pick-name { font-weight: 700; }
.zl-now { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.zl-col { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius-inner); padding: 12px 14px; min-width: 0; }
.zl-col .label { margin: 0 0 6px; }
.zl-col p { margin: 0 0 6px; }
.zl-per-now { font-weight: 700; }
.zl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zl-list li { display: grid; gap: 1px; font-size: 14px; line-height: 1.35; }
.zl-list .when, .zl-dl .when { color: var(--c-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.zl-list .k { font-size: 13px; color: var(--c-ink); }
.zl-list .b { font-size: 12px; color: var(--c-muted); }
.zl-books { font-size: 13px; }
.zl-dl { margin: 0; display: grid; gap: 6px; }
.zl-dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; font-size: 14px; }
.zl-dl dt { color: var(--c-muted); font-size: 12px; font-weight: 700; padding-top: 2px; }
.zl-dl dd { margin: 0; }
.zl-realms { display: flex; flex-wrap: wrap; gap: 6px; }
.zl-chip { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #16121C; background: #9AA7BA; }
.zl-chip.reg-aegypten { background: #D9A441; }
.zl-chip.reg-mesopotamien { background: #3FA7A0; }
.zl-chip.reg-kleinasien { background: #C98A6B; }
.zl-chip.reg-levante { background: #A88BD8; }
.zl-chip.reg-persien { background: #6DB77A; }
.zl-chip.reg-griechenland { background: #6E9BE0; }
.zl-chip.reg-rom { background: #D9706E; }
.zl-chip.reg-asien { background: #E09BC2; }
.zl-chip.reg-amerika { background: #9CC25A; }
.zl-full { margin: 10px 0 4px; font-size: 14px; font-weight: 600; }
.mega-wrap { margin: 18px 0 8px; scroll-margin-top: 80px; }
.mega.is-live > .time-bar, .mega.is-live > .mega-loading { display: none; }
.zl-stage.is-compact .zl-lanes span { font-size: 8.5px; }
.zl-host { margin-top: 10px; }
.zl-host .zl-now { grid-template-columns: 1fr; gap: 8px; }
.zl-host .zl-col { padding: 10px 12px; }
.zl-host .source-note, .time-card .source-note { font-size: 9.5px; line-height: 1.45; }
.time-sources { margin-top: 14px; }
.world-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.world-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-inner); background: var(--c-card); border: 1px solid var(--c-line); }
.wl-y { font-size: 12px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.wl-n { font-weight: 700; }
.wl-k { font-size: 14px; color: var(--c-muted); }
.steps-title { margin-top: 36px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .zl-stage { --zl-per: #3A2D4D; --zl-per-alt: #46365C; --zl-ev: #E3C464; }
  :root:not([data-theme='light']) .mega .zl-stage { --zl-bg: #1F1230; --zl-halo: #1F1230; }
  :root:not([data-theme='light']) .zl-mark-t { fill: var(--c-gold); }
}
:root[data-theme='dark'] .zl-stage { --zl-per: #3A2D4D; --zl-per-alt: #46365C; --zl-ev: #E3C464; }
:root[data-theme='dark'] .mega .zl-stage { --zl-bg: #1F1230; --zl-halo: #1F1230; }
:root[data-theme='dark'] .zl-mark-t { fill: var(--c-gold); }
@media (prefers-reduced-motion: reduce) { .zl-item { transition: none; } }
.trip-all { fill: none; stroke: var(--c-gold-dark); stroke-dasharray: 5 5; opacity: 0.75; stroke-linecap: round; stroke-linejoin: round; }
.trip-done { fill: none; stroke: var(--c-gold); stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.35)); }
.trip-sea { fill: none; stroke: #2F6FA8; stroke-width: 3; stroke-dasharray: 6 5; stroke-linecap: round; }
:root[data-theme="dark"] .trip-sea { stroke: #7FB3E0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trip-sea { stroke: #7FB3E0; } }
.route-box { margin: 12px 0 4px; padding: 12px 14px; border-radius: var(--radius-inner); background: var(--c-tint); }
.route-box > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.route-box > summary::-webkit-details-marker { display: none; }
.route-head { display: grid; flex: 1; min-width: 0; }
.route-box .label { margin: 0 0 2px; }
.route-name { font-weight: 700; }
.route-sum { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-link); }
.route-chev { color: var(--c-link); transition: transform var(--t-fast) var(--ease); }
.route-box[open] .route-chev { transform: rotate(180deg); }
.route-body { margin-top: 8px; }
.route-box .small { margin: 0 0 6px; }
.route-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 6px; font-size: 13px; color: var(--c-muted); }
.route-stats b { color: var(--c-ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.route-profile { display: block; width: 100%; max-width: 520px; height: auto; }
.rp-area { fill: rgba(107, 46, 134, 0.14); }
.rp-line { fill: none; stroke: var(--c-control); stroke-width: 1.1; stroke-linejoin: round; }
.rp-done { fill: none; stroke: var(--c-gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rp-now { stroke: var(--c-gold-dark); stroke-width: 1; stroke-dasharray: 3 3; }
.rp-sea { stroke: var(--c-sea); stroke-width: 1; stroke-dasharray: 2 3; }
.rp-t { fill: var(--c-muted); font: 500 9.5px var(--font-ui); }
.route-box .source-note { margin: 4px 0 0; font-size: 11px; }
.sc-elev { position: absolute; left: 12px; bottom: 34px; width: min(240px, 60%); padding: 10px 12px 6px; border-radius: var(--radius-inner); background: rgba(255, 255, 255, 0.94); color: #171320; box-shadow: var(--shadow-float); }
.sc-elev-stats { display: flex; gap: 10px; margin: 0 0 4px; font: 800 13px var(--font-ui); font-variant-numeric: tabular-nums; }
.sc-elev svg { display: block; width: 100%; height: auto; }
.sc-elev text { fill: #5A5468; font: 600 8.5px var(--font-ui); }
.sc-elev-area { fill: rgba(107, 46, 134, 0.16); }
.sc-elev-line { fill: none; stroke: #C9A227; stroke-width: 2.4; stroke-linejoin: round; }
.sc-elev-k { position: absolute; top: 10px; right: 12px; font: 700 9px var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: #5A5468; }
.sc-tl-grid { stroke: var(--c-line); stroke-width: 1; }
.sc-tl-tick { fill: var(--c-muted); font: 500 11px var(--font-ui); }
.sc-tl-lane { fill: var(--c-muted); font: 700 10px var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.sc-tl-rom { fill: #D9706E; } .sc-tl-rom.s1 { fill: #E48D8B; }
.sc-tl-jud { fill: #A88BD8; } .sc-tl-jud.s1 { fill: #BBA2E2; }
.sc-tl-per { fill: #E3C464; } .sc-tl-per.s1 { fill: #EED68E; }
.sc-tl-in { fill: #16121C; font: 700 11px var(--font-ui); }
.sc-tl-here { stroke: var(--c-gold); stroke-width: 2; stroke-dasharray: 4 3; }
.zl-tools .icon-btn { background: var(--c-tint); color: var(--c-link); font-size: 20px; }
.zl-tools .icon-btn:hover { background: var(--c-control); color: var(--c-control-ink); }
.sc-tl-out { fill: var(--c-ink); font: 700 11px var(--font-ui); }
.sc-elev .sc-elev-k { position: static; display: block; margin: 0 0 2px; }
@media (max-width: 899px) {
  .zl-epochs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
  .zl-epochs::-webkit-scrollbar { display: none; }
  .zl-epochs .pill { flex: none; }
}
/* Kontext per Tipp: Maße, Münzen, Zeiten im Bibeltext */
.bible button.term { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: help; text-decoration: underline dotted var(--c-gold-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px; border-radius: 3px; }
.bible button.term:hover, .bible button.term[aria-expanded='true'] { background: var(--c-tint); text-decoration-color: var(--c-gold); }
.term-pop { position: absolute; z-index: 60; padding: 14px 40px 12px 16px; border-radius: var(--radius-inner); background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); border: 1px solid var(--c-line); font-family: var(--font-ui); animation: term-in var(--t-fast) var(--ease); }
.term-pop p { margin: 0 0 6px; }
.term-kind { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.term-name { font-weight: 800; font-size: 16px; }
.term-val { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--c-gold); color: #16121C; font-size: 13px; font-weight: 700; }
.term-text { font-size: 14px; line-height: 1.45; }
.term-pop .term-src { font-size: 11px; color: var(--c-muted); margin: 0; }
.term-fig { margin: 10px 0 0; }
.term-fig img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; border-radius: 12px; background: #FFFFFF; }
.term-fig figcaption { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--c-muted); }
.term-fig figcaption b { color: var(--c-ink); }
.term-credit { display: block; margin-top: 3px; font-size: 11px; }
.term-more { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.term-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--c-tint); color: var(--c-ink); cursor: pointer; font-size: 16px; line-height: 1; }
@keyframes term-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .term-pop { animation: none; } }
.zl-life rect { fill: #E8B48A; }
.zl-alive { font-size: 14px; }
/* Zeitleiste, Überarbeitung 10.11.: hell, Spuren mit Kopfzeile und Symbol, schaltbar */
.mega, .zl-host {
  --reg-aegypten: #D9A441; --reg-mesopotamien: #3FA7A0; --reg-kleinasien: #C98A6B; --reg-levante: #A88BD8; --reg-persien: #6DB77A;
  --reg-griechenland: #6E9BE0; --reg-rom: #D9706E; --reg-asien: #E09BC2; --reg-amerika: #9CC25A; --reg-europa: #9AA7BA;
}
.reg-aegypten { --rc: var(--reg-aegypten); } .reg-mesopotamien { --rc: var(--reg-mesopotamien); } .reg-kleinasien { --rc: var(--reg-kleinasien); }
.reg-levante { --rc: var(--reg-levante); } .reg-persien { --rc: var(--reg-persien); } .reg-griechenland { --rc: var(--reg-griechenland); }
.reg-rom { --rc: var(--reg-rom); } .reg-asien { --rc: var(--reg-asien); } .reg-amerika { --rc: var(--reg-amerika); } .reg-europa { --rc: var(--reg-europa); }
.zl-band rect, .zl-world .zl-wbar { fill: var(--rc, var(--reg-europa)); }
.zl-world .zl-mk { fill: var(--rc, var(--reg-europa)); stroke: var(--zl-halo); stroke-width: 1; }
.mega .zl-stage {
  --zl-bg: #FFFFFF; --zl-ink: var(--c-ink); --zl-muted: var(--c-muted); --zl-grid: #EEE9F3; --zl-halo: #FFFFFF;
  --zl-per: #EFE6F5; --zl-per-alt: #E2D3EE; --zl-undated: rgba(107, 46, 134, 0.05); --zl-ev: var(--c-control);
  --zl-band: #FFFFFF; --zl-band-alt: #FAF7FC;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-card); border-radius: var(--radius-card);
}
.zl-stage { --zl-band: var(--c-card); --zl-band-alt: #FAF7FC; }
.zl-laneband { fill: var(--zl-band); }
.zl-laneband.is-alt { fill: var(--zl-band-alt); }
.zl-lanes .zl-head { display: inline-flex; align-items: center; gap: 6px; left: 12px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--zl-bg); color: var(--c-link); font-size: 10px; box-shadow: 0 0 0 1px var(--zl-grid); }
.zl-stage.is-compact .zl-lanes .zl-head { font-size: 8.5px; padding: 1px 6px 1px 4px; gap: 4px; }
.zl-stage.is-compact .zl-lanes .zl-head svg { width: 11px; height: 11px; }
.zl-lanes .zl-rowtag { position: absolute; left: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zl-muted); background: var(--zl-bg); padding: 1px 6px; border-radius: 6px; opacity: 0.92; }
.zl-stage.is-compact .zl-lanes .zl-rowtag { font-size: 8px; padding: 0 4px; }
.zl-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.zl-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px 4px 10px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-muted); font: 600 13px var(--font-ui); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.zl-toggle[aria-pressed='true'] { background: var(--c-tint); color: var(--c-link); border-color: transparent; }
.zl-toggle[aria-pressed='false'] { text-decoration: line-through; text-decoration-color: rgba(90, 84, 104, 0.5); }
.zl-toggle:hover { border-color: var(--c-control); }
.zl-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 2px 0; padding: 0; font-size: 12px; color: var(--c-muted); }
.zl-legend li { display: inline-flex; align-items: center; gap: 5px; }
.zl-legend-mk { fill: var(--c-muted); }
.zl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rc); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .mega .zl-stage { --zl-bg: #1E1828; --zl-halo: #1E1828; --zl-grid: rgba(255, 255, 255, 0.08); --zl-band: #1E1828; --zl-band-alt: #241D30; --zl-per: #3A2D4D; --zl-per-alt: #46365C; --zl-ink: #ECE7F2; --zl-muted: #B9B0C8; }
  :root:not([data-theme='light']) .zl-stage { --zl-band-alt: #241D30; }
}
:root[data-theme='dark'] .mega .zl-stage { --zl-bg: #1E1828; --zl-halo: #1E1828; --zl-grid: rgba(255, 255, 255, 0.08); --zl-band: #1E1828; --zl-band-alt: #241D30; --zl-per: #3A2D4D; --zl-per-alt: #46365C; --zl-ink: #ECE7F2; --zl-muted: #B9B0C8; }
:root[data-theme='dark'] .zl-stage { --zl-band-alt: #241D30; }
@media (max-width: 899px) { .zl-toggles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; } .zl-toggle { flex: none; } }
/* Platz für die Zeitleiste reservieren, bis sie geladen ist: nichts im sichtbaren Bereich rutscht nach (CLS) */
.mega:not(.is-live) { min-height: 1050px; }
.route-box .label, .route-box .source-note, .route-stats { color: var(--c-muted); }
.bible button.term.is-name { text-decoration-style: dotted; text-decoration-color: rgba(107, 46, 134, 0.45); }
.bible button.term.is-name:hover, .bible button.term.is-name[aria-expanded='true'] { text-decoration-color: var(--c-control); }

/* Kärtchen (Begriffe, Namen, Zeitleiste): Schließen-Knopf und eingeklappte Belege */
.term-pop .pop-close { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--c-tint); color: var(--c-link); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.term-pop .pop-close:hover, .term-pop .pop-close:focus-visible { background: var(--c-control); color: var(--c-control-ink); }
.term-pop .pop-belege { margin: 8px 0 0; font-size: 12px; color: var(--c-muted); }
.term-pop .pop-belege summary { cursor: pointer; font-weight: 700; color: var(--c-link); list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.term-pop .pop-belege summary::-webkit-details-marker { display: none; }
.term-pop .pop-belege summary::after { content: '▾'; font-size: 10px; transition: transform var(--t-fast) var(--ease); }
.term-pop .pop-belege[open] summary::after { transform: rotate(180deg); }
.term-pop .pop-belege p { margin: 6px 0 0; line-height: 1.45; }
.zl-pop .term-name a { color: var(--c-link); }
.zl-range-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 2px 0; }
.zl-range-head .label { margin: 0; color: var(--c-header); }
.zl-host .zl-range-head .small { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .zl-range { accent-color: var(--c-control); } :root:not([data-theme='light']) .zl-range-head .label { color: var(--c-link); } }
:root[data-theme='dark'] .zl-range { accent-color: var(--c-control); }
:root[data-theme='dark'] .zl-range-head .label { color: var(--c-link); }

.bc-chip.is-current { background: var(--c-tint); color: var(--c-link); box-shadow: none; }
.more-books { margin-top: 28px; }
.group-books .books-compact { margin-top: 20px; }
/* Bücherliste schlank: Links ohne eigene Klasse */
.books-compact.is-lean a, .books-compact.is-lean .is-current { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--c-card); box-shadow: 0 1px 0 var(--c-line), 0 4px 12px -10px rgba(28, 16, 40, 0.5); color: var(--c-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.books-compact.is-lean a:hover { background: var(--c-tint); color: var(--c-link); transform: translateY(-1px); }
.books-compact.is-lean .is-current { background: var(--c-tint); color: var(--c-link); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .books-compact.is-lean a:hover { transform: none; } }
/* Orte-Seite: Wege und Entfernungen */
.ow { margin-top: 18px; scroll-margin-top: 80px; }
.ow h2 { margin: 0 0 4px; }
.ow-tabs { margin: 12px 0 14px; }
.ow .label { margin: 10px 0 6px; }
.ow .pill .muted { font-weight: 500; }
.ow-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr auto; align-items: end; }
.ow-form label { display: grid; gap: 4px; }
.ow-form .label { margin: 0; }
.ow-form input { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font: 500 15px var(--font-ui); }
.ow-form input:focus-visible { border-color: var(--c-control); }
.ow-form button { min-height: 44px; }
.ow-form [role='status'], .ow-form .ow-hint { grid-column: 1 / -1; margin: 0; }
@media (max-width: 699px) { .ow-form { grid-template-columns: 1fr; } }
.ow [data-ow-result] .route-box { margin-top: 14px; }

/* Zeit-Reiter: Werkzeuge hinter einem Knopf, Vollbild als eigene Ebene */
.zl-cbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.zl-cbtn { display: inline-flex; align-items: center; gap: 6px; }
.zl-cbtn[aria-expanded='true'], .zl-cbtn[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }
.zl-ctools { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-inner); background: var(--c-tint); animation: term-in var(--t-fast) var(--ease); }
.zl-ctools > .small { margin: 0 0 8px; }
.zl-ctools .zl-tools { margin: 0 0 8px; }
.zl-ctools .zl-tools .icon-btn { background: var(--c-card); }
.zl-ctools .zl-toggles { margin: 0; }
.zl-ctools .zl-toggle { min-height: 32px; font-size: 12.5px; padding: 3px 10px 3px 8px; }
.zl-host.is-full { position: fixed; inset: 0; z-index: 70; overflow: auto; padding: max(16px, env(safe-area-inset-top)) clamp(16px, 3vw, 40px) max(20px, env(safe-area-inset-bottom)); background: var(--c-bg); overscroll-behavior: contain; }
.zl-host.is-full .zl-stage.is-compact .zl-lanes .zl-head { font-size: 10px; }
html.zl-locked { overflow: hidden; }
.zl-pop { z-index: 90; }
@media (prefers-reduced-motion: reduce) { .zl-ctools { animation: none; } }

/* Vorlesen (Probe bei Psalm 23) */
.va-btn { display: inline-flex; align-items: center; gap: 6px; }
.va-bar { margin: 14px 0 6px; padding: 12px 14px; border-radius: var(--radius-card); background: var(--c-tint); }
.va-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.va-row .seg button { min-width: 48px; }
.va-now { margin-left: 4px; font-variant-numeric: tabular-nums; }
.va-bar .source-note { margin: 8px 0 0; }
.va-bar > .small { margin: 0; }
::highlight(kb-vorlesen) { background-color: rgba(201, 162, 39, 0.28); }
.bible a.v.is-reading { color: var(--c-link); background: rgba(201, 162, 39, 0.28); border-radius: 4px; }
.va-rate { background: var(--c-card); }
.va-rate button[aria-pressed='true'] { background: var(--c-tint); box-shadow: none; }
/* Handy: Tippflächen mindestens 24 px hoch */
.era-caption .era-side { padding-block: 3px; }
.site-footer nav a, .site-footer > a { display: inline-block; padding-block: 2px; }

/* Vers teilen (Versnummer antippen) */
.share-pop .term-name { font-size: 15px; }
.share-tr { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--c-muted); }
.share-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.share-done { min-height: 1.2em; margin: 4px 0 0; }
/* Teilen: Knöpfe in einer Zeile; der Schließen-Knopf braucht nur neben der Überschrift Platz */
.share-pop { padding-right: 14px; box-sizing: border-box; }
.share-pop .term-kind, .share-pop .term-name { padding-right: 30px; }
.share-actions { flex-wrap: nowrap; gap: 6px; }
.share-actions .pill { flex: 0 1 auto; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
@media (max-width: 359px) { .share-actions { flex-wrap: wrap; } }

/* Burgermenü am Handy (ersetzt die schwebende Leiste; Bereiche, Sprache, Über) */
.nav-burger { display: none; position: relative; }
.nav-burger > summary { list-style: none; cursor: pointer; }
.nav-burger > summary::-webkit-details-marker { display: none; }
.nav-burger[open] > summary { background: rgba(255, 255, 255, 0.24); }
.burger-panel { position: fixed; left: 12px; right: 12px; top: 66px; z-index: 45; display: grid; gap: 4px; padding: 10px; border-radius: var(--radius-card); background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); animation: term-in var(--t-fast) var(--ease); max-height: calc(100dvh - 84px); overflow-y: auto; }
.burger-panel a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px; color: var(--c-ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.burger-panel a:hover, .burger-panel a:focus-visible { background: var(--c-tint); color: var(--c-link); }
.burger-panel a[aria-current='page'] { background: var(--c-tint); color: var(--c-link); font-weight: 800; }
.burger-panel a[aria-current='page']::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }
.burger-panel .label { margin: 8px 16px 2px; }
.burger-panel .burger-more { min-height: 44px; font-size: 15px; font-weight: 500; color: var(--c-muted); }
@media (max-width: 899px) {
  .nav-burger { display: block; }
  .header-tools > .lang-link { display: none; }
}
/* 900–999 px: Hauptnavigation im Menü (sieben Bereiche passen erst ab 1000 px in die Kopfzeile) */
@media (min-width: 900px) and (max-width: 999px) { .nav-burger { display: block; } }
@media (prefers-reduced-motion: reduce) { .burger-panel { animation: none; } }
/* Verweise-Suche am Handy: Feld darf schrumpfen, Knopf unter das Feld statt über den Rand */
.refs-search input { min-width: 0; }
@media (max-width: 479px) { .refs-search-row { flex-wrap: wrap; } .refs-search-row > button, .refs-search-row > .pill { flex: 1 1 100%; justify-content: center; } }
.burger-panel .burger-install { border: 0; background: none; text-align: left; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: var(--c-link); }
.burger-panel .burger-hint { margin: 4px 16px 6px; }
.chapter-dots.is-short a { width: auto; padding: 0 14px; border-radius: 999px; }

/* Eigene Markierungen und Notizen */
:root { --hl-gelb: rgba(250, 214, 92, 0.45); --hl-gruen: rgba(120, 200, 140, 0.4); --hl-blau: rgba(110, 170, 230, 0.38); --hl-rosa: rgba(240, 140, 180, 0.38); }
:root[data-theme='dark'] { --hl-gelb: rgba(227, 196, 100, 0.32); --hl-gruen: rgba(110, 190, 130, 0.3); --hl-blau: rgba(110, 160, 230, 0.32); --hl-rosa: rgba(230, 120, 170, 0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --hl-gelb: rgba(227, 196, 100, 0.32); --hl-gruen: rgba(110, 190, 130, 0.3); --hl-blau: rgba(110, 160, 230, 0.32); --hl-rosa: rgba(230, 120, 170, 0.3); } }
::highlight(kb-gelb) { background-color: var(--hl-gelb); }
::highlight(kb-gruen) { background-color: var(--hl-gruen); }
::highlight(kb-blau) { background-color: var(--hl-blau); }
::highlight(kb-rosa) { background-color: var(--hl-rosa); }
.bible a.v[data-hl='gelb'] { background: var(--hl-gelb); } .bible a.v[data-hl='gruen'] { background: var(--hl-gruen); }
.bible a.v[data-hl='blau'] { background: var(--hl-blau); } .bible a.v[data-hl='rosa'] { background: var(--hl-rosa); }
.bible a.v[data-hl] { border-radius: 4px; padding: 0 2px; }
.note-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0 2px; padding: 0; border: 0; border-radius: 50%; background: var(--c-tint); color: var(--c-link); vertical-align: text-top; cursor: pointer; }
.note-box { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--c-line); }
.note-box .label { margin: 0 0 6px; }
.note-colors { display: flex; gap: 8px; margin: 0 0 10px; }
.note-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--c-line); cursor: pointer; padding: 0; }
.note-swatch[aria-pressed='true'] { border-color: var(--c-control); box-shadow: 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-control); }
.sw-gelb { background: #FAD65C; } .sw-gruen { background: #7CC98E; } .sw-blau { background: #6EAAE6; } .sw-rosa { background: #F08CB4; }
.sw-none { background: linear-gradient(135deg, transparent 45%, var(--c-muted) 46%, var(--c-muted) 54%, transparent 55%), var(--c-card); }
.note-field { display: grid; gap: 4px; }
.note-field textarea { width: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-card); color: var(--c-ink); font: 15px/1.4 var(--font-ui); resize: vertical; }
.note-foot { margin: 6px 0 0; }
.share-pop { max-height: min(86vh, 640px); overflow-y: auto; }
.note-list { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 10px; }
.note-item { padding: 12px 14px; border-radius: var(--radius-inner); background: var(--c-tint); }
.note-item > a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.note-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.note-verse { margin: 6px 0 0; font-family: var(--font-text); color: var(--c-muted); }
.note-text { margin: 6px 0 0; white-space: pre-wrap; }
.notes-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }

/* Hervorhebungen: Funktion je Vers (Farbe plus Symbol) */
.hv-verheissung { --hv: #B38A12; } .hv-gebot { --hv: #6B2E86; } .hv-warnung { --hv: #B83A3A; } .hv-ermutigung { --hv: #2E8B57; }
.hv-lob { --hv: #2F6FA8; } .hv-ankuendigung { --hv: #1F7A7A; } .hv-lehre { --hv: #8A5A2B; } .hv-bericht { --hv: #7A7288; }
::highlight(hv-verheissung) { text-decoration: underline 2px #B38A12; text-underline-offset: 5px; }
::highlight(hv-gebot) { text-decoration: underline 2px #6B2E86; text-underline-offset: 5px; }
::highlight(hv-warnung) { text-decoration: underline wavy 1.5px #B83A3A; text-underline-offset: 5px; }
::highlight(hv-ermutigung) { text-decoration: underline 2px #2E8B57; text-underline-offset: 5px; }
::highlight(hv-lob) { text-decoration: underline dotted 2.5px #2F6FA8; text-underline-offset: 5px; }
::highlight(hv-ankuendigung) { text-decoration: underline dashed 2px #1F7A7A; text-underline-offset: 5px; }
::highlight(hv-lehre) { text-decoration: underline double 2px #8A5A2B; text-underline-offset: 4px; }
::highlight(hv-bericht) { text-decoration: underline 1px #7A7288; text-underline-offset: 5px; }
.hv-btn { display: inline-flex; align-items: center; gap: 6px; }
.hv-btn[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }
.hv-sym { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 2px; border-radius: 50%; background: color-mix(in srgb, var(--hv) 14%, transparent); color: var(--hv); vertical-align: text-top; }
.hv-box { margin: 12px 0 4px; }
.hv-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card); color: var(--hv); font: 600 12.5px var(--font-ui); cursor: pointer; }
.hv-chip .hv-n { color: var(--c-muted); font-weight: 500; }
.hv-chip[aria-pressed='false'] { color: var(--c-muted); text-decoration: line-through; opacity: 0.75; }
.hv-box .source-note { margin: 8px 0 0; }

/* Ortsfotos */
.bilder .label { margin: 14px 0 8px; }
.bild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.bild { margin: 0; }
.bild img { display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: var(--radius-inner); background: var(--c-tint); }
.bild figcaption { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--c-muted); }
.place-thumb { display: block; margin: 10px 0 0; }
.place-thumb img { display: block; width: 100%; height: auto; border-radius: var(--radius-inner); }

/* Wort-Markierungen */
.mark-add { position: absolute; z-index: 61; box-shadow: var(--shadow-float); }
.note-quote { margin: 4px 30px 6px 0; font-family: var(--font-text); font-size: 15px; line-height: 1.45; }
.my-btn { display: inline-flex; align-items: center; gap: 6px; }
.my-btn[aria-pressed='false'] { color: var(--c-muted); }
.my-btn[aria-pressed='false'] .note-dot { opacity: 0.35; }

.hv-klage { --hv: #5B6B8C; } .hv-segen { --hv: #B0662E; } .hv-liste { --hv: #6E7A5A; }
::highlight(hv-klage) { text-decoration: underline dotted 2.5px #5B6B8C; text-underline-offset: 5px; }
::highlight(hv-segen) { text-decoration: underline 2px #B0662E; text-underline-offset: 5px; }
::highlight(hv-liste) { text-decoration: underline dashed 1px #6E7A5A; text-underline-offset: 5px; }

/* Einstieg „Meine Notizen“ im Kapitelkopf und Anleitung auf der Notizen-Seite */
.notes-pill { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.notes-how ol { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.notes-how { margin-bottom: 20px; }

/* Ortsfotos als kompakte Galerie (statt einer Zeile je Bild) */
.bild-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.bild-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius-inner); background: var(--c-tint); aspect-ratio: 4 / 3; }
.bild-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bild-thumb:hover img, .bild-thumb:focus-visible img { transform: scale(1.04); }
.bild-gross { grid-column: span 2; grid-row: span 2; }
.bild-einzeln { grid-template-columns: 1fr; }
.bild-einzeln .bild-gross { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
.bild-tag { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(23, 19, 32, .72); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bild-nachweis { margin-top: 10px; }
.bild-nachweis summary { cursor: pointer; color: var(--c-muted); }
.bild-credits .bild-text { color: var(--c-ink); }
.lightbox .bild-text { display: block; color: #FFFFFF; font-size: 14px; margin-bottom: 2px; }
.bild-credits { margin: 6px 0 0; padding-left: 1.4em; color: var(--c-muted); display: grid; gap: 3px; }
.chip-unsure { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--c-tint); color: var(--c-muted); font-size: 12px; font-weight: 600; vertical-align: middle; }
@media (max-width: 640px) { .bild-raster { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
@media (max-width: 420px) { .bild-raster { grid-template-columns: repeat(2, 1fr); } }
.lightbox { width: min(1100px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 20px; background: #0f0c14; color: #ECE7F2; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 8, 14, .82); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; }
.lightbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #0f0c14; }
.lightbox figcaption { padding: 10px 16px 14px; font-size: 12.5px; line-height: 1.45; color: #CFC7DA; }
.lightbox figcaption a { color: #E3C464; }
.lightbox .icon-btn { position: absolute; background: rgba(23, 19, 32, .7); color: #fff; }
.lb-close { top: 10px; right: 10px; }
.lb-prev, .lb-next { top: 40%; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-count { position: absolute; top: 14px; left: 16px; margin: 0; color: #CFC7DA; }
@media (prefers-reduced-motion: reduce) { .bild-thumb img { transition: none; } }

/* „Über den Ort“ auf breiten Bildschirmen zweispaltig (volle Breite nutzen) */
@media (min-width: 1000px) {
  .page .place-about { max-width: none; }
  .place-about-text { column-count: 2; column-gap: 40px; }
  .place-about-text h3 { break-after: avoid; }
  .place-about-text p { orphans: 3; widows: 3; }
}
/* „Meine Notizen“: kurzer Hinweis zum Aufklappen */
.notes-info { position: relative; display: inline-block; }
.notes-info > summary { list-style: none; cursor: pointer; }
.notes-info > summary::-webkit-details-marker { display: none; }
.notes-info[open] > summary { background: var(--c-tint); }
.notes-pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(320px, 86vw); padding: 14px 16px; border-radius: 16px; background: var(--c-card); box-shadow: var(--shadow-float); font-size: 14px; line-height: 1.45; }
.notes-pop p { margin: 0 0 8px; }
.notes-pop a { font-weight: 600; }

/* Lizenzierte Übersetzungen online (Hfa, NASB 1995): Darstellung des YouVersion-HTML, Wortlaut unverändert */
.menu-label { padding: 8px 14px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.online-text { margin-top: 8px; }
.online-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--c-muted); margin: 0 0 14px; }
.online-body { font-family: var(--font-text); font-size: var(--reader-size, 20px); line-height: 1.7; }
.online-body .yv-p, .online-body .yv-m, .online-body .yv-pi, .online-body .yv-nb { margin: 0 0 .7em; }
.online-body .yv-q1 { padding-left: 1.2em; text-indent: -1.2em; }
.online-body .yv-q2 { padding-left: 2.4em; text-indent: -1.2em; }
.online-body .yv-b { height: .7em; }
.online-body .yv-d { font-style: italic; color: var(--c-muted); margin-bottom: .5em; }
.online-body .yv-s1, .online-body .yv-s2, .online-body .yv-s { font-family: var(--font-ui); font-size: 17px; font-weight: 700; margin: 1.2em 0 .4em; }
.online-body .yv-vlbl { font-family: var(--font-ui); font-size: .58em; font-weight: 700; vertical-align: super; color: var(--c-muted); margin: 0 .25em 0 .1em; }
.online-body .yv-nd { font-variant: small-caps; }
.online-body .yv-add, .online-body .yv-it { font-style: italic; }
.online-body .yv-r, .online-body .yv-mr, .online-body .yv-sr { font-family: var(--font-ui); font-size: 14px; font-style: italic; color: var(--c-muted); margin: 0 0 .5em; }
.online-body .yv-qs { font-style: italic; float: right; }
.online-body .yv-pc { text-align: center; }
.online-body .yv-fn { font-family: var(--font-ui); font-size: .6em; font-weight: 700; line-height: 0; margin: 0 .1em; }
.online-body .yv-fn a { text-decoration: none; padding: 0 .15em; }
.online-notes { margin-top: 22px; }
.online-notes h2 { margin: 0 0 6px; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.online-notes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; }
.online-notes li { scroll-margin-top: 90px; }
.online-notes .fn-back { font-weight: 700; margin-right: .3em; }
.online-notes .yv-fr { font-weight: 700; margin-right: .3em; }
.online-notes .yv-fq, .online-notes .yv-fqa { font-style: italic; }
.online-body .yv-fn a { scroll-margin-top: 90px; }
.online-copy { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--c-line); color: var(--c-muted); line-height: 1.5; }

/* Routen: andere Vorschläge (Exodus – Durchzug und Sinai) */
.trip-var-line { fill: none; stroke: #2F6FA8; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .85; }
.trip-var-pt { fill: var(--c-card); stroke: var(--c-gold-dark); }
.trip-var-pt.var-tradition { fill: var(--c-gold); }
.trip-var-label { fill: var(--c-ink); }
.route-var ul { margin: 8px 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; }
.chip-tradition, .chip-forschung, .chip-these { font-size: 11px; padding: 1px 8px; }
.trip-cross { fill: #2F6FA8; stroke: #fff; }
.trip-cross-var { fill: #fff; stroke: #2F6FA8; }
/* Lizenzierte Übersetzungen: bis der Text da ist, alles unterhalb des ersten Abschnitts unsichtbar (kein Layout-Verrutschen) */
main[data-licensed]:not(.lic-ready) > :is(.section ~ .section, .online-text, .chapter-step, .group-books, .page-step, .reader-foot) { visibility: hidden; }
body:has(main[data-licensed]:not(.lic-ready)) .site-footer { visibility: hidden; }

/* NeÜ: Vorwort und Bucheinleitung zum Aufklappen */
.neue-info { display: grid; gap: 10px; margin: 12px 0 18px; }
.neue-info details { padding: 10px 16px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); font-family: var(--font-ui); }
.neue-info summary, .stammbaum > summary { cursor: pointer; display: list-item; list-style-position: inside; font-weight: 700; font-size: 14.5px; line-height: 1.5; color: var(--c-ink); min-height: 32px; padding: 5px 0; transition: color var(--t-fast) var(--ease); }
.neue-info summary::marker, .stammbaum > summary::marker { color: var(--c-ink); font-size: 0.85em; }
.neue-info summary:hover, .stammbaum > summary:hover { color: var(--c-link); }
.neue-text { margin-top: 8px; font-size: 15px; line-height: 1.55; max-height: 60vh; overflow: auto; }
.neue-text h3 { font-size: 15px; margin: 14px 0 4px; }

/* Volltextsuche */
.suche-form { display: flex; flex-wrap: wrap; gap: 8px; }
.suche-form input[type="search"] { flex: 1 1 240px; min-width: 0; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 999px; font: inherit; background: var(--c-bg); color: var(--c-ink); }
.suche-form select { padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 999px; font: inherit; background: var(--c-bg); color: var(--c-ink); }
.suche-treffer { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 10px; }
.suche-treffer a { font-weight: 600; }
.suche-treffer span { font-family: var(--font-text); }
.suche-treffer mark { background: var(--c-tint); color: inherit; border-radius: 3px; padding: 0 2px; }
.bild-erklaerung { margin: 4px 0 0; color: var(--c-muted); line-height: 1.5; }
.alltag-gruppe { margin-top: 28px; }
.alltag-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.alltag-ding { margin: 0; }
.alltag-ding img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 14px; background: #FFFFFF; }
.alltag-ding h3 { margin: 12px 0 2px; }
.alltag-credit { font-size: 12px; color: var(--c-muted); }
.funde-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.funde-hub { margin-top: 20px; }
.fund-kachel { display: flex; flex-direction: column; gap: 8px; margin: 0; color: inherit; text-decoration: none; }
.fund-kachel img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 14px; background: var(--c-tint); }
.fund-kachel b { display: block; color: var(--c-link); }
.fund-kachel:hover b, .fund-kachel:focus-visible b { text-decoration: underline; }
.fund-bild { padding: 0; overflow: hidden; }
.fund-bild img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #0f0c14; }
.fund-bild figcaption { padding: 10px 16px 12px; }
.fund-text { font-size: 17px; line-height: 1.6; }
.fund-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 18px 0; }
.fund-hint { margin: -4px 0 10px; color: var(--c-muted); font-family: var(--font-ui); }
.fund-hint a { font-weight: 700; }
.an-nav { margin: 4px 0 18px; }
.an-nav [aria-current="page"] { background: var(--c-control); color: var(--c-control-ink); }
.an-zahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.an-zahlen div { padding: 12px 14px; border-radius: 16px; background: var(--c-tint); }
.an-zahlen dt { font-size: 12.5px; color: var(--c-muted); }
.an-zahlen dd { margin: 2px 0 0; font-family: var(--font-ui); font-size: 24px; font-weight: 800; }
.an-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.an-woerter { margin: 0; padding-left: 1.6em; display: grid; gap: 4px; font-size: 14.5px; }
.ur { font-family: var(--font-text); font-size: 1.12em; }
.an-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 20px; }
.an-buch { margin: 0; }
.an-buch h3 { margin: 0 0 4px; }
.an-dna { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.an-dna span { padding: 2px 10px; border-radius: 999px; background: var(--c-tint); font-size: 13.5px; }
.an-namen span { background: transparent; border: 1px solid var(--c-line); }
.an-balken { display: grid; gap: 3px; }
.an-zeile { display: grid; grid-template-columns: 7.5em 1fr 3.5em; gap: 8px; align-items: center; font-size: 13px; }
.an-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-bar { display: flex; height: 12px; border-radius: 6px; background: var(--c-tint); overflow: hidden; }
.an-bar i { display: block; height: 100%; }
.an-n { text-align: right; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.an-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; margin: 6px 0 10px; }
.an-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.g0 { background: #6B2E86; } .g1 { background: #C9A227; } .g2 { background: #4F8FB8; } .g3 { background: #5BA383; } .g4 { background: #C9667A; }
.an-heat-wrap { overflow-x: auto; margin: 10px 0; }
.an-heat { border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.an-heat th { font-weight: 600; color: var(--c-muted); padding: 2px 4px; white-space: nowrap; }
.an-heat thead th { height: 7em; vertical-align: bottom; }
.an-heat thead th span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); }
.an-heat tbody th { text-align: right; }
.an-heat td { min-width: 22px; height: 22px; text-align: center; border: 1px solid var(--c-card); color: var(--c-ink); background: var(--c-tint); }
.an-bar .w2 { width: 2%; }
.an-bar .w4 { width: 4%; }
.an-bar .w6 { width: 6%; }
.an-bar .w8 { width: 8%; }
.an-bar .w10 { width: 10%; }
.an-bar .w12 { width: 12%; }
.an-bar .w14 { width: 14%; }
.an-bar .w16 { width: 16%; }
.an-bar .w18 { width: 18%; }
.an-bar .w20 { width: 20%; }
.an-bar .w22 { width: 22%; }
.an-bar .w24 { width: 24%; }
.an-bar .w26 { width: 26%; }
.an-bar .w28 { width: 28%; }
.an-bar .w30 { width: 30%; }
.an-bar .w32 { width: 32%; }
.an-bar .w34 { width: 34%; }
.an-bar .w36 { width: 36%; }
.an-bar .w38 { width: 38%; }
.an-bar .w40 { width: 40%; }
.an-bar .w42 { width: 42%; }
.an-bar .w44 { width: 44%; }
.an-bar .w46 { width: 46%; }
.an-bar .w48 { width: 48%; }
.an-bar .w50 { width: 50%; }
.an-bar .w52 { width: 52%; }
.an-bar .w54 { width: 54%; }
.an-bar .w56 { width: 56%; }
.an-bar .w58 { width: 58%; }
.an-bar .w60 { width: 60%; }
.an-bar .w62 { width: 62%; }
.an-bar .w64 { width: 64%; }
.an-bar .w66 { width: 66%; }
.an-bar .w68 { width: 68%; }
.an-bar .w70 { width: 70%; }
.an-bar .w72 { width: 72%; }
.an-bar .w74 { width: 74%; }
.an-bar .w76 { width: 76%; }
.an-bar .w78 { width: 78%; }
.an-bar .w80 { width: 80%; }
.an-bar .w82 { width: 82%; }
.an-bar .w84 { width: 84%; }
.an-bar .w86 { width: 86%; }
.an-bar .w88 { width: 88%; }
.an-bar .w90 { width: 90%; }
.an-bar .w92 { width: 92%; }
.an-bar .w94 { width: 94%; }
.an-bar .w96 { width: 96%; }
.an-bar .w98 { width: 98%; }
.an-bar .w100 { width: 100%; }
.an-heat .e1 { background: color-mix(in srgb, #6B2E86 6%, var(--c-card)); }
.an-heat .e2 { background: color-mix(in srgb, #6B2E86 12%, var(--c-card)); }
.an-heat .e3 { background: color-mix(in srgb, #6B2E86 18%, var(--c-card)); }
.an-heat .e4 { background: color-mix(in srgb, #6B2E86 24%, var(--c-card)); }
.an-heat .e5 { background: color-mix(in srgb, #6B2E86 30%, var(--c-card)); }
.an-heat .e6 { background: color-mix(in srgb, #6B2E86 36%, var(--c-card)); }
.an-heat .e7 { background: color-mix(in srgb, #6B2E86 42%, var(--c-card)); }
.an-heat .e8 { background: color-mix(in srgb, #6B2E86 48%, var(--c-card)); }
.an-heat .e9 { background: color-mix(in srgb, #6B2E86 54%, var(--c-card)); }
.an-heat .e10 { background: color-mix(in srgb, #6B2E86 60%, var(--c-card)); }
.ur-h1 { font-size: 0.7em; font-weight: 500; color: var(--c-muted); margin-left: 8px; }
.an-stellen { line-height: 1.9; font-size: 14px; }
.an-index { column-gap: 24px; padding-left: 2.6em; font-size: 14px; }
@media (min-width: 720px) { .an-index { columns: 3 220px; } } /* Spalten erst ab Tabletbreite: am Handy ohne Mehrspaltensatz (Layoutzeit, Lighthouse 16.11.) */
.an-index li { break-inside: avoid; margin-bottom: 3px; }
.an-dna a { padding: 2px 10px; border-radius: 999px; background: var(--c-tint); font-size: 13.5px; }
.zl-fund path { fill: var(--c-gold); stroke: var(--c-card); stroke-width: 1; }
.zl-fund-span { fill: var(--c-gold); opacity: 0.45; }
.an-teaser { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ctx-funde { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.ctx-funde ul { margin: 4px 0 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: 14px; }
.ws .chip-links { margin: 10px 0 4px; }
.ws label.pill { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ws input[type=checkbox] { accent-color: var(--c-control); margin: 0; }
.ws .an-zeile { grid-template-columns: minmax(6em, 11em) 1fr 4em; }
.ws [data-ws-out] h2 { margin-top: 22px; }
.wv-filter { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.wv-filter label { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wv-filter input { accent-color: var(--c-control); margin: 0; }
.wv:has(#wv-N:checked) .an-index li:not([data-p="N"]), .wv:has(#wv-V:checked) .an-index li:not([data-p="V"]), .wv:has(#wv-A:checked) .an-index li:not([data-p="A"]), .wv:has(#wv-Z:checked) .an-index li:not([data-p="Z"]), .wv:has(#wv-V:checked):has(#wv-gv:checked) .an-index li[data-gv] { display: none; }
.wv-filter .wv-gv { display: none; }
.wv-filter:has(#wv-V:checked) .wv-gv { display: inline-flex; }
/* Gottesnamen als Liste (Paket 1, 15.11.) */
.gn-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.gn-zeile { scroll-margin-top: 90px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.gn-zeile:first-child { border-top: 0; padding-top: 0; }
.gn-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.gn-zahl { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--c-muted); }
.gn-bar { display: flex; height: 8px; margin: 6px 0 4px; }
.gn-zeile p { margin: 4px 0 0; }
.gn-nt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gn-nt .label { margin: 0 2px 0 0; }
.gn-details summary { cursor: pointer; font-size: 13.5px; color: var(--c-link); margin-top: 4px; }
.gn-details p { color: var(--c-muted); }
/* Weitere Übersetzungen als Link (Paket 2) */
.menu-ext .ext-label, .ext-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); margin-top: 1px; }
.menu-sep { border-top: 1px solid var(--c-line); margin-top: 4px; padding-top: 4px; }
/* „Alle Bücher“ mit Übersetzungswahl (Paket 2): CSS-Umschalter, ohne Skript */
.ab-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ab-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ab-switch label { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background var(--t-fast) var(--ease); }
.ab-switch label:hover { background: var(--c-tint); }
.ab-r:checked + label { background: var(--c-control); border-color: var(--c-control); color: var(--c-control-ink); }
.ab-r:focus-visible + label { outline: 2px solid var(--c-link); outline-offset: 2px; }
.ab-panel { display: none; }
.ab-badge { font-family: var(--font-ui); font-size: .62em; font-weight: 700; letter-spacing: .04em; vertical-align: super; line-height: 0; margin-left: 2px; color: var(--c-muted); }
.is-current .ab-badge { color: inherit; }
.all-books .books-compact { margin-top: 8px; }
.all-books:has(#ab-sch:checked) [data-ab="sch"], .all-books:has(#ab-elb:checked) [data-ab="elb"], .all-books:has(#ab-lut:checked) [data-ab="lut"], .all-books:has(#ab-men:checked) [data-ab="men"], .all-books:has(#ab-neue:checked) [data-ab="neue"], .all-books:has(#ab-hfa:checked) [data-ab="hfa"], .all-books:has(#ab-bsb:checked) [data-ab="bsb"], .all-books:has(#ab-web:checked) [data-ab="web"], .all-books:has(#ab-kjv:checked) [data-ab="kjv"], .all-books:has(#ab-lsv:checked) [data-ab="lsv"], .all-books:has(#ab-nasb:checked) [data-ab="nasb"] { display: block; }
/* Handy: Schriftgröße und Hell/Dunkel im Burgermenü statt in der Kopfzeile (Paket 2) */
.burger-prefs { display: grid; gap: 8px; padding: 0 12px 6px; }
.burger-prefs[hidden] { display: none; }
.burger-prefs .seg { display: flex; border: 1px solid var(--c-line); border-radius: 999px; padding: 3px; gap: 3px; }
.burger-prefs .seg button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: none; color: var(--c-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.burger-prefs .seg button[aria-pressed='true'] { background: var(--c-control); color: var(--c-control-ink); }
.burger-prefs .seg button:focus-visible { outline: 2px solid var(--c-link); outline-offset: 1px; }
@media (max-width: 899px) {
  .header-tools > [data-action="size"], .header-tools > [data-action="theme"] { display: none; }
}
@media (min-width: 900px) { .burger-prefs, .burger-panel [data-prefs] { display: none; } }
/* Suche im Kopf: Vorschau beim Tippen (Paket 2, site/js/finden.js) */
.finden-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 46; width: min(400px, calc(100vw - 24px)); max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border-radius: 16px; background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); text-align: left; }
.finden-pop[hidden] { display: none; }
.finden-h { margin: 6px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.finden-pop a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--c-ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.finden-pop a:hover, .finden-pop a[aria-selected='true'] { background: var(--c-tint); color: var(--c-link); }
.finden-meta { flex-shrink: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--c-muted); }
.finden-l { min-width: 0; }
.finden-x { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.35; color: var(--c-muted); }
@media (max-width: 899px) {
  .finden-pop { left: 0; right: 0; width: auto; top: calc(100% + 6px); }
}
/* Erklärungen im Lesetext (Paket 3): je Art eigene Unterstreichung, Symbol im Kärtchen, Schalter im Kapitelkopf */
:root { --erkl-person: rgba(107, 46, 134, 0.55); --erkl-ort: #3F86B5; --erkl-wort: #B8901E; --erkl-gruppe: #C25B72; --erkl-natur: #4E9A77; --erkl-mass: var(--c-gold-line); }
.bible button.term.is-person { text-decoration-style: dotted; text-decoration-color: var(--erkl-person); }
.bible button.term.is-ort { text-decoration-style: dashed; text-decoration-color: var(--erkl-ort); text-decoration-thickness: 1.3px; }
.bible button.term.is-wort { text-decoration-style: wavy; text-decoration-color: var(--erkl-wort); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bible button.term.is-gruppe { text-decoration-style: double; text-decoration-color: var(--erkl-gruppe); text-decoration-thickness: 1px; }
.bible button.term.is-natur { text-decoration-style: dotted; text-decoration-color: var(--erkl-natur); text-decoration-thickness: 2px; }
.bible button.term.is-mass { text-decoration-style: dotted; text-decoration-color: var(--erkl-mass); }
.bible button.term.is-person:hover, .bible button.term.is-person[aria-expanded='true'] { text-decoration-color: var(--c-control); }
.term-kind { display: flex; align-items: center; gap: 6px; }
.term-sym { display: inline-block; width: 9px; height: 9px; flex-shrink: 0; background: var(--erkl-mass); border-radius: 50%; }
.term-sym.is-person { background: var(--erkl-person); }
.term-sym.is-ort { background: var(--erkl-ort); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.term-sym.is-wort { background: var(--erkl-wort); border-radius: 2px; }
.term-sym.is-gruppe { background: var(--erkl-gruppe); border-radius: 0; transform: rotate(45deg); width: 8px; height: 8px; }
.term-sym.is-natur { background: var(--erkl-natur); border-radius: 0 60% 0 60%; }
.term-pop .term-src { margin-top: 6px; }
.erkl-pop { min-width: 240px; }
.erkl-tools .erkl-pop { left: auto; right: 0; }
.erkl-row { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 14px; }
.erkl-row input { width: 18px; height: 18px; accent-color: var(--c-control); }
.erkl-demo { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.erkl-demo.is-person { text-decoration-style: dotted; text-decoration-color: var(--erkl-person); }
.erkl-demo.is-ort { text-decoration-style: dashed; text-decoration-color: var(--erkl-ort); }
.erkl-demo.is-wort { text-decoration-style: wavy; text-decoration-color: var(--erkl-wort); text-decoration-thickness: 1px; }
.erkl-demo.is-gruppe { text-decoration-style: double; text-decoration-color: var(--erkl-gruppe); text-decoration-thickness: 1px; }
.erkl-demo.is-natur { text-decoration-style: dotted; text-decoration-color: var(--erkl-natur); text-decoration-thickness: 2px; }
.erkl-demo.is-mass { text-decoration-style: dotted; text-decoration-color: var(--erkl-mass); }
:root[data-theme='dark'] { --erkl-person: rgba(201, 163, 224, 0.6); --erkl-ort: #7DB8DF; --erkl-wort: #E3C464; --erkl-gruppe: #E58FA3; --erkl-natur: #86C9A8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --erkl-person: rgba(201, 163, 224, 0.6); --erkl-ort: #7DB8DF; --erkl-wort: #E3C464; --erkl-gruppe: #E58FA3; --erkl-natur: #86C9A8; } }
/* Ort-Reiter (Paket 4): Karte etwas niedriger, Bildstreifen direkt darunter, „Entfernung messen“ */
[data-context-col] .map-wrap { aspect-ratio: 374 / 255; }
/* kleine Karte im Kontextpanel: Bedienknöpfe kompakter, damit sie die Karte nicht verdecken */
[data-context-col] .map-tools { gap: 4px; right: 6px; top: 6px; }
[data-context-col] .map-tools button { width: 30px; height: 30px; font-size: 14px; }
[data-context-col] .map-base button { min-height: 26px; padding: 0 9px; }
.pm-strip { margin: 8px 0 0; }
.pm-strip-row { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; scrollbar-width: thin; }
.pm-strip-row a { flex: 0 0 auto; scroll-snap-align: start; border-radius: 10px; overflow: hidden; }
.pm-strip-row img { display: block; height: 64px; width: auto; max-width: 140px; object-fit: cover; }
.pm-strip-row a:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
.pm-strip .map-credit { margin-top: 4px; }
.pm-measure { margin: 10px 0 0; }
.pm-form { display: grid; gap: 8px; margin-top: 8px; }
.pm-form label { display: grid; gap: 2px; }
.pm-form .label { margin: 0; }
.pm-form input { height: 40px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-card); color: var(--c-ink); font: inherit; font-size: 15px; }
.pm-form button { justify-self: start; }
.bible button.term.zitat-btn { display: inline-flex; align-items: center; height: 18px; margin: 0 4px 0 1px; padding: 0 6px; border-radius: 999px; background: var(--c-tint); color: var(--c-link); font: 700 10px/1 var(--font-ui); letter-spacing: .06em; text-decoration: none; vertical-align: 2px; cursor: pointer; }
.bible button.term.zitat-btn:hover, .bible button.term.zitat-btn[aria-expanded='true'] { background: var(--c-control); color: var(--c-control-ink); }
.term-sym.is-zitat { background: var(--c-link); border-radius: 2px 2px 2px 0; }
.erkl-demo.is-zitat { text-decoration: none; }
.erkl-demo.is-zitat::before { content: 'AT'; display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 999px; background: var(--c-tint); color: var(--c-link); font-size: 10px; font-weight: 700; }
:lang(en) .erkl-demo.is-zitat::before { content: 'OT'; }
.term-quote { font-family: var(--font-text); font-size: 15px; font-style: italic; }
.age-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.age-list a { font-size: 12.5px; }
/* Kapitel auf einen Blick (Paket 4) */
.ch-glance { font-family: var(--font-ui); }
.ch-glance-body { margin: 10px 0 4px; }
.ch-glance-sum { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.ch-glance dl { margin: 0; display: grid; gap: 8px; }
.ch-glance dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; font-size: 14px; line-height: 1.5; }
.ch-glance dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding-top: 2px; }
.ch-glance dd { margin: 0; }
.ki-mark { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
@media (max-width: 520px) { .ch-glance dl > div { grid-template-columns: 1fr; gap: 0; } }
@media print { .ch-glance { border: 1px solid #ccc; } }
/* Stammbaum als Übersicht (Paket 5): helle Kette mit Verbindungslinie, Frauen hervorgehoben */
.stammbaum { margin: 12px 0 18px; padding: 10px 16px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); font-family: var(--font-ui); }
.sb-list { list-style: none; margin: 10px 0 6px; padding: 0 0 0 18px; position: relative; display: grid; gap: 2px; }
.sb-list::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--c-tint); border-radius: 2px; }
.sb-p { position: relative; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 3px 0; font-size: 14px; }
.sb-p::before { content: ''; position: absolute; left: -17px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-card); border: 2px solid var(--c-control); }
.sb-p.is-f::before { border-color: var(--erkl-gruppe); background: var(--erkl-gruppe); }
.sb-p a { color: var(--c-ink); text-decoration: none; }
.sb-p a:hover b { color: var(--c-link); }
.sb-age { font-size: 12px; color: var(--c-muted); }
.sb-k { font-size: 12.5px; color: var(--c-muted); }
/* Personen-Seiten (Paket 8) */
.person-facts dl { margin: 0; display: grid; gap: 10px; }
.person-facts dl > div { display: grid; grid-template-columns: 10em 1fr; gap: 10px; font-size: 15px; }
.person-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding-top: 3px; }
.person-facts dd { margin: 0; }
@media (max-width: 560px) { .person-facts dl > div { grid-template-columns: 1fr; gap: 0; } }
.person-quote { margin: 0 0 8px; padding: 0 0 0 14px; border-left: 3px solid var(--c-gold); font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
.person-books { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.person-books a { display: inline-block; min-width: 24px; padding: 3px 4px; text-align: center; }
.person-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.person-letter h2 { margin: 18px 0 6px; }
.wv-tr { font-size: 12.5px; color: var(--c-muted); font-style: italic; }
.an-dna-head { margin: 10px 0 2px; }
.an-dna-row { display: grid; grid-template-columns: 6.5em 1fr; gap: 6px; align-items: baseline; margin: 2px 0; }
.an-dna-row .label { margin: 0; font-size: 10px; color: var(--c-muted); letter-spacing: .06em; }
.an-dna-row .an-dna { margin: 0; }
/* Die Bibel in sechs Akten */
.akt-band { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 18px 0 22px; }
.akt-band a { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-radius: 12px; background: var(--c-tint); color: var(--c-ink); text-decoration: none; font-size: 13px; font-weight: 600; text-align: center; }
.akt-band a b { color: var(--c-link); font-size: 18px; }
.akt-band a:hover { background: var(--c-control); color: var(--c-control-ink); }
.akt-band a:hover b { color: inherit; }
@media (max-width: 640px) { .akt-band { grid-template-columns: repeat(3, 1fr); } }
.akte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.akt { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); scroll-margin-top: 90px; }
.akt-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-control); color: var(--c-control-ink); font: 800 20px var(--font-ui); }
.akt h2 { margin: 2px 0 2px; }
.akt-books { margin: 0 0 6px; font-size: 13px; color: var(--c-muted); }
/* Bücher in Akten (Paket 9) */
.ba-panel { display: none; list-style: none; margin: 4px 0 8px; padding: 0; counter-reset: ba; }
.buch-akte:has(.ab-r[value="2"]:checked) .ba-panel[data-k="2"], .buch-akte:has(.ab-r[value="3"]:checked) .ba-panel[data-k="3"], .buch-akte:has(.ab-r[value="4"]:checked) .ba-panel[data-k="4"], .buch-akte:has(.ab-r[value="5"]:checked) .ba-panel[data-k="5"], .buch-akte:has(.ab-r[value="6"]:checked) .ba-panel[data-k="6"], .buch-akte:has(.ab-r[value="8"]:checked) .ba-panel[data-k="8"], .buch-akte:has(.ab-r[value="10"]:checked) .ba-panel[data-k="10"], .buch-akte:has(.ab-r[value="12"]:checked) .ba-panel[data-k="12"], .buch-akte:has(.ab-r[value="klage"]:checked) .ba-panel[data-k="klage"], .buch-akte:has(.ab-r[value="vertrauen"]:checked) .ba-panel[data-k="vertrauen"], .buch-akte:has(.ab-r[value="lob"]:checked) .ba-panel[data-k="lob"], .buch-akte:has(.ab-r[value="themen"]:checked) .ba-panel[data-k="themen"], .buch-akte:has(.ab-r[value="sammlungen"]:checked) .ba-panel[data-k="sammlungen"] { display: grid; gap: 10px; }
.ba-panel li { counter-increment: ba; position: relative; padding: 10px 14px 10px 44px; border-radius: 14px; background: var(--c-card); box-shadow: var(--shadow-card); }
.ba-panel li::before { content: counter(ba); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-tint); color: var(--c-link); font: 700 12px/22px var(--font-ui); text-align: center; }
.ba-panel p { margin: 0; }
.ba-title { margin-bottom: 2px !important; }
.ba-kern { font-size: 13px; white-space: nowrap; }
.ba-emp { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin-left: 4px; }
/* Größen anschaulich (Paket 7) */
.gr-card { margin: 0 0 16px; }
.gr-svg { display: block; width: 100%; height: auto; margin: 8px 0; }
.gr-ground { stroke: var(--c-line); stroke-width: 2; }
.gr-obj { fill: var(--c-control); }
.gr-obj.gr-light { fill: var(--c-tint); stroke: var(--c-control); stroke-width: 1.5; }
.gr-alt { fill: var(--c-tint); stroke: var(--c-control); stroke-width: 1; stroke-dasharray: 3 2; }
.gr-ref { fill: var(--c-gold); }
.gr-t { font: 600 13px var(--font-ui); fill: var(--c-ink); }
.gr-muted { fill: var(--c-muted); font-weight: 500; font-size: 12px; }
.gr-unsure { color: var(--c-muted); }
/* seltene Wörter im Verzeichnis */
.wv-selten { margin: 24px 0 0; }
.wv-selten-list { margin-top: 18px; }
.wv-sel-btn { font: inherit; font-weight: 600; color: var(--c-link); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; min-height: 24px; }
.h1-sub { display: block; font-size: 15px; font-weight: 600; color: var(--c-muted); margin-top: 4px; }

/* Wortverzeichnis: aramäisch und Hapax (Paket 6) */
/* Sprache des Urtextworts: hebräisch, aramäisch, griechisch – mit Abstand zur Umschrift */
.chip-sp { font-size: 10px; padding: 1px 7px; vertical-align: 1px; margin-left: 6px; }
.chip-he { background: var(--c-tint); color: var(--c-ink); }
.chip-gr { background: #E3ECF6; color: #1E3550; }
:root[data-theme='dark'] .chip-gr { background: #22303F; color: #DCE7F3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .chip-gr { background: #22303F; color: #DCE7F3; } }
.wv:has(#wv-ar:checked) .an-index li:not([data-ar]) { display: none; }
.wv-filter .wv-hx { display: none; }
.wv:has(.wv-selten-list) .wv-filter .wv-hx { display: inline-flex; }
.wv:has(#wv-hx:checked) .an-index li:not([data-hx]) { display: none; }
.an-index li { content-visibility: auto; contain-intrinsic-size: auto 26px; }

/* Gottesnamen: Verteilung je Buch – Testament, Namen ein/aus, Sortierung (16.11.) */
.gv-ctl { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 10px; }
.gv-panel { display: none; }
.gv:has(#gv-at:checked) [data-gv-t="at"], .gv:has(#gv-nt:checked) [data-gv-t="nt"] { display: block; }
.gv-keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; }
.gv-keys legend { width: 100%; margin-bottom: 4px; }
.gv-keys label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: opacity var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.gv-keys label i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.gv-keys label:hover { background: var(--c-tint); }
.gv-k:not(:checked) + label { opacity: 0.45; text-decoration: line-through; }
.gv-k:focus-visible + label { outline: 2px solid var(--c-link); outline-offset: 2px; }
.gv:has(#gv-jhwh:not(:checked)) .gk-jhwh, .gv:has(#gv-elohim:not(:checked)) .gk-elohim, .gv:has(#gv-adonai:not(:checked)) .gk-adonai, .gv:has(#gv-el:not(:checked)) .gk-el, .gv:has(#gv-schaddai:not(:checked)) .gk-schaddai,
.gv:has(#gv-jesus:not(:checked)) .gk-jesus, .gv:has(#gv-christus:not(:checked)) .gk-christus, .gv:has(#gv-kyrios:not(:checked)) .gk-kyrios, .gv:has(#gv-menschensohn:not(:checked)) .gk-menschensohn { display: none; }
.gv .an-balken { display: flex; flex-direction: column; }
/* Balken wachsen beim Erscheinen (ohne „Bewegung reduzieren“) */
@media (prefers-reduced-motion: no-preference) {
  .an-bar i { transform-origin: left center; }
  .reveal .an-bar i { transform: scaleX(0); }
  .reveal.is-in .an-bar i { transform: none; transition: transform 900ms var(--ease); }
  .gv .an-zeile { transition: transform 300ms var(--ease); }
}
/* Gruppen der Gottesnamen: ein- und ausklappbar */
.gn-gruppe > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.gn-gruppe > summary::-webkit-details-marker { display: none; }
.gn-gruppe > summary h2 { margin: 0; }
.gn-gruppe > summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-tint); color: var(--c-control); font-weight: 700; transition: transform var(--t-mid) var(--ease); }
.gn-gruppe[open] > summary::after { transform: rotate(45deg); }
.gn-gruppe > summary:focus-visible { outline: 2px solid var(--c-link); outline-offset: 4px; border-radius: 8px; }
.gn-anz { margin-left: auto; color: var(--c-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.gn-gruppe[open] > summary { margin-bottom: 8px; }

/* Synopse der Evangelien (Paket 7) */
.syn-table-wrap { overflow-x: auto; }
.syn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.syn-table th, .syn-table td { padding: 8px 10px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.syn-table thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.syn-table tbody tr:hover { background: var(--c-tint); }
.syn-cols { display: grid; gap: 16px; margin-top: 12px; }
.syn-col { background: var(--c-card); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow-card); }
.syn-col h2 { font-size: 17px; margin: 0 0 4px; }
.syn-text { font-family: var(--font-text); font-size: 17px; line-height: 1.6; }
.syn-text sup { font-family: var(--font-ui); font-size: 10px; color: var(--c-muted); font-weight: 700; }
mark.syn-w { background: transparent; color: inherit; border-bottom: 2px solid var(--c-gold); padding: 0; }
.syn-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 16px 0; }
@media (min-width: 900px) {
  .syn-switch { display: none; }
  .syn-n2 { grid-template-columns: repeat(2, 1fr); } .syn-n3 { grid-template-columns: repeat(3, 1fr); } .syn-n4 { grid-template-columns: repeat(4, 1fr); }
  .syn-n4 .syn-text { font-size: 15.5px; }
}
@media (max-width: 899px) {
  .syn-col { display: none; }
  .syn:has(#syn-mat:checked) [data-ev="mat"], .syn:has(#syn-mrk:checked) [data-ev="mrk"], .syn:has(#syn-luk:checked) [data-ev="luk"], .syn:has(#syn-jhn:checked) [data-ev="jhn"] { display: block; }
}

/* Wortseiten: Verlauf durch die Bibel (Belege je 10.000 Wörter, Bücher in biblischer Reihenfolge) */
.wv-verlauf { display: flex; align-items: flex-end; gap: 2px; height: 64px; padding: 4px 0; border-bottom: 1px solid var(--c-line); }
.vl-b { flex: 1 1 0; min-width: 2px; border-radius: 3px 3px 0 0; background: var(--c-control); }
.vl-b.h0 { height: 2px; background: var(--c-line); } .vl-b.h1 { height: 10%; } .vl-b.h2 { height: 20%; } .vl-b.h3 { height: 30%; } .vl-b.h4 { height: 40%; } .vl-b.h5 { height: 50%; }
.vl-b.h6 { height: 60%; } .vl-b.h7 { height: 70%; } .vl-b.h8 { height: 80%; } .vl-b.h9 { height: 90%; } .vl-b.h10 { height: 100%; }
.vl-b:hover { background: var(--c-gold-dark, #8A6A1F); }
.vl-achse { display: flex; justify-content: space-between; margin: 2px 0 6px; }
@media (prefers-reduced-motion: no-preference) { .vl-b { transform-origin: bottom; } .reveal .vl-b { transform: scaleY(0); } .reveal.is-in .vl-b { transform: none; transition: transform 700ms var(--ease); } }

/* Atlas: Jerusalem zur Zeit Jesu (Rekonstruktion, ungefähr) */
.city-wall { fill: #8A6A3A; fill-opacity: 0.06; stroke: #8A6A3A; stroke-dasharray: 5 3; stroke-linejoin: round; }
.city-temple { fill: var(--c-gold); fill-opacity: 0.22; stroke: #8A6A1F; stroke-linejoin: round; }
.city-pool { fill: var(--c-sea); stroke: var(--c-river); stroke-width: 1; }
.map-label.city-plan-label { fill: #6B5428; font-style: italic; font-weight: 700; }
.map-label.city-plan-note { fill: var(--c-muted); font-style: italic; }

/* Wortverzeichnis: Sprachetikett aus data-sp (hebräisch, aramäisch, griechisch) – per CSS, damit die Seite klein bleibt */
.an-index li[data-sp] .wv-tr::after { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; vertical-align: 1px; font-style: normal; }
.an-index li[data-sp="a"] .wv-tr::after { content: "aramäisch"; background: var(--c-genre-bg); color: var(--c-genre-ink); }
:lang(en) .an-index li[data-sp="a"] .wv-tr::after { content: "Aramaic"; }
.an-index li[data-sp="ha"] .wv-tr::after { content: "hebräisch · aramäisch"; background: var(--c-tint); color: var(--c-ink); }
:lang(en) .an-index li[data-sp="ha"] .wv-tr::after { content: "Hebrew · Aramaic"; }
/* Belege, Bildnachweise und KI-Hinweise: Links wie in den Quellenhinweisen – grau, unterstrichen, beim Zeigen lila */
.intro-meta a, .alltag-credit a, .term-credit a, .bild-credits a, a.ki-mark, .person-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.intro-meta a:hover, .alltag-credit a:hover, .term-credit a:hover, .bild-credits a:hover, a.ki-mark:hover, .person-source a:hover { color: var(--c-link); }

/* Bewegung beim Öffnen (Feedback 16.11.): Balken und Säulen wachsen, Größen steigen auf, die Route zeichnet sich nach – nur ohne „Bewegung reduzieren“ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes bar-in { from { transform: scaleX(0); } }
  @keyframes col-in { from { transform: scaleY(0); } }
  @keyframes trip-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .gv .an-bar i, details[open] > .gn-liste .gn-bar i, .wort-spread .an-bar i { transform-origin: left center; animation: bar-in 900ms var(--ease) both; }
  .vl-b { transform-origin: bottom; animation: col-in 800ms var(--ease) both; }
  .gr-svg .gr-obj { transform-box: fill-box; transform-origin: bottom; animation: col-in 1100ms var(--ease) both; animation-delay: 150ms; }
  .trip-new { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trip-draw 1400ms var(--ease) forwards; }
  .gv .an-zeile:nth-child(2) i, .wort-spread .an-zeile:nth-child(2) i { animation-delay: 25ms; }
  .gv .an-zeile:nth-child(3) i, .wort-spread .an-zeile:nth-child(3) i { animation-delay: 50ms; }
  .gv .an-zeile:nth-child(4) i, .wort-spread .an-zeile:nth-child(4) i { animation-delay: 75ms; }
  .gv .an-zeile:nth-child(5) i, .wort-spread .an-zeile:nth-child(5) i { animation-delay: 100ms; }
  .gv .an-zeile:nth-child(6) i, .wort-spread .an-zeile:nth-child(6) i { animation-delay: 125ms; }
  .gv .an-zeile:nth-child(7) i, .wort-spread .an-zeile:nth-child(7) i { animation-delay: 150ms; }
  .gv .an-zeile:nth-child(8) i, .wort-spread .an-zeile:nth-child(8) i { animation-delay: 175ms; }
  .gv .an-zeile:nth-child(9) i, .wort-spread .an-zeile:nth-child(9) i { animation-delay: 200ms; }
  .gv .an-zeile:nth-child(10) i, .wort-spread .an-zeile:nth-child(10) i { animation-delay: 225ms; }
  .gv .an-zeile:nth-child(11) i, .wort-spread .an-zeile:nth-child(11) i { animation-delay: 250ms; }
  .gv .an-zeile:nth-child(12) i, .wort-spread .an-zeile:nth-child(12) i { animation-delay: 275ms; }
  .gv .an-zeile:nth-child(13) i, .wort-spread .an-zeile:nth-child(13) i { animation-delay: 300ms; }
  .gv .an-zeile:nth-child(14) i, .wort-spread .an-zeile:nth-child(14) i { animation-delay: 325ms; }
  .gv .an-zeile:nth-child(15) i, .wort-spread .an-zeile:nth-child(15) i { animation-delay: 350ms; }
  .gv .an-zeile:nth-child(16) i, .wort-spread .an-zeile:nth-child(16) i { animation-delay: 375ms; }
  .gv .an-zeile:nth-child(17) i, .wort-spread .an-zeile:nth-child(17) i { animation-delay: 400ms; }
  .gv .an-zeile:nth-child(18) i, .wort-spread .an-zeile:nth-child(18) i { animation-delay: 425ms; }
  .gv .an-zeile:nth-child(19) i, .wort-spread .an-zeile:nth-child(19) i { animation-delay: 450ms; }
  .gv .an-zeile:nth-child(20) i, .wort-spread .an-zeile:nth-child(20) i { animation-delay: 475ms; }
  .gv .an-zeile:nth-child(21) i, .wort-spread .an-zeile:nth-child(21) i { animation-delay: 500ms; }
  .gv .an-zeile:nth-child(22) i, .wort-spread .an-zeile:nth-child(22) i { animation-delay: 525ms; }
  .gv .an-zeile:nth-child(23) i, .wort-spread .an-zeile:nth-child(23) i { animation-delay: 550ms; }
  .gv .an-zeile:nth-child(24) i, .wort-spread .an-zeile:nth-child(24) i { animation-delay: 575ms; }
  .gv .an-zeile:nth-child(25) i, .wort-spread .an-zeile:nth-child(25) i { animation-delay: 600ms; }
  .gv .an-zeile:nth-child(26) i, .wort-spread .an-zeile:nth-child(26) i { animation-delay: 625ms; }
  .gv .an-zeile:nth-child(27) i, .wort-spread .an-zeile:nth-child(27) i { animation-delay: 650ms; }
  .gv .an-zeile:nth-child(28) i, .wort-spread .an-zeile:nth-child(28) i { animation-delay: 675ms; }
  .gv .an-zeile:nth-child(29) i, .wort-spread .an-zeile:nth-child(29) i { animation-delay: 700ms; }
  .gv .an-zeile:nth-child(30) i, .wort-spread .an-zeile:nth-child(30) i { animation-delay: 725ms; }
  .gv .an-zeile:nth-child(31) i, .wort-spread .an-zeile:nth-child(31) i { animation-delay: 750ms; }
  .gv .an-zeile:nth-child(32) i, .wort-spread .an-zeile:nth-child(32) i { animation-delay: 775ms; }
  .gv .an-zeile:nth-child(33) i, .wort-spread .an-zeile:nth-child(33) i { animation-delay: 800ms; }
  .gv .an-zeile:nth-child(34) i, .wort-spread .an-zeile:nth-child(34) i { animation-delay: 825ms; }
  .gv .an-zeile:nth-child(35) i, .wort-spread .an-zeile:nth-child(35) i { animation-delay: 850ms; }
  .gv .an-zeile:nth-child(36) i, .wort-spread .an-zeile:nth-child(36) i { animation-delay: 875ms; }
  .gv .an-zeile:nth-child(37) i, .wort-spread .an-zeile:nth-child(37) i { animation-delay: 900ms; }
  .gv .an-zeile:nth-child(38) i, .wort-spread .an-zeile:nth-child(38) i { animation-delay: 925ms; }
  .gv .an-zeile:nth-child(39) i, .wort-spread .an-zeile:nth-child(39) i { animation-delay: 950ms; }
  .gv .an-zeile:nth-child(40) i, .wort-spread .an-zeile:nth-child(40) i { animation-delay: 975ms; }
  .vl-b:nth-child(n+1) { animation-delay: 12ms; }
  .vl-b:nth-child(n+7) { animation-delay: 84ms; }
  .vl-b:nth-child(n+13) { animation-delay: 156ms; }
  .vl-b:nth-child(n+19) { animation-delay: 228ms; }
  .vl-b:nth-child(n+25) { animation-delay: 300ms; }
  .vl-b:nth-child(n+31) { animation-delay: 372ms; }
  .vl-b:nth-child(n+37) { animation-delay: 444ms; }
  .vl-b:nth-child(n+43) { animation-delay: 516ms; }
  .vl-b:nth-child(n+49) { animation-delay: 588ms; }
  .vl-b:nth-child(n+55) { animation-delay: 660ms; }
  .vl-b:nth-child(n+61) { animation-delay: 732ms; }
}

/* Urtext beim Lesen: Wörter mit Strong-Angabe antippbar – zurückhaltend unterstrichen, damit der Text ruhig bleibt */
.bible button.term.is-urtext { cursor: pointer; text-decoration: underline dotted var(--c-line); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bible button.term.is-urtext:hover, .bible button.term.is-urtext[aria-expanded='true'] { background: var(--c-tint); text-decoration-color: var(--c-control); }
.erkl-demo.is-urtext { text-decoration: underline dotted var(--c-muted); text-underline-offset: 3px; }
.term-sym.is-urtext { background: var(--c-control); border-radius: 2px; }
.erkl-ur { margin: 6px 0 0; }
.term-pop .ur { font-size: 1.2em; }

/* Reiter „Urtext“ im Kontextpanel */
.ur-keys { margin: 4px 0 12px; }
.ur-keys .ur { font-size: 1.05em; }
.ur-head { margin: 10px 0 4px; }
.ur-vers { border-top: 1px solid var(--c-line); padding: 6px 0; }
.ur-vers > summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--c-muted); }
.ur-line { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 4px; }
.ur-w { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 6px; border: 0; border-radius: 8px; background: none; color: var(--c-ink); cursor: pointer; font: inherit; min-height: 24px; }
.ur-w:hover, .ur-w.is-on { background: var(--c-tint); }
.ur-f { font-family: var(--font-text); font-size: 18px; line-height: 1.3; }
.ur-t { font-size: 10.5px; color: var(--c-muted); }
.ur-g { font-size: 11px; font-weight: 600; color: var(--c-link); }
.ur-info { margin: 4px 0 6px; line-height: 1.5; }
.ur-info .ur { font-size: 1.1em; }

/* Wortverzeichnis: Buchfilter */
.wv-buch select { border: 0; background: none; font: inherit; color: inherit; padding: 0 2px; max-width: 14em; }
.an-index li[hidden] { display: none; }
.wv-status { margin: 0; }
.wv-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* leer: nur für Screenreader da, ohne Lücke im Raster */

/* Volltextsuche: Treffer nach Büchern gruppiert */
.suche-buch { margin: 22px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.suche-buch .muted { font-weight: 500; letter-spacing: 0; }
.suche-gruppe { scroll-margin-top: 90px; }
.suche-gruppe .suche-treffer { margin-top: 8px; }
.suche-buecher { margin: 12px 0 0; }
.suche-buecher .pill .muted { margin-left: 4px; font-weight: 500; }
/* Volltextsuche: Bereich, „auch andere Formen“, Hilfe und „Auf unseren Seiten“ (18.11.) */
.suche-optionen { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; }
.suche-optionen > label[for] { color: var(--c-muted); font-weight: 600; margin-right: -10px; }
.suche-form .suche-optionen select { padding: 6px 12px; font-size: 14px; max-width: 100%; }
.suche-schalter { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.suche-schalter input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--c-control); }
.suche-hilfe { margin: 10px 0 0; font-size: 14px; }
.suche-hilfe summary { display: inline-flex; align-items: center; min-height: 32px; cursor: pointer; color: var(--c-link); font-weight: 600; }
.suche-hilfe ul { margin: 4px 0 0; padding-left: 1.2em; display: grid; gap: 4px; color: var(--c-muted); }
.suche-tipp { margin: 14px 0 0; }
/* Urtextsuche (18.11.): Kopf mit Grundwort, Strong-Nummer und Stichwort */
.suche-ur { background: var(--c-tint); border-radius: 16px; padding: 12px 16px; margin: 4px 0 14px; }
.suche-ur .label { margin: 0 0 2px; }
.suche-ur-kopf { font-size: 17px; margin: 0 0 4px; }
.suche-ur-kopf .ur { font-size: 1.35em; margin-right: 4px; }
.suche-ur p.small { margin: 4px 0 0; }
.suche-seiten { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.suche-seiten a { font-weight: 600; }
.suche-seiten .muted { font-size: 13px; }
.suche-seiten p { margin: 2px 0 0; font-family: var(--font-text); }
.suche-seiten mark { background: var(--c-tint); color: inherit; border-radius: 3px; padding: 0 2px; }
.suche-inhalt { scroll-margin-top: 90px; }
.suche-inhalt > .pill { margin-top: 12px; }
@media (max-width: 899px) { .syn:has(#syn-sk:checked) [data-ev="sk"], .syn:has(#syn-chr:checked) [data-ev="chr"] { display: block; } }
.term-mz { color: var(--c-muted); font-style: italic; }

/* Völker und Stämme */
.volk-staemme { display: grid; grid-template-columns: repeat(auto-fill, minmax(9em, 1fr)); gap: 6px 16px; padding-left: 1.1em; }
.volk-liste { display: grid; gap: 6px; padding-left: 1.1em; }
.volk-zitat { margin: 8px 0 14px; padding: 12px 16px; background: var(--c-tint); border-radius: 14px; }
.volk-zitat p { margin: 0 0 4px; font-family: var(--font-text); font-size: 16px; line-height: 1.55; }
.volk-zitat cite { font-style: normal; font-size: 12px; }

/* Themenseiten: Weg durch die Bibel, Kanonband, Pole */
.tw-band { display: grid; grid-template-columns: repeat(66, 1fr); gap: 2px; margin: 18px 0 4px; }
.tw-band span { height: 14px; border-radius: 3px; background: var(--c-tint); }
.tw-band span.on { background: var(--c-control); }
.tw-band span.nt0 { margin-left: 4px; }
.tw-band-legend { display: flex; justify-content: space-between; margin: 0 0 18px; }
.thema-text { max-width: 42rem; }
.thema-text h2 { font-size: 19px; margin: 22px 0 6px; }
.tw { list-style: none; margin: 10px 0 0; padding: 0 0 0 22px; position: relative; }
.tw::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--c-control), var(--c-gold)); }
.tw-st { position: relative; padding: 0 0 16px; }
.tw-dot { position: absolute; left: -22px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-card); border: 3px solid var(--c-control); }
.tw-st.is-nt .tw-dot { border-color: var(--c-gold); }
.tw-st h3 { font-size: 16px; margin: 2px 0 4px; }
.tw-st p { margin: 0; }
.tw-ref { font-size: 13px; }
.sf-pole { display: grid; gap: 8px 28px; }
@media (min-width: 760px) { .sf-pole { grid-template-columns: 1fr 1fr; } }
.sf-h { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 16px 0 4px; color: var(--c-muted); }
.sf-h.pol-1 { color: var(--c-control); }
.thema-karten { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.thema-karte { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 20px; background: var(--c-card); border: 1px solid var(--c-tint); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.thema-karte:hover, .thema-karte:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(74 32 96 / .12); }
.thema-karte b { color: var(--c-control); }
.thema-karte span { font-size: 14px; color: var(--c-muted); }
@media (prefers-reduced-motion: reduce) { .thema-karte { transition: none; } .thema-karte:hover { transform: none; } }
.ch-glance-ki { margin: 10px 0 0; font-size: 12px; text-align: right; }

/* Personenseiten (16.11.): Kacheln, Epochenband, Stammbaum */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 10px; margin: 18px 0; }
.pk { background: var(--c-card); border: 1px solid var(--c-tint); border-radius: 20px; padding: 12px 14px; }
.pk dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: 4px; }
.pk dd { margin: 0; font-size: 15px; }
.pz-kette { list-style: none; padding: 0; margin: 10px 0 8px; display: flex; flex-wrap: wrap; gap: 6px 0; }
.pz { display: flex; align-items: center; }
.pz + .pz::before { content: ""; width: 14px; height: 2px; background: var(--c-tint); }
.pz > a, .pz-in { display: inline-flex; flex-direction: column; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--c-tint); color: var(--c-muted); text-decoration: none; line-height: 1.2; }
.pz-name { font-size: 13px; white-space: nowrap; }
.pz-n { font-size: 11px; opacity: .85; }
.pz.is-haupt > a, .pz.is-haupt .pz-in { background: var(--c-control); color: #fff; font-weight: 700; }
.pz.is-auch > a, .pz.is-auch .pz-in { background: color-mix(in srgb, var(--c-gold) 40%, var(--c-card)); color: var(--c-ink); }
.pz-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pz-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; }
.pz-key.is-haupt { background: var(--c-control); }
.pz-key.is-auch { background: color-mix(in srgb, var(--c-gold) 40%, var(--c-card)); }
.ptree { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pt-gen { text-align: center; position: relative; padding: 14px 0; width: 100%; }
.pt-gen + .pt-gen::before, .pt-mehr + .pt-gen::before, .pt-gen + .pt-mehr::before { content: ""; position: absolute; top: -1px; left: 50%; width: 2px; height: 14px; background: var(--c-line); transform: translateX(-1px); }
.pt-gen ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pt-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 6px; }
.pt-mitte { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; align-items: center; background: var(--c-tint); border-radius: 20px; padding: 14px; }
.pt-mitte .pt-geschw { order: 0; }
.pt-p { border-radius: 999px; padding: 5px 12px; background: var(--c-card); border: 1px solid var(--c-line); font-size: 14px; }
.pt-p a { text-decoration: none; }
.pt-p.is-f { border-color: color-mix(in srgb, var(--c-gold) 70%, var(--c-line)); }
.pt-self { background: var(--c-control); border-color: var(--c-control); color: #fff; font-size: 16px; padding: 7px 16px; }
.pt-g { background: transparent; border-style: dashed; }
.pt-pa { border-color: var(--c-control); }
.pt-ehe { color: var(--c-muted); align-self: center; font-size: 14px; }
.pt-mehr { width: 100%; text-align: center; position: relative; padding-top: 10px; }
.pt-mehr > summary { cursor: pointer; display: inline-block; font-size: 13px; color: var(--c-link); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--c-tint); }
.pt-legende { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; margin-top: 10px; }
.pt-key { display: inline-block; width: 18px; height: 10px; border-radius: 999px; border: 1px solid var(--c-line); vertical-align: 0; }
.pt-key.pt-g { border-style: dashed; }
.pt-key.pt-pa { border-color: var(--c-control); }
.person-alle > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.person-alle > summary h2 { margin: 0; }
@media (max-width: 560px) { .pz-band { grid-template-columns: repeat(7, 1fr); } }


/* Seitenleiste Urtext: Gottesnamen */
.ur-gn { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 10px; }
.ur-gn-n { font-size: 13px; color: var(--c-muted); }
.ur-gn-zeile { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; margin-top: 3px; }
.ur-gn-bar { display: block; height: 7px; border-radius: 4px; background: var(--c-tint); overflow: hidden; }
.ur-gn-bar i { display: block; height: 100%; width: 2%; background: var(--c-control); border-radius: 4px; animation: bar-in .7s var(--ease) both; transform-origin: left; }
.ur-gn-zeile + .ur-gn-zeile .ur-gn-bar i { background: var(--c-gold); }
@media (prefers-reduced-motion: reduce) { .ur-gn-bar i { animation: none; } }

/* Sechs Akten vertieft */
.akt-umfang { margin: 14px 0 6px; }
.akt-row { margin: 10px 0 0; }
.akt-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin: 0 0 4px; }
.akt-fragen { margin: 4px 0 0; padding-left: 1.2em; }
.akt-fragen li { margin: 2px 0; }
.akt-belege { margin-top: 12px; font-size: 13px; }
.akt-belege summary { cursor: pointer; color: var(--c-muted); }

/* Synopse vertieft */
.syn-note p { margin: 0 0 8px; }
.syn-zweifel { color: var(--c-muted); }
.syn-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.syn-stat { display: block; width: 100%; height: 10px; border-radius: 5px; background: var(--c-tint); margin-top: 4px; }
.syn-stat .syn-par { fill: var(--c-control); }
.syn-stat .syn-son { fill: var(--c-gold); }
.pz-key.syn-par { background: var(--c-control); }
.pz-key.syn-son { background: var(--c-gold); }
.syn-sonder { margin-top: 4px; font-size: 13px; }
.syn-sonder summary { cursor: pointer; color: var(--c-muted); }
.syn-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* Größen: Gewicht, Strecke, Höhenprofil */
.gr-strecke { stroke: var(--c-control); stroke-width: 6; stroke-linecap: round; }
.gr-strecke-ref { stroke: var(--c-muted); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.gr-strecke-dot { fill: var(--c-control); }
.gr-strecke-ref-dot { fill: var(--c-muted); opacity: .55; }
.gr-profil { fill: color-mix(in srgb, var(--c-gold) 35%, transparent); stroke: var(--c-gold-dark, #9a7a14); stroke-width: 1.5; }
.gr-meer { stroke: #7FA3C8; stroke-width: 1.5; stroke-dasharray: 5 4; }
.gr-small { font-size: 12px; }

/* Völker und Stämme: Liste in Spalten */
.volk-staemme { gap: 8px; }
.volk-grid { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.volk-karte { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 14px 16px; border-radius: 20px; background: var(--c-card); border: 1px solid var(--c-tint); }
.volk-karte > a { text-decoration: none; color: var(--c-control); }
.volk-zeigen { margin-top: 6px; cursor: pointer; }

/* Lebenswelt: drei Spalten auf großen Bildschirmen */
@media (min-width: 900px) { .welt-grid { grid-template-columns: repeat(3, 1fr); } }

/* Größen aufklappbar */
.gr-toc { margin: 8px 0 4px; }
.gr-card > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gr-card > summary::-webkit-details-marker { display: none; }
.gr-sum { display: flex; flex-direction: column; gap: 2px; }
.gr-sum b { font-size: 17px; }
.gr-card[open] > summary .chev { transform: rotate(180deg); }
.gr-body { margin-top: 10px; }
.gr-gruppe .gr-card { margin-bottom: 10px; }

/* Personen: Bild und Vorstellung */
.person-bild { margin: 16px 0; }
.person-bild img { display: block; width: 100%; max-width: 640px; height: auto; border-radius: 20px; }
.person-intro p { font-size: 17px; line-height: 1.6; }
.pn-liste { padding-left: 1.1em; display: grid; gap: 6px; }

/* Personenseite neu geordnet (16.11. abends): Kacheln mit Vers-Box, Text mit Bild rechts, Stellen je Buch */
.pk-wrap .pkv-cb { position: absolute; opacity: 0; pointer-events: none; }
.pk-auf { cursor: pointer; color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; }
.pk-wrap .pkv { display: none; background: var(--c-tint); border-radius: 20px; padding: 12px 16px; margin: -6px 0 16px; }
.pk-wrap .pkv .person-quote { margin: 0 0 6px; }
[id$="pkv-1"]:checked ~ .pkv-1, [id$="pkv-2"]:checked ~ .pkv-2 { display: block; }
[id$="pkv-1"]:focus-visible ~ .pk-grid label[for$="pkv-1"], [id$="pkv-2"]:focus-visible ~ .pk-grid label[for$="pkv-2"] { outline: 2px solid var(--c-link); outline-offset: 2px; }
.person-text { overflow: hidden; display: block; }
.person-text .person-bild { float: right; width: min(46%, 300px); margin: 4px 0 12px 20px; }
.person-text-nur-bild { overflow: hidden; }
.person-text-nur-bild .person-bild { float: right; width: min(46%, 300px); margin: 0 0 12px 20px; }
.person-text h2 { font-size: 19px; margin: 18px 0 6px; }
.person-einstieg { font-size: 17px; line-height: 1.6; }
@media (max-width: 560px) { .person-text .person-bild, .person-text-nur-bild .person-bild { float: none; width: 100%; margin: 0 0 12px; } }
.pt-geschw-box { text-align: center; }
.person-books { list-style: none; padding: 0; display: grid; gap: 14px; }
.pb-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pb-n { font-size: 13px; color: var(--c-muted); }
.pb-bar { display: block; width: 100%; height: 6px; margin: 4px 0 6px; }
.pb-bar rect { fill: var(--c-control); }
.pb-verse { margin: 0; line-height: 1.9; }

/* Völkerkarten: Zeitleiste ausgeblendet (Völkergebiete haben ein eigenes Zeitfenster, siehe VOLK_GEBIETE in scripts/site.mjs) */
.ohne-zeit .map-time { display: none !important; }

/* Funde: Filter nach Art (ohne JS) und Abschnitte nach Zeit */
.fund-filter { border: 0; padding: 0; margin: 8px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.fund-filter .fa-r { position: absolute; opacity: 0; pointer-events: none; }
.fund-filter label { cursor: pointer; }
.fund-filter .fa-r:checked + label { background: var(--c-control); color: var(--c-control-ink); border-color: var(--c-control); }
.fund-filter .fa-r:checked + label .muted { color: inherit; opacity: .8; }
.fund-filter .fa-r:focus-visible + label { outline: 2px solid var(--c-link); outline-offset: 2px; }
.fund-sprung { margin: 0 0 8px; }
.fund-zeit h2 { margin: 22px 0 10px; }
.funde-wrap:has(#fa-schrift:checked) .fund-kachel:not([data-art="schrift"]), .funde-wrap:has(#fa-staette:checked) .fund-kachel:not([data-art="staette"]), .funde-wrap:has(#fa-ding:checked) .fund-kachel:not([data-art="ding"]) { display: none; }
.funde-wrap:has(#fa-schrift:checked) .fund-zeit:not(:has([data-art="schrift"])), .funde-wrap:has(#fa-staette:checked) .fund-zeit:not(:has([data-art="staette"])), .funde-wrap:has(#fa-ding:checked) .fund-zeit:not(:has([data-art="ding"])) { display: none; }
.fund-mehr-liste { padding-left: 1.1em; display: grid; gap: 6px; }

/* Kommentar-Entwurf (lokal) */
.km-entwurf { background: color-mix(in srgb, var(--c-gold) 22%, var(--c-card)); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.km-abschnitt { margin: 28px 0 10px; }
.km-abschnitt h2 { font-size: 22px; }
.km-text summary, .km-belege summary { cursor: pointer; color: var(--c-link); font-size: 14px; }
.km-vers { font-family: var(--font-text); font-size: 17px; line-height: 1.65; }
.km-vers .v { color: var(--c-muted); font-size: 11px; margin: 0 3px 0 6px; }
.km-kopf { margin: 12px 0; }
.km-feld { line-height: 1.65; }
.km-gespraech ol { margin-top: 0; }
.km-warn { color: #B5523B; }

/* Sprungmarken auf der Seite (Feedback 17.11.): schlichte lila Links mit Pfeil nach unten, durch einen Strich von der Bereichsnavigation (Pillen) getrennt */
.sprung-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 14px; }
.sprung-nav a { display: inline-flex; align-items: baseline; gap: 7px; color: var(--c-link); text-decoration: none; font-weight: 600; }
.sprung-nav a::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); flex: none; }
.sprung-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sprung-nav a .muted { font-weight: 400; }
.fund-filter + .sprung-nav { margin-top: 10px; }
.sprung-az { gap: 6px 16px; }

/* Personenseite, neuer Aufbau (Pilot Jesus, 17.11.): Kopf mit Text links und Bild rechts, Text zweispaltig ohne Box */
.person-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 29%); gap: 28px; align-items: start; margin: 4px 0 22px; }
.person-kopf .lead { margin-top: 0; }
.person-kopf .person-einstieg { font-size: 17px; line-height: 1.65; }
.person-kopf .person-bild { margin: 6px 0 0; }
.person-kopf .person-bild img { max-width: none; width: 100%; box-shadow: 0 18px 36px -24px rgba(28, 16, 40, .5); }
@media (max-width: 760px) { .person-kopf { grid-template-columns: 1fr; gap: 14px; } .person-kopf .person-bild { margin: 0; } }
.text-spalten { margin: 26px 0 24px; }
.text-spalten .ts-teil { break-inside: avoid; }
.text-spalten h2 { font-size: 20px; margin: 0 0 6px; }
.text-spalten p { margin: 0 0 20px; line-height: 1.65; }
@media (min-width: 1000px) { .text-spalten { column-count: 2; column-gap: 44px; } }
.ptree-neu .pt-mitte { align-items: flex-end; gap: 12px 26px; }
.ptree-neu .pt-grp ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ptree-neu .pt-p { min-width: 96px; height: 36px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: var(--c-card); border: 1px solid var(--c-line); border-style: solid; }
.ptree-neu .pt-self { background: var(--c-control); border-color: var(--c-control); color: #fff; font-size: 14px; padding: 0 16px; }
.ptree-neu .pt-p a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pz-zeitleiste { margin: 12px 0 4px; }
.porte { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.porte li { display: inline-flex; align-items: baseline; gap: 6px; }
/* Zeitleiste: Suche (17.11.) */
.zl-suche { position: relative; max-width: 460px; margin: 0 0 12px; }
.zl-suche .label { display: block; margin-bottom: 4px; }
.zl-suche input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); }
.zl-suche input:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
.zl-treffer { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 18px 36px -20px rgba(28, 16, 40, .45); }
.zl-treffer li.small { padding: 8px 10px; }
.zl-treffer button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 7px 10px; font: inherit; color: var(--c-ink); cursor: pointer; }
.zl-treffer button:hover, .zl-treffer button:focus-visible { background: var(--c-tint); outline: none; }
.zl-t-n { font-weight: 600; font-size: 14px; }
.zl-t-k { font-size: 12px; color: var(--c-muted); }
.era-zl { margin: 12px 0 0; }
.an-ziel { font-size: 13px; white-space: nowrap; }

/* Breadcrumb über der H1 (17.11.): Bereich › Elternseite, Dreieck öffnet die Geschwisterseiten derselben Ebene */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 13px; font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; position: relative; }
.crumbs li + li::before { content: "›"; color: var(--c-faint); margin: 0 8px; font-weight: 400; }
.crumbs a { color: var(--c-link); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb-dd { position: relative; display: inline-block; }
.crumb-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 2px; border-radius: 999px; color: var(--c-link); }
.crumb-dd > summary::-webkit-details-marker { display: none; }
.crumb-dd > summary:hover, .crumb-dd[open] > summary { background: var(--c-tint); }
.crumb-dd > summary:focus-visible { outline: 2px solid var(--c-link); outline-offset: 1px; }
.crumb-dd[open] > summary svg { transform: rotate(180deg); }
.crumb-dd > summary svg { transition: transform 160ms var(--ease); }
.crumb-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: -8px; min-width: 220px; margin: 0; padding: 6px; list-style: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 18px 36px -20px rgba(28, 16, 40, .45); }
.crumb-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--c-ink); font-weight: 500; white-space: nowrap; }
.crumb-menu a:hover, .crumb-menu a:focus-visible { background: var(--c-tint); text-decoration: none; outline: none; }
.crumb-menu a[aria-current] { color: var(--c-link); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .crumb-dd > summary svg { transition: none; } }
/* Personenbild: sanft einblenden beim Laden (wie die Bilder „Zum Ausprobieren“; startet nicht bei 0, damit das LCP nicht wartet) */
@media (prefers-reduced-motion: no-preference) {
  .person-kopf .person-bild img { animation: pb-in 900ms var(--ease) both; }
  @keyframes pb-in { from { opacity: 0.02; transform: translateY(10px) scale(1.015); } }
}
.person-hinweis { margin: 4px 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--c-tint); font-size: 15px; line-height: 1.55; max-width: 60em; }
.porte-mehr { margin: -4px 0 14px; }
.porte-mehr > summary { cursor: pointer; color: var(--c-link); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.zl-suche-label { color: var(--c-muted); }

/* Unsichere Verwandtschaft (Feedback 17.11.): „?“ an Pille und Kachel, Legende unter dem Stammbaum */
.pt-q { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-left: 4px; border-radius: 50%; background: var(--c-tint); color: var(--c-ink); font-size: 0.8em; font-weight: 700; line-height: 1; vertical-align: 0.1em; cursor: help; }
.pt-p.is-q > a, .pt-p.is-q > span:first-child { text-decoration-style: dashed; }
.pt-q-legende { display: flex; gap: 6px; align-items: baseline; }
.pt-q-legende .pt-q { margin-left: 0; flex: none; }
.term-hinweis b { font-weight: 600; }

/* Sammelseiten der Personen (Nutzer 17.11.): je Bedeutung ein aufklappbarer Block */
.sammel { display: grid; gap: 14px; margin: 8px 0 24px; }
.sammel-block { background: var(--c-card); border-radius: 20px; box-shadow: var(--shadow-card); }
.sammel-block > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: 20px; }
.sammel-block > summary::-webkit-details-marker { display: none; }
.sammel-block > summary:hover { background: var(--c-tint); }
.sammel-block > summary:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
.sammel-block > summary > span:not(.chev) { grid-column: 1; }
.sammel-block > summary .chev { grid-column: 2; grid-row: 1 / span 4; }
.sammel-art { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.sammel-titel { font-family: var(--f-head, inherit); font-size: 20px; font-weight: 700; line-height: 1.3; }
.sammel-k { color: var(--c-muted); font-size: 15px; line-height: 1.45; }
.sammel-n { color: var(--c-muted); font-size: 13px; }
.sammel-inhalt { padding: 4px 20px 20px; }
.sammel-inhalt .person-kopf { margin-top: 0; }
.sammel-link { margin: 0 0 14px; }
.sammel-block:target > summary, .sammel-block[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 600px) { .sammel-block > summary { padding: 14px 16px; } .sammel-inhalt { padding: 4px 12px 16px; } }

/* Sammelseiten: Block ohne Text und ohne Bild nimmt die volle Breite (17.11.) */
.person-kopf.pk-ohne-bild { grid-template-columns: minmax(0, 1fr); }

/* Kommentar, neuer Aufbau (Plan 17.11.): drei Kopf-Boxen, „Gut zu wissen“, Fragen zweispaltig, Gespräch eingeklappt */
.page > .km-einleitung, .km-einleitung { margin: 10px 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--c-tint); font-size: 15px; max-width: none; }
.km-kopf3 { display: grid; gap: 14px; margin: 14px 0 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.km-box { border-radius: var(--radius-card); padding: 18px 20px; }
.km-box > p:last-child { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
.km-box .label { margin: 0 0 8px; }
.km-worum { background: var(--c-card); box-shadow: var(--shadow-card); }
.km-nugget { background: var(--c-tint); }
.km-wissen { margin: 0 0 20px; padding: 16px 20px; border-radius: var(--radius-card); background: var(--c-bg); }
.km-wissen dl { margin: 0; display: grid; gap: 10px; }
.km-wissen dt { font-weight: 700; }
.km-wissen dd { margin: 2px 0 0; line-height: 1.55; }
.km-zwei { display: grid; gap: 4px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.km-frage h3 { font-size: 17px; margin: 14px 0 6px; }
.km-frage p { line-height: 1.65; }
.km-spannung { max-width: 60em; }
.km-seiten { margin: 10px 0; }
.km-gespraech { margin: 18px 0 14px; padding: 16px 20px; border-radius: var(--radius-card); background: var(--c-tint); }
.km-gespraech > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; }
.km-gespraech > summary::-webkit-details-marker { display: none; }
.km-gespraech > summary .chev { margin-left: auto; }
.km-gespraech ol { margin: 10px 0 0; }
@media (max-width: 860px) { .km-kopf3, .km-zwei { grid-template-columns: minmax(0, 1fr); } }

/* Acht Bereiche (mit „Kommentar“, Plan 17.11.): erst ab 1150 px in der Kopfzeile, darunter im Menü */
@media (min-width: 1000px) and (max-width: 1149px) {
  .site-header:has(.site-nav.nav-8) .site-nav { display: none; }
  .site-header:has(.site-nav.nav-8) .nav-burger { display: block; }
}
@media (min-width: 1150px) and (max-width: 1399px) { .site-nav.nav-8 a { padding: 0 8px; } }
/* acht Bereiche (seit Kommentar auch englisch, 18.11.): Schriftzug neben dem Logo bis 1399 px nur für Screenreader, sonst läuft die Kopfzeile über */
@media (min-width: 1150px) and (max-width: 1399px) { .site-header:has(.site-nav.nav-8) .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* Kommentar, Feedback 18.11.: je Abschnitt eine Box (Stelle, Überschrift, drei Kopf-Boxen sichtbar, Rest aufklappbar);
   keine seitlichen Randlinien an Boxen; Fragen zweispaltig im Textfluss; Gespräch als offene Box */
.km-abschnitt { margin: 26px 0; padding: 22px 24px 8px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); scroll-margin-top: 84px; }
.km-stelle { margin: 0 0 2px; color: var(--c-link); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.km-abschnitt h2 { font-size: 26px; margin: 0 0 4px; }
.km-abschnitt .km-worum { background: var(--c-bg); box-shadow: none; }
.km-mehr { margin: 4px 0 14px; }
.km-mehr > summary { display: flex; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; color: var(--c-link); font-weight: 700; list-style: none; }
.km-mehr > summary::-webkit-details-marker { display: none; }
.km-mehr > summary:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; border-radius: 8px; }
.km-mehr .km-mehr-zu, .km-mehr[open] .km-mehr-auf { display: none; }
.km-mehr[open] .km-mehr-zu { display: inline; }
.km-fragen { margin-top: 10px; }
.km-fragen h3 { font-size: 18px; margin: 0 0 6px; }
.km-fragen .km-lang { break-inside: auto; }
.sprung-nav .sprung-vor { color: var(--c-muted); font-weight: 600; }
@media (max-width: 600px) { .km-abschnitt { padding: 18px 14px 6px; } .km-abschnitt h2 { font-size: 22px; } }

/* Kommentar-Übersicht (18.11.): Bücher ohne Kommentar milchig, ohne Link; Schrift bleibt lesbar (Kontrast) */
.book-card.km-folgt { background: var(--c-tint); box-shadow: none; cursor: default; }
.book-card.km-folgt img { opacity: 0.35; filter: saturate(0.4); }
.book-card.km-folgt .bc-name { color: var(--c-muted); }
.book-card.km-folgt .bc-meta > span:last-child { font-style: italic; }

/* Kommentar (18.11.): Einführungstext oben; Link zum Kommentar auf der Buchseite */
.km-einfuehrung { margin: 6px 0 14px; }
.km-buchlink { margin: 0 0 16px; }

/* Kontrast (Lighthouse 18.11.): Labels der hellen Kommentar-Boxen in Lila statt Grau */
.km-box:not(.gospel-card) .label, .km-wissen .label { color: var(--c-link); }

/* Urtext beim Lesen, Paket 1 (18.11.): gleiches Grundwort im Kapitel, Strong-Nummern einblendbar, Links im Kärtchen */
.term.is-urtext.ur-gleich { background: color-mix(in srgb, var(--c-gold) 28%, transparent); border-radius: 4px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-gold) 28%, transparent); }
.zeige-strong .term.is-urtext[data-n]::after { content: attr(data-n); font-family: var(--font-ui); font-size: .5em; font-weight: 600; vertical-align: super; margin-left: 1px; color: var(--c-muted); letter-spacing: 0; }
.erkl-row.erkl-sub { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--c-line); }
.term-pop .term-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; }
.term-pop .ur-andere, .term-pop .ur-kapitel { font-size: 13.5px; }

/* Ring-Diagramme (Wortseiten, Wortsuche – Pakete 2/3, 18.11.): feste Farbreihenfolge, geprüft für hell und dunkel (dataviz-Validator) */
:root { --rs1: #7B52C7; --rs2: #E39A12; --rs3: #1BAF7A; --rs4: #2A78D6; --rs5: #E87BA4; --rs6: #008300; --rs-rest: #B9B3C4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rs1: #9A77E0; --rs2: #C98500; --rs3: #199E70; --rs4: #3987E5; --rs5: #D55181; --rs6: #0CA30C; --rs-rest: #5E5570; } }
:root[data-theme="dark"] { --rs1: #9A77E0; --rs2: #C98500; --rs3: #199E70; --rs4: #3987E5; --rs5: #D55181; --rs6: #0CA30C; --rs-rest: #5E5570; }
.ring-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 8px 0 4px; }
.ring { flex: 0 0 auto; }
.ring path, .ring circle { stroke: var(--c-card); stroke-width: 0; }
.ring .rs1 { fill: var(--rs1); } .ring .rs2 { fill: var(--rs2); } .ring .rs3 { fill: var(--rs3); } .ring .rs4 { fill: var(--rs4); } .ring .rs5 { fill: var(--rs5); } .ring .rs6 { fill: var(--rs6); } .ring .rs-rest { fill: var(--rs-rest); }
.ring g.rs1 circle { stroke: var(--rs1); } .ring g.rs-rest circle { stroke: var(--rs-rest); }
.ring [data-key] { cursor: pointer; }
.ring .is-blass { opacity: .3; }
.ring-zahl { font-family: var(--font-ui); font-size: 26px; font-weight: 700; fill: var(--c-ink); }
.ring-unter { font-family: var(--font-ui); font-size: 9.5px; fill: var(--c-muted); }
.ring-legende { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 200px; flex: 1 1 220px; }
.ring-legende li, .ring-knopf { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; font-size: 14.5px; }
.ring-knopf { width: 100%; text-align: left; background: none; border: 0; padding: 3px 6px; margin: 0 -6px; border-radius: 8px; color: inherit; font: inherit; cursor: pointer; }
.ring-knopf:hover, .ring-knopf:focus-visible { background: var(--c-tint); }
.ring-knopf.is-aktiv { background: var(--c-tint); font-weight: 700; }
.ring-farbe { width: 14px; height: 14px; border-radius: 4px; background: var(--rs-rest); }
.ring-farbe.rs1 { background: var(--rs1); } .ring-farbe.rs2 { background: var(--rs2); } .ring-farbe.rs3 { background: var(--rs3); } .ring-farbe.rs4 { background: var(--rs4); } .ring-farbe.rs5 { background: var(--rs5); } .ring-farbe.rs6 { background: var(--rs6); }
.ring-n { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.ring-auswahl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 6px; }
.ring-auswahl label { color: var(--c-muted); font-weight: 600; }
.ring-auswahl select { min-height: 36px; padding: 6px 34px 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-card) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%236B2E86%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--c-ink); font: inherit; font-size: 14px; font-weight: 600; appearance: none; -webkit-appearance: none; max-width: 100%; cursor: pointer; }
.ring-auswahl select:hover { border-color: var(--c-ctrl, #6B2E86); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ring-auswahl select { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%23C9A3E0%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] .ring-auswahl select { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%23C9A3E0%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"); }
.ring-auswahl select:focus-visible { outline: 2px solid var(--c-ctrl, #6B2E86); outline-offset: 2px; }
.wv-verse { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
.wv-verse a { font-family: var(--font-ui); font-size: 14px; font-weight: 700; margin-right: 6px; }
.wv-strong { font-family: var(--font-ui); font-size: .55em; font-weight: 600; color: var(--c-muted); margin-left: 1px; }
.wv-mehr { margin: 10px 0 0; }
.ws-ringe { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 28px; margin: 14px 0 0; }
.ws-buecher { margin: 18px 0 0; }
.ws-strong { font-variant-numeric: tabular-nums; margin-right: 4px; }
.an-woerter .ws-mal { white-space: nowrap; }

/* Urtext Wort für Wort unter dem Vers (Paket 4, 18.11.): kleine Karten je Wort, Hebräisch von rechts nach links */
.ur-zeile { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; padding: 10px 12px; background: var(--c-tint); border-radius: 14px; font-family: var(--font-ui); text-indent: 0; }
.ur-wort { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; min-width: 44px; padding: 4px 8px; border: 0; border-radius: 10px; background: var(--c-card); color: var(--c-ink); cursor: pointer; font: inherit; line-height: 1.25; }
.ur-wort:hover, .ur-wort:focus-visible, .ur-wort.is-on { box-shadow: 0 0 0 2px var(--c-gold); }
.ur-wort .ur { font-size: 19px; }
.ur-wort .ur-tr { font-size: 11.5px; color: var(--c-muted); font-style: italic; }
.ur-wort .ur-gl { font-size: 12.5px; }
.ur-zeile .ur-info { flex: 1 1 100%; margin: 4px 2px 0; line-height: 1.45; }
.ur-zeile .ur-quelle { flex: 1 1 100%; margin: 2px; }

/* Suchvorschläge beim Tippen (Paket 5, 18.11.) */
.suche-form { position: relative; }
.suche-vorschlaege { position: absolute; z-index: 30; left: 0; right: 0; top: 52px; max-width: 560px; margin: 0; padding: 6px; list-style: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(23, 19, 32, .14); }
.suche-vorschlaege li { display: flex; align-items: center; gap: 6px; border-radius: 10px; }
.suche-vorschlaege li[aria-selected="true"], .suche-vorschlaege li:hover { background: var(--c-tint); }
.suche-vorschlaege button { background: none; border: 0; font: inherit; color: var(--c-ink); cursor: pointer; padding: 7px 10px; text-align: left; border-radius: 10px; }
.suche-vorschlaege .sv-wort { flex: 1 1 auto; }
.suche-vorschlaege .sv-ur { flex: 0 0 auto; font-size: 14px; }
.suche-vorschlaege .sv-ur:hover, .suche-vorschlaege .sv-ur:focus-visible { box-shadow: 0 0 0 2px var(--c-gold) inset; }
.wort-bedeutung .wb-text { font-family: var(--font-text); font-size: 18px; line-height: 1.6; margin: 0 0 8px; }

/* Mini-Balken in der Wortkarte (18.11.): drei häufigste Wiedergaben der gelesenen Übersetzung */
.ur-wg-titel { margin-bottom: 2px; }
.ur-wg-liste { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 3px; font-size: 13.5px; }
.ur-wg-liste li { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; align-items: center; gap: 8px; }
.ur-wg-wort { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ur-wg-bar { height: 8px; background: var(--c-tint); border-radius: 99px; overflow: hidden; }
.ur-wg-bar i { display: block; height: 100%; width: 0; background: var(--rs1); border-radius: 99px; }
.ur-wg-n { color: var(--c-muted); font-variant-numeric: tabular-nums; }

/* Linkquellen auf „Daten und Lizenzen“ (18.11.) */
.lk-liste { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lk-liste li { background: var(--c-card); border-radius: 18px; padding: 14px 16px; }
.lk-liste p { margin: 0 0 4px; }

/* Linkblöcke auf Buch- und Kommentarseiten (18.11.): Kacheln, Badges für Art (mit Symbol) und Sprache farblich getrennt */
:root { --lk-art-bg: #EFE6F5; --lk-art-fg: #4A2060; --lk-sp-bg: #FBF1D6; --lk-sp-fg: #6B5310; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lk-art-bg: #3A2C50; --lk-art-fg: #E3D4F0; --lk-sp-bg: #3D3418; --lk-sp-fg: #F0D98E; } }
:root[data-theme="dark"] { --lk-art-bg: #3A2C50; --lk-art-fg: #E3D4F0; --lk-sp-bg: #3D3418; --lk-sp-fg: #F0D98E; }
.lk-block { margin: 22px 0; }
.lk-block h2 { margin: 2px 0 6px; }
.lk-lead { margin: 0 0 12px; font-size: 17px; }
.lk-hinweis { margin: 0 0 12px; font-size: 14px; color: var(--c-muted); }
.lk-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.lk-kacheln.lk-eng { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lk-kachel { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--c-bg); border-radius: 18px; }
.lk-kachel h3 { margin: 0; font-size: 18px; }
.lk-kachel p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.lk-kachel.lk-kompakt { padding: 14px 16px; }
.lk-kachel.lk-kompakt h3 { font-size: 16.5px; }
.lk-wer, .lk-richtung { color: var(--c-muted); font-size: 13.5px !important; }
.lk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.lk-chip-art { background: var(--lk-art-bg); color: var(--lk-art-fg); }
.lk-chip-sprache { background: var(--lk-sp-bg); color: var(--lk-sp-fg); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.lk-ico { flex: 0 0 auto; }
.lk-ziel { margin-top: auto !important; padding-top: 4px; font-weight: 700; font-size: 14.5px; }
.lk-eigen { display: grid; gap: 2px; margin: 0 0 14px; padding: 14px 18px; background: var(--c-tint); border-radius: 18px; color: inherit; text-decoration: none; }
.lk-eigen b { font-size: 18px; }
.lk-eigen:hover, .lk-eigen:focus-visible { box-shadow: 0 0 0 2px var(--c-gold); }
.lk-kriterien, .lk-weiter { margin: 16px 0 0; }

/* acht Bereiche auch bei 1400–1599 px (Feedback 18.11., Buchseite Maleachi): Schriftzug nur für Screenreader, Sprachlink kurz, Menüpunkte enger */
@media (min-width: 1400px) and (max-width: 1599px) { .site-header:has(.site-nav.nav-8) .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .site-header:has(.site-nav.nav-8) .lang-link .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .site-header:has(.site-nav.nav-8) .lang-link .short { display: inline; } .site-nav.nav-8 a { padding: 0 11px; } }
.term-pop .term-more + .term-more { margin-left: 14px; }

/* Kommentar je Kapitel (19.11.2026): Kapitelkarten auf der Übersicht, Kapitelnavigation, Box auf der Bibelseite */
.km-kap-h { margin: 28px 0 10px; }
.km-kapliste { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.km-kapkarte { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); color: var(--c-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.km-kapkarte:hover { transform: translateY(-2px); }
.km-kap-abschnitt { font-size: 14.5px; line-height: 1.45; }
.km-kap-mehr { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--c-link); }
.km-kapnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0; }
.km-kapnav .pill { min-width: 40px; justify-content: center; }
.km-zumtext { margin: 10px 0 0; }
.km-box-liste { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .km-kapkarte { transition: none; } }
.stammbaum + .neue-info { margin-top: -8px; }

/* Predigten-Schicht (C5): Kacheln wie die Videokarten, typografisch statt mit Fremdbild; am Handy waagrecht wischbar */
.predigt-reihe .pk-list { margin-top: 4px; }
.pk-list { list-style: none; margin: 10px 0 6px; padding: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pk-link { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; background: var(--c-card); color: var(--c-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(28, 16, 40, 0.06), 0 8px 22px -16px rgba(28, 16, 40, 0.4); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.pk-link:hover, .pk-link:focus-visible { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(28, 16, 40, 0.08), 0 14px 28px -16px rgba(28, 16, 40, 0.5); }
.pk-top { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 12px; background: var(--c-time); color: #F7F1E4; }
.pk-quelle { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-on-purple); }
.pk-lang { margin-left: 4px; padding: 1px 6px; border-radius: 99px; border: 1px solid currentColor; font-size: 9px; }
.pk-stelle { white-space: nowrap; font-family: var(--font-text); font-size: 22px; font-weight: 600; line-height: 1.1; min-height: 1.1em; }
.pk-play { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 3px 12px 3px 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 700; }
.pk-btn { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c-gold); color: var(--c-time); font-size: 9px; padding-left: 2px; }
.pk-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 14px; }
.pk-titel { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pk-meta { font-size: 12px; color: var(--c-muted); }
.pk-fit { align-self: flex-start; margin-top: 4px; padding: 2px 9px; border-radius: 99px; background: var(--c-tint); color: var(--c-control); font-size: 11px; font-weight: 700; }
@media (max-width: 720px) {
  .pk-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; }
  .pk { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .pk-link { transition: none; } .pk-link:hover { transform: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pk-link { background: var(--c-card); } }
/* Rubrik Predigten: Suchformular */
.pr-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 8px 0 14px; }
.pr-f { display: flex; flex-direction: column; gap: 5px; }
.pr-f select, .pr-f input { min-height: 40px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font: inherit; font-size: 15px; }
.pr-f select:focus-visible, .pr-f input:focus-visible { outline: 2px solid var(--c-control); outline-offset: 2px; }
.pr-list li { margin-bottom: 6px; }
.pr-go { align-self: end; min-height: 40px; }
.pr-quellen h3 { margin-top: 26px; }
.pr-kriterien { padding-left: 1.2em; }
.pr-kriterien li { margin: 4px 0; }
.pr-quellen-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pr-quellen-liste li { background: var(--c-card); border-radius: 20px; padding: 14px 16px; }
.pr-quellen-liste .pr-q-kopf { margin: 0 0 4px; }
.pr-quellen-liste .small { margin: 0; color: var(--c-muted); }

/* Interpretationsleiste im Kapitel (23.11.): Reiter wie im Kontextpanel, Inhalte darunter; ohne JavaScript über Radio-Knöpfe */
.interp { margin: 14px 0 20px; font-family: var(--font-ui); }
.ip-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ip-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ip-tabs::-webkit-scrollbar { display: none; }
.ip-tabs .pill-sm { flex: 0 0 auto; min-height: 38px; padding: 0 14px; font-size: 13px; background: var(--c-tint); border-color: transparent; color: var(--c-link); white-space: nowrap; cursor: pointer; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.ip-tabs .pill-sm:hover { background: var(--c-line); }
.ip-tabs .ip-zu { display: none; background: var(--c-header); color: #FFFFFF; font-weight: 700; }
.ip-tabs .ip-zu:hover { background: var(--c-header); }
:root[data-theme='dark'] .ip-tabs .ip-zu { background: var(--c-control); color: var(--c-control-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .ip-tabs .ip-zu { background: var(--c-control); color: var(--c-control-ink); } }
.ip-panel { display: none; margin-top: 10px; padding: 14px 18px 12px; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.ip-panel .ip-titel { margin: 0 0 6px; }
.ip-panel .ch-glance-body { margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .ip-panel { animation: ip-ein 0.22s var(--ease); } }
@keyframes ip-ein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
#ip-blick:checked ~ .ip-tabs .ip-auf.ip-l-blick { display: none; }
#ip-blick:checked ~ .ip-tabs .ip-zu.ip-l-blick { display: inline-flex; }
#ip-blick:checked ~ .ip-p-blick { display: block; }
#ip-blick:focus-visible ~ .ip-tabs .ip-l-blick { outline: 2px solid var(--c-link); outline-offset: 2px; }
#ip-kommentar:checked ~ .ip-tabs .ip-auf.ip-l-kommentar { display: none; }
#ip-kommentar:checked ~ .ip-tabs .ip-zu.ip-l-kommentar { display: inline-flex; }
#ip-kommentar:checked ~ .ip-p-kommentar { display: block; }
#ip-kommentar:focus-visible ~ .ip-tabs .ip-l-kommentar { outline: 2px solid var(--c-link); outline-offset: 2px; }
#ip-predigten:checked ~ .ip-tabs .ip-auf.ip-l-predigten { display: none; }
#ip-predigten:checked ~ .ip-tabs .ip-zu.ip-l-predigten { display: inline-flex; }
#ip-predigten:checked ~ .ip-p-predigten { display: block; }
#ip-predigten:focus-visible ~ .ip-tabs .ip-l-predigten { outline: 2px solid var(--c-link); outline-offset: 2px; }
#ip-musik:checked ~ .ip-tabs .ip-auf.ip-l-musik { display: none; }
#ip-musik:checked ~ .ip-tabs .ip-zu.ip-l-musik { display: inline-flex; }
#ip-musik:checked ~ .ip-p-musik { display: block; }
#ip-musik:focus-visible ~ .ip-tabs .ip-l-musik { outline: 2px solid var(--c-link); outline-offset: 2px; }
#ip-kunst:checked ~ .ip-tabs .ip-auf.ip-l-kunst { display: none; }
#ip-kunst:checked ~ .ip-tabs .ip-zu.ip-l-kunst { display: inline-flex; }
#ip-kunst:checked ~ .ip-p-kunst { display: block; }
#ip-kunst:focus-visible ~ .ip-tabs .ip-l-kunst { outline: 2px solid var(--c-link); outline-offset: 2px; }
#ip-zu:focus-visible ~ .ip-tabs .ip-zu { outline: 2px solid var(--c-link); outline-offset: 2px; }
/* Menü „Zur NeÜ“ im Kapitelkopf: Vorwort und Einleitung zum Aufklappen */
.neue-pop { width: min(560px, 90vw); max-height: 70vh; overflow: auto; display: grid; gap: 8px; }
.neue-pop details { padding: 8px 12px; border-radius: 14px; background: var(--c-tint); }
.neue-pop summary { cursor: pointer; font-weight: 700; font-size: 14px; }

/* Leseleiste am Handy (23.11.): fest unten, Pfeile und Kapitelwahl; ab 900 px übernehmen Buchnavigation und Kapitelpfeile */
.lese-leiste { display: none; }
@media (max-width: 899px) {
  .lese-leiste { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--c-header); color: #FFFFFF; box-shadow: var(--shadow-float); font-family: var(--font-ui); }
  main:has(.lese-leiste) { padding-bottom: 84px; }
  .ll-pfeil { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #FFFFFF; }
  a.ll-pfeil:hover, a.ll-pfeil:focus-visible { background: rgba(255, 255, 255, 0.14); }
  .ll-wahl { flex: 1 1 auto; position: static; }
  .ll-wahl > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-weight: 700; font-size: 15px; cursor: pointer; }
  .ll-wahl > summary::-webkit-details-marker { display: none; }
  .ll-wahl[open] > summary svg { transform: rotate(180deg); }
  .ll-blatt { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); max-height: min(70vh, 560px); overflow: auto; padding: 16px 16px 12px; border-radius: var(--radius-card); background: var(--c-card); color: var(--c-ink); box-shadow: var(--shadow-float); }
  .ll-blatt .label { margin: 14px 0 8px; }
  .ll-buch { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-size: 20px; font-weight: 800; }
  .ll-buch a { color: inherit; text-decoration: none; }
  .ll-buch .ll-alle { font-size: 13px; font-weight: 600; color: var(--c-link); }
  .ll-blatt .section-links { margin: 0; }
  @media (prefers-reduced-motion: no-preference) { .ll-wahl[open] .ll-blatt { animation: ip-ein 0.2s var(--ease); } }
}
@media print { .lese-leiste { display: none !important; } }

/* „Wie die Texte entstehen“ (23.11.) */
.tx-kurz { margin: 18px 0 8px; padding: 16px 20px; border-radius: var(--radius-card); background: var(--c-tint); }
.tx-kurz .label { margin: 0 0 8px; color: var(--c-link); }
.tx-kurz ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.tx-block { margin-top: 34px; }
.tx-liste { padding-left: 1.2em; display: grid; gap: 6px; }
.tx-tabelle-rahmen { overflow-x: auto; margin: 12px 0; border-radius: var(--radius-card); background: var(--c-card); box-shadow: var(--shadow-card); }
.tx-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.tx-tabelle th, .tx-tabelle td { padding: 10px 14px; text-align: left; vertical-align: top; }
.tx-tabelle thead th { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); background: var(--c-tint); }
.tx-tabelle tbody tr + tr th, .tx-tabelle tbody tr + tr td { border-top: 1px solid var(--c-line); }
.tx-tabelle tbody th { font-weight: 700; }
.tx-schritte h3 { margin: 0 0 4px; font-size: 16px; }
.tx-schritte p { margin: 0; }

#ip-buch:checked ~ .ip-tabs .ip-auf.ip-l-buch { display: none; }
#ip-buch:checked ~ .ip-tabs .ip-zu.ip-l-buch { display: inline-flex; }
#ip-buch:checked ~ .ip-p-buch { display: block; }
#ip-buch:focus-visible ~ .ip-tabs .ip-l-buch { outline: 2px solid var(--c-link); outline-offset: 2px; }
.ip-panel .ip-unter { margin: 16px 0 6px; }
.ip-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ip-links a { font-weight: 600; }
.ip-panel .chip-links { margin: 8px 0 0; }

/* eigene Kommentarabschnitte als Karten im Reiter „Kommentar“ (23.11.) */
.km-box-karten { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 300px)); gap: 10px; }
.km-box-karte { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 18px; background: var(--c-header); color: #FFFFFF; text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.km-box-karte .label { color: var(--c-gold-on-purple); margin: 0; }
.km-box-karte b { font-size: 17px; line-height: 1.3; }
.km-box-karte .small { color: rgba(255, 255, 255, 0.86); line-height: 1.45; }
.km-box-cta { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 13.5px; color: var(--c-gold-on-purple); }
.km-box-karte:hover, .km-box-karte:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-float); }


/* Sprach-Badge (23.11.): Deutsch/Englisch gut sichtbar */
.sp-badge { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 2px 9px; border-radius: 999px; font-family: var(--font-ui); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; color: #2B1440; }
.sp-de { background: #E3C464; }
.sp-en { background: #D9C2EC; }
.pk-top { position: relative; }
.pk-top .sp-badge { position: absolute; top: 12px; right: 12px; }
.pk-top .pk-quelle { padding-right: 76px; }

/* Linkkarten in der Interpretationsleiste (23.11., zweite Runde) */
.ip-karten { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .ip-karten.ip-zwei { grid-template-columns: 1fr 1fr; } }
.ip-karte { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 9px 12px; border-radius: 16px; background: var(--c-tint); color: var(--c-ink); text-decoration: none; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.ip-karte:hover, .ip-karte:focus-visible { background: var(--c-line); transform: translateY(-1px); }
.ip-k-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ip-k-kopf b { color: var(--c-link); font-size: 15px; }
.ip-k-badges { display: inline-flex; gap: 4px; }
.ip-k-art { font-size: 12px; font-weight: 600; color: var(--c-muted); }
.ip-k-text { font-size: 13px; line-height: 1.4; }
/* „Zum Buch“: Einführung mit Buchbild und Buchvideo als Kachel */
.ip-buch { margin-bottom: 4px; }
.ip-buch > .label:first-child { margin: 0 0 8px; }
.ip-teaser { display: grid; gap: 12px; }
@media (min-width: 640px) { .ip-teaser { grid-template-columns: 1.6fr 1fr; } .ip-teaser.ip-eins { grid-template-columns: 1fr; } }
.ip-t-einf { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 4px; padding: 12px; border-radius: 20px; background: var(--c-header); color: #FFFFFF; text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.ip-t-einf img { display: block; width: 200px; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
@media (max-width: 420px) { .ip-t-einf { grid-template-columns: 96px 1fr; } .ip-t-einf img { width: 96px; } }
.ip-t-body { display: flex; flex-direction: column; gap: 4px; padding: 2px 6px 2px 12px; }
.ip-t-body .label { color: var(--c-gold-on-purple); margin: 0; }
.ip-t-body b { font-size: 18px; }
.ip-t-body .small { color: rgba(255, 255, 255, 0.86); line-height: 1.45; }
.ip-t-einf:hover, .ip-t-einf:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.ip-t-video .pk-stelle { font-size: 20px; }
.ip-p-blick .ip-titel.ip-unter { margin-top: 18px; }
.ip-hoeren { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--c-line); }
/* eigene Kommentarkarte mit Kapitelbild */
.km-box-karte.mit-bild { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.km-box-karte.mit-bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.km-k-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.km-box-karte:not(.mit-bild) .km-k-text { padding: 0; }
/* Predigten-Rubrik: farbige Quellenkarten */
.pr-quellen-liste li { padding: 0; overflow: hidden; background: var(--c-card); box-shadow: var(--shadow-card); }
.pr-quellen-liste .pr-q-kopf { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 14px 16px 12px; background: var(--c-time); color: #F7F1E4; }
.pr-quellen-liste .pr-q-kopf b { font-size: 16px; line-height: 1.3; }
.pr-quellen-liste .pr-q-kopf .pk-quelle { padding-right: 70px; }
.pr-quellen-liste .pr-q-kopf .sp-badge { position: absolute; top: 12px; right: 12px; }
.pr-quellen-liste .small { padding: 12px 16px 14px; }
.pr-quellen .text-spalten h3 { margin-top: 0; }
/* Methodik-Seite: Spalten und Abläufe */
@media (min-width: 1000px) { .tx-spalten .tx-liste { column-count: 2; column-gap: 40px; display: block; } .tx-spalten .tx-liste li { break-inside: avoid; margin-bottom: 8px; } .tx-spalten > p + p { margin-top: 0; } }
.tx-ablauf { margin-top: 10px; }
.tx-ablauf .acc-body .tx-schritte { margin: 6px 0 4px; }
/* Kapitelkarten der Kommentar-Übersicht mit Kapitelbild (Pilot Maleachi, 23.11.) */
.km-kapkarte.mit-bild { padding-top: 0; overflow: hidden; }
.km-kapkarte.mit-bild img { width: calc(100% + 36px); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 -18px 6px; }

/* „Weitere Bibelwerkzeuge“ auf lizenzierten Leseseiten (23.11.) */

.werkzeuge-pop { width: min(420px, 90vw); }
.werkzeuge-pop .label { margin: 0 0 6px; }
.werkzeuge-liste { margin: 0 0 10px; padding-left: 1.1em; display: grid; gap: 4px; }
.werkzeuge-pop .chip-links { margin: 10px 0 0; }

/* Quellenkarten der Predigten-Rubrik: Kopf mit Platz für zwei Zeilen, damit alle Karten gleich hoch sind (23.11.) */
.pr-quellen-liste .pr-q-kopf b { min-height: 2.6em; }
.pr-quellen-liste li { display: flex; flex-direction: column; }

/* Predigtkacheln ohne den Rahmen der älteren .pk-Regel; „Neueste Predigten“ in einer gemeinsamen Box (23.11.) */
.pk-list > .pk { background: none; border: 0; padding: 0; }
.pr-neu { padding: 16px; }
.pr-neu .pk-list { margin: 0; }
/* Teaser je nach Breite des Reiters: schmal untereinander, sehr schmal mit kleinerem Bild (23.11.) */
.ip-panel { container-type: inline-size; }
@container (max-width: 600px) { .ip-teaser { grid-template-columns: 1fr; } }
@container (max-width: 400px) { .ip-t-einf { grid-template-columns: 120px 1fr; } .ip-t-einf img { width: 120px; } }

/* Aufklappmenüs im Kapitelkopf (Meine Notizen, Erklärungen) immer lesbar (24.11.2026): Kopf liegt über dem folgenden Inhalt;
   am Handy hängt das Menü an der vollen Breite des Kopfs statt am Knopf, damit es nie über den Rand ragt */
/* unter der Kopfzeile (30), aber über der Kontextleiste (20) – sonst schiebt sich der Kapitelkopf beim Scrollen über die Navigation (24.11.2026) */
.chapter-head { position: relative; z-index: 25; }
@media (max-width: 640px) {
  .chapter-head .notes-info { position: static; }
  .chapter-head .notes-pop, .chapter-head .erkl-tools .erkl-pop { left: 0; right: 0; width: auto; min-width: 0; max-height: 70vh; overflow-y: auto; }
}
/* Ort-Reiter (24.11.2026): Fotos ohne getönten Rand unten (Kachel nimmt die Bildhöhe an), Abstände der neuen Reihenfolge */
.pm-strip-row a.bild-thumb { aspect-ratio: auto; background: none; }
.pm-strip { margin-top: 14px; }
.card > .legend { margin-top: 10px; }
.map-notes .map-credit { margin: 6px 0 0; }
/* Verweise (24.11.2026): Erklärung je Ansicht, Legende der Zeitfäden mit Luft zwischen und über den Einträgen */
.refs-explain { margin: 8px 0 4px; font-size: 13px; color: var(--c-muted); }
.refs-explain summary { cursor: pointer; color: var(--c-link); font-weight: 600; }
.refs-explain p { margin: 6px 0 0; line-height: 1.5; }
.threads-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 16px 0 0; }
.threads-legend > span { display: inline-flex; align-items: center; gap: 5px; }
/* Offenes Menü im Kopf (Burger, Übersetzung): die Leseleiste unten weicht, damit sie nichts verdeckt (24.11.2026) */
body:has(header .nav-burger[open], header details.menu[open]) .lese-leiste { display: none !important; }

/* ==== Predigten nach Thema, Anlass, Person, Abschnitt, Art (24.11.2026) – Block von predigten-themen ==== */
.pr-reset { background: var(--c-tint); color: var(--c-link); border-color: transparent; }
.pr-links { margin: 0 0 10px; }
.pr-facet-note { margin: 14px 0 0; }
.pr-th { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 99px; background: var(--c-tint); color: var(--c-control); font-size: 11px; font-weight: 700; }
.pr-sw { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--c-tint); color: var(--c-control); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 1px; }
.pr-sw-note { padding: 12px 16px; border-radius: 20px; background: var(--c-tint); }
.pr-alle { font-weight: 700; }
.pr-gruppe .chip-links { margin-top: 6px; }
@media (max-width: 720px) {
  .pk-list.pr-thema-list { display: grid; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; }
  .pr-thema-list .pk { flex: none; }
}
:root[data-theme='dark'] .pr-th, :root[data-theme='dark'] .pr-sw { color: var(--c-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .pr-th, :root:not([data-theme='light']) .pr-sw { color: var(--c-ink); } }
/* ==== Ende Block predigten-themen ==== */

/* AT im NT (Nutzer 24.11.2026): Eckfeld oben links ohne Tönung; auf breiten Bildschirmen volle Breite und etwas größere Zahlen */
.an-heat thead td { background: none; border: 0; }
@media (min-width: 1100px) {
  .an-heat { width: 100%; font-size: 12.5px; }
  .an-heat td { height: 27px; }
  .an-heat th { font-size: 12px; }
}
