/*
Theme Name: Campagne de Bourangt
Theme URI: https://campagnedebourangt.be
Author: Panis & Fonteyne Consulting
Author URI: https://panisfonteyne.be
Description: Custom WordPress thema voor Campagne de Bourangt vzw — voedselbos, gemeenschap en zorgboerderij in Deux-Acren.
Version: 1.0.45
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: cdb-theme
Tags: community, organic, farm, nature
*/

/* ============================================================
   INHOUDSOPGAVE
   1.  CSS Variabelen (kleurenpalet, typografie, spacing)
   2.  Reset & Base
   3.  Typografie
   4.  Layout helpers
   5.  Header & navigatie
   6.  Hero sectie
   7.  Drie pijlers
   8.  Laatste nieuws
   9.  Aankomende evenementen
   10. Crowdfunding banner
   11. Nieuwsbrief sectie
   12. Over ons pagina
   13. Blog overzicht & detail
   14. Sidebar
   15. Footer
   16. Formulieren
   17. Knoppen & interactieve elementen
   18. Utility classes
   19. Responsive (tablet & mobiel)
   20. Afdrukstijlen
============================================================ */

/* ============================================================
   1. CSS VARIABELEN
============================================================ */
:root {
  /* === Kleurenpalet Campagne de Bourangt === */
  /* Boswoud — diep donkergroen, primaire kleur */
  --kleur-boswoud:        #3D6027;
  --kleur-boswoud-donker: #2D4A1E;

  /* Voedselbos — middentoon groen */
  --kleur-voedselbos:     #4A7A4A;

  /* Blaadjes — salie groen, secondaire kleur */
  --kleur-blaadjes:       #6B8A52;
  --kleur-blaadjes-licht: #8BA870;

  /* Lente — lichtgroen accent */
  --kleur-lente:          #9AB890;

  /* Aarde — earthy brown */
  --kleur-aarde:          #8B6E4E;
  --kleur-aarde-donker:   #6B5037;

  /* Oogst — warm goud/geel */
  --kleur-oogst:          #C8A84B;
  --kleur-oogst-licht:    #D4BB77;

  /* Perkament — crème achtergrond */
  --kleur-perkament:      #F5F0E4;
  --kleur-perkament-warm: #F7F4EE;
  --kleur-perkament-diep: #EDE8D8;

  /* Nacht — donkerste toon voor tekst */
  --kleur-nacht:          #1E2A14;

  /* Tekst niveaus */
  --tekst-primair:        #2A2A1A;
  --tekst-secundair:      #4A4A3A;
  --tekst-licht:          #7A7A6A;
  --tekst-heel-licht:     #9A9A8A;

  /* Randen */
  --rand-kleur:           rgba(61, 96, 39, 0.15);
  --rand-kleur-sterk:     rgba(61, 96, 39, 0.3);

  /* Witte tekst (voor donkere achtergronden) */
  --tekst-wit:            #FFFFFF;
  --tekst-creme:          var(--kleur-perkament);

  /* === Typografie === */
  --font-kop:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:   'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Lijnhoogte */
  --lijnhoogte-kop:  1.2;
  --lijnhoogte-body: 1.75;

  /* Letterafstand */
  --letterafstand-wijduit: 0.12em;
  --letterafstand-label:   0.08em;

  /* === Spacing systeem (8px basis) === */
  --ruimte-xs:  4px;
  --ruimte-s:   8px;
  --ruimte-m:   16px;
  --ruimte-l:   24px;
  --ruimte-xl:  40px;
  --ruimte-2xl: 64px;
  --ruimte-3xl: 96px;
  --ruimte-4xl: 128px;

  /* === Layout === */
  --max-breedte:         1200px;
  --max-breedte-smal:    760px;
  --max-breedte-tekst:   680px;
  --zijmarge:            clamp(20px, 5vw, 60px);

  /* === Visueel === */
  --rand-radius:    4px;
  --rand-radius-l:  8px;
  --schaduw-zacht:  0 2px 12px rgba(30, 42, 20, 0.08);
  --schaduw-medium: 0 4px 24px rgba(30, 42, 20, 0.12);
  --schaduw-sterk:  0 8px 40px rgba(30, 42, 20, 0.18);

  /* === Overgangen === */
  --overgang-snel:   150ms ease;
  --overgang-normaal: 250ms ease;
  --overgang-traag:   400ms ease;

  /* === Header hoogte === */
  --header-hoogte: 110px;
  --header-hoogte-scrolled: 110px;
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--lijnhoogte-body);
  color: var(--tekst-primair);
  background-color: var(--kleur-perkament);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.admin-bar {
  margin-top: 32px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--kleur-boswoud);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--overgang-snel), opacity var(--overgang-snel);
}

a:hover, a:focus {
  color: var(--kleur-voedselbos);
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid var(--kleur-oogst);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* WordPress specifiek */
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft   { float: left; margin-right: var(--ruimte-l); }
.alignright  { float: right; margin-left: var(--ruimte-l); }
.wp-caption-text { font-size: 0.85rem; color: var(--tekst-licht); font-style: italic; }
.sticky { /* afgehandeld via post class */ }
.bypostauthor { /* afgehandeld via post class */ }


/* ============================================================
   3. TYPOGRAFIE
============================================================ */

/* Kopniveaus */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-kop);
  line-height: var(--lijnhoogte-kop);
  color: var(--tekst-primair);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Bodytekst */
p {
  font-size: 1rem;
  line-height: var(--lijnhoogte-body);
  color: var(--tekst-secundair);
  margin-bottom: var(--ruimte-m);
}

p:last-child { margin-bottom: 0; }

/* Grootletter label stijl */
.label-tekst {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: var(--letterafstand-wijduit);
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
}

/* Citaat / intro tekst */
.intro-tekst,
.entry-content .has-large-font-size {
  font-family: var(--font-kop);
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  font-style: italic;
  color: var(--tekst-secundair);
  line-height: 1.6;
}

/* Sterk en nadruk */
strong { font-weight: 700; color: var(--tekst-primair); }
em     { font-style: italic; }

/* Kleine tekst */
small, .kleine-tekst {
  font-size: 0.8125rem;
  color: var(--tekst-licht);
  line-height: 1.5;
}

/* Entry content (WordPress editor inhoud) */
.entry-content h2,
.entry-content h3 {
  margin-top: var(--ruimte-xl);
  margin-bottom: var(--ruimte-m);
}

.entry-content p     { margin-bottom: var(--ruimte-m); }
.entry-content ul,
.entry-content ol    { margin: var(--ruimte-m) 0 var(--ruimte-m) var(--ruimte-xl); }
.entry-content ul    { list-style: disc; }
.entry-content ol    { list-style: decimal; }
.entry-content li    { margin-bottom: var(--ruimte-s); }

.entry-content blockquote {
  border-left: 3px solid var(--kleur-oogst);
  padding: var(--ruimte-m) var(--ruimte-xl);
  margin: var(--ruimte-xl) 0;
  background: var(--kleur-perkament-diep);
  border-radius: 0 var(--rand-radius) var(--rand-radius) 0;
}

.entry-content blockquote p {
  font-family: var(--font-kop);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--tekst-primair);
  margin-bottom: 0;
}


/* ============================================================
   4. LAYOUT HELPERS
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-breedte);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--zijmarge);
  padding-right: var(--zijmarge);
}

.container--smal {
  max-width: var(--max-breedte-smal);
}

.container--tekst {
  max-width: var(--max-breedte-tekst);
}

.sectie-afstand {
  padding-top: var(--ruimte-3xl);
  padding-bottom: var(--ruimte-3xl);
}

.sectie-afstand--s {
  padding-top: var(--ruimte-2xl);
  padding-bottom: var(--ruimte-2xl);
}

/* Grid systeem */
.raster-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ruimte-xl);
}

.raster-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
}

.raster-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ruimte-l);
}

/* Verdeler lijn */
.verdeler {
  width: 40px;
  height: 2px;
  background-color: var(--kleur-oogst);
  margin: var(--ruimte-m) 0;
}

.verdeler--centreer { margin-left: auto; margin-right: auto; }

/* Sectie koptekst blok */
.sectie-kop {
  margin-bottom: var(--ruimte-2xl);
}

.sectie-kop--centreer {
  text-align: center;
}

.sectie-kop--centreer .verdeler {
  margin-left: auto;
  margin-right: auto;
}

.sectie-kop .label-tekst {
  display: block;
  margin-bottom: var(--ruimte-s);
}

.sectie-kop h2 {
  margin-bottom: var(--ruimte-s);
}

.sectie-kop p {
  max-width: 560px;
}

.sectie-kop--centreer p {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   5. HEADER & NAVIGATIE
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--kleur-perkament-warm);
  border-bottom: 1px solid var(--rand-kleur);
  height: var(--header-hoogte);
  transition: height 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Subtiele schaduw bij scroll (ook op homepage) */
.site-header.scrolled {
  box-shadow: var(--schaduw-zacht);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Compenseer fixed header hoogte met padding op de body */
.site-inhoud {
  padding-top: var(--header-hoogte);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--ruimte-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: auto;
  width: 220px;
  max-width: 220px;
  object-fit: contain;
  transition: width 0.3s ease, opacity 0.3s ease;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Verberg "Lid worden" nav-item op alle schermen — CTA knop is voldoende */
.hoofd-nav ul li a[href*="lid-worden"],
.hoofd-nav ul li a[href*="lid_worden"] {
  display: none;
}
.hoofd-nav ul li:has(a[href*="lid-worden"]),
.hoofd-nav ul li:has(a[href*="lid_worden"]) {
  display: none;
}

.site-logo:hover img {
  opacity: 0.85;
}

/* scrolled: zelfde breedte — seamless transitie */
.scrolled .site-logo img {
  width: 220px;
  height: auto;
}

/* Mobiel (< 768px) */
@media (max-width: 768px) {
  .site-logo img {
    height: auto !important;
    width: 200px !important;
    max-width: 200px !important;
  }
  .scrolled .site-logo img {
    height: auto !important;
    width: 200px !important;
  }
}

/* Kleine iPhones (< 390px) */
@media (max-width: 390px) {
  .site-logo img {
    width: 170px !important;
    max-width: 170px !important;
  }
  .scrolled .site-logo img {
    width: 170px !important;
  }
}

/* Footer logo hoogte wordt bepaald in .footer-logo-kolom verderop */

/* Hoofdnavigatie */
.hoofd-nav {
  display: flex;
  align-items: center;
}

.hoofd-nav ul {
  display: flex;
  gap: var(--ruimte-l);
  align-items: center;
}

.hoofd-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tekst-primair);
  text-decoration: none;
  padding: var(--ruimte-xs) 0;
  position: relative;
  transition: color var(--overgang-snel);
}

.hoofd-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--kleur-boswoud);
  transition: width var(--overgang-normaal);
}

.hoofd-nav a:hover,
.hoofd-nav a:focus,
.hoofd-nav .current-menu-item > a {
  color: var(--kleur-boswoud);
}

.hoofd-nav a:hover::after,
.hoofd-nav .current-menu-item > a::after {
  width: 100%;
}

/* CTA knop in navigatie */
.nav-cta {
  margin-left: var(--ruimte-m);
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background-color: var(--kleur-boswoud);
  color: var(--kleur-perkament) !important;
  border-radius: var(--rand-radius);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--overgang-snel), transform var(--overgang-snel);
}

.nav-cta a::after {
  display: none !important;
}

.nav-cta a:hover {
  background-color: var(--kleur-boswoud-donker);
  transform: translateY(-1px);
}

/* Hamburger menu (mobiel) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--tekst-primair);
  border-radius: 2px;
  transition: transform var(--overgang-normaal), opacity var(--overgang-normaal);
}

.menu-toggle.actief span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.actief span:nth-child(2) { opacity: 0; }
.menu-toggle.actief span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-item-has-children {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 200px;
  background-color: var(--kleur-perkament-warm);
  border: 1px solid var(--rand-kleur);
  border-radius: var(--rand-radius-l);
  box-shadow: var(--schaduw-medium);
  padding: var(--ruimte-s) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.menu-item-has-children.submenu-open .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Focus-within fallback voor toetsenbord */
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li { display: block; }

.sub-menu a {
  display: block;
  padding: var(--ruimte-s) var(--ruimte-l);
  color: var(--tekst-primair);
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--overgang-snel), background-color var(--overgang-snel);
}

.sub-menu a::after { display: none; }

.sub-menu a:hover {
  color: var(--kleur-boswoud);
  background-color: var(--kleur-perkament-diep);
}

/* Overslaan naar inhoud (toegankelijkheid) */
.overslaan-naar-inhoud {
  position: absolute;
  top: -100px;
  left: var(--ruimte-l);
  padding: var(--ruimte-s) var(--ruimte-l);
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament);
  border-radius: 0 0 var(--rand-radius) var(--rand-radius);
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
  transition: top var(--overgang-snel);
}

.overslaan-naar-inhoud:focus {
  top: 0;
}


/* ============================================================
   6. HERO SECTIE
============================================================ */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: var(--kleur-boswoud-donker);
}

.hero-achtergrond {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-achtergrond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Sterk verloop van links (donker, tekst leesbaar) naar rechts (transparant, foto zichtbaar) */
  background: linear-gradient(
    100deg,
    rgba(20, 32, 12, 0.88) 0%,
    rgba(20, 32, 12, 0.72) 40%,
    rgba(20, 32, 12, 0.35) 70%,
    rgba(20, 32, 12, 0.10) 100%
  );
  z-index: 1;
}

.hero-inhoud {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-inhoud .label-tekst {
  color: var(--kleur-oogst-licht);
  margin-bottom: var(--ruimte-m);
}

.hero-inhoud h1 {
  color: var(--kleur-perkament);
  margin-bottom: var(--ruimte-l);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.1;
}

.hero-inhoud p {
  color: rgba(245, 240, 228, 0.9);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: var(--ruimte-xl);
  max-width: 480px;
}

.hero-knoppen {
  display: flex;
  gap: var(--ruimte-m);
  flex-wrap: wrap;
}

/* Animatie hero-inhoud */
.hero-inhoud > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroInkomen 0.7s ease forwards;
}

.hero-inhoud .label-tekst { animation-delay: 0.1s; }
.hero-inhoud h1           { animation-delay: 0.25s; }
.hero-inhoud p            { animation-delay: 0.4s; }
.hero-knoppen             { animation-delay: 0.55s; }

@keyframes heroInkomen {
  to { opacity: 1; transform: translateY(0); }
}

/* Decoratieve golf onderaan hero */
.hero-golf {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-golf svg {
  display: block;
  width: 100%;
  height: 48px;
}


/* ============================================================
   7. KNOPPEN
============================================================ */
.knop,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ruimte-s);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--rand-radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--overgang-snel), color var(--overgang-snel), transform var(--overgang-snel), box-shadow var(--overgang-snel);
  border: 2px solid transparent;
  line-height: 1.3;
}

.knop:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

/* Primaire knop — boswoud groen */
.knop--primair,
.wp-block-button__link,
input[type="submit"] {
  background-color: var(--kleur-boswoud);
  color: var(--kleur-perkament);
  border-color: var(--kleur-boswoud);
}

.knop--primair:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  background-color: var(--kleur-boswoud-donker);
  color: var(--kleur-perkament);
  box-shadow: var(--schaduw-zacht);
}

/* Secundaire knop — omlijnd */
.knop--secundair {
  background-color: transparent;
  color: var(--kleur-perkament);
  border-color: rgba(245, 240, 228, 0.6);
}

.knop--secundair:hover {
  background-color: rgba(245, 240, 228, 0.12);
  border-color: var(--kleur-perkament);
  color: var(--kleur-perkament);
}

/* Ghost op lichte achtergrond */
.knop--ghost {
  background-color: transparent;
  color: var(--kleur-boswoud);
  border-color: var(--kleur-boswoud);
}

.knop--ghost:hover {
  background-color: var(--kleur-boswoud);
  color: var(--kleur-perkament);
}

/* Oogst/goud accent knop */
.knop--oogst {
  background-color: var(--kleur-oogst);
  color: var(--kleur-nacht);
  border-color: var(--kleur-oogst);
}

.knop--oogst:hover {
  background-color: #B89438;
  color: var(--kleur-nacht);
}


/* ============================================================
   8. DRIE PIJLERS SECTIE
============================================================ */
.pijlers-sectie {
  background-color: var(--kleur-perkament-warm);
  padding: var(--ruimte-3xl) 0;
}

.pijler-kaart {
  background: white;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-zacht);
  transition: transform var(--overgang-normaal), box-shadow var(--overgang-normaal);
  display: flex;
  flex-direction: column;
}

.pijler-kaart:hover {
  transform: translateY(-4px);
  box-shadow: var(--schaduw-medium);
}

.pijler-kaart-afbeelding {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--kleur-perkament-diep);
}

.pijler-kaart-afbeelding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pijler-kaart:hover .pijler-kaart-afbeelding img {
  transform: scale(1.04);
}

.pijler-kaart-kleurband {
  height: 4px;
  background: linear-gradient(90deg, var(--kleur-boswoud), var(--kleur-blaadjes));
}

.pijler-kaart-inhoud {
  padding: var(--ruimte-xl) var(--ruimte-l);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pijler-icoon {
  font-size: 2rem;
  margin-bottom: var(--ruimte-m);
  display: block;
}

.pijler-kaart h3 {
  font-size: 1.375rem;
  margin-bottom: var(--ruimte-s);
  color: var(--kleur-boswoud-donker);
}

.pijler-kaart p {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--tekst-secundair);
  margin-bottom: var(--ruimte-l);
}

.pijler-kaart .meer-lezen {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--kleur-boswoud);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--ruimte-xs);
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.pijler-kaart .meer-lezen::after {
  content: '→';
  transition: transform var(--overgang-snel);
}

.pijler-kaart .meer-lezen:hover::after {
  transform: translateX(4px);
}


/* ============================================================
   9. NIEUWS SECTIE
============================================================ */
.nieuws-sectie {
  background-color: var(--kleur-perkament);
  padding: var(--ruimte-3xl) 0;
}

/* Post kaart */
.post-kaart {
  background: white;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-zacht);
  transition: transform var(--overgang-normaal), box-shadow var(--overgang-normaal);
  display: flex;
  flex-direction: column;
}

.post-kaart:hover {
  transform: translateY(-3px);
  box-shadow: var(--schaduw-medium);
}

.post-kaart-afbeelding {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--kleur-perkament-diep);
}

.post-kaart-afbeelding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-kaart:hover .post-kaart-afbeelding img {
  transform: scale(1.03);
}

.post-kaart-geen-afbeelding {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--kleur-perkament-diep) 0%, var(--kleur-lente) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.post-kaart-inhoud {
  padding: var(--ruimte-l);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-categorie {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: var(--letterafstand-wijduit);
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  margin-bottom: var(--ruimte-s);
}

.post-kaart h3 {
  font-size: 1.125rem;
  color: var(--tekst-primair);
  margin-bottom: var(--ruimte-s);
  line-height: 1.35;
}

.post-kaart h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--overgang-snel);
}

.post-kaart h3 a:hover {
  color: var(--kleur-boswoud);
}

.post-kaart p {
  font-size: 0.9rem;
  color: var(--tekst-secundair);
  flex: 1;
  margin-bottom: var(--ruimte-l);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--ruimte-m);
  font-size: 0.8rem;
  color: var(--tekst-licht);
}

.post-datum { }
.post-leestijd { }


/* ============================================================
   10. EVENEMENTEN SECTIE
============================================================ */
.evenementen-sectie {
  background-color: var(--kleur-boswoud);
  padding: var(--ruimte-3xl) 0;
  color: var(--kleur-perkament);
}

.evenementen-sectie .sectie-kop .label-tekst {
  color: var(--kleur-oogst-licht);
}

.evenementen-sectie .sectie-kop h2 {
  color: var(--kleur-perkament);
}

.evenementen-sectie .sectie-kop p {
  color: rgba(245, 240, 228, 0.8);
}

.evenementen-sectie .verdeler {
  background-color: var(--kleur-oogst);
}

/* Evenement rij */
.evenement-rij {
  display: flex;
  align-items: flex-start;
  gap: var(--ruimte-xl);
  padding: var(--ruimte-xl) 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.15);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--overgang-snel);
}

.evenement-rij:last-child {
  border-bottom: none;
}

.evenement-rij:hover {
  color: var(--kleur-perkament);
}

/* Datum blok */
.evenement-datum-blok {
  flex-shrink: 0;
  text-align: center;
  width: 60px;
}

.evenement-datum-dag {
  font-family: var(--font-kop);
  font-size: 2rem;
  font-weight: 700;
  color: var(--kleur-oogst);
  line-height: 1;
}

.evenement-datum-maand {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.7);
  margin-top: 2px;
}

.evenement-info { flex: 1; }

.evenement-info h4 {
  font-size: 1.125rem;
  color: var(--kleur-perkament);
  margin-bottom: var(--ruimte-xs);
  font-family: var(--font-kop);
}

.evenement-info p {
  font-size: 0.875rem;
  color: rgba(245, 240, 228, 0.75);
  margin: 0;
}

.evenement-locatie {
  font-size: 0.8rem;
  color: rgba(245, 240, 228, 0.6);
  margin-top: var(--ruimte-xs) !important;
  display: flex;
  align-items: center;
  gap: var(--ruimte-xs);
}

.evenement-pijl {
  flex-shrink: 0;
  color: rgba(245, 240, 228, 0.4);
  font-size: 1.2rem;
  margin-left: auto;
  align-self: center;
  transition: color var(--overgang-snel), transform var(--overgang-snel);
}

.evenement-rij:hover .evenement-pijl {
  color: var(--kleur-oogst);
  transform: translateX(4px);
}

/* Alle evenementen link */
.evenementen-meer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ruimte-s);
  color: var(--kleur-oogst-licht);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: var(--ruimte-xl);
  letter-spacing: 0.03em;
  transition: gap var(--overgang-snel);
}

.evenementen-meer-link:hover {
  gap: var(--ruimte-m);
  color: var(--kleur-oogst-licht);
}


/* ============================================================
   11. CROWDFUNDING BANNER
============================================================ */
.crowdfunding-banner {
  background: linear-gradient(135deg, var(--kleur-aarde) 0%, var(--kleur-aarde-donker) 100%);
  padding: var(--ruimte-2xl) 0;
  overflow: hidden;
  position: relative;
}

.crowdfunding-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(200, 168, 75, 0.1);
  pointer-events: none;
}

.crowdfunding-inner {
  display: flex;
  align-items: center;
  gap: var(--ruimte-2xl);
  flex-wrap: wrap;
}

.crowdfunding-tekst {
  flex: 1;
  min-width: 280px;
}

.crowdfunding-tekst .label-tekst {
  color: var(--kleur-oogst-licht);
  margin-bottom: var(--ruimte-s);
}

.crowdfunding-tekst h2 {
  color: var(--kleur-perkament);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--ruimte-m);
}

.crowdfunding-tekst p {
  color: rgba(245, 240, 228, 0.85);
  font-size: 1.0625rem;
  max-width: 480px;
  margin-bottom: 0;
}

.crowdfunding-actie {
  flex-shrink: 0;
}

/* Voortgangsbalk */
.crowdfunding-voortgang {
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
}

.voortgang-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--ruimte-s);
}

.voortgang-bedrag {
  font-family: var(--font-kop);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--kleur-oogst);
}

.voortgang-doel {
  font-size: 0.875rem;
  color: rgba(245, 240, 228, 0.7);
}

.voortgang-balk {
  width: 100%;
  height: 8px;
  background: rgba(245, 240, 228, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--ruimte-s);
}

.voortgang-vulling {
  height: 100%;
  background: linear-gradient(90deg, var(--kleur-oogst), var(--kleur-oogst-licht));
  border-radius: 4px;
  transition: width 1s ease;
}

.voortgang-label {
  font-size: 0.8rem;
  color: rgba(245, 240, 228, 0.65);
}


/* ============================================================
   12. NIEUWSBRIEF SECTIE
============================================================ */
.nieuwsbrief-sectie {
  background-color: var(--kleur-perkament-diep);
  padding: var(--ruimte-3xl) 0;
  text-align: center;
}

.nieuwsbrief-sectie .sectie-kop {
  margin-bottom: var(--ruimte-xl);
}

.nieuwsbrief-sectie h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.nieuwsbrief-sectie p {
  color: var(--tekst-secundair);
  max-width: 480px;
  margin: 0 auto;
}

.nieuwsbrief-formulier {
  display: flex;
  gap: var(--ruimte-s);
  max-width: 480px;
  margin: var(--ruimte-xl) auto 0;
  flex-wrap: wrap;
}

.nieuwsbrief-formulier input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 12px var(--ruimte-l);
  border: 1.5px solid var(--rand-kleur-sterk);
  border-radius: var(--rand-radius);
  background: white;
  font-size: 1rem;
  color: var(--tekst-primair);
  transition: border-color var(--overgang-snel);
}

.nieuwsbrief-formulier input[type="email"]:focus {
  outline: none;
  border-color: var(--kleur-boswoud);
}

.nieuwsbrief-formulier input[type="email"]::placeholder {
  color: var(--tekst-heel-licht);
}

.nieuwsbrief-bevestiging {
  margin-top: var(--ruimte-l);
  font-size: 0.875rem;
  color: var(--kleur-blaadjes);
}

.nieuwsbrief-bevestiging strong {
  color: var(--kleur-boswoud);
}


/* ============================================================
   13. OVER ONS PAGINA
============================================================ */
.over-ons-intro {
  padding: var(--ruimte-4xl) 0 var(--ruimte-3xl);
}

.over-ons-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ruimte-4xl);
  align-items: center;
}

.over-ons-afbeelding {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
}

.over-ons-afbeelding img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.ethische-principes {
  background: var(--kleur-boswoud);
  padding: var(--ruimte-3xl) 0;
  color: var(--kleur-perkament);
}

.ethische-principes .sectie-kop h2,
.ethische-principes .sectie-kop p {
  color: var(--kleur-perkament);
}

.ethische-principes .sectie-kop p {
  opacity: 0.85;
}

.principe-kaart {
  text-align: center;
  padding: var(--ruimte-xl);
}

.principe-icoon {
  font-size: 2.5rem;
  margin-bottom: var(--ruimte-m);
  display: block;
}

.principe-kaart h3 {
  font-size: 1.25rem;
  color: var(--kleur-oogst);
  margin-bottom: var(--ruimte-m);
}

.principe-kaart p {
  color: rgba(245, 240, 228, 0.8);
  font-size: 0.9375rem;
}


/* ============================================================
   14. BLOG OVERZICHT & DETAIL
============================================================ */
.blog-overzicht {
  padding: var(--ruimte-3xl) 0;
}

.blog-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
  margin-top: var(--ruimte-2xl);
}

/* Uitgelichte post (eerste post groter) */
.blog-raster .post-kaart:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-raster .post-kaart:first-child .post-kaart-afbeelding {
  aspect-ratio: auto;
}

/* Paginering */
.paginering {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ruimte-s);
  margin-top: var(--ruimte-3xl);
}

.paginering a,
.paginering span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rand-radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--overgang-snel), color var(--overgang-snel);
}

.paginering a { color: var(--tekst-primair); }
.paginering a:hover { background-color: var(--kleur-perkament-diep); color: var(--kleur-boswoud); }
.paginering .current { background-color: var(--kleur-boswoud); color: var(--kleur-perkament); }

/* Blog detail pagina */
.blog-detail {
  padding: var(--ruimte-3xl) 0;
}

.blog-detail-raster {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--ruimte-3xl);
  align-items: start;
}

.artikel-kop {
  margin-bottom: var(--ruimte-2xl);
}

.artikel-kop .label-tekst { margin-bottom: var(--ruimte-s); }

.artikel-kop h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: var(--ruimte-m);
}

.artikel-meta {
  font-size: 0.875rem;
  color: var(--tekst-licht);
  display: flex;
  gap: var(--ruimte-l);
  flex-wrap: wrap;
  margin-bottom: var(--ruimte-xl);
}

.artikel-uitgelichte-afbeelding {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  margin-bottom: var(--ruimte-2xl);
  box-shadow: var(--schaduw-zacht);
}

.artikel-uitgelichte-afbeelding img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Intro paragraaf */
.artikel-intro {
  font-family: var(--font-kop);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--tekst-secundair);
  line-height: 1.65;
  margin-bottom: var(--ruimte-xl);
  padding-bottom: var(--ruimte-xl);
  border-bottom: 1px solid var(--rand-kleur);
}


/* ============================================================
   15. SIDEBAR
============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--header-hoogte) + var(--ruimte-xl));
}

.sidebar-widget {
  background: white;
  border-radius: var(--rand-radius-l);
  padding: var(--ruimte-xl);
  margin-bottom: var(--ruimte-l);
  box-shadow: var(--schaduw-zacht);
}

.sidebar-widget h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  margin-bottom: var(--ruimte-l);
  padding-bottom: var(--ruimte-m);
  border-bottom: 1px solid var(--rand-kleur);
}

.sidebar-widget ul li {
  padding: var(--ruimte-s) 0;
  border-bottom: 1px solid var(--rand-kleur);
}

.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget ul a {
  font-size: 0.9rem;
  color: var(--tekst-secundair);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--ruimte-s);
  transition: color var(--overgang-snel);
}

.sidebar-widget ul a:hover { color: var(--kleur-boswoud); }


/* ============================================================
   16. FOOTER
============================================================ */
.site-footer {
  background-color: var(--kleur-nacht);
  color: rgba(245, 240, 228, 0.75);
  padding: var(--ruimte-3xl) 0 0;
}

.footer-raster {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--ruimte-2xl);
  padding-bottom: var(--ruimte-2xl);
  border-bottom: 1px solid rgba(245, 240, 228, 0.1);
}

.footer-kolom {}

/* Footer logo kolom — logo rechtstreeks op de donkere footer, zonder kader */
.footer-logo-kader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ruimte-l);
  max-width: 220px;
}

.footer-logo-kolom .site-logo.footer-logo-kader img {
  display: block;
  height: auto;
  width: 100%;
  max-width: 180px;
  image-rendering: -webkit-optimize-contrast;
}

.footer-logo-kolom p {
  color: rgba(245, 240, 228, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--ruimte-l);
}

/* Sociale media icoontjes */
.sociaal-media-links {
  display: flex;
  gap: var(--ruimte-m);
}

.sociaal-media-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(245, 240, 228, 0.1);
  border-radius: var(--rand-radius);
  color: rgba(245, 240, 228, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color var(--overgang-snel), color var(--overgang-snel);
}

.sociaal-media-links a:hover {
  background-color: var(--kleur-boswoud);
  color: var(--kleur-perkament);
}

/* Footer navigatiekolommen */
.footer-kolom h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--letterafstand-wijduit);
  text-transform: uppercase;
  color: var(--kleur-perkament);
  margin-bottom: var(--ruimte-l);
}

.footer-kolom ul li {
  margin-bottom: var(--ruimte-s);
}

.footer-kolom ul a {
  color: rgba(245, 240, 228, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--overgang-snel);
}

.footer-kolom ul a:hover {
  color: var(--kleur-perkament);
}

/* Contact info */
.footer-contact-item {
  display: flex;
  gap: var(--ruimte-s);
  margin-bottom: var(--ruimte-s);
  font-size: 0.875rem;
  color: rgba(245, 240, 228, 0.65);
}

.footer-contact-item a {
  color: rgba(245, 240, 228, 0.65);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--kleur-perkament);
}

/* Footer onderbalk */
.footer-onderbalk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ruimte-l);
  padding: var(--ruimte-l) 0;
  flex-wrap: wrap;
}

.footer-onderbalk p {
  color: rgba(245, 240, 228, 0.4);
  font-size: 0.8rem;
  margin: 0;
}

.footer-onderbalk a {
  color: rgba(245, 240, 228, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-onderbalk a:hover { color: var(--kleur-perkament); }

.footer-onderbalk-links {
  display: flex;
  gap: var(--ruimte-l);
}

/* Footer vzw badge */
.vzw-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ruimte-xs);
  padding: 4px 10px;
  border: 1px solid rgba(245, 240, 228, 0.2);
  border-radius: 3px;
  font-size: 0.75rem;
  color: rgba(245, 240, 228, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ============================================================
   17. FORMULIEREN
============================================================ */
.formulier-groep {
  margin-bottom: var(--ruimte-l);
}

.formulier-groep label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tekst-primair);
  margin-bottom: var(--ruimte-xs);
}

.formulier-groep input[type="text"],
.formulier-groep input[type="email"],
.formulier-groep input[type="tel"],
.formulier-groep textarea,
.formulier-groep select {
  width: 100%;
  padding: 11px var(--ruimte-m);
  border: 1.5px solid var(--rand-kleur-sterk);
  border-radius: var(--rand-radius);
  background: white;
  font-size: 1rem;
  color: var(--tekst-primair);
  transition: border-color var(--overgang-snel), box-shadow var(--overgang-snel);
  appearance: none;
}

.formulier-groep input:focus,
.formulier-groep textarea:focus,
.formulier-groep select:focus {
  outline: none;
  border-color: var(--kleur-boswoud);
  box-shadow: 0 0 0 3px rgba(61, 96, 39, 0.12);
}

.formulier-groep textarea {
  min-height: 140px;
  resize: vertical;
}


/* ============================================================
   18. UTILITY CLASSES
============================================================ */
.verborgen        { display: none !important; }
.visueel-verborgen {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.tekst-centreer   { text-align: center; }
.tekst-links      { text-align: left; }
.tekst-rechts     { text-align: right; }
.tekst-groen      { color: var(--kleur-boswoud); }
.tekst-oogst      { color: var(--kleur-oogst); }
.tekst-licht      { color: var(--tekst-licht); }

.achtergrond-creme   { background-color: var(--kleur-perkament); }
.achtergrond-warm    { background-color: var(--kleur-perkament-warm); }
.achtergrond-groen   { background-color: var(--kleur-boswoud); }

.marge-boven-l    { margin-top: var(--ruimte-l) !important; }
.marge-boven-xl   { margin-top: var(--ruimte-xl) !important; }
.marge-boven-2xl  { margin-top: var(--ruimte-2xl) !important; }
.marge-onder-l    { margin-bottom: var(--ruimte-l) !important; }
.marge-onder-xl   { margin-bottom: var(--ruimte-xl) !important; }
.marge-onder-2xl  { margin-bottom: var(--ruimte-2xl) !important; }

/* Animatie: inzoomen bij zichtbaar worden */
.animeer-inkomen {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animeer-inkomen.zichtbaar {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   19. RESPONSIVE
============================================================ */

/* Tablet (< 1024px) */
@media (max-width: 1024px) {
  .footer-raster {
    grid-template-columns: 1fr 1fr;
    gap: var(--ruimte-xl);
  }

  .blog-raster {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-raster .post-kaart:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .blog-detail-raster {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ruimte-l);
  }
}

/* Tablet klein / Mobiel groot (< 768px) */
@media (max-width: 768px) {
  :root {
    --header-hoogte: 96px;
    --header-hoogte-scrolled: 96px;
    --ruimte-3xl: 64px;
    --ruimte-4xl: 80px;
  }

  /* Header & nav */
  .menu-toggle {
    display: flex;
  }

  /* Basis staat van .hoofd-nav op mobiel: verborgen (de .menu-open overlay
     wordt volledig elders gedefinieerd met dynamische viewport hoogte) */
  .hoofd-nav {
    display: none;
  }

  .hoofd-nav.menu-open {
    display: flex;
  }

  /* Verberg "Lid worden" menu-item op mobiel — CTA knop is voldoende */
  .hoofd-nav ul li a[href*="lid-worden"],
  .hoofd-nav ul li a[href*="lid_worden"] {
    display: none;
  }
  .hoofd-nav ul li:has(a[href*="lid-worden"]),
  .hoofd-nav ul li:has(a[href*="lid_worden"]) {
    display: none;
  }

  /* Secties */
  .raster-2, .raster-3, .raster-4 {
    grid-template-columns: 1fr;
  }

  .over-ons-raster {
    grid-template-columns: 1fr;
  }

  .crowdfunding-inner {
    flex-direction: column;
    gap: var(--ruimte-xl);
  }

  .crowdfunding-voortgang {
    max-width: 100%;
  }

  .footer-raster {
    grid-template-columns: 1fr;
  }

  .footer-onderbalk {
    flex-direction: column;
    text-align: center;
  }

  .footer-onderbalk-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .blog-raster {
    grid-template-columns: 1fr;
  }

  .blog-raster .post-kaart:first-child {
    grid-column: 1;
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .hero-knoppen {
    flex-direction: column;
    align-items: flex-start;
  }

  .evenement-rij {
    gap: var(--ruimte-l);
  }

  .nieuwsbrief-formulier {
    flex-direction: column;
  }

  .nieuwsbrief-formulier input[type="email"],
  .nieuwsbrief-formulier button {
    width: 100%;
  }
}

/* Mobiel klein (< 480px) */
@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .sectie-afstand {
    padding-top: var(--ruimte-2xl);
    padding-bottom: var(--ruimte-2xl);
  }

  .pijler-kaart-inhoud { padding: var(--ruimte-l); }
  .post-kaart-inhoud   { padding: var(--ruimte-m); }
}


/* ============================================================
   20. AFDRUKSTIJLEN
============================================================ */
@media print {
  .site-header,
  .site-footer,
  .hoofd-nav,
  .sidebar,
  .crowdfunding-banner,
  .nieuwsbrief-sectie {
    display: none !important;
  }

  body {
    color: black;
    background: white;
    font-size: 12pt;
  }

  a { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; }
}


/* ============================================================
   PAGINA TEMPLATES — GEDEELDE STIJLEN
============================================================ */

/* Pagina hero (header van binnenste pagina's) */
.pagina-hero {
  padding: var(--ruimte-3xl) 0 var(--ruimte-2xl);
}

.pagina-hero--groen {
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament);
}

.pagina-hero--groen .label-tekst { color: var(--kleur-oogst-licht); }
.pagina-hero--groen .verdeler    { background-color: var(--kleur-oogst); }
.pagina-hero--groen h1           { color: var(--kleur-perkament); margin-bottom: var(--ruimte-m); }
.pagina-hero--groen .intro-tekst { color: rgba(245,240,228,0.85); }

/* Over ons raster (tekst + afbeelding naast elkaar) */
.over-ons-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ruimte-4xl);
  align-items: center;
}

.over-ons-afbeelding {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
}

.over-ons-afbeelding img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Citaat blok */
.citaat-blok {
  border-left: 3px solid var(--kleur-oogst);
  padding: var(--ruimte-m) var(--ruimte-xl);
  margin: var(--ruimte-xl) 0;
  background: var(--kleur-perkament-diep);
  border-radius: 0 var(--rand-radius) var(--rand-radius) 0;
}

.citaat-blok p {
  font-family: var(--font-kop);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--tekst-primair);
  margin: 0;
}

/* Visie blokken */
.visie-blokken {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
  margin-bottom: var(--ruimte-2xl);
  align-items: start;
}

.visie-blok {
  background: var(--kleur-perkament-warm);
  padding: var(--ruimte-xl);
  border-radius: var(--rand-radius-l);
  border-top: 3px solid var(--kleur-blaadjes);
  height: auto;
  align-self: start;
}

/* Op tablet: 2 kolommen, derde blok volledig breed */
@media (max-width: 900px) and (min-width: 601px) {
  .visie-blokken { grid-template-columns: repeat(2, 1fr); }
  .visie-blok:last-child { grid-column: 1 / -1; max-width: 480px; }
}

.visie-icoon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--ruimte-m);
}

.visie-blok h3 {
  font-size: 1.125rem;
  color: var(--kleur-boswoud-donker);
  margin-bottom: var(--ruimte-s);
}

/* Visie kernzin */
.visie-kernzin {
  text-align: center;
  padding: var(--ruimte-2xl);
  background: var(--kleur-boswoud);
  border-radius: var(--rand-radius-l);
  margin-top: var(--ruimte-xl);
}

.visie-kernzin p {
  font-family: var(--font-kop);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  color: var(--kleur-perkament);
  margin: 0;
  line-height: 1.6;
}

/* Bestuur foto */
.bestuur-foto-wrap {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
  margin: 0 auto var(--ruimte-2xl);
  max-width: 700px;
  display: block;
}

.bestuur-foto {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Bestuurleden raster */
.bestuurleden-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ruimte-l);
}

.bestuurlid-kaart {
  text-align: center;
  padding: var(--ruimte-l);
  background: white;
  border-radius: var(--rand-radius-l);
  box-shadow: var(--schaduw-zacht);
}

.bestuurlid-initiaal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-kop);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--ruimte-m);
}

.bestuurlid-kaart h4 {
  font-size: 0.9rem;
  color: var(--tekst-primair);
  margin-bottom: var(--ruimte-xs);
}

.bestuurlid-rol {
  font-size: 0.75rem;
  color: var(--kleur-blaadjes);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Partners lijst groot */
.partners-lijst-groot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ruimte-l);
  margin-top: var(--ruimte-xl);
  text-align: left;
}

.partner-item {
  padding: var(--ruimte-l);
  background: var(--kleur-perkament-warm);
  border-radius: var(--rand-radius-l);
  border-left: 3px solid var(--kleur-boswoud);
}

.partner-naam {
  display: block;
  font-weight: 700;
  color: var(--kleur-boswoud-donker);
  margin-bottom: var(--ruimte-xs);
}

.partner-beschrijving {
  font-size: 0.875rem;
  color: var(--tekst-secundair);
}

/* Pijler detail raster (Wat we doen) */
.pijler-detail-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ruimte-4xl);
  align-items: start;
}

.pijler-detail-raster--omgekeerd {
  direction: rtl;
}

.pijler-detail-raster--omgekeerd > * {
  direction: ltr;
}

.pijler-detail-afbeelding {
  position: relative;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
  margin: 0 auto;
  display: block;
}

.pijler-detail-afbeelding img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pijler-detail-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament);
  padding: var(--ruimte-m) var(--ruimte-l);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--ruimte-s);
}

.pijler-detail-tekst h3 {
  font-size: 1.1rem;
  color: var(--kleur-boswoud-donker);
  margin: var(--ruimte-xl) 0 var(--ruimte-s);
}

.pijler-detail-tekst h3:first-of-type {
  margin-top: var(--ruimte-l);
}

/* Voordeel kaarten (Lid worden) */
.voordeel-kaart {
  background: white;
  border-radius: var(--rand-radius-l);
  padding: var(--ruimte-xl);
  box-shadow: var(--schaduw-zacht);
  border-top: 3px solid var(--kleur-boswoud);
  transition: transform var(--overgang-normaal), box-shadow var(--overgang-normaal);
}

.voordeel-kaart:hover {
  transform: translateY(-3px);
  box-shadow: var(--schaduw-medium);
}

.voordeel-icoon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--ruimte-m);
}

.voordeel-kaart h3 {
  font-size: 1.1rem;
  color: var(--kleur-boswoud-donker);
  margin-bottom: var(--ruimte-s);
}

/* Contact pagina */
.contact-raster {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--ruimte-4xl);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: var(--ruimte-l);
  margin-bottom: var(--ruimte-xl);
  align-items: flex-start;
}

.contact-item-icoon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  margin-bottom: var(--ruimte-xs);
  color: var(--tekst-primair);
}

.contact-item p {
  margin: 0;
  color: var(--tekst-secundair);
}

.contact-sociaal { margin-top: var(--ruimte-xl); }

.contact-sociaal strong {
  display: block;
  margin-bottom: var(--ruimte-s);
  color: var(--tekst-primair);
}

.contact-sociaal-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ruimte-s);
  padding: 8px 16px;
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament);
  border-radius: var(--rand-radius);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--overgang-snel);
}

.contact-sociaal-link:hover {
  background: var(--kleur-boswoud-donker);
  color: var(--kleur-perkament);
}

.contact-formulier-wrap h2 {
  margin-bottom: var(--ruimte-xl);
}

.contact-kaart-wrap {
  border-top: 4px solid var(--kleur-boswoud);
}

/* Lid formulier */
.lid-formulier { max-width: 100%; }

/* ===== RESPONSIVE PAGINA TEMPLATES ===== */
@media (max-width: 1024px) {
  .bestuurleden-raster { grid-template-columns: repeat(3, 1fr); }
  .visie-blokken       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .over-ons-raster,
  .pijler-detail-raster,
  .contact-raster          { grid-template-columns: 1fr; }

  .pijler-detail-raster--omgekeerd { direction: ltr; }

  .over-ons-afbeelding img,
  .pijler-detail-afbeelding img { height: 280px; }

  .bestuurleden-raster { grid-template-columns: repeat(2, 1fr); }
  .visie-blokken       { grid-template-columns: 1fr; }
  .partners-lijst-groot{ grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .bestuurleden-raster { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   CORRECTIES V9 → V10
============================================================ */

/* Bestuursfoto gecentreerd */
.bestuur-foto-wrap {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
  margin: 0 auto var(--ruimte-2xl);
  max-width: 700px;
  display: block;
}

.bestuur-foto {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Bestuurleden als simpele lijst */
.bestuurleden-lijst {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ruimte-s) var(--ruimte-2xl);
  max-width: 700px;
  margin: 0 auto;
}

.bestuurlid-rij {
  display: flex;
  align-items: baseline;
  gap: var(--ruimte-s);
  padding: var(--ruimte-xs) 0;
}

.bestuurlid-naam {
  font-weight: 700;
  color: var(--tekst-primair);
  font-size: 0.9375rem;
}

.bestuurlid-rij .bestuurlid-rol {
  color: var(--kleur-blaadjes);
  font-size: 0.8125rem;
}

/* Pijler detail afbeeldingen gecentreerd */
.pijler-detail-afbeelding {
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
  margin: 0 auto;
}

.pijler-detail-afbeelding img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Webform contact sectie */
.contact-webform-sectie {
  background: var(--kleur-perkament-warm);
  padding: var(--ruimte-3xl) 0;
}

.contact-gegevens-sectie {
  background: var(--kleur-perkament);
  padding: var(--ruimte-3xl) 0;
}

/* Google Form iframe */
.google-form-wrap {
  background: white;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-zacht);
  max-width: 800px;
  margin: 0 auto;
}

.google-form-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Contact gegevens raster */
.contact-gegevens-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-gegevens-raster { grid-template-columns: 1fr; }
}


/* ============================================================
   CORRECTIES V12 → V13
============================================================ */

/* Bestuurleden nieuwe stijl */
.bestuurleden-lijst {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ruimte-l);
  max-width: 900px;
  margin: 0 auto;
}

.bestuurlid-item {
  background: white;
  border-radius: var(--rand-radius-l);
  padding: var(--ruimte-l);
  box-shadow: var(--schaduw-zacht);
  text-align: center;
  border-top: 3px solid var(--kleur-boswoud);
}

.bestuurlid-rol-titel {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  margin-bottom: var(--ruimte-s);
}

.bestuurlid-naam,
.bestuurlid-naam-link {
  font-family: var(--font-kop);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tekst-primair);
  text-decoration: none;
  display: block;
}

.bestuurlid-naam-link {
  color: var(--kleur-boswoud);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bestuurlid-naam-link:hover {
  color: var(--kleur-voedselbos);
}

/* Contact gegevens gecentreerd */
.contact-gegevens-raster--centreer {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-gegevens-raster--centreer .contact-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-gegevens-raster--centreer .contact-item-icoon {
  margin: 0 auto var(--ruimte-s);
}

@media (max-width: 900px) {
  .bestuurleden-lijst { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .bestuurleden-lijst { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CORRECTIES V13 → V14 — DEFINITIEVE VERSIES
============================================================ */

/* ===== BESTUUR FOTO — geforceerde centrering ===== */
.bestuur-foto-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: var(--ruimte-2xl) !important;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
}

.bestuur-foto {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
}

/* ===== BESTUUR NAMEN LIJST ===== */
.bestuur-namen-lijst {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ruimte-l);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bestuur-naam-item {
  padding: var(--ruimte-l);
  background: white;
  border-radius: var(--rand-radius-l);
  box-shadow: var(--schaduw-zacht);
  border-top: 3px solid var(--kleur-boswoud);
}

.bestuur-naam-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  margin-bottom: var(--ruimte-s);
}

.bestuur-naam-item span,
.bestuur-naam-item a {
  font-family: var(--font-kop);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tekst-primair);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}

.bestuur-naam-item a {
  color: var(--kleur-boswoud);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bestuur-naam-item a:hover { color: var(--kleur-voedselbos); }

/* ===== PIJLER SECTIES — WAT WE DOEN ===== */
.pijler-sectie {
  padding: var(--ruimte-3xl) 0;
  scroll-margin-top: calc(var(--header-hoogte) + var(--ruimte-l));
}

.pijler-header {
  margin-bottom: var(--ruimte-2xl);
}

/* Foto gecentreerd en breed */
.pijler-foto-centreer {
  display: flex;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto var(--ruimte-2xl);
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-medium);
}

.pijler-foto-centreer img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
}

/* Tekst blok gecentreerd */
.pijler-tekst-blok {
  max-width: 760px;
  margin: 0 auto;
}

.pijler-tekst-blok h3 {
  font-size: 1.125rem;
  color: var(--kleur-boswoud-donker);
  margin: var(--ruimte-xl) 0 var(--ruimte-s);
}

.pijler-tekst-blok h3:first-of-type {
  margin-top: var(--ruimte-l);
}

/* ===== CONTACT GEGEVENS GECENTREERD ===== */
.contact-gegevens-centreer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
  max-width: 900px;
  margin: var(--ruimte-xl) auto 0;
  text-align: center;
}

.contact-gegeven {
  padding: var(--ruimte-l);
  background: var(--kleur-perkament-warm);
  border-radius: var(--rand-radius-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ruimte-xs);
}

.contact-gegeven-icoon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: var(--ruimte-xs);
}

.contact-gegeven strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  display: block;
}

.contact-gegeven p {
  font-size: 0.9rem;
  color: var(--tekst-secundair);
  margin: 0;
  text-align: center;
}

.contact-gegeven a {
  color: var(--kleur-boswoud);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bestuur-namen-lijst     { grid-template-columns: repeat(2, 1fr); }
  .contact-gegevens-centreer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .bestuur-namen-lijst     { grid-template-columns: 1fr 1fr; }
  .contact-gegevens-centreer { grid-template-columns: 1fr; }
  .pijler-foto-centreer img { height: 260px; }
}


/* ============================================================
   MOBILE-FIRST OPTIMALISATIES v16
============================================================ */

/* Basis: alle sectie-padding kleiner op mobiel */
@media (max-width: 768px) {
    .sectie-afstand { padding: var(--ruimte-2xl) 0; }
    .sectie-afstand--s { padding: var(--ruimte-xl) 0; }
    .container { padding: 0 var(--ruimte-l); }

    /* Pagina hero's */
    .pagina-hero { padding: var(--ruimte-2xl) 0 var(--ruimte-xl); }
    .pagina-hero h1 { font-size: 1.875rem; }
    .pagina-hero .intro-tekst { font-size: 1rem; }

    /* Visie blokken op mobiel: 1 kolom */
    .visie-blokken { grid-template-columns: 1fr !important; }

    /* Pijler secties op mobiel */
    .pijler-sectie { padding: var(--ruimte-2xl) 0; }
    .pijler-foto-centreer img { height: 240px; }
    .pijler-tekst-blok { max-width: 100%; }

    /* Contact gegevens op mobiel */
    .contact-gegevens-centreer { grid-template-columns: 1fr !important; }
    .contact-gegeven { text-align: left; align-items: flex-start; }

    /* Bestuur namen lijst */
    .bestuur-namen-lijst { grid-template-columns: 1fr 1fr !important; }
    .bestuur-naam-item { padding: var(--ruimte-m); }

    /* Intro sectie homepage op mobiel */
    .intro-raster { grid-template-columns: 1fr; }
    .intro-foto { display: none; }

    /* Sticky cards */
    .sc-wrap, .sticky-cards-container { padding-bottom: 80px; }
    .sc, .sticky-card { padding: 32px 24px; min-height: 260px; }

    /* Crowdfunding banner */
    .cf-banner-inner { flex-direction: column; gap: var(--ruimte-l); }

    /* Nieuwsbrief form */
    .nb-form, .nieuwsbrief-form-wrap { flex-direction: column; }

    /* Partners */
    .partners-lijst-groot { grid-template-columns: 1fr !important; }

    /* Evenement items */
    .evt-item { padding: var(--ruimte-m); gap: var(--ruimte-m); }

    /* Rasters homepage */
    .raster-3 { grid-template-columns: 1fr !important; }
    .raster-2 { grid-template-columns: 1fr !important; }
    .over-ons-raster { grid-template-columns: 1fr !important; }
    .pijler-detail-raster { grid-template-columns: 1fr !important; }
    .pijler-detail-raster--omgekeerd { direction: ltr !important; }

    /* Knoppen volledig breed op mobiel */
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .hero-btns .knop { width: auto; }

    /* CF banner */
    .cf-banner-knop { width: 100%; }
    .cf-banner-knop .knop { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .bestuur-namen-lijst { grid-template-columns: 1fr !important; }
    .cf-banner-stats { gap: var(--ruimte-l); }
    .evt-dag { font-size: 1.75rem; }
}

/* ============================================================
   NIEUWS & UPDATES SECTIE — HOMEPAGE
============================================================ */
.nieuws-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-xl);
}

.nieuws-kaart {
  background: white;
  border-radius: var(--rand-radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-zacht);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nieuws-kaart:hover {
  transform: translateY(-4px);
  box-shadow: var(--schaduw-medium);
}

.nieuws-kaart-foto {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nieuws-kaart-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nieuws-kaart:hover .nieuws-kaart-foto img {
  transform: scale(1.04);
}

.nieuws-kaart-tekst {
  padding: var(--ruimte-l);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nieuws-datum {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kleur-blaadjes);
  margin-bottom: var(--ruimte-s);
  display: block;
}

.nieuws-kaart-tekst h3 {
  font-size: 1.0625rem;
  color: var(--tekst-primair);
  margin-bottom: var(--ruimte-s);
  line-height: 1.35;
}

.nieuws-kaart-tekst p {
  font-size: 0.875rem;
  color: var(--tekst-secundair);
  line-height: 1.6;
  margin: 0;
}

.nieuws-leeg {
  background: white;
  border-radius: var(--rand-radius-l);
  padding: var(--ruimte-2xl);
  color: var(--tekst-secundair);
  max-width: 560px;
}

@media (max-width: 900px) {
  .nieuws-raster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nieuws-raster { grid-template-columns: 1fr; }
}


/* ============================================================
   INSTAGRAM PREVIEW SECTIE
============================================================ */
.ig-preview-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ruimte-s);
  max-width: 720px;
  margin: 0 auto var(--ruimte-xl);
}

.ig-preview-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--rand-radius);
  display: block;
}

.ig-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.ig-preview-hover {
  position: absolute;
  inset: 0;
  background: rgba(61, 96, 39, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-preview-item:hover img { transform: scale(1.06); filter: brightness(0.85); }
.ig-preview-item:hover .ig-preview-hover { opacity: 1; }

/* Instagram contact pagina placeholder */
.instagram-feed-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.instagram-feed-placeholder {
  background: white;
  border-radius: var(--rand-radius-l);
  padding: var(--ruimte-2xl);
  box-shadow: var(--schaduw-zacht);
  text-align: center;
}

.ig-placeholder-icoon {
  color: var(--kleur-boswoud);
  margin-bottom: var(--ruimte-l);
}

@media (max-width: 600px) {
  .ig-preview-raster { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .ig-preview-item { border-radius: 4px; }
  .nieuws-raster { grid-template-columns: 1fr; }
}

/* Nieuws kaarten mobiel verbetering */
@media (max-width: 768px) {
  .nieuws-raster {
    grid-template-columns: 1fr;
    gap: var(--ruimte-l);
  }
  .nieuws-kaart {
    flex-direction: row;
    align-items: stretch;
    max-height: 120px;
  }
  .nieuws-kaart-foto {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: auto;
  }
  .nieuws-kaart-tekst {
    padding: var(--ruimte-m);
  }
  .nieuws-kaart-tekst h3 {
    font-size: 0.9375rem;
    margin-bottom: var(--ruimte-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nieuws-kaart-tekst p { display: none; }
}


/* ============================================================
   MENU ACTIEF STAAT (zonder body overflow hack)
============================================================ */
html.menu-actief {
  /* Voorkom scrollen op achtergrond zonder scroll-positie te resetten */
  overflow: hidden;
  height: 100%;
}

/* Mobiel menu overlay — volledig scherm onder de header, leesbare font */
@media (max-width: 768px) {
  .hoofd-nav.menu-open {
    display: flex !important;
    position: fixed !important;
    top: var(--header-hoogte) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    /* Fallback voor oudere browsers */
    height: calc(100vh - var(--header-hoogte)) !important;
    /* Moderne browsers (iOS Safari 15.4+, Chrome 108+): dynamische viewport
       die rekening houdt met verschijnende/verdwijnende browser-UI */
    height: calc(100dvh - var(--header-hoogte)) !important;
    max-height: calc(100dvh - var(--header-hoogte)) !important;
    z-index: 1001 !important;
    background: var(--kleur-perkament-warm) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: var(--ruimte-l) var(--zijmarge) var(--ruimte-2xl) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-top: 1px solid var(--rand-kleur) !important;
  }

  /* Menu items lijst */
  .hoofd-nav.menu-open #hoofd-menu-lijst,
  .hoofd-nav.menu-open ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .hoofd-nav.menu-open li {
    width: 100% !important;
    border-bottom: 1px solid var(--rand-kleur) !important;
  }

  .hoofd-nav.menu-open li a {
    display: block !important;
    font-family: var(--font-kop) !important;
    font-size: 1rem !important;
    padding: var(--ruimte-s) 0 !important;
    color: var(--kleur-boswoud-donker) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  .hoofd-nav.menu-open li a::after {
    display: none !important;
  }

  .hoofd-nav.menu-open li a:hover,
  .hoofd-nav.menu-open li a:focus {
    color: var(--kleur-boswoud) !important;
  }

  /* Verberg "Lid worden" menu-item in overlay — CTA knop is voldoende */
  .hoofd-nav.menu-open li a[href*="lid-worden"],
  .hoofd-nav.menu-open li a[href*="lid_worden"] {
    display: none !important;
  }
  .hoofd-nav.menu-open li:has(a[href*="lid-worden"]),
  .hoofd-nav.menu-open li:has(a[href*="lid_worden"]) {
    display: none !important;
  }

  /* CTA knop onder de lijst */
  .hoofd-nav.menu-open .nav-cta {
    margin-top: var(--ruimte-l) !important;
    width: 100% !important;
  }
  .hoofd-nav.menu-open .nav-cta a {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Header vast bovenaan — compenseer voor niet-homepage pagina's */
body:not(.pagina-home) #hoofd-inhoud,
body:not(.pagina-home) .site-inhoud {
  margin-top: 0;
}

/* Hamburger knop altijd zichtbaar en klikbaar */
.menu-toggle {
  position: relative;
  z-index: 1001;
}

/* ============================================================
   CROSS-DEVICE UNIFORMITEIT — v23 fixes
   Zorgt voor consistente weergave op kleine iPhones (390px),
   grotere Androids en desktops vanaf 1440px+
============================================================ */

/* Kleine iPhones (iPhone SE, 12 mini, etc.) */
@media (max-width: 390px) {
  :root {
    --zijmarge: 16px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .pagina-hero h1 {
    font-size: 1.75rem;
  }

  .raster-3 {
    grid-template-columns: 1fr;
  }

  .knop {
    font-size: 0.8rem;
    padding: 10px 18px;
  }
}

/* Grote desktops (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* Tablet landscape (1024px–1280px) */
@media (max-width: 1280px) and (min-width: 769px) {
  .raster-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Uniforme box-sizing voor alle elementen */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* ============================================================
   TERUG NAAR BOVEN KNOP
============================================================ */
.terug-naar-boven {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--kleur-boswoud);
  color: var(--kleur-perkament-warm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(61, 96, 39, 0.25);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.terug-naar-boven.zichtbaar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.terug-naar-boven:hover,
.terug-naar-boven:focus-visible {
  background: var(--kleur-boswoud-donker);
  outline: none;
  transform: translateY(-2px);
}

.terug-naar-boven:focus-visible {
  box-shadow: 0 4px 14px rgba(61, 96, 39, 0.25), 0 0 0 3px var(--kleur-oogst);
}

.terug-naar-boven svg {
  display: block;
}

@media (max-width: 768px) {
  .terug-naar-boven {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terug-naar-boven {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none !important;
  }
}

/* iOS Safari specifieke fixes */
@supports (-webkit-touch-callout: none) {
  .hero-video {
    /* iOS video playback fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .site-header {
    /* iOS fixed positioning fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
