/* ==========================================================================
   Edelys by Guillaume — stylesheet
   Merkkleuren, typografie en componenten volgens het brandbook.
   Volgorde: 1 Tokens · 2 Reset · 3 Typografie · 4 Layout · 5 Componenten
             6 Header/Footer · 7 Secties per pagina · 8 Utilities · 9 Motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Merkkleuren — brandbook */
  --goud:        #a97d51;   /* primair  */
  --olijf:       #ad986a;   /* secundair */
  --creme:       #f9f6ea;   /* achtergrond */
  --bruin:       #582308;   /* tekst / diep */

  /* Afgeleide tinten */
  --goud-licht:  #c39a70;
  --goud-diep:   #8d6540;
  --creme-warm:  #f2ecdb;
  --creme-diep:  #e8dfc7;
  --bruin-zacht: #7a3d1c;
  --bruin-diep:  #3d1804;

  --ink:         var(--bruin);
  --ink-zacht:   #7d5641;
  --lijn:        rgba(88, 35, 8, .14);
  --lijn-sterk:  rgba(88, 35, 8, .26);

  /* Typografie — echte merkfonts met vrije fallbacks (zie assets/fonts/LEESMIJ.md) */
  --font-titel: 'Sunborn', 'Anton', 'Arial Narrow', system-ui, sans-serif;
  --font-tekst: 'Mairy', 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;

  /* Schaal — vloeiend tussen 380px en 1440px */
  --stap--2: clamp(.72rem, .70rem + .10vw, .78rem);
  --stap--1: clamp(.84rem, .81rem + .14vw, .93rem);
  --stap-0:  clamp(1rem, .96rem + .19vw, 1.13rem);
  --stap-1:  clamp(1.18rem, 1.11rem + .32vw, 1.4rem);
  --stap-2:  clamp(1.4rem, 1.27rem + .55vw, 1.8rem);
  --stap-3:  clamp(1.7rem, 1.45rem + 1.05vw, 2.45rem);
  --stap-4:  clamp(2.1rem, 1.62rem + 2.02vw, 3.5rem);
  --stap-5:  clamp(2.6rem, 1.7rem + 3.8vw, 5.2rem);
  --stap-6:  clamp(3.1rem, 1.55rem + 6.5vw, 7.4rem);

  /* Ruimte */
  --ruimte-xs: .5rem;
  --ruimte-s:  .875rem;
  --ruimte-m:  1.5rem;
  --ruimte-l:  2.5rem;
  --ruimte-xl: 4rem;
  --sectie:    clamp(4rem, 3rem + 5vw, 8rem);

  /* Vorm */
  --radius-s:  10px;
  --radius-m:  18px;
  --radius-l:  30px;
  --radius-xl: 44px;
  --rond:      999px;

  --schaduw-s: 0 2px 8px rgba(88, 35, 8, .07);
  --schaduw-m: 0 10px 28px -12px rgba(88, 35, 8, .22);
  --schaduw-l: 0 28px 60px -24px rgba(88, 35, 8, .34);

  --container: 1200px;
  --smal:      760px;

  --overgang:  .28s cubic-bezier(.4, .06, .2, 1);
  --header-h:  76px;
}

/* --------------------------------------------------------------------------
   Merkfonts — SUNBORN en Mairy.
   De licentiebestanden zitten nog niet in het project. Zolang ze ontbreken
   geven deze regels een 404 en valt de browser stil terug op Anton / Fredoka;
   de site blijft dus gewoon werken. Zet je de .woff2-bestanden in
   assets/fonts/ met onderstaande namen, dan schakelt alles vanzelf om.
   Wil je de 404's ondertussen niet in je logs? Zet dit blok in commentaar.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Sunborn';
  src: url('../fonts/sunborn.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Mairy';
  src: url('../fonts/mairy-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Mairy';
  src: url('../fonts/mairy-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--font-tekst);
  font-size: var(--stap-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
:where(ul, ol)[class] { list-style: none; margin: 0; padding: 0; }

/* [hidden] moet altijd winnen: componenten als .badge zetten zelf een display. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--goud);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--goud); color: var(--creme); }

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-titel);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 var(--ruimte-m);
  text-wrap: balance;
}

h1 { font-size: var(--stap-5); }
h2 { font-size: var(--stap-4); }
h3 { font-size: var(--stap-2); }
h4 { font-size: var(--stap-1); }

/* Tussentitels: Mairy vet (brandbook) */
.tussentitel,
h5, h6 {
  font-family: var(--font-tekst);
  font-weight: 700;
  text-transform: none;
  line-height: 1.25;
  font-size: var(--stap-1);
  margin: 0 0 var(--ruimte-s);
}

p { margin: 0 0 var(--ruimte-m); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

a { color: var(--goud-diep); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--bruin); }

.lead {
  font-size: var(--stap-1);
  line-height: 1.62;
  color: var(--ink-zacht);
}

/* Kleine kapitalen boven een titel */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 700;
  font-size: var(--stap--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--goud-diep);
  margin: 0 0 var(--ruimte-s);
}
.eyebrow::before {
  content: '';
  width: 2.2em;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .6;
}
.eyebrow--midden { justify-content: center; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 700px) { .container { width: min(100% - 4rem, var(--container)); } }

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

.sectie { padding-block: var(--sectie); position: relative; }
.sectie--kort { padding-block: calc(var(--sectie) * .62); }

.sectie--creme-warm { background: var(--creme-warm); }
.sectie--bruin      { background: var(--bruin); color: var(--creme); }
.sectie--goud       { background: var(--goud); color: var(--creme); }

.sectie--bruin :is(h1,h2,h3,h4) { color: var(--creme); }
.sectie--bruin .lead,
.sectie--bruin p { color: rgba(249, 246, 234, .84); }
.sectie--bruin .eyebrow { color: var(--goud-licht); }
.sectie--bruin a:not(.knop) { color: var(--goud-licht); }

.sectie--goud :is(h1,h2,h3,h4) { color: var(--creme); }
.sectie--goud p, .sectie--goud .lead { color: rgba(249, 246, 234, .92); }
.sectie--goud .eyebrow { color: rgba(249, 246, 234, .85); }

.sectiekop { max-width: 62ch; margin-bottom: var(--ruimte-xl); }
.sectiekop--midden { margin-inline: auto; text-align: center; }

.duo {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--beeld-rechts > *:first-child { order: 0; }
  .duo--beeld-links  > *:first-child { order: 1; }
  .duo--breed-tekst  { grid-template-columns: 1.15fr 1fr; }
  .duo--breed-beeld  { grid-template-columns: 1fr 1.15fr; }
}

.raster {
  display: grid;
  gap: var(--ruimte-m);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Smaken: vaste kolommen, zodat er nooit één bolletje alleen op een rij staat */
.raster--smaken { grid-template-columns: repeat(2, 1fr); gap: var(--ruimte-m); }
@media (min-width: 620px)  { .raster--smaken { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .raster--smaken { grid-template-columns: repeat(6, 1fr); } }

/* --------------------------------------------------------------------------
   5. Componenten
   -------------------------------------------------------------------------- */

/* Knoppen -------------------------------------------------------------- */
.knop {
  --knop-bg: var(--goud);
  --knop-fg: var(--creme);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.9em;
  min-height: 48px;
  background: var(--knop-bg);
  color: var(--knop-fg);
  border: 2px solid var(--knop-bg);
  border-radius: var(--rond);
  font-weight: 700;
  font-size: var(--stap-0);
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--overgang), background-color var(--overgang),
              border-color var(--overgang), color var(--overgang), box-shadow var(--overgang);
}
.knop:hover {
  --knop-bg: var(--goud-diep);
  /* Via de variabele, zodat varianten (bv. licht-lijn) hun eigen hoverkleur houden
     en de algemene a:hover-kleur de knoptekst niet overschrijft. */
  color: var(--knop-fg);
  transform: translateY(-2px);
  box-shadow: var(--schaduw-m);
}
.knop:active { transform: translateY(0); }

.knop--lijn {
  --knop-bg: transparent;
  --knop-fg: var(--bruin);
  border-color: var(--lijn-sterk);
}
.knop--lijn:hover {
  --knop-bg: var(--bruin);
  --knop-fg: var(--creme);
  border-color: var(--bruin);
}

.knop--licht {
  --knop-bg: var(--creme);
  --knop-fg: var(--bruin);
}
.knop--licht:hover { --knop-bg: #fff; color: var(--bruin); }

.knop--licht-lijn {
  --knop-bg: transparent;
  --knop-fg: var(--creme);
  border-color: rgba(249, 246, 234, .45);
}
.knop--licht-lijn:hover {
  --knop-bg: var(--creme);
  --knop-fg: var(--bruin);
  border-color: var(--creme);
}

.knop--klein { padding: .7em 1.35em; min-height: 42px; font-size: var(--stap--1); }

.knop-rij {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-s);
  align-items: center;
}
.knop-rij--midden { justify-content: center; }

/* Tekstlink met pijl */
.pijl-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
  text-decoration: none;
  color: var(--goud-diep);
}
.pijl-link::after {
  content: '\2192';
  transition: transform var(--overgang);
}
.pijl-link:hover::after { transform: translateX(4px); }

/* Beeldkaders ---------------------------------------------------------- */
.beeld {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--creme-diep);
  box-shadow: var(--schaduw-m);
}
.beeld img,
.beeld video { display: block; width: 100%; height: 100%; object-fit: cover; }
.beeld--staand   { aspect-ratio: 4 / 5; }
.beeld--liggend  { aspect-ratio: 4 / 3; }
.beeld--breed    { aspect-ratio: 16 / 9; }
.beeld--vierkant { aspect-ratio: 1 / 1; }
.beeld--zacht    { border-radius: var(--radius-xl); }

/* Stempel: knipoog naar het ronde logo */
.stempel {
  position: absolute;
  display: grid;
  place-content: center;
  text-align: center;
  width: clamp(104px, 13vw, 152px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--goud);
  color: var(--creme);
  font-family: var(--font-tekst);
  font-weight: 700;
  font-size: var(--stap--2);
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1rem;
  box-shadow: var(--schaduw-m);
  border: 2px solid rgba(249, 246, 234, .35);
  rotate: -8deg;
}
.stempel--rechtsonder { right: -1rem; bottom: -1rem; }
.stempel--linksonder  { left: -1rem;  bottom: -1rem; }
@media (max-width: 560px) { .stempel { right: -.4rem; bottom: -.6rem; } }

/* Kaarten -------------------------------------------------------------- */
.kaart {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  border: 1px solid var(--lijn);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform var(--overgang), box-shadow var(--overgang), border-color var(--overgang);
}
.kaart__beeld { aspect-ratio: 4 / 3; background: var(--creme-diep); }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; }
.kaart__body { padding: var(--ruimte-m); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.kaart__titel { font-family: var(--font-tekst); font-weight: 700; font-size: var(--stap-1); text-transform: none; margin: 0; line-height: 1.25; }
.kaart__tekst { font-size: var(--stap--1); color: var(--ink-zacht); margin: 0; }

a.kaart { text-decoration: none; color: inherit; }
a.kaart:hover { transform: translateY(-4px); box-shadow: var(--schaduw-l); border-color: var(--goud); }

/* Smaakkaart */
.smaak {
  text-align: center;
}
.smaak__beeld {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--creme-diep);
  border: 3px solid transparent;
  transition: border-color var(--overgang), transform var(--overgang);
  box-shadow: var(--schaduw-s);
}
.smaak__beeld img { width: 100%; height: 100%; object-fit: cover; }
.smaak:hover .smaak__beeld { border-color: var(--goud); transform: translateY(-5px) rotate(-2deg); }
.smaak__naam {
  font-weight: 700;
  font-size: var(--stap-0);
  margin: var(--ruimte-s) 0 0;
  line-height: 1.3;
}
.smaak__noot { font-size: var(--stap--1); color: var(--ink-zacht); margin: .15rem 0 0; }

/* Proces / stappen ------------------------------------------------------ */
.stappen { counter-reset: stap; display: grid; gap: var(--ruimte-l); }
@media (min-width: 760px)  { .stappen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .stappen { grid-template-columns: repeat(4, 1fr); } }

.stap { position: relative; display: flex; flex-direction: column; gap: var(--ruimte-s); }
.stap__beeld { aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--creme-diep); }
.stap__beeld img { width: 100%; height: 100%; object-fit: cover; }
.stap__nr {
  font-family: var(--font-titel);
  font-size: var(--stap-3);
  line-height: 1;
  color: var(--goud);
}
.stap__titel { font-family: var(--font-tekst); font-weight: 700; font-size: var(--stap-1); text-transform: none; margin: 0; }
.stap__tekst { font-size: var(--stap--1); color: var(--ink-zacht); margin: 0; }

.sectie--bruin .stap__tekst { color: rgba(249, 246, 234, .78); }
.sectie--bruin .stap__nr    { color: var(--goud-licht); }

/* Verbindingslijn tussen de stappen op groot scherm */
@media (min-width: 1080px) {
  .stappen--verbonden .stap:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: calc(var(--ruimte-l) * -1);
    width: var(--ruimte-l);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--goud) 0 6px, transparent 6px 12px);
    opacity: .55;
  }
  .stappen--verbonden .stap { justify-content: flex-start; }
}

/* Kenmerken / USP's ----------------------------------------------------- */
.kenmerk {
  display: flex;
  gap: var(--ruimte-s);
  align-items: flex-start;
  padding: var(--ruimte-m);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--lijn);
}
.sectie--bruin .kenmerk { background: rgba(249, 246, 234, .06); border-color: rgba(249, 246, 234, .16); }
.kenmerk__icoon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--goud);
  color: var(--creme);
}
.kenmerk__icoon svg { width: 21px; height: 21px; }
.kenmerk h3, .kenmerk .tussentitel { margin: 0 0 .2rem; font-size: var(--stap-0); }
.kenmerk p { font-size: var(--stap--1); color: var(--ink-zacht); margin: 0; }
.sectie--bruin .kenmerk p { color: rgba(249, 246, 234, .78); }

/* Info-lijst (adres, uren, ...) ----------------------------------------- */
.infolijst { display: grid; gap: var(--ruimte-s); }
.infolijst__rij {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--ruimte-s);
  align-items: start;
  padding-block: .55rem;
  border-bottom: 1px solid var(--lijn);
}
.infolijst__rij:last-child { border-bottom: 0; }
.infolijst__rij svg { width: 20px; height: 20px; color: var(--goud); margin-top: .25em; }
.infolijst dt { font-weight: 700; font-size: var(--stap--1); letter-spacing: .04em; text-transform: uppercase; color: var(--goud-diep); }
.infolijst dd { margin: 0; }

/* Badge / label --------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .35em .9em;
  border-radius: var(--rond);
  background: var(--goud);
  color: var(--creme);
  font-size: var(--stap--2);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--zacht { background: rgba(169, 125, 81, .16); color: var(--goud-diep); }
.badge--open  { background: #3f7d3a; color: #fff; }

/* Golfrand tussen secties ---------------------------------------------- */
.golf { display: block; width: 100%; height: clamp(28px, 4vw, 56px); }
.golf path { fill: currentColor; }

/* --------------------------------------------------------------------------
   6. Header & footer
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--bruin);
  color: var(--creme);
  padding: .75rem 1.25rem;
  border-radius: var(--rond);
  text-decoration: none;
  font-weight: 700;
  transition: top var(--overgang);
}
.skip-link:focus { top: 1rem; color: var(--creme); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 234, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--overgang), box-shadow var(--overgang), background-color var(--overgang);
}
.site-header.is-vast {
  border-bottom-color: var(--lijn);
  box-shadow: 0 4px 20px -14px rgba(88, 35, 8, .5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ruimte-m);
  min-height: var(--header-h);
  padding-block: .6rem;
}

.merk { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bruin); }
.merk img { width: 52px; height: 52px; object-fit: contain; }
.merk__naam {
  font-family: var(--font-titel);
  font-size: 1.16rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.merk__sub {
  display: block;
  font-family: var(--font-tekst);
  font-weight: 400;
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--goud-diep);
  margin-top: .28em;
}
@media (max-width: 420px) { .merk__naam { font-size: 1rem; } .merk img { width: 44px; height: 44px; } }

.hoofdnav { display: none; }
.hoofdnav__lijst { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.6rem); }
.hoofdnav__link {
  position: relative;
  display: block;
  padding: .4rem 0;
  font-weight: 700;
  font-size: var(--stap--1);
  color: var(--bruin);
  text-decoration: none;
  white-space: nowrap;
}
.hoofdnav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--goud);
  border-radius: 2px;
  transition: right var(--overgang);
}
.hoofdnav__link:hover::after,
.hoofdnav__link[aria-current="page"]::after { right: 0; }
.hoofdnav__link[aria-current="page"] { color: var(--goud-diep); }

.header-cta { display: none; }

@media (min-width: 1000px) {
  .hoofdnav { display: block; }
  .header-cta { display: inline-flex; }
}

/* Mobiele navigatie */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem .55rem .85rem;
  background: transparent;
  border: 2px solid var(--lijn-sterk);
  border-radius: var(--rond);
  font-weight: 700;
  font-size: var(--stap--1);
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle__streepjes { display: grid; gap: 4px; width: 20px; }
.nav-toggle__streepjes span {
  display: block; height: 2px; background: var(--bruin); border-radius: 2px;
  transition: transform var(--overgang), opacity var(--overgang);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Staat na de definitie hierboven, anders wint die weer op desktopbreedte. */
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.mobielnav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--creme);
  padding: var(--ruimte-l) 0 var(--ruimte-xl);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--overgang), transform var(--overgang), visibility var(--overgang);
}
.mobielnav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 1000px) { .mobielnav { display: none; } }

.mobielnav__lijst { display: grid; gap: .25rem; }
.mobielnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--lijn);
  font-family: var(--font-titel);
  font-size: var(--stap-2);
  text-transform: uppercase;
  color: var(--bruin);
  text-decoration: none;
}
.mobielnav__link[aria-current="page"] { color: var(--goud-diep); }
.mobielnav__link::after { content: '\2192'; color: var(--goud); font-family: var(--font-tekst); }
.mobielnav__voet { margin-top: var(--ruimte-l); display: grid; gap: var(--ruimte-s); }

body.nav-open { overflow: hidden; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--bruin);
  color: rgba(249, 246, 234, .8);
  padding-block: var(--ruimte-xl) var(--ruimte-l);
  font-size: var(--stap--1);
}
.site-footer a { color: rgba(249, 246, 234, .8); text-decoration: none; }
.site-footer a:hover { color: var(--goud-licht); text-decoration: underline; }
.site-footer .footer__adres:hover { text-decoration: none; }

.footer__raster {
  display: grid;
  gap: var(--ruimte-l);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .footer__raster { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__raster { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer__merk img { width: 92px; height: 92px; object-fit: contain; margin-bottom: var(--ruimte-s); }
.footer__slogan { font-family: var(--font-titel); font-size: var(--stap-1); text-transform: uppercase; color: var(--creme); line-height: 1.15; margin: 0 0 .6rem; }
.footer__kop {
  font-family: var(--font-tekst);
  font-weight: 700;
  font-size: var(--stap--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--goud-licht);
  margin: 0 0 var(--ruimte-s);
}
.footer__lijst { display: grid; gap: .55rem; }

.sociaal { display: flex; gap: .6rem; }
.sociaal a {
  display: grid; place-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(249, 246, 234, .28);
  transition: background-color var(--overgang), border-color var(--overgang), color var(--overgang);
}
.sociaal a:hover { background: var(--goud); border-color: var(--goud); color: var(--creme); }
.sociaal svg { width: 19px; height: 19px; }

.footer__onder {
  margin-top: var(--ruimte-xl);
  padding-top: var(--ruimte-m);
  border-top: 1px solid rgba(249, 246, 234, .16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-s) var(--ruimte-m);
  justify-content: space-between;
  align-items: center;
  font-size: var(--stap--2);
  color: rgba(249, 246, 234, .6);
}

/* Webbouwer-credit: dezelfde bewegende gradient als in de footer van electrocabbeke.be.
   Stilstaand bij prefers-reduced-motion via de algemene regel onderaan. */
.site-footer .footer__credit,
.site-footer .footer__credit:hover {
  color: transparent;
  background-image: linear-gradient(90deg, #a855f7, #f97316, #a855f7, #f97316, #a855f7);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 600;
  text-decoration-color: #f97316;
  animation: credit-gloed 4s linear infinite;
}
@keyframes credit-gloed { to { background-position: 200% 0; } }

/* --------------------------------------------------------------------------
   7. Secties
   -------------------------------------------------------------------------- */

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88svh, 780px);
  padding-block: calc(var(--sectie) * .8) var(--sectie);
  background: var(--bruin);
  color: var(--creme);
  isolation: isolate;
  overflow: hidden;
}
.hero--compact { min-height: min(58svh, 520px); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(61, 24, 4, .92) 0%, rgba(61, 24, 4, .55) 42%, rgba(61, 24, 4, .28) 100%);
}

/* Let op: geen ch-eenheid hier. Die rekent met de tekstfont van dit blok,
   niet met de veel bredere titelfont — dat gaf een veel te smalle kolom. */
.hero__inhoud { max-width: min(100%, 46rem); }
.hero h1 {
  font-size: var(--stap-6);
  color: var(--creme);
  margin-bottom: var(--ruimte-s);
  text-shadow: 0 2px 20px rgba(61, 24, 4, .35);
}
/* Compacte hero's dragen langere titels: een maat kleiner. */
.hero--compact h1 { font-size: var(--stap-5); }
.hero__sub {
  font-size: var(--stap-1);
  font-weight: 700;
  color: rgba(249, 246, 234, .92);
  margin-bottom: var(--ruimte-l);
}
.hero .knop-rij { margin-top: var(--ruimte-m); }

.hero__kruimel {
  font-size: var(--stap--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--goud-licht);
  margin-bottom: var(--ruimte-s);
  font-weight: 700;
}

/* Scrollhint */
.hero__hint {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  translate: -50% 0;
  display: grid;
  place-items: center;
  gap: .35rem;
  font-size: var(--stap--2);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(249, 246, 234, .6);
}
.hero__hint span:last-child { animation: zak 2.2s ease-in-out infinite; }
@media (max-width: 700px) { .hero__hint { display: none; } }

/* Grote CTA-band -------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--goud);
  color: var(--creme);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(249, 246, 234, .16) 0 12%, transparent 12.5%),
    radial-gradient(circle at 88% 78%, rgba(249, 246, 234, .13) 0 16%, transparent 16.5%);
  pointer-events: none;
}
.cta-band h2 { color: var(--creme); font-size: var(--stap-4); }
.cta-band p { color: rgba(249, 246, 234, .9); font-size: var(--stap-1); max-width: 46ch; margin-inline: auto; }
.cta-band .container { position: relative; }

/* Citaat ---------------------------------------------------------------- */
.citaat {
  max-width: 26ch;
  font-family: var(--font-titel);
  font-size: var(--stap-3);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--goud-diep);
  margin: 0;
}
.citaat__bron {
  display: block;
  font-family: var(--font-tekst);
  font-weight: 700;
  font-size: var(--stap--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-zacht);
  margin-top: var(--ruimte-s);
}

/* Verkooppunten: kaart + lijst ------------------------------------------ */
.automaten {
  display: grid;
  gap: var(--ruimte-l);
}
@media (min-width: 1000px) {
  .automaten { grid-template-columns: 1fr 1fr; align-items: start; }
  .automaten__kaartkolom { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

#kaart {
  height: clamp(320px, 52svh, 560px);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--lijn);
  background: var(--creme-diep);
  z-index: 0;
}
@media (min-width: 1000px) { #kaart { height: min(70svh, 640px); } }

/* Melding bij scrollen zonder Ctrl (zie automaten.js) */
.kaart-hint {
  position: absolute;
  inset: 0;
  z-index: 1001;
  display: grid;
  place-content: center;
  padding: var(--ruimte-m);
  text-align: center;
  background: rgba(88, 35, 8, .55);
  color: var(--creme);
  font-weight: 600;
  font-size: var(--stap-1);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.kaart-hint.is-zichtbaar { opacity: 1; }
.kaart-hint kbd {
  display: inline-block;
  padding: .05em .45em;
  border: 1px solid rgba(249, 246, 234, .7);
  border-radius: 6px;
  font-family: inherit;
  font-size: .9em;
}

.kaart-fallback {
  display: grid;
  place-content: center;
  text-align: center;
  gap: .5rem;
  height: 100%;
  padding: var(--ruimte-m);
  color: var(--ink-zacht);
  font-size: var(--stap--1);
}

.automaten__zoek {
  display: flex;
  gap: .5rem;
  margin-bottom: var(--ruimte-m);
  flex-wrap: wrap;
}
.zoekveld {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.1rem;
  background: var(--creme);
  border: 2px solid var(--lijn);
  border-radius: var(--rond);
  transition: border-color var(--overgang);
}
.zoekveld:focus-within { border-color: var(--goud); }
.zoekveld svg { width: 18px; height: 18px; color: var(--goud); flex: 0 0 auto; }
.zoekveld input { flex: 1; border: 0; background: transparent; min-width: 0; }
.zoekveld input:focus { outline: none; }

.automaat-lijst { display: grid; gap: var(--ruimte-s); }

.automaat {
  display: grid;
  gap: .35rem;
  padding: var(--ruimte-m);
  background: var(--creme);
  border: 1px solid var(--lijn);
  border-left: 4px solid var(--goud);
  border-radius: var(--radius-m);
  transition: box-shadow var(--overgang), border-color var(--overgang), transform var(--overgang);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.automaat:hover, .automaat.is-actief {
  box-shadow: var(--schaduw-m);
  border-color: var(--goud);
  transform: translateX(2px);
}
.automaat.is-actief { background: #fff; }
.automaat[hidden] { display: none; }
.automaat__kop { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ruimte-s); flex-wrap: wrap; }
.automaat__naam { font-family: var(--font-tekst); font-weight: 700; font-size: var(--stap-1); text-transform: none; margin: 0; line-height: 1.25; }
.automaat__adres { font-size: var(--stap--1); color: var(--ink-zacht); font-style: normal; margin: 0; }
.automaat__meta { font-size: var(--stap--1); color: var(--ink-zacht); margin: 0; }
.automaat__acties { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }

.geen-resultaat {
  padding: var(--ruimte-l);
  text-align: center;
  color: var(--ink-zacht);
  border: 1px dashed var(--lijn-sterk);
  border-radius: var(--radius-m);
}

/* Leaflet-popup in merkstijl */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-m) !important;
  background: var(--creme) !important;
  color: var(--bruin) !important;
  box-shadow: var(--schaduw-l) !important;
}
.leaflet-popup-content { margin: 1rem 1.15rem !important; font-family: var(--font-tekst) !important; line-height: 1.55 !important; }
.leaflet-popup-tip { background: var(--creme) !important; }
.leaflet-container { font-family: var(--font-tekst) !important; background: var(--creme-diep) !important; }
.popup__naam { font-weight: 700; font-size: 1.02rem; display: block; margin-bottom: .2rem; }
.popup__adres { color: var(--ink-zacht); font-size: .88rem; display: block; }
.popup__link { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--goud-diep); }

.marker-pin {
  display: grid;
  place-content: center;
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 4px;
  rotate: -45deg;
  background: var(--goud);
  border: 2px solid var(--creme);
  box-shadow: var(--schaduw-m);
}
.marker-pin span { rotate: 45deg; display: grid; color: var(--creme); }
.marker-pin svg { width: 19px; height: 19px; }
.marker-pin--shop { background: var(--bruin); }

/* Automatenshop: productenlijst ----------------------------------------- */
.producten { display: grid; gap: .75rem; }
@media (min-width: 640px) { .producten { grid-template-columns: repeat(2, 1fr); } }
.product {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .95rem 1.1rem;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--lijn);
  border-radius: var(--radius-m);
  font-size: var(--stap-0);
}
.product__bol {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--goud);
  margin-top: .55em;
}
.product--nieuw { border-color: var(--goud); background: rgba(169, 125, 81, .1); }
.product strong { display: block; }
.product small { color: var(--ink-zacht); font-size: var(--stap--1); }

/* Contactformulier ------------------------------------------------------ */
.formulier { display: grid; gap: var(--ruimte-m); }
.veldrij { display: grid; gap: var(--ruimte-m); }
@media (min-width: 620px) { .veldrij--2 { grid-template-columns: 1fr 1fr; } }

.veld { display: grid; gap: .4rem; }
.veld label { font-weight: 700; font-size: var(--stap--1); }
.veld .verplicht { color: var(--goud-diep); }
.veld input,
.veld select,
.veld textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  background: var(--creme);
  border: 2px solid var(--lijn);
  border-radius: var(--radius-m);
  transition: border-color var(--overgang), background-color var(--overgang);
}
.veld textarea { min-height: 150px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus {
  outline: none;
  border-color: var(--goud);
  background: #fff;
}
.veld input:user-invalid, .veld textarea:user-invalid { border-color: #b3402b; }
.veld__hint { font-size: var(--stap--2); color: var(--ink-zacht); }
.veld__fout { font-size: var(--stap--2); color: #b3402b; font-weight: 700; min-height: 1.1em; }

.formulier__melding {
  padding: var(--ruimte-m);
  border-radius: var(--radius-m);
  background: rgba(63, 125, 58, .12);
  border: 1px solid rgba(63, 125, 58, .35);
  font-weight: 700;
}
.formulier__melding[hidden] { display: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Instagram ------------------------------------------------------------- */
.insta-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ruimte-s); }
@media (min-width: 620px) { .insta-raster { grid-template-columns: repeat(4, 1fr); } }
.insta-tegel {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--creme-diep);
  display: block;
}
.insta-tegel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--overgang); }
.insta-tegel:hover img { transform: scale(1.06); }
.insta-tegel::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(88, 35, 8, 0);
  transition: background-color var(--overgang);
}
.insta-tegel:hover::after { background: rgba(88, 35, 8, .18); }

/* FAQ / details --------------------------------------------------------- */
.faq { display: grid; gap: .6rem; }
.faq details {
  border: 1px solid var(--lijn);
  border-radius: var(--radius-m);
  background: var(--creme);
  overflow: hidden;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ruimte-s);
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-titel);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--goud);
  transition: transform var(--overgang);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--ink-zacht); font-size: var(--stap--1); }

/* --------------------------------------------------------------------------
   8. Utilities
   -------------------------------------------------------------------------- */
.midden      { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-m  { margin-top: var(--ruimte-m); }
.mt-l  { margin-top: var(--ruimte-l); }
.mb-0  { margin-bottom: 0; }
.visueel-verborgen {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   9. Motion
   -------------------------------------------------------------------------- */
@keyframes zak {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.onthul {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.onthul.is-zichtbaar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .onthul { opacity: 1; transform: none; }
}

/* Print ------------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .hero__hint, .nav-toggle, .mobielnav, #kaart { display: none !important; }
  body { background: #fff; color: #000; }
  .sectie { padding-block: 1.5rem; }
}
