/*
Theme Name: MKI Kennis Instituut
Theme URI: https://mki.local
Author: MKI Kennis Instituut
Description: Layout-variant B van de MKI Kennis Instituut website: licht en luchtig, pill-knoppen, schaduwkaarten, subtiele dynamiek (Linear-vibe). Kleuren en typografie volgens de vastgelegde brand kit. Bij activatie worden alle 36 pagina's automatisch aangemaakt.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: mki
*/

/* Inter lokaal gehost (variable font, latin): geen verzoeken naar Google Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-variable-latin.woff2') format('woff2');
}

/* ==========================================================================
   MKI Kennis Instituut, VARIANT B ("eTrain-vibe": licht, rond, luchtig,
   pill-knoppen, schaduwkaarten, gecentreerde koppen).
   Zelfde brand tokens (locked, zie Brand Kit), andere layout-taal.
   ========================================================================== */
:root {
  --c-dark: #0F2210;
  --c-green: #317725;
  --c-green-2: #1A3D1C;
  --c-green-3: #255228;
  --c-lime: #9EBC19;
  --c-lime-soft: #CDE565;
  --c-yellow: #DEB016;
  --c-base-1: #D6E6C3;
  --c-base-2: #E4EDD9;
  --c-base-3: #F0F5EC;
  --c-white: #FFFFFF;
  --c-text: #333333;
  --c-text-2: #666666;
  --c-border: #CCCCCC;

  --font: "Inter", Arial, Helvetica, Verdana, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 72px;
  --space-6: 110px;

  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 6px 24px rgba(15, 34, 16, 0.08);
  --shadow-lg: 0 14px 38px rgba(15, 34, 16, 0.14);
  --maxw: 1120px;
}

/* ==========================================================================
   Reset en basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-green); }
a:hover { color: var(--c-green-2); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--c-lime);
  outline-offset: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-3); }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-dark); color: var(--c-white);
  padding: var(--space-1) var(--space-2); z-index: 1000;
}
.skip-link:focus { left: 0; color: var(--c-white); }

/* ==========================================================================
   Typografie: H1/H2 uppercase bold volgens brand kit
   ========================================================================== */
h1, h2 { text-transform: uppercase; font-weight: 800; color: var(--c-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: 1px; line-height: 1.12; }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: 0.5px; line-height: 1.2; margin-bottom: var(--space-3); }
h3 { font-weight: 700; font-size: 1.15rem; color: var(--c-dark); margin-bottom: var(--space-1); }

p + p { margin-top: var(--space-2); }

main ul, main ol { padding-left: 24px; margin: var(--space-2) 0; }
main li + li { margin-top: 8px; }

/* gecentreerde sectiekoppen met accentstreep (eTrain-stijl), niet in artikelen */
.section > .container > h2 {
  text-align: center;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: var(--space-4);
}
.section > .container > h2::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 56px; height: 4px;
  border-radius: 4px;
  background: var(--c-lime);
}
.section-intro { max-width: 720px; margin: 0 auto var(--space-4); text-align: center; }
.kicker { color: var(--c-green); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--space-1); }

/* ==========================================================================
   Knoppen: pills met schaduw
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
  touch-action: manipulation;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--c-green); color: var(--c-white); }
.btn-primary:hover { background: var(--c-green-2); color: var(--c-white); }
.btn-lime { background: var(--c-lime); color: var(--c-dark); }
.btn-lime:hover { background: var(--c-lime-soft); color: var(--c-dark); }
.btn-outline { border-color: var(--c-green); color: var(--c-green); background: var(--c-white); box-shadow: none; }
.btn-outline:hover { background: var(--c-base-3); color: var(--c-green-2); }
.btn-outline-light { border-color: var(--c-green); color: var(--c-green); background: var(--c-white); box-shadow: none; }
.btn-outline-light:hover { background: var(--c-base-3); color: var(--c-green-2); }
.btn-small { padding: 9px 22px; font-size: 0.9375rem; }

/* ==========================================================================
   Header: wit, zwevend, pill-CTA
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  box-shadow: 0 2px 14px rgba(15, 34, 16, 0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding-top: 10px; padding-bottom: 10px;
}
.logo { width: 150px; height: auto; }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }

.nav-list {
  display: flex; align-items: center; gap: var(--space-3);
  list-style: none; padding: 0; margin: 0;
}
.nav-list a:not(.btn) {
  text-decoration: none;
  color: var(--c-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 10px 2px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.nav-list a:not(.btn):hover { color: var(--c-green); }
.nav-list a.active { color: var(--c-green); font-weight: 700; border-bottom-color: var(--c-lime); }

.nav-item { position: relative; }
.submenu {
  display: none;
  position: absolute; top: 100%; left: -16px;
  min-width: 270px;
  background: var(--c-white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-1) 0;
  z-index: 50;
}
.submenu li { margin: 0; }
.submenu a { display: block !important; padding: 10px 20px !important; border-bottom: none !important; }
.submenu a:hover { background: var(--c-base-3); border-radius: 8px; }
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { display: block; }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
  }
  .nav-toggle-bar {
    display: block; width: 24px; height: 2px;
    background: var(--c-dark);
    transition: transform 200ms ease-out, opacity 200ms ease-out;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-list {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-white);
    box-shadow: 0 12px 24px rgba(15, 34, 16, 0.12);
    padding: var(--space-1) 0 var(--space-2);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-list.open { display: flex; }
  .nav-list a:not(.btn) { display: block; padding: 12px var(--space-3); border-bottom: none; }
  .submenu {
    display: block;
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-left: 3px solid var(--c-lime-soft);
    margin-left: var(--space-3);
    padding: 0;
  }
  .submenu a { padding: 9px var(--space-3) !important; font-size: 0.9rem !important; color: var(--c-green-3) !important; }
  .nav-cta-item { padding: var(--space-2) var(--space-3) 0; }
  .nav-cta-item .btn { display: block; }
}

/* ==========================================================================
   Kruimelpad: donker, plakt visueel aan de page-hero (eTrain-stijl)
   ========================================================================== */
.breadcrumbs { background: var(--c-dark); }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px;
  justify-content: center;
  padding: 12px 0 0; margin: 0;
  font-size: 0.85rem;
}
.breadcrumbs li + li::before { content: "/"; color: var(--c-base-1); margin: 0 6px; }
.breadcrumbs a { color: var(--c-lime-soft); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li[aria-current] { color: var(--c-base-2); }

/* ==========================================================================
   Hero's
   Home-hero: licht en luchtig. Subpagina-hero: donkergroen, gecentreerd.
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--c-base-3) 0%, var(--c-base-2) 55%, var(--c-base-1) 100%);
  color: var(--c-text);
  overflow: hidden;
}
.hero-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.7; }
.hero-lines svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 { color: var(--c-dark); margin-bottom: var(--space-3); }
.hero-kicker { color: var(--c-green); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--space-2); }
.hero p { max-width: 680px; margin-left: auto; margin-right: auto; color: var(--c-text); }
.hero p + p { margin-top: var(--space-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); justify-content: center; }
.hero .btn-outline-light { background: var(--c-white); }
.hero-reassure { margin-top: var(--space-2); color: var(--c-text-2); font-size: 0.9375rem; }

.page-hero {
  background: linear-gradient(150deg, var(--c-dark) 0%, var(--c-green-2) 70%, var(--c-green-3) 100%);
  padding: var(--space-5) 0;
  text-align: center;
}
.page-hero h1 { color: var(--c-white); margin-bottom: var(--space-2); }
.page-hero p { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--c-base-2); }
.page-hero a { color: var(--c-lime-soft); }
.page-hero .hero-actions { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.page-hero .btn-outline { background: transparent; border-color: var(--c-white); color: var(--c-white); }
.page-hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--c-white); }
.page-hero .btn-primary { background: var(--c-lime); color: var(--c-dark); }
.page-hero .btn-primary:hover { background: var(--c-lime-soft); color: var(--c-dark); }

/* ==========================================================================
   Secties: veel wit, afwisselend zacht getint
   ========================================================================== */
.section { padding: var(--space-6) 0; }
.section-light { background: var(--c-white); }
.section-base { background: var(--c-base-3); }
.section-dark {
  background: linear-gradient(120deg, var(--c-green-2) 0%, var(--c-green) 100%);
  text-align: center;
}
.section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-dark .container > h2::after { background: var(--c-lime-soft); }
.section-dark p { color: var(--c-base-3); max-width: 680px; margin-left: auto; margin-right: auto; }
.section-dark .hero-actions { justify-content: center; }

/* geen golf-dividers in variant B */
.wave-divider { display: none; }

.inline-cta {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--c-base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.inline-cta.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.inline-cta a { font-weight: 600; }
.inline-cta .btn { margin-top: var(--space-2); }

/* ==========================================================================
   Kaarten: borderloos, rond, schaduw, hover-lift
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 900px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-soft { background: var(--c-base-3); }
.card-title { text-transform: uppercase; letter-spacing: 0.5px; font-size: 1rem; }
.card ul, .card ol { text-align: left; }
.card-cta { margin-top: var(--space-2); }
.card-cta a { font-weight: 600; }
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-green-3);
  background: var(--c-lime-soft);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: var(--space-2);
}

/* geel = feiten/waarschuwingen, spaarzaam (brand kit) */
.fact-strip {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--c-yellow);
}
.notice {
  padding: var(--space-2) var(--space-3);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--c-yellow);
  margin-bottom: var(--space-3);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Artikel-/uitlegpagina (links uitgelijnd voor leesbaarheid)
   ========================================================================== */
.article { padding: var(--space-5) 0 var(--space-6); background: var(--c-white); }
.article .container { max-width: 780px; }
.article h2 {
  margin-top: var(--space-5);
  text-align: left;
  position: relative;
  padding-bottom: 12px;
}
.article h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 44px; height: 4px;
  border-radius: 4px;
  background: var(--c-lime);
}
.article h3 { margin-top: var(--space-3); }
.article h2:first-child { margin-top: 0; }
.article .card { text-align: left; }

.source-note {
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--c-base-3);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--c-text-2);
}

/* begrippenlijst */
.term-block {
  margin-top: var(--space-2);
  padding: var(--space-3);
  background: var(--c-base-3);
  border-radius: var(--radius);
}
.term-block h3 { margin-top: 0; }

/* faq */
.faq-item { margin-top: var(--space-2); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-dark);
  padding: var(--space-2) var(--space-3);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 44px;
  transition: box-shadow 200ms ease-out;
}
.faq-item summary:hover { box-shadow: var(--shadow-lg); }
.faq-item[open] summary { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item .faq-body {
  padding: var(--space-2) var(--space-3);
  background: var(--c-base-3);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* download-items */
.dl-item {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.dl-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dl-item .dl-info { max-width: 560px; }
.dl-meta { font-size: 0.85rem; color: var(--c-text-2); margin-top: 4px; }

/* ==========================================================================
   Formulieren: ronde velden op zachte kaart
   ========================================================================== */
.contact-form {
  max-width: 680px;
  background: var(--c-base-3);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: var(--space-3); }
.form-field label { display: block; font-weight: 600; color: var(--c-dark); margin-bottom: 6px; }
.form-field .hint { font-weight: 400; color: var(--c-text-2); font-size: 0.875rem; }
.req { color: var(--c-green); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 44px;
  box-shadow: inset 0 1px 3px rgba(15, 34, 16, 0.06);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--c-green); }
.form-field [aria-invalid="true"] { border-color: var(--c-yellow); background: #FDF8EA; }

.field-error { color: #7A6008; font-size: 0.875rem; margin-top: 6px; }

.btn-submit { min-width: 220px; }
.btn-submit[disabled] { opacity: 0.5; cursor: default; transform: none; }
.form-status { margin-top: var(--space-2); font-weight: 600; min-height: 24px; }
.form-status.ok { color: var(--c-green-2); }
.form-status.error { color: #7A6008; }
.privacy-note { margin-top: var(--space-2); font-size: 0.875rem; color: var(--c-text-2); }

/* ==========================================================================
   Footer: licht (eTrain-stijl), gecentreerd onderschrift
   ========================================================================== */
.site-footer {
  background: var(--c-base-2);
  color: var(--c-text);
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-6);
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand {
  color: var(--c-dark);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}
.footer-brand span { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; color: var(--c-green-3); }
.footer-tagline { margin-top: var(--space-1); font-size: 0.9375rem; color: var(--c-text-2); }

.footer-heading {
  color: var(--c-green);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-1);
  font-weight: 700;
}
.footer-col p { margin-top: 4px; font-size: 0.9375rem; }
.site-footer a { color: var(--c-green-3); text-decoration: none; }
.site-footer a:hover { color: var(--c-green); text-decoration: underline; }

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid var(--c-base-1);
  font-size: 0.875rem;
  text-align: center;
  color: var(--c-text-2);
}

/* ==========================================================================
   Subtiele reveal (respecteert reduced motion)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 450ms ease-out, transform 450ms ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   DYNAMIEK-LAAG (Linear-subtiel, vleugje Apple)
   ========================================================================== */

/* --- Krimpende sticky header --- */
.site-header { transition: box-shadow 250ms ease-out; }
.header-inner { transition: padding 250ms ease-out; }
.logo { transition: width 250ms ease-out; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15, 34, 16, 0.12); }
.site-header.scrolled .header-inner { padding-top: 4px; padding-bottom: 4px; }
.site-header.scrolled .logo { width: 122px; }

/* --- Hero: golflijnen tekenen zichzelf en golven traag door --- */
.hero-lines path {
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  animation: draw-line 2.4s ease-out forwards, drift-line 11s ease-in-out 2.4s infinite alternate;
}
.hero-lines path:nth-child(1) { animation-delay: 0s, 2.4s; }
.hero-lines path:nth-child(2) { animation-delay: 0.25s, 2.9s; animation-duration: 2.4s, 13s; }
.hero-lines path:nth-child(3) { animation-delay: 0.5s, 3.4s; animation-duration: 2.4s, 15s; }
.hero-lines path:nth-child(4) { animation-delay: 0.75s, 3.9s; animation-duration: 2.4s, 17s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes drift-line {
  from { transform: translateY(0); }
  to { transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lines path { animation: none; stroke-dashoffset: 0; }
}

/* --- Hero-inhoud: zachte binnenkomst --- */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: rise-in 600ms ease-out backwards; }
.hero-content > *:nth-child(2) { animation-delay: 90ms; }
.hero-content > *:nth-child(3) { animation-delay: 180ms; }
.hero-content > *:nth-child(4) { animation-delay: 240ms; }
.hero-content > *:nth-child(5) { animation-delay: 300ms; }
.hero-content > *:nth-child(6) { animation-delay: 360ms; }
.hero-content > *:nth-child(7) { animation-delay: 420ms; }
.hero-content > *:nth-child(8) { animation-delay: 480ms; }
@media (prefers-reduced-motion: reduce) { .hero-content > * { animation: none; } }

/* --- Lijnillustratie in hero --- */
.b-illustration { max-width: 760px; margin: var(--space-5) auto 0; }
.b-illustration svg { width: 100%; height: auto; }

/* --- Statistiekband (donker accentmoment) --- */
.stats-band {
  background: linear-gradient(120deg, var(--c-green-2) 0%, var(--c-green-3) 100%);
  padding: var(--space-5) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--c-lime-soft);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--c-base-2); font-size: 0.9375rem; margin-top: 6px; }
.stat-note { display: block; font-size: 0.75rem; color: var(--c-base-1); opacity: 0.8; }

/* --- Fotostrook (duotone placeholder) --- */
.photo-strip-wrap { padding: 0 0 var(--space-6); background: var(--c-white); }
.photo-strip {
  position: relative;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 34, 16, 0.92) 0%, rgba(49, 119, 37, 0.85) 55%, rgba(37, 82, 40, 0.9) 100%),
    repeating-linear-gradient(115deg, var(--c-base-1) 0 3px, var(--c-base-2) 3px 26px);
  display: flex;
  align-items: flex-end;
}
.photo-strip-overlay { position: absolute; inset: auto 0 34%; height: 60px; opacity: 0.9; }
.photo-strip-overlay svg { width: 100%; height: 100%; }
.photo-strip figcaption {
  position: relative;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  color: var(--c-base-2);
  font-size: 0.875rem;
  background: linear-gradient(rgba(15, 34, 16, 0), rgba(15, 34, 16, 0.55));
}
.photo-strip figcaption .stat-note { display: inline; }

/* --- Precieze micro-interacties (Linear) --- */
main p a:not(.btn),
main li a:not(.btn),
.inline-cta a:not(.btn) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1.5px;
  transition: background-size 220ms ease-out;
}
main p a:not(.btn):hover,
main li a:not(.btn):hover,
.inline-cta a:not(.btn):hover { background-size: 0 1.5px; background-position: 100% 100%; }

.card-cta a {
  text-decoration: none;
  font-weight: 600;
}
.card-cta a::after {
  content: " \2192";
  display: inline-block;
  transition: transform 220ms ease-out;
}
.card-cta a:hover::after { transform: translateX(3px); }

.card { border: 1px solid transparent; }
.card:hover { border-color: var(--c-base-1); }

/* ==========================================================================
   WordPress-specifiek
   ========================================================================== */
/* admin bar mag de sticky header niet overlappen */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
/* neutraliseer standaard blok-marges zodat secties strak aansluiten */
main > .wp-block-html { margin: 0; }

/* ==========================================================================
   Fluent Forms in variant B-stijl (binnen .ff-shell, de formulierkaart)
   ========================================================================== */
.ff-shell .fluentform { font-family: var(--font); }
.ff-shell .ff-el-group { margin-bottom: var(--space-3); }
.ff-shell .ff-el-input--label label {
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 6px;
  display: inline-block;
}
.ff-shell .ff-el-form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 44px;
  box-shadow: inset 0 1px 3px rgba(15, 34, 16, 0.06);
}
.ff-shell .ff-el-form-control:focus {
  border-color: var(--c-green);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(15, 34, 16, 0.06);
}
.ff-shell textarea.ff-el-form-control { min-height: 130px; }
.ff-shell .ff-el-is-error .ff-el-form-control { border-color: var(--c-yellow); background: #FDF8EA; }
.ff-shell .error.text-danger, .ff-shell .ff-el-is-error .error { color: #7A6008; font-size: 0.875rem; margin-top: 6px; }
.ff-shell .ff-btn-submit {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  min-height: 44px;
  min-width: 220px;
  cursor: pointer;
  background: var(--c-green) !important;
  color: var(--c-white) !important;
  box-shadow: var(--shadow);
  transition: background-color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
}
.ff-shell .ff-btn-submit:hover { background: var(--c-green-2) !important; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.ff-shell .ff-message-success {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--c-base-1);
  border-radius: 12px;
  color: var(--c-green-2);
  font-weight: 600;
}
.ff-shell .ff-el-progress, .ff-shell .ff-upload-preview { border-radius: 12px; }
