/* =====================================================================
   Antiquariaat A. Kok & Zn. — website template
   Eén stylesheet, vijf kleurstellingen via <html data-kleur="...">
   klassiek | amstel | exlibris | modern | leeszaal
   ===================================================================== */

/* ---------- 1. Kleurstellingen (tokens) ---------- */
:root,
:root[data-kleur="klassiek"] {
  /* Oude Hoogstraat: perkament, inkt, ossenbloed, bladgoud */
  --bg: #f6f1e6;
  --bg-2: #ede5d3;
  --surface: #fbf8f1;
  --ink: #2b231d;
  --ink-2: #6b5d50;
  --line: #d9cdb6;
  --accent: #7b1e22;
  --accent-ink: #fbf8f1;
  --gold: #a07c35;
  --hero-1: #3a1214;
  --hero-2: #6d2226;
  --f-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --f-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --f-ui: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --titel-stijl: italic;
  --auteur-case: small-caps;
  --radius: 2px;
  color-scheme: light;
}
:root[data-kleur="amstel"] {
  /* Amsterdams blauw met oker */
  --bg: #f3f5f8;
  --bg-2: #e3e9f1;
  --surface: #ffffff;
  --ink: #15233d;
  --ink-2: #57647a;
  --line: #cfd8e4;
  --accent: #002173;
  --accent-ink: #ffffff;
  --gold: #b9832a;
  --hero-1: #0d1b36;
  --hero-2: #1f3f73;
  --f-display: "Libre Baskerville", Georgia, serif;
  --f-body: "Source Serif 4", Georgia, serif;
  --f-ui: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --titel-stijl: normal;
  --auteur-case: normal;
  --radius: 3px;
  color-scheme: light;
}
:root[data-kleur="exlibris"] {
  /* Flessengroen leder en messing */
  --bg: #f1f1ea;
  --bg-2: #e2e4d8;
  --surface: #fafaf5;
  --ink: #1d2a22;
  --ink-2: #5a665c;
  --line: #cdd2c1;
  --accent: #1f4a37;
  --accent-ink: #f6f4e8;
  --gold: #9a7a2e;
  --hero-1: #10261c;
  --hero-2: #2a5a43;
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Lora", Georgia, serif;
  --f-ui: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --titel-stijl: italic;
  --auteur-case: normal;
  --radius: 4px;
  color-scheme: light;
}
:root[data-kleur="modern"] {
  /* Wit, zwart, één diep petrol accent */
  --bg: #ffffff;
  --bg-2: #f2f4f4;
  --surface: #ffffff;
  --ink: #121516;
  --ink-2: #5d6668;
  --line: #e1e5e6;
  --accent: #0d5c63;
  --accent-ink: #ffffff;
  --gold: #0d5c63;
  --hero-1: #121516;
  --hero-2: #2c3638;
  --f-display: "Newsreader", Georgia, serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-ui: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --titel-stijl: normal;
  --auteur-case: normal;
  --radius: 6px;
  color-scheme: light;
}
:root[data-kleur="leeszaal"] {
  /* Donker: houtskool met amberlicht */
  --bg: #1a1916;
  --bg-2: #24221e;
  --surface: #211f1b;
  --ink: #ece4d2;
  --ink-2: #a89e8a;
  --line: #3a362f;
  --accent: #d9a54b;
  --accent-ink: #1a1916;
  --gold: #d9a54b;
  --hero-1: #0f0e0c;
  --hero-2: #2e2a22;
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Crimson Pro", Georgia, serif;
  --f-ui: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --titel-stijl: italic;
  --auteur-case: small-caps;
  --radius: 2px;
  color-scheme: dark;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--f-ui); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Kop / navigatie ---------- */
.kop {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.kop .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.merk { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* logo: het oude Kok-monogram als masker, kleurt mee met de kleurstelling (data-URI staat in logo.css) */
.merk-logo {
  width: 30px; height: 50px; flex: none; background: var(--accent);
  -webkit-mask: var(--kok-logo) center / contain no-repeat; mask: var(--kok-logo) center / contain no-repeat;
}
.merk-tekst { display: flex; flex-direction: column; line-height: 1.1; }
.merk-naam { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.merk-sub { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hoofdnav { margin-left: auto; display: flex; gap: 4px; font-family: var(--f-ui); font-size: .92rem; }
.hoofdnav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); }
.hoofdnav a:hover, .hoofdnav a[aria-current="page"] { background: var(--bg-2); }
.kop-zoek { display: flex; }
.kop-zoek input { width: 200px; }
@media (max-width: 900px) { .kop-zoek { display: none; } }
@media (max-width: 640px) {
  .hoofdnav a:not(.nav-kern) { display: none; }
  .merk-sub { display: none; }
}

/* ---------- 4. Formulieren ---------- */
.veld {
  font: inherit; font-family: var(--f-ui); font-size: .95rem;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 12px; min-width: 0;
}
.veld:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.knop {
  font-family: var(--f-ui); font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius); cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  text-decoration: none; white-space: nowrap;
}
.knop:hover { filter: brightness(1.08); text-decoration: none; }
.knop-licht { background: transparent; color: var(--accent); }
.knop-licht:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ---------- 5. Hero (home) ---------- */
.hero {
  position: relative; color: #f7f2e7; isolation: isolate;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--hero-1) 92%, transparent) 0%, color-mix(in srgb, var(--hero-2) 70%, transparent) 70%, color-mix(in srgb, var(--hero-2) 35%, transparent) 100%),
    var(--hero-foto, none) center / cover no-repeat,
    var(--hero-1);
}
/* boekruggen-patroon als er nog geen foto is */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: repeating-linear-gradient(90deg,
    transparent 0 18px, rgba(255,255,255,.35) 18px 19px, transparent 19px 44px,
    rgba(255,255,255,.2) 44px 46px, transparent 46px 60px, rgba(255,255,255,.3) 60px 61px, transparent 61px 92px);
}
.hero .wrap { padding-block: clamp(48px, 9vw, 104px); display: grid; gap: 28px; max-width: 1240px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 500; max-width: 16ch; color: #fbf7ee; }
.hero h1 em { color: color-mix(in srgb, var(--gold) 70%, #fff); font-style: italic; }
.hero p { margin: 0; max-width: 56ch; font-size: 1.15rem; color: #e9e1d1; }
.hero .eyebrow { color: #d9cfbb; }
.hero-zoek { display: flex; gap: 8px; max-width: 620px; flex-wrap: wrap; }
.hero-zoek .veld { flex: 1 1 260px; padding: 14px 16px; font-size: 1.05rem; border-color: transparent; }
.hero-zoek .knop { padding: 14px 22px; background: var(--gold); border-color: var(--gold); color: #fff; }
:root[data-kleur="leeszaal"] .hero-zoek .knop { color: #1a1916; }
.hero-feiten { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-ui); font-size: .88rem; color: #d9cfbb; }
.hero-feiten strong { color: #fff; font-weight: 600; }

/* ---------- 6. Secties (home) ---------- */
.sectie { padding-block: clamp(40px, 6vw, 72px); }
.sectie + .sectie { border-top: 1px solid var(--line); }
.sectie-kop { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sectie-kop h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.rubriek-register { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 36px; }
.rubriek-register li { break-inside: avoid; }
.rubriek-register .rr-letter {
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--accent);
  line-height: 1; padding: 14px 0 4px; border-bottom: 1px solid var(--line); break-after: avoid;
}
.rubriek-register li:first-child.rr-letter { padding-top: 0; }
.rubriek-register a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 4px 0; color: var(--ink); text-decoration: none; line-height: 1.25;
}
.rubriek-register a:hover .rr-nl { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rubriek-register .rr-nl { font-size: 1rem; }
.rubriek-register .rr-en { display: block; font-family: var(--f-ui); font-size: .74rem; color: var(--ink-2); }
.rubriek-register .rr-n { font-family: var(--f-ui); font-size: .76rem; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rubriek-register a.is-demo .rr-nl { color: var(--ink-2); }
.rubriek-tegel {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px;
  background: var(--surface); color: var(--ink); text-decoration: none; min-height: 112px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.rubriek-tegel:hover { background: var(--bg-2); text-decoration: none; }
.rubriek-tegel .rt-nl { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.rubriek-tegel .rt-en { font-family: var(--f-ui); font-size: .8rem; color: var(--ink-2); }
.rubriek-tegel .rt-aantal { margin-top: auto; font-family: var(--f-ui); font-size: .78rem; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rubriek-tegel.is-demo { opacity: .55; }

.twee-kol { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .twee-kol { grid-template-columns: 1fr; } }
.lees { max-width: 62ch; }
.lees p { margin: 0 0 1em; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.winkel-fotos { display: grid; grid-template-columns: 2.56fr 1.23fr 1.33fr; gap: 12px; margin-top: 40px; }
.winkel-fotos figure { margin: 0; height: clamp(120px, 15vw, 195px); max-width: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.winkel-fotos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .winkel-fotos { grid-template-columns: 1fr 1fr; }
  .winkel-fotos .wf-breed { grid-column: 1 / -1; }
}
.persoon figure { margin: 0; }
.persoon .foto {
  aspect-ratio: 4 / 5; max-width: 100%; background: var(--bg-2);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--f-display); font-size: 2.4rem; color: var(--ink-2); overflow: hidden;
}
.persoon .foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.persoon figcaption { margin-top: 8px; font-family: var(--f-ui); font-size: .9rem; }
.persoon figcaption span { display: block; color: var(--ink-2); font-size: .8rem; }

.info-blok { display: grid; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-blok dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-family: var(--f-ui); font-size: .93rem; }
.info-blok dt { color: var(--ink-2); }
.info-blok dd { margin: 0; }

/* ---------- 7. Rubriekpagina ---------- */
.rubriek-kop { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.rubriek-kop .wrap { padding-block: 28px 24px; display: grid; gap: 8px; }
.kruimel { font-family: var(--f-ui); font-size: .82rem; color: var(--ink-2); }
.kruimel a { color: var(--ink-2); }
.rubriek-kop h1 { font-size: clamp(2rem, 4vw, 3rem); }
.rubriek-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-ui); font-size: .88rem; color: var(--ink-2); }
.rubriek-meta strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-block: 28px 64px; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* zijbalk */
.zijbalk { font-family: var(--f-ui); }
.zijbalk-binnen { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 22px; }
.zijbalk h2 { font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.zijbalk form { display: flex; gap: 6px; }
.zijbalk form .veld { flex: 1 1 auto; width: 100%; min-width: 0; }
.zijbalk, .zijbalk-binnen, .zijbalk-paneel, .zijbalk-paneel > * { min-width: 0; }
.rubriek-lijst { position: relative; list-style: none; margin: 0 0 0 -8px; padding: 0 4px 0 0; max-height: calc(100vh - 340px); overflow-y: auto; overscroll-behavior: contain; }
.rubriek-lijst a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 2px 8px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-size: .86rem; line-height: 1.3;
}
.rubriek-lijst a:hover { background: var(--bg-2); }
.rubriek-lijst a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.rubriek-lijst a[aria-current="page"] .rl-n { color: inherit; opacity: .8; }
.rubriek-lijst .rl-n { color: var(--ink-2); font-size: .8rem; font-variant-numeric: tabular-nums; }
.rubriek-lijst a.is-demo { color: var(--ink-2); }
.zijbalk-contact { font-size: .85rem; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 16px; }
.zijbalk-contact strong { color: var(--ink); }
.zijbalk-toggle { display: none; }
@media (max-width: 900px) {
  .zijbalk-binnen { position: static; }
  .zijbalk-toggle {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    font: 600 .95rem var(--f-ui); color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; cursor: pointer;
  }
  .zijbalk:not(.open) .zijbalk-paneel { display: none; }
  .zijbalk-paneel { display: grid; gap: 20px; padding-top: 14px; }
  .rubriek-lijst { max-height: 50vh; }
}
@media (min-width: 901px) { .zijbalk-paneel { display: grid; gap: 22px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); } }

/* werkbalk boven de lijst */
.werkbalk {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--f-ui);
}
.werkbalk .filter { flex: 1 1 240px; }
.werkbalk select { flex: 0 1 auto; }
.weergave { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.weergave button { font: 600 .82rem var(--f-ui); padding: 9px 12px; border: 0; background: var(--surface); color: var(--ink-2); cursor: pointer; }
.weergave button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.werkbalk .teller { font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: auto; }
.alfabet { display: flex; flex-wrap: wrap; gap: 2px; padding-block: 12px; font-family: var(--f-ui); font-size: .82rem; }
.alfabet a, .alfabet span { min-width: 26px; text-align: center; padding: 3px 0; border-radius: var(--radius); text-decoration: none; }
.alfabet a { color: var(--accent); font-weight: 600; }
.alfabet a:hover { background: var(--bg-2); }
.alfabet span { color: var(--line); }

/* ---------- 8. Boekenlijst ---------- */
.boeken { display: grid; }
.letter-kop {
  font-family: var(--f-display); font-size: 1.9rem; color: var(--accent);
  padding: 22px 0 4px; border-bottom: 1px solid var(--line);
}
.boek {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 8px 28px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.boek.heeft-img { grid-template-columns: 84px minmax(0, 1fr) 150px; }
.boek-img img { width: 84px; height: 112px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-2); }
.boek-body { min-width: 0; display: grid; gap: 3px; }
.boek-auteur {
  margin: 0; font-family: var(--f-ui); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2); font-variant: var(--auteur-case);
}
:root[data-kleur="klassiek"] .boek-auteur, :root[data-kleur="leeszaal"] .boek-auteur, :root:not([data-kleur]) .boek-auteur {
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: .03em; color: var(--accent);
}
.boek-titel { margin: 0; font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; font-style: var(--titel-stijl); line-height: 1.25; color: var(--ink); }
:root[data-kleur="modern"] .boek-titel { font-weight: 500; }
.boek-beschr { margin: 2px 0 0; font-size: .98rem; color: var(--ink); }
.boek-noot { margin: 4px 0 0; font-size: .94rem; color: var(--ink-2); font-style: italic; max-width: 75ch; }
.boek-noot.lang:not(.open) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meer { font: 600 .8rem var(--f-ui); color: var(--accent); background: none; border: 0; padding: 2px 0; cursor: pointer; justify-self: start; }
.boek-koop { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; font-family: var(--f-ui); }
.boek-prijs { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); white-space: nowrap; }
.boek-nr { font-size: .76rem; color: var(--ink-2); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.boek-bestel { font-size: .8rem; padding: 6px 12px; }
.boek-rubriek { font-family: var(--f-ui); font-size: .78rem; }
.boek:target { background: color-mix(in srgb, var(--gold) 12%, transparent); box-shadow: -12px 0 0 color-mix(in srgb, var(--gold) 12%, transparent), 12px 0 0 color-mix(in srgb, var(--gold) 12%, transparent); }
@media (max-width: 600px) {
  .boek, .boek.heeft-img { grid-template-columns: minmax(0, 1fr); }
  .boek.heeft-img .boek-img img { width: 72px; height: 96px; }
  .boek-koop { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
  .boek-nr { order: 3; width: 100%; }
}

/* compacte weergave: één regel per boek, uitgelijnde kolommen */
.boeken.compact .boek { grid-template-columns: minmax(140px, 22%) minmax(0, 1fr) 64px 92px; gap: 0 18px; padding: 8px 0; align-items: baseline; }
.boeken.compact .boek-img, .boeken.compact .boek-noot, .boeken.compact .meer, .boeken.compact .boek-bestel, .boeken.compact .boek-beschr { display: none; }
.boeken.compact .boek-body { display: contents; }
.boeken.compact .boek-auteur { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boeken.compact .boek-titel { font-size: 1.02rem; font-family: var(--f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boeken.compact .boek-jaar { display: block; }
.boeken.compact .boek-koop { display: contents; }
.boeken.compact .boek-prijs { font-size: 1rem; text-align: right; font-family: var(--f-ui); }
.boeken.compact .boek-nr { display: none; }
.boek-jaar { display: none; font-family: var(--f-ui); font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.boeken.compact .letter-kop { font-size: 1.3rem; padding-top: 14px; }
@media (max-width: 600px) {
  .boeken.compact .boek { grid-template-columns: minmax(0, 1fr) 80px; }
  .boeken.compact .boek-auteur { grid-column: 1 / -1; }
  .boeken.compact .boek-jaar { display: none; }
}
.leeg { padding: 40px 0; color: var(--ink-2); font-family: var(--f-ui); }
.terug-boven { display: inline-block; margin-top: 24px; font-family: var(--f-ui); font-size: .88rem; }

/* ---------- 9. Voet ---------- */
.voet { background: var(--hero-1); color: #d9d1c1; font-family: var(--f-ui); font-size: .9rem; }
.voet .wrap { padding-block: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.voet h2 { font-family: var(--f-display); font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.voet a { color: #f0e6cf; }
.voet p { margin: 0 0 6px; }
.voet-klein { border-top: 1px solid rgba(255,255,255,.12); }
.voet-klein .wrap { padding-block: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .78rem; color: #a99f8c; }

/* ---------- 10. Kleurkiezer (alleen voor de demo) ---------- */
.kleurkiezer {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,0,0,.14); font: 600 .78rem var(--f-ui);
}
.kleurkiezer button {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.kleurkiezer button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.kleurkiezer .naam { min-width: 92px; color: var(--ink-2); font-weight: 500; }
@media (max-width: 480px) { .kleurkiezer .naam { display: none; } }
.boek-noot:empty, .boek-beschr:empty { display: none; }
.teller { font-family: var(--f-ui); font-size: .85rem; color: var(--ink-2); }

/* specialismen (Over ons) */
.specialismen { margin: 6px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.specialismen h3 { font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.specialismen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specialismen li { font-family: var(--f-ui); font-size: .84rem; line-height: 1.2; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }

/* ===================== Update: tweetalig, compacte hero, banner ===================== */
/* taal: toon alleen de gekozen taal */
:root:not([data-taal="en"]) .t-en, :root[data-taal="en"] .t-nl { display: none !important; }

/* kop: bedrijfsnaam + ondertitel, taalkeuze */
.merk-naam { font-size: 1.2rem; white-space: nowrap; }
.merk-sub { text-transform: none; letter-spacing: .01em; font-style: italic; font-size: .8rem; }
.kop .wrap { gap: 20px; min-height: 62px; }
.taalkeuze { display: flex; gap: 2px; padding: 2px; flex: none; border: 1px solid var(--line); border-radius: var(--radius); }
.taalkeuze button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; cursor: pointer;
  font: 600 .76rem var(--f-ui); letter-spacing: .05em; color: var(--ink-2);
  background: transparent; border: 0; border-radius: var(--radius);
}
.taalkeuze button svg { width: 18px; height: 12px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.taalkeuze button[aria-pressed="true"] { background: var(--bg-2); color: var(--ink); }
.taalkeuze button:hover { color: var(--ink); }
@media (max-width: 1080px) { .hoofdnav a:not(.nav-kern) { display: none; } }
@media (max-width: 640px) {
  .kop .wrap { gap: 10px; }
  .merk-naam { font-size: 1rem; white-space: normal; }
  .merk-logo { width: 22px; height: 38px; }
  .hoofdnav { display: none; }
  .taalkeuze { margin-left: auto; }
  .taalkeuze button { padding: 5px 6px; }
}

/* hero: laag, twee kolommen */
.hero .wrap.hero-grid {
  padding-block: clamp(22px, 3.4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 56px; align-items: center;
}
.hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: none; font-weight: 500; }
.hero .hero-tag { margin-top: 6px; font-style: italic; font-size: 1.12rem; color: color-mix(in srgb, var(--gold) 65%, #fff); }
.hero .hero-intro { margin-top: 12px; font-size: 1rem; max-width: 52ch; }
.hero-zij { display: grid; gap: 12px; min-width: 0; }
.hero-zoek { max-width: none; }
.hero-zoek .veld { padding: 12px 14px; font-size: 1rem; flex-basis: 200px; }
.hero-zoek .knop { padding: 12px 20px; }
.hero-feiten { gap: 4px 20px; font-size: .84rem; }
@media (max-width: 820px) { .hero .wrap.hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* banner prenten en kaarten */
.banner { padding-block: 22px 0; }
.banner a { display: block; border: 1px solid var(--line); background: #fff; }
.banner img { width: 100%; height: auto; }

/* inkoop */
.inkoop { margin-top: 22px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.inkoop h3 { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 6px; }
.inkoop p { margin: 0; }

/* voet: NVvA-logo */
.voet-klein .wrap { align-items: center; }
.voet-klein .nvva img { display: block; border-radius: 50%; }

/* ===================== Update: logo, fotowissel, fotoband ===================== */
.merk { flex-direction: column; align-items: flex-start; gap: 1px; }
.merk-img { display: block; height: 40px; width: auto; }
:root[data-kleur="leeszaal"] .merk-img { filter: brightness(0) invert(.92); }
.merk-sub { font-size: .76rem; }
@media (max-width: 640px) { .merk-img { height: 30px; } .merk-sub { display: none; } }

/* hero met fotowissel (slider_1 en _2) */
.hero { background: var(--hero-1); }
.hero::after { content: none; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 45%; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides img.actief { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18,12,8,.86) 0%, rgba(18,12,8,.68) 48%, rgba(18,12,8,.42) 100%);
}
.hero .wrap.hero-grid { min-height: clamp(250px, 26vw, 340px); }
@media (max-width: 820px) { .hero::before { background: rgba(18,12,8,.74); } }

/* fotoband met de winkelpui */
.foto-band {
  position: relative; color: #fff;
  background: linear-gradient(0deg, rgba(18,12,8,.78) 0%, rgba(18,12,8,.15) 60%), url("../images/foto/achtergrond-20.jpg") center 55% / cover no-repeat, var(--hero-1);
}
.foto-band .wrap { min-height: clamp(220px, 28vw, 360px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 24px; }
.foto-band p { margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.foto-band .fb-titel { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.1; }
.foto-band .fb-sub { font-family: var(--f-ui); font-size: .92rem; color: #eee5d4; margin-top: 4px; }
.foto-band + .sectie { border-top: 0; }

/* ===================== Amstel (standaard): logoblauw in kop, zoekknop en knoppen ===================== */
:root[data-kleur="amstel"] .hoofdnav a { color: var(--accent); font-weight: 500; }
:root[data-kleur="amstel"] .hoofdnav a:hover,
:root[data-kleur="amstel"] .hoofdnav a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 9%, transparent); }
:root[data-kleur="amstel"] .merk-sub { color: var(--accent); }
:root[data-kleur="amstel"] .taalkeuze button[aria-pressed="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
:root[data-kleur="amstel"] .hero-zoek .knop { background: var(--accent); border-color: rgba(255,255,255,.45); color: #fff; }
:root[data-kleur="amstel"] .hero-zoek .knop:hover { background: #0b3a9e; filter: none; }
:root[data-kleur="amstel"] .hero .hero-tag { color: #b9cdf7; }
:root[data-kleur="amstel"] .hero h1 em { color: #b9cdf7; }
#rubrieken { padding-top: 36px; }
/* Over ons: rechterkolom = familiefoto's + specialismen */
.over-zij { display: grid; gap: 24px; min-width: 0; }
.over-zij .specialismen { margin: 0; }
.over-zij .lid { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* rubriekkop in de kleur van de voet */
.rubriek-kop { background: var(--hero-1); border-bottom: 0; color: #e6e9f0; }
.rubriek-kop h1 { color: #fff; }
.rubriek-kop .kruimel, .rubriek-kop .kruimel a, .rubriek-kop .rubriek-meta { color: #c3cbdb; }
.rubriek-kop .rubriek-meta strong { color: #fff; }
.rubriek-kop .kruimel a:hover { color: #fff; }

/* vaste balk met filter, sorteren en A–Z op rubriekpagina's */
.lijst-kop {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--kop-h, 62px)); z-index: 15;
  background: var(--bg); padding-top: 10px; margin-top: -10px;
  box-shadow: 0 8px 8px -8px rgba(0, 0, 0, .18);
}
.lijst-kop .alfabet { padding-block: 10px; }
@media (max-width: 700px) {
  .lijst-kop { display: contents; }
  .lijst-kop .alfabet {
    position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--kop-h, 62px)); z-index: 15;
    background: var(--bg); box-shadow: 0 8px 8px -8px rgba(0, 0, 0, .18);
  }
}
/* logo's NVvA en ILAB onder de lidmaatschapstekst */
.lid-logos { display: flex; gap: 14px; align-items: center; }
.lid-logos a { display: block; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.lid-logos img { display: block; height: 64px; width: auto; }

/* compacte weergave: bestelknop zichtbaar als kleine knop in een eigen kolom */
.boeken.compact .boek { grid-template-columns: minmax(140px, 22%) minmax(0, 1fr) 52px 88px auto; }
.boeken.compact .boek-bestel { display: inline-flex; padding: 3px 10px; font-size: .76rem; align-self: center; }
@media (max-width: 600px) {
  .boeken.compact .boek { grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px 12px; }
}

/* subrubrieken (Architectuur op onderwerp) */
.rubriek-lijst a.sub { padding-left: 22px; font-size: .82rem; }
.sub-overzicht { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; }
.sub-overzicht a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.sub-overzicht a:hover .so-naam { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sub-overzicht .so-naam { font-family: var(--f-display); font-size: 1.15rem; }
.sub-overzicht .so-n { font-family: var(--f-ui); font-size: .8rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.overzicht-intro { font-family: var(--f-ui); color: var(--ink-2); margin: 0; }

/* credit rechts in de onderste balk */
.voet-klein .credit { margin-left: auto; }
.voet-klein .credit a { color: #a99f8c; text-decoration: none; }
.voet-klein .credit a:hover { color: #fff; text-decoration: underline; }

/* kop: logo en ondertitel groter (feedback klant) */
.merk-img { height: 54px; }
.merk-sub { font-size: .9rem; }
.kop .wrap { min-height: 76px; }
@media (max-width: 640px) { .merk-img { height: 36px; } }

/* socials: knoppen Facebook / Instagram */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social .soc {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  font: 600 .82rem var(--f-ui); text-decoration: none; border-radius: 999px;
  border: 1px solid var(--line); color: var(--accent); background: var(--surface);
}
.social .soc:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.voet .social .soc { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.voet .social .soc:hover { background: #fff; color: var(--hero-1); }
.voet .social .soc-label { margin-right: 2px; }

/* fotoband: nieuwe gevelfoto (Winkel_Kok, 2026) */
.foto-band {
  background: linear-gradient(0deg, rgba(18,12,8,.78) 0%, rgba(18,12,8,.12) 60%), url("../images/foto/winkel-kok.jpg") center 68% / cover no-repeat, var(--hero-1);
}

/* fotoslider bij Over ons (vervangt de vaste fotostrook) */
.fotoslider { position: relative; margin-top: 40px; }
.fs-baan {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.fs-baan::-webkit-scrollbar { display: none; }
.fs-baan li { flex: none; scroll-snap-align: start; }
.fs-baan img { display: block; height: clamp(200px, 22vw, 280px); width: auto; max-width: none; border: 1px solid var(--line); }
.fs-knop {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  font: 600 1.6rem/1 var(--f-ui); color: #fff; background: color-mix(in srgb, var(--accent) 85%, transparent);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.fs-knop:hover { background: var(--accent); }
.fs-knop[disabled] { opacity: 0; pointer-events: none; }
.fs-vorige { left: 8px; } .fs-volgende { right: 8px; }
@media (prefers-reduced-motion: reduce) { .fs-baan { scroll-behavior: auto; } }

/* fotoslider boven de rubrieken */
.slider-boven .fotoslider { margin-top: 28px; }

/* specialismen als links naar de rubriek */
.specialismen li { padding: 0; border: 0; background: none; }
.specialismen li a {
  display: block; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.specialismen li a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* voet: logo's NVvA en ILAB (kleiner dan op de homepage) */
.voet-klein .voet-logo { display: block; padding: 3px; background: #fff; border-radius: var(--radius); }
.voet-klein .voet-logo img { display: block; height: 40px; width: auto; }
.voet-klein .voet-logo + .voet-logo { margin-left: -14px; }
