/* gainer.nl — opbouw en ritme naar Anai Wood, verhaal en gouden naad van Gainer */

:root {
  --wit: #fbfaf7;
  --inkt: #1f1d1a;
  --grijs: #77736c;
  --lijn: #d9d5cd;
  --nacht: #1b1916;
  --nacht-tekst: #ece7de;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  /* buitenrand; op brede schermen blijft de inhoud binnen 1600px */
  --rand: max(clamp(20px, 3.4vw, 50px), calc((100vw - 1600px) / 2));
  --traag: cubic-bezier(.22, .61, .36, 1);
  --uit: cubic-bezier(.76, 0, .24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--wit);
  color: var(--inkt);
  font-family: var(--sans);
  font-size: clamp(15px, .35vw + 13px, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 99; background: var(--wit); padding: 8px 12px; }
.skip:focus { left: 10px; }

/* Link: klein rondje en een lijn eronder */
.link {
  min-height: 44px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; line-height: 1; padding: 6px 0 7px 17px; margin-left: -17px;
  background: linear-gradient(currentColor, currentColor) 17px 100% / calc(100% - 17px) 1px no-repeat;
  position: relative;
}
.link::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; opacity: .45; transition: background .4s, opacity .4s; }
.link:hover::before { background: currentColor; opacity: 1; }

.groot { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 10.4vw, 150px); line-height: 1; letter-spacing: -.01em; }
.middel { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6.25vw, 90px); line-height: 1; }
.klein { font-size: 13px; opacity: .7; }

/* ---------- Kop ---------- */
.kop {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--rand);
  color: var(--inkt);
  transition: background-color .4s, backdrop-filter .4s;
}
.kop.vlak { background: color-mix(in oklab, var(--wit) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu-knop[aria-expanded="true"] .punten { display: none; }
.menu-knop[aria-expanded="true"]::after { content: "×"; font-size: 28px; line-height: 1; }
.logo { font-family: var(--serif); font-size: 19px; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.kop-nav { display: flex; gap: 26px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.kop-nav a { opacity: .85; padding: 12px 0; }
.kop-nav a:hover { opacity: 1; }
.menu-knop { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; }
.punten { display: grid; gap: 3px; }
.punten i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: block; }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--wit); display: grid; place-items: center; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; text-align: center; }
.menu a { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7vw, 96px); line-height: 1.1; animation: menu-in .9s var(--traag) both; }
.menu a:nth-child(2) { animation-delay: .05s; } .menu a:nth-child(3) { animation-delay: .1s; }
.menu a:nth-child(4) { animation-delay: .15s; } .menu a:nth-child(5) { animation-delay: .2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Hero ---------- */
.hero { height: 180vh; position: relative; }
.hero-plak { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-titel {
  position: absolute; left: 0; right: 0; top: 19vh; z-index: 2;
  text-align: center;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(54px, 14vw, 210px); line-height: 1; letter-spacing: -.012em;
  will-change: transform, opacity;
}
.hero-titel > span { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-titel > span > span { display: inline-block; }
.hero-beeld { position: absolute; inset: 56vh 32vw 0 31vw; overflow: hidden; }
.hero-beeld picture { display: contents; }
/* desktop: wegrijden over het strand; mobiel: de staande foto op de motor (zie <picture> in de html) */
.hero-beeld img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; transform-origin: 60% 42%; }
.hero-verder { position: absolute; right: calc(var(--rand) + 4vw); bottom: 7vh; z-index: 2; }

/* ---------- Over ---------- */
.over {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px;
  padding: clamp(110px, 18vh, 200px) var(--rand) clamp(120px, 20vh, 220px); align-items: center;
}
.collage { grid-column: 1 / 7; position: relative; height: clamp(520px, 42vw, 680px); }
.collage img { position: absolute; object-fit: cover; }
.c1 { left: 0; top: 0; width: 44%; height: 58%; }
.c2 { left: 52%; top: 6%; width: 34%; height: 30%; }
.c3 { left: 52%; top: 42%; width: 44%; height: 40%; }
.c4 { left: 12%; top: 64%; width: 32%; height: 36%; }
.over-tekst { grid-column: 8 / 12; max-width: 440px; }
.over-tekst h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; margin-bottom: 22px; }
.over-tekst p { color: #45423d; margin-bottom: 1em; }
.over-tekst .link { margin-top: 18px; }

/* ---------- Verhaal ---------- */
.verhaal { padding: 10vh var(--rand) clamp(110px, 18vh, 200px); position: relative; }
.verhaal .groot { text-align: center; position: relative; z-index: 2; pointer-events: none; }
.slider { position: relative; margin-top: -3.2vw; }
.slides { list-style: none; display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: start;
  visibility: hidden;
}
.slide.actief, .slide.gaat, .slide:first-child:not(.gaat) { visibility: visible; }
.slides:has(.actief:not(:first-child)) .slide:first-child:not(.actief):not(.gaat) { visibility: hidden; }
.slide.gaat { z-index: -1; }
.slide-kop { grid-column: 1 / 4; padding-top: 16vh; }
.slide-nr { font-size: 11px; display: block; margin-bottom: 6px; }
.slide-kop h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; }
.slide-kop p { margin-top: 26px; color: var(--grijs); font-size: 13px; max-width: 26ch; }
.slide-beeld img + img, .nu-beeld img + img, .paneel-beeld img + img { position: absolute; inset: 0; }
.slide-beeld img, .nu-beeld img, .paneel-beeld img { transition: opacity 1.6s ease; }
.nu-beeld { position: relative; }
.slide-beeld { position: relative; grid-column: 5 / 9; aspect-ratio: 4 / 5; overflow: hidden; background: #ece9e3; }
.slide-beeld img { width: 100%; height: 100%; object-fit: cover; }
.nu-beeld img.val { filter: grayscale(1) brightness(1.05) contrast(.9); }
.slide-tekst { grid-column: 10 / 13; margin-top: 16vh; font-size: 15px; color: #45423d; max-width: 30ch; }
.slide.komt .slide-tekst { animation: tekst-in 1s var(--traag) .3s both; }
.slide.gaat .slide-tekst { opacity: 0; transition: opacity .3s; }

/* Wissel: oud beeld wordt dichtgesneden, nieuw beeld opengesneden */
.slide.komt .slide-beeld { animation: open-snij 1.2s var(--uit) both; }
.slide.komt .slide-beeld img { animation: in-zoom 1.6s var(--traag) both; }
.slide.komt .slide-kop > * { animation: tekst-in 1s var(--traag) .15s both; }
.slide.komt .slide-kop > :nth-child(2) { animation-delay: .23s; }
.slide.komt .slide-kop > :nth-child(3) { animation-delay: .31s; }
.slide.gaat .slide-beeld { animation: dicht-snij 1.2s var(--uit) both; }
.slide.gaat .slide-kop { opacity: 0; transition: opacity .3s; }
.slider[data-richting="-1"] .slide.komt .slide-beeld { animation-name: open-snij-terug; }
.slider[data-richting="-1"] .slide.gaat .slide-beeld { animation-name: dicht-snij-terug; }
@keyframes open-snij { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes dicht-snij { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes open-snij-terug { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes dicht-snij-terug { from { clip-path: inset(0); } to { clip-path: inset(100% 0 0 0); } }
@keyframes in-zoom { from { transform: scale(1.18); } }
@keyframes tekst-in { from { opacity: 0; transform: translateY(14px); } }

.slider-bediening { position: absolute; right: 0; top: 4vh; display: flex; align-items: center; gap: 18px; }
.teller { font-size: 11px; color: var(--grijs); margin-right: 6px; }
.teller b { font-weight: 400; color: var(--inkt); }
.pijl { width: 44px; height: 44px; display: grid; place-items: center; }
.pijl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .4s var(--traag); }
.pijl[data-richting="1"]:hover svg { transform: translateX(4px); }
.pijl[data-richting="-1"]:hover svg { transform: translateX(-4px); }

/* Paneel met het volledige hoofdstuk */
.paneel {
  margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: none; max-width: none; width: min(640px, 100vw);
  border: 0; background: var(--wit); color: var(--inkt);
  padding: 90px 64px 80px; overflow-y: auto;
}
.paneel::backdrop { background: rgba(27, 25, 22, .45); }
.paneel[open] { animation: paneel-in .7s var(--uit) both; }
@keyframes paneel-in { from { transform: translateX(100%); } }
.paneel-sluit { position: absolute; top: 30px; right: 40px; }
.paneel h3 { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: 1; margin: 10px 0 24px; }
.paneel-quote { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin-bottom: 36px; color: #45423d; }
.paneel-tekst > p:not(.paneel-quote) { font-size: 16px; line-height: 1.85; margin-bottom: 1.1em; max-width: 52ch; }

/* ---------- De naad ---------- */
.naad { background: var(--nacht); color: var(--nacht-tekst); }
.breuk { height: 300vh; position: relative; }
.podium { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.vaas { position: relative; width: min(56vw, 860px); aspect-ratio: 330 / 210; perspective: 1400px; }
.scherf { position: absolute; inset: 0; }
.scherf img { width: 100%; height: 100%; object-fit: cover; }
.scherf[data-s="0"] { clip-path: polygon(0 0, 38% 0, 41% 9%, 44% 22%, 42% 31%, 40% 41%, 31% 47%, 22% 52%, 11% 56%, 0 61%); }
.scherf[data-s="1"] { clip-path: polygon(38% 0, 100% 0, 100% 44%, 86% 47%, 73% 49%, 62% 53%, 52% 58%, 46% 50%, 40% 41%, 42% 31%, 44% 22%, 41% 9%); }
.scherf[data-s="2"] { clip-path: polygon(0 61%, 11% 56%, 22% 52%, 31% 47%, 40% 41%, 46% 50%, 52% 58%, 50% 68%, 49% 79%, 40% 89%, 30% 100%, 0 100%); }
.scherf[data-s="3"] { clip-path: polygon(30% 100%, 40% 89%, 49% 79%, 53% 90%, 57% 100%); }
.scherf[data-s="4"] { clip-path: polygon(100% 44%, 100% 100%, 57% 100%, 53% 90%, 49% 79%, 50% 68%, 52% 58%, 62% 53%, 73% 49%, 86% 47%); }
.barst, .reparatie { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.barst { stroke: #050404; stroke-width: .9; }
.reparatie { stroke: url(#goud); stroke-width: 1.3; }
.barst path, .reparatie path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reparatie .glans { stroke: #fff4cf; stroke-width: 1.4; stroke-dasharray: .07 1.2; stroke-dashoffset: 1.07; opacity: 0; }
.reparatie .glans.loopt { animation: glans 2.6s cubic-bezier(.45, 0, .2, 1) .15s both; }
@keyframes glans { 0% { stroke-dashoffset: 1.07; opacity: 0; } 12%, 85% { opacity: .95; } 100% { stroke-dashoffset: -.07; opacity: 0; } }
.stil {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 4.4vw, 64px); opacity: 0; pointer-events: none;
  color: #f3efe6; text-shadow: 0 0 30px rgba(0,0,0,.8);
}

.naad-raster { position: relative; min-height: 115vh; display: grid; place-items: center; padding: 16vh var(--rand) 22vh; overflow: clip; }
.naad-raster img { position: absolute; object-fit: cover; opacity: .5; }
.r1 { left: 3%; top: 4%; width: 20vw; height: 26vw; }
.r2 { right: 4%; top: 12%; width: 17vw; height: 22vw; }
.r3 { left: 9%; bottom: 8%; width: 16vw; height: 21vw; }
.r4 { right: 10%; bottom: 3%; width: 24vw; height: 16vw; }
.naad-tekst { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.naad-tekst .groot { margin: 14px 0 34px; }
.naad-tekst p:not(.klein) { max-width: 46ch; margin: 0 auto 30px; font-size: 15px; color: #cfc8bd; }

/* ---------- Nu ---------- */
.nu { padding: clamp(110px, 18vh, 200px) var(--rand) clamp(110px, 18vh, 200px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.nu .middel { grid-column: 1 / 4; }
.nu-blok { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(9, 1fr); column-gap: 20px; }
.nu-lijst { grid-column: 1 / 3; list-style: none; font-size: 13px; line-height: 1.9; padding-top: 10px; }
.nu-lijst button { color: #5e5a53; display: flex; align-items: center; gap: 10px; min-height: 40px; }
.nu-lijst button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity .4s; }
.nu-lijst button[aria-current="true"] { color: var(--inkt); }
.nu-lijst button[aria-current="true"]::before { opacity: 1; }
.nu-teller { display: none; }
.nu-items { grid-column: 3 / 10; grid-row: 1; display: grid; }
.nu-item { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(7, 1fr); column-gap: 20px; align-items: end; }
.nu-item[hidden] { display: none; }
.nu-beeld { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 4 / 5; overflow: hidden; }
.nu-beeld img { width: 100%; height: 100%; object-fit: cover; }
.nu-item h3 { grid-column: 5 / 8; grid-row: 1; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; align-self: center; }
.nu-item p { grid-column: 5 / 8; grid-row: 2; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: #45423d; max-width: 24ch; margin-top: 14px; }
.nu-item .link { grid-column: 5 / 8; grid-row: 3; justify-self: start; margin-top: 22px; margin-left: 0; white-space: nowrap; }
.nu-item.komt .nu-beeld { animation: open-snij 1.1s var(--uit) both; }
.nu-item.komt h3, .nu-item.komt p { animation: tekst-in .9s var(--traag) .1s both; }

/* ---------- Voet ---------- */
.voet { padding: clamp(100px, 14vh, 160px) var(--rand) 40px; border-top: 1px solid var(--lijn); }
.voet-boven { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.voet-nav { grid-column: 1 / 5; display: grid; align-content: start; font-size: 22px; line-height: 1.45; }
.voet-brief { grid-column: 7 / 13; }
.voet-brief p { max-width: 46ch; color: #45423d; }
.mail { display: inline-block; margin-top: 40px; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--traag); }
.mail:hover { background-size: 100% 1px; }
.voet-onder { display: flex; justify-content: space-between; align-items: end; margin-top: clamp(80px, 12vh, 140px); font-size: 12px; color: var(--grijs); }
.voet-onder .logo { font-size: 28px; color: var(--inkt); }

/* ---------- Beweging bij laden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-titel > span > span { animation: regel-op 1.4s var(--uit) both; }
  .js .hero-beeld img { animation: beeld-op 1.8s var(--uit) .3s both; }
  .js .kop, .js .hero-verder { animation: zacht-in 1s ease 1.1s both; }
}
@keyframes regel-op { from { transform: translateY(105%); } }
@keyframes beeld-op { from { transform: translateY(40%) scale(1.15); } }
@keyframes zacht-in { from { opacity: 0; } }

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
  .kop { grid-template-columns: 1fr auto; padding: 20px 22px; }
  .kop-nav { display: none; }
  .logo { font-size: 15px; }

  .hero { height: 160vh; }
  .hero-titel { top: 15vh; font-size: clamp(64px, 24vw, 104px); }
  .hero-beeld { inset: 37vh 14vw 12vh 14vw; }
  .hero-beeld img { object-position: 52% 50%; transform-origin: 52% 50%; }
  .hero-verder { right: 22px; bottom: 5vh; }

  .over { grid-template-columns: 1fr; padding: 16vh 22px 18vh; row-gap: 8vh; }
  .collage { grid-column: 1; height: 130vw; }
  .over-tekst { grid-column: 1; }

  .verhaal { padding: 8vh 22px 18vh; }
  .slider { margin-top: 4vh; }
  .slide { grid-template-columns: 1fr; row-gap: 22px; }
  .slide-beeld { grid-column: 1; grid-row: 1; width: 78%; justify-self: center; }
  .slide-kop { grid-column: 1; grid-row: 2; padding-top: 6px; }
  .slide-tekst { grid-column: 1; grid-row: 3; margin-top: 0; }
  .slider-bediening { position: static; justify-content: flex-end; margin-top: 18px; }

  .vaas { width: 88vw; }
  .breuk { height: 260vh; }
  .naad-raster { min-height: 120vh; padding: 14vh 22px 20vh; }
  .r1 { width: 34vw; height: 44vw; } .r2 { width: 30vw; height: 40vw; top: 8%; }
  .r3 { width: 30vw; height: 40vw; } .r4 { width: 40vw; height: 28vw; }

  .nu { grid-template-columns: 1fr; padding: 16vh 22px; }
  .nu .middel, .nu-blok { grid-column: 1; }
  .nu-blok { grid-template-columns: 1fr; margin-top: 6vh; }
  .nu-lijst, .nu-items { grid-column: 1; grid-row: auto; }
  .nu-lijst { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
  .nu-items { margin-top: 4vh; }
  .nu-item { grid-template-columns: 1fr; row-gap: 14px; }
  .nu-beeld, .nu-item h3, .nu-item p, .nu-item .link { grid-column: 1; grid-row: auto; justify-self: start; }
  .nu-item h3 { font-size: 30px; }

  .voet { padding: 12vh 22px 30px; }
  .voet-boven { grid-template-columns: 1fr; row-gap: 8vh; }
  .voet-nav, .voet-brief { grid-column: 1; }
  .mail { font-size: 34px; }
  .voet-onder { flex-wrap: wrap; gap: 10px 20px; margin-top: 10vh; }
  .voet-onder .logo { font-size: 18px; width: 100%; }

  .paneel { padding: 80px 24px 60px; }
  .paneel h3 { font-size: 54px; }
  .paneel-sluit { right: 24px; top: 24px; }
}

/* ---------- Zonder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero-plak { position: relative; height: auto; padding: 22vh 0 0; }
  .hero-titel { position: static; }
  .hero-beeld { position: relative; inset: auto; height: 70vh; margin-top: 8vh; }
  .hero-verder { display: none; }
  .breuk { height: auto; }
  .podium { position: relative; height: 80vh; }
  .reparatie path { stroke-dashoffset: 0; }
  .stil { display: none; }
}

/* ---------- De gouden draad: begint bij de herstelde breuk, loopt door tot onderaan ---------- */
body { position: relative; }
.draad { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 20; overflow: visible; }
.draad path { fill: none; stroke: url(#goud); stroke-width: 1.8; filter: drop-shadow(0 0 1px rgba(60,40,10,.35)); stroke-linecap: round; stroke-linejoin: round; }
/* Val in de lijst: een klein vooruitzicht op de naad */
.nu-lijst button[data-nu="2"]::after { content: ""; width: 14px; height: 1px; background: #b8913a; margin-left: 2px; }

/* Taalkeuze */
.taal { display: flex; gap: 12px; font-size: 11px; letter-spacing: .06em; justify-self: end; margin-right: 46px; }
.taal a { opacity: .7; padding: 12px 4px; }
.taal a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.kop .taal { grid-column: 3; grid-row: 1; }
.kop .menu-knop { grid-column: 3; grid-row: 1; }
.voet-onder .taal { margin-right: 0; }
@media (max-width: 760px) { .kop .taal { grid-column: 2; margin-right: 44px; } .kop .menu-knop { grid-column: 2; } }

.slide-link { margin-top: 0 !important; grid-row: 2; }
@media (max-width: 760px) { .slide-link { grid-row: 4; } }

@media (max-width: 760px) {
  .slider-bediening { position: absolute; top: calc((100vw - 44px) * .78 * 1.25 + 6px); right: 0; margin: 0; }
  .slide-kop { padding-top: 48px; }
  .nu-lijst button { min-height: 44px; }
  .link::before { left: 2px; }
}

/* Tikvlakken minimaal 44px */
.taal a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; }
.taal { gap: 0; }
.kop-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.nu-lijst button { min-height: 44px; padding: 0 6px; min-width: 44px; }
.voet-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.mail { min-height: 44px; }

/* ---------- Hoofdstukken als boek ---------- */
.paneel { padding-bottom: 0; display: flex; flex-direction: column; }
.paneel:not([open]) { display: none; }
.paneel-inhoud { outline: none; flex: 1; }
.paneel-beeld { position: relative; margin: 0 0 32px; aspect-ratio: 4 / 3; overflow: hidden; background: #ece9e3; }
.paneel-beeld img { width: 100%; height: 100%; object-fit: cover; }
.paneel-beeld img.val { filter: grayscale(1) brightness(1.05) contrast(.9); }
.paneel-sluit { z-index: 2; background: var(--wit); }
.paneel-sluit:focus:not(:focus-visible) { outline: none; }
.van-rechts { animation: blad-rechts .55s var(--uit) both; }
.van-links { animation: blad-links .55s var(--uit) both; }
@keyframes blad-rechts { from { opacity: 0; transform: translateX(48px); } }
@keyframes blad-links { from { opacity: 0; transform: translateX(-48px); } }
.blader {
  position: sticky; bottom: 0; margin: 48px -64px 0; padding: 14px 64px calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in oklab, var(--wit) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--lijn);
}
.blader-knop { display: flex; align-items: center; gap: 10px; min-height: 48px; text-align: left; }
.blader-knop.volgende { text-align: right; }
.blader-knop svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; }
.blader-label { display: block; font-size: 11px; color: var(--grijs); }
.blader-naam { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; }
.blader-teller { font-size: 12px; color: var(--grijs); }
@media (max-width: 760px) {
  .blader { margin: 40px -24px 0; padding: 10px 24px calc(10px + env(safe-area-inset-bottom)); }
  .blader-naam { font-size: 19px; }
  .paneel-beeld { margin: 0 -24px 28px; aspect-ratio: 4 / 5; }
}

/* Desktop: het hoofdstuk als open boek, foto op de linkerpagina, tekst op de rechter */
@media (min-width: 761px) {
  .paneel { width: 100vw; padding: 0; overflow: hidden; }
  .paneel[open] { animation: boek-open .7s var(--traag) both; }
  .paneel-inhoud:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
  .paneel-beeld { margin: 0; aspect-ratio: auto; height: 100%; }
  /* één linkerkant voor alle tekst; het tekstblok staat midden op de rechterpagina */
  .paneel { --blad-rand: max(clamp(48px, 7vw, 120px), calc((50vw - 36rem) / 2)); }
  .paneel-tekst {
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: 110px var(--blad-rand) 130px;
    background: linear-gradient(to right, rgba(31, 29, 26, .08), transparent 56px) var(--wit); /* de vouw */
  }
  .paneel-tekst > :first-child { margin-top: auto; }
  .paneel-tekst > :last-child { margin-bottom: auto; }
  .paneel h3 { font-size: clamp(64px, 6vw, 96px); margin: 8px 0 22px; }
  .paneel-quote { font-size: clamp(24px, 2vw, 30px); margin-bottom: 40px; }
  .paneel-tekst > p:not(.paneel-quote) {
    max-width: none; margin: 0 0 1em;
    font-family: var(--serif); font-size: clamp(20px, 1.45vw, 23px); line-height: 1.6;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto;
  }
  .paneel-tekst > p:has(> .link) { text-align: left; }
  .paneel-sluit { top: 26px; right: var(--blad-rand); }
  .blader { position: absolute; left: 50%; right: 0; bottom: 0; margin: 0; padding: 12px var(--blad-rand) calc(12px + env(safe-area-inset-bottom)); }
}
@keyframes boek-open { from { opacity: 0; transform: translateY(16px); } }
