/* Wijnmuur Wezemaal — één stylesheet met design tokens */

:root {
  /* Kleuren: ijzerzandsteen, Wijngaardberg-groen, heide, warm papier */
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --paper-3: #e4d6c1;
  --ink: #2a1e16;
  --ink-soft: #5b4a3d;
  --rust: #8a4119;        /* ijzerzandsteen, tekst/links (6.6:1 op papier) */
  --rust-bright: #b5602c; /* alleen decoratief */
  --rust-deep: #5e2a10;
  --green: #3e5a3a;       /* Wijngaardberg */
  --heide: #7d5a8c;       /* heide in bloei, spaarzaam */
  --line: #d9cbb6;
  --night: #1f1611;

  /* Typografie: systeemfonts, geen externe downloads */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.06rem, 1rem + 0.25vw, 1.18rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5rem);

  --measure: 68ch;
  --wide: 76rem;
  --gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius: 4px;
  --shadow: 0 1px 2px rgb(42 30 22 / 0.08), 0 8px 24px rgb(42 30 22 / 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rust); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--heide); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; font-family: var(--sans); }
.skip-link:focus { top: 1rem; color: var(--paper); }

/* Labels (kleine kapitalen) */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.75rem;
}

/* Layout helpers */
.wrap { width: min(100% - 2 * var(--gap), var(--wide)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.section { padding-block: var(--section); }
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--night); color: #efe6d8; }
.section--dark a { color: #f0b48c; }
.section--dark .eyebrow { color: #e59a6b; }
.section-head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); max-width: 48rem; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.4; }
.section--dark .section-head p { color: #cdbda8; }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(247 242 234 / 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.brand:hover { color: var(--rust); }
.brand-mark { width: 1.9rem; height: 1.9rem; flex: none; }
.nav-toggle {
  display: none; font: inherit; font-size: 0.95rem; font-weight: 600;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.45rem 0.8rem; color: var(--ink); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 0.5rem 0.7rem; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--paper-2); color: var(--rust); }
.site-nav a[aria-current="page"] { color: var(--rust); box-shadow: inset 0 -2px 0 var(--rust); border-radius: 0; }
@media (max-width: 72rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; padding: 0.5rem var(--gap) 1rem; }
  .site-nav a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--paper-2); font-size: 1.05rem; }
}
@media (min-width: 72.01rem) { .site-nav[hidden] { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 54rem); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--night); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 12 8 / 0.05) 30%, rgb(20 12 8 / 0.55) 62%, rgb(20 12 8 / 0.85) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 5rem); }
.hero .eyebrow { color: #f3c6a6; }
.hero h1 { font-size: var(--step-4); max-width: 14ch; margin-bottom: 0.3em; text-shadow: 0 2px 20px rgb(0 0 0 / 0.35); }
.hero-sub { font-size: var(--step-2); font-style: italic; margin: 0 0 1.4rem; max-width: 30ch; line-height: 1.25; }
.hero-meta { font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.02em; color: #eadccb; margin: 0; }
.hero-meta strong { color: #fff; font-weight: 600; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 1.2rem; border-radius: var(--radius);
  background: var(--rust); color: #fff; text-decoration: none; border: 1px solid var(--rust);
  cursor: pointer;
}
.btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--rust); }
.btn--ghost:hover { background: var(--paper-2); color: var(--rust-deep); }
.section--dark .btn--ghost { color: #f0b48c; border-color: #8f6a52; }
.section--dark .btn--ghost:hover { background: #2e231c; color: #ffd6bb; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.ext::after { content: "↗"; font-weight: 400; }

/* ---------- Figuren en lightbox-triggers ---------- */
figure { margin: 0; }
figcaption { font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.5rem; line-height: 1.45; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; position: relative; color: inherit; }
.zoom img { width: 100%; border-radius: var(--radius); background: var(--paper-3); }
.zoom::after {
  content: ""; position: absolute; right: 0.6rem; bottom: 0.6rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: rgb(20 12 8 / 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/1.1rem no-repeat;
  opacity: 0; transition: opacity 0.2s;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }

/* Mozaïek Zomer 2025 */
.mosaic { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.mosaic .wide { grid-column: span 2; }
@media (min-width: 48rem) {
  .mosaic { grid-template-columns: repeat(4, 1fr); }
  .mosaic .wide { grid-column: span 2; }
}
.mosaic img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Filmstrook (vervangt automatische carrousels) */
.strip { position: relative; margin-top: 1.25rem; }
.strip-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 26rem); gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding-bottom: 0.75rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  list-style: none; margin: 0; padding-left: 0;
}
.strip-track > li { scroll-snap-align: start; }
.strip-track img { aspect-ratio: 3 / 2; object-fit: cover; }
.strip-track--wide { grid-auto-columns: min(85%, 34rem); }
.strip-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.5rem; font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); }
.strip-controls .arrows { display: flex; gap: 0.4rem; }
.strip-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
}
.strip-btn:hover { border-color: var(--rust); color: var(--rust); }
.strip-btn:disabled { opacity: 0.35; cursor: default; }
.section--dark .strip-btn { background: transparent; color: #efe6d8; border-color: #5a4637; }
.section--dark .strip-controls { color: #cdbda8; }

/* Video */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-caption { font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6rem; }
.section--dark .video-caption { color: #cdbda8; }

/* Erkenning (prijs) */
.award { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 56rem) { .award { grid-template-columns: 1.35fr 1fr; } }
.award blockquote { margin: 0; font-size: var(--step-1); line-height: 1.45; font-style: italic; }
.award blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: #e59a6b; font-style: normal; margin-bottom: 0.3rem; }

/* Eigenschappen: kerncijfers en kaarten */
.facts { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 52rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border-top: 3px solid var(--rust); padding-top: 1.2rem; }
.fact h3 { font-size: var(--step-1); }
.fact .figure-big { font-family: var(--serif); font-size: var(--step-3); color: var(--rust); line-height: 1; margin: 0.2rem 0 0.8rem; font-variant-numeric: lining-nums; }
.fact .figure-big--word { font-size: var(--step-2); }
.fact .figure-big small { font-size: 0.45em; color: var(--ink-soft); margin-left: 0.15em; }
.fact ul { padding-left: 1.1rem; margin: 0.5rem 0 0; }
.fact li { margin-bottom: 0.35rem; }
.todo { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--heide); border: 1px dashed var(--heide); border-radius: 99px; padding: 0.05rem 0.5rem; margin-left: 0.35rem; white-space: nowrap; }

/* 3D-weergave (laadt pas na klik) */
.viewer { margin-top: clamp(2rem, 4vw, 3.5rem); }
.viewer-stage { position: relative; aspect-ratio: 16 / 9; max-height: 650px; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: var(--shadow); }
.viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
.viewer-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer-start { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 0.8rem; text-align: center; color: #fff; padding: 1rem; }
.viewer-start p { margin: 0; font-family: var(--sans); font-size: var(--step--1); color: #f2e6d8; max-width: 34rem; }
.viewer-start .btn { font-size: 1.05rem; padding: 0.9rem 1.4rem; }
.viewer-icon { width: 3.5rem; height: 3.5rem; }

/* Restauratie-teaser */
.split { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); } }

/* Tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 56rem; }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(var(--rust), var(--green)); }
.timeline > li { position: relative; padding-left: 2.4rem; padding-bottom: 2rem; }
.timeline > li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--paper-2); border: 3px solid var(--rust);
}
.timeline > li:last-child { padding-bottom: 0; }
.tl-year { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--rust); font-variant-numeric: tabular-nums; }
.timeline h3 { margin: 0.1rem 0 0.4rem; font-size: var(--step-1); }
.timeline h3 a { color: var(--ink); text-decoration: none; }
.timeline h3 a:hover { color: var(--rust); text-decoration: underline; }
.timeline h3 a::after { content: " →"; color: var(--rust); font-family: var(--sans); font-size: 0.8em; }
.timeline p { margin: 0 0 0.4rem; color: var(--ink-soft); }
@media (min-width: 52rem) {
  .timeline::before { left: 9.45rem; }
  .timeline > li { padding-left: 12rem; }
  .timeline > li::before { left: 9rem; }
  .tl-year { position: absolute; left: 0; top: 0.2rem; width: 7.8rem; text-align: right; font-size: 1.05rem; }
}

/* Hoofdstukkaarten */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card h3 { margin: 0; font-size: var(--step-1); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--rust); }
.card p { margin: 0; font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.card .num { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--rust); text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #d9cab6; font-family: var(--sans); font-size: 0.95rem; padding-block: 3.5rem 2rem; }
.site-footer a { color: #f0b48c; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.35rem; color: #fff; margin-bottom: 0.6rem; }
.site-footer h3 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #e59a6b; margin-bottom: 0.7rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #efe6d8; border-left: 3px solid var(--rust-bright); padding-left: 1rem; margin: 1.2rem 0 0; }
.footer-bottom { border-top: 1px solid #3a2c22; margin-top: 2.5rem; padding-top: 1.2rem; font-size: 0.85rem; color: #a8957f; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgb(15 10 7 / 0.96); color: #efe6d8; }
.lightbox::backdrop { background: rgb(15 10 7 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { display: grid; place-items: center; padding: 3.5rem 3.5rem 0.5rem; min-height: 0; }
.lb-stage img { transition: opacity 0.15s; }
.lb-stage img.loading { opacity: 0.25; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lb-caption { text-align: center; font-family: var(--sans); font-size: 0.95rem; padding: 0.75rem 1rem 1.25rem; }
.lb-count { color: #a8957f; margin-left: 0.5rem; }
.lb-btn { position: absolute; background: rgb(255 255 255 / 0.08); color: #fff; border: 1px solid rgb(255 255 255 / 0.2); border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgb(255 255 255 / 0.2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) {
  .lb-stage { padding: 4rem 0.5rem 0.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 4.5rem; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .strip-controls, .viewer, .lightbox { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero::after, .hero picture { display: none; }
  .section--dark { background: none; color: var(--ink); }
}

/* ---------- Subpagina-kop ---------- */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head h1 { font-size: var(--step-4); margin: 0 0 0.3em; }
.page-head .lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 44rem; margin: 0; line-height: 1.45; }
.chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--sans); font-size: 0.9rem; }
.chips a { display: block; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--rust); color: var(--rust); }

/* ---------- Fotogalerij ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { margin-top: 0.35rem; }
.gallery-section + .gallery-section { margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.gallery-section h2 { font-size: var(--step-2); }
.gallery-section .note { font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); margin-top: -0.3rem; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.video-grid .portrait video { aspect-ratio: 16 / 9; object-fit: contain; }

/* ---------- Compacte tijdlijn (home) ---------- */
.tl-compact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 0; grid-template-columns: repeat(2, minmax(0, 1fr)); font-family: var(--sans); }
@media (min-width: 56rem) { .tl-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-compact li { position: relative; padding: 1.4rem 0.9rem 0.5rem 0; border-top: 2px solid var(--line); }
.tl-compact li::before { content: ""; position: absolute; top: -0.5rem; left: 0; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--rust); }
.tl-compact .tl-y { display: block; font-weight: 700; color: var(--rust); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.tl-compact a, .tl-compact .tl-t { display: block; min-height: 1.6rem; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; color: var(--ink); text-decoration: none; margin-top: 0.2rem; overflow-wrap: anywhere; }
.tl-compact a:hover { color: var(--rust); text-decoration: underline; }
@media (max-width: 40rem) {
  .tl-compact { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--line); margin-left: 0.4rem; }
  .tl-compact li { border-top: 0; padding: 0 0 1.1rem 1.4rem; }
  .tl-compact li::before { top: 0.25rem; left: -0.55rem; }
}

/* Feitkaarten zonder groot cijfer */
.fact .more { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; }

/* Video + galerij-oproep */
.media-band { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 56rem) { .media-band { grid-template-columns: 1.5fr 1fr; } }

/* ---------- Ligging & contact ---------- */
.two-col { display: grid; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 56rem) { .two-col { grid-template-columns: 1fr 1fr; } }
.map-figure { margin-top: clamp(2rem, 4vw, 3rem); max-width: 56rem; }
.map-figure img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card { background: var(--paper-2); border-radius: var(--radius); padding: 1.5rem; font-family: var(--sans); }
.contact-card address { font-style: normal; line-height: 1.7; font-size: 1.05rem; }

/* ---------- Hoofdstukpagina's ---------- */
.chapter-section { scroll-margin-top: 5rem; }
.chapter-section + .chapter-section { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--line); }
.chapter-section h2 { font-size: var(--step-3); max-width: 30ch; }
.chapter-section h3 { margin-top: 1.6em; }
.chapter .prose { margin-inline: 0; }
.chapter .prose ul { padding-left: 1.2rem; }
.chapter .prose li { margin-bottom: 0.5rem; }
.figs { display: grid; gap: 1rem; margin: 1.75rem 0; align-items: start; }
.figs--1 { max-width: 48rem; }
.figs--1.figs--portrait { max-width: 26rem; }
@media (min-width: 40rem) {
  .figs--2 { grid-template-columns: repeat(2, 1fr); max-width: 60rem; }
  .figs--3 { grid-template-columns: repeat(3, 1fr); }
  .figs--small { max-width: 34rem; }
}
.figs figcaption { font-style: italic; }
.video-block { max-width: 52rem; margin: 1.75rem 0; }
.eras p { padding-left: 1rem; border-left: 3px solid var(--rust); }
.eras strong { display: block; font-family: var(--sans); color: var(--rust); font-size: 0.95rem; letter-spacing: 0.02em; }

/* Aanvullingen uit het conceptverslag (kunnen na nazicht weer weg) */
.badge { display: inline-block; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: #5b3d69; background: #efe6f2; border: 1px solid #d9c6e1; border-radius: 99px; padding: 0.15rem 0.65rem; margin: 0 0 0.6rem; }
.aanvulling { margin: 1.75rem 0; border: 1px solid #d9c6e1; border-left: 4px solid var(--heide); border-radius: var(--radius); background: #f7f1f8; }
.aanvulling > summary { cursor: pointer; padding: 0.8rem 1.1rem; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: #5b3d69; list-style-position: inside; }
.aanvulling > summary:hover { color: var(--ink); }
.aanvulling-body { padding: 0.2rem 1.1rem 1rem; }
.aanvulling-section { border-left: 4px solid var(--heide); padding-left: clamp(1rem, 2vw, 1.5rem); }
.timeline li.is-aanvulling h3, .timeline li.is-aanvulling p { color: #5b3d69; }
.timeline li.is-aanvulling .badge { font-size: 0.8rem; margin-bottom: 0.2rem; }
.timeline li.is-aanvulling::before { border-color: var(--heide); }

/* Vorige / volgende hoofdstuk */
.chapter-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: var(--step-1); }
.chapter-nav a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.2rem; }
.chapter-nav a span { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); }
.chapter-nav a:hover { color: var(--rust); }
.chapter-nav .next { text-align: right; align-items: flex-end; }
.chapter-nav .prev span::before { content: "← "; }
.chapter-nav .next span::after { content: " →"; }
.colophon .prose em { color: var(--ink-soft); }
.chapter-section .timeline h3 { margin-top: 0.1rem; }
