/* ==========================================================================
   Leo-club West-Brabant — landingspagina
   Merk: Brandbook Leo-club (Leoblauw, Donkerblauw, Lichtblauw, Crème, Oranje)
   Titels: Arpona — Tekst: Work Sans (officiële vervanger voor Mundial)
   ========================================================================== */
@font-face {
  font-family: "Arpona";
  src: url(../fonts/arpona-black.woff2) format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url(../fonts/work-sans.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Merkkleuren */
  --leo: #013FAF;      /* Leoblauw  — basis */
  --navy: #012F84;     /* Donkerblauw — diepte */
  --sky: #86A8E6;      /* Lichtblauw — ondersteunend */
  --cream: #FDFDF5;    /* Crème — papier */
  --orange: #FF7F00;   /* Oranje — alleen voor actie & accent */

  --display: "Arpona", "Optima", "Candara", "Segoe UI", sans-serif;
  --text: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4.2vw, 3.5rem);
  --pad: clamp(4.5rem, 9vw, 8.5rem);
  --cut: clamp(2.25rem, 6vw, 6.5rem);     /* hoogte van de schuine sectierand */
  --header: 76px;
  --ease: cubic-bezier(.2, .75, .15, 1);

  --pattern: url(../img/pattern.webp);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 40'%3E%3Cpath d='M6 5l15 15-15 15M34 5l15 15-15 15M62 5l15 15-15 15' fill='none' stroke='%23000' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3.5v13M3.5 10h13' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --plus-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3.5v13M3.5 10h13' stroke='%23FDFDF5' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 8px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--text);
  font-size: clamp(1.0625rem, .3vw + .98rem, 1.1875rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
html { -webkit-tap-highlight-color: rgba(255, 127, 0, .18); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p { text-wrap: pretty; }
::selection { background: var(--orange); color: var(--navy); }

:focus-visible { outline: 3px solid var(--ring, var(--orange)); outline-offset: 3px; border-radius: 6px; }
.on-cream { --ring: var(--leo); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: var(--gutter); top: -120px; z-index: 100;
  background: var(--orange); color: var(--navy); font-weight: 700;
  padding: .8rem 1.1rem; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: .75rem; }
main:focus, .composer:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Typografie ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.75rem, 6.4vw, 6rem); }
.h3 { font: 700 clamp(1.3rem, 1.1vw + 1rem, 1.6rem)/1.2 var(--text); }
.sub { font: 700 clamp(1.2rem, .8vw + 1rem, 1.5rem)/1.25 var(--text); color: var(--orange); margin-top: 1rem; }
.big { font-size: clamp(1.3rem, 1vw + 1rem, 1.75rem); line-height: 1.38; font-weight: 500; }

/* ---------- Knoppen ---------- */
.btn {
  --bg: var(--orange); --fg: var(--navy); --bd: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .85rem 1.5rem;
  border: 2px solid var(--bd); border-radius: 14px;
  background: var(--bg); color: var(--fg);
  font: 700 1.02rem/1.15 var(--text); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ghost { --bg: transparent; --fg: var(--cream); --bd: rgba(253, 253, 245, .5); }
.btn-ghost:hover { --bd: var(--cream); }
.btn-blue { --bg: var(--leo); --fg: var(--cream); --bd: var(--leo); }
.btn-blue:hover { --bg: var(--navy); --bd: var(--navy); }
.btn-sm { min-height: 44px; padding: .55rem 1.05rem; font-size: .95rem; border-radius: 12px; white-space: nowrap; }

/* ---------- Logo Leo-club West-Brabant (eigen vectorlogo, één keer ingesloten, kleur via currentColor) ---------- */
.logo { display: block; flex: none; fill: currentColor; overflow: hidden; }
.logo--emblem { aspect-ratio: 1159 / 1198; }
.logo--word { aspect-ratio: 855 / 204; }
.logo--full { aspect-ratio: 1159 / 1502; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--leo); color: var(--cream);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: rgba(253, 253, 245, .18); opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header); }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--cream); text-decoration: none; }
.brand .logo--emblem { height: 48px; }
.brand .logo--word { height: 30px; }
.nobr { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav a:not(.btn):hover { background-size: 100% 2px; }

/* ---------- Mobiel menu (≤1100px): knop opent een paneel onder de header ---------- */
.menu-btn {
  display: none; position: relative; flex: none; width: 44px; height: 44px;
  border: 2px solid rgba(253, 253, 245, .5); border-radius: 12px;
  background: transparent; color: var(--cream); cursor: pointer; transition: border-color .2s;
}
.menu-btn:hover { border-color: var(--cream); }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .35s var(--ease);
}
.menu-icon::before { top: 15px; }
.menu-icon::after { top: 23px; }
.menu-btn[aria-expanded="true"] { border-color: var(--cream); }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49;
  background: var(--leo); color: var(--cream);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden;
  /* schuine veeg in de merkhoek */
  clip-path: polygon(0 0, 100% 0, 100% -14vw, 0 0);
  transition: clip-path .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% + 14vw));
  transition: clip-path .55s var(--ease), visibility 0s;
}
.mobile-menu-inner { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding-block: clamp(1.75rem, 5vh, 3rem) 2.5rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-inner > ul:first-child { display: grid; gap: .15rem; width: 100%; }
.mobile-menu-inner > ul:first-child a {
  display: inline-block; padding: .3rem 0; text-decoration: none;
  font: 900 clamp(2rem, 9.6vw, 4.5rem)/1 var(--display); text-transform: uppercase;
  background: linear-gradient(var(--orange), var(--orange)) 0 92% / 0 .09em no-repeat;
  transition: background-size .3s var(--ease);
}
.mobile-menu-inner > ul:first-child a:hover, .mobile-menu-inner > ul:first-child a:focus-visible { background-size: 100% .09em; }
.menu-cta { margin-top: 2rem; }
.mobile-menu .menu-contact { margin-top: auto; padding-top: 2.75rem; display: grid; gap: .9rem; }
.menu-contact a { text-decoration: none; font-weight: 500; }
.mobile-menu .contact-row small { color: rgba(253, 253, 245, .8); }
.menu-bands { position: absolute; right: 0; bottom: 0; width: min(46%, 300px); height: min(34%, 260px); pointer-events: none; }
.menu-bands span { position: absolute; inset: 0; }
.menu-bands span:nth-child(1) { background: var(--navy);   clip-path: polygon(52% 0, 74% 0, 44% 100%, 22% 100%); }
.menu-bands span:nth-child(2) { background: var(--sky);    clip-path: polygon(78% 0, 86% 0, 56% 100%, 48% 100%); }
.menu-bands span:nth-child(3) { background: var(--orange); clip-path: polygon(92% 0, 100% 0, 70% 100%, 62% 100%); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open .mobile-menu-inner > ul:first-child li { animation: fade-up .5s var(--ease) backwards; }
  .mobile-menu.is-open .mobile-menu-inner > ul:first-child li:nth-child(2) { animation-delay: .05s; }
  .mobile-menu.is-open .mobile-menu-inner > ul:first-child li:nth-child(3) { animation-delay: .1s; }
  .mobile-menu.is-open .mobile-menu-inner > ul:first-child li:nth-child(4) { animation-delay: .15s; }
  .mobile-menu.is-open .mobile-menu-inner > ul:first-child li:nth-child(5) { animation-delay: .2s; }
  .mobile-menu.is-open .menu-cta { animation: fade-up .5s var(--ease) .27s backwards; }
  .mobile-menu.is-open .menu-contact { animation: fade-up .5s var(--ease) .33s backwards; }
  .mobile-menu.is-open .menu-bands span { animation: band-rise .8s var(--ease) .1s backwards; }
  .mobile-menu.is-open .menu-bands span:nth-child(2) { animation-delay: .18s; }
  .mobile-menu.is-open .menu-bands span:nth-child(3) { animation-delay: .26s; }
}
html.menu-open { overflow: hidden; }
section[tabindex="-1"]:focus { outline: none; }

/* ---------- Secties met schuine randen (merkvorm: schuine lijnen = beweging) ---------- */
.section { position: relative; padding-block: var(--pad); }
.cut-top    { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--pad) + var(--cut)); }
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(var(--pad) + var(--cut)); }
.cut-both   { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-block: calc(var(--pad) + var(--cut)); }
.is-blue { background: var(--leo); color: var(--cream); }
.is-navy { background: var(--navy); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--leo); color: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: min(calc(100svh - var(--header)), 940px);
  display: grid; align-content: center;
  padding-block: clamp(2.5rem, 7vh, 5rem) calc(var(--cut) + clamp(2.5rem, 7vh, 5rem));
}
.hero-title { font-size: clamp(3.6rem, 10.6vw, 10.75rem); line-height: .86; }
.hero-title .line { display: block; overflow: hidden; padding-block: .05em; margin-block: -.05em; }
.hero-title .line > span { display: block; }
.hero .lede { max-width: 35rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero-art {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 47%; container-type: size; overflow: hidden; pointer-events: none;
  /* donkerblauwe baan: linkeronderhoek (--nx), breedte (--nw), helling (--s per 100cqh); --ly = verticaal midden van het logo */
  --nx: 0%; --nw: 71%; --s: 29cqh; --ly: .48;
}
.band {
  /* banen lopen 70cqh boven de hero door, zodat er tijdens het inschuiven nooit een horizontale rand zichtbaar is */
  position: absolute; left: 0; right: 0; bottom: 0; top: -70cqh;
  clip-path: polygon(calc(var(--x) + var(--s) * 1.7) 0, calc(var(--x) + var(--w) + var(--s) * 1.7) 0, calc(var(--x) + var(--w)) 100%, var(--x) 100%);
}
.band-navy   { --x: var(--nx); --w: var(--nw); background: var(--navy); }
.band-sky    { --x: 71%; --w: 9%;  background: var(--sky); }
.band-orange { --x: 84%; --w: 7%;  background: var(--orange); }
.hero-logo {
  /* precies op de middellijn van de schuine baan, gemeten op het verticale midden van het logo;
     hoogte begrensd op de baanbreedte zodat er links en rechts evenveel ruimte blijft */
  position: absolute; color: var(--cream);
  height: min(58cqh, 71.5cqw);
  top: calc(var(--ly) * 100%);
  left: calc(var(--nx) + var(--nw) / 2 + var(--s) * (1 - var(--ly)));
  translate: -50% -50%;
}

@media (prefers-reduced-motion: no-preference) {
  .band { animation: band-in 1.1s var(--ease) both; }
  .band-navy { animation-delay: .05s; }
  .band-sky { animation-delay: .17s; }
  .band-orange { animation-delay: .29s; }
  .hero-logo { animation: logo-in 1s var(--ease) .45s both; }
  .hero-title .line > span { animation: rise .95s var(--ease) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: .08s; }
  .hero-title .line:nth-child(3) > span { animation-delay: .16s; }
  .hero .lede, .hero .actions { animation: fade-up .9s var(--ease) .35s both; }
  .hero .actions { animation-delay: .45s; }
}
@keyframes band-in { from { transform: translate(-18cqh, 62cqh); } }
@keyframes logo-in { from { opacity: 0; scale: .92; } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Wat is een Leo-club ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro .h2 { color: var(--leo); }
/* naast de kaart net iets kleiner, zodat de kop netjes in twee regels valt: WAT IS EEN / LEO-CLUB? */
@media (min-width: 961px) { .intro .h2 { font-size: clamp(2.75rem, 6.2vw, 5.25rem); } }
.intro .big { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.pair { display: grid; gap: 1.75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pair .h3 { color: var(--leo); margin-bottom: .45rem; }

.clubs-panel { background: var(--navy); color: var(--cream); border-radius: 32px; padding: clamp(1.25rem, 3vw, 2.5rem); container-type: inline-size; }
.dotmap { --mx: 51.29%; --my: 26.86%; position: relative; }  /* West-Brabant: 51,57° N, 4,64° O */
.dotmap svg { display: block; width: 100%; height: auto; }
.dotmap-land { fill: none; stroke: var(--sky); stroke-width: .7; stroke-linecap: round; }
.dot-us {
  position: absolute; left: var(--mx); top: var(--my);
  width: 12px; height: 12px; border-radius: 50%; translate: -50% -50%;
  background: var(--orange); box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--orange);
}
.dot-us::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; }
.dot-label {
  position: absolute; right: calc(100% - var(--mx) + 34px); top: calc(var(--my) + 14px);
  background: var(--orange); color: var(--navy); font: 700 clamp(.72rem, 1.9cqw, .88rem)/1.15 var(--text);
  padding: .45em .7em; border-radius: 9px; text-align: right; white-space: nowrap;
}
/* verbindingslijntje van label naar stip, in de schuine merkhoek */
.dot-label::after { content: ""; position: absolute; left: calc(100% - 4px); top: 1px; width: 28px; height: 2px; background: var(--orange); transform-origin: 0 50%; rotate: -24deg; }
@media (prefers-reduced-motion: no-preference) {
  .dotmap.is-visible .dot-us::before { animation: ping 1.5s var(--ease) 1.5s 2; }
}
@keyframes ping { 0% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: 3.2; } }
.clubs figcaption { margin-top: 1.4rem; font-size: 1.02rem; color: var(--cream); }
.clubs figcaption strong { font-weight: 700; }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(134, 168, 230, .35); }
.ledger div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.ledger dd { font: 900 clamp(1.9rem, 4.6cqw, 2.9rem)/.95 var(--display); }
/* Arpona is breed: naast de kaart moet "200.000+" in een derde van het paneel passen */
@media (min-width: 961px) { .ledger dd { font-size: min(1.9rem, (100cqw - 3rem) / 16); } }
.ledger dt { color: var(--sky); font-size: .98rem; margin-top: .35rem; text-wrap: balance; }
.source { margin-top: 1.25rem; font-size: .85rem; color: var(--sky); }

/* ---------- Kernwaarden LEO'S ---------- */
.values-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.values-head p { max-width: 34rem; font-size: clamp(1.125rem, .4vw + 1rem, 1.3rem); }
.values { display: flex; gap: clamp(.6rem, 1vw, 1rem); height: clamp(27rem, 62vh, 35rem); margin-top: clamp(2.5rem, 5vw, 4rem); container-type: inline-size; }
.value {
  --bg: var(--navy); --fg: var(--cream); --ring: var(--orange);
  position: relative; display: flex; flex-direction: column;
  flex: 1 1 0; min-width: 0;
  border-radius: 28px; overflow: hidden;
  background: var(--bg); color: var(--fg);
  transition: flex-grow .75s var(--ease);
}
.value.is-open { flex-grow: 3.4; }
.value--e { --bg: var(--sky); --fg: var(--navy); --ring: var(--navy); }
.value--o { --bg: var(--cream); --fg: var(--leo); --ring: var(--leo); }
.value--s { --bg: var(--orange); --fg: var(--navy); --ring: var(--navy); }
.value-h { flex: 1 1 auto; display: flex; min-height: 0; font: inherit; }
.value-btn {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 0; padding: clamp(1.25rem, 2.2vw, 2rem);
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  border-radius: 28px;
}
.value-btn:focus-visible { outline-offset: -8px; border-radius: 24px; }
.value-letter { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 8.4vw, 9rem); line-height: .78; transform-origin: 0 0; transition: transform .75s var(--ease); }
.value:not(.is-open) .value-btn:hover .value-letter { transform: translateY(-6px); }
@media (min-width: 961px) { .value.is-open .value-letter { transform: scale(1.75); } }
.value-word { font: 700 clamp(1.25rem, 1vw + .95rem, 1.6rem)/1.15 var(--text); white-space: nowrap; }
.value:not(.is-open) .value-word { writing-mode: vertical-rl; rotate: 180deg; }
.value-body { padding: 0 clamp(1.25rem, 2.2vw, 2rem) clamp(1.5rem, 2.5vw, 2.25rem); }
.value-body p { width: min(27rem, calc((100cqw - 3rem) * .53 - 4.5rem)); font-size: clamp(1.05rem, .3vw + .98rem, 1.2rem); }
.value:not(.is-open) .value-body { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .value.is-open .value-body { animation: fade-up .6s var(--ease) .2s both; }
}

/* ---------- Wat doe je als Leo ---------- */
.acts-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.acts-head .h2 { color: var(--leo); }
.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.75rem) clamp(1.75rem, 3.5vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.act-mark { display: block; width: 52px; height: 26px; background: var(--c, var(--leo)); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); }
.act h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.65rem, 1.6vw + 1rem, 2.2rem); line-height: .95; color: var(--leo); margin: 1.1rem 0 .7rem; }
.act p { max-width: 34ch; }
.act--idea { background: var(--orange); color: var(--navy); border-radius: 28px; padding: clamp(1.5rem, 2.5vw, 2rem); --ring: var(--navy); }
.act--idea h3 { color: var(--navy); margin-top: 0; }
.act--idea a { font-weight: 700; display: inline-block; margin-top: 1rem; text-underline-offset: .2em; text-decoration-thickness: 2px; }

/* ---------- Zo word je Leo ---------- */
.steps { --steps-gap: clamp(2.5rem, 7vw, 7rem); list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--steps-gap); }
.step { position: relative; }
.step-n { display: flex; align-items: center; font: 900 clamp(5rem, 9vw, 8.5rem)/.8 var(--display); color: var(--sky); }
.step .h3 { margin: 1.4rem 0 .6rem; }
.step p { color: rgba(253, 253, 245, .88); max-width: 30ch; }
/* pijltjes precies midden tussen twee cijfers: de cijferregel loopt door over de kolomgoot tot aan het volgende cijfer,
   en de pijl centreert zich in de ruimte die overblijft */
.step:not(:last-child) .step-n { margin-right: calc(-1 * var(--steps-gap)); }
.step:not(:last-child) .step-n::after,
.step:not(:last-child)::after {
  background: var(--orange);
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
}
.step:not(:last-child) .step-n::after { content: ""; flex: none; width: 60px; height: 28px; margin-inline: auto; translate: 0 .045em; } /* .045em: optisch midden van de cijfers */

.composer {
  scroll-margin-top: 16px;   /* bovenop scroll-padding-top van de header */
  margin-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--leo); border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
}
.composer-title { font-size: clamp(2.2rem, 3.8vw, 3.5rem); }
.composer-intro { margin-top: 1rem; max-width: 30rem; }
.field-label, .composer legend { display: block; font-weight: 600; padding: 0; }
.field-label { margin: 1.75rem 0 .6rem; }
.composer legend { margin: 0 0 .6rem; }
.composer fieldset { margin-top: 1.75rem; }
.composer input[type="text"] {
  width: 100%; max-width: 26rem; min-height: 54px;
  font: 500 1.1rem var(--text); color: var(--navy);
  background: var(--cream); border: 2px solid var(--cream); border-radius: 14px;
  padding: .8rem 1.1rem;
}
.composer input[type="text"]::placeholder { color: rgba(1, 47, 132, .7); }
.composer input[type="text"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.composer fieldset { border: 0; margin-inline: 0; margin-bottom: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 46px; padding: .6rem 1rem;
  font: 600 1rem/1.2 var(--text); color: var(--cream);
  background: transparent; border: 2px solid rgba(253, 253, 245, .5); border-radius: 12px;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.chip::before {
  content: ""; width: 0; height: 1.05em; margin-right: 0; background: currentColor;
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
  transition: width .2s var(--ease), margin-right .2s var(--ease);
}
.chip:hover { border-color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.chip[aria-pressed="true"]::before { width: 1.05em; margin-right: .45rem; }

.preview { display: flex; flex-direction: column; }
.preview-label { font-weight: 600; margin-bottom: .9rem; }
.bubble {
  position: relative; background: var(--cream); color: var(--navy);
  border-radius: 24px 24px 6px 24px; padding: 1.3rem 1.45rem 1.1rem;
  font-size: 1.1rem; line-height: 1.5; min-height: 9.5rem;
}
.bubble::after {
  content: ""; position: absolute; right: -9px; bottom: 0; width: 18px; height: 18px;
  background: var(--cream); clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.bubble-meta { display: block; text-align: right; font-size: .8rem; color: rgba(1, 47, 132, .7); margin-top: .5rem; }
.send { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.fineprint { margin-top: 1rem; font-size: .9rem; color: rgba(253, 253, 245, .85); }
.config-note { margin-top: 1rem; padding: .8rem 1rem; border: 2px dashed var(--orange); border-radius: 12px; font-size: .95rem; }

/* ---------- Vragen ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header) + 2rem); }
.faq-side .h2 { color: var(--leo); }
/* Engels: "QUESTIONS?" is één lang woord; de kop schaalt mee met de kolom zodat het altijd past */
.faq-side { container-type: inline-size; }
:lang(en) .faq-side .h2 { font-size: min(clamp(2.75rem, 6.4vw, 6rem), 15cqw); }
.faq-side p { margin: 1.25rem 0 1.75rem; max-width: 24rem; }
.qa { background: rgba(134, 168, 230, .17); border-radius: 20px; }
.qa + .qa { margin-top: .75rem; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.2rem 1.25rem 1.2rem 1.5rem; list-style: none; cursor: pointer;
  font-weight: 600; font-size: clamp(1.08rem, .3vw + 1rem, 1.22rem); line-height: 1.35; color: var(--navy);
  border-radius: 20px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--leo) var(--plus-cream) center / 16px 16px no-repeat;
  transition: rotate .35s var(--ease), background-color .2s;
}
.qa[open]:not(.is-closing) summary::after { rotate: 45deg; background-color: var(--navy); }
.qa summary:hover::after { background-color: var(--navy); }
.qa .answer { padding: 0 1.5rem 1.5rem; max-width: 62ch; }
/* open- en dichtklappen animeert het script (zie Veelgestelde vragen), zodat het in elke browser even soepel is */
.qa.is-animating { overflow: hidden; }

/* ---------- Afsluiter ---------- */
.closing { text-align: center; overflow: hidden; }
.closing::before {
  content: ""; position: absolute; inset: 0; background: var(--cream); opacity: .055;
  -webkit-mask: var(--pattern) 0 0 / 220px 220px repeat; mask: var(--pattern) 0 0 / 220px 220px repeat;
  pointer-events: none;
}
.closing .wrap { position: relative; }
.closing .display { font-size: clamp(2.9rem, 8.4vw, 8.75rem); line-height: 1; }  /* ruim genoeg dat komma en aanhalingsteken elkaar niet raken */
.closing p { margin: clamp(1.25rem, 2.5vw, 2rem) auto clamp(1.75rem, 3vw, 2.5rem); font-size: clamp(1.15rem, .6vw + 1rem, 1.45rem); max-width: 34rem; text-wrap: balance; }

/* ---------- Taalkeuze (NL / EN) ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1.5px solid rgba(253, 253, 245, .45); border-radius: 12px; }
.lang-switch button {
  min-width: 38px; min-height: 34px; padding: 0 .55rem; border: 0; border-radius: 8px;
  background: transparent; color: var(--cream); font: 700 .84rem/1 var(--text); letter-spacing: .05em; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lang-switch button:hover { background: rgba(253, 253, 245, .14); }
.lang-switch button[aria-pressed="true"] { background: var(--cream); color: var(--leo); cursor: default; }
.mobile-menu .lang-switch { margin-top: 1.75rem; }
html.i18n-wait body { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.foot-lockup { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.foot-news { flex: 0 1 22rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 20px; background: rgba(134, 168, 230, .06); border: 1px solid rgba(134, 168, 230, .32); }  /* lichte vulling: het lichtblauwe kopje houdt genoeg contrast */
.foot-news h2 { font: 700 1rem/1.3 var(--text); color: var(--sky); }
.foot-news p { margin: .35rem 0 1.1rem; }
.foot-lockup .logo--emblem { height: clamp(80px, 10vw, 150px); }
.foot-lockup .logo--word { height: clamp(46px, 8.4vw, 130px); max-width: 100%; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgba(134, 168, 230, .35); }
.foot-cols h2 { font: 700 1rem/1.3 var(--text); color: var(--sky); margin-bottom: .9rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-cols a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.foot-cols a:hover { background-size: 100% 1.5px; }
.foot-cols p { max-width: 30ch; }
/* breed genoeg: vier kolommen naast elkaar; contact en socials zijn minstens zo breed als het langste adres */
@media (min-width: 1280px) { .foot-cols { grid-template-columns: repeat(2, minmax(max-content, 1fr)) repeat(2, minmax(0, 1fr)); } }
.contact-row { display: grid; gap: .1rem; }
.contact-row small { color: var(--sky); font-size: .85rem; }
.todo { display: inline-block; border: 1.5px dashed var(--orange); border-radius: 8px; padding: .05rem .5rem; color: var(--cream); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; font-size: .875rem; color: rgba(253, 253, 245, .72); }


/* ==========================================================================
   Micro-animaties
   Ze reageren op wat de bezoeker doet, of spelen één keer als iets in beeld komt.
   Bij 'beweging verminderen' krijgt <html> geen .motion en staat alles stil.
   ========================================================================== */
@property --reveal { syntax: '<percentage>'; inherits: false; initial-value: 110%; }

/* Knoppen: schuine glans in de merkhoek bij hover, indrukken bij klikken */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .42) 48%, transparent 64%);
  translate: -120% 0;
}
.motion .btn:hover::after { translate: 120% 0; transition: translate .9s cubic-bezier(.45, 0, .25, 1); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-ghost:hover { --bg: rgba(253, 253, 245, .08); }

/* Keuzechips: indrukken en een klein plopje bij aanzetten */
.chip { transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease); }
.chip:active { transform: scale(.95); }
.motion .chip[aria-pressed="true"] { animation: chip-pop .34s var(--ease); }
@keyframes chip-pop { 45% { transform: scale(1.07); } }

/* Vragen: blok kleurt mee bij hover, antwoord schuift zacht in */
.qa { transition: background-color .25s; }
.qa:hover { background: rgba(134, 168, 230, .26); }
.motion .qa[open] .answer { animation: fade-up .45s var(--ease) .05s backwards; }

/* Kernwaarden: dichte panelen reageren op hover */
.value:not(.is-open) .value-word { transition: translate .4s var(--ease); }
.value:not(.is-open) .value-btn:hover .value-word { translate: 0 -6px; }

/* Eén keer in beeld: koppen komen omhoog uit een masker, rijen volgen elkaar op */
.motion [data-reveal="up"]:not(.is-in) { opacity: 0; }
.motion [data-reveal="up"].is-in { animation: fade-up .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal="rise"] { clip-path: inset(-.3em -1em -.3em -1em); }
.motion [data-reveal="rise"] > .rise-inner { display: block; }
.motion [data-reveal="rise"]:not(.is-in) > .rise-inner { transform: translateY(125%); }
.motion [data-reveal="rise"].is-in > .rise-inner { animation: rise-in .95s var(--ease) backwards; }
@keyframes rise-in { from { transform: translateY(125%); } }

/* Activiteiten: het schuine streepje schiet vooruit */
.motion .act:not(.is-in) .act-mark { opacity: 0; }
.motion .act.is-in .act-mark { animation: mark-in .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + .2s); }
@keyframes mark-in { from { opacity: 0; transform: translateX(-26px); } }

/* Stappen: de chevrons lopen vol in leesrichting */
.step:not(:last-child)::after, .step:not(:last-child) .step-n::after { background: linear-gradient(90deg, var(--orange) 50%, rgba(255, 127, 0, .22) 50%) 0 0 / 200% 100%; }
.motion .step:not(.is-in)::after, .motion .step:not(.is-in) .step-n::after { background-position: 100% 0; }
.motion .step.is-in::after, .motion .step.is-in .step-n::after { animation: chev-fill .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + .5s); }
@keyframes chev-fill { from { background-position: 100% 0; } }

/* Wereldkaart: de stippen verschijnen vanuit West-Brabant */
.motion .dotmap svg {
  -webkit-mask: radial-gradient(circle farthest-corner at var(--mx) var(--my), #000 var(--reveal), transparent calc(var(--reveal) + 8%));
          mask: radial-gradient(circle farthest-corner at var(--mx) var(--my), #000 var(--reveal), transparent calc(var(--reveal) + 8%));
}
.motion .dotmap:not(.is-visible) svg { --reveal: 0%; }
.motion .dotmap.is-visible svg { animation: map-reveal 1.8s cubic-bezier(.35, .1, .25, 1) .25s backwards; }
@keyframes map-reveal { from { --reveal: 0%; } }
.motion .dotmap:not(.is-visible) .dot-us, .motion .dotmap:not(.is-visible) .dot-label { opacity: 0; }
.motion .dotmap.is-visible .dot-us { animation: pop .55s var(--ease) backwards; }
.motion .dotmap.is-visible .dot-label { animation: fade-up .6s var(--ease) 1s backwards; }
@keyframes pop { from { scale: 0; } 65% { scale: 1.25; } }
.count-stack { display: inline-grid; }
.count-stack > * { grid-area: 1 / 1; }
.count-ghost { visibility: hidden; }
.ledger .count { font-variant-numeric: lining-nums tabular-nums; }

/* Appje: bericht 'wordt getypt', daarna verschijnt het; elke keuze geeft een tikje */
.motion .composer:not(.is-in) .bubble { opacity: 0; }
.motion .composer.is-in .bubble { animation: bubble-in .55s var(--ease) .1s backwards; transform-origin: 100% 100%; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.typing { display: none; position: absolute; left: 1.45rem; top: 1.3rem; gap: 6px; align-items: center; height: 1.6em; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--leo); opacity: .3; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.bubble.is-typing .typing { display: flex; }
.bubble.is-typing #preview-text, .bubble.is-typing .bubble-meta { visibility: hidden; }
.motion .bubble.is-typed #preview-text { animation: fade-up .45s var(--ease) backwards; }
.send-status { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; font-weight: 600; }
.send-status:empty { display: none; }
.send-status::before {
  content: ""; flex: none; width: 1.1em; height: 1.1em; background: var(--orange);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.motion .send-status.is-shown { animation: fade-up .4s var(--ease); }

/* Leesvoortgang onder de header en een patroon dat meeschuift met scrollen (waar de browser dat kan) */
@supports (animation-timeline: scroll()) {
  .motion .site-header::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 3px;
    background: var(--orange); transform-origin: 0 50%;
    animation: read-progress linear both; animation-timeline: scroll(root block);
  }
  @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .motion .closing::before { animation: pattern-drift linear both; animation-timeline: view(); }
  @keyframes pattern-drift {
    from { -webkit-mask-position: 0 0; mask-position: 0 0; }
    to { -webkit-mask-position: 66px -154px; mask-position: 66px -154px; }
  }
}
@keyframes band-rise { from { transform: translateY(105%); } }

@media print {
  .motion [data-reveal] { opacity: 1 !important; animation: none !important; }
  .motion [data-reveal] > .rise-inner { transform: none !important; }
}

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { display: none; }
  .nav { gap: .6rem; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 960px) {
  .intro-grid, .values-head, .acts-head, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .composer { grid-template-columns: minmax(0, 1fr); }
  /* kernwaarden worden een gestapelde accordeon */
  .values { flex-direction: column; height: auto; }
  .value { flex: none; transition: none; }
  .value-btn { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; padding-block: 1.1rem; }
  .value-letter { font-size: clamp(3.5rem, 14vw, 5rem); min-width: 1.15em; }
  .value-word { white-space: normal; }
  .value:not(.is-open) .value-word { writing-mode: horizontal-tb; rotate: none; }
  .value-body p { width: auto; max-width: 36rem; }
  .value-btn::after {
    content: ""; margin-left: auto; width: 34px; height: 34px; flex: none; border-radius: 10px;
    background: currentColor; opacity: .9;
    -webkit-mask: var(--plus) center / 16px no-repeat; mask: var(--plus) center / 16px no-repeat;
    transition: rotate .3s var(--ease);
  }
  .value.is-open .value-btn::after { rotate: 45deg; }
}
/* Hero gestapeld (telefoon en tablet staand): tekst boven, banen + embleem eronder */
@media (max-width: 960px) {
  .hero-inner { min-height: 0; padding-block: clamp(2.25rem, 5vw, 3.5rem) 0; }
  .hero-art { position: relative; width: 100%; height: clamp(300px, 86vw, 500px); margin-top: clamp(2.25rem, 5vw, 3.5rem); }
  /* --ly iets boven het midden: de schuine onderrand van de hero snoept onderaan ~7% hoogte af */
  .hero-art { --nx: -2%; --nw: 70%; --s: 34cqh; --ly: .465; }
  .band-sky { --x: 68%; --w: 8%; }
  .band-orange { --x: 80%; --w: 7%; }
  .hero-logo { height: min(76cqh, 68cqw); translate: -51% -50%; } /* optische correctie: het silhouet is links iets breder */
  .hero-title { font-size: clamp(3.3rem, 16.4vw, 8.5rem); }
  .hero .lede { max-width: 36rem; }
}
@media (max-width: 760px) {
  :root { --header: 64px; }
  .brand .logo--emblem { height: 40px; }
  .brand .logo--word { height: 25px; }
  .actions .btn { flex: 1 1 100%; }
  .acts { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 3.25rem; }
  /* onder elkaar: pijl naar beneden in de ruimte tussen twee stappen */
  .step:not(:last-child) .step-n { margin-right: 0; }
  .step:not(:last-child) .step-n::after { content: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; bottom: -2.6rem; left: 0; width: 48px; height: 22px; rotate: 90deg; transform-origin: 24px 11px; translate: -3.5px 0; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: .75rem; }
  .dotmap-land { stroke-width: .78; }
  .dot-label { display: none; }   /* op smalle schermen legt het bijschrift direct onder de kaart het uit */
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .site-header .lang-switch { display: none; }
  .send .btn { flex: 1 1 100%; }
}

@media (max-width: 360px) {
  .brand { gap: .5rem; }
  .brand .logo--emblem { height: 34px; }
  .brand .logo--word { height: 21px; }
  .nav .btn-sm { padding-inline: .8rem; }
}

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