
/* =====================================================
   PPPDINFO.NL - WCAG 2.1 AA TOEGANKELIJK ONTWERP
   Speciaal voor mensen met visuele overgevoeligheid
   ===================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  img, iframe, video, table { max-width: 100%; }
  .kader, .kader-groen, .kader-oranje, [style*="border-radius"][style*="padding"] {
    overflow-wrap: break-word;
    word-break: break-word;
  }

/* KLEURENPALET - rustige, warme tinten */
:root {
  --blauw:        #1A5C8A;   /* hoofdkleur - donker, kalm blauw */
  --blauw-licht:  #2A7AB8;   /* links, accenten */
  --blauw-zacht:  #EEF4FA;   /* lichte achtergrond */
  --blauw-rand:   #C5DCF0;   /* randen */
  --groen:        #2D6A4F;   /* positief kader */
  --groen-zacht:  #EAF4EE;
  --tekst:        #1C1C1C;   /* bijna-zwart - beter dan puur zwart */
  --tekst-zacht:  #444444;   /* secundaire tekst */
  --tekst-licht:  #666666;   /* meta, bijschriften */
  --achtergrond:  #FAFAF8;   /* warme witte achtergrond */
  --rand:         #DEDEDE;
  --nav-bg:       #1A4A6E;   /* donker, rustig - geen gradient */
  --nav-tekst:    #FFFFFF;
  --focus:        #E8A020;   /* oranje focus-ring - hoge zichtbaarheid */
}

/* SKIP LINK - screenreaders en toetsenbord */
.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  background: var(--focus);
  color: #000;
  padding: 10px 20px;
  font-weight: bold;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

/* FOCUS ZICHTBAAR - WCAG 2.1 succes criterium 2.4.7 */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* BASIS TYPOGRAFIE */
html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem;         /* 18px */
  line-height: 1.75;       /* WCAG: min 1.5, wij bieden meer rust */
  color: var(--tekst);
  background: var(--achtergrond);
  -webkit-font-smoothing: antialiased;
}

/* LINKS */
a { color: var(--blauw-licht); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; } /* geen kleurverandering op hover */

/* KOPPEN */
h1 {
  font-size: 1.9rem;       /* ~34px */
  color: var(--blauw);
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
}
h2 {
  font-size: 1.3rem;
  color: var(--blauw);
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blauw-rand);
  font-weight: 600;
}
h3 {
  font-size: 1.1rem;
  color: var(--blauw);
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ALINEA'S - ruime witruimte */
p { margin: 0 0 16px 0; }
p:last-child { margin-bottom: 0; }

/* LIJSTEN */
ul, ol { margin: 0 0 16px 0; padding-left: 24px; }
li { margin-bottom: 8px; line-height: 1.7; }

/* NAVIGATIE */
nav {
  background: rgba(26, 74, 110, 0.94);   /* semi-transparant, zachte overgang */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(26,74,110,0.18);
}
.nav-logo {
  color: var(--nav-tekst);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
  flex-shrink: 0;
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 9px 11px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; }

/* NAV LIJST - plat, ruime klikgebieden */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: auto;
}

/* TOP-NIVEAU ITEMS */
.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button {
  color: rgba(255,255,255,0.88);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.93rem;
  cursor: pointer;
  padding: 10px 18px;          /* royale padding = groot klikgebied */
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;            /* WCAG 2.5.5 minimaal aanraakgebied */
  /* transition verwijderd: geen beweging op hover */
}
.nav-links > li > button::after {
  content: '▾';
  font-size: 0.6rem;
  opacity: 0.6;
  margin-left: 2px;
}
/* nav hover verwijderd */
.nav-links > li > a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.16);
}
.nav-links > li.actief-groep > button {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.16);
}

/* CTA KNOP - Wat is PPPD? */
.nav-cta { margin-left: 10px; }
.nav-cta-btn {
  display: inline-flex !important;
  align-items: center;
  background: #c8e6f0 !important;   /* zacht pastelblauw, niet schreeuwerig */
  color: #1A4A6E !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: 20px !important;   /* pill-vorm, vriendelijk */
  font-size: 0.88rem !important;
  text-decoration: none !important;
  min-height: 44px;
  border: 2px solid #a8d4e4 !important;
  /* transition verwijderd */
  white-space: nowrap;
}
.nav-cta-btn:hover { text-decoration: none !important; } /* geen kleurverandering */

/* DROPDOWN - plat, geen diepe boomstructuur */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;         /* direct aansluitend - geen gat waar hover verloren gaat */
  left: 0;
  right: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(26,74,110,0.14);
  min-width: 230px;
  padding: 10px 0;
  z-index: 500;
  border: 1px solid #e4eef5;
}
/* Dropdown opent via JS .dd-open - geen CSS :hover (te fragiel) */
.nav-links > li.dd-open > .nav-dropdown { display: block; }

.nav-dropdown hr {
  border: none;
  border-top: 1px solid #edf3f7;
  margin: 6px 0;
}
.nav-dropdown a {
  display: block;
  padding: 11px 20px;          /* ruim klikgebied ook in dropdown */
  color: #333333;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  height: auto;
  border-radius: 0;
  background: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  /* transition verwijderd */
}
/* nav-dropdown a:hover verwijderd */
.nav-dropdown a[aria-current="page"] {
  color: var(--blauw);
  font-weight: 600;
  background: #ebf4f6;
}

/* HOOFDINHOUD - optimale leeskolom */
main { display: block; }

.pagina {
  max-width: 700px;       /* rustiger dan 820px */
  margin: 0 auto;
  padding: 48px 24px 32px;
}

/* HERO - rustig, geen felle gradient */
.hero {
  background: var(--nav-bg);   /* vlakke kleur, geen gradient */
  color: white;
  text-align: center;
  padding: 64px 24px 56px;
}
.hero h1 {
  font-size: 1.85rem;
  margin-bottom: 18px;
  color: white;
  border: none;
  font-weight: 700;
}
.hero p {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 32px;
  opacity: 0.92;
  line-height: 1.7;
}
.hero-btn {
  display: inline-block;
  background: white;
  color: var(--blauw);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 7px;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  }
.hero-btn:hover { background: #f0f0f0; color: var(--blauw); text-decoration: none; }

/* UITLEG SECTIE */
.uitleg { padding: 56px 24px; background: var(--blauw-zacht); }
.uitleg .section-title { border-bottom-color: var(--blauw-rand); }
.uitleg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.uitleg-kaart {
  background: white;
  border-radius: 10px;
  padding: 22px 20px;
  border-left: 5px solid var(--blauw);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.uitleg-kaart h3 { color: var(--blauw); font-size: 1rem; margin-bottom: 10px; margin-top: 0; }
.uitleg-kaart p { font-size: 0.95rem; color: var(--tekst-zacht); margin: 0; line-height: 1.65; }

/* KADERS / INFOBLOKKEN */
.kader {
  background: var(--blauw-zacht);
  border-left: 5px solid var(--blauw);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}
.kader p, .kader ul, .kader-groen p, .kader-groen ul { margin-bottom: 10px; }
.kader p:last-child, .kader ul:last-child { margin-bottom: 0; }

.kader-groen {
  background: var(--groen-zacht);
  border-left: 5px solid var(--groen);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}

/* ARTIKELEN SECTIE */
.sectie { padding: 56px 24px; }
.sectie-grijs { padding: 56px 24px; background: #F4F4F2; }
.container { max-width: 960px; margin: 0 auto; }
.section-title {
  font-size: 1.3rem;
  color: var(--blauw);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rand);
  margin-top: 0;
  font-weight: 600;
}
.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.artikel-kaart {
  border: 1px solid var(--rand);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: white;
} /* artikel-kaart hover verwijderd */
.artikel-kaart h3 { font-size: 1rem; color: var(--blauw); margin: 8px 0 8px; line-height: 1.4; }
.artikel-kaart p { font-size: 0.93rem; color: var(--tekst-zacht); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.artikel-kaart a.lees-meer { font-size: 0.92rem; font-weight: 600; color: var(--blauw-licht); text-decoration: none; }


/* LABEL BADGE */
.label {
  display: inline-block;
  background: var(--blauw-zacht);
  color: var(--blauw);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--blauw-rand);
}

/* NIEUWSBRIEF */
.nieuwsbrief {
  background: var(--nav-bg);
  color: white;
  padding: 52px 24px;
  text-align: center;
}
.nieuwsbrief h2 { color: white; border: none; font-size: 1.3rem; margin-bottom: 12px; margin-top: 0; }
.nieuwsbrief p { opacity: 0.9; max-width: 480px; margin: 0 auto 24px; line-height: 1.65; }
.nieuwsbrief-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}
.nieuwsbrief-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 7px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-family: inherit;
}
.nieuwsbrief-form input:focus { border-color: var(--focus); outline: none; }
.nieuwsbrief-form button {
  background: white;
  color: var(--blauw);
  font-weight: 700;
  border: none;
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
} /* nieuwsbrief hover verwijderd */

/* FOOTER */
footer {
  background: #F0F0EE;
  border-top: 1px solid var(--rand);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--tekst-licht);
}
footer a { color: var(--blauw-licht); margin: 0 8px; }
footer p + p { margin-top: 10px; }

/* BLOCKQUOTE */
blockquote {
  border-left: 4px solid var(--blauw);
  padding: 12px 20px;
  margin: 24px 0;
  color: var(--tekst-zacht);
  font-style: italic;
  background: var(--blauw-zacht);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

/* META / BRON */
.meta { font-size: 0.85rem; color: var(--tekst-licht); margin-bottom: 24px; }
.bron {
  font-size: 0.83rem;
  color: var(--tekst-licht);
  font-style: italic;
  margin-top: 48px;
  border-top: 1px solid var(--rand);
  padding-top: 18px;
  line-height: 1.65;
}

/* KAART */
.kaart-wrap { margin: 24px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--rand); }
.kaart-wrap iframe { display: block; border: 0; width: 100%; height: 420px; }

/* TABELLEN (mochten ze voorkomen) */
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
th { background: var(--blauw-zacht); color: var(--blauw); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--blauw-rand); }
td { padding: 10px 14px; border-bottom: 1px solid var(--rand); }

/* =====================================
   RESPONSIVE - MOBIEL
   ===================================== */
@media (max-width: 680px) {
  html { font-size: 17px; }
  .hamburger { display: flex !important; }

  /* nav zelf: vaste hoogte, geen wrap zodat het menu altijd op juiste plek staat */
  nav {
    flex-wrap: nowrap;
    padding: 0 16px;
    min-height: 56px;
    position: sticky;   /* blijft sticky zodat hamburger altijd bereikbaar is */
  }

  /* Menu: fixed, vult precies het resterende viewport */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    /* Expliciete hoogte ipv bottom:0 — betrouwbaarder op iOS/Android */
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px); /* dvh voor browsers die dynamic viewport ondersteunen */
    background: #1a4a6e;
    padding: 8px 0 32px;
    z-index: 9500;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  /* Blokkeer pagina-scroll terwijl menu open is */
  body.menu-open {
    overflow: hidden;
    /* GEEN position:fixed hier - dat veroorzaakt scroll-positie reset op iOS.
       overflow:hidden alleen is voldoende op Android.
       iOS wordt via JS opgelost met scroll-positie opslaan. */
  }

  .nav-links.open { display: flex; }

  .nav-links > li > a,
  .nav-links > li > button {
    height: auto;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }

  /* CTA knop in mobiel menu */
  .nav-cta { margin-left: 0; }
  .nav-cta-btn {
    display: flex !important;
    width: calc(100% - 32px) !important;
    margin: 10px 16px 2px !important;
    border-radius: 10px !important;
    justify-content: center;
    padding: 14px 20px !important;
  }
  .nav-links > li > button::after { content: '▾'; }

  /* Submenu's: statisch, scrollen mee met het menu */
  .nav-dropdown {
    display: none !important;
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,0.18);
    min-width: 0;
    border: none;
    padding: 0;
  }
  .nav-links > li.mob-open > .nav-dropdown { display: block !important; }
  .nav-dropdown a {
    color: rgba(255,255,255,0.82);
    padding: 13px 24px 13px 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    min-height: 50px;
    background: none;
    display: block;
  }
  /* mobiel nav-dropdown hover verwijderd */
  .nav-dropdown a[aria-current="page"] { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; }
  .nav-dropdown hr { border-color: rgba(255,255,255,0.08); }
  .hero { padding: 40px 20px 32px; -webkit-mask-image: none; mask-image: none; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .pagina { padding: 32px 18px 60px; }
  .uitleg-grid, .artikel-grid { grid-template-columns: 1fr; }
  .uitleg, .sectie, .sectie-grijs { padding: 40px 18px; }
  .nieuwsbrief-form { flex-direction: column; }
  .nieuwsbrief-form input, .nieuwsbrief-form button { width: 100%; }
  .kaart-wrap iframe { height: 300px; }
  /* Icoontjes en kaarten - compacter op mobiel */
  .uitleg-icoon { font-size: 1.4rem !important; margin-bottom: 6px !important; }
  .uitleg-kaart { padding: 16px 14px !important; }
  .uitleg-kaart h3 { font-size: 0.93rem !important; margin-bottom: 8px !important; }
  .uitleg-kaart p { font-size: 0.88rem !important; }

  /* Tijdlijn - kleinere dots */
  .tijdlijn-dot { width: 32px !important; height: 32px !important; font-size: 0.95rem !important; flex-shrink: 0 !important; }
  .tijdlijn-item { gap: 12px !important; padding-bottom: 18px !important; }
  .tijdlijn-item::before { left: 15px !important; }
  .tijdlijn-tekst strong { font-size: 0.9rem !important; padding-top: 4px !important; }
  .tijdlijn-tekst span { font-size: 0.85rem !important; }

  /* Artikel/sub-links */
  .artikel-kaart { padding: 14px !important; }
  .sub-links a { font-size: 0.84rem !important; }

  /* Sectie padding */
  .uitleg, .sectie, .sectie-grijs { padding: 28px 16px !important; }
  .pagina { padding: 24px 16px 48px !important; }

  /* Hero knop */
  .hero-btn { font-size: 0.92rem !important; padding: 12px 22px !important; }

}

@media (min-width: 681px) and (max-width: 1024px) {
  .uitleg-grid { grid-template-columns: repeat(2, 1fr); }
  .artikel-grid { grid-template-columns: repeat(2, 1fr); }
}

/* VERMINDER BEWEGING - voor mensen gevoelig voor animaties */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* HOOG CONTRAST MODE */
@media (prefers-contrast: high) {
  :root {
    --blauw: #003D6B;
    --blauw-licht: #0057A0;
    --tekst: #000000;
    --achtergrond: #ffffff;
  }
  .uitleg-kaart, .artikel-kaart { border: 2px solid #000; }
}

/* TIJDLIJN SAMENVATTING */
.snel-tijdlijn { margin: 24px 0 36px; display: flex; flex-direction: column; }
.tijdlijn-item { display: flex; gap: 20px; padding-bottom: 24px; position: relative; }
.tijdlijn-item::before { content: ''; position: absolute; left: 20px; top: 44px; bottom: 0; width: 2px; background: var(--blauw-rand); }
.tijdlijn-item:last-of-type::before { display: none; }
.tijdlijn-dot { width: 42px; height: 42px; border-radius: 50%; background: var(--blauw-zacht); border: 2px solid var(--blauw); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.tijdlijn-tekst strong { display: block; font-size: 0.97rem; color: var(--blauw); margin-bottom: 4px; padding-top: 8px; font-weight: 600; }
.tijdlijn-tekst span { font-size: 0.9rem; color: var(--tekst-zacht); line-height: 1.65; }
.divider-snel { border: none; border-top: 2px dashed var(--blauw-rand); margin: 8px 0 32px; }
.in-het-kort { font-size: 0.88rem; color: var(--tekst-licht); margin-bottom: 4px; font-style: italic; }


/* ILLUSTRATIES */
.illustratie {
  margin: 28px 0 8px;
  background: #EEF4FA;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #C5DCF0;
}
.illustratie svg {
  width: 100%;
  height: auto;
  display: block;
}
.illustratie figcaption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid #C5DCF0;
  background: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}




  /* ── Pagina verantwoording ────────────────────────────────────────────────── */
  .pagina-verantwoording {
    margin: 16px auto 0;
    padding: 14px 24px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #888;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
  }
  .verantwoording-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    margin-bottom: 10px;
  }
  .verantwoording-item {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }
  .verantwoording-item > div {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .verantwoording-icoon {
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.6;
  }
  .verantwoording-label {
    display: inline;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: none;
    letter-spacing: 0;
  }
  .verantwoording-waarde {
    display: inline;
    color: #777;
    font-weight: 400;
    overflow-wrap: break-word;
  }
  .verantwoording-bronnen {
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
  }
  .verantwoording-brontekst {
    display: block;
    color: #aaa;
    margin-top: 3px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.75rem;
  }
  .verantwoording-disclaimer {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
    font-style: italic;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
    overflow-wrap: break-word;
    text-align: center;
  }
  @media (max-width: 480px) {
    .pagina-verantwoording { padding: 12px 12px; }
    .verantwoording-grid { gap: 6px 16px; }
  }

  /* Afkortingen */
  abbr {
    text-decoration: underline dotted var(--blauw-licht);
    cursor: help;
  }

  /* Lijsten */
  ul.site-lijst {
    list-style: disc;
    padding-left: 20px;
    margin: 12px 0 20px;
  }
  ul.site-lijst li {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--tekst);
    margin-bottom: 6px;
    padding-left: 4px;
  }


  /* Bijdrage blok */
  .bijdrage-blok {
    margin: 40px 0 0;
    padding: 16px 20px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    font-size: 0.88rem;
    color: #888;
  }
  .bijdrage-blok a {
    color: var(--blauw);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--blauw-rand);
  }
  .bijdrage-blok a:hover {
    border-bottom-color: var(--blauw);
  }


  /* Ook interessant kader */
  .ook-interessant {
    margin: 40px 0 0;
    padding: 20px;
    background: var(--blauw-zacht);
    border: 1px solid var(--blauw-rand);
    border-radius: 10px;
  }
  .ook-interessant-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blauw-licht);
    margin: 0 0 12px;
  }
  .ook-interessant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }
  .ook-interessant-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--blauw-rand);
    text-decoration: none;
    }
  .ook-interessant-link:hover {
    border-color: var(--blauw-licht);
  }
  .ook-interessant-titel {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blauw);
  }
  .ook-interessant-omschrijving {
    font-size: 0.78rem;
    color: var(--tekst-zacht);
    line-height: 1.4;
  }


/* ═══════════════════════════════════════════════════
   TOEGANKELIJKHEIDSPANEEL
   ═══════════════════════════════════════════════════ */

/* Zwevende knop rechtsonder */
.a11y-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1A5C8A;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(26,74,110,0.35);
} /* a11y-fab hover verwijderd */
.a11y-fab:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Paneel */
.a11y-panel {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 9000;
  width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26,74,110,0.18);
  border: 1px solid #d0e6f3;
  padding: 20px 22px 18px;
  display: none;
}
.a11y-panel.open { display: block; }

.a11y-panel h2 {
  font-size: 0.95rem;
  color: #1A5C8A;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Rij per optie */
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eef4fa;
  gap: 10px;
}
.a11y-row:last-of-type { border-bottom: none; }

.a11y-label {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.3;
  flex: 1;
}
.a11y-label small {
  display: block;
  color: #888;
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Toggleschakelaar */
.a11y-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.a11y-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.a11y-toggle-track {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  }
.a11y-toggle input:checked + .a11y-toggle-track { background: #1A5C8A; }
.a11y-toggle-track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.a11y-toggle input:checked + .a11y-toggle-track::after { transform: translateX(18px); }
.a11y-toggle input:focus-visible + .a11y-toggle-track {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Lettergrootte: drie knoppen */
.a11y-size-btns {
  display: flex;
  gap: 4px;
}
.a11y-size-btn {
  border: 1px solid #c5dcf0;
  border-radius: 6px;
  background: white;
  color: #1A5C8A;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 10px;
  font-weight: 600;
  /* transition verwijderd */
  line-height: 1;
}
.a11y-size-btn.actief { background: #1A5C8A; color: white; border-color: #1A5C8A; }
.a11y-size-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Reset knop onderaan */
.a11y-reset {
  margin-top: 14px;
  width: 100%;
  background: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.82rem;
  color: #888;
  cursor: pointer;
  font-family: inherit;
} /* a11y-reset hover verwijderd */

/* ── Effectklassen op <body> ── */

/* 1. Grote letters */
body.a11y-groot { font-size: 1.15rem !important; }
body.a11y-groot h1 { font-size: 2.1rem !important; }
body.a11y-groot h2 { font-size: 1.45rem !important; }
body.a11y-groot h3 { font-size: 1.2rem !important; }
body.a11y-klein { font-size: 0.88rem !important; }
body.a11y-klein h1 { font-size: 1.5rem !important; }
body.a11y-klein h2 { font-size: 1.1rem !important; }

/* 2. Hoog contrast */
body.a11y-hoog-contrast {
  background: #ffffff !important;
  color: #000000 !important;
}
body.a11y-hoog-contrast a { color: #00008B !important; }
body.a11y-hoog-contrast nav { background: #000000 !important; }
body.a11y-hoog-contrast .nav-logo, body.a11y-hoog-contrast .nav-links > li > a,
body.a11y-hoog-contrast .nav-links > li > button { color: #ffffff !important; }
body.a11y-hoog-contrast .uitleg-kaart,
body.a11y-hoog-contrast .artikel-kaart { border: 2px solid #000 !important; }
body.a11y-hoog-contrast .kader { border-left-color: #000 !important; background: #f0f0f0 !important; }
body.a11y-hoog-contrast .nav-cta.nav-cta .nav-cta-btn,
body.a11y-hoog-contrast .nav-cta-btn.nav-cta-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  -webkit-text-fill-color: #000000 !important;
}

/* 3. Donkere modus - CSS variables + classes */
body.a11y-donker {
  background: #18202e !important;
  color: #dde4ee !important;
}
body.a11y-donker h1,
body.a11y-donker h2,
body.a11y-donker h3 { color: #9dcbe8 !important; border-bottom-color: #2a4060 !important; }
body.a11y-donker p,
body.a11y-donker li,
body.a11y-donker td { color: #dde4ee !important; }
body.a11y-donker a { color: #7ec8e8 !important; }
/* donker: link hover verwijderd */
body.a11y-donker nav { background: rgba(8,16,32,0.97) !important; }
body.a11y-donker .nav-dropdown { background: #1a2a40 !important; border-color: #2a4060 !important; }
body.a11y-donker .nav-dropdown a { color: #bbd4ec !important; background: none !important; }
/* donker: nav-dropdown hover verwijderd */
body.a11y-donker .nav-dropdown hr { border-color: #2a4060 !important; }
body.a11y-donker .nav-cta-btn.nav-cta-btn { background: #1e3a55 !important; color: #9dcbe8 !important; border-color: #2a5070 !important; }
body.a11y-donker .uitleg { background: #1e2a3e !important; }
body.a11y-donker .sectie,
body.a11y-donker .sectie-grijs { background: #18202e !important; }
body.a11y-donker .uitleg-kaart { background: #1a2a40 !important; border-color: #2a4a68 !important; }
body.a11y-donker .uitleg-kaart h3 { color: #9dcbe8 !important; }
body.a11y-donker .uitleg-kaart p { color: #bbc8d8 !important; }
body.a11y-donker .kader { background: #1a2a40 !important; border-left-color: #4a8ab8 !important; }
body.a11y-donker .kader p, body.a11y-donker .kader li { color: #dde4ee !important; }
body.a11y-donker .kader-groen { background: #0e2018 !important; border-left-color: #2d8a5a !important; }
body.a11y-donker .kader-groen p, body.a11y-donker .kader-groen li { color: #dde4ee !important; }
body.a11y-donker .tijdlijn-dot { background: #1a2a40 !important; border-color: #4a7a9e !important; }
body.a11y-donker .tijdlijn-tekst strong { color: #9dcbe8 !important; }
body.a11y-donker .tijdlijn-tekst span { color: #bbc8d8 !important; }
body.a11y-donker .tijdlijn-item::before { background: #2a4060 !important; }
body.a11y-donker .divider-snel { border-top-color: #2a4060 !important; }
body.a11y-donker .in-het-kort { color: #8899aa !important; }
body.a11y-donker .criteria-lijst li { background: #1a2a40 !important; border-left-color: #4a8ab8 !important; }
body.a11y-donker .ook-interessant { background: #1a2a40 !important; border-color: #2a4060 !important; }
body.a11y-donker .ook-interessant-label { color: #7ec8e8 !important; }
body.a11y-donker .ook-interessant-link { background: #243550 !important; border-color: #2a4060 !important; }
body.a11y-donker .ook-interessant-titel { color: #9dcbe8 !important; }
body.a11y-donker .ook-interessant-omschrijving { color: #8899aa !important; }
body.a11y-donker .bijdrage-blok { background: #1a2a40 !important; border-color: #2a4060 !important; color: #bbc8d8 !important; }
body.a11y-donker .pagina-verantwoording { background: #1a2a40 !important; border-color: #2a4060 !important; color: #7a8a9a !important; }
body.a11y-donker .verantwoording-label { color: #6a7a8a !important; }
body.a11y-donker .verantwoording-waarde { color: #8a9aaa !important; }
body.a11y-donker .verantwoording-bronnen { border-top-color: #2a4060 !important; }
body.a11y-donker .verantwoording-brontekst,
body.a11y-donker .verantwoording-disclaimer { color: #6a7a8a !important; border-top-color: #2a4060 !important; }
body.a11y-donker .bron { color: #6a7a8a !important; border-top-color: #2a4060 !important; }
body.a11y-donker .meta { color: #6a7a8a !important; }
body.a11y-donker blockquote { background: #1a2a40 !important; border-left-color: #4a8ab8 !important; color: #bbc8d8 !important; }
body.a11y-donker th { background: #1a2a40 !important; color: #9dcbe8 !important; border-color: #2a4060 !important; }
body.a11y-donker td { border-color: #2a4060 !important; }
body.a11y-donker footer { background: #111822 !important; border-top-color: #2a4060 !important; color: #6a7a8a !important; }
body.a11y-donker footer a { color: #7ec8e8 !important; }
body.a11y-donker .a11y-panel { background: #1a2a40 !important; border-color: #2a4060 !important; }
body.a11y-donker .a11y-panel h2 { color: #9dcbe8 !important; }
body.a11y-donker .a11y-label { color: #dde4ee !important; }
body.a11y-donker .a11y-label small { color: #6a7a8a !important; }
body.a11y-donker .a11y-row { border-color: #2a4060 !important; }
body.a11y-donker .a11y-reset { border-color: #2a4060 !important; color: #8899aa !important; background: none !important; }
body.a11y-donker .a11y-size-btn { border-color: #2a4060 !important; background: #243550 !important; color: #9dcbe8 !important; }
body.a11y-donker .a11y-size-btn.actief { background: #4a8ab8 !important; color: #fff !important; }
body.a11y-donker .section-title { color: #9dcbe8 !important; border-bottom-color: #2a4060 !important; }
body.a11y-donker .hero { background: #1a2a40 !important; color: #dde4ee !important; -webkit-mask-image: none !important; mask-image: none !important; }
body.a11y-donker .hero h1,
body.a11y-donker .hero-subtitel { color: #9dcbe8 !important; }
body.a11y-donker .hero-btn { background: #4a8ab8 !important; color: #fff !important; }
/* Update CSS custom properties for elements using var() */
body.a11y-donker {
  --blauw: #9dcbe8;
  --blauw-licht: #7ec8e8;
  --blauw-zacht: #1a2a40;
  --blauw-rand: #2a4060;
  --groen: #4aaa7a;
  --groen-zacht: #0e2018;
  --tekst: #dde4ee;
  --tekst-zacht: #bbc8d8;
  --tekst-licht: #6a7a8a;
  --achtergrond: #18202e;
  --rand: #2a4060;
  --nav-bg: rgba(8,16,32,0.97);
}

/* 4. Ruime regelafstand */
body.a11y-ruim-regelafstand { line-height: 2.2 !important; }
body.a11y-ruim-regelafstand p, body.a11y-ruim-regelafstand li { line-height: 2.2 !important; }

/* 5. Beweging uit */
body.a11y-geen-beweging *,
body.a11y-geen-beweging *::before,
body.a11y-geen-beweging *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
body.a11y-geen-beweging .uitleg-kaart:hover { transform: none !important; }
body.a11y-geen-beweging html { scroll-behavior: auto !important; }

/* 6. Dyslexie-vriendelijk font */
body.a11y-dyslexie {
  font-family: 'Verdana', 'Trebuchet MS', 'Arial', sans-serif !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.12em !important;
}
body.a11y-dyslexie h1, body.a11y-dyslexie h2, body.a11y-dyslexie h3 {
  font-family: 'Verdana', 'Trebuchet MS', 'Arial', sans-serif !important;
  letter-spacing: 0.04em !important;
}

/* Mobiel: paneel scrollbaar, van onderkant omhoog */
@media (max-width: 680px) {
  .a11y-fab {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .a11y-panel {
    /* Bedek het scherm van onderaf, met eigen scroll */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-height: 80vh;
    max-height: 80dvh;
    border-radius: 20px 20px 0 0;  /* afgerond bovenaan, plat onderaan */
    padding: 20px 20px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    z-index: 9100;
    box-shadow: 0 -4px 24px rgba(26,74,110,0.18);
  }
}
@media (max-width: 400px) {
  .a11y-panel { padding: 16px 16px 28px; }
}

/* SOCIAL SHARE BUTTONS */
.social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}
.social-share span {
  font-size: 0.8rem;
  color: var(--tekst-licht);
  letter-spacing: 0.03em;
}
.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.07);
  color: var(--tekst-licht);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: 1px solid rgba(0,0,0,0.08);
}
.social-share a:hover {
  background: rgba(0,0,0,0.14);
  transform: translateY(-2px);
  text-decoration: none;
}
.social-share a svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
@media (max-width: 480px) {
  .social-share { gap: 8px; }
  .social-share a { width: 40px; height: 40px; }
  .social-share a svg { width: 19px; height: 19px; }
}


/* SOCIAL SHARE DIVIDER */
.social-share-wrapper {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rand);
  text-align: center;
}
.social-share-wrapper p {
  font-size: 0.88rem;
  color: var(--tekst-licht);
  margin-bottom: 12px;
}


/* =====================================================
   ZOEKFUNCTIE - vergrootglas in navigatie
   ===================================================== */

/* Zoekknop in de nav */
.zoek-knop {
  background: none;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  flex-shrink: 0;
  transition: none;
}
.zoek-knop:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
}
.zoek-knop[aria-expanded="true"] {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.70);
}
.zoek-knop svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Zoekpaneel - verschijnt onder de nav */
.zoek-paneel {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9600;
  background: var(--achtergrond);
  border-bottom: 2px solid var(--blauw-rand);
  box-shadow: 0 6px 24px rgba(26,74,110,0.14);
  padding: 20px 24px 24px;
  display: none;
}
.zoek-paneel.open {
  display: block;
}
.zoek-paneel-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.zoek-sluiten {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: 2px solid var(--rand);
  border-radius: 6px;
  color: var(--tekst-licht);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.zoek-sluiten:hover {
  background: var(--blauw-zacht);
  border-color: var(--blauw-rand);
  color: var(--blauw);
}
/* Blokkeer achtergrond-scroll terwijl zoekpaneel open is */
body.zoek-open {
  overflow: hidden;
}

/* Pagefind UI overschrijvingen - rustig, passend bij site */
#zoek-container {
  padding-right: 0;
}
#zoek-container .pagefind-ui__search-input {
  background: #ffffff;
  border: 1.5px solid var(--rand);
  border-radius: 8px;
  color: var(--tekst);
  font-family: inherit;
  font-size: 1rem;
  height: 48px;
  padding: 0 56px 0 44px;
  width: 100%;
}
#zoek-container .pagefind-ui__search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--blauw-rand);
  border-color: var(--blauw-licht);
}
/* Verberg native browser-× op search inputs */
#zoek-container input[type=search]::-webkit-search-cancel-button,
#zoek-container input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}
/* Verberg Pagefind eigen wisknop volledig — vervangen door eigen knop */
#zoek-container .pagefind-ui__search-clear {
  display: none !important;
}
/* Wrapper rondom zoekveld - positie-anker voor Wis-knop */
.zoek-invoer-wrapper {
  position: relative;
  margin-right: 44px; /* ruimte voor × sluitknop */
}
/* Eigen wisknop - absoluut t.o.v. wrapper, niet t.o.v. Pagefind-DOM */
#zoek-wis-knop {
  position: absolute;
  top: 9px;
  right: 8px;
  height: 30px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-family: inherit;
  line-height: 30px;
  color: var(--tekst-licht);
  background: #ebebea;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  z-index: 10;
}
#zoek-container .pagefind-ui__results-area {
  margin-top: 16px;
  max-height: 60vh;
  overflow-y: auto;
}
#zoek-container .pagefind-ui__result {
  border-bottom: 1px solid var(--rand);
  padding: 12px 0;
}
#zoek-container .pagefind-ui__result-link {
  color: var(--blauw-licht);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#zoek-container .pagefind-ui__result-excerpt {
  color: var(--tekst-zacht);
  font-size: 0.92rem;
  margin-top: 4px;
  line-height: 1.6;
}
#zoek-container mark {
  background: #fff3cc;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
#zoek-container .pagefind-ui__message {
  color: var(--tekst-licht);
  font-size: 0.92rem;
  margin-top: 12px;
}
#zoek-container .pagefind-ui__suppressed {
  display: none;
}
/* Geen animations */
@media (prefers-reduced-motion: no-preference) {
  .zoek-paneel { transition: none; }
}


/* Mobiel: zoekveld neemt volle breedte */
@media (max-width: 680px) {
  .zoek-paneel {
    top: 56px;
    padding: 16px;
  }
  #zoek-container {
    padding-right: 0;
  }
  /* Zoekknop naast hamburger rechts */
  .zoek-knop {
    order: 2;
    margin-left: auto;
    margin-right: 4px;
  }
  .hamburger {
    order: 3;
    margin-left: 0 !important;
  }
}

