/* =========================================================================
   Frysk Stambeam - Verhalen
   Zelfde kleuren als de app (diepzwart, leisteen, goud), ingericht als
   rustige long-read: serif-tekst, ruime regelafstand, geen puur wit op zwart.
   ========================================================================= */

:root {
  --bg: oklch(0.155 0.012 265);
  --bg-diep: oklch(0.125 0.01 265);
  --card: oklch(0.215 0.022 264);
  --card-2: oklch(0.185 0.02 264);
  --fg: oklch(0.97 0.004 250);
  --tekst: oklch(0.885 0.012 85);          /* warm gebroken wit voor lange tekst */
  --muted: oklch(0.72 0.02 260);
  --border: oklch(1 0 0 / 10%);
  --border-goud: oklch(0.78 0.12 92 / 30%);
  --gold: oklch(0.78 0.12 92);
  --gold-light: oklch(0.86 0.10 92);
  --gold-dark: oklch(0.58 0.10 88);
  --info: oklch(0.71 0.14 258);
  --rose: oklch(0.75 0.15 350);
  --groen: oklch(0.72 0.15 162);
  --radius: 0.75rem;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --fs: 1.2rem;
  --kolom: 42rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../../assets/images/achtergrond.jpg") center / cover;
  opacity: 0.10;
  pointer-events: none;
}
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
a { color: var(--gold-light); }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -999px; top: 0.75rem; z-index: 100; background: var(--gold); color: var(--bg); padding: 0.5rem 0.75rem; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 0.75rem; }

/* ---------------------------------------------------------------- kop (gelijk aan de app) */

.kop {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--card) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.kop-binnen { max-width: 1800px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 0.6rem 1.25rem; }
.merk { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.merk img { width: 36px; height: 36px; border-radius: 0.5rem; border: 1px solid var(--border-goud); background: oklch(0.155 0.012 265 / 40%); padding: 2px; object-fit: contain; }
.merk-naam { display: block; font-weight: 600; letter-spacing: 0.02em; font-size: 1rem; line-height: 1.2; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.merk-sub { display: block; font-size: 0.7rem; color: var(--muted); }
.hoofdnav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.hoofdnav a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem; border-radius: 0.4rem; color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: background 0.15s, color 0.15s; }
.hoofdnav a:hover { background: oklch(0.30 0.03 264); color: var(--fg); }
.hoofdnav a.actief { background: oklch(0.78 0.12 92 / 15%); color: var(--gold-light); }
@media (max-width: 720px) {
  .hoofdnav a span { display: none; }
  .hoofdnav a.actief span { display: inline; }
  .kop-binnen { padding: 0.5rem 1rem; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 1rem clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--held, none) center 35% / cover no-repeat;
  opacity: 0.38;
  filter: sepia(0.35) saturate(0.8);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, oklch(0.155 0.012 265 / 55%) 55%, var(--bg) 100%),
    linear-gradient(to bottom, oklch(0.155 0.012 265 / 30%), var(--bg));
}
.hero-binnen { max-width: 52rem; margin: 0 auto; }
.kruimel { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.kruimel a { color: var(--muted); text-decoration: none; }
.kruimel a:hover { color: var(--gold-light); }
.hero-label { margin: 0 0 1rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.hero-onder { margin: 1.25rem auto 0; max-width: 40rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.5; color: var(--tekst); text-wrap: balance; }
.hero-meta { margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.hero-klein { padding-top: 3.5rem; padding-bottom: 3rem; }

/* ---------------------------------------------------------------- raster + inhoudsopgave */

.verhaal-raster {
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 3rem; padding: 3rem 1rem 5rem;
}
@media (min-width: 1100px) {
  .verhaal-raster { grid-template-columns: 15rem minmax(0, 1fr); padding-left: 2rem; padding-right: 2rem; }
}
.inhoudsopgave { font-size: 0.85rem; }
@media (min-width: 1100px) {
  .inhoudsopgave { position: sticky; top: 5.5rem; align-self: start; max-height: calc(100dvh - 7rem); overflow: auto; padding-right: 0.5rem; }
}
@media (max-width: 1099px) {
  .inhoudsopgave { border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in oklab, var(--card) 70%, transparent); padding: 1rem 1.25rem; max-width: var(--kolom); margin: 0 auto; width: 100%; }
}
.inhoudsopgave ol { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.inhoudsopgave li a { display: flex; gap: 0.6rem; padding: 0.35rem 0.5rem; border-radius: 0.4rem; color: var(--muted); text-decoration: none; line-height: 1.35; border-left: 2px solid transparent; }
.inhoudsopgave li a span { color: var(--gold-dark); font-variant-numeric: tabular-nums; font-weight: 600; }
.inhoudsopgave li a:hover { color: var(--fg); background: oklch(0.30 0.03 264 / 60%); }
.inhoudsopgave li a.actief { color: var(--gold-light); border-left-color: var(--gold); background: oklch(0.78 0.12 92 / 8%); }
.klein-kop { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lettergrootte { display: flex; gap: 0.4rem; }
.lettergrootte button { flex: 1; font: inherit; font-weight: 600; color: var(--fg); background: var(--card); border: 1px solid var(--border); border-radius: 0.4rem; padding: 0.4rem; cursor: pointer; }
.lettergrootte button:hover { border-color: var(--border-goud); color: var(--gold-light); }

/* ---------------------------------------------------------------- lopende tekst */

.tekst { min-width: 0; font-family: var(--serif); font-size: var(--fs); line-height: 1.78; color: var(--tekst); }
.tekst > * { max-width: var(--kolom); margin-left: auto; margin-right: auto; }
@media (min-width: 1100px) { .tekst > * { margin-left: 0; } .tekst > .breed, .tekst > .vol { margin-left: 0; } }
.tekst p { margin: 0 0 1.35em; hanging-punctuation: first; }
.tekst h2 {
  font-family: var(--serif); font-weight: 600; color: var(--fg);
  font-size: clamp(1.75rem, 3.5vw, 2.3rem); line-height: 1.2;
  margin-top: 3.5em; margin-bottom: 1em; padding-top: 1.5em;
  border-top: 1px solid var(--border);
  text-wrap: balance;
}
.tekst h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.hoofdstuk-nr { display: block; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 0.6rem; font-weight: 600; }
.tekst h3 { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-light); margin: 2.4em auto 0.8em; font-weight: 600; }
.tekst strong { color: var(--fg); font-weight: 600; }
.tekst em { color: var(--fg); }
.tekst a { text-decoration-color: oklch(0.78 0.12 92 / 40%); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.tekst a:hover { text-decoration-color: var(--gold); }
.tekst a.persoon { color: var(--gold-light); text-decoration: none; border-bottom: 1px dotted oklch(0.78 0.12 92 / 60%); }
.tekst a.persoon:hover { border-bottom-style: solid; background: oklch(0.78 0.12 92 / 10%); }
.tekst ul, .tekst ol { padding-left: 1.3em; margin-bottom: 1.35em; }
.tekst li { margin-bottom: 0.45em; }
.tekst li::marker { color: var(--gold-dark); }
.tekst hr { border: 0; text-align: center; margin: 3em auto; }
.tekst hr::after { content: "\2726  \2726  \2726"; color: var(--gold-dark); letter-spacing: 0.6em; font-size: 0.8rem; }

/* inleiding met initiaal */
.tekst .intro { font-size: 1.12em; line-height: 1.7; color: var(--fg); }
.tekst .intro::first-letter {
  float: left; font-size: 4.1em; line-height: 0.86; margin: 0.06em 0.12em 0 0;
  font-weight: 600; color: var(--gold);
  font-family: var(--serif);
}

/* citaat uit een akte */
.tekst blockquote {
  margin-block: 1.8em; padding: 0.2em 0 0.2em 1.4em;
  border-left: 2px solid var(--gold);
  font-style: italic; color: var(--fg);
}
.tekst blockquote p:last-child { margin-bottom: 0; }

/* tabellen */
.tekst table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.82em; line-height: 1.5; margin: 1.8em auto; display: block; overflow-x: auto; }
.tekst th { text-align: left; font-weight: 600; color: var(--gold-light); border-bottom: 1px solid var(--border-goud); padding: 0.6em 0.8em; white-space: nowrap; }
.tekst td { border-bottom: 1px solid var(--border); padding: 0.6em 0.8em; vertical-align: top; color: var(--tekst); }
.tekst tr:hover td { background: oklch(1 0 0 / 2.5%); }

/* ---------------------------------------------------------------- kaders */

.kader {
  font-family: var(--sans); font-size: 0.9em; line-height: 1.65;
  background: color-mix(in oklab, var(--card) 85%, transparent);
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin-block: 2em;
}
.kader p:last-child, .kader ul:last-child { margin-bottom: 0; }
.kader-titel { font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; margin-bottom: 0.6em !important; }
.kader-bewijs { border-left-color: var(--groen); }
.kader-bewijs .kader-titel { color: var(--groen); }
.kader-twijfel { border-left-color: var(--rose); }
.kader-twijfel .kader-titel { color: var(--rose); }
.kader-open { border-left-color: var(--info); }
.kader-open .kader-titel { color: var(--info); }

/* ---------------------------------------------------------------- persoonkaart */

.persoonkaart {
  font-family: var(--sans);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.5rem;
  margin-block: 2em; padding: 1rem 1.25rem;
  border: 1px solid var(--border-goud); border-radius: var(--radius);
  background: linear-gradient(135deg, oklch(0.78 0.12 92 / 9%), color-mix(in oklab, var(--card) 85%, transparent) 60%);
}
.pk-kop { display: flex; flex-direction: column; line-height: 1.3; }
.pk-label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pk-kop strong { font-family: var(--serif); font-size: 1.25rem; color: var(--fg); font-weight: 600; }
.pk-jaren { font-size: 0.85rem; color: var(--muted); }
.pk-knoppen { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.knop { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: 0.45rem; border: 1px solid var(--border); background: var(--card-2); color: var(--fg); font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.knop svg { color: var(--gold); }
.knop:hover { border-color: var(--gold); color: var(--gold-light); background: oklch(0.78 0.12 92 / 10%); }

/* ---------------------------------------------------------------- figuren en scans */

.tekst > .breed { max-width: 58rem; }
.tekst > .vol { max-width: none; }
.tekst > .smal { max-width: 30rem; }
figure { margin-block: 2.6em; margin-inline: auto; }
.tekst > figure { margin-inline: auto; }
@media (min-width: 1100px) { .tekst > figure { margin-left: 0; } }
.figuur img, .scan img { display: block; width: 100%; border-radius: 0.5rem; }
.figuur figcaption { font-family: var(--sans); font-size: 0.82rem; line-height: 1.55; color: var(--muted); margin-top: 0.8rem; max-width: var(--kolom); }
.figuur figcaption strong { color: var(--fg); font-weight: 600; }
.fig-bron { display: block; margin-top: 0.3rem; font-size: 0.75rem; opacity: 0.85; }
.figuur > svg { display: block; width: 100%; height: auto; }
.schema svg { display: block; width: 100%; height: auto; }

.scan {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: color-mix(in oklab, var(--card) 88%, transparent);
  box-shadow: 0 20px 50px -25px oklch(0 0 0 / 80%);
}
@media (min-width: 900px) { .scan { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.scan-beeld { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: oklch(0.12 0.01 265); cursor: zoom-in; overflow: hidden; }
.scan .scan-beeld img { border-radius: 0; height: auto; transition: transform 0.6s ease; }
.scan > .scan-beeld { align-self: start; }
.figuur .scan-beeld { border-radius: 0.5rem; }
.scan-beeld:hover img { transform: scale(1.025); }
.zoom-hint { position: absolute; right: 0.75rem; bottom: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: 999px; background: oklch(0.12 0.01 265 / 85%); color: var(--gold-light); font-family: var(--sans); font-size: 0.75rem; font-weight: 600; border: 1px solid var(--border-goud); backdrop-filter: blur(6px); }
.scan-tekst { padding: 1.4rem 1.5rem; font-family: var(--sans); font-size: 0.88rem; line-height: 1.6; color: var(--tekst); }
.scan-titel { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--fg); margin: 0 0 1rem; font-weight: 600; }
.scan-transcriptie blockquote { margin: 0 0 1rem; padding: 0.1em 0 0.1em 1em; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; font-style: italic; color: var(--fg); }
.scan-uitleg p { margin: 0 0 0.75em; }
.scan-bron { display: flex; gap: 0.5rem; margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }
.scan-bron svg { flex: none; color: var(--gold-dark); margin-top: 0.15rem; }

/* ---------------------------------------------------------------- kaarten (Leaflet) */

.kaart { height: clamp(320px, 55vh, 560px); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--bg-diep); }
.leaflet-container { font-family: var(--sans); background: var(--bg-diep); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--card); color: var(--fg); border: 1px solid var(--border-goud); }
.leaflet-popup-content { font-size: 0.85rem; line-height: 1.5; margin: 0.8rem 1rem; }
.leaflet-popup-content strong { color: var(--gold-light); }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-control-attribution { background: oklch(0.155 0.012 265 / 75%) !important; color: var(--muted) !important; font-size: 10px; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--card); color: var(--fg); border-color: var(--border); }
.leaflet-tooltip.kaart-label { background: transparent; border: 0; box-shadow: none; color: var(--fg); font-weight: 600; font-size: 0.78rem; text-shadow: 0 1px 3px #000, 0 0 8px #000; white-space: nowrap; }
.leaflet-tooltip.kaart-label::before { display: none; }
.kaart-stip { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); box-shadow: 0 0 0 3px oklch(0.78 0.12 92 / 35%); }
.kaart-stip.hoofd { width: 18px; height: 18px; background: var(--gold-light); box-shadow: 0 0 0 5px oklch(0.78 0.12 92 / 30%), 0 0 18px oklch(0.78 0.12 92 / 60%); }
.kaart-stip.vraag { background: var(--info); box-shadow: 0 0 0 3px oklch(0.71 0.14 258 / 35%); }

/* ---------------------------------------------------------------- slot */

.slot { margin-top: 4rem !important; padding-top: 2rem; border-top: 1px solid var(--border); font-family: var(--sans); font-size: 0.85rem; line-height: 1.6; display: grid; gap: 1.5rem; }
.citeer { background: color-mix(in oklab, var(--card) 85%, transparent); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.citeer p:last-child { margin: 0; color: var(--tekst); }
.wijzigingen ul { padding-left: 1.1em; color: var(--muted); }

/* ---------------------------------------------------------------- viewer */

.viewer { position: fixed; inset: 0; z-index: 100; background: oklch(0.08 0.01 265 / 97%); display: flex; flex-direction: column; }
.viewer[hidden] { display: none; }
.viewer-balk { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.viewer-titel { font-weight: 600; color: var(--gold-light); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-hulp { color: var(--muted); font-size: 0.75rem; }
@media (max-width: 720px) { .viewer-hulp { display: none; } }
.viewer-sluit { font-size: 1.8rem; line-height: 1; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; }
.viewer-sluit:hover { border-color: var(--gold); color: var(--gold-light); }
.viewer-vlak { flex: 1; min-height: 0; }

/* ---------------------------------------------------------------- index */

.index-lijst { max-width: 64rem; margin: 0 auto; padding: 3rem 1rem 5rem; display: grid; gap: 1.5rem; }
.verhaalkaart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; text-decoration: none; color: var(--tekst); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: color-mix(in oklab, var(--card) 88%, transparent); transition: border-color 0.2s, transform 0.2s; }
@media (min-width: 760px) { .verhaalkaart { grid-template-columns: 18rem minmax(0, 1fr); } }
.verhaalkaart:hover { border-color: var(--border-goud); transform: translateY(-2px); }
.verhaalkaart img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; filter: sepia(0.25); }
.verhaalkaart > div { padding: 1.5rem 1.75rem; }
.verhaalkaart h2 { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 0.3rem; color: var(--gold-light); font-weight: 600; }
.vk-onder { font-family: var(--serif); font-style: italic; margin: 0 0 0.9rem; color: var(--fg); }
.verhaalkaart p { line-height: 1.6; }
.vk-meta { font-size: 0.8rem; color: var(--muted); }

/* ---------------------------------------------------------------- voet */

.voet { border-top: 1px solid var(--border); background: color-mix(in oklab, var(--bg-diep) 85%, transparent); font-size: 0.8rem; color: var(--muted); }
.voet-binnen { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem; text-align: center; line-height: 1.6; }
.voet a { color: var(--muted); }
.voet a:hover { color: var(--gold-light); }

@media print {
  body::before, .kop, .inhoudsopgave, .viewer, .zoom-hint, .pk-knoppen { display: none !important; }
  body, .tekst { background: #fff; color: #111; }
  .hero h1 { color: #111; background: none; -webkit-text-fill-color: #111; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------------------------------------------------------------- schema's (inline SVG) */

.schema { background: color-mix(in oklab, var(--card) 80%, transparent); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; overflow-x: auto; }
.schema svg { min-width: 640px; }
.schema text { font-family: var(--sans); fill: var(--tekst); font-size: 13px; }
.schema .t-klein { font-size: 11px; fill: var(--muted); }
.schema .t-kop { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--gold); font-weight: 600; }
.schema .t-naam { font-family: var(--serif); font-size: 15px; fill: var(--fg); font-weight: 600; }
.schema .t-goud { fill: var(--gold-light); }
.schema .t-blauw { fill: var(--info); }
.schema .t-rood { fill: var(--rose); }
.schema .sv-as { stroke: oklch(1 0 0 / 22%); stroke-width: 1; }
.schema .sv-lijn { stroke: oklch(1 0 0 / 35%); stroke-width: 1.5; fill: none; }
.schema .sv-baan { stroke: oklch(0.78 0.12 92 / 45%); stroke-width: 2; }
.schema .sv-baan-b { stroke: oklch(0.71 0.14 258 / 50%); stroke-width: 2; }
.schema .sv-goud { stroke: var(--gold); stroke-width: 2; fill: none; }
.schema .sv-vraag { stroke: var(--info); stroke-width: 1.6; fill: none; stroke-dasharray: 5 5; }
.schema .sv-band { fill: oklch(0.71 0.14 258 / 13%); stroke: oklch(0.71 0.14 258 / 35%); stroke-dasharray: 4 4; }
.schema .sv-stip { fill: var(--gold); stroke: var(--bg); stroke-width: 2; }
.schema .sv-stip-b { fill: var(--info); stroke: var(--bg); stroke-width: 2; }
.schema .sv-stip-k { fill: oklch(0.72 0.02 260); stroke: var(--bg); stroke-width: 2; }
.schema .sv-doos { fill: var(--card); stroke: oklch(1 0 0 / 18%); stroke-width: 1; }
.schema .sv-doos-g { fill: oklch(0.78 0.12 92 / 12%); stroke: var(--gold); stroke-width: 1.5; }
.schema .sv-doos-v { fill: var(--card-2); stroke: var(--info); stroke-width: 1.3; stroke-dasharray: 5 4; }
.schema .sv-doos-k { fill: var(--card-2); stroke: oklch(1 0 0 / 12%); stroke-width: 1; }
.legenda { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.6rem 0 0; padding: 0; list-style: none; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
.legenda li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.legenda i { display: inline-block; width: 18px; height: 10px; border-radius: 3px; }
.l-goud { background: oklch(0.78 0.12 92 / 30%); border: 1.5px solid var(--gold); }
.l-vraag { border: 1.5px dashed var(--info); }
.l-grijs { background: var(--card-2); border: 1px solid oklch(1 0 0 / 20%); }
.leaflet-container img, .leaflet-container svg { max-width: none !important; }
.leaflet-container img.leaflet-tile { height: auto; }

/* ---------------------------------------------------------------- reeksen (hoofdpagina + subpagina's) */
.inhoudsopgave ol.reeks li a { color: var(--tekst); }
.inhoudsopgave ol.reeks li a.huidig { color: var(--gold-light); border-left-color: var(--gold); background: oklch(0.78 0.12 92 / 10%); font-weight: 600; }
.reeks-verder { margin: 3.5rem 0 1rem; font-family: var(--sans); }
.reekskaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.9rem; margin-top: 0.75rem; }
.reekskaart { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in oklab, var(--card) 85%, transparent); text-decoration: none; color: var(--tekst); transition: border-color 0.2s, transform 0.2s; }
.reekskaart:hover { border-color: var(--border-goud); transform: translateY(-2px); }
.reekskaart strong { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-light); font-weight: 600; line-height: 1.25; }
.rk-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rk-tekst { font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.label-bewezen, .label-waarschijnlijk, .label-hypothese { display: inline-block; font-family: var(--sans); font-size: 0.72em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.1em 0.55em; border-radius: 999px; vertical-align: 0.15em; white-space: nowrap; }
.label-bewezen { background: oklch(0.45 0.09 150 / 35%); color: oklch(0.88 0.08 150); }
.label-waarschijnlijk { background: oklch(0.55 0.10 85 / 30%); color: oklch(0.90 0.09 90); }
.label-hypothese { background: oklch(0.45 0.08 25 / 35%); color: oklch(0.86 0.07 30); }
