/* ==========================================================
   Samen verduurzamen — herbouw
   Huisstijl ongewijzigd; verfijnde presentatie voor desktop en mobiel.
   Motief: het pijltje onder een gekleurd vlak ("we praten samen").
   ========================================================== */

:root {
  --blauw: #1d4a6b;
  --blauw-diep: #143651;
  --geel: #f7d548;
  --groen: #3d8649;
  --lime: #8cc63f;
  --mist: #e8edf0;
  --mist-licht: #f2f5f6;
  --wit: #ffffff;
  --lijn: #d5dde2;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kop: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;

  /* typeschaal (verhouding ~1.333) */
  --fs-klein: .875rem;
  --fs-tekst: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .5vw, 1.3rem);
  --fs-h4: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  --fs-h1: clamp(2.6rem, 1.8rem + 3.4vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --leesbreedte: 68ch;
  --r: 10px;
  --sectie: clamp(64px, 8vw, 128px);
  --pijl: 22px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-tekst); line-height: 1.7;
  color: var(--blauw); background: var(--wit); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blauw); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--groen); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--kop); font-weight: 700; line-height: 1.02; letter-spacing: -.005em;
  margin: 0 0 .45em; color: var(--blauw); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; color: var(--lime); letter-spacing: .01em; margin-bottom: .35em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; z-index: 200; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--wit); padding: 8px 14px; }

/* Het motief: pijltje onder een vlak */
.pijl { position: relative; }
.pijl::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: var(--pijl) solid transparent; border-bottom: 0; border-top-color: var(--pijl-kleur, var(--mist));
  z-index: 2;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--wit);
  transition: box-shadow .3s ease, margin-bottom .35s ease;
}
.site-header.klein { box-shadow: 0 1px 0 var(--lijn), 0 8px 24px rgba(20, 54, 81, .06); margin-bottom: var(--header-verschil, 0px); }
.site-header.meten, .site-header.meten * { transition: none !important; }
/* De browser mag de scrollpositie niet "corrigeren" als de balk van grootte wisselt; dat liet hem trillen */
html { overflow-anchor: none; }
.header-binnen {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.boog { display: none; }
.logo { position: relative; z-index: 1; display: block; padding: 10px 0; transition: padding .35s ease; }
.logo img { height: 56px; width: auto; transition: height .35s ease; }
.main-nav { display: none; }
.header-contact { display: none; }

.menu-toggle {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blauw); color: var(--wit); font-family: var(--kop); font-weight: 700; font-size: 1.2rem;
}

@media (min-width: 992px) {
  .site-header { overflow: hidden; }
  .boog {
    display: block; position: absolute; left: 50%; top: -470px; transform: translateX(-50%);
    width: 960px; height: 700px; border: 2px solid var(--lime); border-radius: 50%;
    pointer-events: none; transition: opacity .3s;
  }
  .logo { padding: 28px 0 32px; }
  .logo img { height: 120px; }
  .main-nav { display: block; position: relative; z-index: 1; }
  .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
  .main-nav li + li { border-left: 1px solid var(--lijn); }
  .main-nav a {
    display: block; padding: 2px clamp(20px, 2.6vw, 44px); font-size: 1.2rem;
    text-decoration: none; color: var(--blauw); position: relative;
  }
  .main-nav a::after {
    content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
    background: var(--lime); transform: translateX(-50%) scale(0); transition: transform .2s ease;
  }
  .main-nav a:hover { color: var(--blauw); }
  .main-nav a:hover::after, .main-nav a.actief::after { transform: translateX(-50%) scale(1); }
  .header-contact {
    display: flex; align-self: flex-start; align-items: center; justify-content: center; position: relative; z-index: 1;
    width: 190px; height: 184px; background: var(--blauw); color: var(--wit); text-decoration: none;
    font-family: var(--kop); font-weight: 700; font-size: 1.9rem; border-radius: 0 0 var(--r) var(--r);
    transition: height .35s ease, width .35s ease, background .2s, border-radius .35s, margin .35s, font-size .35s;
  }
  .header-contact:hover { background: var(--groen); color: var(--wit); }
  .menu-toggle { display: none; }

  /* compacte stand na scrollen */
  .site-header.klein .logo { padding: 10px 0; }
  .site-header.klein .logo img { height: 56px; }
  .site-header.klein .boog { opacity: 0; }
  .site-header.klein .header-contact {
    align-self: center; width: 150px; height: 50px; font-size: 1.35rem; border-radius: 999px;
  }
}

/* Menu mobiel: volledig scherm */
.offcanvas {
  position: fixed; inset: 0; z-index: 100; background: var(--blauw); color: var(--wit);
  padding: 20px var(--gutter) 32px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.offcanvas.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
.offcanvas-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.offcanvas a { color: var(--wit); text-decoration: none; }
.offcanvas-top a { font-size: 1.4rem; }
.offcanvas button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35);
  background: none; color: var(--wit); font-size: 1.3rem; cursor: pointer;
}
.offcanvas ul { list-style: none; margin: auto 0; padding: 0; }
.offcanvas li a {
  display: block; padding: 10px 0; font-family: var(--kop); font-weight: 700;
  font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.1;
}
.offcanvas li a:hover { color: var(--geel); }
.offcanvas-voet { font-size: var(--fs-klein); opacity: .85; line-height: 1.9; }
.offcanvas-voet a { text-decoration: underline; }
.menu-overlay { display: none; }
body.menu-open { overflow: hidden; }

/* ---------- Hero: fotomozaïek ---------- */
.hero { padding: 8px 0 0; }
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--mist); border-radius: 6px;
}
.hero-grid img.extra { display: none; }
.hero-title {
  order: -1; grid-column: 1 / -1; background: var(--geel); border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px 20px 36px;
}
.hero-title h1 { margin: 0; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: .98; max-width: 100%; }
.hero-title span {
  display: block; margin-top: 18px; background: var(--wit); color: var(--groen); border-radius: 4px;
  font-family: var(--font); font-weight: 600; font-size: clamp(.9rem, .8rem + .4vw, 1.1rem);
  padding: 9px 22px; line-height: 1.3;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-grid img.extra { display: block; }
  .hero-title { order: 0; grid-column: span 2; padding: 6% 7%; container-type: inline-size; }
  .hero-title span { align-self: stretch; }
  /* Tekst schaalt mee met de breedte van de gele tegel zelf, niet met het scherm:
     zo past "Toekomstbestendige" op elk desktopformaat binnen de tegel. */
  .hero-title h1 { font-size: 2.2rem; }
  .hero-title span { font-size: .9rem; }
}
@supports (container-type: inline-size) {
  @media (min-width: 992px) {
    .hero-title h1 { font-size: clamp(1.5rem, 11.4cqi, 3.6rem); }
    .hero-title span { font-size: clamp(.72rem, 4.3cqi, 1.1rem); margin-top: 5cqi; padding: .55em .9em; }
  }
}

/* Het ene laadmoment: tegels verschijnen in een diagonale golf, titel als laatste */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: tegel .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
  .hero-title { animation-name: titel; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
}
@keyframes tegel { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes titel { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Intro ---------- */
.intro { padding: clamp(40px, 5vw, 72px) 0 0; }
.intro-box {
  --pijl-kleur: var(--mist);
  background: var(--mist); border-radius: var(--r);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 120px);
}
.intro-box p {
  margin: 0 auto; max-width: 26em; text-align: center; font-family: var(--kop); font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.2; text-wrap: balance;
}
.intro-text {
  max-width: var(--leesbreedte); margin: 0 auto; padding: calc(var(--pijl) + clamp(36px, 5vw, 64px)) 0 0;
  font-size: var(--fs-lead); line-height: 1.75;
}

/* ---------- Video ---------- */
.video-section { padding: var(--sectie) 0 0; }
.video-section h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.video-section h2 u { text-decoration-color: var(--geel); text-decoration-thickness: .14em; text-underline-offset: .08em; text-decoration-skip-ink: none; }
.video-wrap {
  position: relative; z-index: 3; aspect-ratio: 16 / 9; max-width: 1200px; margin: 0 auto;
  border-radius: var(--r); overflow: hidden; background: var(--blauw-diep) center / cover no-repeat;
  box-shadow: 0 24px 60px -24px rgba(20, 54, 81, .45);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  background: linear-gradient(180deg, rgba(20, 54, 81, .55), rgba(20, 54, 81, .88)); color: var(--wit);
}
.video-overlay-inner { max-width: 520px; font-size: var(--fs-klein); line-height: 1.6; }
.video-overlay-inner p { margin-bottom: 18px; }
.play {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  background: var(--geel); color: var(--blauw); border-radius: 999px; padding: 12px 24px 12px 14px;
  font-family: var(--kop); font-weight: 700; font-size: 1.25rem; transition: transform .15s ease;
}
.play i {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blauw); color: var(--geel);
  display: grid; place-items: center; font-size: .95rem; padding-left: 3px;
}
.play:hover { transform: scale(1.03); }
@media (max-width: 575px) { .video-overlay-inner p { display: none; } .video-overlay-inner .mini { display: block; } }
.video-overlay-inner .mini { display: none; margin-top: 12px; font-size: .78rem; opacity: .85; }

/* ---------- Aanpak ---------- */
.aanpak-head {
  background: var(--geel) url("../img/boog-geel.webp") center / auto 100% no-repeat;
  margin-top: clamp(-180px, -12vw, -60px);
  padding: calc(clamp(60px, 12vw, 180px) + clamp(48px, 6vw, 80px)) 0 clamp(120px, 12vw, 170px);
  text-align: center;
}
.aanpak-head h2 { margin: 0; }
.aanpak-body { padding-bottom: var(--sectie); }
.aanpak-box {
  position: relative; background: var(--wit); border-radius: var(--r) var(--r) 0 0;
  margin-top: clamp(-110px, -8vw, -72px);
}
/* Groene onderrand: precies even breed als het witte vlak, samen één kaart */
.aanpak-box::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 18px; background: var(--groen); border-radius: 0 0 var(--r) var(--r);
}
.aanpak-grid {
  display: grid; grid-template-columns: 1fr; gap: 0 clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 64px) clamp(24px, 3vw, 40px);
}
@media (min-width: 900px) { .aanpak-grid { grid-template-columns: repeat(3, 1fr); } }
.aanpak-kol { position: relative; }
.aanpak-kol::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(-1 * clamp(36px, 5vw, 64px)); border: 20px solid transparent; border-bottom: 0;
  border-top: 28px solid var(--geel);
}
@media (max-width: 899px) { .aanpak-kol + .aanpak-kol::before { display: none; } }
.aanpak-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 0 20px; align-items: center;
  margin: 0 0 20px; line-height: 1.5;
}
.aanpak-item i {
  width: 52px; height: 52px; border-radius: 50%; background: var(--mist-licht); color: var(--groen);
  display: grid; place-items: center; font-size: 1.25rem;
}

/* ---------- Standpunten ---------- */
.standpunten-sectie { padding: var(--sectie) 0; }
.standpunten-sectie h2 { color: var(--groen); margin-bottom: clamp(32px, 4vw, 56px); }
.standpunten-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; text-align: left; }
@media (min-width: 768px) { .standpunten-grid { grid-template-columns: repeat(3, 1fr); } }
.standpunt-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--mist-licht); border-radius: var(--r); padding: clamp(28px, 3vw, 44px);
  border-bottom: 4px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.standpunt-card:hover, .standpunt-card:focus-within { border-bottom-color: var(--lime); background: var(--mist); }
.standpunt-card .title {
  display: flex; gap: 16px; align-items: center; margin-bottom: 18px;
  font-family: var(--kop); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1;
}
.standpunt-card .title i {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--wit); color: var(--lime); font-size: 1.3rem;
}
.standpunt-card p { line-height: 1.6; }
.standpunt-card a.stretched {
  margin-top: auto; padding-top: 12px; color: var(--groen); font-size: 1.25rem; text-decoration: none;
  transition: transform .2s ease; align-self: flex-start;
}
.standpunt-card:hover a.stretched { transform: translateX(6px); }
.standpunt-card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }

/* ---------- Impact ---------- */
.impact { padding: 0 0 clamp(24px, 4vw, 48px); }
.impact h2 { margin-bottom: clamp(8px, 2vw, 24px); }
.impact img { margin: 0 auto; width: 100%; max-width: 1080px; }

/* ---------- Resultaat ---------- */
.resultaat-head {
  --pijl-kleur: var(--groen);
  background: var(--groen); padding: clamp(40px, 5vw, 64px) 0; text-align: center;
}
.resultaat-head h3 { color: var(--geel); }
.resultaat-head h2 { color: var(--wit); margin: 0; }
.voordelen-sectie { padding: calc(var(--sectie) + var(--pijl)) 0 var(--sectie); }
.voordelen-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .voordelen-grid { grid-template-columns: 1fr 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); } }
.voordelen-titel { font-family: var(--kop); font-weight: 700; font-size: var(--fs-h4); line-height: 1; margin-bottom: 18px; }
.voordelen { list-style: none; margin: 0; padding: 0; }
.voordelen li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--lijn); line-height: 1.4; font-weight: 500;
}
.voordelen li:first-child { border-top: 1px solid var(--lijn); }
.voordelen li::before {
  content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--wit);
}
.voordelen.minder li::before { content: "\f063"; background: var(--geel); color: var(--blauw); }
.voordelen-img { width: 100%; max-width: 560px; margin: 0 auto; align-self: center; }
@media (max-width: 899px) { .voordelen-img { order: -1; max-width: 360px; } }

/* ---------- Contact ---------- */
.contact-section { position: relative; isolation: isolate; text-align: center; padding: 0 0 clamp(64px, 8vw, 110px); }
.contact-section::before {
  content: ""; position: absolute; inset: calc(var(--fs-h2) * .55) 0 0 0; z-index: -1;
  background: var(--geel) url("../img/boog-groen.webp") center / auto 100% no-repeat;
}
.contact-section h2 { margin: 0; }
.form-contact {
  max-width: 640px; margin: clamp(28px, 4vw, 44px) auto 0; display: grid; gap: 14px;
  background: var(--wit); border-radius: var(--r); padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 20px 50px -28px rgba(20, 54, 81, .45); text-align: left;
}
.veld { position: relative; }
.veld input {
  width: 100%; height: 60px; padding: 22px 18px 6px; border: 1.5px solid var(--lijn); border-radius: 8px;
  background: var(--wit); font-family: var(--font); font-size: 1rem; color: var(--blauw);
  transition: border-color .2s;
}
.veld label {
  position: absolute; left: 19px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-family: var(--kop); font-weight: 700; font-size: 1.15rem; color: var(--blauw);
  transition: top .18s ease, font-size .18s ease, color .18s ease;
}
.veld input:focus { outline: none; border-color: var(--groen); }
.veld input:focus + label, .veld input:not(:placeholder-shown) + label { top: 15px; font-size: .85rem; color: var(--groen); }
.veld input.invalid { border-color: #b3261e; }
.veld input.invalid + label { color: #b3261e; }
.form-contact .hp { position: absolute; left: -9999px; }
.form-contact button {
  height: 60px; border: 0; border-radius: 8px; cursor: pointer; margin-top: 4px;
  background: var(--groen); color: var(--wit); font-family: var(--kop); font-weight: 700; font-size: 1.4rem;
  transition: background .2s ease;
}
.form-contact button:hover { background: var(--blauw); }
.form-contact button:disabled { opacity: .6; cursor: progress; }
.form-melding { margin: 0; min-height: 1.4em; font-size: var(--fs-klein); font-weight: 600; text-align: center; }

/* ---------- Logo's: doorlopende band ---------- */
.logos-sectie { padding: var(--sectie) 0; overflow: hidden; }
.logo-band {
  margin-top: clamp(32px, 4vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-rij { display: flex; width: max-content; gap: clamp(40px, 6vw, 96px); align-items: center; }
.logo-rij img { height: clamp(56px, 6vw, 88px); width: auto; max-width: 220px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .logo-rij { animation: band 45s linear infinite; }
  .logo-band:hover .logo-rij { animation-play-state: paused; }
}
@keyframes band { to { transform: translateX(calc(-50% - clamp(20px, 3vw, 48px))); } }
@media (prefers-reduced-motion: reduce) {
  .logo-rij { width: auto; flex-wrap: wrap; justify-content: center; }
  .logo-rij [aria-hidden="true"] { display: none; }
}

/* ---------- Subpagina's ---------- */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; font-size: var(--fs-klein); }
.breadcrumb li + li::before { content: "\203A"; margin-right: 8px; color: var(--lime); font-weight: 600; }
.breadcrumb a { text-decoration: none; }
.page-head { padding: clamp(32px, 5vw, 72px) 0 var(--sectie); }
.page-head h1 { color: var(--groen); }
/* Heel smalle schermen (320px): lange woorden zoals “Omgevingskwaliteit” passen dan net niet */
@media (max-width: 340px) { .page-head h1 { font-size: 2.2rem; } }
.page-head h1 { overflow-wrap: break-word; hyphens: auto; }
.page-lead {
  font-family: var(--kop); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.2; max-width: 28em; margin-bottom: 1em; text-wrap: balance;
}
.page-body { max-width: var(--leesbreedte); font-size: var(--fs-lead); line-height: 1.75; }
.blokken-sectie { --pijl-kleur: var(--groen); }
.blokken-kop { background: var(--groen); padding: clamp(40px, 5vw, 64px) 0; text-align: center; }
.blokken-kop h2 { color: var(--wit); margin: 0; }
.blokken-body { padding: calc(var(--sectie) + var(--pijl)) 0 var(--sectie); }
.blokken { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .blokken { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blok h4, .standpunt-card .title { hyphens: auto; overflow-wrap: break-word; }
.blok { background: var(--mist-licht); border-radius: var(--r); padding: clamp(28px, 3vw, 44px); border-top: 4px solid var(--lime); }
.blok h4 { font-size: var(--fs-h4); line-height: 1.05; margin-bottom: .6em; }
.blok p { margin: 0; line-height: 1.7; }
.page-img { margin: clamp(48px, 6vw, 88px) auto 0; width: 100%; max-width: 900px; }

.prose { max-width: 820px; }
.prose h1 { color: var(--groen); }
.prose h4 { font-size: var(--fs-h4); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

/* ---------- Footer ---------- */
footer { background: var(--mist); margin-top: 0; }
.prefooter { padding: clamp(48px, 6vw, 88px) 0 32px; }
.prefooter h5 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: .5em; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; line-height: 1.8; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.1fr; gap: 72px; } .footer-grid > :first-child { grid-column: auto; } }
.footer-grid > :first-child p { max-width: 44ch; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { display: flex; gap: 14px; align-items: baseline; }
.footer-grid ul li i { color: var(--groen); font-size: .8rem; }
.footer-grid ul a { text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-contact p { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: baseline; margin-bottom: .55em; }
.footer-contact i { color: var(--groen); }
.postfooter { padding: 8px 0 clamp(28px, 4vw, 40px); font-size: var(--fs-klein); line-height: 1.6; }
.postfooter .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-top: 1px solid var(--lijn); padding-top: 24px;
}
.bottom-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
.bottom-menu a, .bottom-menu button { color: var(--blauw); }
.bottom-menu button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
.postfooter .samen-groen { height: clamp(96px, 10vw, 150px); width: auto; }

/* ---------- Zwevende knoppen ---------- */
.floating-buttons { position: fixed; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.floating-btn {
  display: grid; place-items: center; text-decoration: none; color: var(--wit);
  background: linear-gradient(180deg, var(--lime), var(--groen)); transition: filter .2s, transform .2s;
}
.floating-btn:hover { color: var(--wit); filter: brightness(1.08); }
@media (min-width: 992px) {
  .floating-buttons { right: 0; top: 50%; transform: translateY(-50%); }
  .floating-btn { width: 60px; height: 64px; font-size: 1.6rem; border-radius: var(--r) 0 0 var(--r); }
  .floating-btn:hover { transform: translateX(-4px); }
}
@media (max-width: 991px) {
  .floating-buttons { right: 16px; bottom: 16px; }
  .floating-btn { width: 56px; height: 56px; border-radius: 50%; font-size: 1.6rem; box-shadow: 0 8px 20px rgba(20, 54, 81, .25); }
  .floating-btn.standpunten-btn { display: none; }
}

.go-top {
  position: fixed; z-index: 49; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--lijn); background: rgba(255,255,255,.92); color: var(--blauw); font-size: 1.05rem;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s, transform .25s, border-color .2s;
}
.go-top.zichtbaar { opacity: 1; transform: none; pointer-events: auto; }
.go-top:hover { border-color: var(--blauw); }
@media (max-width: 991px) { .go-top { right: 22px; bottom: 84px; width: 44px; height: 44px; } }

/* ==========================================================
   Menukaart-thema's, praktijkcases, thema- en projectpagina's
   (wijzigingsvoorstel v2) — in dezelfde stijl als de bestaande kaarten
   ========================================================== */

/* Onderkop onder "Hier staan we voor" */
.standpunten-sectie h2:has(+ .sectie-onderkop) { margin-bottom: .2em; }
.sectie-onderkop {
  margin: 0 auto clamp(28px, 4vw, 48px); max-width: 62ch;
  font-size: var(--fs-lead); font-weight: 500; color: var(--blauw);
}

/* Vier themakaarten */
.thema-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; text-align: left; }
@media (min-width: 640px) { .thema-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .thema-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.thema-kaart {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--mist-licht); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px);
  border-bottom: 4px solid transparent; overflow: hidden; container-type: inline-size;
  transition: border-color .2s ease, background .2s ease;
}
.thema-kaart:hover, .thema-kaart:focus-within { border-bottom-color: var(--lime); background: var(--mist); }
.thema-titel {
  font-family: var(--kop); font-weight: 700; color: var(--blauw); letter-spacing: 0;
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); line-height: 1.05; margin: 0 0 .45em;
}
.thema-icoon {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--wit); color: var(--lime); font-size: 1.3rem; margin-bottom: 18px;
  transition: transform .2s ease;
}
.thema-kaart:hover .thema-icoon { transform: scale(1.06); }
/* Titel schaalt mee met de kaart, zodat lange woorden als "Omgevingskwaliteit" altijd passen */
@supports (container-type: inline-size) { .thema-titel { font-size: clamp(1.35rem, 11.5cqi, 2.2rem); } }
.thema-kaart p { margin: 0 0 1.2em; line-height: 1.55; }
.thema-kaart .stretched {
  display: block; margin-top: auto; color: var(--groen); font-weight: 600; text-decoration: none;
}
.thema-kaart .stretched i, .case-kaart .stretched i { display: inline-block; margin-left: 6px; }
.thema-kaart .stretched i { transition: transform .2s ease; }
.thema-kaart:hover .stretched i { transform: translateX(5px); }
.thema-kaart .stretched::after, .case-kaart .stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r); }
.thema-foto { margin: calc(-1 * clamp(24px, 2.6vw, 36px)) calc(-1 * clamp(24px, 2.6vw, 36px)) 20px; width: calc(100% + 2 * clamp(24px, 2.6vw, 36px)); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }

/* Link naar de menukaart (PDF) */
.menukaart-link { margin: clamp(28px, 3.5vw, 44px) 0 0; text-align: center; }
.menukaart-link a {
  font-weight: 600; font-size: var(--fs-lead);
  color: var(--blauw); text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.menukaart-link a i { color: var(--groen); font-size: 1.15em; margin-right: .45em; }
.menukaart-link a:hover { color: var(--groen); }

/* Praktijkcases (vervangen de kaart van Fryslân) */
.impact h2 { margin-bottom: clamp(28px, 4vw, 52px); }
.case-grid { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: 1fr; text-align: left; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* oneven aantal cases: de laatste gecentreerd onder de andere */
  .case-grid > .case-kaart:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(18px, 2.4vw, 32px) / 2); }
}
@media (min-width: 1100px) {
  .case-grid:has(> .case-kaart:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .case-grid:has(> .case-kaart:nth-child(3)) > .case-kaart:last-child:nth-child(odd) { grid-column: auto; width: auto; }
}
.case-kaart {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--mist-licht); border-radius: var(--r); border-bottom: 4px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.case-kaart:hover, .case-kaart:focus-within { border-bottom-color: var(--lime); background: var(--mist); }
.case-foto { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.case-kaart:hover .case-foto { transform: scale(1.03); }
.case-tekst { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 34px); }
.case-titel { font-family: var(--kop); font-weight: 700; color: var(--blauw); letter-spacing: 0; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.05; margin: 0 0 .25em; }
.case-ondertitel { font-weight: 600; color: var(--groen); margin: 0 0 .7em; line-height: 1.45; }
.case-tekst p { margin: 0 0 1.2em; line-height: 1.6; }
.case-kaart .stretched {
  display: block; margin-top: auto; color: var(--groen); font-weight: 600; text-decoration: none;
}
.case-kaart .stretched i { transition: transform .2s ease; }
.case-kaart:hover .stretched i { transform: translateX(5px); }

/* Zin boven het contactformulier */
.contact-intro { max-width: 46ch; margin: clamp(16px, 2.4vw, 28px) auto 0; font-size: var(--fs-lead); font-weight: 500; line-height: 1.6; color: var(--blauw); }

/* Thema- en projectpagina's */
.thema-pagina, .project-pagina { padding-bottom: clamp(48px, 6vw, 88px); }
.opsomming { list-style: none; margin: 1.4em 0; padding: 0; }
.opsomming li { position: relative; padding-left: 1.6em; margin-bottom: .7em; line-height: 1.65; }
.opsomming li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .55em; height: .55em; border-radius: 50%; background: var(--lime); }
.doel-blok { margin: 2em 0 0; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.8vw, 32px); background: var(--mist-licht); border-left: 4px solid var(--lime); border-radius: 0 var(--r) var(--r) 0; }
.doel-blok p { margin: 0; }
.doel-blok p + p { margin-top: .8em; }
.doel-blok strong { color: var(--blauw); }
.project-hoofdbeeld { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin: clamp(8px, 2vw, 20px) 0 clamp(32px, 4vw, 56px); }
.sectie-kop { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); color: var(--blauw); margin: 1.6em 0 .5em; }
.project-foto { width: 100%; border-radius: var(--r); margin: 1.4em 0 1.6em; }
.contact-regel { background: var(--geel); padding: clamp(32px, 4vw, 52px) 0; text-align: center; }
.contact-regel p { margin: 0 auto; max-width: 66ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--blauw); text-wrap: balance; }
.contact-regel a { font-weight: 700; color: var(--blauw); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.contact-regel a:hover { color: var(--groen); }

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