/* ==========================================================================
   Roparun Texel — tokens 1-op-1 uit Figma (roparuntexel.nl → Design System)
   ========================================================================== */

@font-face {
  font-family: 'Tilt Warp';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/tilt-warp-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Imprima';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/imprima-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans.woff2') format('woff2');
}

:root {
  /* Kleuren — Figma variables */
  --primary-50: #f0f6ff;
  --primary-100: #e3f3fe;
  --primary-200: #d0ebfd;
  --primary-600: #0072bc;
  --secondary-50: #eff6e3;
  --secondary-100: #d9e6bf;
  --secondary-800: #5b7723;
  --secondary-900: #435a14;
  --neutral-0: #ffffff;
  --neutral-300: #ccccd1;
  --neutral-400: #a3a3ab;
  --warning-300: #fecc43;
  --warning-500: #f19e02;
  --error-400: #f74e4e;
  --error-600: #d11515;

  --text-primary: #414148;
  --text-secondary: #0072bc;
  --text-tertiary: #8fb73e;
  --text-inverse: #ffffff;
  --text-on-primary: #121217;

  --background-primary: #f0f6ff;
  --background-secondary: #d6ffaa;

  --border-default: #e5e5e7;
  --border-focus: #ccccd1;

  --button-primary: #8fb73e;
  --button-primary-text: #ffffff;
  --button-primary-hover: #d6ffaa;
  --button-primary-hover-text: #5b7723;
  --button-secondary: #0072bc;
  --button-secondary-text: #ffffff;

  --hero-dark: #001625;
  --card-border: #d0e2fa;
  --radius-full: 9999px;

  /* Fonts */
  --font-display: 'Tilt Warp', system-ui, sans-serif;
  --font-serif: 'Imprima', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-small: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Layout */
  --content: 1252px;
  --gutter: 24px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 200ms;
  --duration-base: 500ms;
  --duration-slow: 900ms;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--neutral-0);
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.container {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: var(--radius-full);
  background: var(--primary-600); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Verberg animatie-elementen alleen als JS draait */
[data-animate] { opacity: 0; }
html.no-js [data-animate] { opacity: 1; }

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

/* ==========================================================================
   Typografie — Figma text styles.
   Figma heeft (nog) geen mobiele schaal; de ondergrens is voorlopig gekozen
   en moet nog in Figma worden vastgelegd. Formule: 375px → 1280px.
   ========================================================================== */

.text-xxl {                                     /* xxl-text 75/75 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 0.886rem + 4.751vw, 4.6875rem);    /* 32 → 75 */
  line-height: 1.04;
}
.text-h1 {                                      /* Heading/H1 48/56 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.939rem + 1.326vw, 3rem);       /* 36 → 48 */
  line-height: 1.17;
}
.text-h2 {                                      /* Heading/H2 Imprima 50/48 */
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 1.711rem + 1.768vw, 3.125rem);  /* 34 → 50 */
  line-height: 0.96;
}
.text-eyebrow {                                 /* Imprima 40/48 */
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.439rem + 1.326vw, 2.5rem);     /* 28 → 40 */
  line-height: 1.2;
  color: var(--text-tertiary);
}
.text-h3 {                                      /* Heading/H3 32/40 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.293rem + 0.884vw, 2rem);        /* 24 → 32 */
  line-height: 1.25;
}
.text-h4 {                                      /* Heading/H4 Imprima 24/32 */
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.146rem + 0.442vw, 1.5rem);     /* 20 → 24 */
  line-height: 1.333;
}
.text-h5 {                                      /* Heading/H5 20/28 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
}
.text-h6 {                                      /* Heading/H6 16/24 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}
.text-body-lg { font-size: 1rem; line-height: 1.5; }        /* Body/Large 16/24 */
.text-body-sm { font-size: 0.875rem; line-height: 1.43; }   /* Body/Small 14/20 */

/* ==========================================================================
   Knoppen
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--duration-fast) var(--ease-out-expo),
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    gap var(--duration-fast) var(--ease-out-expo);
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  transition: transform var(--duration-base) var(--ease-spring);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:hover .btn__icon:has(svg:not(.icon-arrow)) { transform: scale(1.25); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--button-primary); color: var(--button-primary-text); }
.btn--primary:hover {
  background: var(--button-primary-hover);
  color: var(--button-primary-hover-text);
  box-shadow: 0 8px 20px -8px rgb(91 119 35 / 0.45);
}

.btn--secondary { background: var(--button-secondary); color: var(--button-secondary-text); border: 1px solid var(--border-default); }
.btn--secondary:hover { background: #005f9d; box-shadow: 0 8px 20px -8px rgb(0 114 188 / 0.6); }

.btn--link,
.btn--link-blue {
  padding-inline: 0;
  height: auto;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-primary);
}
.btn--link-blue { color: var(--text-secondary); }
.btn--link:hover,
.btn--link-blue:hover { transform: none; gap: 12px; }
.btn--link:hover .btn__icon,
.btn--link-blue:hover .btn__icon { transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--neutral-0);
  border-bottom: 1px solid var(--neutral-300);
  transition: transform var(--duration-base) var(--ease-out-expo);
}
/* Het logo hangt onder de header uit: schuif ver genoeg op om het mee te verbergen */
.site-header.is-hidden { transform: translateY(calc(-100% - 60px)); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  height: 80px;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__logo {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  top: 8px;
  width: 78px;
  transition: transform var(--duration-base) var(--ease-spring);
}
.site-header__logo:hover { transform: rotate(-4deg) scale(1.03); }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-on-primary);
  transition: transform var(--duration-base) var(--ease-out-expo), opacity var(--duration-fast);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  gap: 24px;
  padding: 32px var(--gutter) 32px;
  background: var(--neutral-0);
  border-bottom: 1px solid var(--neutral-300);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--duration-base) var(--ease-out-expo), visibility 0s linear var(--duration-base);
}
.site-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--duration-base) var(--ease-out-expo), visibility 0s;
}
.site-nav__list { display: grid; gap: 4px; }
.site-nav__link {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-on-primary);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
  transition: background-size var(--duration-base) var(--ease-out-expo), color var(--duration-fast);
}
.site-nav__link:hover { color: var(--primary-600); background-size: 100% 2px; }
.site-nav__cta { justify-self: start; }

/* Volledig menu pas vanaf 1280px; daaronder past het niet naast het logo.
   Logo en marges schalen mee tot de Figma-waarden op 1920px (221px / 194px). */
@media (min-width: 1280px) {
  .site-header__inner { height: 131px; padding-inline: 128px clamp(48px, 10.1vw, 194px); }
  .site-header__logo { left: clamp(48px, 11.5vw, 221px); top: 19px; width: 146px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 0;
    border: 0;
    clip-path: none;
    visibility: visible;
    background: none;
  }
  .site-nav__list { display: flex; gap: 36px; }
  .site-nav__link { padding: 4px 0; font-size: 1rem; }
}

/* ==========================================================================
   Blok: hero + donatieteller
   ========================================================================== */

.b-hero__media {
  position: relative;
  height: clamp(460px, 32.9vw, 631px);
  overflow: hidden;
  background: var(--hero-dark);
}
.b-hero__img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 20% 30%;
}
.b-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hero-dark) 20%, rgb(0 22 37 / 0) 75%);
}
.b-hero__curve {
  position: absolute;
  right: -25%;
  top: -4.6%;
  width: 90%;
  height: auto;
  max-width: none;
  pointer-events: none;
}
.b-hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 48px;
}
.b-hero--counter .b-hero__content { bottom: 96px; }
.b-hero__title { color: var(--text-inverse); max-width: 9ch; }

/* Mobiel: foto bovenin met het hele team in beeld, titel in de donkere zone eronder,
   de Texel-curve als accent rechtsonder in plaats van dwars door de foto. */
@media (max-width: 767px) {
  .b-hero__media { height: clamp(420px, 122vw, 540px); }
  .b-hero__img {
    top: 0;
    height: 66%;
    object-position: 50% 80%;
  }
  .b-hero__shade {
    background: linear-gradient(to top, var(--hero-dark) 38%, rgb(0 22 37 / 0.6) 50%, rgb(0 22 37 / 0) 66%);
  }
  .b-hero__curve {
    top: auto;
    right: -22%;
    bottom: -14%;
    width: 78%;
    opacity: 0.9;
  }
  .b-hero--counter .b-hero__content { bottom: 92px; }
}

@media (min-width: 768px) {
  /* Zoals in Figma: foto 311/1920 naar links, zodat het team links van de titel staat.
     Rechts valt de foto weg achter de donkere overloop. */
  .b-hero__img {
    left: -16.2%;
    object-position: 50% 60%;
  }
  .b-hero__shade {
    left: 22.2%;
    background: linear-gradient(to left, var(--hero-dark) 25.96%, rgb(217 217 217 / 0));
  }
  .b-hero__curve { right: 7.3%; width: 46.4%; }
  .b-hero__content,
  .b-hero--counter .b-hero__content {
    left: 68%;
    right: 4%;
    top: 37%;
    bottom: auto;
  }
  .b-hero__title { max-width: 6ch; }
}

.counter {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  margin: -64px auto 0;
  max-width: 925px;
  padding: 24px;
  border-radius: 16px;
  background: var(--background-secondary);
  box-shadow: 0 16px 40px 0 rgb(5 31 51 / 0.22);
}
.counter__amount { display: grid; gap: 2px; }
.counter__meter { display: grid; gap: 8px; }
.counter__bar {
  height: 16px;
  border-radius: 999px;
  background: var(--neutral-0);
  overflow: hidden;
}
.counter__fill {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary-600), var(--button-primary));
  transform-origin: left center;
}
.counter__scale { display: flex; justify-content: space-between; gap: 12px; }
.counter__rest { color: #6b7c56; }
.counter__btn { justify-self: start; }

@media (min-width: 900px) {
  .counter {
    grid-template-columns: auto minmax(0, 420px) auto;
    align-items: center;
    gap: 36px;
    padding: 28px 40px;
  }
}

/* Hero-variant "Tekst met fotokaart" (homepage-2 in Figma):
   tekst op lichtblauw, foto als afgeronde kaart die half over de overgang naar wit valt. */
.b-hero--card {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(56px, 6.5vw, 125px);
  padding-bottom: 64px; /* ruimte voor de schaduw van de donatiekaart */
}
.b-hero--card + .b-news { padding-top: 0; }
.container--wide { max-width: calc(1440px + var(--gutter) * 2); }
.b-hero__intro { position: relative; }
.b-hero__eyebrow { margin-bottom: 28px; }
.b-hero__heading { max-width: 1259px; }
.b-hero__link { margin-top: 28px; }

.b-hero__card {
  position: relative;
  margin-top: var(--card-gap);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hero-dark);
  box-shadow: 0 30px 60px -30px rgb(0 22 37 / 0.35);
}
/* Lichtblauw vlak loopt door tot 58% van de foto (1099px in Figma) */
.b-hero__card-wrap { position: relative; }
/* Lichtblauw vlak achter de tekst, doorlopend tot 58% van de foto (1099px in Figma).
   Hangt aan het tekstblok: de fotokaart is op mobiel sticky en krijgt dan een eigen laag. */
.b-hero--card {
  --card-gap: clamp(40px, 3.2vw, 61px);
  --card-h: calc((100vw - var(--gutter) * 2) * 0.75);
}
.b-hero--card .b-hero__intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -500px;
  left: -100vw;
  right: -100vw;
  bottom: calc(-1 * (var(--card-gap) + var(--card-h) * 0.58));
  background: var(--background-primary);
}
/* Mobiel compacter, zodat de video hoger op de pagina staat */
@media (max-width: 767px) {
  .b-hero--card { padding-top: 32px; --card-gap: 28px; }
  .b-hero__eyebrow { margin-bottom: 14px; }
  .b-hero__link { margin-top: 16px; }
}
@media (min-width: 768px) {
  .b-hero--card { --card-h: calc(min(1440px, 100vw - var(--gutter) * 2) * 760 / 1440); }
}
.b-hero__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.b-hero__card-curve {
  position: absolute;
  left: 37.5%;
  top: 5.6%;
  width: 61.5%;
  height: auto;
  max-width: none;
  pointer-events: none;
}
.b-hero--card .counter { margin-top: -16px; } /* mobiel: begint net onder de video */

/* Mobiel: hogere foto zodat het team boven de donatiekaart in beeld blijft */
@media (max-width: 767px) {
  /* Foto blijft staan, de donatiekaart schuift er bij het scrollen overheen */
  .b-hero--card .counter { z-index: 2; box-shadow: 0 -10px 40px -12px rgb(5 31 51 / 0.28), 0 16px 40px 0 rgb(5 31 51 / 0.22); }
  .b-hero__card { aspect-ratio: 4 / 3; transform-origin: 50% 0; }
  /* Inzoomen op het onderste deel van de foto, zodat de groep meer in het midden staat */
  .b-hero__card-img { top: auto; bottom: 0; height: 136%; object-position: 50% 100%; }
  .b-hero__card-video { top: 0; bottom: auto; height: 100%; object-position: 50% 50%; }
  .b-hero__card-curve { left: 20%; top: 8%; width: 110%; }
}
/* Homepage mobiel: de donatiekaart schuift vanaf de onderrand van het scherm in, niet vanaf een snijlijn onder de hero */
@media (max-width: 767px) {
  .b-hero--card.b-hero--counter { overflow-x: clip; overflow-y: visible; }
}

@media (min-width: 768px) {
  .b-hero__card { aspect-ratio: 1440 / 760; }
  .b-hero--card .counter { margin-top: -88px; }
}

/* ==========================================================================
   Blok: grote tekst (intro / motto)
   ========================================================================== */

.b-statement { padding-block: clamp(64px, 7vw, 96px) clamp(48px, 5vw, 72px); }
.b-statement__eyebrow { margin-bottom: 28px; }
.b-statement__title { max-width: 1259px; white-space: pre-line; }
.b-statement__link { margin-top: 25px; }

/* ==========================================================================
   Blok: nieuwskaarten
   ========================================================================== */

.b-news { padding-block: 24px 62px; }
.b-news__title { margin-bottom: 41px; text-align: center; }
.b-news__grid { display: grid; gap: 24px; }

@media (min-width: 640px) { .b-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .b-news__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--primary-50);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo), border-color var(--duration-base) ease;
}
.news-card {
  --lift: 0px;
  transform: translateY(var(--lift));
}
.news-card:hover,
.news-card:focus-within {
  --lift: -4px;
  border-color: #b9d3f5;
  box-shadow: 0 16px 32px -20px rgb(0 114 188 / 0.4);
}
.news-card__title { transition: color var(--duration-fast) ease; }
.news-card:hover .news-card__title,
.news-card:focus-within .news-card__title { color: var(--primary-600); }
.news-card__badge { transition: transform var(--duration-base) var(--ease-spring); }
.news-card:hover .news-card__badge { transform: translateY(-2px); }
.news-card__media { position: relative; height: 192px; overflow: hidden; }
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.news-card:hover .news-card__img,
.news-card:focus-within .news-card__img { transform: scale(1.04); }
.news-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--secondary-50);
  color: var(--secondary-800);
  font-size: 0.875rem;
  line-height: 20px;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}
.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
}
.news-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid rgb(193 199 212 / 0.2);
  font-family: var(--font-small);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--secondary-800);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-out-expo);
}
.news-card__text { margin-bottom: 12px; }
.news-card__link::after { content: ''; position: absolute; inset: 0; }
.news-card__link:hover { gap: 8px; }

/* ==========================================================================
   Blok: agenda
   ========================================================================== */

.b-agenda { position: relative; z-index: 2; padding-block: 0 48px; }

.agenda {
  display: grid;
  gap: 40px;
  padding: 48px 24px;
  border-radius: 20px;
  background: var(--background-secondary);
}
.agenda__intro { display: grid; gap: 24px; align-content: start; }
.agenda__icon { width: 32px; height: 32px; margin-bottom: -8px; }
.agenda__icon svg { width: 32px; height: 32px; }

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--secondary-900);
}
.agenda-item:last-child { border-bottom: 1px solid var(--secondary-900); }
.agenda-item__date { display: grid; gap: 2px; color: var(--secondary-900); }
.agenda-item__date .text-h6 { text-transform: uppercase; }
.agenda-item__info { display: grid; gap: 6px; }
.agenda-item__info a { text-decoration: none; }
.agenda-item__info a::after { content: ''; position: absolute; inset: 0; }
.agenda-item__details { color: var(--secondary-900); }
.agenda-item__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--primary-600);
  color: #fff;
  transition: transform var(--duration-base) var(--ease-spring), background-color var(--duration-fast);
}
.agenda-item__arrow svg { width: 14px; height: 14px; }
/* Pijl is zelf ook een link en ligt boven de klikvlak-overlay van de titel */
a.agenda-item__arrow { position: relative; z-index: 1; cursor: pointer; }
.agenda-item--link:hover .agenda-item__arrow { transform: translateX(6px); background: #005f9d; }
.agenda-item--link:hover .agenda-item__info h3 { color: var(--text-on-primary); }

@media (min-width: 900px) {
  .agenda {
    grid-template-columns: 380px 1fr;
    align-items: center;
    gap: 64px;
    padding: 100px 80px;
  }
  .agenda-item { grid-template-columns: 100px 1fr auto; gap: 32px; }
}

/* ==========================================================================
   Blok: tekst met fotoslider
   ========================================================================== */

.b-text-slider {
  position: relative;
  padding-block: 96px;
  overflow: clip;
}
.b-text-slider--bg { background: var(--background-primary); }
/* Zoals in Figma: 2548px breed op 1920 (132,7%), links uitgelijnd, bovenkant tegen de sectie.
   Zo valt het hoofd van de loper net onder de agendakaart. */
.b-text-slider__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 132.7%;
  aspect-ratio: 2548 / 1434;
  min-height: 108%; /* marge voor de parallax */
}
.b-text-slider__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 15%;
  opacity: 0.14;
}

/* Agenda steekt over de achtergrondfoto heen, zoals in het ontwerp */
.b-agenda + .b-text-slider--bg { margin-top: -290px; padding-top: calc(290px + 139px); }
.b-agenda:has(+ .b-text-slider--bg) { padding-bottom: 0; }

.b-text-slider__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
.b-text-slider__text { display: grid; gap: 24px; justify-items: start; max-width: 614px; }
.b-text-slider__title { color: var(--text-secondary); }
.b-text-slider__body p + p { margin-top: 1em; }

@media (min-width: 900px) {
  .b-text-slider { padding-bottom: 160px; }
  .b-text-slider__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 1280px) {
  .b-text-slider { padding-bottom: 207px; }
  .b-text-slider__grid { grid-template-columns: 558px minmax(0, 1fr); gap: 91px; }
}

.slider {
  position: relative;
  aspect-ratio: 558 / 389;
  border-radius: 30px;
  overflow: hidden;
  background: var(--primary-50);
}
.slider__track, .slider__slide { position: absolute; inset: 0; }
.slider__slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--duration-slow) var(--ease-out-expo), transform var(--duration-slow) var(--ease-out-expo);
}
.slider__slide.is-active { opacity: 1; transform: scale(1); }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #111827;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.1));
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-spring);
}
.slider__nav--prev { left: 24px; }
.slider__nav--next { right: 24px; }
.slider__nav:hover { transform: scale(1.1); }

/* ==========================================================================
   Blok: fotogalerij
   ========================================================================== */

.b-gallery { padding: clamp(48px, 7vw, 139px) 16px 55px; }

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: 1808px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
}
.gallery__item { overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item--1 { grid-column: 1 / -1; aspect-ratio: 7 / 5; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cta { position: absolute; left: 24px; bottom: 24px; }

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr) 26.55% 26.55%;
    grid-template-rows: repeat(2, 1fr);
    height: clamp(420px, 31.25vw, 600px);
  }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--1 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery__cta { left: 40px; bottom: 40px; }
}

/* ==========================================================================
   Blok: sponsors (carrousel)
   ========================================================================== */

.b-sponsors {
  display: grid;
  padding-block: 70px;
  background: var(--primary-50);
}
.b-sponsors .container { display: grid; justify-items: center; gap: 40px; }
.b-sponsors__header { display: grid; gap: 12px; text-align: center; justify-items: center; }
.b-sponsors__title { color: var(--text-secondary); }
.b-sponsors__text { max-width: 652px; }

.carousel { display: grid; gap: 24px; width: 100%; max-width: 1204px; }
.carousel__viewport {
  overflow: hidden;
  padding-block: 4px;
  margin-block: -4px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.carousel.is-dragging .carousel__viewport { cursor: grabbing; }
.carousel__viewport img { -webkit-user-drag: none; pointer-events: none; }
.carousel.is-dragging .logo-slot { transform: scale(0.97); }
.carousel__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}
.carousel__track.is-animating { transition: transform 700ms var(--ease-out-expo); }
/* Zonder JS: gewoon horizontaal scrollen */
html.no-js .carousel__viewport { overflow-x: auto; }
.carousel__slide { flex: 0 0 220px; }
@media (max-width: 520px) { .carousel__slide { flex-basis: calc((100% - 24px) / 2); } }
.logo-slot {
  display: grid;
  place-items: center;
  height: 213px;
  padding: 24px;
  border: 1px solid var(--border-focus);
  border-radius: 24px;
  background: var(--neutral-0);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo);
}
.logo-slot img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.logo-slot--link:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgb(0 114 188 / 0.5); }

.carousel__nav { display: flex; align-items: center; justify-content: space-between; }
.carousel__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--neutral-300);
  border-radius: 20px;
  background: var(--neutral-0);
  color: #111827;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-spring), opacity var(--duration-fast);
}
.carousel__btn:hover { transform: scale(1.1); }
.carousel__nav { gap: 16px; }
.carousel__btn { flex: none; }
.carousel__dots { display: flex; flex: 1; min-width: 0; justify-content: center; align-items: center; gap: 8px; }
.carousel__bar { display: none; }
/* Te veel bolletjes voor de breedte: een dunne voortgangsbalk in plaats daarvan */
.carousel__dots--bar .carousel__dot { display: none; }
.carousel__dots--bar .carousel__bar {
  display: block;
  position: relative;
  width: min(100%, 320px);
  height: 4px;
  border-radius: 2px;
  background: var(--neutral-300);
  overflow: hidden;
}
.carousel__bar-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 2px;
  background: var(--primary-600);
  transition: transform var(--duration-base) var(--ease-out-expo);
}
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--neutral-300);
  cursor: pointer;
  transition: width var(--duration-base) var(--ease-out-expo), background-color var(--duration-fast);
}
.carousel__dot[aria-current='true'] { width: 24px; background: var(--primary-600); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 65px 48px;
  border-top: 1px solid rgb(193 199 212 / 0.3);
  background: #fff;
  color: #414752;
}
.site-footer__inner { max-width: calc(1596px + var(--gutter) * 2); display: grid; gap: 48px; }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__brand { display: grid; gap: 32px; justify-items: start; align-content: start; }
.site-footer__org { display: flex; align-items: center; gap: 12px; }
.site-footer__org img { width: 98px; height: auto; }
.site-footer__name {
  font-family: var(--font-small);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  color: #0059a4;
}
.site-footer__team {
  margin-top: 4px;
  font-family: var(--font-small);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #476800;
}
.site-footer__col { display: grid; gap: 12px; align-content: start; }
.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #111c2d;
}
.site-footer__list { display: grid; gap: 8px; }
.site-footer__list a { text-decoration: none; transition: color var(--duration-fast); }
.site-footer__list a:hover { color: var(--primary-600); text-decoration: underline; }
.site-footer__list--icons { gap: 10px; }
.site-footer__list--icons li { display: flex; align-items: center; gap: 8px; }
.site-footer__list--icons svg { color: #0059a4; flex: none; }
.site-footer__text { max-width: 26ch; }
.site-footer__socials { display: flex; gap: 12px; padding-top: 4px; }
.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(193 199 212 / 0.3);
  border-radius: var(--radius-full);
  background: #f0f3ff;
  color: #0059a4;
  transition: transform var(--duration-base) var(--ease-spring), background-color var(--duration-fast);
}
a.social-link:hover { transform: translateY(-3px); background: var(--secondary-50); }

.site-footer__bottom {
  display: grid;
  gap: 24px;
  padding-top: 33px;
  border-top: 1px solid var(--border-focus);
  font-family: var(--font-small);
  font-size: 0.875rem;
  line-height: 1.43;
  color: var(--text-secondary);
}
/* Mobiel: twee nette kolommen, geen bolletjes */
.site-footer__legal {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 24px;
}
.site-footer__legal li { white-space: nowrap; }
@media (max-width: 340px) { .site-footer__legal { grid-template-columns: 1fr; } }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__copy { display: grid; gap: 4px; }
.site-footer__copy a { text-underline-offset: 2px; }

/* Vanaf tablet: één rij met bolletjes ertussen, zoals in Figma */
@media (min-width: 768px) {
  .site-footer__bottom { font-size: 0.8125rem; line-height: 1.4; }
  .site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
  .site-footer__legal li { display: flex; align-items: center; }
  .site-footer__legal li + li::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-inline: 16px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
  }
  .site-footer__copy { display: flex; flex-wrap: wrap; gap: 4px 20px; }
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .site-footer__inner { padding-inline: calc(var(--gutter) + 92px); }
  .site-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / span 2; gap: 49px; }
  .site-footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__copy { justify-content: flex-end; text-align: right; }
}

/* ==========================================================================
   Galerij-lightbox
   ========================================================================== */

.gallery__link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__link:focus-visible { outline-offset: -4px; outline-color: #fff; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(0 22 37 / 0.92); opacity: 0; transition: opacity var(--duration-base) ease; }
.lightbox.is-open::backdrop { opacity: 1; }

.lightbox__stage {
  position: absolute;
  inset: 72px 16px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  touch-action: pan-y;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100% - 56px);
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.6);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo);
}
.lightbox.is-open .lightbox__img.is-loaded { opacity: 1; transform: scale(1); }
.lightbox__caption { font-size: 0.875rem; line-height: 1.43; text-align: center; opacity: 0.85; max-width: 60ch; }
.lightbox__count {
  position: absolute;
  top: 28px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.2));
  transition: transform var(--duration-base) var(--ease-spring), background-color var(--duration-fast);
}
.lightbox__btn:hover { transform: scale(1.1); background: var(--background-secondary); }
.lightbox__btn:focus-visible { outline-color: #fff; }
.lightbox__btn--close { top: 16px; right: 16px; }
.lightbox__btn--prev { bottom: 24px; left: calc(50% - 60px); }
.lightbox__btn--next { bottom: 24px; right: calc(50% - 60px); }
.lightbox[data-single] .lightbox__btn--prev,
.lightbox[data-single] .lightbox__btn--next { display: none; }

@media (min-width: 900px) {
  .lightbox__stage { inset: 72px 112px 56px; }
  .lightbox__btn--prev,
  .lightbox__btn--next { top: 50%; bottom: auto; margin-top: -24px; }
  .lightbox__btn--prev { left: 32px; }
  .lightbox__btn--next { right: 32px; }
  .lightbox__btn--close { top: 24px; right: 32px; }
  .lightbox__count { left: 40px; }
}

html.has-lightbox { overflow: hidden; }

/* ==========================================================================
   Zwevende doneerknop
   ========================================================================== */

.float-donate {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: var(--radius-full);
  background: var(--button-primary);
  color: var(--button-primary-text);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgb(5 31 51 / 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.9);
  transition:
    opacity var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-spring),
    visibility 0s linear var(--duration-base),
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}
.float-donate.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-spring),
    visibility 0s,
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}
.float-donate.is-visible:hover {
  transform: translateY(-3px);
  background: var(--button-primary-hover);
  color: var(--button-primary-hover-text);
  box-shadow: 0 16px 32px -10px rgb(5 31 51 / 0.5);
}
.float-donate:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 3px; }
.float-donate:hover .float-donate__icon { background: rgb(91 119 35 / 0.12); }
.float-donate__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.2);
}
.float-donate__icon svg { width: 13px; height: 13px; }
.float-donate.is-visible .float-donate__icon { animation: heartbeat 2.8s ease-in-out 1s infinite; }
.float-donate:hover .float-donate__icon { animation-play-state: paused; }

@keyframes heartbeat {
  0%, 70%, 100% { transform: scale(1); }
  76% { transform: scale(1.22); }
  82% { transform: scale(1); }
  88% { transform: scale(1.14); }
  94% { transform: scale(1); }
}

@media (min-width: 768px) {
  .float-donate { right: 32px; bottom: 32px; }
}
@media print { .float-donate { display: none; } }

/* ==========================================================================
   Diepte-effecten
   ========================================================================== */

/* Galerij: tegels worden van onder naar boven onthuld */
.gallery__item { will-change: clip-path; }

/* Grote tekst: woorden kleuren in tijdens het scrollen */
.b-statement__title .word { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .news-card { transform: none; }
}

/* ==========================================================================
   "Komt binnenkort"-pop-up voor links zonder bestemming
   ========================================================================== */

.pending-pop {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--hero-dark);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgb(0 22 37 / 0.55);
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--pop-x, 0), var(--pop-y, 0)) scale(0.6);
  transform-origin: var(--pop-origin, 50% 100%);
  transition: opacity 180ms ease, transform 180ms ease;
}
.pending-pop.is-visible {
  opacity: 1;
  transform: translate(var(--pop-x, 0), var(--pop-y, 0)) scale(1);
  transition: opacity 220ms ease, transform 520ms var(--ease-spring);
}
/* Pijltje naar de knop */
.pending-pop::after {
  content: '';
  position: absolute;
  left: var(--arrow-x, 50%);
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: inherit;
  border-radius: 2px;
  transform: rotate(45deg);
}
.pending-pop[data-side='top']::after { bottom: -5px; }
.pending-pop[data-side='bottom']::after { top: -5px; }

.pending-pop__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background-secondary);
  color: var(--secondary-900);
}
.pending-pop.is-visible .pending-pop__icon svg { animation: pop-tick 900ms var(--ease-out-expo) 120ms; }
.pending-pop__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.pending-pop__text { display: block; font-size: 0.8125rem; line-height: 1.4; opacity: 0.75; }

@keyframes pop-tick {
  0% { transform: rotate(-90deg) scale(0.6); }
  100% { transform: rotate(0) scale(1); }
}

/* Kleine wiebel op de knop zelf, zodat duidelijk is waar de melding bij hoort */
[data-pending-link].is-nudged { animation: nudge 420ms var(--ease-out-expo); }
@keyframes nudge {
  0%, 100% { translate: 0 0; }
  25% { translate: -3px 0; }
  50% { translate: 3px 0; }
  75% { translate: -1px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pending-pop, .pending-pop.is-visible { transition: opacity 150ms ease; }
  [data-pending-link].is-nudged { animation: none; }
}

/* ==========================================================================
   Blok: paginakop (subpagina's)
   ========================================================================== */

.b-page-header {
  padding-block: clamp(40px, 6vw, 112px) clamp(40px, 5vw, 80px);
  background: var(--background-primary);
}
.b-page-header__eyebrow { margin-bottom: 20px; }
.b-page-header__title { max-width: 18ch; }
.b-page-header__text { max-width: 980px; margin-top: 24px; } /* intro op desktop in twee regels */
.b-page-header__text p + p { margin-top: 0.75em; }

/* ==========================================================================
   Blok: tekst
   ========================================================================== */

.b-text { padding-block: clamp(48px, 6vw, 88px); }
.b-text + .b-text { padding-top: 0; }
/* Zelfde linkerlijn als de andere blokken; alleen de leesbreedte van de tekst is beperkt */
.b-text__inner { display: grid; gap: 20px; justify-items: start; }
.b-text__inner > * { max-width: 760px; }
.b-text__eyebrow { color: var(--text-tertiary); margin-bottom: -8px; } /* H3-stijl (Tilt Warp 24 → 32) */
.b-text__title { color: var(--text-secondary); }

.prose { font-size: 1.0625rem; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--primary-600); text-underline-offset: 3px; }
.prose a:hover { color: #005f9d; }
.prose strong { color: var(--text-on-primary); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ul li::marker { color: var(--button-primary); }

/* ==========================================================================
   Blok: sponsoroverzicht (hoofdsponsors / sponsors / Club van 50)
   ========================================================================== */

.b-sponsor-levels { padding-block: clamp(48px, 6vw, 96px); background: var(--background-primary); }
.b-sponsor-levels .container { display: grid; gap: clamp(48px, 6vw, 80px); }
.sponsor-level__title {
  margin-bottom: 24px;
  font-family: var(--font-serif);          /* zelfde stijl als de sectiekoppen */
  font-weight: 400;
  font-size: clamp(1.75rem, 1.439rem + 1.326vw, 2.5rem);   /* 28 → 40 */
  line-height: 1.2;
  color: var(--text-secondary);
}
.sponsor-level__text { max-width: 720px; margin: -12px 0 24px; font-size: 1.0625rem; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sponsor-grid--main { gap: 20px; }
@media (min-width: 768px) {
  .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sponsor-grid--main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .sponsor-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sponsor-grid--main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sponsor-card {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 18px;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--neutral-0);
  text-decoration: none;
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo), border-color var(--duration-base) ease;
}
.sponsor-card--main,
.sponsor-card--small { height: auto; aspect-ratio: 1 / 1; }   /* logoblokjes altijd vierkant */
.sponsor-card--main { padding: 14%; border-radius: 20px; }
.sponsor-card--small { padding: 12%; }
.sponsor-card img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-card--main img,
.sponsor-card--small img { max-height: 100%; }
.sponsor-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  color: #6e8091;
}
.sponsor-card--main .sponsor-card__name { font-size: clamp(1.125rem, 1.5vw, 1.5rem); }
.sponsor-card--link:hover,
.sponsor-card--link:focus-visible {
  transform: translateY(-4px);
  border-color: #b9d3f5;
  box-shadow: 0 16px 30px -18px rgb(0 114 188 / 0.45);
}

.sponsor-card--named { height: 128px; padding: 16px 20px; }
.sponsor-card--named .sponsor-card__name { font-size: 1.125rem; line-height: 1.3; }

/* Club van 50: vijf kolommen op desktop */
@media (min-width: 1100px) {
  .sponsor-grid--named { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ANBI-logo in de footer */
.site-footer__anbi { display: inline-block; margin-top: -8px; border-radius: 6px; transition: transform var(--duration-base) var(--ease-spring); }
.site-footer__anbi img { width: 72px; height: auto; }
.site-footer__anbi:hover { transform: translateY(-2px); }

/* ==========================================================================
   Sponsor-detailpagina
   ========================================================================== */

.sponsor-detail { padding-block: clamp(32px, 4vw, 64px) clamp(56px, 7vw, 112px); background: var(--background-primary); }
.sponsor-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-out-expo);
}
.sponsor-detail__back:hover { gap: 12px; }
.sponsor-detail__grid { display: grid; gap: 40px; align-items: start; }
.sponsor-detail__logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  padding: 14%;
  border: 1px solid var(--border-default);
  border-radius: 24px;
  background: var(--neutral-0);
  box-shadow: 0 30px 60px -40px rgb(0 22 37 / 0.35);
}
.sponsor-detail__logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-detail__body { display: grid; gap: 20px; max-width: 680px; }
.sponsor-detail__eyebrow { margin-bottom: -8px; }
.sponsor-detail__intro { color: var(--text-on-primary); }
.sponsor-detail__actions { margin-top: 8px; }
@media (min-width: 900px) {
  .sponsor-detail__grid { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .sponsor-detail__logo { position: sticky; top: 140px; }
}

.sponsor-others { padding-block: clamp(48px, 6vw, 88px); }

.b-page-header__actions { margin-top: 32px; }

/* ==========================================================================
   Blok: contact (gegevens + formulier)
   ========================================================================== */

.b-contact { padding-block: clamp(48px, 6vw, 96px); }
.b-contact__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .b-contact__grid { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .contact-details { position: sticky; top: 140px; }
}

.contact-details {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
  background: var(--background-secondary);
}
.contact-details__title { color: var(--text-primary); }
.contact-details__list { display: grid; gap: 18px; }
.contact-details__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details__list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 0.9375rem; color: var(--secondary-900); }
.contact-details__list a { color: var(--text-primary); text-underline-offset: 3px; }
.contact-details__list a:hover { color: var(--primary-600); }
.contact-details__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--neutral-0);
  color: #0059a4;
}
.contact-details__label { margin-bottom: -8px; font-family: var(--font-display); color: var(--secondary-900); }

.contact-form-wrap { display: grid; gap: 20px; max-width: 720px; }
.contact-form__intro { font-size: 1.0625rem; }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-size: 1rem; color: var(--text-on-primary); }
.field__optional { font-family: var(--font-body); font-size: 0.875rem; color: #6e8091; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  background: var(--neutral-0);
  font: inherit;
  font-size: 1rem;
  color: var(--text-on-primary);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:hover,
.field textarea:hover { border-color: #9aa7b4; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 4px rgb(0 114 188 / 0.15); }
.field--error input,
.field--error textarea { border-color: #c2412d; }
.field__error { font-size: 0.875rem; color: #b3341f; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__privacy { font-size: 0.875rem; color: #6e8091; }
.contact-form__submit { justify-self: start; border: 0; cursor: pointer; }

.form-message { padding: 18px 20px; border-radius: 14px; font-size: 1rem; }
.form-message--success { background: var(--background-secondary); color: var(--secondary-900); }
.form-message--error { background: #fdecea; color: #8f2a19; }

/* Juridische teksten in een tekstblok */
.prose h2 { margin-top: 1.8em; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); line-height: 1.2; color: var(--text-secondary); }
.prose h3 { margin-top: 1.4em; font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.4; color: var(--text-on-primary); }
.prose h2:first-child { margin-top: 0; }
.prose h3 + p, .prose h2 + p, .prose h3 + ul { margin-top: 0.5em; }
.prose a { overflow-wrap: anywhere; }

/* ==========================================================================
   Blok: sponsorpakketten
   ========================================================================== */

.b-packages { padding-block: clamp(48px, 6vw, 96px); background: var(--neutral-0); }
.b-packages__header { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.b-packages__header .b-text__eyebrow { margin-bottom: -8px; }
.b-packages__intro { font-size: 1.0625rem; } .b-packages__header .btn--link-blue { margin-top: 4px; }

.packages { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .packages--2, .packages--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .packages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .packages--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: var(--primary-100);
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo);
}
.package:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--primary-600) 45%, transparent); }
.package--featured {
  border-color: var(--button-primary);
  background: var(--background-secondary);
  box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--secondary-800) 60%, transparent);
}
@media (min-width: 1000px) { .package--featured { transform: translateY(-12px); } .package--featured:hover { transform: translateY(-16px); } }
.package__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-600);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 0.875rem;
}
.package__name { color: var(--text-secondary); }
.package--featured .package__name { color: var(--secondary-900); }
.package__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.package__period { color: var(--text-primary); }
.package__desc { color: var(--text-primary); }
.package__features { flex: 1; padding-top: 16px; border-top: 1px solid var(--border-default); }
.package--featured .package__features { border-top-color: color-mix(in srgb, var(--secondary-900) 20%, transparent); }
.package__features { display: grid; gap: 10px; align-content: start; }
.package__features li { position: relative; padding-left: 28px; }
.package__features li.package__features-lead { padding-left: 0; font-weight: 700; color: var(--text-on-primary); }
.package__features li.package__features-lead::before { content: none; }
.package__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--button-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.package__btn { justify-self: start; align-self: flex-start; margin-top: 8px; }

/* Gouden / Zilveren hartje rechtsboven op een sponsorlogo (Figma: warning/300-500, neutral/300-400) */
.sponsor-card { position: relative; }
.sponsor-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 24px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M13 23.2S1 15.8 1 7.9C1 4.1 4 1 7.8 1c2.2 0 4.2 1.1 5.2 2.9C14 2.1 16 1 18.2 1 22 1 25 4.1 25 7.9c0 7.9-12 15.3-12 15.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M13 23.2S1 15.8 1 7.9C1 4.1 4 1 7.8 1c2.2 0 4.2 1.1 5.2 2.9C14 2.1 16 1 18.2 1 22 1 25 4.1 25 7.9c0 7.9-12 15.3-12 15.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duration-base) var(--ease-spring);
}
.sponsor-heart--goud { background: linear-gradient(135deg, var(--warning-300), var(--warning-500)); }
.sponsor-heart--zilver { background: linear-gradient(135deg, var(--neutral-300), var(--neutral-400)); }
.sponsor-heart--rood { background: linear-gradient(135deg, var(--error-400), var(--error-600)); }
.sponsor-card--link:hover .sponsor-heart { transform: scale(1.18); }

.logo-slot { position: relative; }
.logo-slot--link:hover .sponsor-heart { transform: scale(1.18); }

/* ==========================================================================
   Paginakop met beeld
   ========================================================================== */

.b-page-header__grid { display: grid; gap: 32px; align-items: center; }
.b-page-header__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--hero-dark) 35%, transparent); }
.b-page-header__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .b-page-header__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 64px; }
}

/* ==========================================================================
   Agenda-pagina
   ========================================================================== */

.b-agenda-page { padding-block: clamp(40px, 5vw, 80px) clamp(56px, 7vw, 112px); display: grid; }
.b-agenda-page .container { display: grid; gap: clamp(48px, 6vw, 96px); }

/* Eerstvolgende activiteit, uitgelicht */
.event-feature {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: var(--neutral-0);
  /* Geen rand: de kaart komt los van de achtergrond door een zachte schaduw */
  box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.28);
}
.event-feature__media { position: relative; min-height: 260px; background: var(--primary-100); }
.event-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature__media--empty { display: grid; place-items: center; }
.event-feature__icon svg { width: 72px; height: 72px; color: var(--primary-600); opacity: 0.35; }
.event-feature__date {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  justify-items: center;
  min-width: 88px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--background-secondary);
  color: var(--secondary-900);
  line-height: 1;
}
.event-feature__date .text-h6 { text-transform: uppercase; margin-top: 4px; }
.event-feature__body { display: grid; gap: 16px; align-content: center; justify-items: start; padding: 32px 24px; }
.event-feature__title { color: var(--text-secondary); }
.event-feature__meta { color: var(--secondary-900); }
.event-feature__actions { margin-top: 8px; }
@media (min-width: 900px) {
  .event-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .event-feature__media { min-height: 420px; }
  .event-feature__body { padding: 56px 64px; }
}

.agenda-empty { color: var(--text-secondary); }
.agenda-past .agenda__list--past { opacity: 0.75; }
.agenda-past .agenda-item { border-color: var(--border-default); }
.agenda-past .agenda-item__date,
.agenda-past .agenda-item__details { color: var(--text-primary); }
.agenda__more { margin-top: 4px; }

/* ==========================================================================
   Agenda-artikel
   ========================================================================== */

.event-header { padding-block: clamp(32px, 4vw, 64px) clamp(40px, 5vw, 80px); background: var(--background-primary); }
.event-header__grid { display: grid; gap: 32px; align-items: center; }
.event-header__text { display: grid; gap: 16px; justify-items: start; }
.event-header__text .sponsor-detail__back { margin-bottom: 16px; }
.event-header__title { color: var(--text-primary); max-width: 18ch; }
.event-header__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--secondary-900); }
.event-header__meta li { display: inline-flex; align-items: center; gap: 8px; }
.event-header__meta svg { width: 16px; height: 16px; }
.event-header__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.event-header__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .event-header--image .event-header__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 64px; }
  .event-header--image .event-header__media { order: -1; } /* foto links, tekst rechts */
}

.event-article { padding-block: clamp(48px, 6vw, 88px); }
.event-article__inner { display: grid; gap: 24px; max-width: 960px; margin-inline: auto; }
.event-article__intro { color: var(--text-on-primary); }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--border-default); }
.share__label { color: var(--text-secondary); }
.share__list { display: flex; gap: 8px; }
.share__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--neutral-0);
  color: var(--primary-600);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-spring), background-color var(--duration-fast), color var(--duration-fast);
}
.share__btn svg { width: 20px; height: 20px; }
.share__btn .icon { width: 16px; height: 14px; }
.share__btn:hover, .share__btn.is-copied { transform: translateY(-2px); background: var(--primary-600); color: var(--neutral-0); }
.share__copied:not(:empty) {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--hero-dark);
  color: var(--neutral-0);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.event-kicker { color: var(--text-tertiary); }
/* Agenda: hero zonder foto; het uitgelichte agendapunt neemt de plek van de fotokaart in
   en valt net als die kaart half over de overgang van lichtblauw naar wit */
.b-hero--card:not(:has(.b-hero__card)) { padding-bottom: 0; }
.b-hero--card:not(:has(.b-hero__card)) + .b-agenda-page {
  padding-top: clamp(40px, 5vw, 88px);
  background: linear-gradient(to bottom, var(--background-primary) clamp(200px, 19vw, 300px), transparent 0);
}
.b-hero--card:not(:has(.b-hero__card)) + .b-agenda-page .event-feature { box-shadow: 0 30px 60px -30px rgb(0 22 37 / 0.35); }

/* Alle agendapunten als kaart; de afstand tussen de kaarten is kleiner dan tussen secties */
.b-agenda-page .container { gap: clamp(24px, 3vw, 40px); }
.agenda-past__title { margin-top: clamp(24px, 4vw, 56px); margin-bottom: 0; }
.event-feature--past { opacity: 0.7; }
.event-feature--past .event-feature__img { filter: grayscale(0.6); }

/* Datum, tijd en locatie met iconen */
.event-meta { display: grid; gap: 6px; }
.event-meta li { display: flex; align-items: center; gap: 10px; }
.event-meta .icon { flex: none; width: 16px; height: 16px; color: var(--secondary-800); }
.b-hero--card:not(:has(.b-hero__card)) .b-hero__heading { max-width: 23ch; } /* agenda: titel eerder afbreken */

/* Nieuwsoverzicht (/nieuws) */
.b-hero--card:not(:has(.b-hero__card)) + .b-news--page { padding-top: clamp(40px, 5vw, 88px); }
.b-news--page { padding-bottom: clamp(56px, 7vw, 112px); }
.news-pagination { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; }
.b-news__more { margin-top: 32px; display: flex; justify-content: center; }
.event-feature__date--label { min-width: 0; padding: 8px 14px; text-transform: none; } /* label (bv. Loopverslag) i.p.v. datum op nieuwskaarten */

/* ==========================================================================
   Team
   ========================================================================== */

.b-team { padding-block: clamp(48px, 6vw, 96px); }
.b-team__header { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.b-team .b-news__grid { row-gap: 24px; }
.member-card__media { height: auto; aspect-ratio: 1 / 1; }
.member-card .news-card__img { object-position: 50% 25%; }
.member-card .news-card__body { gap: 8px; }

.member-detail__photo {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 48px -24px rgb(0 22 37 / 0.28);
}
.member-detail__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (min-width: 900px) {
  .member-detail__photo { position: sticky; top: 140px; }
}

/* ==========================================================================
   Blok: tijdlijn
   ========================================================================== */

.b-timeline { padding-block: clamp(56px, 7vw, 112px); background: var(--background-primary); }
.b-timeline__header { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.timeline { position: relative; display: grid; gap: 32px; padding-left: 28px; }
/* Doorlopende lijn achter de bolletjes */
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: var(--primary-200);
}
.timeline__item { position: relative; display: grid; gap: 6px; }
.timeline__dot {
  position: absolute;
  top: 10px;
  left: -28px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--background-primary);
  border-radius: 50%;
  background: var(--button-primary);
  box-shadow: 0 0 0 2px var(--button-primary);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  line-height: 1;
  color: var(--text-secondary);
}
.timeline__title { color: var(--text-on-primary); }
.timeline__text { max-width: 34ch; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px; padding-left: 0; padding-top: 36px; }
  .timeline::before { top: 7px; bottom: auto; left: 0; right: 0; width: auto; height: 2px; }
  .timeline__dot { top: -36px; left: 0; }
}

/* ==========================================================================
   Blok: cijfers
   ========================================================================== */

.b-numbers { padding-block: clamp(56px, 7vw, 112px); }
.numbers {
  display: grid;
  gap: 40px;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--background-secondary);
}
.numbers__intro { display: grid; gap: 12px; align-content: center; }
.numbers__total { font-size: inherit; font-weight: inherit; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; color: var(--secondary-900); }
.numbers__total-value { font-family: var(--font-display); font-size: clamp(4rem, 2.5rem + 6vw, 7.5rem); line-height: 0.9; }
.numbers__text { color: var(--secondary-900); }
.numbers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.numbers__item {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 16px;
  background: var(--neutral-0);
}
.numbers__value { font-family: var(--font-display); font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); line-height: 1; color: var(--text-secondary); }
.numbers__label { font-weight: 500; color: var(--text-primary); }
@media (min-width: 640px) { .numbers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .numbers { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 64px; padding: 72px 64px; }
}
.b-text-slider:not(.b-text-slider--bg) { padding-bottom: clamp(56px, 7vw, 112px); } /* zonder achtergrondfoto geen extra ruimte onderaan */

/* ==========================================================================
   Blok: vrijwilliger worden (tekst + aanmeldformulier)
   ========================================================================== */

.b-volunteer { padding-block: clamp(56px, 7vw, 112px); background: var(--background-primary); }
.b-volunteer__grid { display: grid; gap: 40px; align-items: start; }
.b-volunteer__text { display: grid; gap: 20px; }
.b-volunteer__text .b-text__eyebrow { margin-bottom: -8px; }
.b-volunteer__form {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--neutral-0);
  box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.28);
}
@media (min-width: 900px) {
  .b-volunteer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); }
  .b-volunteer__form { padding: 40px; }
}
/* Intro direct onder een hero met fotokaart (teampagina): dichter op de foto en iets groter */
.b-hero--card + .b-text { padding-top: clamp(16px, 2vw, 32px); }
.b-hero--card + .b-text .b-text__body { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.6; }
.b-hero--card + .b-text .b-text__inner > * { max-width: 860px; }
.b-hero__subtitle { max-width: 980px; margin-top: 20px; color: var(--text-primary); }

/* Teampagina: lagere teamfoto zonder Texel-lijn */
.template-team .b-hero__card-curve, .page-over .b-hero__card-curve { left: auto; top: auto; right: 4%; bottom: 0; width: 24%; transform: none !important; filter: drop-shadow(0 0 3px rgb(0 22 37 / 0.25)); } /* kleine Texel-lijn vast in de hoek rechtsonder, duidelijker (eigen svg met 70% dekking) */
@media (max-width: 767px) { .template-team .b-hero__card-curve, .page-over .b-hero__card-curve { width: 34%; } }
.template-team .b-hero--card { --card-h: calc((100vw - var(--gutter) * 2) * 0.625); }
.template-team .b-hero__card { aspect-ratio: 16 / 10; }
.template-team .b-hero__card-img { top: 0; height: 100%; object-position: 50% 62%; }
@media (min-width: 768px) {
  .template-team .b-hero--card { --card-h: calc(min(1440px, 100vw - var(--gutter) * 2) * 600 / 1440); }
  .template-team .b-hero__card { aspect-ratio: 1440 / 600; }
}

/* ==========================================================================
   Blok: intro (uitgelichte openingszin + tekst)
   ========================================================================== */

.b-intro { padding-block: clamp(48px, 6vw, 104px); }
.b-intro__grid { display: grid; gap: 32px; align-items: end; }
.b-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-tertiary);
}
/* Groen streepje voor het kopje */
.b-intro__eyebrow::before { content: ''; width: 32px; height: 3px; border-radius: 2px; background: var(--button-primary); }
.b-intro__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.15;
  color: var(--text-secondary);
  max-width: 22ch;
  opacity: 0; /* zichtbaar via de scroll-animatie */
}
.b-intro__body {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-left: 24px;
  border-left: 3px solid var(--button-primary);
}
.b-intro__text { font-size: 1.0625rem; line-height: 1.7; }
.b-intro__text p + p { margin-top: 0.8em; }
@media (min-width: 900px) {
  .b-intro__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .b-intro__body { padding-left: 32px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .b-intro__lead { opacity: 1; } }
/* Intro als één doorlopende tekst: groot, over de volle breedte, link eronder */
.b-intro__grid--single { grid-template-columns: 1fr !important; gap: 28px; }
.b-intro__grid--single .b-intro__lead { max-width: 46ch; font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.625rem); line-height: 1.25; }
.b-intro__grid--single .b-intro__body { padding-left: 0; border-left: 0; margin-bottom: 0; }
.template-team .b-hero--card + .b-text .b-text__inner { justify-items: center; text-align: center; } /* intro onder de teamfoto gecentreerd */
.b-numbers + .b-team { padding-top: clamp(8px, 1.5vw, 24px); } /* geen dubbele witruimte tussen cijfers en teamleden */
/* Rol-icoon in het label van teamleden */
.member-card__badge { display: inline-flex; align-items: center; gap: 6px; }
.member-card__badge .role-icon { flex: none; width: 14px; height: 14px; }
.member-detail__role { display: inline-flex; align-items: center; gap: 10px; }
.member-detail__role .role-icon { width: 0.9em; height: 0.9em; }
/* Tijdlijn met verhaal: titel links, intro rechts */
.b-timeline__intro p + p { margin-top: 0.8em; }
.b-timeline__intro a { color: var(--primary-600); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .b-timeline__header { max-width: none; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .b-timeline__header > :not(.b-timeline__intro) { grid-column: 1; }
  .b-timeline__intro { grid-column: 2; grid-row: 1 / span 3; }
}
/* Tijdlijn-blok: verhaal op wit, de tijdlijn zelf op een lichtblauwe band over de volle breedte */
.b-timeline { background: var(--neutral-0); padding-bottom: 0; }
.b-timeline .timeline {
  border-image: conic-gradient(var(--background-primary) 0 0) fill 0 / / 0 100vmax;
  padding-block: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .b-timeline .timeline { padding-top: calc(clamp(48px, 6vw, 80px) + 36px); }
  .b-timeline .timeline::before { top: calc(clamp(48px, 6vw, 80px) + 7px); }
  .b-timeline .timeline__dot { top: -36px; }
}
@media (max-width: 899px) {
  .b-timeline .timeline::before { top: clamp(48px, 6vw, 80px); bottom: clamp(48px, 6vw, 80px); }
}
.b-hero--card + .b-timeline { padding-top: 0; } /* direct onder de teamfoto, alleen de ruimte van de hero zelf */
/* Teampagina: evenveel witruimte boven (na de 64px van de hero) als onder het verhaal */
.b-hero--card + .b-timeline { padding-top: clamp(24px, 4vw, 48px); }
.b-hero--card + .b-timeline .b-timeline__header { margin-bottom: calc(64px + clamp(24px, 4vw, 48px)); }
/* Teamleden op mobiel in twee kolommen: compactere kaarten zonder intro-tekst */
@media (max-width: 639px) {
  .b-team .b-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 12px; }
  .member-card .news-card__body { padding: 12px; gap: 6px; }
  .member-card .news-card__title { font-size: 1rem; line-height: 1.25; }
  .member-card .news-card__text { display: none; }
  .member-card .news-card__link { font-size: 0.8125rem; padding-top: 8px; }
  .member-card__badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 0.6875rem; line-height: 1.2; gap: 4px; max-width: calc(100% - 16px); border-radius: 10px; }
  .member-card__badge .role-icon { width: 11px; height: 11px; }
}
/* Cijferblok schuift half over de blauwe tijdlijnband */
.b-timeline:has(+ .b-numbers) .timeline { padding-bottom: calc(clamp(48px, 6vw, 80px) + clamp(80px, 10vw, 160px)); }
.b-timeline + .b-numbers { position: relative; z-index: 1; margin-top: calc(-1 * clamp(80px, 10vw, 160px)); padding-top: 0; }
.b-timeline + .b-numbers .numbers { box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 30px 60px -30px rgb(0 22 37 / 0.3); }

/* Filter op rol (teampagina) */
.team-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 clamp(24px, 3vw, 36px); }
.team-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--neutral-0);
  color: var(--secondary-900);
  font: 500 0.875rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-base) var(--ease-spring);
}
.team-filter__btn .role-icon { width: 14px; height: 14px; }
.team-filter__btn:hover { border-color: var(--button-primary); transform: translateY(-1px); }
.team-filter__btn[aria-pressed='true'] { background: var(--button-primary); border-color: var(--button-primary); color: var(--neutral-0); }
.team-filter__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--secondary-50);
  font-size: 0.75rem;
  color: var(--secondary-900);
}
.team-filter__btn[aria-pressed='true'] .team-filter__count { background: rgb(255 255 255 / 0.25); color: var(--neutral-0); }
.b-team .b-news__grid > li[hidden] { display: none; }
@media (max-width: 639px) {
  .team-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .team-filter::-webkit-scrollbar { display: none; }
  .team-filter__btn { flex: none; }
}
/* Mobiel: team- en nieuwsfilter op meerdere regels en gecentreerd (i.p.v. een verborgen scrollstrook) */
@media (max-width: 639px) {
  .b-team .team-filter,
  .team-filter.news-filter { flex-wrap: wrap; justify-content: center; overflow-x: visible; margin-inline: 0; padding-inline: 0; }
}
/* Meerdere rollabels naast elkaar (bijv. teamcaptain + loper) */
.member-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.member-card__badges .member-card__badge { position: static; }
@media (max-width: 639px) {
  .member-card__badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
}
.member-card__badge .role-icon + .role-icon { margin-left: -2px; } /* extra rol-iconen dicht bij elkaar */
/* Portretfoto's uit het oude overzicht zijn 350×220: kaart in die verhouding, gezicht in beeld */
.member-card__media { aspect-ratio: 350 / 220; }
.member-card .news-card__img { object-position: 50% 30%; }
/* Rollabel onderaan de foto, zodat het niet over gezichten valt */
.member-card .member-card__badge { top: auto; bottom: 12px; }
@media (max-width: 639px) { .member-card .member-card__badge { top: auto; bottom: 8px; } }

/* ==========================================================================
   Blok: actieblok (aan/uit) — Figma "Actieblok sectie"
   ========================================================================== */

.b-action { padding-block: clamp(32px, 4vw, 56px); }
.action {
  display: grid;
  gap: 24px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--secondary-100);
  border-radius: 20px;
  background: var(--primary-600);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.action__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.action__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.action__body { display: grid; gap: 12px; justify-items: start; padding: 8px 8px 16px; color: var(--text-inverse); }
.action__title { color: var(--text-inverse); }
.action__text { font-size: 1rem; line-height: 1.5; max-width: 60ch; }
.action__btn { margin-top: 12px; }
.action__btn:hover { background: var(--neutral-0); color: var(--primary-600); }
@media (min-width: 900px) {
  .action { grid-template-columns: 420px minmax(0, 1fr); align-items: center; gap: 61px; padding: 32px 60px 32px 32px; min-height: 514px; }
  .action__media { aspect-ratio: auto; height: 450px; }
  .action__body { padding: 0; }
}
.b-hero--counter + .b-action { padding-top: 0; } /* direct onder de donatiekaart: alleen de ruimte van de hero zelf */
/* Uitgelicht-label in het actieblok, zelfde letter als de andere labels */
.action__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--background-secondary);
  color: var(--secondary-800);
  font-size: 0.875rem;
  line-height: 20px;
}
.action__label .icon { width: 14px; height: 14px; color: var(--secondary-800); }

/* ==========================================================================
   404-pagina
   ========================================================================== */

.error-page { position: relative; overflow: clip; padding-block: clamp(64px, 9vw, 140px); background: var(--background-primary); }
.error-page__inner { position: relative; display: grid; justify-items: start; gap: 20px; }
.error-page__code {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 4rem + 18vw, 22rem);
  line-height: 0.8;
  color: var(--primary-200);
  pointer-events: none;
  user-select: none;
}
.error-page__title { position: relative; max-width: 16ch; }
.error-page__text { position: relative; max-width: 740px; }
.error-page__actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.error-page__curve { position: absolute; right: 6%; bottom: 0; width: min(340px, 28vw); opacity: 0.6; filter: invert(28%) sepia(90%) saturate(1500%) hue-rotate(190deg); pointer-events: none; }
@media (max-width: 767px) {
  .error-page__code { position: static; transform: none; font-size: 7rem; margin-bottom: -8px; }
  .error-page__curve { display: none; }
}
/* 404: geen footer; de foutmelding vult het scherm */
.template-error .site-footer { display: none; }
.template-error .error-page { min-height: calc(100vh - 100px); display: grid; align-items: center; }
.template-sponsor-stoppen .error-page, .template-sponsor-bedankt .error-page, .template-doneren-bedankt .error-page { min-height: calc(100vh - var(--header-h, 100px)); display: grid; align-items: center; }
.sponsor-stop .form-message { position: relative; max-width: 740px; }
.sponsor-stop__tekst > * { margin: 0 0 12px; }
.sponsor-stop__tekst > :last-child { margin-bottom: 0; }
.sponsor-stop form.error-page__actions { margin-top: 20px; }

/* Opsommingen: bolletjes in lijn met de tekst erboven, gelijke tussenruimte */
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 0.5em; }
.prose ul li { position: relative; padding-left: 1.25em; }
.prose ul li::before { content: ''; position: absolute; left: 0.2em; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--button-primary); }

/* Tekstblok "twee kolommen" (bijv. ANBI): titel erboven, tekst in twee gelijke kolommen.
   Elk tussenkopje vanaf het tweede begint bovenaan de rechterkolom. */
@media (min-width: 900px) {
  .b-text--split .b-text__body { max-width: none; width: 100%; columns: 2; column-gap: clamp(48px, 6vw, 96px); }
  .b-text--split .b-text__body > * { break-inside: avoid; }
  .b-text--split .b-text__body h3:nth-of-type(2) { break-before: column; margin-top: 0; }
}
.b-packages + .b-text { padding-top: clamp(8px, 1.5vw, 24px); } /* ANBI-blok dichter onder de pakketten */
.site-footer__donate { margin-top: 24px; } /* donatieknop onderaan de kolom Volg ons */
/* ANBI-logo met korte uitleg ernaast */
.site-footer__anbi-row { display: flex; align-items: center; gap: 16px; max-width: 340px; }
.site-footer__anbi-row .site-footer__anbi { margin-top: 0; flex: none; }
.site-footer__anbi-text { font-size: 0.875rem; line-height: 1.45; color: var(--text-primary); }
.site-footer__anbi-text a { display: inline-block; margin-top: 2px; color: var(--primary-600); text-underline-offset: 3px; }
/* Mobiel: ANBI-regel onderaan de footer (na de kolommen) */
@media (max-width: 767px) {
  .site-footer__brand { display: contents; }
  .site-footer__org { justify-self: start; }
  .site-footer__anbi-row { order: 99; padding-top: 24px; border-top: 1px solid rgb(193 199 212 / 0.3); max-width: none; }
}
/* Hero zonder foto gevolgd door een tekstblok (bijv. donatieformulier): gewone ruimte */
.b-hero--card:not(:has(.b-hero__card)) + .b-text { padding-top: clamp(40px, 5vw, 72px); }

/* ==========================================================================
   Blok: donatieformulier (placeholder)
   ========================================================================== */

.b-donation { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 112px); }
.donation {
  position: relative;
  max-width: 760px;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--neutral-0);
  box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.28);
}
.donation__notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--background-secondary);
  color: var(--secondary-900);
  font-weight: 500;
}
.donation__notice .icon { color: var(--secondary-800); }
.donation__form { display: grid; gap: 28px; opacity: 0.55; pointer-events: none; user-select: none; }
.donation__step { display: grid; gap: 16px; border: 0; padding: 0; margin: 0; }
.donation__step + .donation__step { padding-top: 28px; border-top: 1px solid var(--border-default); }
.donation__step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-display); font-size: 1.125rem; color: var(--text-on-primary); }
.donation__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-600); color: var(--neutral-0); font-size: 0.875rem; }
.donation__amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.donation__amount { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 14px; border: 1px solid var(--border-focus); border-radius: 12px; font-weight: 600; color: var(--text-primary); }
.donation__amount input[type=radio] { position: absolute; opacity: 0; }
.donation__amount.is-selected { border-color: var(--primary-600); background: var(--primary-100); color: var(--primary-600); }
.donation__amount--custom { grid-column: 1 / -1; justify-content: flex-start; font-weight: 500; }
.donation__amount--custom input { flex: 1; border: 0; background: transparent; font: inherit; }
.donation__hint { font-size: 0.875rem; color: var(--text-primary); }
.donation__pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.donation__method { padding: 8px 14px; border: 1px solid var(--border-focus); border-radius: 10px; font-weight: 600; }
@media (min-width: 640px) {
  .donation { padding: 40px; }
  .donation__amounts { grid-template-columns: repeat(4, minmax(0, 1fr)) 1.6fr; }
  .donation__amount--custom { grid-column: auto; }
}

/* Donatiepagina: formulier links, totaal + laatste donaties rechts */
.b-donation__grid { display: grid; gap: 32px; align-items: start; }
.donation-side { display: grid; gap: 20px; }
.donation-total { display: grid; gap: 10px; padding: 28px; border-radius: 20px; background: var(--background-secondary); color: var(--secondary-900); }
.donation-total__amount { color: var(--text-on-primary); }
.donation-total .counter__bar { background: var(--neutral-0); }
.donation-total__scale { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 0.9375rem; }
.donation-list { padding: 24px 28px; border-radius: 20px; background: var(--neutral-0); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.2); }
.donation-list__title { margin-bottom: 12px; color: var(--text-secondary); }
.donation-list ul { display: grid; }
.donation-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-block: 10px; border-top: 1px solid var(--border-default); }
.donation-list li:first-child { border-top: 0; }
.donation-list__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-100); color: var(--primary-600); }
.donation-list__icon .icon { width: 12px; height: 12px; }
.donation-list__name { font-weight: 500; overflow-wrap: anywhere; }
.donation-list__amount { font-family: var(--font-display); color: var(--secondary-800); white-space: nowrap; }
@media (min-width: 1000px) {
  .b-donation__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 4vw, 64px); }
  .donation { max-width: none; }
  .donation-side { position: sticky; top: 120px; }
}
/* Donatiepagina: zelfde overgang als /agenda en /nieuws (witruimte onder de titel, kaarten half over de blauwe band) */
.b-hero--card:not(:has(.b-hero__card)) + .b-donation {
  padding-top: clamp(40px, 5vw, 88px);
  background: linear-gradient(to bottom, var(--background-primary) clamp(120px, 11vw, 180px), transparent 0);
}
.b-hero:has(+ .b-donation) .b-hero__heading { max-width: 16ch; } /* donatiepagina: titel netjes op twee regels */

/* Donatie: keuze eenmalig of periodiek (minimaal 5 jaar) */
.donation__type { display: grid; gap: 10px; margin-bottom: 20px; }
.donation__type-option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border-focus); border-radius: 14px; cursor: pointer; transition: border-color var(--duration-fast), background-color var(--duration-fast); }
.donation__type-option input { margin-top: 4px; accent-color: var(--primary-600); }
.donation__type-option span { display: grid; gap: 2px; font-size: 0.875rem; color: var(--text-primary); }
.donation__type-option strong { font-family: var(--font-display); font-weight: 400; font-size: 1rem; color: var(--text-on-primary); }
.donation__type-option:has(input:checked) { border-color: var(--primary-600); background: var(--primary-100); }
@media (min-width: 640px) { .donation__type { grid-template-columns: 1fr 1fr; } }
.donation__periodic-info { display: grid; gap: 10px; margin-bottom: 24px; padding: 16px 18px; border-radius: 14px; background: var(--primary-50); font-size: 0.9375rem; line-height: 1.55; }
.donation__periodic-info strong { display: block; font-family: var(--font-display); font-weight: 400; color: var(--text-secondary); }
.donation__periodic-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary-600); text-underline-offset: 3px; }
.donation__periodic-info p a { color: var(--primary-600); text-underline-offset: 3px; }
.donation__anon { margin-top: -6px; }

/* Donatie: eenmalig (placeholder) of periodiek (uploadformulier) */
.donation__periodic { display: none; }
.donation:has(input[value=periodic]:checked) .donation__periodic { display: block; }
.donation:has(input[value=periodic]:checked) .donation__once { display: none; }
.donation__steps { display: grid; gap: 14px; margin-bottom: 28px; }
.donation__steps li { display: flex; gap: 12px; align-items: flex-start; }
.donation__steps li > div { display: grid; gap: 2px; }
.donation__steps strong { font-family: var(--font-display); font-weight: 400; color: var(--text-on-primary); }
.donation__steps span:not(.donation__num) { font-size: 0.9375rem; }
.donation__steps a { color: var(--primary-600); text-underline-offset: 3px; }
.donation__steps .donation__num { flex: none; }
.donation__file input[type=file] { padding: 12px; border: 1px dashed var(--border-focus); border-radius: 12px; background: var(--primary-50); font: inherit; cursor: pointer; }
.donation__file input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--primary-600); color: var(--neutral-0); font: 500 0.875rem var(--font-body); cursor: pointer; }

/* Cijferblok zonder totaal (feiten in cijfers) */
.numbers:not(:has(.numbers__total)) .numbers__intro:empty { display: none; }

/* ==========================================================================
   Blok: uitklapbare vragen (accordeon)
   ========================================================================== */

.b-faq { padding-block: clamp(56px, 7vw, 112px); }
.b-faq__grid { display: grid; gap: 32px; }
.b-faq__header { display: grid; gap: 12px; align-content: start; }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--background-primary); transition: background-color var(--duration-fast); }
.faq__item[open] { background: var(--primary-100); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.125rem; color: var(--text-on-primary); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--neutral-0); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--primary-600); transition: transform var(--duration-base) var(--ease-out-expo); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 24px 22px; }
@media (min-width: 900px) {
  .b-faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(48px, 6vw, 96px); }
  .b-faq__header { position: sticky; top: 140px; }
}

/* Donatie: jaarlijks sponsor (Club van 50 en de harten) */
.donation__sponsor { display: none; }
.donation:has(input[value=sponsor]:checked) .donation__sponsor { display: block; }
.donation:has(input[value=sponsor]:checked) .donation__once { display: none; }
@media (min-width: 760px) { .donation__type { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.donation__sponsor-form { display: grid; gap: 28px; }
.donation__sponsor-form .donation__step { gap: 14px; }
.sponsor-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sponsor-pick__option { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--border-focus); border-radius: 14px; cursor: pointer; transition: border-color var(--duration-fast), background-color var(--duration-fast); }
.sponsor-pick__option input { position: absolute; opacity: 0; }
.sponsor-pick__option:has(input:checked) { border-color: var(--primary-600); background: var(--primary-100); }
.sponsor-pick__option:has(input:focus-visible) { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.sponsor-pick__name { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); color: var(--text-on-primary); }
.sponsor-pick__price { font-weight: 600; color: var(--text-primary); }
.sponsor-pick__price small { font-weight: 400; font-size: 0.8125rem; }
.sponsor-pick__heart { display: inline-grid; }
.sponsor-pick__heart .icon { width: 14px; height: 14px; }
.sponsor-pick__option--sponsor .sponsor-pick__heart { color: var(--error-600); }
.sponsor-pick__option--zilver .sponsor-pick__heart { color: var(--neutral-400); }
.sponsor-pick__option--hoofdsponsor .sponsor-pick__heart { color: var(--warning-500); }
@media (min-width: 640px) and (max-width: 999px) { .sponsor-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.donation__sponsor-form .donation__amount--custom { height: 52px; border-color: var(--border-focus); }
/* Club van 50: bedrag kiezen, geen logo of website; de harten andersom */
.donation__sponsor-form:has(input[name=level][value=club50]:checked) .sponsor-only--logo,
.donation__sponsor-form:not(:has(input[name=level][value=club50]:checked)) .sponsor-only--club50 { display: none; }
.donation__sponsor-form .donation__amount--custom input { height: auto; padding: 0; border: 0; box-shadow: none; outline: 0; }
.donation__sponsor-form .donation__amount--custom:focus-within { border-color: var(--primary-600); }

/* ==========================================================================
   Blok: feiten in cijfers (groepen met getal + omschrijving)
   ========================================================================== */

.b-facts { padding-block: clamp(24px, 3vw, 48px); }
.facts { display: grid; gap: 20px; padding: 24px; border-radius: 20px; background: var(--background-secondary); overflow: hidden; }
.facts__intro { display: grid; gap: 6px; align-content: center; }
.facts__eyebrow { color: var(--secondary-800); }
.facts__title { color: var(--secondary-900); }
.facts__nav { display: flex; gap: 8px; margin-top: 10px; }
.facts__track { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.facts__track::-webkit-scrollbar { display: none; }
.facts__track:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 4px; border-radius: 16px; }
.facts__card { flex: 0 0 clamp(180px, 22vw, 220px); display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--neutral-0); scroll-snap-align: start; }
.facts__tag { align-self: flex-start; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--background-secondary); color: var(--secondary-900); font-size: 0.75rem; font-weight: 600; }
.facts__number { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; color: var(--text-on-primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.facts__label { font-size: 0.9375rem; line-height: 1.35; color: var(--text-primary); }
@media (min-width: 900px) {
  .facts { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px 28px 28px 36px; }
}

/* ==========================================================================
   Blok: tijdlijn per dag (start – finish), uitklapbaar
   ========================================================================== */

.b-schedule { padding-block: clamp(56px, 7vw, 112px); }
.b-schedule__header { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.schedule__days { display: grid; gap: 20px; align-items: stretch; }
.schedule__day { padding: 28px 24px; border-radius: 20px; background: var(--background-primary); }
.schedule__day-title { margin-bottom: 20px; color: var(--text-secondary); }
.schedule__list { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.schedule__list::before { content: ''; position: absolute; top: 10px; bottom: 10px; left: 5px; width: 2px; border-radius: 1px; background: var(--primary-200); }
.schedule__item { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 10px 0 10px 26px; }
.schedule__dot { position: absolute; top: 15px; left: 0; width: 12px; height: 12px; border: 2px solid var(--primary-600); border-radius: 50%; background: var(--neutral-0); }
.schedule__time { font-family: var(--font-display); color: var(--text-on-primary); font-variant-numeric: tabular-nums; }
.schedule__title { color: var(--text-primary); line-height: 1.4; }
.schedule__text { margin-top: 2px; font-size: 0.875rem; color: var(--text-primary); opacity: 0.75; }
.schedule__team { justify-self: end; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.schedule__team--a { background: var(--primary-100); color: var(--primary-600); }
.schedule__team--b { background: var(--background-secondary); color: var(--secondary-900); }
.schedule__team--ab { background: var(--primary-600); color: var(--neutral-0); }
/* Uitgelicht (start, finish): gevuld bolletje en vette titel, geen achtergrond */
.schedule__item--highlight .schedule__dot { background: var(--primary-600); }
.schedule__item--highlight .schedule__title { font-family: var(--font-display); color: var(--text-on-primary); }
@media (min-width: 1000px) {
  .schedule__days { grid-template-columns: repeat(var(--days, 3), minmax(0, 1fr)); }
}

/* Uitklapbaar (alleen mobiel/tablet): ingeklapt een deel van de eerste dag tonen, met een zachte overgang */
@media (max-width: 999px) {
  .schedule.is-collapsed .schedule__days {
    max-height: 380px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent);
            mask-image: linear-gradient(to bottom, #000 50%, transparent);
  }
  .schedule__more { display: flex; justify-content: center; margin-top: 24px; }
  .schedule.is-collapsed .schedule__more { margin-top: -32px; position: relative; }
}
@media (min-width: 1000px) { .schedule__more { display: none; } }
.schedule__toggle[aria-expanded="true"] .btn__icon { transform: rotate(-90deg); }
.schedule__toggle:not([aria-expanded="true"]) .btn__icon { transform: rotate(90deg); }
/* Vragen: tijdens dichtschuiven al terug naar de gesloten kleur en het plusje */
.faq__item { transition: background-color var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base); }
.faq__item[open]:not(.is-closing) { box-shadow: 0 18px 40px -24px rgb(0 22 37 / 0.25); }
.faq__item.is-closing { background: var(--background-primary); }
.faq__item.is-closing .faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { background: var(--primary-100); }
.faq__item[open] .faq__q:hover .faq__icon { background: var(--neutral-0); }
.btn--down .btn__icon { transform: rotate(90deg); } /* knop naar een sectie lager op de pagina */
.btn--down:hover .btn__icon { transform: rotate(90deg) translateX(3px); }

/* Nieuwsartikel: kop zonder foto, foto bovenaan het artikel */
.article-header .event-header__title { max-width: 22ch; }
.article-cover { margin: 0 0 8px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--background-primary); }
.article-cover__img { width: 100%; height: 100%; object-fit: cover; }
.article-header .event-header__text { width: 100%; max-width: 960px; margin-inline: auto; } /* zelfde breedte als het artikel eronder */
/* Foto steekt half over de blauwe kop heen */
.article-header:has(+ .event-article .article-cover) { padding-bottom: calc(clamp(40px, 5vw, 80px) + clamp(80px, 12vw, 180px)); }
.article-header + .event-article:has(.article-cover) { position: relative; margin-top: calc(-1 * clamp(80px, 12vw, 180px)); padding-top: 0; }
.article-cover { box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 30px 60px -30px rgb(0 22 37 / 0.35); }

/* Foto's bovenaan nieuws/agenda: carrousel bij meerdere foto's */
.article-cover { position: relative; }
.article-cover__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.article-cover__track::-webkit-scrollbar { display: none; }
.article-cover__track:focus-visible { outline: 3px solid var(--primary-600); outline-offset: -3px; }
.article-cover__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.article-cover__btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; width: 44px; height: 44px; border: 0; box-shadow: 0 6px 18px -6px rgb(0 22 37 / 0.45); }
.article-cover__btn svg { width: 16px; height: 16px; }
.article-cover__btn--prev { left: 16px; }
.article-cover__btn--next { right: 16px; }
.article-cover__btn:disabled { opacity: 0; pointer-events: none; }
.article-cover__dots { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgb(0 22 37 / 0.35); backdrop-filter: blur(6px); }
.article-cover__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgb(255 255 255 / 0.55); cursor: pointer; transition: width var(--duration-base) var(--ease-out-expo), background-color var(--duration-fast); }
.article-cover__dot.is-active { width: 24px; background: var(--neutral-0); }
@media (max-width: 599px) { .article-cover__btn { width: 36px; height: 36px; } .article-cover__btn--prev { left: 10px; } .article-cover__btn--next { right: 10px; } .article-cover__btn svg { width: 14px; height: 14px; } }

/* ==========================================================================
   Blok: video (YouTube, laadt pas na een klik)
   ========================================================================== */

.b-video { padding-block: clamp(40px, 5vw, 72px); }
.b-video__header { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, var(--primary-600), var(--secondary-800)); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 30px 60px -30px rgb(0 22 37 / 0.35); }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo), filter var(--duration-base); }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 22 37 / 0.45), transparent 55%); pointer-events: none; }
.video__play, .video__placeholder { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--neutral-0); font: inherit; }
.video__play { position: static; cursor: pointer; }
.video__play::before { content: ''; position: absolute; inset: 0; z-index: 1; } /* hele video klikbaar */
.video__play > span { position: relative; z-index: 1; }
.video__play-icon { display: grid; place-items: center; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--neutral-0); color: var(--primary-600); box-shadow: 0 12px 30px -10px rgb(0 22 37 / 0.6); transition: transform var(--duration-base) var(--ease-spring); }
.video__play-icon svg { display: block; width: 42%; height: auto; } /* driehoek in het pad is al optisch gecentreerd */
.video__play-label { font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.25rem); text-shadow: 0 1px 8px rgb(0 22 37 / 0.5); }
.video:hover .video__play-icon { transform: scale(1.08); }
.video:hover .video__poster { transform: scale(1.03); }
.video__play:focus-visible .video__play-icon { outline: 3px solid var(--neutral-0); outline-offset: 4px; }
.video__note { position: absolute; z-index: 1; right: 16px; bottom: 12px; font-size: 0.75rem; color: rgb(255 255 255 / 0.85); }
.video--empty .video__play-icon { opacity: 0.9; }
.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.video.is-playing::after, .video.is-playing .video__note { display: none; }
/* Afspeelknop: gekleurde knop met zachte golven en een glazen label */
.video__play .video__play-icon { position: relative; background: var(--neutral-0); color: var(--primary-600); box-shadow: 0 0 0 6px rgb(255 255 255 / 0.25), 0 16px 40px -12px rgb(0 22 37 / 0.7); }
.video__play .video__play-icon::before,
.video__play .video__play-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.7); animation: video-ripple 2.4s var(--ease-out-expo) infinite; pointer-events: none; }
.video__play .video__play-icon::after { animation-delay: 1.2s; }
@keyframes video-ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
.video__play .video__play-icon svg { position: relative; transition: transform var(--duration-base) var(--ease-spring); }
.video__play .video__play-label { padding: 8px 18px; border-radius: 999px; background: rgb(255 255 255 / 0.18); border: 1px solid rgb(255 255 255 / 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: none; transition: background-color var(--duration-fast); }
.video:hover .video__play .video__play-icon { transform: scale(1.1); }
.video:hover .video__play .video__play-icon svg { transform: scale(1.12); }
.video:hover .video__play .video__play-label { background: rgb(255 255 255 / 0.28); }
@media (prefers-reduced-motion: reduce) { .video__play .video__play-icon::before, .video__play .video__play-icon::after { animation: none; opacity: 0; } }

/* Tekstblok met foto (bijv. intro op /over): tekst links, foto rechts met uitgelicht getal */
.b-text__media-grid { display: grid; gap: 40px; align-items: center; }
.b-text--media .b-text__inner > * { max-width: 600px; }
.b-text--media .b-text__body p + p { margin-top: 1em; }
.b-text__figure { position: relative; margin: 0 0 28px; }
.b-text__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 30px 60px -30px rgb(0 22 37 / 0.35); }
.b-text__badge { position: absolute; left: 20px; bottom: -28px; display: grid; gap: 2px; max-width: 260px; padding: 18px 22px; border-radius: 16px; background: var(--background-secondary); color: var(--secondary-900); box-shadow: 0 18px 40px -20px rgb(0 22 37 / 0.45); }
.b-text__badge-number { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; color: var(--text-on-primary); }
.b-text__badge-text { font-size: 0.9375rem; line-height: 1.4; }
@media (min-width: 900px) {
  .b-text__media-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .b-text__badge { left: -32px; }
}
/* Feitenkaart groeit mee met lange getallen (bedrag), lange omschrijvingen breken af */
.facts__card { flex: 0 0 auto; width: max-content; min-width: clamp(180px, 22vw, 220px); }
/* Breedte komt van het getal (en het label-bolletje), niet van de omschrijving: die breekt binnen de kaart af */
.facts__label { overflow-wrap: break-word; contain: inline-size; }
@media (max-width: 899px) {
  .facts__intro { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .facts__intro > :not(.facts__nav) { grid-column: 1; }
  .facts__nav { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
}
.facts__card--combined { max-width: 320px; }
.facts__sublist { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 8px 0 0; padding: 10px 0 0; list-style: none; border-top: 1px solid var(--border-default); font-size: 0.8125rem; line-height: 1.3; }
.facts__sublist li { padding: 3px 8px; border-radius: 999px; background: var(--primary-50); color: var(--text-primary); white-space: nowrap; }
.facts__sublist strong { font-family: var(--font-display); font-weight: 400; color: var(--text-on-primary); }
/* Feiten in cijfers: zelfde kopjes en kleuren als het cijferblok op /team */
.facts__eyebrow { color: var(--text-tertiary); margin-bottom: 0; }
.facts__title { color: var(--secondary-900); }
.facts__number { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); line-height: 1; color: var(--text-secondary); }
.facts__label { font-weight: 500; }
.facts__sublist strong { color: var(--text-secondary); }
@media (min-width: 900px) { .facts { grid-template-columns: 240px minmax(0, 1fr); } }
.facts__tag { background: var(--secondary-50); color: var(--secondary-900); } /* groepslabel heel lichtgroen */

/* Feiten in cijfers, mobiel: geen pijlen maar stippen, één kaart per swipe, inhoud breekt af binnen de kaart (tot 300px) */
.facts__dots { display: none; }
@media (max-width: 639px) {
  .facts { gap: 16px; padding: 20px 16px; }
  .facts__intro { grid-template-columns: minmax(0, 1fr); }
  .facts__nav { display: none; }
  .facts__card,
  .facts__card--combined { flex: 0 0 100%; width: auto; min-width: 0; max-width: none; padding: 16px; }
  .facts__number { white-space: normal; font-size: clamp(1.375rem, 8vw, 2rem); }
  .facts__tag { align-self: flex-start; max-width: 100%; overflow-wrap: anywhere; }
  .facts__sublist li { white-space: normal; }
  .facts__dots { display: block; margin: 0 auto; overflow: hidden; }
  .facts__dots-row { display: flex; transition: transform var(--duration-base) var(--ease-out-expo); }
  .facts__dot { flex: 0 0 14px; display: grid; place-items: center; width: 14px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
  .facts__dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary-900); opacity: 0.3; transform: scale(var(--s, 0.85)); transition: transform var(--duration-base), opacity var(--duration-base); }
  .facts__dot.is-active::before { opacity: 1; }
  .facts__dot:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 1px; border-radius: 50%; }
}

/* Vragenblok met verhaal links (bijv. /over: Ons verhaal + veelgestelde vragen) */
.b-faq__header { justify-items: start; }
.b-faq__text p + p { margin-top: 1em; }
.b-faq__text h3, .b-faq__text .b-faq__list-title { margin-top: 1.4em; line-height: 1.4; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--text-on-primary); }
.b-faq__btn { margin-top: 8px; }
.b-faq__list { display: grid; gap: 16px; align-content: start; }
.b-faq__list-title { color: var(--text-secondary); }
@media (min-width: 900px) {
  .b-faq--story .b-faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-faq--story .b-faq__header { position: static; }
  .b-faq--story .b-faq__list { position: sticky; top: 120px; }
}
/* Verhaal + vragen: kopje en titel over de volle breedte, daaronder tekst en vragen naast elkaar op één lijn */
@media (min-width: 900px) {
  .b-faq--story .b-faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); row-gap: 0; align-items: start; }
  .b-faq--story .b-faq__header { display: contents; }
  .b-faq--story .b-faq__header > .b-text__eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px; }
  .b-faq--story .b-faq__header > .b-text__title { grid-column: 1 / -1; grid-row: 2; margin-bottom: clamp(28px, 3vw, 44px); }
  .b-faq--story .b-faq__text { grid-column: 1; grid-row: 3; }
  .b-faq--story .b-faq__btn { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 28px; }
  .b-faq--story .b-faq__list { grid-column: 2; grid-row: 3 / span 2; position: static; }
}
.b-faq--story .b-faq__list-title { font-family: var(--font-display); }
.b-faq__text > :first-child { margin-top: 0; }
.b-faq .b-faq__text > h3.b-faq__list-title { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--text-secondary); } /* zelfde als "Veelgestelde vragen" */
.b-faq .b-faq__text > h3:not(.b-faq__list-title) { margin: 1.6em 0 16px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--text-secondary); } /* tussenkopjes zelfde blauw als het kopje */
/* Tijdlijn: lichtblauwe achtergrond, dagkaarten wit */
.b-schedule { background: var(--background-primary); }
.schedule__day { background: var(--neutral-0); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 18px 40px -24px rgb(0 22 37 / 0.22); }
.schedule__dot { background: var(--neutral-0); }
.b-text--media + .b-statement { padding-top: clamp(24px, 3vw, 40px); } /* motto direct na de intro met foto: minder witruimte */
.b-text__badge { z-index: 2; }
.b-text__photo { border-radius: 20px; }

/* Tijdlijn horizontaal (desktop): één lange lijn door alle dagen, schuift mee met scrollen. Mobiel: verticaal zoals de kaarten */
.schedule__progress { display: none; }
@media (min-width: 1000px) {
  .schedule--horizontal { padding: 32px 0 28px; border-radius: 20px; background: var(--neutral-0); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 18px 40px -24px rgb(0 22 37 / 0.22); }
  .schedule--horizontal .schedule__viewport { overflow-x: auto; scrollbar-width: thin; padding-inline: 32px; }
  .schedule--horizontal.is-pinned .schedule__viewport { overflow: hidden; }
  .schedule--horizontal .schedule__days { display: flex; width: max-content; gap: 0; }
  .schedule--horizontal .schedule__day { display: grid; grid-template-rows: auto 1fr; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .schedule--horizontal .schedule__day-title { margin: 0 0 18px; padding-right: 32px; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__day-title { padding-left: 24px; border-left: 2px solid var(--primary-200); }
  .schedule--horizontal .schedule__list { display: flex; align-items: stretch; }
  .schedule--horizontal .schedule__list::before { top: 7px; bottom: auto; left: 0; right: 0; width: auto; height: 2px; }
  .schedule--horizontal .schedule__item { width: 210px; grid-template-columns: 1fr; align-content: start; gap: 6px; padding: 32px 24px 4px 0; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child { padding-left: 24px; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child .schedule__dot { left: 24px; }
  .schedule--horizontal .schedule__dot { top: 2px; left: 0; }
  .schedule--horizontal .schedule__time { font-size: 1.25rem; }
  .schedule--horizontal .schedule__team { justify-self: start; }
  .schedule--horizontal .schedule__item--highlight .schedule__dot { width: 16px; height: 16px; top: 0; margin-left: -2px; box-shadow: 0 0 0 5px var(--primary-100); }
  .schedule--horizontal .schedule__progress { display: block; height: 4px; margin: 24px 32px 0; border-radius: 2px; background: var(--primary-100); overflow: hidden; }
  .schedule--horizontal .schedule__progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary-600); transform-origin: left; transform: scaleX(0); }
  .b-schedule--horizontal .b-schedule__header { margin-bottom: 32px; }
}
.schedule__daynav { display: none; }
@media (min-width: 1000px) {
  .schedule--horizontal .schedule__daynav { display: flex; gap: 8px; margin: 0 32px 20px; padding: 0; list-style: none; }
  .schedule--horizontal .schedule__daynav li { padding: 6px 16px; border-radius: 999px; background: var(--primary-50); color: var(--text-secondary); font-family: var(--font-display); font-size: 1rem; transition: background-color var(--duration-base), color var(--duration-base); }
  .schedule--horizontal .schedule__daynav li.is-active { background: var(--primary-600); color: var(--neutral-0); }
  .schedule--horizontal.is-pinned .schedule__day-title { visibility: hidden; height: 0; margin: 0; } /* dag staat al in de vaste balk */
  .schedule--horizontal.is-pinned .schedule__day + .schedule__day .schedule__list { border-left: 2px dashed var(--primary-200); margin-left: 0; }
}
@media (min-width: 1000px) {
  .schedule--horizontal .schedule__daynav li { padding: 0; }
  .schedule--horizontal .schedule__daynav button { padding: 6px 16px; border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; cursor: pointer; }
  .schedule--horizontal .schedule__daynav li:not(.is-active):hover { background: var(--primary-100); }
  .schedule--horizontal .schedule__daynav button:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
}

/* Felgroene vlakken: alle tekst in één kleur (donkergroen); knoppen houden hun eigen kleur */
:is(.counter, .agenda__intro, .agenda-item, .contact-details, .donation-total, .donation__notice, .numbers__intro, .b-text__badge, .action__label, .event-feature__date, .facts__intro),
:is(.counter, .agenda__intro, .agenda-item, .contact-details, .donation-total, .donation__notice, .numbers__intro, .b-text__badge, .action__label, .event-feature__date, .facts__intro) :not(.btn, .btn *, .agenda-item__arrow, .agenda-item__arrow *, .carousel__btn, .carousel__btn *) { color: var(--secondary-900); }
.agenda .agenda__more { color: var(--secondary-900); } /* tekstlink op het groene vlak ook donkergroen */
@media (max-width: 767px) { .b-agenda + .b-text-slider--bg { padding-top: calc(290px + 48px); } } /* mobiel: minder witruimte boven de foto onder de agenda */
/* Tijdlijn horizontaal: geen witte kaart, direct op het lichtblauw; zachte vervaging aan de randen */
@media (min-width: 1000px) {
  .schedule--horizontal { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .schedule--horizontal .schedule__daynav { margin-inline: 0; }
  .schedule--horizontal .schedule__daynav li { background: var(--neutral-0); }
  .schedule--horizontal .schedule__viewport { padding-inline: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 64px), transparent); }
  .schedule--horizontal .schedule__list::before { background: var(--primary-200); }
  .schedule--horizontal .schedule__dot { background: var(--background-primary); }
  .schedule--horizontal .schedule__item--highlight .schedule__dot { background: var(--primary-600); box-shadow: 0 0 0 5px var(--neutral-0); }
  .schedule--horizontal .schedule__progress { margin-inline: 0; background: var(--neutral-0); }
}
picture.picture { display: contents; } /* <picture> om foto's (webp) heeft geen eigen opmaak */

/* ==========================================================================
   Nieuwsbrief-aanmelding (boven de footer, op elke pagina)
   ========================================================================== */

.b-newsletter { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.newsletter { position: relative; display: grid; gap: 24px; overflow: hidden; padding: 32px 24px; border-radius: 20px; background: var(--primary-600); color: var(--neutral-0); box-shadow: 0 30px 60px -30px rgb(0 22 37 / 0.45); }
.newsletter__curve { position: absolute; right: -40px; bottom: -60px; width: clamp(180px, 22vw, 300px); height: auto; opacity: 0.18; pointer-events: none; }
.newsletter__text { position: relative; display: grid; gap: 8px; max-width: 560px; }
.newsletter__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--background-secondary); }
.newsletter__eyebrow .icon { width: 16px; height: 16px; }
.newsletter__title { color: var(--neutral-0); }
.newsletter__intro { color: rgb(255 255 255 / 0.85); }
.newsletter__form { position: relative; display: grid; gap: 10px; }
.newsletter__fields { display: grid; gap: 10px; }
.newsletter__field input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; background: var(--neutral-0); color: var(--text-primary); font: inherit; transition: box-shadow var(--duration-fast), border-color var(--duration-fast); }
.newsletter__field input::placeholder { color: var(--neutral-400); }
.newsletter__field input:focus { outline: none; border-color: var(--background-secondary); box-shadow: 0 0 0 4px rgb(214 255 170 / 0.45); }
.newsletter__field.is-invalid input { border-color: var(--error-400); }
.newsletter__btn { justify-content: center; height: 52px; white-space: nowrap; }
.newsletter__error { font-size: 0.875rem; font-weight: 500; color: var(--background-secondary); }
.newsletter__privacy { font-size: 0.8125rem; color: rgb(255 255 255 / 0.75); }
.newsletter__privacy a { color: var(--neutral-0); text-underline-offset: 3px; }
.newsletter__done { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgb(255 255 255 / 0.12); }
.newsletter__done-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--background-secondary); color: var(--secondary-900); }
.newsletter__done strong { display: block; font-family: var(--font-display); font-weight: 400; }
@media (min-width: 640px) {
  .newsletter__fields { grid-template-columns: 1fr 1fr; }
  .newsletter__field--email, .newsletter__btn { grid-column: span 1; }
}
@media (min-width: 1000px) {
  .newsletter { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: center; gap: 48px; padding: 48px 56px; }
  .newsletter__fields { grid-template-columns: 1fr 1fr 1.4fr auto; }
}
@media (min-width: 1000px) {
  .newsletter { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.5fr); }
  .newsletter__fields { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) { .newsletter__fields { grid-template-columns: 1fr 1fr 1.35fr auto; } }
@media (min-width: 1200px) { .newsletter__fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } } /* drie even brede velden */
button.btn--primary { border: 0; font-family: inherit; } /* geen standaard browserrand op knoppen */

/* Fotogalerij onder een artikel */
.photo-gallery { display: grid; gap: 16px; margin-top: 16px; }
.photo-gallery__title { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.photo-gallery__count { padding: 2px 10px; border-radius: 999px; background: var(--primary-50); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; }
.photo-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.photo-gallery__item a { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: var(--background-primary); }
.photo-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-base) var(--ease-out-expo); }
.photo-gallery__item a:hover img { transform: scale(1.05); }
.photo-gallery__item a:focus-visible { outline: 3px solid var(--primary-600); outline-offset: 2px; }
.photo-gallery__more { justify-self: start; }
@media (min-width: 640px) { .photo-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }

/* Fotoblok: 1 tot 6 foto's, indeling per aantal; '+N' op de laatste tegel bij meer foto's */
.photo-gallery__item a { position: relative; }
.photo-gallery--1 .photo-gallery__grid { grid-template-columns: 1fr; }
.photo-gallery--1 .photo-gallery__item a { aspect-ratio: 16 / 10; }
.photo-gallery--2 .photo-gallery__grid, .photo-gallery--4 .photo-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-gallery--3 .photo-gallery__grid, .photo-gallery--5 .photo-gallery__grid, .photo-gallery--6 .photo-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-gallery--5 .photo-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.photo-gallery__grid > a[hidden] { display: none; }
.photo-gallery__more-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 22 37 / 0.55); color: var(--neutral-0); font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); transition: background-color var(--duration-fast); }
.photo-gallery__item a:hover .photo-gallery__more-overlay { background: rgb(0 22 37 / 0.4); }
@media (min-width: 640px) { .photo-gallery--4 .photo-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Knop 'Bekijk alle foto's' over de foto's heen, linksonder (zoals de galerij op de homepage) */
.photo-gallery__wrap { position: relative; }
.photo-gallery__more { position: absolute; left: 16px; bottom: 16px; z-index: 1; box-shadow: 0 10px 24px -10px rgb(0 22 37 / 0.6); }

/* ==========================================================================
   Menu-overlay (onder 1280px): volledig scherm, groene en blauwe laag vouwen
   uit vanuit de menuknop, grote items schuiven één voor één omhoog
   ========================================================================== */

.site-nav__layer, .site-nav__curve, .site-nav__num, .site-nav__mail { display: none; }
.site-nav__curve-clip { display: none; }

@media (max-width: 1279px) {
  .menu-toggle { position: relative; z-index: 3; transition: background-color var(--duration-base); }
  .site-nav {
    --origin: calc(100% - var(--gutter) - 24px) 40px;
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: stretch;
    gap: 32px;
    padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: none;
    border: 0;
    clip-path: none;
    visibility: hidden;
    transition: visibility 0s linear 0.9s;
  }
  .site-nav.is-open { visibility: visible; transition: visibility 0s; }

  .site-nav__layer { display: block; position: fixed; inset: 0; z-index: -1; clip-path: circle(0 at var(--origin)); transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1); }
  .site-nav__layer--lime { background: var(--background-secondary); transition-delay: 0.12s; }
  .site-nav__layer--blue { background: var(--primary-600); transition-delay: 0s; }
  .site-nav.is-open .site-nav__layer { clip-path: circle(150% at var(--origin)); }
  .site-nav.is-open .site-nav__layer--lime { transition-delay: 0s; }
  .site-nav.is-open .site-nav__layer--blue { transition-delay: 0.12s; }

  .site-nav__curve { display: block; position: fixed; z-index: -1; right: -12%; bottom: -8%; width: min(90vw, 560px); height: auto; opacity: 0; transform: rotate(-12deg) scale(0.85); transition: opacity 0.4s, transform 1.2s var(--ease-out-expo); pointer-events: none; }
  .site-nav.is-open .site-nav__curve { opacity: 0.22; transform: rotate(0) scale(1); transition-delay: 0.45s; }
  /* Bocht binnen een vaste, afgesneden laag: steekt anders rechts buiten beeld en geeft op iOS horizontaal scrollen */
  .site-nav__curve-clip { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
  .site-nav__curve-clip .site-nav__curve { position: absolute; }

  .site-nav__list { display: grid; align-content: center; gap: clamp(2px, 1vh, 10px); }
  .site-nav__list li { overflow: hidden; }
  .site-nav__link {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 2px 0;
    font-size: clamp(2.25rem, 1.4rem + 4.5vw, 4rem);
    line-height: 1.1;
    color: var(--neutral-0);
    background: none;
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), color var(--duration-fast);
  }
  .site-nav.is-open .site-nav__link { transform: translateY(0); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(0.35s + var(--i) * 0.06s), color var(--duration-fast); }
  .site-nav__num { display: inline; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--background-secondary); transform: translateY(-1.1em); }
  .site-nav__label { position: relative; }
  .site-nav__label::after { content: ''; position: absolute; left: 0; bottom: 0.05em; width: 100%; height: 3px; border-radius: 2px; background: var(--background-secondary); transform: scaleX(0); transform-origin: left; transition: transform var(--duration-base) var(--ease-out-expo); }
  .site-nav__link:hover, .site-nav__link:focus-visible { color: var(--background-secondary); }
  .site-nav__link:hover .site-nav__label::after, .site-nav__link[aria-current] .site-nav__label::after { transform: scaleX(1); }

  .site-nav__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.3s; }
  .site-nav.is-open .site-nav__foot { opacity: 1; transform: none; transition: opacity 0.6s calc(0.35s + var(--i) * 0.06s), transform 0.8s var(--ease-out-expo) calc(0.35s + var(--i) * 0.06s); }
  .site-nav__mail { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / 0.85); text-underline-offset: 3px; }
  .site-nav__mail:hover { color: var(--neutral-0); }
  .site-nav__mail .icon { width: 18px; height: 18px; }

  /* Menu open: knop wit op blauw, pagina eronder niet scrollen */
  html.menu-open { overflow: hidden; }
  html.menu-open .menu-toggle { background: var(--neutral-0); }
  html.menu-open .site-header { border-bottom-color: transparent; }
}
@media (max-width: 1279px) and (prefers-reduced-motion: reduce) {
  .site-nav__layer, .site-nav__link, .site-nav__foot, .site-nav__curve { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}
@media (max-width: 1279px) {
  /* nummer bovenaan naast het woord, zonder transform (anders piept hij al uit beeld voor de animatie) */
  .site-nav__link { align-items: flex-start; }
  .site-nav__num { transform: none; padding-top: 0.55em; }
  /* logo blijft herkenbaar op het blauw */
  .site-header__logo img { transition: filter var(--duration-base); }
}
@media (max-width: 1279px) { .site-nav:not(.is-open) { pointer-events: none; } } /* gesloten menu blokkeert nooit kliks tijdens het wegvouwen */
.site-footer__donate { justify-self: start; align-self: start; width: auto; } /* knop niet over de volle breedte */

/* Nieuwsbrief: akkoord met de privacyverklaring */
.newsletter__consent { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; line-height: 1.45; color: rgb(255 255 255 / 0.85); cursor: pointer; }
.newsletter__consent input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.newsletter__check { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border: 2px solid rgb(255 255 255 / 0.8); border-radius: 5px; transition: background-color var(--duration-fast), border-color var(--duration-fast); }
.newsletter__check::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--secondary-900); border-bottom: 2px solid var(--secondary-900); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--duration-fast) var(--ease-spring); }
.newsletter__consent input:checked + .newsletter__check { background: var(--background-secondary); border-color: var(--background-secondary); }
.newsletter__consent input:checked + .newsletter__check::after { transform: rotate(-45deg) scale(1); }
.newsletter__consent input:focus-visible + .newsletter__check { outline: 2px solid var(--background-secondary); outline-offset: 2px; }
.newsletter__consent.is-invalid .newsletter__check { border-color: var(--background-secondary); box-shadow: 0 0 0 3px rgb(214 255 170 / 0.35); }
.newsletter__consent a { color: var(--neutral-0); text-underline-offset: 3px; }
/* Achtergrondfoto 'Roparun & ons team': parallax (schuift langzamer mee dan de pagina) */
.b-text-slider--bg { overflow: hidden; }
.b-text-slider__bg { top: -30%; min-height: 160%; will-change: transform; }
@media (max-width: 768px) {
  .b-text-slider__bg { top: -40%; min-height: 180%; }
  .b-text-slider__bg img { opacity: 0.24; } /* op mobiel iets duidelijker zichtbaar */
}

/* Akkoord met de privacyverklaring (alle formulieren) */
.consent { display: grid; gap: 6px; }
.consent__label { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--text-primary); cursor: pointer; }
.consent__label input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.consent__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 2px solid var(--border-focus); border-radius: 6px; background: var(--neutral-0); transition: background-color var(--duration-fast), border-color var(--duration-fast); }
.consent__box::after { content: ''; width: 10px; height: 5px; margin-top: -2px; border-left: 2px solid var(--neutral-0); border-bottom: 2px solid var(--neutral-0); transform: rotate(-45deg) scale(0); transition: transform var(--duration-fast) var(--ease-spring); }
.consent__label input:checked + .consent__box { background: var(--primary-600); border-color: var(--primary-600); }
.consent__label input:checked + .consent__box::after { transform: rotate(-45deg) scale(1); }
.consent__label input:focus-visible + .consent__box { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.consent--error .consent__box { border-color: #b3341f; }
.consent__label a { color: var(--primary-600); text-underline-offset: 3px; }

/* ==========================================================================
   Paginaovergang: bij klikken vouwen groen en blauw uit vanaf de klikplek,
   op de nieuwe pagina trekken ze weg (zelfde effect als het mobiele menu)
   ========================================================================== */

.pt { position: fixed; inset: 0; z-index: 10000; pointer-events: none; --x: 100%; --y: 0%; } /* vanuit de hoek rechtsboven (waar ook het menu opent) */
.pt__layer { position: absolute; inset: 0; clip-path: circle(0 at var(--x) var(--y)); }
.pt__layer--lime { background: var(--background-secondary); }
.pt__layer--blue { background: var(--primary-600); }
.pt__logo { position: absolute; left: 50%; top: 50%; width: 96px; height: auto; translate: -50% -50%; opacity: 0; scale: 0.8; }

/* Vertrek: lagen vouwen uit, logo verschijnt */
.pt.is-leaving { pointer-events: auto; }
.pt.is-leaving .pt__layer { clip-path: circle(150% at var(--x) var(--y)); transition: clip-path 0.45s cubic-bezier(0.76, 0, 0.24, 1); }
.pt.is-leaving .pt__layer--blue { transition-delay: 0.06s; }
.pt.is-leaving .pt__logo { opacity: 1; scale: 1; transition: opacity 0.3s 0.45s, scale 0.6s var(--ease-spring) 0.45s; }

/* Aankomst: start bedekt en krimpt meteen rond in naar het klikpunt (puur CSS, wacht niet op scripts) */
html.pt-enter .pt__layer { animation: pt-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; } /* begint meteen (pagina snel bruikbaar), rustig uitlopend */
html.pt-enter .pt__layer--lime { animation-delay: 0.1s; }
@keyframes pt-reveal { from { clip-path: circle(150% at var(--x) var(--y)); } to { clip-path: circle(0 at var(--x) var(--y)); } }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }

.carousel__viewport { padding-block: 10px 32px; margin-block: -10px -32px; } /* ruimte voor de hover-lift en schaduw, zodat die niet wordt afgesneden */

/* Hoofdmenu desktop: 'rol'-hover — het woord rolt omhoog weg, een blauwe kopie rolt eronder vandaan */
@media (min-width: 1280px) {
  .site-nav__link { position: relative; background: none; padding: 6px 0; }
  .site-nav__label { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.4; }
  .site-nav__label > span,
  .site-nav__label::after { display: block; transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1); }
  .site-nav__label::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--primary-600); }
  .site-nav__link:hover .site-nav__label > span,
  .site-nav__link:hover .site-nav__label::after,
  .site-nav__link:focus-visible .site-nav__label > span,
  .site-nav__link:focus-visible .site-nav__label::after { transform: translateY(-100%); }
  .site-nav__link:hover { color: inherit; background-size: 0 0; }
}
@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
  .site-nav__label > span, .site-nav__label::after { transition: none; }
}
/* Actieve pagina in het menu: blauw met een groen streepje eronder */
@media (min-width: 1280px) {
  .site-nav__link.is-active .site-nav__label > span { color: var(--primary-600); }
  .site-nav__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--text-tertiary); }
}
@media (max-width: 1279px) {
  .site-nav__link.is-active { color: var(--background-secondary); }
  .site-nav__link.is-active .site-nav__label::after { transform: scaleX(1); }
}

/* Knoppen: 'rol'-hover zoals het hoofdmenu */
.btn__roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.4; }
.btn__roll > span, .btn__roll::after { display: block; transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1); }
.btn__roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn:hover .btn__roll > span, .btn:hover .btn__roll::after,
.btn:focus-visible .btn__roll > span, .btn:focus-visible .btn__roll::after { transform: translateY(-100%); }
.btn--link .btn__roll::after, .btn--link-blue .btn__roll::after { color: var(--primary-600); }
@media (prefers-reduced-motion: reduce) { .btn__roll > span, .btn__roll::after { transition: none; } }
/* Tekstlinks: tekst rolt alleen omhoog; niet meer opzij schuiven (gap), het pijltje schuift iets op */
.btn--link:hover, .btn--link-blue:hover { gap: 8px; }
.btn--link:hover .btn__icon, .btn--link-blue:hover .btn__icon { transform: translateX(3px); }
/* Mobiel overlay-menu: zelfde 'rol'-hover als desktop (groene kopie rolt eronder vandaan) */
@media (max-width: 1279px) {
  .site-nav__label { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.15; }
  .site-nav__label > span,
  .site-nav__label::after { display: block; transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1); }
  .site-nav__label::after { content: attr(data-text); position: absolute; left: 0; top: 100%; bottom: auto; width: auto; height: auto; border-radius: 0; background: none; color: var(--background-secondary); transform: none; }
  .site-nav__link:hover .site-nav__label > span, .site-nav__link:hover .site-nav__label::after,
  .site-nav__link:focus-visible .site-nav__label > span, .site-nav__link:focus-visible .site-nav__label::after { transform: translateY(-100%); }
  .site-nav__link:hover, .site-nav__link:focus-visible { color: var(--neutral-0); }
  .site-nav__link.is-active .site-nav__label::after, .site-nav__link[aria-current] .site-nav__label::after { transform: none; }
  .site-nav__link.is-active .site-nav__label > span { color: var(--background-secondary); }
  .site-nav__link.is-active:hover .site-nav__label > span, .site-nav__link.is-active:hover .site-nav__label::after { transform: translateY(-100%); }
}
@media (max-width: 1279px) and (prefers-reduced-motion: reduce) { .site-nav__label > span, .site-nav__label::after { transition: none; } }

/* Nieuws: 'Laad meer berichten' */
.news-list { display: grid; gap: inherit; }
.b-agenda-page .news-list { gap: clamp(24px, 3vw, 40px); }
.news-pagination { justify-content: center; align-items: center; flex-wrap: wrap; }
.news-pagination__more.is-loading { opacity: 0.7; pointer-events: none; }
.news-pagination__more.is-loading .btn__icon { animation: news-spin 0.9s linear infinite; }
@keyframes news-spin { to { transform: rotate(360deg); } }
.btn--down.btn--link:hover .btn__icon, .btn--down.btn--link-blue:hover .btn__icon { transform: rotate(90deg) translateX(3px); } /* pijltje blijft naar beneden wijzen */

/* Nieuwskaart helemaal klikbaar: de knop 'Lees artikel' strekt zijn klikvlak over de hele kaart */
.event-feature--link { position: relative; cursor: pointer; transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base); }
.event-feature--link:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 32px 60px -28px rgb(0 22 37 / 0.38); }
.event-feature--link:hover .event-feature__media img { transform: scale(1.04); }
.event-feature--link .event-feature__media img { transition: transform 0.8s var(--ease-out-expo); }
.event-feature--link:focus-within { outline: 3px solid var(--primary-600); outline-offset: 4px; }

/* Rol-hover ook op tekst-CTA's (terug-links, 'Lees artikel/verhaal', downloadlink) — overal gelijk */
.sponsor-detail__back:hover .btn__roll > span, .sponsor-detail__back:hover .btn__roll::after,
.sponsor-detail__back:focus-visible .btn__roll > span, .sponsor-detail__back:focus-visible .btn__roll::after,
.news-card__link:hover .btn__roll > span, .news-card__link:hover .btn__roll::after,
.news-card__link:focus-visible .btn__roll > span, .news-card__link:focus-visible .btn__roll::after,
.donation__periodic-link:hover .btn__roll > span, .donation__periodic-link:hover .btn__roll::after { transform: translateY(-100%); }
.sponsor-detail__back .btn__roll::after { color: var(--primary-600); }
.news-card__link .btn__roll { position: relative; }
/* geen opzij-schuivende tekst meer: de ruimte blijft gelijk, alleen het pijltje beweegt */
.sponsor-detail__back:hover { gap: 8px; }
.sponsor-detail__back .icon { transition: transform var(--duration-base) var(--ease-out-expo); }
.sponsor-detail__back:hover .icon { transform: translateX(-3px); }
.news-card__link:hover { gap: 4px; }
.news-card__link:hover .icon { transform: translateX(3px); }
.news-card__link .icon { transition: transform var(--duration-base) var(--ease-out-expo); }
.float-donate:hover .btn__roll > span, .float-donate:hover .btn__roll::after, .float-donate:focus-visible .btn__roll > span, .float-donate:focus-visible .btn__roll::after,
.site-nav__mail:hover .btn__roll > span, .site-nav__mail:hover .btn__roll::after { transform: translateY(-100%); }
.site-nav__mail .btn__roll::after { color: var(--background-secondary); }
/* Klikbare kaarten: de hele kaart opent het artikel (via JS), de knop-hover alleen op de knop zelf */
.news-card--link .news-card__link::after { content: none; }
.news-card--link, .event-feature--link { cursor: pointer; }
/* Deelknoppen: icoon precies in het midden (geen standaard knop-padding, lege melding telt niet mee in het raster) */
.share__btn { padding: 0; }
.share__copied { position: absolute; }
/* Social-iconen: zelfde hover als de deelknoppen in een nieuwsartikel */
.social-link { transition: transform var(--duration-base) var(--ease-spring), background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast); }
a.social-link:hover, a.social-link:focus-visible { transform: translateY(-2px); background: var(--primary-600); border-color: var(--primary-600); color: var(--neutral-0); }
/* Footer tablet (768–1099px): logo/naam en ANBI-regel naast elkaar; op mobiel onder elkaar */
@media (min-width: 768px) and (max-width: 1099px) {
  .site-footer__brand { grid-template-columns: auto minmax(0, 340px); align-items: center; justify-content: space-between; column-gap: 48px; }
}

/* Logo-hover: het logo klopt zachtjes als een hart */
.site-header__logo:hover { transform: none; }
.site-header__logo:hover img, .site-header__logo:focus-visible img { animation: logo-beat 1.3s ease-in-out infinite; }
@keyframes logo-beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.06); } 22% { transform: scale(1.01); } 30% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .site-header__logo:hover img { animation: none; } }

/* Kopniveau kiesbaar in het panel: als kop (h1–h6) blijven deze er hetzelfde uitzien als gewone tekst */
:where(h1, h2, h3, h4, h5, h6):where(.b-text__eyebrow, .b-hero__eyebrow, .b-statement__eyebrow, .b-page-header__eyebrow, .b-intro__eyebrow, .b-intro__lead, .facts__eyebrow, .action__label, .faq__q-text, .schedule__title, .b-hero__subtitle, .numbers__total) {
  font-size: inherit;
  font-weight: inherit;
}

/* Facebook-feed (Elfsight): eerst een toestemmingskaart, daarna de berichten in de stijl van de nieuwskaarten */
.b-social { padding-block: clamp(40px, 5vw, 72px) 0; }
.b-social__header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.b-social__heading { display: grid; gap: 12px; max-width: 760px; }
.b-social__intro { color: var(--text-primary); }
.social-feed { min-height: 240px; }
.social-feed__gate {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(32px, 5vw, 56px) 24px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--primary-50);
  text-align: center;
}
.social-feed__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--neutral-0); color: var(--primary-600); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.social-feed__icon .icon { width: 26px; height: 26px; }
.social-feed__gate-title { color: var(--text-secondary); }
.social-feed__gate-text { max-width: 520px; font-size: 0.875rem; color: var(--text-primary); }
.social-feed__gate-text a { color: inherit; }
.social-feed__gate .btn { margin-top: 8px; }
.social-feed.is-loaded .social-feed__gate { display: none; }

/* Elfsight-widget in de huisstijl */
.social-feed .eapps-facebook-feed { font-family: var(--font-body); }
.social-feed .eapps-facebook-feed-inner,
.social-feed .eapps-facebook-feed-posts-inner { padding: 0; border: 0; border-radius: 0; background: transparent; }
.social-feed .eapps-facebook-feed-posts { padding: 0; }
.social-feed .eapps-facebook-feed-load-more-wrapper { margin-top: 24px; text-align: center; }
/* Elfsight zet display inline (tonen/verbergen) en een vaste breedte: hier alleen maat en vorm */
.social-feed .eapps-facebook-feed .eapps-facebook-feed-load-more {
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  padding: 12px 24px;
  line-height: 1.5;
  border-radius: var(--radius-full);
  background: var(--primary-600);
  color: var(--neutral-0);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background-color var(--duration-fast) ease;
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-load-more:hover { background: var(--text-secondary); filter: brightness(0.92); }
.social-feed .eapps-facebook-feed .eapps-facebook-feed-load-more-label { height: auto; line-height: 1.5; color: inherit; }
/* Elfsight zet de kaarten als masonry (absoluut gepositioneerd, inline stijlen): vervangen door een grid met gelijke hoogtes */
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  height: auto !important;
}
@media (min-width: 640px) { .social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item {
  position: static !important;
  width: auto !important;
  transform: none !important;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--primary-50);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.shuffle-item--hidden { display: none; }
/* Mobiel: alleen het nieuwste bericht; voor meer staat de link naar Facebook erboven */
@media (max-width: 639px) {
  .social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item:nth-child(n+2),
  .social-feed .eapps-facebook-feed .eapps-facebook-feed-load-more-wrapper { display: none !important; }
}
.social-feed .eapps-facebook-feed-item-author-picture { border-color: var(--card-border); }
.social-feed .eapps-facebook-feed-item-author-name a { font-family: var(--font-display); font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.social-feed .eapps-facebook-feed-item-date { color: var(--text-primary); opacity: 0.7; }
.social-feed .eui-item-text { font-size: 0.9375rem; line-height: 1.5; color: var(--text-primary); }
.social-feed .eui-item-text-see-more { color: var(--text-secondary); text-decoration: underline; }
.social-feed .eapps-facebook-feed-posts-item-content-link-container { border-color: var(--card-border); border-radius: 12px; overflow: hidden; background: var(--neutral-0); }
.social-feed .eapps-facebook-feed-posts-item-content-picture img { border-radius: 12px; }
.social-feed a { color: var(--text-secondary); }

/* Nieuws: zoeken */
.news-search { display: flex; gap: 10px; max-width: 640px; }
.news-search__field { position: relative; flex: 1; min-width: 0; }
.news-search__icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; display: grid; color: var(--text-secondary); pointer-events: none; }
.news-search__field input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--text-primary);
  font: inherit;
  transition: box-shadow var(--duration-fast), border-color var(--duration-fast);
}
.news-search__field input::placeholder { color: var(--neutral-400); }
.news-search__field input:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 4px var(--primary-100); }
.news-search__field input::-webkit-search-cancel-button { cursor: pointer; }
.news-search__submit { flex: none; height: 52px; }
.news-search__result { color: var(--text-primary); }
.news-search__result strong { color: var(--text-secondary); font-weight: 600; }
.news-search__reset { margin-left: 12px; color: var(--text-secondary); white-space: nowrap; }
@media (max-width: 479px) {
  .news-search__submit .btn__icon { display: none; }
  .news-search__submit { padding-inline: 18px; }
}

/* /nieuws: compact raster met nieuwskaarten; op mobiel een lijst (kleine foto links, datum + titel rechts) */
.b-news-page .news-grid { margin: 0; padding: 0; list-style: none; }
@media (max-width: 639px) {
  .news-grid { gap: 12px; }
  .news-grid .news-card { flex-direction: row; align-items: stretch; border-radius: 16px; }
  .news-grid .news-card__media { flex: none; width: 112px; height: auto; min-height: 112px; }
  .news-grid .news-card__body { justify-content: center; gap: 4px; padding: 12px 14px; }
  .news-grid .news-card__title { font-size: 1.0625rem; line-height: 1.3; }
  .news-grid .news-card__text,
  .news-grid .news-card__link,
  .news-grid .news-card__badge { display: none; }
}

/* /nieuws, weergave "Magazine": mozaïek van fototegels. Per 12 berichten: de eerste groot (2×2), de achtste breed (2×1),
   zodat elke pagina precies vier volle rijen vult, ook na "Laad meer berichten". */
.news-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 168px;
  grid-auto-flow: dense;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-mosaic > :nth-child(12n + 1) { grid-column: span 2; grid-row: span 2; }
@media (min-width: 640px) {
  .news-mosaic { grid-auto-rows: 220px; gap: 16px; }
  .news-mosaic > :nth-child(12n + 8) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .news-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 20px; }
}

.news-tile { position: relative; min-width: 0; }
.news-tile__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-800));
  color: var(--neutral-0);
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 1px 2px rgb(0 22 37 / 0.06);
  transition: box-shadow var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo);
}
.news-tile__link .picture,
.news-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-tile__img { z-index: -2; transform: scale(1.001); transition: transform var(--duration-slow) var(--ease-out-expo); }
.news-tile__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--hero-dark) 55%, transparent) 62%, color-mix(in srgb, var(--hero-dark) 90%, transparent) 100%);
  transition: opacity var(--duration-base) ease;
}
.news-tile__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 14px;
  transition: transform var(--duration-base) var(--ease-out-expo);
}
.news-tile__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.75rem; line-height: 1.3; }
.news-tile__badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--background-secondary);
  color: var(--secondary-900);
  font-weight: 600;
}
.news-tile__date { color: color-mix(in srgb, var(--neutral-0) 85%, transparent); }
.news-tile__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--neutral-0);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-tile__text { display: none; }
.news-tile__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--button-primary);
  color: var(--neutral-0);
  opacity: 0;
  transform: translate(-6px, 6px) rotate(-45deg) scale(0.8);
  transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-spring);
}
.news-tile__arrow .icon { width: 13px; height: 13px; }

/* Uitgelicht (eerste van elke 12) */
.news-mosaic > :nth-child(12n + 1) .news-tile__body { gap: 10px; padding: clamp(16px, 2.4vw, 32px); }
.news-mosaic > :nth-child(12n + 1) .news-tile__title { font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.25rem); -webkit-line-clamp: 3; }
.news-mosaic > :nth-child(12n + 1) .news-tile__meta { font-size: 0.875rem; }

@media (min-width: 640px) {
  .news-tile__body { padding: 18px; }
  .news-tile__title { font-size: 1.125rem; }
  .news-mosaic > :nth-child(12n + 1) .news-tile__text {
    display: -webkit-box;
    max-width: 52ch;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--neutral-0) 88%, transparent);
  }
}

/* Hover/focus: foto zoomt, pijl draait in beeld, tekst schuift iets omhoog */
@media (hover: hover) {
  .news-tile__link:hover .news-tile__img { transform: scale(1.06); }
  .news-tile__link:hover .news-tile__arrow { opacity: 1; transform: none; }
  .news-tile__link:hover .news-tile__body { transform: translateY(-4px); }
  .news-tile__link:hover { box-shadow: 0 24px 40px -24px rgb(0 22 37 / 0.55); }
}
.news-tile__link:focus-visible { outline: 3px solid var(--button-primary); outline-offset: 3px; }
.news-tile__link:focus-visible .news-tile__arrow { opacity: 1; transform: none; }
.news-tile--soon .news-tile__link { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .news-tile__img, .news-tile__body, .news-tile__arrow, .news-tile__link { transition: none; }
}

/* Magazine-weergave op mobiel: geen mozaïek maar dezelfde compacte lijst als de raster-weergave */
@media (max-width: 639px) {
  .news-mosaic { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .news-mosaic > :nth-child(12n + 1) { grid-column: auto; grid-row: auto; }
  .news-tile__link {
    display: flex;
    min-height: 112px;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: var(--primary-50);
    color: var(--text-primary);
  }
  .news-tile__link .picture,
  .news-tile__img { position: static; flex: none; width: 112px; height: auto; min-height: 112px; }
  .news-tile__img { z-index: auto; }
  .news-tile__shade, .news-tile__arrow, .news-tile__badge, .news-tile__text { display: none !important; }
  .news-tile__body,
  .news-mosaic > :nth-child(12n + 1) .news-tile__body { position: static; align-content: center; gap: 4px; padding: 12px 14px; }
  .news-tile__date { color: var(--text-primary); font-size: 0.875rem; }
  .news-tile__title,
  .news-mosaic > :nth-child(12n + 1) .news-tile__title { font-size: 1.0625rem; line-height: 1.3; color: var(--text-secondary); }
  .news-mosaic > :nth-child(12n + 1) .news-tile__meta { font-size: 0.875rem; }
}

/* /agenda, weergave "Magazine": tegelmaten uit eventTileSizes() i.p.v. het vaste nieuwspatroon */
.news-mosaic--sized > :nth-child(n) { grid-column: auto; grid-row: auto; }
.news-mosaic--sized > .news-tile--big,
.news-mosaic--sized > .news-tile--half { grid-column: span 2; grid-row: span 2; }
.news-mosaic--sized > .news-tile--wide,
.news-mosaic--sized > .news-tile--banner { grid-column: span 2; }
.news-mosaic--sized > .news-tile--full { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 1024px) {
  .news-mosaic--sized > .news-tile--banner { grid-column: 1 / -1; }
}
/* Grote tegels: zelfde typografie als de uitgelichte nieuwstegel */
.news-tile--big .news-tile__body, .news-tile--half .news-tile__body, .news-tile--full .news-tile__body { gap: 10px; padding: clamp(16px, 2.4vw, 32px); }
.news-tile--big .news-tile__title, .news-tile--half .news-tile__title, .news-tile--full .news-tile__title { font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.25rem); }
.news-tile--big .news-tile__meta, .news-tile--half .news-tile__meta, .news-tile--full .news-tile__meta { font-size: 0.875rem; }
@media (min-width: 640px) {
  :is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__text {
    display: -webkit-box;
    max-width: 52ch;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--neutral-0) 88%, transparent);
  }
}
/* Datumblok linksboven op agendategels */
.news-tile__day {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  justify-items: center;
  min-width: 52px;
  padding: 6px 8px 7px;
  border-radius: 14px;
  background: var(--neutral-0);
  color: var(--text-secondary);
  line-height: 1;
  box-shadow: 0 6px 16px -8px rgb(0 22 37 / 0.45);
}
.news-tile__day-nr { font-family: var(--font-display); font-size: 1.5rem; }
.news-tile__day-month { margin-top: 2px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary); }
:is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__day { top: 18px; left: 18px; min-width: 64px; }
:is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__day-nr { font-size: 2rem; }
@media (max-width: 639px) {
  .news-mosaic--sized > * { grid-column: auto !important; grid-row: auto !important; }
  .news-tile__day { display: none; }
}
@media (max-width: 639px) {
  /* Agenda in lijstvorm: de datum hoort erbij, als gewone tekst boven de titel */
  .news-mosaic--sized .news-tile__badge { display: inline !important; padding: 0; background: none; color: var(--text-primary); font-weight: 600; }
}

/* Nieuws: filter op label, zelfde knoppen als de teamfilter (hier links, want het filtert op de server) */
.news-filter { margin: 0; }
.news-filter .team-filter__btn { text-decoration: none; }
.news-filter .team-filter__btn[aria-current='true'] { background: var(--button-primary); border-color: var(--button-primary); color: var(--neutral-0); }
.news-filter .team-filter__btn[aria-current='true'] .team-filter__count { background: rgb(255 255 255 / 0.25); color: var(--neutral-0); }
[data-news-results][aria-busy='true'] [data-news-list] { opacity: 0.5; transition: opacity var(--duration-fast); }

/* Facebook-feed: fotokaarten. De foto vult de kaart; klik = tekst schuift eroverheen (app.js zet .is-open) */
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) {
  position: relative !important;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  isolation: isolate;
}
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-inner { height: 100%; }
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-content-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-content-picture a,
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-content-picture img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
/* Donkere band onderin met datum, reacties en "Lees bericht" */
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--hero-dark) 85%, transparent) 100%);
  pointer-events: none;
}
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img)::after {
  content: 'Lees bericht';
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--button-primary);
  color: var(--neutral-0);
  font: 600 0.875rem/1.2 var(--font-body);
  pointer-events: none;
  transition: transform var(--duration-base) var(--ease-spring);
}
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-header {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 130px 16px 16px;
}
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) :is(.eapps-facebook-feed-item-author-picture, .eapps-facebook-feed-posts-item-header-actions, .eapps-facebook-feed-item-author-name) { display: none; }
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-item-date { color: var(--neutral-0); opacity: 1; font-size: 0.875rem; font-weight: 600; }
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-footer { display: none; }

/* Tekst: verborgen tot de kaart open is; dan als paneel over de foto, volledig en scrollbaar */
.social-feed .eapps-facebook-feed-posts-item:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-content-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 24px 24px 72px;
  overflow-y: auto;
  background: var(--primary-50);
  cursor: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-out-expo), visibility 0s linear var(--duration-base);
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open:has(.eapps-facebook-feed-posts-item-content-picture img) .eapps-facebook-feed-posts-item-content-text {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-out-expo), visibility 0s;
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open:has(.eapps-facebook-feed-posts-item-content-picture img) .eui-item-text-excerpt { display: none !important; }
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open:has(.eapps-facebook-feed-posts-item-content-picture img) .eui-item-text-full { display: block !important; }
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open:has(.eapps-facebook-feed-posts-item-content-picture img)::after { content: 'Sluiten'; z-index: 3; background: var(--primary-600); }
.social-feed .feed-post__fb {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font: 600 0.875rem/1.2 var(--font-body);
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open:has(.eapps-facebook-feed-posts-item-content-picture img) .feed-post__fb { display: inline-flex; }
@media (hover: hover) {
  .social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item:not(.is-open):hover .eapps-facebook-feed-posts-item-content-picture img { transform: scale(1.05); }
  .social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item:not(.is-open):hover::after { transform: translateY(-3px); }
}
.social-feed .eapps-facebook-feed-posts-item:focus-visible { outline: 3px solid var(--button-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .social-feed .eapps-facebook-feed-posts-item * { transition: none !important; }
}
/* Facebook-icoon linksboven op de foto (app.js) */
.social-feed .feed-post__icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--primary-600);
  box-shadow: 0 6px 16px -8px rgb(0 22 37 / 0.45);
  pointer-events: none;
  transition: opacity var(--duration-fast) ease;
}
.social-feed .eapps-facebook-feed .eapps-facebook-feed-posts-item.is-open .feed-post__icon { opacity: 0; }

/* Fotogalerij met Facebook-berichten ertussen (app.js) */
.gallery-fb-source { position: absolute; left: -10000px; top: 0; width: 1100px; height: 1px; overflow: hidden; pointer-events: none; }
.gallery__fb-gate {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--text-secondary);
  font: 600 0.875rem/1.2 var(--font-body);
  box-shadow: 0 8px 20px -10px rgb(0 22 37 / 0.5);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-spring);
}
.gallery__fb-gate .icon { width: 16px; height: 16px; color: var(--primary-600); }
.gallery__fb-gate:hover { transform: translateY(-2px); }
.gallery.is-fb-loading .gallery__fb-gate { opacity: 0.6; pointer-events: none; }

.gallery-fb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  background: var(--primary-600);
}
.gallery-fb > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out-expo); }
.gallery-fb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--hero-dark) 85%, transparent) 100%);
}
.gallery-fb__icon {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--primary-600);
  box-shadow: 0 6px 16px -8px rgb(0 22 37 / 0.45);
}
.gallery-fb__icon svg { width: 18px; height: 18px; }
.gallery-fb__bar {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}
.gallery-fb__bar { flex-wrap: nowrap; align-items: flex-end; }
.gallery-fb__preview {
  flex: 1;
  min-width: 0;
  color: var(--neutral-0);
  font: 500 0.8125rem/1.35 var(--font-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-fb__more { flex: none; }
.gallery-fb__more {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--button-primary);
  color: var(--neutral-0);
  font: 600 0.8125rem/1.2 var(--font-body);
  transition: transform var(--duration-base) var(--ease-spring);
}
.gallery-fb__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 22px;
  background: var(--primary-50);
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-out-expo), visibility 0s linear var(--duration-base);
}
.gallery-fb.is-open .gallery-fb__panel { opacity: 1; visibility: visible; transform: none; transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-out-expo), visibility 0s; }
.gallery-fb__text { flex: 1; min-height: 0; overflow-y: auto; overflow-wrap: anywhere; }
.gallery-fb__text a { color: var(--text-secondary); }
.gallery-fb__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
.gallery-fb__link { color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.gallery-fb__link:hover { text-decoration: underline; }
.gallery-fb__close {
  padding: 5px 12px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--primary-600);
  color: var(--neutral-0);
  font: 600 0.8125rem/1.2 var(--font-body);
  cursor: pointer;
}
@media (hover: hover) {
  .gallery-fb:not(.is-open):hover > img { transform: scale(1.05); }
  .gallery-fb:not(.is-open):hover .gallery-fb__more { transform: translateY(-2px); }
}
.gallery-fb:focus-visible { outline: 3px solid var(--button-primary); outline-offset: -3px; }
@media (max-width: 639px) {
  .gallery-fb__preview { display: none; }
  .gallery-fb__bar { justify-content: flex-end; }
  .gallery-fb__panel { padding: 16px; font-size: 0.8125rem; }
  .gallery__fb-gate { top: 12px; right: 12px; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-fb *, .gallery-fb::before { transition: none !important; }
}
.gallery [hidden] { display: none !important; } /* vervangen foto's blijven alleen in de lightbox */
.gallery-fb__text > .eui-item-text-full,
.gallery-fb__text > .eui-item-text-excerpt-inner { display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; }

/* Pop-up voor een Facebook-bericht dat niet in de tegel past */
html.has-dialog { overflow: hidden; }
.fb-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--neutral-0);
  color: var(--text-primary);
  box-shadow: 0 40px 80px -30px rgb(0 22 37 / 0.6);
}
.fb-dialog[open] { display: flex; flex-direction: column; animation: fb-dialog-in var(--duration-base) var(--ease-out-expo); }
.fb-dialog::backdrop { background: color-mix(in srgb, var(--hero-dark) 70%, transparent); backdrop-filter: blur(4px); }
@keyframes fb-dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.fb-dialog__img { flex: none; width: 100%; max-height: 46vh; object-fit: cover; }
.fb-dialog__body { position: relative; min-height: 0; overflow-y: auto; padding: 32px; font-size: 1rem; line-height: 1.6; }
.fb-dialog__icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--primary-600);
  box-shadow: 0 6px 16px -8px rgb(0 22 37 / 0.45);
}
.fb-dialog__icon svg { width: 22px; height: 22px; }
.fb-dialog__text { overflow-wrap: anywhere; }
.fb-dialog__text > * { display: block !important; }
.fb-dialog__text a { color: var(--text-secondary); }
.fb-dialog__link { display: inline-block; margin-top: 20px; color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.fb-dialog__link:hover { text-decoration: underline; }
.fb-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--neutral-0);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgb(0 22 37 / 0.45);
}
@media (max-width: 639px) { .fb-dialog__body { padding: 28px 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .fb-dialog[open] { animation: none; } }

/* ==========================================================================
   Donatieformulier (plugin webjongens/donaties) in de Roparun-stijl.
   De plugin-CSS staat in @layer wjd-donaties, deze regels winnen dus altijd. Vormtaal = het bestaande donatieformulier,
   de contactvelden en het privacyvinkje.
   ========================================================================== */
.wjd {
  --wjd-accent: var(--primary-600);
  --wjd-accent-donker: color-mix(in srgb, var(--primary-600) 82%, var(--hero-dark));
  --wjd-op-accent: var(--neutral-0);
  --wjd-tekst: var(--text-primary);
  --wjd-zacht: color-mix(in srgb, var(--text-primary) 72%, var(--neutral-0));
  --wjd-kaart: var(--neutral-0);
  --wjd-vlak: var(--primary-50);
  --wjd-goed: var(--background-secondary);
  --wjd-rand: var(--neutral-300);
  --wjd-fout: var(--error-600);
  --wjd-fout-vlak: color-mix(in srgb, var(--error-400) 12%, var(--neutral-0));
  --wjd-radius: 20px;
  --wjd-radius-klein: 12px;
  --wjd-snel: var(--duration-fast);
  padding-block: clamp(40px, 5vw, 80px);
  font-family: var(--font-body);
}
.wjd-kaart {
  max-width: 1252px;
  box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.28);
}

/* Koppen zoals de sectietitels en de stappen van het bestaande formulier */
.wjd-titel { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.125rem, 1.711rem + 1.768vw, 3.125rem); line-height: 1.05; color: var(--text-secondary); }
.wjd-kop { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.3; color: var(--text-on-primary); }
.wjd-label { font-family: var(--font-display); font-weight: 400; color: var(--text-on-primary); }
.wjd-verplicht { color: var(--wjd-zacht); }
.wjd-tekst a { color: var(--text-secondary); }
.wjd-foto { border-radius: var(--wjd-radius); }

/* Bedrag- en frequentietegels zoals .donation__amount */
.wjd-tegel span { min-height: 52px; border-width: 1px; border-color: var(--border-focus); font-weight: 600; color: var(--text-primary); }
.wjd-tegel:hover span { border-color: var(--primary-600); }
.wjd-tegel input:checked + span { border-color: var(--primary-600); background: var(--primary-100); color: var(--primary-600); }
.wjd-tegel input:focus-visible + span { outline-color: var(--primary-600); }

/* Velden zoals de contactvelden */
.wjd-veld { border-width: 1px; border-color: var(--neutral-300); color: var(--text-on-primary); }
.wjd-veld:hover { border-color: var(--neutral-400); }
.wjd-veld:focus { border-color: var(--primary-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-600) 15%, transparent); }
.wjd-veld:user-invalid { border-color: var(--error-600); }
.wjd-zweef > .wjd-veld:focus + span { color: var(--primary-600); }

/* Aanhef en nieuwsbrief zoals het privacyvinkje */
.wjd-rondje span::before, .wjd-vinkje span::before { border-width: 2px; border-color: var(--border-focus); }
.wjd-vinkje span::before { border-radius: 6px; }
.wjd-rondje input:checked + span::before, .wjd-vinkje input:checked + span::before { border-color: var(--primary-600); background-color: var(--primary-600); }

/* Knop: de groene hoofdknop van de site */
.wjd-knop { font-weight: 600; background: var(--button-primary); color: var(--button-primary-text); }
.wjd-knop:hover:not(:disabled), .wjd-knop.is-bezig { background: var(--button-primary-hover); color: var(--button-primary-hover-text); }
.wjd-knop:focus-visible { outline-color: var(--primary-600); }

/* Meldingen zoals .donation__notice en .form-message */
.wjd-melding.is-info { background: var(--background-secondary); color: var(--secondary-900); }
.wjd-melding.is-goed { background: var(--background-secondary); color: var(--secondary-900); }
.wjd-melding.is-fout { background: var(--wjd-fout-vlak); color: var(--error-600); }
.wjd-machtiging summary { color: var(--text-secondary); }
.wjd .consent { margin-top: 4px; }

/* Donatieformulier (plugin) in de vorm van het eerdere formulier: wat het dummy-formulier nog niet hoefde te kunnen */
.donation__form--live { opacity: 1; pointer-events: auto; user-select: auto; }
.donation__amount { position: relative; cursor: pointer; transition: border-color var(--duration-fast), background-color var(--duration-fast), color var(--duration-fast); }
.donation__form--live .donation__amount:hover { border-color: var(--primary-600); }
.donation__amount:has(input[type=radio]:checked) { border-color: var(--primary-600); background: var(--primary-100); color: var(--primary-600); }
.donation__amount:has(input[type=radio]:focus-visible) { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.donation__amounts--freq { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 4px; }
.donation__amount--custom input[type=text]:focus { outline: none; }
.donation .field input[aria-invalid='true'] { border-color: var(--error-600); }
.donation .wjd-hulp.is-fout { color: var(--error-600); }
.donation .wjd-hulp button { margin-left: 4px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--primary-600); text-decoration: underline; cursor: pointer; }
/* Verzendknop: de groene knop van de site, met het spinnertje van de plugin tijdens het versturen */
.donation .wjd-knop { width: auto; min-height: 0; padding: 12px 22px; border-radius: var(--radius-full); font: inherit; font-weight: 600; }
.donation .wjd-knop:disabled { opacity: 0.55; cursor: not-allowed; }
.donation .wjd-knop.is-bezig .btn__icon { display: none; }
.donation .wjd-machtiging summary { color: var(--primary-600); font-weight: 600; cursor: pointer; }
.donation__done-title { margin-bottom: 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--secondary-900); }
.donation .wjd-tekst > * + * { margin-top: 0.6em; }
.donation-list__when { margin-left: 6px; font-weight: 400; color: color-mix(in srgb, var(--text-primary) 70%, var(--neutral-0)); }

/* Blok "Donatieteller": de teller van de homepage, los op een pagina (zonder de overlap met de hero) */
.b-counter { padding-block: clamp(40px, 5vw, 72px); }
.counter--block { margin: 0 auto; box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 24px 48px -24px rgb(0 22 37 / 0.28); }
.donation-list__empty { padding-block: 6px 2px; font-size: 0.9375rem; color: var(--text-primary); }

/* Homepage mobiel (vanaf 300px breed) */
@media (max-width: 639px) {
  /* Agenda: groene kaart over de volle breedte, inhoud past binnen de kaart */
  .b-agenda > .container { padding-inline: 0; }
  .agenda { gap: 32px; padding: 40px 20px; border-radius: 0; }
  .agenda > *, .agenda__intro > *, .agenda-item > * { min-width: 0; }
  .agenda-item { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .agenda-item__arrow { display: none; } /* de hele regel is al klikbaar */
  .agenda-item__info h3 { overflow-wrap: break-word; hyphens: auto; }

  /* Facebook-knop en "Bekijk meer" gecentreerd op de foto's */
  .gallery__fb-gate { left: 50%; right: auto; translate: -50% 0; max-width: calc(100% - 24px); justify-content: center; text-align: center; }
  .gallery__cta { left: 50%; translate: -50% 0; white-space: nowrap; }
}
/* Sponsorcarrousel mobiel: één vierkante kaart tegelijk */
@media (max-width: 520px) {
  .carousel__slide { flex-basis: 100%; }
  .logo-slot { height: auto; aspect-ratio: 1 / 1; }
  .logo-slot img { max-height: 140px; max-width: 80%; }
}
/* Mobiel: lange knopteksten breken af binnen de knop (in plaats van buiten beeld), en het verhaal/FAQ-raster blijft binnen de marges */
@media (max-width: 639px) {
  .btn { max-width: 100%; height: auto; min-height: 48px; white-space: normal; text-align: left; }
  .btn__roll { min-width: 0; }
  .btn__roll::after { right: 0; white-space: normal; }
  .b-faq__grid, .b-faq--story .b-faq__grid { grid-template-columns: minmax(0, 1fr); }
}
/* Mobiel: formuliervelden krimpen mee (een input heeft anders een eigen minimumbreedte), Club van 50-namen breken netjes af */
@media (max-width: 639px) {
  input, select, textarea { min-width: 0; max-width: 100%; }
  .b-contact__grid, .contact-form-wrap { grid-template-columns: minmax(0, 1fr); }
  .contact-form > *, .field-row > *, .field > * { min-width: 0; }
  .sponsor-card--named { padding: 12px 10px; }
  .sponsor-card--named .sponsor-card__name { font-size: 1rem; overflow-wrap: break-word; hyphens: auto; }
}

/* Tijdlijn "Horizontaal scrollen" onder 1000px: één witte kaart, de hele tijdlijn op één lijn, swipen met de vinger
   (desktop: vastgezet en meescrollend, zie hierboven). Dagknoppen en voortgangsbalk volgen de swipe (app.js). */
@media (max-width: 999px) {
  .schedule--horizontal { padding: 24px 0 20px; border-radius: 20px; background: var(--neutral-0); box-shadow: 0 1px 2px rgb(0 22 37 / 0.04), 0 18px 40px -24px rgb(0 22 37 / 0.22); }
  .schedule--horizontal .schedule__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 20px; padding-inline: 20px; scrollbar-width: none; }
  .schedule--horizontal .schedule__viewport::-webkit-scrollbar { display: none; }
  .schedule--horizontal.is-collapsed .schedule__days { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .schedule--horizontal .schedule__more { display: none; }
  .schedule--horizontal .schedule__days { display: flex; width: max-content; gap: 0; }
  .schedule--horizontal .schedule__day { display: grid; grid-template-rows: auto 1fr; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .schedule--horizontal .schedule__day-title { margin: 0 0 14px; padding-right: 20px; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__day-title { padding-left: 20px; border-left: 2px solid var(--primary-200); }
  .schedule--horizontal .schedule__list { display: flex; align-items: stretch; }
  .schedule--horizontal .schedule__list::before { top: 7px; bottom: auto; left: 0; right: 0; width: auto; height: 2px; }
  .schedule--horizontal .schedule__item { width: 170px; grid-template-columns: 1fr; align-content: start; gap: 6px; padding: 28px 20px 4px 0; scroll-snap-align: start; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child { padding-left: 20px; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child .schedule__dot { left: 20px; }
  .schedule--horizontal .schedule__dot { top: 2px; left: 0; }
  .schedule--horizontal .schedule__time { font-size: 1.125rem; }
  .schedule--horizontal .schedule__team { justify-self: start; }
  .schedule--horizontal .schedule__item--highlight .schedule__dot { width: 16px; height: 16px; top: 0; margin-left: -2px; box-shadow: 0 0 0 5px var(--primary-100); }
  .schedule--horizontal .schedule__progress { display: block; height: 4px; margin: 20px 20px 0; border-radius: 2px; background: var(--primary-100); overflow: hidden; }
  .schedule--horizontal .schedule__progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary-600); transform-origin: left; transform: scaleX(0); }
  .b-schedule--horizontal .b-schedule__header { margin-bottom: 24px; }
  .schedule--horizontal .schedule__daynav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 20px 16px; padding: 0; list-style: none; }
  .schedule--horizontal .schedule__daynav li { padding: 0; border-radius: 999px; background: var(--primary-50); color: var(--text-secondary); font-family: var(--font-display); font-size: 1rem; transition: background-color var(--duration-base), color var(--duration-base); }
  .schedule--horizontal .schedule__daynav li.is-active { background: var(--primary-600); color: var(--neutral-0); }
  .schedule--horizontal .schedule__daynav button { padding: 6px 14px; border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; cursor: pointer; }
  .schedule--horizontal .schedule__daynav button:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
}
/* Telefoon: de witte tijdlijnkaart over de volle breedte van het scherm */
@media (max-width: 639px) {
  .schedule--horizontal { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
}

/* Video (YouTube) op de telefoon: kleinere afspeelknop en teksten, zodat alles binnen de video past */
@media (max-width: 639px) {
  .video__play, .video__placeholder { gap: 8px; }
  .video__play-icon { width: 48px; }
  .video__play .video__play-icon { box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25), 0 10px 24px -10px rgb(0 22 37 / 0.7); }
  .video__play-label, .video__play .video__play-label { padding: 4px 12px; font-size: 0.875rem; white-space: nowrap; }
  .video__note { left: 12px; right: 12px; bottom: 6px; font-size: 0.625rem; line-height: 1.3; text-align: center; }
}

/* ==========================================================================
   Telefoon staand (t/m 479px, vanaf 300px): kaarten altijd één per rij, inhoud binnen de kaart
   ========================================================================== */
/* Grote groene/witte panelen (agenda, tijdlijn, feiten, cijfers): op de telefoon over de volle breedte, 20px binnenmarge */
@media (max-width: 639px) {
  .facts, .numbers { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; padding: 32px 20px; }
  .contact-details { padding: 24px 20px; }
  .contact-details__list li > :not(.contact-details__icon) { min-width: 0; }
  .contact-details__list a { overflow-wrap: anywhere; }
  .news-tile__title,
  .news-mosaic > :nth-child(12n + 1) .news-tile__title { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 479px) {
  /* Teamleden: één kaart per rij, met de introtekst weer zichtbaar */
  .b-team .b-news__grid { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .member-card .news-card__body { padding: 16px 18px; gap: 8px; }
  .member-card .news-card__title { font-size: 1.25rem; }
  .member-card .news-card__text { display: block; }
  .member-card .news-card__link { font-size: 0.9375rem; }
  /* Cijfers (/team): één wit kaartje per rij */
  .numbers__grid { grid-template-columns: minmax(0, 1fr); }
  .numbers__label { overflow-wrap: break-word; }
  /* Sponsors: logo's één per rij, vierkant (zoals de carrousel op home); Club van 50 als compacte naamregels */
  .sponsor-grid, .sponsor-grid--main, .sponsor-grid--named { grid-template-columns: minmax(0, 1fr); }
  .sponsor-card--named { height: auto; min-height: 64px; padding: 14px 18px; }
  /* Nieuws- en agendategels (lijst): smallere foto, zodat de titel meer ruimte heeft */
  .news-tile__link .picture,
  .news-tile__img { width: 88px; min-height: 96px; }
  .news-tile__link { min-height: 96px; }
}

/* Nieuws- en agendategels (lijstweergave t/m 639px): alle titels even groot, ook de tegels die op desktop groot/half/breed zijn */
@media (max-width: 639px) {
  .news-tile__body,
  :is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__body,
  .news-mosaic > :nth-child(12n + 1) .news-tile__body { gap: 4px; padding: 12px 16px; }
  .news-tile__title,
  :is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__title,
  .news-mosaic > :nth-child(12n + 1) .news-tile__title { font-size: 1.125rem; line-height: 1.3; -webkit-line-clamp: 3; }
  :is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__meta { font-size: 0.875rem; }
}
/* Telefoon staand: foto boven, tekst eronder */
@media (max-width: 479px) {
  .news-tile__link { flex-direction: column; min-height: 0; }
  .news-tile__link .picture { display: block; width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .news-tile__link .picture .news-tile__img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
  .news-tile__link > .news-tile__img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
  .news-tile__body,
  :is(.news-tile--big, .news-tile--half, .news-tile--full) .news-tile__body,
  .news-mosaic > :nth-child(12n + 1) .news-tile__body { padding: 14px 16px 16px; }
}
/* Cijfers (/team) op de telefoon: getal en omschrijving naast elkaar in één compacte kaart per rij */
@media (max-width: 479px) {
  .numbers__item { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 14px; padding: 14px 18px; }
  .numbers__value { font-size: 2rem; }
}

/* Nieuws/agenda: lichtblauwe band achter zoekveld en filters (hoogte --band gemeten in app.js), op mobiel tot onder
   de laatste filterregel en een stukje achter de eerste kaart, zoals op desktop */
.b-agenda-page { position: relative; }
@media (max-width: 639px) {
  .b-hero--card:not(:has(.b-hero__card)) + .b-agenda-page { background: linear-gradient(to bottom, var(--background-primary) var(--band, 200px), transparent 0); }
}
/* Nieuws zoeken op de telefoon: zoekveld over de volle breedte, knop eronder (anders valt de placeholder weg) */
@media (max-width: 479px) {
  .news-search { flex-wrap: wrap; }
  .news-search__field, .news-search__submit { flex: 1 1 100%; justify-content: center; }
}
/* Homepage-galerij op de telefoon: knoppen gecentreerd over de hele fotobreedte (niet de halve), zodat ze breder
   kunnen en op één regel passen; grotere iconen */
@media (max-width: 639px) {
  .gallery__fb-gate { left: 12px; right: 12px; translate: none; width: fit-content; max-width: none; margin-inline: auto; gap: 10px; padding: 9px 16px; }
  .gallery__fb-gate .icon { flex: none; width: 20px; height: 20px; }
  .gallery__cta { left: 12px; right: 12px; translate: none; display: flex; justify-content: center; white-space: normal; }
  .gallery__cta .btn { gap: 10px; }
  .gallery__cta .btn__icon { width: 22px; height: 22px; }
  .gallery__cta .btn__icon svg { width: 20px; height: 20px; }
}

/* Tijdlijn onder 1000px, verfijning: geen dubbele dagtitel (de dagknop toont de dag; streepjeslijn tussen de dagen,
   net als desktop), dagknoppen op één regel, slepen met de muis (app.js) */
@media (max-width: 999px) {
  .schedule--horizontal .schedule__day-title { display: none; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__list { border-left: 2px dashed var(--primary-200); margin-left: 0; }
  .schedule--horizontal .schedule__daynav { flex-wrap: nowrap; }
  .schedule--horizontal .schedule__item { scroll-snap-align: start; }
  .schedule--horizontal .schedule__viewport.is-dragging,
  .facts__track.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
}
@media (max-width: 999px) and (hover: hover) and (pointer: fine) {
  .schedule--horizontal:not(.is-pinned) .schedule__viewport, .facts__track { cursor: grab; }
}
/* Telefoon staand: dagknoppen gelijk verdeeld over de breedte, elk moment (bijna) de volle breedte met een
   glimp van het volgende bolletje, zodat er nooit een half afgesneden tekst in beeld staat */
@media (max-width: 479px) {
  .schedule--horizontal .schedule__daynav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .schedule--horizontal .schedule__daynav li { font-size: 0.875rem; text-align: center; }
  .schedule--horizontal .schedule__daynav button { width: 100%; padding: 7px 4px; }
  .schedule--horizontal .schedule__viewport { container-type: inline-size; scroll-snap-type: x mandatory; }
  .schedule--horizontal .schedule__item { width: calc(100cqi - 32px); padding-right: 16px; }
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child { width: calc(100cqi - 32px); }
}
/* Tijdlijn-strip: het volgende moment vervaagt aan de rechterrand (geen harde snede door de tekst), links een korte fade */
@media (max-width: 999px) {
  .schedule--horizontal .schedule__viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 64px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 64px), transparent 100%);
  }
}
@media (max-width: 479px) {
  .schedule--horizontal .schedule__item,
  .schedule--horizontal .schedule__day + .schedule__day .schedule__item:first-child { width: calc(100cqi - 24px); }
}
/* Feiten-carrousel is op elk scherm met de muis te slepen: grijp-cursor */
@media (hover: hover) and (pointer: fine) {
  .facts__track { cursor: grab; }
  .facts__track.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
}
/* Feitenkaartje op de foto (Over ons) onder 900px: linksonder en iets over de rand, zoals op desktop */
@media (max-width: 899px) {
  .b-text__badge { left: -12px; right: auto; max-width: min(260px, 75%); padding: 16px 18px; }
}
/* Feiten op de telefoon: elk kaartje zo hoog als zijn eigen inhoud (niet uitgerekt naar het langste kaartje),
   verticaal gecentreerd in het groene vlak; dat vlak houdt één hoogte, dus de stippen springen niet */
@media (max-width: 639px) {
  .facts__track { align-items: center; }
  .facts__card { align-self: center; }
}
/* Video op de telefoon: alleen de afspeelknop in het midden (zonder "Bekijk de video"; de knop heeft een aria-label),
   en een vierkanter beeld */
@media (max-width: 639px) {
  .video { aspect-ratio: 4 / 3; }
  .video__play .video__play-label { display: none; }
  .video__play-icon { width: 64px; }
}
/* Filters (nieuws en team) op de telefoon: elke knop over de volle breedte van de sectie, net als het zoekveld */
@media (max-width: 479px) {
  .b-team .team-filter,
  .team-filter.news-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .b-team .team-filter__btn,
  .news-filter .team-filter__btn { width: 100%; min-height: 44px; justify-content: center; padding: 10px 16px; font-size: 0.9375rem; }
}
/* Agenda op de telefoon: blauwe pijlknop terug (36px), titel iets kleiner zodat datum, titel en pijl naast elkaar passen */
@media (max-width: 639px) {
  .agenda-item { grid-template-columns: 52px minmax(0, 1fr) 36px; gap: 10px; }
  .agenda-item__arrow { display: grid; width: 36px; height: 36px; border-radius: 18px; }
  .agenda-item__arrow svg { width: 12px; height: 12px; }
  .agenda-item__info h3 { font-size: 1.25rem; line-height: 1.25; }
}
/* Homepage: donatiekaart op mobiel vast onder de video met een kleine overlap (zoals desktop, -88px op een veel grotere video);
   het schuifeffect over de video staat uit (app.js, MOBILE_HERO_SLIDE) */
@media (max-width: 767px) {
  .b-hero--card .counter { margin-top: -40px; }
}
/* Homepage mobiel: de ruimte die GSAP voor de vastgezette hero reserveert (pin-spacer) krijgt de lichtblauwe kleur van de
   hero, zodat er na het vastzetten geen witte strook boven de hero verschijnt */
@media (max-width: 767px) {
  .pin-spacer:has(> .b-hero--counter) { background: var(--background-primary); }
}
/* Feitenkaartje Over ons: iets breder op de telefoon, zodat de omschrijving in twee regels past */
@media (max-width: 899px) {
  .b-text__badge { max-width: min(260px, 90%); }
}
/* Video op de telefoon: kleinere afspeelknop (40-52px, schaalt mee), zodat de video zelf beter zichtbaar is */
@media (max-width: 639px) {
  .video__play-icon { width: clamp(40px, 11vw, 52px); }
  .video__play .video__play-icon { box-shadow: 0 0 0 3px rgb(255 255 255 / 0.25), 0 8px 20px -8px rgb(0 22 37 / 0.7); }
}
/* Agenda-kaart op tablet/desktop: kolommen, tussenruimte en binnenmarge schalen vloeiend mee (clamp), zodat de
   agendapunten en pijlknoppen op elke breedte binnen de groene kaart blijven */
.agenda > *, .agenda-item > * { min-width: 0; }
@media (min-width: 900px) {
  .agenda {
    grid-template-columns: minmax(0, clamp(220px, 30vw, 380px)) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 64px);
    padding: clamp(48px, 7vw, 100px) clamp(28px, 5.5vw, 80px);
  }
  .agenda-item { grid-template-columns: clamp(60px, 7vw, 100px) minmax(0, 1fr) auto; gap: clamp(12px, 2.2vw, 32px); }
  .agenda-item__info h3 { font-size: clamp(1.375rem, 0.9rem + 1vw, 2rem); overflow-wrap: break-word; hyphens: auto; }
}
/* /sponsors: Club van 50 eerder naar 3 kolommen (lange namen passen anders niet in 4 smalle kaarten),
   pakketkaarten blijven langer 2 naast elkaar en gaan pas vanaf 1280px naar 4 */
@media (min-width: 768px) and (max-width: 1023px) {
  .sponsor-grid--named { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .packages--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Formuliermelding die na verzenden de focus krijgt (alleen voor schermlezers): geen focusrand */
.js-form-focus:focus { outline: none; }
