/* ==========================================================================
   Team Burgemeester Gistel – stylesheet
   Concept B "Ploegfoto": de ploegfoto op volle breedte, de slogan in een grote
   marineblauwe spreekballon, krachtige koppen in Bricolage Grotesque.
   Kleuren uit het logo met een terracotta accent op warm papier.
   Signatuur: de spreekballonvorm uit het logo (drie ronde hoeken, één vierkante).

   Inhoud
   1. Fonts
   2. Tokens
   3. Basis
   4. Layout
   5. Header en navigatie
   6. Knoppen en links
   7. Hero
   8. Secties en componenten
   9. Team
   10. Verkiezingen
   11. Agenda
   12. Formulieren
   13. Footer
   14. Hulpklassen, beweging, print
   ========================================================================== */

/* 1. Fonts (zelf gehost, SIL Open Font License) --------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* 2. Tokens -------------------------------------------------------------- */
:root {
  /* Kleuren – contrast gecontroleerd op WCAG 2.2 AA */
  --navy: #123274;        /* logotekst – koppen, 11.3:1 op papier */
  --blue: #154798;        /* logoballon – links */
  --sky: #63b9e8;         /* lichte logoballon – decoratief */
  --sky-soft: #e3f1fa;
  --terra: #b8432a;       /* accent – Word lid, 5.4:1 met wit */
  --terra-dark: #973520;
  --sand: #f3eadb;
  --paper: #fbf7f0;
  --ink: #1f2a3d;         /* lopende tekst, 13.5:1 */
  --muted: #5a6475;       /* secundaire tekst, 5.6:1 */
  --line: #e4d8c4;
  --white: #ffffff;

  /* Typografie */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.3rem, 5.2vw + 0.6rem, 4.25rem);
  --fs-h2: clamp(2rem, 3vw + 0.9rem, 3.2rem);
  --fs-h3: clamp(1.25rem, 0.8vw + 1rem, 1.5rem);
  --lh-body: 1.6;

  /* Ruimte */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --maxw: 74rem;
  --measure: 38rem;

  /* Vormen – de spreekballon */
  --bubble: 50% 50% 50% 0.35rem;
  --bubble-lg: 2.75rem 2.75rem 2.75rem 0.5rem;
  --bubble-md: 1.5rem 1.5rem 1.5rem 0.35rem;
  --radius: 0.75rem;

  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--blue);
  --header-h: 4.5rem;
}

/* 3. Basis --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-kerning: normal;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; font-variation-settings: "opsz" 36; }

p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 0.3rem; }

::selection { background: var(--sky-soft); color: var(--navy); }

.lead { font-size: clamp(1.15rem, 0.6vw + 1.05rem, 1.375rem); line-height: 1.55; color: var(--ink); }

/* 4. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* 5. Header en navigatie ------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}
.site-header__logo { flex: 0 0 auto; margin-right: auto; }
.site-header__logo img { width: 9.25rem; height: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: 600 1rem var(--font-body);
  cursor: pointer;
}
.nav-toggle__icon { width: 1.1rem; height: 0.8rem; position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle__icon::before { top: 0.1rem; }
.nav-toggle__icon::after { bottom: 0.1rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(0.25rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-0.25rem) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem;
  box-shadow: 0 1.5rem 2rem -1.5rem rgba(18, 50, 116, 0.35);
}
.site-nav__list { list-style: none; }
.site-nav__list a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav__list a[aria-current="page"] { color: var(--terra); }
.site-nav__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

.site-header .btn--small { padding-inline: 0.95rem; }
.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 29.99rem) {
  .site-header__logo img { width: 7.75rem; }
  .nav-toggle { width: 2.75rem; padding: 0; justify-content: center; }
}
@media (min-width: 30rem) {
  .nav-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (min-width: 64rem) {
  :root { --header-h: 5.25rem; }
  .site-header__logo img { width: 10.5rem; }
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav__list { display: flex; gap: 0.25rem; }
  .site-nav__list a {
    border: 0;
    font-size: 1.0625rem;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
  }
  .site-nav__list a:hover { background: var(--sand); }
  .site-nav__list a[aria-current="page"] { color: var(--navy); background: var(--sand); }
  .site-nav__social { margin: 0; gap: 0.25rem; }
  .site-header .btn--small { order: 3; }
}

/* 6. Knoppen en links ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
.btn--primary { background: var(--terra); color: var(--white); }
.btn--primary:hover { background: var(--terra-dark); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sand); color: var(--navy); }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--navy);
}
.icon-link:hover { background: var(--sand); color: var(--navy); }
.icon-link svg { width: 1.35rem; height: 1.35rem; }

.more-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration-color: var(--terra);
  text-decoration-thickness: 2px;
}

/* 7. Hero --------------------------------------------------------------- */
/* De ploegfoto op volle breedte; de slogan staat in een marineblauwe spreekballon
   die op mobiel onder de foto schuift en op desktop half over de onderrand valt. */
.hero { position: relative; }
.hero__photo { display: block; background: var(--sky-soft); }
.hero__photo img {
  width: 100%;
  height: min(58vh, 45rem);
  min-height: 20rem;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero__inner { position: relative; margin-top: -5rem; }
.hero__bubble {
  background: var(--navy);
  color: #e8eef8;
  border-radius: var(--bubble-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 44rem;
}
.hero__bubble h1 { color: var(--white); margin-bottom: 0.4em; }
.hero__bubble p { color: #e8eef8; max-width: 36rem; font-size: clamp(1.1rem, 0.5vw + 1rem, 1.25rem); }
.hero__bubble .btn-row { margin-top: 1.5rem; }
@media (min-width: 56rem) {
  .hero { margin-bottom: 8rem; }
  .hero__photo img { height: min(82vh, 45rem); }
  .hero__inner { position: absolute; left: 0; right: 0; bottom: -8rem; margin-top: 0; }
}

/* Eén georkestreerd moment bij het laden: de ballon schuift rustig binnen */
@media (prefers-reduced-motion: no-preference) {
  .hero__bubble { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }

/* Intro onder de hero */
.statement-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 52rem;
  margin: 0;
}
.intro-note { margin-top: 1.25rem; color: var(--muted); }
.intro-note a { font-weight: 700; color: var(--navy); text-decoration-color: var(--terra); text-decoration-thickness: 2px; }

/* Paginakop voor subpagina's */
.page-head { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { max-width: 42rem; }

.breadcrumbs { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* 8. Secties en componenten ---------------------------------------------- */

/* Speerpunten: lijst met ballonmarker, geen identieke kaarten */
.pillars {
  list-style: none;
  display: grid;
  gap: 1.75rem 3rem;
}
@media (min-width: 40rem) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillars li { position: relative; padding-left: 2.25rem; }
.pillars li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--sky);
  border-radius: var(--bubble);
}
.pillars li:nth-child(3n+2)::before { background: var(--blue); }
.pillars li:nth-child(3n)::before { background: var(--terra); }
.pillars h3 { margin-bottom: 0.3em; }
.pillars p { margin: 0; color: var(--ink); }

/* Tekstblok met accentlijn voor missie en visie */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2vw + 1.05rem, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  max-width: 40rem;
}

.prose p { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; max-width: var(--measure); }
.prose li { margin-bottom: 0.35em; }

/* Deelgemeenten */
.places {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.places li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--bubble-md);
  padding: 0.45rem 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* Band: Volg ons */
.band-social { background: var(--navy); color: var(--paper); }
.band-social h2 { color: var(--white); }
.band-social p { color: #dbe3f0; }
.band-social .dialect { font-family: var(--font-display); font-style: italic; color: var(--sky); }

/* Band: Word lid */
.join {
  background: var(--sand);
  border-radius: var(--bubble-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 48rem) { .join { grid-template-columns: minmax(0, 1fr) auto; } }
.join h2 { margin-bottom: 0.35em; }
.join p { margin: 0; }

/* Kaart met contactgegevens */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--bubble-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-card h2, .contact-card h3 { margin-bottom: 0.15em; }
.contact-card__role { color: var(--muted); margin-bottom: 1.25rem; }
.contact-list { list-style: none; display: grid; gap: 0.6rem; }
.contact-list a { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 600; text-decoration: none; min-height: 2.75rem; }
.contact-list a:hover { text-decoration: underline; }
.contact-list svg { width: 1.25rem; height: 1.25rem; color: var(--terra); flex: 0 0 auto; }

/* 9. Team ---------------------------------------------------------------- */
.portrait {
  position: relative;
  aspect-ratio: 1;
  background: var(--sand);
  border-radius: var(--bubble);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--navy);
  background: var(--sky-soft);
}

.people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}
@media (min-width: 40rem) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .people--small { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.person { margin: 0; }
.person .portrait { margin-bottom: 0.8rem; }
.person__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}
.person__role { margin: 0.15rem 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.4; }

/* College: grotere kaarten met bevoegdheden */
.college {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) { .college { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.college__item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--bubble-md);
  padding: 1.25rem;
}
@media (min-width: 30rem) { .college__item { grid-template-columns: 8.5rem minmax(0, 1fr); } }
.college__item h3 { margin: 0.2rem 0 0.1rem; }
.college__role { margin: 0 0 0.6rem; font-weight: 600; color: var(--terra); }
.college__tasks { margin: 0; color: var(--ink); font-size: var(--fs-small); line-height: 1.5; }

/* Home: teamstrip */
.team-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}
@media (min-width: 40rem) { .team-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .team-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Bovenlokale mandaten */
.mandates { list-style: none; border-top: 1px solid var(--line); max-width: 48rem; }
.mandates li {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 36rem) { .mandates li { grid-template-columns: 14rem minmax(0, 1fr); } }
.mandates strong { color: var(--navy); font-weight: 600; }

.subhead { margin-top: clamp(2.75rem, 5vw, 4rem); }
.note { color: var(--muted); font-size: var(--fs-small); }

/* 10. Verkiezingen ------------------------------------------------------- */
.chart-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--bubble-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.chart-card figcaption { color: var(--muted); font-size: var(--fs-small); margin-top: 1rem; }
.chart-wrap { display: none; }
.chart-wrap svg { width: 100%; }
@media (min-width: 48rem) {
  .chart-wrap { display: block; }
  .timeline { display: none; }
}
/* Mobiel: dezelfde reeks als verticale tijdlijn */
.timeline { list-style: none; position: relative; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.6rem; bottom: 0.6rem; width: 3px; background: var(--navy); border-radius: 2px; }
.timeline li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.75rem; align-items: baseline; padding: 0 0 1.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.75rem; top: 0.3rem; width: 1rem; height: 1rem; background: var(--terra); border: 3px solid var(--white); border-radius: 50%; }
.timeline__year { font-weight: 700; color: var(--navy); }
.timeline__list { color: var(--muted); font-size: var(--fs-small); }
.timeline__pct { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); grid-row: span 2; align-self: center; }
.timeline__seats { grid-column: 1 / 3; font-size: var(--fs-small); }
.timeline__bar { grid-column: 1 / -1; height: 0.5rem; background: var(--sand); border-radius: 999px; margin-top: 0.4rem; overflow: hidden; }
.timeline__bar span { display: block; height: 100%; background: var(--sky); border-radius: 999px; }
.chart text { font-family: var(--font-body); fill: var(--ink); }
.chart .c-year { font-weight: 700; font-size: 17px; fill: var(--navy); }
.chart .c-list { font-size: 14px; fill: var(--muted); }
.chart .c-pct { font-family: var(--font-display); font-size: 26px; fill: var(--navy); font-weight: 600; }
.chart .c-seats { font-size: 14px; fill: var(--ink); }
.chart .c-grid { stroke: var(--line); stroke-width: 1; }
.chart .c-axis { font-size: 13px; fill: var(--muted); }
.chart .c-line { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.chart .c-dot { fill: var(--terra); stroke: var(--white); stroke-width: 3; }

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { background: var(--sand); border-radius: var(--bubble-md); padding: 1rem 1.2rem; }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; line-height: 1.2; }
.stats span { color: var(--muted); font-size: var(--fs-small); }

.election { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.election__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.election__head h2 { margin-bottom: 0.3em; }
.election__meta { color: var(--muted); margin: 0 0 1rem; }

.seatbar {
  display: flex;
  height: 2.25rem;
  border-radius: 999px;
  overflow: hidden;
  margin: 1.25rem 0 1rem;
  background: var(--line);
  max-width: 48rem;
}
.seatbar span { display: block; height: 100%; border-right: 2px solid var(--paper); }
.seatbar span:last-child { border-right: 0; }

.legend { list-style: none; display: grid; gap: 0.4rem 1.5rem; max-width: 48rem; }
@media (min-width: 36rem) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legend li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-small); }
.legend i { width: 0.9rem; height: 0.9rem; border-radius: var(--bubble); flex: 0 0 auto; }
.legend b { color: var(--navy); }

/* Partijkleuren: bewust neutraal, enkel onze lijst in marineblauw */
.p-ours { background: var(--navy); }
.p-1 { background: #8f9bb0; }
.p-2 { background: #c7b394; }
.p-3 { background: #6f7a8c; }
.p-4 { background: #b9c6d6; }
.p-5 { background: #a89276; }

details.results { margin-top: 1.5rem; max-width: 48rem; }
details.results summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
details.results summary::-webkit-details-marker { display: none; }
details.results summary::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--terra);
  border-bottom: 2px solid var(--terra);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
details.results[open] summary::before { transform: rotate(45deg); }

.table-wrap { overflow-x: auto; margin-top: 0.75rem; }
table.votes { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 26rem; }
table.votes caption { text-align: left; color: var(--muted); padding-bottom: 0.5rem; }
table.votes th, table.votes td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
table.votes th { color: var(--navy); font-weight: 700; }
table.votes td.num, table.votes th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.votes tr.is-ours td { background: var(--sky-soft); }
table.votes tr.is-ours td:first-child { box-shadow: inset 3px 0 0 var(--navy); }

/* 11. Agenda ------------------------------------------------------------- */
.events { list-style: none; display: grid; gap: 1rem; }
.event {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--bubble-md);
  padding: 1.25rem;
}
@media (min-width: 40rem) { .event { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 1.5rem; } }
.event__date {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--bubble);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  line-height: 1.05;
  padding: 0.5rem;
}
.event__date b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.event__date span { display: block; font-size: 0.95rem; }
.event__date--tbd { background: var(--sky-soft); color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.event h3 { margin: 0 0 0.3rem; }
.event__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; color: var(--muted); font-size: var(--fs-small); margin-bottom: 0.5rem; }
.event__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.event__meta svg { width: 1rem; height: 1rem; color: var(--terra); }
.event p { margin: 0; }
.event .more-link { margin-top: 0.75rem; }

/* 12. Formulieren -------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 36rem) {
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--pc { grid-template-columns: 9rem minmax(0, 1fr); }
}
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #b8ab96;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-soft); outline: none; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: var(--fs-small); margin: 0.35rem 0 0; font-weight: 600; }
.field__error:empty { display: none; }

.check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0.2rem 0 0; accent-color: var(--navy); }
.check label { font-weight: 400; color: var(--ink); margin: 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status--ok { background: #e4f2e7; color: #1c5a2c; }
.form-status--error { background: #fbe9e7; color: #8c1d18; }

/* 13. Footer ------------------------------------------------------------- */
.site-footer { background: #0e2658; color: #dbe3f0; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
main > :last-child:not(.section) { margin-bottom: var(--section); }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer__logo { width: 12rem; margin-bottom: 1rem; }
.site-footer__slogan { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); line-height: 1.35; max-width: 20rem; }
.site-footer .dialect { font-family: var(--font-display); font-style: italic; color: var(--sky); }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 0.25rem; }
.site-footer ul a { display: inline-block; padding: 0.3rem 0; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer .icon-link { color: var(--white); }
.site-footer .icon-link:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.site-footer__social { display: flex; gap: 0.5rem; margin: 0.75rem 0 1.25rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: var(--fs-small);
}
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--sky); }

/* 13b. Componenten concept B ------------------------------------------- */

/* Speerpunten als mozaïek van gekleurde tegels */
.mosaic { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 11rem;
  padding: 1.75rem;
  border-radius: var(--bubble-md);
  background: var(--white);
}
.tile h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.tile p { margin: 0; }
.tile--0 { background: var(--navy); }
.tile--1 { background: var(--sky-soft); }
.tile--2 { background: var(--sand); border-radius: 1.5rem 1.5rem 0.35rem 1.5rem; }
.tile--3 { background: var(--terra); }
.tile--4 { background: var(--white); border: 1.5px solid var(--line); }
.tile--5 { background: var(--blue); border-radius: 1.5rem 1.5rem 0.35rem 1.5rem; }
.tile--0 h3, .tile--0 p, .tile--3 h3, .tile--3 p, .tile--5 h3, .tile--5 p { color: var(--white); }
.section--sand .tile--2 { background: var(--paper); }
.mosaic--long .tile { min-height: 13rem; }

/* Kop met link rechts */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; margin-bottom: 1.75rem; }
.head-row h2 { margin: 0; }
.head-row a { font-weight: 700; color: var(--navy); text-decoration-color: var(--terra); text-decoration-thickness: 2px; }

/* Personen als witte kaarten */
.person {
  background: var(--white);
  border-radius: var(--bubble-md);
  padding: 0.75rem 0.75rem 1.1rem;
}
.person .portrait { border-radius: 1rem 1rem 1rem 0.25rem; background: var(--sky-soft); margin-bottom: 0.8rem; }
.person__name { font-size: 1.15rem; line-height: 1.2; }
.section:not(.section--sand) .person { border: 1.5px solid var(--line); }

/* Teamstrip op de homepagina: swipen op mobiel */
.team-strip {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(11rem, 1fr);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.team-strip > li { scroll-snap-align: start; }
@media (min-width: 64rem) { .team-strip { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }

/* Activiteiten: kaart met marineblauwe rand en datumlabel */
.event {
  display: block;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--bubble-md);
  padding: 1.5rem;
}
.event__date {
  display: inline-flex;
  aspect-ratio: auto;
  background: var(--sky-soft);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.event__date div { display: flex; gap: 0.3rem; align-items: baseline; }
.event__date b { display: inline; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; }
.event__date span { display: inline; font-size: 0.95rem; }
.event__date span br { display: none; }
.event__date--tbd { font-size: 0.95rem; }
.event h3 { font-size: 1.5rem; }
.events--grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .events--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Duo: volg ons + doe mee */
.duo { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo > div { border-radius: var(--bubble-lg); padding: clamp(1.75rem, 4vw, 2.75rem); color: var(--white); }
.duo h2 { color: var(--white); margin-bottom: 0.5rem; }
.duo p { color: #eef2f9; }
.duo__social { background: var(--navy); }
.duo__join { background: var(--terra); }
.duo .btn-row { margin-top: 1.5rem; }
.duo .dialect { color: var(--sky); }

/* Word lid-band op subpagina's: terracotta blok */
.join { background: var(--terra); color: var(--white); }
.join h2 { color: var(--white); }
.join p { color: #fbeee9; }
.join .btn--primary { background: var(--white); color: var(--navy); }
.join .btn--primary:hover { background: var(--sand); color: var(--navy); }

/* Paginakop subpagina's */
.page-head h1 { max-width: 20ch; }

/* 14. Hulpklassen, beweging, print ---------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

@media print {
  .site-header, .site-footer, .band-social, .join, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* Aanvullingen */
.site-footer .subhead-footer { margin-top: 1.75rem; }
.dialect { font-family: var(--font-display); font-style: italic; }
.prose .dialect { color: var(--navy); }
.band-social .btn-row { margin-top: 0; align-self: center; }
