/* balansstad.nl — één stylesheet voor alle pagina's.
   Uitgangspunt: witte pagina, weinig kaders, één ritme. Kleur zit in de hero-gradiënt,
   de donkere resultatenband en de groene sectielabels; de rest is tekst en witruimte.
   Tokens komen uit ontwerp/tokens.css. */

@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("/fonts/PTSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("/fonts/PTSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Grond en vlakken */
  --bs-surface:       #ffffff;
  --bs-surface-soft:  #f3f7f9;  /* zachte tegel, alleen in de werkwijze */
  --bs-line:          #dde7ec;

  /* Tekst */
  --bs-ink:           #133c58;
  --bs-body:          #3a5f75;
  --bs-muted:         #5f8299;
  --bs-link:          #2b78a1;  /* 4,9:1 op wit */
  --bs-link-hover:    #1d5f83;

  /* Merk */
  --bs-green:         #5e9438;  /* tekst vanaf 24px: 3,1:1 op de lichtste hero-stop */
  --bs-green-bright:  #7fb457;  /* accenten, nooit als tekst */
  --bs-green-accent:  #6cb33f;  /* alleen in de streep en de ring, nooit als tekst */
  --bs-blue-accent:   #1f9ad6;  /* idem, het andere eind van dat verloop */
  --bs-green-soft:    #e4edd9;
  --bs-green-ink:     #3d5f2a;
  --bs-green-deep:    #4d7a2f;  /* vlak met witte tekst (routeletters), 5,1:1 */
  --bs-blue-bright:   #2e9bd0;
  --bs-split:         #a8c6d6;

  /* Knoppen en donkere band */
  --bs-button:        #133c58;
  --bs-band:          #1d4e6e;
  --bs-on-band:       #d6e6ef;
  --bs-on-band-accent:#a8d28a;

  /* Gradiënten */
  --bs-hero:   linear-gradient(155deg, #e2f0d6 0%, #d6eceb 46%, #c6e2f4 100%);
  --bs-hero-mid: #d6eceb;   /* rand om de afspeelknop */
  --bs-film:   linear-gradient(140deg, #0d6f9e 0%, #0b8f9a 50%, #4f9f4a 100%);
  --bs-stripe: linear-gradient(90deg, #6cb33f, #1f9ad6);

  /* Vorm */
  --bs-radius:        16px;
  --bs-radius-button: 8px;
  --bs-shadow-film:   0 16px 44px rgba(19, 60, 88, 0.22);

  /* Zelf gehoste letterbestanden; zie fonts/OFL-Figtree.txt en fonts/OFL-PTSans.txt. */
  --bs-font: "Figtree", system-ui, sans-serif;
  --bs-heading: "PT Sans", system-ui, sans-serif;

  /* Maten */
  --bs-gutter:  clamp(22px, 5vw, 72px);
  --bs-content: 1280px;
  --bs-measure: 680px;                 /* maximale regelbreedte lopende tekst */
  --bs-section: clamp(56px, 8vw, 104px);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--bs-font);
  font-size: 19px;
  line-height: 1.6;
  color: var(--bs-body);
  background: var(--bs-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--bs-heading); }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--bs-ink); line-height: 1.2; }
h4, h5, h6 { font-weight: 700; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
p { margin: 0; max-width: var(--bs-measure); }
p + p { margin-top: 1em; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--bs-link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--bs-link-hover); }

:focus-visible {
  outline: 3px solid var(--bs-blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--bs-content) + 2 * var(--bs-gutter));
  margin: 0 auto;
  padding-left: var(--bs-gutter);
  padding-right: var(--bs-gutter);
}

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

/* Sectieritme: elke sectie dezelfde ruimte erboven, gescheiden door één haarlijn. */
.section { padding-top: var(--bs-section); }
.section--rule > .wrap::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: calc(var(--bs-section) * 0.75);
  background: var(--bs-line);
}
.section--rule > .wrap.pair::before    { grid-column: 1 / -1; margin-bottom: calc(var(--bs-section) * 0.75 - 48px); }
.section--rule > .wrap.contact::before { grid-column: 1 / -1; margin-bottom: calc(var(--bs-section) * 0.75 - 40px); }

/* Groen sectielabel: het merkmotief van balansstraat.nl. Alleen vanaf 24px. */
.label {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bs-green);
}
.label + * { margin-top: 20px; }

/* Rustige tekstlinks met pijl */
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.more svg path { stroke: currentColor; }
.more:hover { text-decoration: underline; }

/* ---------- Knoppen ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--bs-button);
  border-radius: var(--bs-radius-button);
  background: var(--bs-button);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { background: var(--bs-ink); border-color: var(--bs-ink); color: #fff; }
.button svg { flex-shrink: 0; }
.button svg path { stroke: currentColor; }
.button--small { min-height: 48px; padding: 0 22px; font-size: 17px; }
.button--outline { background: transparent; color: var(--bs-button); }
.button--outline:hover { background: var(--bs-button); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
}

.brand { display: block; border-radius: 999px; }
.brand img { width: 62px; height: 62px; }

.site-nav { margin-left: auto; }
.nav-toggle { display: none; }   /* bestaat alleen met JavaScript op smal scherm */
.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 3px;
  border-bottom: 3px solid transparent;
  color: var(--bs-ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.button):hover { color: var(--bs-link-hover); }
.site-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--bs-green-bright); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bs-hero);
  padding-bottom: 72px;
}
.page-header { background: var(--bs-hero); }

/* Gestreepte ring: decoratie, loopt rechts van het beeld af. Rechts verankerd
   zodat hij op brede schermen niet naar het midden schuift. */
.hero-ring {
  position: absolute;
  top: 0;
  right: 0;
  width: 1440px;
  height: 900px;
  pointer-events: none;
}
.hero-ring--small { display: none; }
.hero > .wrap { position: relative; }

.hero-body {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 72px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 24px;
}
.hero-intro { grid-column: 1; grid-row: 1; align-self: end; }
.hero-actions { grid-column: 1; grid-row: 2; align-self: start; }
.film { grid-column: 2; grid-row: 1 / 3; align-self: center; }

/* Tekstkolom: ongelijke afstanden groeperen (streep 14, label 12, kop 22, lead 30) */
.stripe { width: 68px; height: 5px; background: var(--bs-stripe); }
.eyebrow { margin-top: 14px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.eyebrow .green { color: var(--bs-green); }
.eyebrow .blue  { color: var(--bs-link); }
.hero h1 {
  margin-top: 12px;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.lead { margin-top: 22px; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions .button { min-height: 58px; }

/* Film: rechts, met de afspeelknop over de linkeronderhoek */
.film { position: relative; }
.film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bs-film);
  box-shadow: var(--bs-shadow-film);
  color: #fff;
}
.film-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-stage:has(iframe) .film-poster { display: none; }          /* noscript-pad */
.film:has(.film-stage iframe) .play { display: none; }

.film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  left: -26px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  padding: 0;
  border: 5px solid var(--bs-hero-mid);
  border-radius: 999px;
  background: var(--bs-button);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s, background-color .15s;
}
.play svg { width: 30%; height: auto; margin-left: 5%; }
.play:hover { background: var(--bs-ink); transform: scale(1.04); }
.play:focus-visible { outline-offset: 4px; }

/* ---------- Twee ingangen ---------- */

.entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
}
/* Beide kolommen op één raster: logoslot van vaste hoogte, dan kop, tekst, en de knop
   of link onderaan — zo beginnen de koppen en teksten links en rechts op dezelfde hoogte. */
.entries article { display: grid; grid-template-rows: 84px auto 1fr auto; align-items: start; }
.entries .logo { display: flex; align-items: flex-end; height: 84px; }
.entries img { height: 40px; width: auto; }
.entries .logo-stad { height: 84px; }   /* letters 'Balans' even hoog als in het Balansstraat-bord (54/320 vs 47/134) */
.entries h2 { margin-top: 24px; }
.entries p { margin-top: 14px; }
.entries .button, .entries .more { margin-top: 26px; justify-self: start; align-self: end; }

/* ---------- Werkwijze ---------- */

.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.15fr);
  align-items: stretch;
  margin-top: 40px;
}

.tile {
  padding: 32px 36px;
  border-radius: var(--bs-radius);
  background: var(--bs-surface-soft);
}
.tile h3 { margin-top: 14px; }
.tile p { margin-top: 12px; }

.route-start { display: flex; flex-direction: column; justify-content: center; }
.badge {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bs-green-soft);
  color: var(--bs-green-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.route-split { display: flex; align-items: stretch; justify-content: center; }
.route-split svg { width: 96px; height: 100%; }
.route-split--stacked { display: none; }

.route-options {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.route-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; align-items: start; }
.route-card img { grid-row: 1 / 3; height: 36px; width: auto; margin-top: 2px; }
.route-card .logo-huis { height: 90px; margin-top: 0; }   /* letters even groot als in het Balansstraat-bord */
.route-card h3 { margin-top: 0; }
.route-card p { grid-column: 2; margin-top: 0; }

.route-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  color: var(--bs-ink);
}
.route-end svg { flex-shrink: 0; }
.route-end p { max-width: none; }

/* ---------- Resultaten, de donkere band ---------- */

.results {
  margin-top: var(--bs-section);
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bs-band);
  color: var(--bs-on-band);
}
.results .wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}
.results .label { color: var(--bs-on-band-accent); }
.results dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
}
.results dt { font-size: clamp(34px, 3vw, 44px); font-weight: 600; line-height: 1.1; color: #fff; }
.results dd { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }

/* ---------- Citaat en lijstjes ---------- */

.quote { margin: 0; }
.quote svg { margin-bottom: 20px; }
.quote blockquote { margin: 0; }
.quote blockquote p { max-width: 30ch; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.4; color: var(--bs-ink); }
.quote figcaption { margin-top: 18px; font-size: 17px; color: var(--bs-muted); }

.lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
  margin-top: var(--bs-section);
}
.lists h2 { font-size: 24px; }
.lists h2 + p { margin-top: 10px; font-size: 18px; }
.linklist { margin-top: 18px; }
.linklist--cols { columns: 2; column-gap: 32px; }
.linklist li { break-inside: avoid; }
.linklist a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bs-ink);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.linklist a:hover { color: var(--bs-link-hover); text-decoration: underline; }

/* ---------- Voettekst: donkere band, spiegelt de resultatenband ---------- */

.site-footer {
  margin-top: var(--bs-section);
  padding: 56px 0 64px;
  background: var(--bs-band);
  color: var(--bs-on-band);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: start;
}
.site-footer p, .site-footer a { font-size: 17px; }
.site-footer img { width: 40px; height: 40px; margin-bottom: 14px; }
.site-footer a { color: var(--bs-on-band); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a[href^="tel:"] { color: #fff; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* DigiRehab: alleen in de footer, klein, "Powered by" even breed als het logo eronder. */
.digirehab { justify-self: end; width: 160px; }
.digirehab small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.03em;    /* 'screening en training door' even breed als het logo (160px) */
  white-space: nowrap;
  color: var(--bs-on-band);
}
.digirehab img { width: 160px; height: auto; margin-top: 6px; }

/* Afzender: SOLRIZ alleen hier, klein, onder het telefoonnummer */
.afzender { margin-top: 22px; font-size: 15px; line-height: 1.5; color: var(--bs-on-band); }
.afzender a { display: inline-block; margin-top: 8px; border-radius: 8px; }
.afzender img { width: 120px; height: auto; }

/* ---------- Gemeentepagina ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px 96px;
  align-items: start;
  padding-top: 56px;   /* alleen boven: de zijkanten zijn de goot van .wrap */
}
.intro h1 { font-size: clamp(40px, 4vw, 56px); line-height: 1.08; }
.intro .lead + p { margin-top: 18px; }

.toc { padding-left: 24px; border-left: 3px solid var(--bs-green-bright); }
.toc h2 { font-size: 17px; font-weight: 700; }
.toc ol { margin-top: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.feature-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.feature-head h2 { flex: 1 1 auto; }
.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bs-green-soft);
  color: var(--bs-green-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px 96px;
  margin-top: 28px;
}
.feature-text p:first-child { color: var(--bs-ink); }
.feature-text .button { margin-top: 28px; }

.dates h3, .dates h4 { margin: 0; font-size: 17px; font-weight: 700; color: var(--bs-ink); }
.dates dl { margin: 12px 0 0; }
.dates div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--bs-line);
}
.dates dt { font-size: 17px; font-weight: 600; color: var(--bs-ink); }
.dates dd { margin: 0; font-size: 17px; line-height: 1.5; }
.dates .source { padding-top: 12px; border-top: 1px solid var(--bs-line); font-size: 16px; color: var(--bs-muted); }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
}
.pair h2 { font-size: 24px; }
.pair p { margin-top: 12px; font-size: 18px; }
.pair .more { margin-top: 10px; }

/* Stromen A/B/C naast het Wmo-verhaal: zelfde lijst als de datalijst, smallere letterkolom */
.paths div { grid-template-columns: 32px minmax(0, 1fr); }
.paths dt { font-size: 20px; color: var(--bs-green); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px 96px;
  align-items: start;
}
.contact h2 + p { margin-top: 12px; }
.contact form { display: flex; flex-direction: column; gap: 10px; margin: 0; max-width: 360px; }
.contact label { font-size: 17px; font-weight: 600; color: var(--bs-ink); }
.contact input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--bs-split);
  border-radius: var(--bs-radius-button);
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  color: var(--bs-ink);
}
.contact input::placeholder { color: var(--bs-muted); }
.contact .button { margin-top: 6px; width: 100%; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
}

@media (max-width: 1000px) {
  .route { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.2fr); }
  .route-split svg { width: 72px; }
  .tile { padding: 26px 28px; }
  .results .wrap { grid-template-columns: 1fr; gap: 28px; }
  .intro { grid-template-columns: 1fr; gap: 32px; }
  .feature-body, .contact { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  /* Navigatie: met JavaScript een knop die het menu opent; zonder JavaScript
     staan de links gewoon onder de logoregel. */
  .site-header { min-height: 80px; position: relative; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 52px; height: 52px; }

  .site-nav { flex-basis: 100%; margin-left: 0; }
  .site-nav ul { flex-wrap: wrap; gap: 4px 18px; padding-top: 8px; }
  .site-nav .button { min-height: 46px; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    margin-left: auto;
    border: 0;
    border-radius: var(--bs-radius-button);
    background: var(--bs-button);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="false"] .icon-close { display: none; }

  .js .site-nav { flex-basis: auto; margin-left: 0; }   /* de menuknop duwt zichzelf naar rechts */
  .js .site-nav ul { display: none; }
  .js .site-nav.is-open ul {
    display: flex;
    position: absolute;
    left: var(--bs-gutter); right: var(--bs-gutter);
    top: calc(100% - 6px);
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--bs-radius);
    background: #fff;
    box-shadow: var(--bs-shadow-film);
  }
  .js .site-nav li { display: flex; }
  .js .site-nav a:not(.button) {
    flex: 1;
    min-height: 52px;
    padding: 0 14px;
    border-bottom: 0;
    border-radius: 12px;
    font-size: 18px;
  }
  .js .site-nav a[aria-current="page"] { background: var(--bs-surface-soft); }
  .js .site-nav .button { flex: 1; margin-top: 8px; }

  body { font-size: 18px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  .label { font-size: 28px; }

  /* Hero in één kolom: labelregel, kop, lead, film, knoppen */
  .hero-ring { display: none; }
  .hero-ring--small { display: block; width: 390px; height: 880px; opacity: 0.35; }   /* loopt door de tekst: zacht houden */
  .hero { padding-bottom: 48px; }
  .hero-body { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; padding-bottom: 0; }
  .stripe { width: 60px; }
  .eyebrow { margin-top: 12px; }
  .hero h1 { margin-top: 10px; }
  .lead { font-size: 18px; margin-top: 16px; }
  .film { margin-top: 26px; align-self: stretch; }
  .hero-intro, .hero-actions { align-self: stretch; }
  .film-stage { border-radius: 16px; }
  .play { left: -10px; bottom: -22px; width: 72px; height: 72px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 44px; }
  .hero-actions .button { min-height: 56px; width: 100%; }

  .entries { grid-template-columns: 1fr; gap: 40px; }
  .entries h2 { margin-top: 18px; }

  /* Werkwijze onder elkaar; de splitsing wordt verticaal */
  .route { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
  .route-split { display: none; }
  .route-split--stacked { display: flex; justify-content: center; }
  .route-split--stacked svg { width: min(320px, 90%); height: auto; }
  .route-options { display: flex; flex-direction: column; gap: 16px; }
  .route-card { grid-template-columns: 1fr; gap: 10px; }
  .route-card img { grid-row: auto; }
  .route-card p { grid-column: 1; }
  .route-end { margin-top: 24px; align-items: flex-start; }
  .route-end svg { margin-top: 4px; }

  .results dl { grid-template-columns: 1fr; gap: 24px; }
  .results dd { margin-top: 6px; }

  .lists { grid-template-columns: 1fr; gap: 36px; }

  .site-footer { padding: 40px 0 48px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 20px; }
  .digirehab { justify-self: start; }

  .intro { padding-top: 32px; }
  .toc { padding-left: 18px; }
  .pair { grid-template-columns: 1fr; gap: 36px; }
  .dates div { grid-template-columns: 104px minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .button { width: 100%; padding: 0 18px; font-size: 17px; }
  .button--small, .site-nav .button { width: auto; }
  .js .site-nav .button { width: auto; }
  .linklist--cols { columns: 1; }
}

/* ---------- Gemeentepagina: nieuwe blokken (20-09-2026) ---------- */

/* Tekst naast beeld */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px 72px;
  align-items: start;
  margin-top: 24px;
}
.split > div > p:first-child { margin-top: 0; }

/* Weegschaal: twee beelden uit de film naast elkaar */
.scale-figure { margin: 0; }
.scale-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scale-pair img { width: 100%; height: auto; border-radius: var(--bs-radius); background: var(--bs-surface-soft); }
.scale-pair figcaption { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--bs-muted); }

/* Stroomschema: vier stappen met pijlen ertussen; onder 860px onder elkaar */
.flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr 1fr;
  gap: 44px;
  margin-top: 40px;
  counter-reset: none;
}
.flow-step {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: var(--bs-radius);
  background: var(--bs-surface-soft);
}
.flow-step + .flow-step::before {              /* pijl vanuit de vorige stap */
  content: "";
  position: absolute;
  top: 50%;
  left: -34px;
  width: 24px;
  height: 2px;
  background: var(--bs-split);
  transform: translateY(-50%);
}
.flow-step + .flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--bs-split);
  border-bottom: 2px solid var(--bs-split);
  transform: translateY(-50%) rotate(-45deg);
}
.flow-stage {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-muted);
}
.flow-step h3 { margin-top: 8px; font-size: 22px; }
.flow-list { margin-top: 12px; }
.flow-list li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.5;
}
.flow-list li + li { margin-top: 6px; }
.flow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bs-green-bright);
}
.flow-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--bs-line); font-size: 16px; line-height: 1.5; color: var(--bs-ink); }

.routes { margin-top: 12px; }
.routes li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 17px; line-height: 1.5; }
.routes li + li { margin-top: 10px; }
.routes strong { font-weight: 600; color: var(--bs-ink); }
.route-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--bs-green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.flow-logos { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.flow-logos img { height: auto; }
.flow-logos img[alt="Balanshuis"] { height: 60px; width: auto; }   /* letters even hoog als in het bord */
.flow-logos img[alt="Balansstraat"] { height: 24px; width: auto; }

/* Resultaten met vier cijfers, plus bronregel */
.results .wrap { grid-template-columns: 220px minmax(0, 1fr); }
.results dl.results--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.results dl.results--four dt { font-size: clamp(30px, 2.6vw, 38px); }
.results-source { grid-column: 2; margin-top: 4px; font-size: 15px; color: var(--bs-on-band); opacity: .85; }

/* Wie betaalt wat: één brede deur (AZWA), daaronder drie */
.door { margin-top: 36px; }
.door h3 { font-size: 24px; }
.door p { margin-top: 12px; font-size: 18px; }
.door .more { margin-top: 10px; }
.door--wide { padding: 32px 36px; border-radius: var(--bs-radius); background: var(--bs-surface-soft); }
.door--wide .feature-head h3 { flex: 1 1 auto; font-size: 26px; }
.door--wide .feature-body { margin-top: 20px; }
.door--wide .feature-text p:first-child { color: var(--bs-body); }
.doors-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.doors-row .door { margin-top: 40px; }

/* Wat u ervoor regelt: drie genummerde stappen */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; margin-top: 32px; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 18px; align-items: start; }
.step-number {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bs-green-soft);
  color: var(--bs-green-ink);
  font-size: 24px;
  font-weight: 600;
}
.steps h3 { font-size: 22px; }
.steps p { font-size: 17px; }

.contact-phone { margin-top: 18px; font-size: 17px; }
.contact-phone a { font-weight: 600; text-decoration: none; }
.contact-phone a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .results .wrap { grid-template-columns: 1fr; gap: 28px; }
  .results-source { grid-column: 1; }
  .flow { grid-template-columns: 1fr 1fr; gap: 40px; }
  .flow-step:nth-child(3)::before, .flow-step:nth-child(3)::after { display: none; }   /* pijl over de regelbreuk weg */
  .doors-row { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .scale-pair { gap: 14px; }
  .scale-pair figcaption { font-size: 15px; }
  .flow { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .flow-step { padding: 22px 22px 20px; }
  .flow-step + .flow-step::before {              /* pijl wordt verticaal */
    top: -24px; left: 50%; width: 2px; height: 14px; transform: translateX(-50%);
  }
  .flow-step + .flow-step::after {
    top: -16px; left: 50%; transform: translateX(-50%) rotate(45deg);
  }
  .flow-step:nth-child(3)::before, .flow-step:nth-child(3)::after { display: block; }
  .results dl.results--four { grid-template-columns: 1fr; gap: 24px; }
  .results-source { grid-column: 1; }
  .door--wide { padding: 24px; }
  .door--wide .feature-head h3 { font-size: 22px; }
}

/* ---------- Homepage: doorname drie lezers (20-09-2026) ---------- */

.hero-phone { margin-top: 18px; font-size: 17px; flex-basis: 100%; }
.hero-phone a { font-weight: 600; text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }

.entries--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.entries .entry-still { height: 84px; width: auto; border-radius: 10px; }

/* Feitenraster: wat een Balansstraat is */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 72px;
  margin: 32px 0 0;
}
.facts div { padding-top: 16px; border-top: 1px solid var(--bs-line); }
.facts dt { font-size: 20px; font-weight: 600; color: var(--bs-ink); }
.facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.55; }
.facts-title { margin-top: 48px; font-size: 24px; }
.facts-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 32px; }
.facts-foot p { margin: 0; }
.facts-foot .flow-logos { margin-top: 0; }

.lists-note { margin-top: 14px; font-size: 17px; }
.lists-note a { font-weight: 600; text-decoration: none; }
.lists-note a:hover { text-decoration: underline; }

/* Voor verwijzers */
.referrers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 56px;
  margin-top: 32px;
}
.referrers h3 { font-size: 20px; }
.referrers p { margin-top: 10px; font-size: 17px; line-height: 1.55; }
.referrers-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.referrers-actions .hero-phone { margin-top: 0; flex-basis: auto; }

@media (max-width: 860px) {
  .entries--three { grid-template-columns: 1fr; gap: 40px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .referrers { grid-template-columns: 1fr; gap: 24px; }
  .hero-phone { margin-top: 14px; }
}

/* ---------- Twee plekken om te trainen (20-09-2026) ---------- */

.tag {
  display: inline-block;
  font-family: var(--bs-font);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.tag--now  { background: var(--bs-green-soft); color: var(--bs-green-ink); }
.tag--soon { background: #e7eef3; color: var(--bs-ink); }
h3 .tag, h4 .tag { margin-left: 10px; font-size: 13px; position: relative; top: -2px; }

.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.place { display: flex; flex-direction: column; padding: 32px 36px; }
.place-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; }
.place-head img { height: 40px; width: auto; }
.place-head .logo-huis { height: 90px; }
.place h3 { margin-top: 22px; font-size: 26px; }
.place p { margin-top: 12px; flex: 1 1 auto; }
.place .button { align-self: flex-start; margin-top: 24px; }

.also { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 28px; }

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 72px; margin-top: 28px; }
.who h3 { font-size: 22px; }
.who .flow-list { margin-top: 14px; }
.who .flow-list li { font-size: 18px; }
.who-note { margin-top: 16px; font-size: 17px; color: var(--bs-ink); }
.who-note a { font-weight: 600; text-decoration: none; }
.who-note a:hover { text-decoration: underline; }

.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; margin-top: 28px; }
.offer h3, .offer h4 { margin: 0; font-size: 22px; font-weight: 700; color: var(--bs-ink); }
.facts--single { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
.facts--single div { padding-top: 14px; }
.facts--single dt { font-size: 18px; }

.notify { display: flex; flex-direction: column; gap: 8px; margin: 0; max-width: 380px; }
.notify label { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--bs-ink); }
.notify label:first-child { margin-top: 0; }
.notify input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--bs-split);
  border-radius: var(--bs-radius-button);
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  color: var(--bs-ink);
}
.notify input::placeholder { color: var(--bs-muted); }
.notify .button { margin-top: 14px; width: 100%; }
.form-note { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--bs-muted); }

@media (max-width: 1100px) {
  .places { gap: 24px; }
}
@media (max-width: 860px) {
  .places { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
  .place { padding: 24px; }
  .place-head { min-height: 0; flex-wrap: wrap; justify-content: flex-start; gap: 12px 16px; }
  .place-head .tag { white-space: nowrap; }
  .place-head .logo-huis { height: 72px; }
  .place .button { align-self: stretch; }
  .who, .offer { grid-template-columns: 1fr; gap: 28px; }
  .also { flex-direction: column; gap: 0; }
}

/* Citaat in een tekstkolom (gemeentepagina, bij de weegschaal) */
.quote--inline { margin-top: 32px; padding-left: 22px; border-left: 3px solid var(--bs-green-bright); }
.quote--inline blockquote p { max-width: 40ch; font-size: 21px; line-height: 1.5; }
.quote--inline figcaption { margin-top: 10px; font-size: 16px; }

/* ---------- Formulieren via /api/post ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify h3 { font-size: 22px; margin-bottom: 6px; }
.form-done {
  padding: 18px 22px;
  border-radius: var(--bs-radius);
  background: var(--bs-green-soft);
  color: var(--bs-green-ink);
  font-size: 18px;
  font-weight: 600;
}
.form-fout { margin-top: 10px; font-size: 16px; color: #9b2c2c; }
.referrers-actions .notify { max-width: 420px; }

.stats-note { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; color: var(--bs-on-band); opacity: .85; }
.stats-note a { color: inherit; text-decoration: underline; }

/* ---------- Weekprogramma (29-09-2026): twaalf weken, elke week een handeling ---------- */
.section--weeks { padding-bottom: var(--bs-section); background: var(--bs-hero); }   /* tekst nooit tegen de kleurovergang */
.intro + .section--weeks { margin-top: clamp(48px, 6vw, 80px); }                          /* witruimte tussen intro en gekleurd vlak */
.weeks-intro { margin-top: 12px; }
.weeks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.week { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; border-radius: var(--bs-radius); background: #fff; box-shadow: 0 2px 10px rgba(19, 60, 88, 0.06); }
.week-icons { display: flex; gap: 8px; min-height: 56px; }
.week-icons img { width: 56px; height: 56px; }
.week-nr { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--bs-green-ink); }
.week-meting { padding: 2px 9px; border-radius: 999px; background: var(--bs-green-soft); font-size: 13px; font-weight: 600; color: var(--bs-green-ink); }
.week-label { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--bs-ink); }
.weeks-note { margin-top: 24px; }
@media (max-width: 1000px) { .weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .week { padding: 14px 14px 16px; }
  .week-icons img { width: 44px; height: 44px; }
  .week-label { font-size: 16px; }
}

/* Gemeentepagina: labelregel boven de kop en de knoppen onder de opening */
.eyebrow-label { margin-bottom: 8px; font-size: 17px; font-weight: 600; color: var(--bs-green-ink); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Homepage: ingang voor gemeenten direct onder de opening */
.gemeente-strip { border-bottom: 1px solid var(--bs-line); background: var(--bs-surface-soft); }
.gemeente-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.gemeente-strip p { max-width: none; }

/* Resultaten in twee blokken: gemeten in de groep, gemeten in de pilot */
.results-blocks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.results-sub { margin-bottom: 20px; font-size: 20px; font-weight: 700; color: #fff; }
.results .results-blocks dl.results--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.results-blocks .results-source { grid-column: auto; margin-top: 18px; }
.measures { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--bs-on-band); }
.measures strong { font-weight: 600; color: #fff; }
@media (max-width: 1100px) { .results-blocks { grid-template-columns: 1fr; gap: 36px; } }

/* Kosten: opbouw per deelnemer */
.costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.costs > div { padding: 20px 22px; border-radius: var(--bs-radius); background: var(--bs-surface-soft); }
.costs dt { font-size: 19px; font-weight: 600; color: var(--bs-ink); }
.costs dd { margin: 6px 0 0; }
.costs-note { margin-top: 20px; }
@media (max-width: 700px) { .costs { grid-template-columns: 1fr; } }

/* ---------- Partners en voettekst (29-09-2026): lichte partnerband, rustige donkere voet ---------- */
.partners { margin-top: var(--bs-section); border-top: 1px solid var(--bs-line); background: var(--bs-surface-soft); }
.partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 72px; padding-top: 28px; padding-bottom: 28px; }
.partner { display: flex; align-items: center; gap: 16px; max-width: none; margin: 0; font-size: 15px; color: var(--bs-muted); }
.partner img { width: auto; height: 36px; }
.partner img[alt="SOLRIZ"] { height: 58px; }   /* beeldmerk met woord erin: groter zetten voor gelijke optische maat */
.partner a { display: inline-flex; border-radius: 6px; }
.partners + .site-footer { margin-top: 0; }
.site-footer .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 16px; }
.footer-brand p + p { margin-top: 6px; }
.site-footer .stats-note { grid-column: 1 / -1; max-width: none; margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; }
@media (max-width: 860px) {
  .partners .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* Resultaten: pilot aan huis voorop, groep ernaast, volgende pilot over de volle breedte */
.results .results-blocks dl.results--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results-next { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.results-next p { max-width: 880px; }
@media (max-width: 700px) { .results .results-blocks dl.results--four { grid-template-columns: 1fr; } }
.results .results-blocks dt { font-size: clamp(26px, 2.1vw, 30px); white-space: nowrap; }
@media (min-width: 701px) { .results .results-blocks dl.results--four { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 22px; } }
.costs-amount { display: block; margin-bottom: 6px; font-size: 26px; font-weight: 600; color: var(--bs-ink); }
