/* Dynamic Spaces — WonderWeb Studio
   Rust en balans: warme aardetinten, veel ruimte, beweging alleen in de hero.
   Buiten de hero: geen transform, animation of transition. */

/* Lettertypen van de eigen server (geen verzoek naar Google) */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/newsreader-cursief-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/newsreader-cursief-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --linnen: #efe8dc;
  --beige: #e5dccd;
  --kaart: #f6f1e8;
  --zand: #c9b494;
  --groen: #33463a;
  --groen-diep: #1f2c24;
  --groen-hover: #2b3b31;
  --oker: #7a5a2b;
  --terracotta: #8f5236;
  --tekst: #29251f;
  --tekst-zacht: #564e43;
  --licht: #f3ede2;
  --licht-zacht: #d9d1c3;
  --lijn: rgba(70, 56, 36, 0.2);
  --lijn-sterk: rgba(70, 56, 36, 0.42);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
  --kader: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--tekst);
  background: var(--linnen);
  overflow-x: hidden;
}
body.menu-vast { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--groen); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
figure { margin: 0; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--groen-diep); }

/* Koppen: hoofdletters, ruim gespatieerd, zoals het woordmerk van het logo */
h1, h2 {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--groen-diep);
  margin: 0 0 0.7em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem); font-weight: 500; line-height: 1.02; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.45rem, 1rem + 2.2vw, 2.9rem); text-wrap: balance; }
h2 .kop-klein { text-transform: none; }
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  line-height: 1.2;
  color: var(--groen-diep);
  margin: 0 0 0.6em;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-smal { max-width: 960px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oker);
  margin-bottom: 1.25rem;
}
.eyebrow-licht { color: #cdb892; }
.intro { font-size: 1.28rem; line-height: 1.55; color: var(--tekst); max-width: 40ch; }
.kleine-letters { font-size: 0.9rem; color: var(--tekst-zacht); }

/* Knoppen: rechthoekig, hoofdletters; bij hover verandert alleen de kleur */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn-pijl { width: 18px; height: 18px; flex: none; }
.btn-groen { background: var(--groen-diep); color: var(--licht); }
.btn-groen:hover { background: var(--groen); color: var(--licht); }
.btn-lijn { background: transparent; color: var(--groen-diep); border-color: var(--groen-diep); }
.btn-lijn:hover { background: var(--groen-diep); color: var(--licht); }
.btn-breed { width: 100%; }

/* ---------- Header ----------
   Boven de hero (html.over-hero): transparant, taalkeuze links, logo in het midden, Menu rechts.
   Daarna: linnen balk. Open menu (html.menu-open): donkergroen vlak over de hele pagina. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--linnen);
  border-bottom: 1px solid var(--lijn);
  color: var(--groen-diep);
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "brand . taal menu";
  align-items: center;
  column-gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2.5rem, 1320px);
  margin-inline: auto;
}
.brand { grid-area: brand; position: relative; z-index: 1; display: flex; align-items: center; }
.brand-logo { width: auto; height: 50px; }
.brand-logo-licht { display: none; }

/* Taalkeuze NL / EN: twee links, de actieve taal op volle sterkte */
.taal {
  grid-area: taal;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--lijn-sterk);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  justify-self: end;
}
.taal-optie { padding: 0.5rem 0 0.5rem 0.28em; color: inherit; }
a.taal-optie { text-decoration: none; }
a.taal-optie:hover { color: inherit; }
a.taal-optie:not(.is-actief) { opacity: 0.55; }
a.taal-optie:not(.is-actief):hover { opacity: 1; }
.taal-streep { width: 1px; height: 14px; background: currentColor; opacity: 0.45; }

.nav-toggle {
  grid-area: menu;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle-tekst { display: none; }
.nav-ico { width: 30px; height: 12px; flex: none; }
.nav-ico-sluit { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-sluit { display: block; }

/* Menu als rustig vlak over de hele pagina */
.nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow-y: auto;
  padding: calc(var(--header-h) + 3rem) 1.5rem 3rem;
  background: var(--groen-diep);
}
.nav.open { display: flex; align-items: center; justify-content: center; }
.nav-lijst { list-style: none; margin: 0; padding: 0; text-align: center; }
.nav-lijst li + li { margin-top: 0.4rem; }
.nav-lijst a {
  display: inline-block;
  padding: 0.45rem 0.5rem;
  font-family: var(--sans);
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--licht);
}
.nav-lijst a:hover { color: #cdb892; }

/* Lichte header: boven de hero en bij een open menu */
.over-hero .site-header,
.menu-open .site-header { background: transparent; border-bottom-color: transparent; color: var(--licht); }
.over-hero .brand-logo-donker,
.menu-open .brand-logo-donker { display: none; }
.over-hero .brand-logo-licht,
.menu-open .brand-logo-licht { display: block; }
.over-hero .taal,
.menu-open .taal { border-color: rgba(243, 237, 226, 0.6); }
.over-hero .site-header { text-shadow: 0 1px 12px rgba(20, 16, 10, 0.55); }
.over-hero .brand-logo-licht { filter: drop-shadow(0 1px 10px rgba(20, 16, 10, 0.45)); }

/* Boven de hero: binnen het kader, symmetrisch */
.over-hero .site-header { top: var(--kader); left: var(--kader); right: var(--kader); }
.over-hero .header-inner {
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "taal brand menu";
  min-height: 92px;
  width: calc(100% - 2rem);
}
.over-hero .taal { justify-self: start; }
.over-hero .nav-toggle { justify-self: end; }
.over-hero .brand-logo { height: 52px; }
@media (min-width: 480px) { .over-hero .nav-toggle-tekst { display: block; } }
.over-hero .nav { padding-top: calc(92px + 3rem); }

@media (min-width: 560px) {
  .nav-toggle-tekst { display: block; }
}

@media (min-width: 900px) {
  :root { --header-h: 88px; --kader: 18px; }
  .brand-logo { height: 58px; }
  .over-hero .header-inner { min-height: 128px; width: calc(100% - 4rem); }
  .over-hero .brand-logo { height: 84px; }
  .over-hero .nav { padding-top: calc(128px + 3rem); }
}

/* Brede schermen, na de hero: menu als regel in de balk */
@media (min-width: 1100px) {
  html:not(.over-hero) .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav taal";
    column-gap: 2.5rem;
  }
  html:not(.over-hero) .nav-toggle { display: none; }
  html:not(.over-hero) .nav {
    grid-area: nav;
    display: block;
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
    justify-self: end;
  }
  html:not(.over-hero) .nav-lijst { display: flex; gap: 1.5rem; }
  html:not(.over-hero) .nav-lijst li + li { margin-top: 0; }
  html:not(.over-hero) .nav-lijst a {
    padding: 0.5rem 0;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    white-space: nowrap;
    color: var(--groen-diep);
  }
  html:not(.over-hero) .nav-lijst a:hover { color: var(--terracotta); }
}
/* Zeven menu-items: pas vanaf 1280 px de ruime spatiëring */
@media (min-width: 1280px) {
  html:not(.over-hero) .nav-lijst { gap: 2.2rem; }
  html:not(.over-hero) .nav-lijst a { letter-spacing: 0.26em; }
}

/* ---------- Hero: de enige plek waar iets beweegt ---------- */
.hero {
  position: relative;
  margin: var(--kader) var(--kader) 0;
  height: calc(100vh - 2 * var(--kader));
  height: calc(100svh - 2 * var(--kader));
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--groen-diep);
  color: var(--licht);
  text-align: center;
}
.hero-beelden { position: absolute; inset: 0; }
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  --pan-x: 0%;
  --pan-y: 0%;
}
.hero-foto-1 { opacity: 1; object-position: 30% center; --pan-x: 2%; }
.hero-foto-2 { object-position: 46% center; --pan-x: -2%; }
.hero-foto-3 { object-position: 50% 42%; --pan-y: 1.2%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 75% 60% at 50% 52%, rgba(24, 20, 14, 0.36) 0%, rgba(24, 20, 14, 0) 100%),
    linear-gradient(180deg, rgba(24, 20, 14, 0.62) 0%, rgba(24, 20, 14, 0.46) 28%, rgba(24, 20, 14, 0.46) 60%, rgba(24, 20, 14, 0.66) 100%);
}
.hero-inner {
  position: relative;
  z-index: 4;
  width: min(100% - 2.5rem, 1100px);
  padding: 7rem 0 7.5rem;
}
.hero h1 {
  color: var(--licht);
  margin-bottom: 0.4em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(20, 16, 10, 0.45);
}
.hero-tekst {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
  line-height: 1.4;
  color: var(--licht);
  margin: 0 auto 2.4rem;
  max-width: 30em;
  text-wrap: balance;
  text-shadow: 0 1px 16px rgba(20, 16, 10, 0.6);
}
.btn-hero { color: var(--licht); border-color: rgba(243, 237, 226, 0.75); background: rgba(24, 20, 14, 0.12); }
.btn-hero:hover { background: var(--licht); color: var(--groen-diep); border-color: var(--licht); }

.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  width: 44px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0 0.9rem;
  border: 1px solid rgba(243, 237, 226, 0.6);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--licht);
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 22px; background: currentColor; }
.hero-scroll:hover { color: var(--licht); background: rgba(243, 237, 226, 0.12); }

@media (max-height: 640px) { .hero-scroll { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* 3 beelden x 10 s; 2 s overvloei; trage zoom 1,02 -> 1,12 over de zichtbare tijd (12 s) */
  .hero.is-levend .hero-foto {
    will-change: transform, opacity;
    animation:
      hero-vloei 30s ease-in-out infinite,
      hero-zoom 30s linear infinite,
      hero-laag 30s linear infinite;
  }
  .hero-foto-1 { transform: translate(calc(var(--pan-x) * 0.1667), 0%) scale(1.02); }
  .hero.is-levend .hero-foto-2 { animation-delay: -20s; }
  .hero.is-levend .hero-foto-3 { animation-delay: -10s; }
  .hero.is-levend.is-gepauzeerd .hero-foto { animation-play-state: paused; }
}
@keyframes hero-vloei {
  0%, 33.3% { opacity: 1; }
  33.33%, 93.33% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hero-zoom {
  0% { transform: translate(calc(var(--pan-x) * 0.1667), calc(var(--pan-y) * 0.1667)) scale(1.02); }
  33.33% { transform: translate(var(--pan-x), var(--pan-y)) scale(1.12); }
  33.34%, 93.33% { transform: translate(0%, 0%) scale(1); }
  100% { transform: translate(calc(var(--pan-x) * 0.1667), calc(var(--pan-y) * 0.1667)) scale(1.02); }
}
@keyframes hero-laag {
  0%, 5% { z-index: 2; }
  5.01%, 93.32% { z-index: 1; }
  93.33%, 100% { z-index: 2; }
}

/* ---------- Secties ---------- */
.sectie { padding: 5rem 0; }
@media (min-width: 900px) { .sectie { padding: 8rem 0; } }
.sectie-beige { background: var(--beige); }
.sectie-donker { background: var(--groen-diep); color: var(--licht); }
.sectie-donker h2 { color: var(--licht); }
.sectie-kop { max-width: 720px; margin-bottom: 3rem; }
.sectie-kop-midden { margin-inline: auto; text-align: center; }
.sectie-kop-midden .intro { margin-inline: auto; max-width: 52ch; text-wrap: balance; }
@media (min-width: 900px) { .sectie-kop { margin-bottom: 4.5rem; } }

/* Uitklapblok: native details, wisselt alleen van stand */
.meer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.5rem 0;
  border-top: 1px solid var(--lijn);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--groen-diep);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.meer > summary::-webkit-details-marker { display: none; }
.meer > summary:hover { color: var(--terracotta); }
.meer-teken { position: relative; flex: none; width: 14px; height: 14px; margin-right: 0.25rem; }
.meer-teken::before, .meer-teken::after { content: ""; position: absolute; background: currentColor; }
.meer-teken::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.meer-teken::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.meer[open] > summary .meer-teken::after { display: none; }

/* ---------- Cursussen: eerst de uitleg, daarna de prijs; alles zichtbaar ---------- */
.cursussen { display: grid; gap: 3rem; }
.cursus {
  --pad: 1.4rem;
  display: flex;
  flex-direction: column;
  background: var(--kaart);
  border: 1px solid var(--lijn);
}
.cursus > :not(.cursus-foto) { margin-inline: var(--pad); }
.cursus-foto { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 2rem; }
.cursus-foto img { width: 100%; height: 100%; object-fit: cover; }
.cursus-datum {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oker);
  margin-bottom: 0.9rem;
}
ul.cursus-datum { list-style: none; padding: 0; }
.cursus-datum li + li { margin-top: 0.45rem; }
.cursus h3 { margin-bottom: 0.9rem; }
.cursus-lead { font-size: 1.18rem; line-height: 1.55; }
.cursus-uitleg { padding-bottom: 2.25rem; }
.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oker);
  margin-bottom: 0.5rem;
}
.cursus-prijs { padding-top: 2rem; border-top: 1px solid var(--lijn-sterk); }
.cursus-prijs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--groen-diep);
  cursor: pointer;
  list-style: none;
}
.cursus-prijs-toggle::-webkit-details-marker { display: none; }
.cursus-prijs-toggle::after { content: "+"; font-size: 1rem; }
.cursus-prijs[open] .cursus-prijs-toggle::after { content: "\2013"; }
.cursus-prijs[open] .cursus-prijs-toggle { margin-bottom: 1.25rem; }
.prijzen { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--lijn); }
.prijzen li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--lijn); }
.prijzen strong { font-weight: 500; font-size: 1.15rem; white-space: nowrap; }
.prijzen-noot { margin: 0.7rem 0 0; }
.cursus-details { margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.cursus-details dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oker);
  margin-bottom: 0.3rem;
}
.cursus-details dd { margin: 0; }
.cursus-details dd + dd { margin-top: 0.8rem; }
.cursus-details-klein dd { font-size: 1rem; line-height: 1.6; }
.cursus-voet { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 0.9rem; padding: 2rem 0 2.25rem; }
.cursus-noot { flex-basis: 100%; margin: 0.2rem 0 0; font-size: 1rem; color: var(--tekst-zacht); }

@media (min-width: 800px) {
  .cursussen { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .cursus { --pad: 2.25rem; }
  /* Rijen van beide kaarten lopen gelijk: prijzen en knoppen op één lijn */
  @supports (grid-template-rows: subgrid) {
    .cursus { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  }
}

/* ---------- Interview ---------- */
.video-kader { background: #141d17; outline: 1px solid rgba(243, 237, 226, 0.18); outline-offset: 10px; }
.video-kader video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Voor bedrijven: tekst, daarna een beeld tot de rand ---------- */
.split { display: grid; padding-top: 5rem; }
.split-tekst { width: min(100% - 2.5rem, 36rem); margin: 0 auto 3.5rem; }
.split-tekst .intro {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--groen-diep);
  margin-bottom: 1.5rem;
}
.split-tekst .btn { margin-top: 1rem; }
.split-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 48% center; }
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: clamp(3rem, 6vw, 6.5rem);
    padding: 8rem 0;
  }
  .split-tekst {
    width: auto;
    max-width: 34rem;
    margin: 0;
    justify-self: end;
    padding-left: 1.25rem;
  }
  .split-foto img { aspect-ratio: 5 / 4; }
}

/* ---------- Referentieprojecten ----------
   Homepagina: carrousel die de bezoeker zelf bedient (schuift alleen na een klik).
   Projectenpagina: drie groepen met stilstaande tegels. */
.projecten .sectie-kop { margin-bottom: 3rem; }
.project { min-width: 0; }
.project img { width: 100%; background: var(--linnen); }
.project figcaption { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 0 0; }
.project strong { font-size: 1.1rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.project span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tekst-zacht);
}

/* Carrousel */
.projecten-baan {
  --rand: max(1.25rem, calc((100% - var(--wrap)) / 2));
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rand);
  padding-inline: var(--rand);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.projecten-baan::-webkit-scrollbar { display: none; }
.projecten-baan:focus-visible { outline-offset: -2px; }
.projecten-baan .project { flex: 0 0 84%; scroll-snap-align: start; }
.projecten-baan .project img { aspect-ratio: 4 / 3; object-fit: cover; }
.projecten-baan .project:nth-child(1) img { object-position: 62% center; }
.projecten-baan .project:nth-child(2) img { object-position: 32% center; }
.projecten-baan .project figcaption { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; padding-top: 1.1rem; }
.projecten-baan .project strong { font-size: 1.25rem; }
.projecten-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2.5rem; }
.projecten-pijlen { display: flex; gap: 0.75rem; }
.pijlknop {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--groen-diep);
  border-radius: 0;
  background: transparent;
  color: var(--groen-diep);
  cursor: pointer;
}
.pijlknop svg { width: 22px; height: 22px; }
.pijlknop:hover { background: var(--groen-diep); color: var(--licht); }
.pijlknop[aria-disabled="true"] { border-color: var(--lijn-sterk); color: rgba(41, 37, 31, 0.38); cursor: default; }
.pijlknop[aria-disabled="true"]:hover { background: transparent; color: rgba(41, 37, 31, 0.38); }
@media (min-width: 700px) {
  .projecten-baan { gap: 2rem; }
  .projecten-baan .project { flex-basis: min(62%, 860px); }
  .projecten-baan .project img { aspect-ratio: 16 / 10; }
  .projecten-baan .project:nth-child(n) img { object-position: center; }
  .projecten-baan .project strong { font-size: 1.4rem; }
}

/* Tegels: elk beeld volledig, in zijn eigen verhouding (niets afgesneden) */
.project-groep + .project-groep { margin-top: 3.5rem; }
.project-groep h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  padding-top: 1.1rem;
  border-top: 1px solid var(--lijn-sterk);
  margin-bottom: 1.5rem;
}
.project-tegels, .project-rij { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
/* Eén project met drie foto's (Pharos, Schroders) */
.project-drie { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project-drie img:first-child { grid-column: 1 / -1; }
/* Eén project met twee foto's naast elkaar (Resort Sendang Redjo) */
.project-twee { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.project-twee figcaption { grid-column: 1 / -1; }
@media (min-width: 700px) {
  /* Rij met beelden van verschillende verhouding: breedte volgt de verhouding (--r),
     zodat alle beelden in de rij even hoog zijn en de bijschriften op één lijn staan */
  .project-rij { display: flex; align-items: flex-start; gap: 1.5rem; }
  .project-rij .project { flex: var(--r, 1.5) 1 0%; }
  /* Rij met drie beelden van gelijke verhouding */
  .project-rij-drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-rij-drie .project-twee { grid-column: span 2; column-gap: 1.5rem; }
}
@media (min-width: 900px) {
  .project-groep + .project-groep { margin-top: 5rem; }
  .project-tegels { gap: 2.5rem; }
  .project-rij { gap: 2rem; }
  .project strong { font-size: 1.2rem; }
  .project-drie { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .project-drie img:first-child { grid-column: auto; }
  .project-rij-drie .project-twee { column-gap: 2rem; }
}

/* ---------- Losse pagina's: header is meteen de linnen balk ---------- */
.pagina main { padding-top: var(--header-h); }
.pagina-kop { padding: 3.5rem 0 3rem; text-align: center; }
.pagina-kop h1 { font-size: clamp(1.4rem, 0.95rem + 2.2vw, 3rem); line-height: 1.12; margin: 0 auto; max-width: 22em; text-wrap: balance; }
.pagina-onder {
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  line-height: 1.4;
  color: var(--groen-diep);
  margin: 1rem auto 0;
  text-wrap: balance;
}
.pagina-kop .cursus-datum { margin: 1.75rem 0 0; }
.pagina-kop + .sectie { padding-top: 0; }
@media (min-width: 900px) { .pagina-kop { padding: 6rem 0 4.5rem; } }

/* Privacypagina: één rustige leeskolom */
.juridisch { max-width: 62ch; }
.juridisch > p:first-child { font-size: 1.28rem; line-height: 1.55; margin-bottom: 0; }
.juridisch h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  margin: 2.25rem 0 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--lijn);
}
.juridisch h2 + p { margin-bottom: 0; }
.juridisch-datum { margin: 2.25rem 0 0; padding-top: 2rem; border-top: 1px solid var(--lijn); }

/* 404-pagina: vult minstens het venster, zodat de voettekst onderaan staat */
.pagina-404 { min-height: 100vh; display: flex; flex-direction: column; }
.pagina-404 main { flex: 1 0 auto; }
.niet-gevonden { padding-bottom: 5rem; }
.niet-gevonden .btn { margin-top: 2.5rem; }
@media (min-width: 900px) { .niet-gevonden { padding-bottom: 9rem; } }

.tekstlink {
  display: inline-block;
  padding: 0.35rem 0;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--groen-diep);
}

/* Cursuspagina: lopende tekst naast een foto */
.lees-grid { display: grid; gap: 3rem; align-items: start; }
.lees-tekst { max-width: 60ch; }
.lees-tekst:not(.lees-rest) > p:first-child { font-size: 1.28rem; line-height: 1.55; }
.lees-grid-smal { gap: 1.5rem; }
.lees-eerst > p:last-child { margin-bottom: 0; }
.lees-foto-smal { margin-block: 0.5rem 1rem; }
.lees-tekst .cursus-details { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--lijn); }
.lees-foto img { width: 100%; }
.lees-foto-smal { max-width: 230px; margin-inline: auto; }
.lees-foto-smal img { border: 1px solid var(--lijn); }
.praktisch-tekst h2 { margin-bottom: 0.4em; }
.praktisch-tekst .cursus-details { margin: 2rem 0 2.25rem; }
.praktisch-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.terug { margin: 2rem 0 0; }
@media (min-width: 860px) {
  .lees-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .lees-eerst > p:last-child { margin-bottom: 1rem; }
  .lees-grid-smal { grid-template-columns: minmax(0, 60ch) 260px; grid-template-rows: auto 1fr; row-gap: 0; justify-content: center; }
  .lees-grid-smal .lees-eerst { grid-column: 1; grid-row: 1; }
  .lees-grid-smal .lees-rest { grid-column: 1; grid-row: 2; }
  .lees-foto-smal { grid-column: 2; grid-row: 1 / 3; max-width: none; margin: 0; }
  .praktisch { grid-template-columns: 6fr 6fr; align-items: center; }
}

/* ---------- Over Aniel ---------- */
.over-grid { display: grid; gap: 3rem; align-items: start; }
.over-foto { max-width: 520px; }
.over-tekst { max-width: 54ch; }
.over-tekst h2 { margin-bottom: 1.2em; }
.over-blok { padding: 1.6rem 0 1.7rem; border-top: 1px solid var(--lijn); }
.over-blok:last-child { padding-bottom: 0; }
.over-blok h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--groen-diep);
  margin-bottom: 0.8rem;
}
.over-blok p { margin: 0; }
@media (min-width: 800px) {
  .over-grid { grid-template-columns: 5fr 7fr; gap: 6rem; }
}

/* ---------- Ervaringen ---------- */
.reacties { display: grid; gap: 2.5rem; }
.reactie {
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--lijn-sterk);
  display: flex;
  flex-direction: column;
}
.reactie-kop {
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--groen-diep);
  margin-bottom: 0.8rem;
}
.reactie p:last-of-type { margin-bottom: 0; }
.reactie-naam {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oker);
}
.reactie-vertaald { margin-top: -0.5rem; }
.reactie-vertaald + .reactie-naam { margin-top: 1.25rem; }
.reacties-meer { margin-top: 3rem; }
.reacties-meer:not([open]) > summary { border-bottom: 1px solid var(--lijn); }
.reacties-meer .meer-inhoud { padding: 1.5rem 0 0.5rem; }
@media (min-width: 760px) { .reacties { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
@media (min-width: 1040px) { .reacties { grid-template-columns: 1fr 1fr 1fr; column-gap: 3.5rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
.adresblok { line-height: 1.75; margin-top: 2rem; }
.adresblok strong {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oker);
}
.adresblok a { display: inline-block; padding: 0.1rem 0; }
.contact-form { background: var(--kaart); border: 1px solid var(--lijn); padding: 2rem 1.4rem; position: relative; }
.veld { margin-bottom: 1.3rem; }
.veld label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--groen-diep);
}
.veld input, .veld select, .veld textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--lijn-sterk);
  border-radius: 0;
  background: var(--linnen);
  font: inherit;
  font-size: 1.05rem;
  color: var(--tekst);
}
.veld textarea { resize: vertical; min-height: 130px; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--groen); outline-offset: 1px; border-color: var(--groen); }
.veld.is-fout input, .veld.is-fout select { border-color: #8c3a22; }
.veld-rij { display: grid; gap: 0 1.25rem; }
.form-status { min-height: 1.4em; font-size: 1rem; color: #8c3a22; margin-bottom: 0.75rem; }
.form-status:empty { margin-bottom: 0.4rem; }
.contact-form .kleine-letters { margin: 0.9rem 0 0; text-align: center; }
.contact-form.is-verzonden > :not(.bevestiging) { display: none; }
.bevestiging { padding: 1rem 0; text-align: center; }
.bevestiging-kop { font-size: 1.6rem; font-style: italic; line-height: 1.25; color: var(--groen-diep); margin-bottom: 0.6rem; }
.bevestiging-tekst { max-width: 40ch; margin-inline: auto; margin-bottom: 1.6rem; }

@media (min-width: 600px) { .veld-rij { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start; }
  .contact-form { padding: 3rem 2.75rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--groen-diep); color: var(--licht-zacht); padding: 4rem 0 3rem; font-size: 1rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: flex-start; }
.footer-logo { width: auto; height: 70px; flex: none; }
.footer-blok { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-blok strong {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--licht);
  margin-bottom: 0.2rem;
}
.site-footer a { color: var(--licht); padding: 0.15rem 0; text-decoration: none; }
.site-footer a:hover { color: #cdb892; }
.footer-demo { margin: 1rem 0 0; color: var(--licht-zacht); width: 100%; padding-top: 1.5rem; border-top: 1px solid rgba(243, 237, 226, 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-demo a { text-decoration: underline; }

/* ---------- WhatsApp-knop: verschijnt na de hero, zonder fade ---------- */
.wa-knop {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--groen-diep);
  border: 1px solid rgba(243, 237, 226, 0.35);
  color: var(--licht);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(20, 16, 10, 0.55);
}
.wa-knop.is-zichtbaar { display: flex; }
.wa-knop svg { width: 26px; height: 26px; }
.wa-knop:hover { background: var(--groen); color: var(--licht); }
.menu-open .wa-knop { display: none; }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--groen); outline-offset: 3px; }
.hero :focus-visible,
.sectie-donker :focus-visible,
.site-footer :focus-visible,
.nav :focus-visible,
.over-hero .site-header :focus-visible,
.menu-open .site-header :focus-visible { outline-color: var(--licht); }
@media (min-width: 1100px) {
  html:not(.over-hero):not(.menu-open) .site-header :focus-visible { outline-color: var(--groen); }
}
