/* =========================================================
   Carolien Serno | stijl
   Kleuren en lettertypes staan bovenaan als variabelen.
   ========================================================= */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --pruim-950: #140910;
  --pruim-900: #21101c;
  --pruim-800: #2e1727;
  --pruim-700: #47273f;
  --pruim-600: #6b4461;
  --creme: #ece3da;
  --creme-licht: #f4eee8;
  --creme-donker: #ddd1c6;
  --inkt: #2a1a25;
  --inkt-zacht: #6a5563;
  --lijn: rgba(42, 26, 37, .18);
  --zilver: #d9cbd4;

  --kop: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --tekst: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;

  --balk-hoogte: 80px;
  --ronding: 28px;
  --schaduw: 0 30px 70px rgba(8, 2, 6, .5), 0 8px 18px rgba(8, 2, 6, .25);
  --zacht: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
figure { margin: 0; }
body {
  margin: 0;
  font-family: var(--tekst);
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--inkt);
  background: var(--pruim-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--pruim-700); color: var(--creme-licht); }
:focus-visible { outline: 2px solid var(--pruim-600); outline-offset: 3px; border-radius: 4px; }

[id] { scroll-margin-top: 110px; }
.verborgen {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Achtergrond met bladeren (alle pagina's) ---------- */
.achtergrond {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: var(--pruim-950);
}
.achtergrond::before {
  content: ""; position: absolute; inset: -3%;
  background: url("../img/bladeren.webp") center / cover no-repeat;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02);
  transition: transform 1.2s var(--zacht);
}
.achtergrond::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 40%, rgba(10, 3, 8, .55) 100%);
}
body.binnen .achtergrond::after {
  background: radial-gradient(ellipse 90% 80% at 50% 45%, rgba(10, 3, 8, 0), rgba(10, 3, 8, .45));
}

/* ---------- Openingspagina ---------- */
body.home { min-height: 100vh; min-height: 100svh; overflow: hidden; }
body.home .achtergrond { animation: binnenkomen 2.4s var(--zacht) both; }
body.home .achtergrond::before { animation: ademen 22s ease-in-out 2s infinite alternate; }
@keyframes binnenkomen { from { opacity: 0; filter: brightness(.4); } to { opacity: 1; filter: none; } }
@keyframes ademen { from { scale: 1; } to { scale: 1.045; } }

/* ---------- HET 3D ZILVEREN LOGO op de openingspagina (zie js/logo-3d.js) ---------- */
.logo-podium {
  position: fixed; inset: 0; z-index: 10; pointer-events: none;
  display: grid; place-items: center; padding-top: 40px;
}
.logo-podium canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  pointer-events: auto; -webkit-tap-highlight-color: transparent;
  opacity: 0; transition: opacity .9s ease;
}
html.logo-live .logo-podium canvas { opacity: 1; }
.logo-reserve {
  height: min(46vh, 105vw, 480px); width: auto; opacity: 0;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
}
html.logo-statisch .logo-podium canvas { display: none; }
html.logo-statisch .logo-reserve { animation: logo-reserve-in 2.2s var(--zacht) .3s both; }
@keyframes logo-reserve-in { from { opacity: 0; filter: blur(14px) brightness(2.2); transform: scale(.96); } to { opacity: 1; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); transform: none; } }

/* ---------- DE BALK (widget, zie js/balk.js) ---------- */
.balk {
  position: fixed; z-index: 50; top: 18px; left: 0; right: 0;
  display: flex; align-items: center; gap: 18px;
  pointer-events: none;
  transition: transform .5s var(--zacht), top .4s var(--zacht);
}
.balk > * { pointer-events: auto; }
.balk-strook {
  position: relative; isolation: isolate;
  flex: 0 1 1240px;
  min-width: 0;
  height: var(--balk-hoogte);
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(90px, 11vw, 170px) 0 clamp(20px, 4vw, 60px);
  transition: height .4s var(--zacht);
}
/* de crème strook zelf: loopt op de laatste 10% uit naar doorzichtig */
.balk-strook::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-color: var(--creme);
  background-image: url("../img/papier.png"), linear-gradient(100deg, #f1e9e1, #e6dbd1 70%, #e9dfd6);
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
}
/* zachte schaduw eronder, die ook uitloopt */
.balk-strook::after {
  content: ""; position: absolute; left: 0; right: 0; top: 55%; bottom: -26px; z-index: -2;
  background: linear-gradient(180deg, rgba(8, 2, 6, .55), rgba(8, 2, 6, 0));
  filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent 96%);
  mask-image: linear-gradient(90deg, #000 75%, transparent 96%);
}
.balk.klein .balk-strook { --balk-hoogte: 62px; }
.balk-merk {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; flex: none;
}
.balk-merk img { height: 62px; width: auto; filter: drop-shadow(0 2px 2px rgba(42, 26, 37, .25)); transition: height .4s var(--zacht); }
.balk.klein .balk-merk img { height: 48px; }
.balk-naam { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.balk-naam b {
  font-family: var(--kop); font-weight: 500; font-size: 23px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--inkt); white-space: nowrap;
}
.balk-naam small {
  margin-top: 7px; display: flex; align-items: center; gap: 8px;
  font-family: var(--kop); font-weight: 600; font-size: 10.5px; letter-spacing: .5em;
  text-transform: uppercase; color: var(--inkt-zacht);
}
.balk-naam small::before, .balk-naam small::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.balk-links { margin-left: auto; display: flex; gap: clamp(18px, 3vw, 44px); }
.balk-links a {
  position: relative; text-decoration: none; padding: 8px 0;
  font-family: var(--kop); font-weight: 600; font-size: 13px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--inkt);
}
.balk-links a::after {
  content: ""; position: absolute; left: 0; right: .24em; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--zacht);
}
.balk-links a:hover::after, .balk-links a[aria-current="page"]::after { transform: scaleX(1); }
.balk-extra {
  display: flex; align-items: center; gap: 14px; margin-left: auto; margin-right: clamp(14px, 2.6vw, 40px);
  padding: 6px 6px 6px 12px; border-radius: 999px;
  background: rgba(20, 9, 16, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 238, 232, .12);
}
.taal { display: flex; align-items: center; gap: 2px; }
.taal button {
  background: none; border: 0; cursor: pointer; padding: 6px 7px;
  font-family: var(--kop); font-weight: 600; font-size: 13px; letter-spacing: .18em;
  color: rgba(244, 238, 232, .6); transition: color .3s;
}
.taal button[aria-pressed="true"] { color: var(--creme-licht); }
.taal button:hover { color: var(--creme-licht); }
.taal span { color: rgba(244, 238, 232, .35); }
.balk-ig { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--creme-licht); border: 1px solid rgba(244, 238, 232, .3); transition: background .3s, border-color .3s; }
.balk-ig:hover { background: rgba(244, 238, 232, .1); border-color: rgba(244, 238, 232, .6); }
.balk-ig svg { width: 17px; height: 17px; }
.balk-menuknop { display: none; }
.balk-paneel { display: none; }

/* Op de openingspagina schuift de balk pas na een moment in beeld */
body.home .balk { animation: balk-in 1.3s var(--zacht) 2.6s both; }
html.logo-al-gezien body.home .balk { animation-delay: .3s; }
@keyframes balk-in { from { transform: translateY(-160%); } to { transform: none; } }
body.home .balk-extra { animation: vervagen-in 1s ease 3.3s both; }
html.logo-al-gezien body.home .balk-extra { animation-delay: 1s; }
@keyframes vervagen-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .balk { top: 12px; }
  .balk-strook { flex: 1 1 auto; margin-right: 0; padding-right: 64px; --balk-hoogte: 64px; }
  .balk-links, .balk-extra { display: none; }
  .balk-merk img { height: 44px; }
  .balk-naam b { font-size: 18px; letter-spacing: .16em; }
  .balk-naam small { font-size: 9px; letter-spacing: .42em; margin-top: 6px; }
  .balk-menuknop {
    display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .balk-menuknop i { display: block; width: 24px; height: 1.5px; background: var(--inkt); position: relative; transition: background .3s; }
  .balk-menuknop i::before, .balk-menuknop i::after { content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--inkt); transition: transform .35s var(--zacht); }
  .balk-menuknop i::before { top: -7px; } .balk-menuknop i::after { top: 7px; }
  .balk.open .balk-menuknop i { background: transparent; }
  .balk.open .balk-menuknop i::before { transform: translateY(7px) rotate(45deg); }
  .balk.open .balk-menuknop i::after { transform: translateY(-7px) rotate(-45deg); }
  .balk-paneel {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; top: 86px; left: 12px; right: 12px;
    padding: 26px 28px 24px;
    background: var(--creme) url("../img/papier.png");
    border-radius: 6px 40px 6px 40px;
    box-shadow: var(--schaduw);
    opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity .3s, transform .4s var(--zacht), visibility 0s .4s;
  }
  .balk.open .balk-paneel { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .4s var(--zacht); }
  .balk-paneel a.groot {
    font-family: var(--kop); font-size: 32px; font-weight: 500; text-decoration: none; padding: 6px 0;
    border-bottom: 1px solid var(--lijn);
  }
  .balk-paneel a.groot[aria-current="page"] { font-style: italic; }
  .balk-paneel .rij { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
  .balk-paneel .taal button { color: var(--inkt-zacht); font-size: 15px; }
  .balk-paneel .taal button[aria-pressed="true"] { color: var(--inkt); text-decoration: underline; text-underline-offset: 5px; }
  .balk-paneel .taal span { color: var(--lijn); }
  .balk-paneel .balk-ig { color: var(--inkt); border-color: var(--lijn); }
}

/* ---------- EILANDEN: losse crème vlakken die over de bladeren zweven ---------- */
main.eilanden {
  position: relative;
  width: min(1260px, calc(100% - 48px));
  margin: 124px auto 0;
  display: flex; flex-direction: column; gap: clamp(28px, 3.6vw, 50px);
}
.eiland {
  position: relative;
  padding: clamp(32px, 4.6vw, 70px) clamp(24px, 5vw, 76px);
  background-color: var(--creme);
  background-image:
    url("../img/papier.png"),
    radial-gradient(ellipse 110% 95% at 50% 45%, transparent 58%, rgba(140, 100, 118, .17) 100%),
    radial-gradient(ellipse at 18% 0%, #f6f0ea, transparent 62%);
  border-radius: 40px 160px 40px 120px / 40px 120px 40px 90px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 0 50px rgba(120, 80, 100, .1), var(--schaduw);
  animation: vel-in 1s var(--zacht) both;
}
.eiland.vorm-a { border-radius: 40px 220px 40px 150px / 40px 170px 40px 120px; }
.eiland.vorm-b { border-radius: 150px 40px 180px 40px / 120px 40px 140px 40px; }
.eiland.vorm-c { border-radius: 40px 40px 200px 40px / 40px 40px 150px 40px; }
.eiland.vorm-d { border-radius: 40px 130px 40px 200px / 40px 110px 40px 170px; }
.eiland.vorm-e { border-radius: 180px 40px 170px 40px / 220px 40px 200px 40px; }
.eiland.donker {
  background: rgba(22, 9, 18, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(244, 238, 232, .16), var(--schaduw);
  color: var(--creme-licht);
}
.eiland.donker :is(h1, h2, h3, blockquote) { color: var(--creme-licht); }
.eiland.donker .label, .eiland.donker figcaption { color: rgba(244, 238, 232, .72); }
.rij-eilanden { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 50px); align-items: stretch; }
@keyframes vel-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .rij-eilanden { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  main.eilanden { width: calc(100% - 20px); margin-top: 92px; gap: 24px; }
  .eiland { padding: 32px 22px; }
  .eiland.vorm-a { border-radius: 24px 90px 24px 64px / 24px 70px 24px 50px; }
  .eiland.vorm-b { border-radius: 64px 24px 80px 24px / 50px 24px 60px 24px; }
  .eiland.vorm-c { border-radius: 24px 24px 90px 24px / 24px 24px 70px 24px; }
  .eiland.vorm-d { border-radius: 24px 60px 24px 90px / 24px 50px 24px 70px; }
  .eiland.vorm-e { border-radius: 80px 24px 80px 24px / 90px 24px 90px 24px; }
}

/* ---------- BLADERLAGEN (img/bladlagen/) ----------
   laag-1 ligt boven het eerste blok en onder het tweede blok.
   laag-2 ligt boven alles, behalve de balk.
   Elke tros bladeren wiegt zacht vanaf de rand van het scherm:
     --a = hoe ver hij heen en weer gaat (graden), --d = hoe lang één beweging duurt,
     --o = het draaipunt (de plek waar de tros "vastzit").
   Minder of meer beweging voor alles tegelijk? Pas --wind hieronder aan (0 = stil, 1 = normaal, 2 = storm). */
main.met-lagen { --main-top: 124px; --wind: 1; }
main.met-lagen > .eiland, main.met-lagen > .rij-eilanden, main.met-lagen > .pijlers { z-index: 2; }
main.met-lagen > .eiland-onder { z-index: 1; }
.bladlaag {
  position: absolute; pointer-events: none; user-select: none;
  left: 50%; width: 100vw; margin-left: -50vw;
}
.bladlaag.laag-1 { --laag1-zak: 15vw; z-index: 9; bottom: calc(-1 * var(--laag1-zak)); }
.bladlaag.laag-2 { z-index: 20; top: calc(-1 * var(--main-top)); width: 106vw; margin-left: -53vw; }
.blad-stuk {
  position: absolute; max-width: none; height: auto;
  transform-origin: var(--o, 50% 50%);
  animation: wiegen var(--d, 9s) ease-in-out var(--v, 0s) infinite alternate, bladeren-in 1.6s var(--zacht) .15s backwards;
  will-change: transform;
}
@keyframes wiegen {
  0%   { rotate: calc(var(--a) * var(--wind) * -1); }
  45%  { rotate: calc(var(--a) * var(--wind) * .35); }
  100% { rotate: calc(var(--a) * var(--wind)); }
}
@keyframes bladeren-in { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
/* zodra de wind (js/wind.js) draait, buigen de bladeren zelf en draait de tros niet meer als geheel */
.blad-stuk.levend { animation: bladeren-in 1.6s var(--zacht) .15s backwards; height: auto; }
/* tekst in het eerste blok iets naar rechts, weg van de bladeren */
main.met-lagen > .eiland-onder .hero > div:first-child { padding-left: clamp(0px, calc(22vw - 220px), 60px); }
@media (max-width: 1300px) { .bladlaag.laag-2 { width: 112vw; margin-left: -56vw; } }
@media (max-width: 1100px) { main.met-lagen > .eiland-onder .hero > div:first-child { padding-left: 24px; } main.met-lagen .zin-opzij { display: none; } }
@media (max-width: 900px) { main.met-lagen > .eiland-onder .hero > div:first-child { padding-left: 0; } }
@media (max-width: 700px) {
  main.met-lagen { --main-top: 92px; }
  .bladlaag.laag-2 { width: 100vw; margin-left: -50vw; }
  .bladlaag.laag-1 { --laag1-zak: 20vw; }
}
@media (prefers-reduced-motion: reduce) { .blad-stuk { animation: none; } }

/* ---------- Typografie ---------- */
.label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-family: var(--kop); font-weight: 600; font-size: 12.5px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--inkt-zacht);
}
.label.met-lijn::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .55; }
h1, h2, h3 { font-family: var(--kop); font-weight: 500; line-height: 1.02; margin: 0; color: var(--inkt); }
h1 { font-size: clamp(52px, 8vw, 104px); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; display: block; padding-left: .08em; }
h2 { font-size: clamp(38px, 4.6vw, 58px); }
h3 { font-size: 26px; }
.streep { width: 52px; height: 1px; background: var(--inkt); opacity: .5; margin: 26px 0; border: 0; }
.intro { font-size: 20px; max-width: 30em; color: #3e2c38; }
p { margin: 0 0 1em; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--pruim-700), var(--pruim-800));
  color: var(--creme-licht); text-decoration: none;
  font-family: var(--kop); font-weight: 600; font-size: 13px; letter-spacing: .26em; text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(46, 23, 39, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .35s var(--zacht), box-shadow .35s;
}
.knop:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(46, 23, 39, .38), inset 0 1px 0 rgba(255, 255, 255, .12); }
.knop svg, .tekstlink svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--zacht); }
.knop:hover svg, .tekstlink:hover svg { transform: translateX(4px); }
.knop.omlijnd { background: transparent; color: var(--inkt); box-shadow: inset 0 0 0 1px rgba(42, 26, 37, .45); }
.knop.omlijnd:hover { box-shadow: inset 0 0 0 1px var(--inkt); }
.tekstlink {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--kop); font-weight: 600; font-size: 13px; letter-spacing: .26em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Organische lijsten om beelden ---------- */
.lijst { display: block; position: relative; overflow: hidden; background: var(--creme-donker); box-shadow: 0 18px 40px rgba(20, 8, 16, .25); }
.lijst.rand { border: 5px solid #f3ece5; }
.lijst img { width: 100%; height: 100%; object-fit: cover; }
.vorm-blad { border-radius: 6px 50% 6px 50% / 6px 42% 6px 42%; }
.vorm-druppel { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.vorm-boog { border-radius: 48% 48% 14px 14px / 34% 34% 14px 14px; }
.vorm-kiezel { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.vorm-kiezel2 { border-radius: 42% 58% 46% 54% / 56% 44% 56% 44%; }
.vorm-ei { border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; }

/* ---------- Collecties: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-beeld { position: relative; aspect-ratio: 1 / .92; }
.hero-beeld .lijst { position: absolute; }
.hero-beeld .hoofd { left: 18%; top: 2%; width: 56%; height: 90%; z-index: 1; }
.hero-beeld .links { left: 0; top: 34%; width: 30%; height: 50%; z-index: 2; }
.hero-beeld .rechts { right: 0; top: 46%; width: 34%; height: 40%; z-index: 2; }
.hero-beeld .lijst { animation: zweven-in 1.2s var(--zacht) both; }
.hero-beeld .links { animation-delay: .25s; } .hero-beeld .rechts { animation-delay: .4s; }
@keyframes zweven-in { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.zin-opzij {
  position: absolute; right: -6px; top: -4px; margin: 0; max-width: 120px; text-align: right;
  font-family: var(--kop); font-weight: 600; font-size: 11px; letter-spacing: .3em; line-height: 2; text-transform: uppercase; color: var(--inkt-zacht);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-beeld { order: -1; aspect-ratio: 1 / .86; }
  .zin-opzij { display: none; }
}

/* ---------- Sectiekop met lijn ---------- */
.sectiekop { display: flex; align-items: center; gap: 22px; margin: clamp(64px, 9vw, 110px) 0 30px; }
.eiland > .sectiekop:first-of-type { margin-top: 0; }
.sectiekop .label { margin: 0; white-space: nowrap; font-size: 14px; color: var(--inkt); }
.sectiekop .lijntje { flex: 1; height: 1px; background: var(--lijn); }
.sectiekop button, .sectiekop a { white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding: 0; }
.sectiekop svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .sectiekop .lijntje, #alles-tonen { display: none; } .sectiekop { justify-content: space-between; } }

/* ---------- ABSTRACTE VORMEN (zie js/vormen.js) ---------- */
.lijst.gevormd { overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 22px 26px rgba(20, 8, 16, .3)); }
.lijst.gevormd .vorm { position: absolute; inset: 0; overflow: hidden; background: var(--creme-donker); }
.lijst.gevormd .vorm img { width: 100%; height: 100%; object-fit: cover; }
.vorm-rand { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vorm-rand path { fill: none; stroke: #f3ece5; stroke-width: 6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

/* ---------- Galerij ---------- */
.galerij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; grid-auto-flow: dense; }
.galerij .leeg { grid-column: 1 / -1; }
.werk {
  margin: 0; cursor: zoom-in; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; min-width: 0; height: auto;
  background: none; border: 0; padding: 0; text-align: left; color: inherit;
  animation: werk-in .7s var(--zacht) both;
}
@keyframes werk-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.werk .lijst { aspect-ratio: 4 / 5; border-radius: 4px; box-shadow: 0 14px 30px rgba(20, 8, 16, .22); background: var(--creme-donker); }
.werk.liggend { grid-column: span 2; }
.werk.liggend .lijst { aspect-ratio: 1.66 / 1; }
.werk .lijst img { height: 100%; object-fit: cover; transition: transform 1.1s var(--zacht), filter .6s; }
.werk:hover .lijst img { transform: scale(1.035); }
.werk-tekst { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px 0; }
.werk-tekst b { font-family: var(--kop); font-weight: 500; font-size: 24px; font-style: italic; line-height: 1.15; }
.werk-tekst small { font-family: var(--kop); font-weight: 600; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt-zacht); white-space: nowrap; }
.leeg { color: var(--inkt-zacht); font-style: italic; }
@media (max-width: 900px) { .galerij { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } }
@media (max-width: 560px) {
  .werk-tekst { flex-direction: column; gap: 2px; padding-top: 10px; }
  .werk-tekst b { font-size: 20px; }
  .werk-tekst small { font-size: 9.5px; }
}

/* ---------- Lichtbak ---------- */
dialog.lichtbak {
  width: min(1180px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; overflow: visible;
  background: transparent; color: var(--inkt);
}
dialog.lichtbak::backdrop { background: rgba(14, 6, 11, .86); backdrop-filter: blur(6px); }
dialog.lichtbak[open] { animation: lichtbak-in .45s var(--zacht); }
@keyframes lichtbak-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.lb-binnen {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  background: var(--creme) url("../img/papier.png"); border-radius: 18px 80px 18px 18px; overflow: hidden;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
}
.lb-beeld { background: #1a0c16; display: grid; place-items: center; min-height: 0; padding: 24px; }
.lb-beeld img { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.lb-info { padding: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; overflow: auto; }
.lb-info h2 { font-style: italic; margin-bottom: 18px; }
.lb-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 6px 0 22px; font-size: 16px; }
.lb-info dt { font-family: var(--kop); font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--inkt-zacht); padding-top: 4px; }
.lb-info dd { margin: 0; }
.lb-info .knop { align-self: flex-start; margin-top: auto; }
.lb-sluit, .lb-pijl {
  position: absolute; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(244, 238, 232, .92); border: 0; color: var(--inkt); box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  transition: transform .3s var(--zacht);
}
.lb-sluit:hover, .lb-pijl:hover { transform: scale(1.06); }
.lb-sluit { top: -14px; right: -14px; }
.lb-pijl { top: 50%; margin-top: -24px; }
.lb-pijl.vorige { left: -18px; } .lb-pijl.volgende { right: -18px; }
.lb-sluit svg, .lb-pijl svg { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .lb-binnen { grid-template-columns: 1fr; overflow: auto; border-radius: 14px 48px 14px 14px; }
  .lb-beeld { padding: 14px; }
  .lb-beeld img { max-height: 58vh; }
  .lb-sluit { top: 8px; right: 8px; }
  .lb-pijl { top: 29vh; }
  .lb-pijl.vorige { left: 6px; } .lb-pijl.volgende { right: 6px; }
  .lb-info .knop { margin-top: 12px; }
}
@media (max-width: 560px) {
  .knop { letter-spacing: .18em; padding: 16px 22px 15px; gap: 10px; }
}

/* ---------- COLLECTIE-OVERZICHT (collecties.html) ---------- */
.overzicht { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); padding: 14px 0 10px; }
.coll-rij { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.coll-rij:nth-child(even) .coll-beeld { order: 2; }
.coll-beeld { position: relative; display: block; aspect-ratio: 1.12 / 1; }
.coll-beeld .lijst { position: absolute; transition: transform .7s var(--zacht); }
.coll-beeld .lijst.groot { left: 0; top: 0; width: 80%; height: 90%; }
.coll-beeld .lijst.klein { right: 0; bottom: 0; width: 36%; height: 42%; z-index: 2; }
.coll-rij:nth-child(even) .coll-beeld .lijst.groot { left: auto; right: 0; }
.coll-rij:nth-child(even) .coll-beeld .lijst.klein { right: auto; left: 0; }
.coll-beeld .vorm img { transition: transform 1.3s var(--zacht); }
.coll-beeld:hover .lijst.groot { transform: translateY(-8px); }
.coll-beeld:hover .lijst.klein { transform: translateY(6px); }
.coll-beeld:hover .vorm img { transform: scale(1.05); }
.coll-nr { margin: 0 0 4px; font-family: var(--kop); font-style: italic; font-weight: 500; font-size: 58px; line-height: 1; color: var(--pruim-600); opacity: .45; }
.coll-tekst h3 { font-size: clamp(42px, 4.6vw, 64px); margin: 0 0 8px; }
.coll-tekst h3 a { text-decoration: none; }
.coll-tekst h3 a:hover { font-style: italic; }
.coll-sub { margin: 0 0 22px; font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--inkt-zacht); }
.coll-kort { font-size: 19.5px; max-width: 26em; color: #3e2c38; }
.coll-onder { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin: 26px 0 0; }
.coll-aantal { font-family: var(--kop); font-weight: 600; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt-zacht); white-space: nowrap; }
@media (max-width: 800px) {
  .coll-rij { grid-template-columns: 1fr; gap: 26px; }
  .coll-rij:nth-child(even) .coll-beeld { order: 0; }
  .coll-nr { font-size: 46px; }
}

/* ---------- PAGINA PER COLLECTIE (collectie.html) ---------- */
.coll-kop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.coll-kop h1 { font-size: clamp(58px, 8vw, 112px); margin-bottom: 10px; }
.coll-kop .coll-sub { margin-bottom: 0; }
.coll-kop-tekst p:not(.label):not(.coll-sub) { font-size: 19px; max-width: 32em; color: #3e2c38; }
.coll-kop-beeld .lijst { aspect-ratio: 4 / 4.7; }
.terug { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; text-decoration: none; font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt-zacht); transition: color .3s; }
.terug:hover { color: var(--inkt); }
.terug svg { width: 16px; height: 16px; transition: transform .35s var(--zacht); }
.terug:hover svg { transform: translateX(-4px); }
.coll-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px clamp(22px, 5vw, 64px); }
.coll-buur { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.coll-buur svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--zacht); }
.coll-buur.vorige:hover svg { transform: translateX(-4px); }
.coll-buur.volgende:hover svg { transform: translateX(4px); }
.coll-buur.volgende { text-align: right; }
.coll-buur small { display: block; font-family: var(--kop); font-weight: 600; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt-zacht); }
.coll-buur b { display: block; font-family: var(--kop); font-weight: 500; font-style: italic; font-size: 26px; line-height: 1.2; }
.coll-buur.alles { font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.sectiekop #coll-aantal { margin-left: 4px; }
@media (max-width: 800px) {
  .coll-kop { grid-template-columns: 1fr; }
  .coll-kop-beeld { order: -1; max-width: 420px; }
  .coll-buur.alles { display: none; }
  .coll-buur b { font-size: 21px; }
}

/* ---------- Over mij (over.html) ---------- */
.verhaal-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.portret-stapel { position: relative; padding: 0 12% 12% 0; }
.portret-stapel .groot { aspect-ratio: 3 / 4; }
.portret-stapel .klein { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1.1; z-index: 2; }
.verhaal-hero .tekst p { font-size: 19px; }
.groot-citaat { text-align: center; margin: 0; padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }
.groot-citaat > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.groot-citaat .label { justify-content: center; }
.groot-citaat blockquote { margin: 0 auto; font-family: var(--kop); font-style: italic; font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.18; }
.groot-citaat blockquote::before { content: "\201C"; display: block; font-size: 1.8em; line-height: .6; color: var(--zilver); opacity: .6; }
.groot-citaat figcaption { margin-top: 28px; font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }
.werkwijze { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.werkwijze .lijst { aspect-ratio: 1 / 1; }
.pijlers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 50px); }
.eiland.pijler { display: block; text-decoration: none; padding: 34px 32px 30px; transition: transform .45s var(--zacht); }
.eiland.pijler:nth-child(1) { border-radius: 30px 90px 30px 60px / 30px 70px 30px 50px; }
.eiland.pijler:nth-child(2) { border-radius: 90px 30px 90px 30px / 70px 30px 70px 30px; }
.eiland.pijler:nth-child(3) { border-radius: 30px 30px 100px 30px / 30px 30px 80px 30px; }
.eiland.pijler:hover { transform: translateY(-6px); }
.pijler h3 { margin-bottom: 8px; }
.pijler p { margin: 0 0 14px; font-size: 17px; color: #4a3744; }
.pijler .tekstlink { font-size: 11.5px; }
.afsluiter { text-align: center; }
.afsluiter .knoppen { justify-content: center; margin-top: 26px; }
@media (max-width: 900px) {
  .verhaal-hero, .werkwijze { grid-template-columns: 1fr; }
  .portret-stapel { max-width: 460px; }
  .werkwijze .lijst { order: -1; aspect-ratio: 4 / 3; }
  .pijlers { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.rij-eilanden.contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.contact .intro { margin-bottom: 28px; }
.contact-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-lijst li { display: flex; align-items: center; gap: 14px; font-family: var(--kop); font-size: 21px; font-style: italic; }
.contact-lijst a { text-decoration: none; overflow-wrap: anywhere; }
.contact-lijst a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-lijst .ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--lijn); }
.contact-lijst svg { width: 18px; height: 18px; }
.contact-ig { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--kop); font-size: 22px; font-style: italic; }
.contact-ig span.ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--lijn); }
.contact-ig svg { width: 18px; height: 18px; }
.contact .lijst { margin-top: 36px; aspect-ratio: 4 / 3; max-width: 380px; }
form.formulier { margin: 0; }
.veld { margin-bottom: 20px; }
.veld label { display: block; margin-bottom: 8px; font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--inkt-zacht); }
.veld input, .veld textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(42, 26, 37, .22); background: rgba(255, 255, 255, .55);
  font-family: var(--tekst); font-size: 18px; color: var(--inkt); transition: border-color .3s, background .3s;
}
.veld input:focus, .veld textarea:focus { outline: none; border-color: var(--pruim-700); background: rgba(255, 255, 255, .85); }
.veld textarea { min-height: 160px; resize: vertical; }
.klein-tekst { font-size: 14.5px; color: var(--inkt-zacht); margin: 4px 0 22px; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 900px) { .rij-eilanden.contact { grid-template-columns: 1fr; } .contact .lijst { display: none; } }
@media (max-width: 520px) { .twee { grid-template-columns: 1fr; } }

/* ---------- Eenvoudige melding (bedankt / 404) ---------- */
.melding { text-align: center; padding: clamp(30px, 6vw, 80px) 0; }
.melding img.logo { height: 120px; width: auto; margin: 0 auto 26px; }
.melding .intro { margin: 18px auto 30px; }
.melding .knoppen { justify-content: center; }

/* ---------- VOET (widget, zie js/voet.js): blijft onderin staan tijdens het scrollen ---------- */
body.binnen { padding-bottom: 100px; }
.voet {
  position: fixed; z-index: 45; left: 50%; bottom: 14px; translate: -50% 0;
  width: min(1260px, calc(100% - 48px)); height: 54px;
  display: flex; align-items: center; gap: 24px; padding: 0 8px 0 18px;
  border-radius: 999px;
  background: rgba(20, 9, 16, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 238, 232, .1);
  box-shadow: 0 12px 30px rgba(8, 2, 6, .35);
  color: rgba(244, 238, 232, .78);
  font-family: var(--kop); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  animation: voet-in .9s var(--zacht) .5s both;
}
@keyframes voet-in { from { translate: -50% 140%; } to { translate: -50% 0; } }
.voet a { text-decoration: none; transition: color .3s; }
.voet a:hover { color: var(--creme-licht); }
.voet-merk { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.voet-merk img { height: 32px; width: auto; }
.voet-links { display: flex; gap: 26px; margin-left: auto; }
.voet-links a[aria-current="page"] { color: var(--creme-licht); text-decoration: underline; text-underline-offset: 5px; }
.voet .balk-ig { width: 38px; height: 38px; flex: none; }
.voet .kort { display: none; }
@media (max-width: 700px) {
  body.binnen { padding-bottom: 84px; }
  .voet { width: calc(100% - 20px); bottom: 10px; height: 46px; gap: 14px; padding: 0 16px; font-size: 10px; letter-spacing: .12em; justify-content: space-between; }
  .voet-merk img, .voet .balk-ig, .voet .lang { display: none; }
  .voet .kort { display: inline; }
  .voet-links { gap: 14px; }
}

/* ---------- Juridische pagina's (privacy, auteursrecht, disclaimer) ---------- */
.juridisch { max-width: 780px; }
.juridisch h1 { font-size: clamp(46px, 6vw, 80px); margin-bottom: 10px; }
.juridisch .bijgewerkt { font-family: var(--kop); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--inkt-zacht); }
.juridisch h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 42px 0 12px; }
.juridisch p, .juridisch li { font-size: 18px; color: #3e2c38; }
.juridisch ul { padding-left: 1.2em; margin: 0 0 1em; }
.juridisch li { margin-bottom: 6px; }
.juridisch .invullen { background: rgba(107, 68, 97, .14); padding: 0 .3em; border-radius: 4px; }
.juridisch a { text-underline-offset: 4px; }
/* alinea's met links erin hebben een Nederlandse en een Engelse versie naast elkaar */
html[lang="en"] .nl-tekst, html:not([lang="en"]) .en-tekst { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
