/* ONS Venlo-Oost – huisstijl en opmaak
   Kleuren: donkergroen (primair), groen (accent), geel en oranje (spaarzaam), mint en off-white (achtergrond). */

@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --diep: #003F32;
  --diep-2: #0B5A45;
  --groen: #56AA59;
  --groen-tekst: #2D7A3B;
  --geel: #FFB800;
  --oranje: #FF7900;
  --oranje-tekst: #B8520A;
  --mint: #EAF4EC;
  --papier: #FAFBF8;
  --room: #FFF6E6;
  --inkt: #12332B;
  --grijs: #51605A;
  --lijn: #DCE6DE;
  --radius: 10px;
  --max: 1200px;
  --kop-hoogte: 76px;
  --kop-font: "Manrope", "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --tekst-font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kop-hoogte) + 1rem); }
body {
  margin: 0;
  font-family: var(--tekst-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--kop-font); color: var(--diep); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sla-over { position: absolute; left: -999px; top: 0; background: var(--diep); color: #fff; padding: .75rem 1rem; z-index: 100; }
.sla-over:focus { left: 0; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 3px; border-radius: 4px; }

.houder { width: 100%; max-width: calc(var(--max) + 2 * clamp(1.25rem, 4vw, 2rem)); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.houder--smal { max-width: calc(780px + 2 * clamp(1.25rem, 4vw, 2rem)); }

/* ---------- Header ---------- */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--lijn); }
.kop__binnen { height: var(--kop-hoogte); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.kop__logo img { height: 52px; width: auto; }
.kop__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.kop__nav a {
  position: relative; display: block; padding: .6rem 1rem; text-decoration: none;
  font-family: var(--kop-font); font-weight: 600; font-size: .98rem; color: var(--inkt);
  transition: color .2s ease;
}
.kop__nav a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 3px; border-radius: 2px;
  background: var(--groen); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.kop__nav a:hover { color: var(--groen-tekst); }
.kop__nav a:hover::after, .kop__nav a[aria-current="page"]::after { transform: scaleX(1); }
.kop__nav a[aria-current="page"] { color: var(--diep); font-weight: 800; }
.kop__knop { display: none; width: 46px; height: 46px; border: 1px solid var(--lijn); background: #fff; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; }
.kop__streepjes, .kop__streepjes::before, .kop__streepjes::after { display: block; width: 20px; height: 2px; background: var(--diep); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.kop__streepjes { position: relative; }
.kop__streepjes::before, .kop__streepjes::after { content: ""; position: absolute; left: 0; }
.kop__streepjes::before { top: -6px; } .kop__streepjes::after { top: 6px; }
.kop__knop[aria-expanded="true"] .kop__streepjes { background: transparent; }
.kop__knop[aria-expanded="true"] .kop__streepjes::before { transform: translateY(6px) rotate(45deg); }
.kop__knop[aria-expanded="true"] .kop__streepjes::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --kop-hoogte: 64px; }
  .kop__logo img { height: 44px; }
  .kop__knop { display: inline-flex; }
  .kop__nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--lijn); box-shadow: 0 14px 24px -16px rgba(0,63,50,.35); display: none; padding: .5rem clamp(1.25rem, 4vw, 2rem) 1rem; }
  .kop__nav.is-open { display: block; }
  .kop__nav ul { flex-direction: column; gap: 0; }
  .kop__nav a { padding: .95rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--lijn); }
  .kop__nav a::after { display: none; }
  .kop__nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--groen); padding-left: 1rem; }
}

/* ---------- Knoppen en links ---------- */
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }
.knop {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--kop-font); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.knop .pijl { transition: transform .2s ease; }
.knop:hover .pijl { transform: translateX(3px); }
.knop:hover { transform: translateY(-1px); }
.knop--primair { background: var(--diep); color: #fff; }
.knop--primair:hover { background: var(--diep-2); box-shadow: 0 8px 18px -10px rgba(0,63,50,.7); }
.knop--rand { border-color: var(--diep); color: var(--diep); background: transparent; }
.knop--rand:hover { background: var(--diep); color: #fff; }
.knop--licht { background: var(--groen); color: var(--diep); }
.knop--licht:hover { background: #6bbe6e; }
.knop--geel { background: var(--geel); color: var(--diep); }
.knop--geel:hover { background: #ffc933; }

.tekstlink { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--kop-font); font-weight: 700; color: var(--groen-tekst); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.tekstlink:hover { color: var(--diep); border-bottom-color: currentColor; }
.tekstlink .pijl { transition: transform .2s ease; }
.tekstlink:hover .pijl { transform: translateX(3px); }
.tekstlink--licht { color: #fff; }
.tekstlink--licht:hover { color: var(--geel); }
.tekstlink--terug { margin-bottom: 1.25rem; }
.tekstlink--terug .pijl { transform: rotate(180deg); }
.tekstlink--terug:hover .pijl { transform: rotate(180deg) translateX(3px); }

/* ---------- Secties ---------- */
.blok { padding-block: clamp(3rem, 6vw, 5rem); }
.blok--strak { padding-top: clamp(2rem, 4vw, 3rem); }
.blok--tint { background: var(--mint); }
.sectiekop { max-width: 42rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.sectiekop p { color: var(--grijs); margin: .75rem 0 0; font-size: 1.1rem; }
.sectie-actie { margin: 2rem 0 0; }
.intro { font-size: 1.2rem; color: var(--grijs); max-width: 38rem; }

.paginakop { background: var(--mint); border-bottom: 1px solid var(--lijn); padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.paginakop .houder::before { content: ""; display: block; width: 72px; height: 4px; margin: 0 0 1.5rem; background: linear-gradient(90deg, var(--groen) 0 50%, var(--geel) 50% 75%, var(--oranje) 75%); border-radius: 2px; }
.paginakop h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.2rem); }
.paginakop .intro { margin: 1rem 0 0; }
/* Het eerste blok schuift een beetje over de kop heen: een rustige overgang naar de inhoud */
.paginakop--overlap { border-bottom: 0; padding-bottom: clamp(4rem, 8vw, 5.5rem); }
.blok--overlap { padding-top: 0; }
.blok--overlap > .houder { margin-top: calc(-1 * clamp(2rem, 4vw, 3rem)); }

/* ---------- Hero ---------- */
.hero { background: var(--mint); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero__raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 span { color: var(--groen-tekst); display: block; }
.hero .intro { margin: 1.5rem 0 2rem; font-size: 1.2rem; color: #3f524b; }
.hero__beeld { margin: 0; position: relative; }
.hero__beeld::before { content: ""; position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--geel); right: -4%; top: -6%; z-index: 0; }
.hero__beeld img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 40px -28px rgba(0,63,50,.55); }
.hero__beeld figcaption {
  position: absolute; z-index: 2; left: -1.25rem; bottom: 1.5rem; display: flex; align-items: center; gap: .65rem;
  background: #fff; padding: .8rem 1.1rem; border-radius: 8px; box-shadow: 0 12px 28px -14px rgba(0,63,50,.45);
  font-family: var(--kop-font); font-weight: 700; font-size: .95rem; color: var(--diep); max-width: 17rem; line-height: 1.3;
}
@media (max-width: 860px) {
  .hero__raster { grid-template-columns: 1fr; }
  .hero__beeld { order: -1; }
  .hero__beeld img { aspect-ratio: 16 / 10; }
  .hero__beeld figcaption { left: .75rem; bottom: .75rem; }
  .hero__beeld::before { right: -2%; top: -8%; width: 22%; }
}

/* ---------- Hartcheckpunt ---------- */
.hartcheck-blok { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.hartcheck {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, .95fr); gap: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--diep); color: #fff; border-radius: 14px; padding: clamp(1.5rem, 4vw, 3rem); align-items: stretch;
}
.hartcheck h2, .hartcheck h3 { color: #fff; }
.hartcheck__tekst { align-self: center; }
.hartcheck__tekst p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 1rem 0 1.5rem; }
.vinklijst { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; }
.vinklijst li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.vink { flex: none; background: var(--groen); color: var(--diep); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.hartcheck__apparaat { background: var(--mint); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 1rem; min-height: 340px; }
.hartcheck__apparaat img { mix-blend-mode: multiply; max-height: 440px; width: auto; max-width: 100%; object-fit: contain; }
.hartcheck__info { align-self: center; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 2rem); background: rgba(255,255,255,.05); }
.hartcheck__info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--geel); font-weight: 800; margin-bottom: 1rem; }
.hartcheck__plek { margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.88); }
.hartcheck__plek strong { color: #fff; }
.hartcheck__tijd { margin: 0 0 1.5rem; display: grid; gap: .1rem; }
.hartcheck__tijd strong { font-family: var(--kop-font); font-size: 1.6rem; line-height: 1.15; color: #fff; letter-spacing: -0.01em; }
.hartcheck__tijd span { font-family: var(--kop-font); font-weight: 700; color: var(--geel); font-size: 1.15rem; }
@media (max-width: 1020px) {
  .hartcheck { grid-template-columns: 1fr 1fr; }
  .hartcheck__tekst { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hartcheck { grid-template-columns: 1fr; }
  .hartcheck__apparaat { min-height: 280px; }
  .hartcheck__apparaat img { max-height: 340px; }
}

/* ---------- Tabs ---------- */
.sectiekop--tabs { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.sectiekop--tabs > div:first-child { max-width: 42rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--lijn); }
.tabs button {
  appearance: none; background: none; border: 0; cursor: pointer; padding: .7rem 1rem; margin-bottom: -1px; border-bottom: 3px solid transparent;
  font-family: var(--kop-font); font-weight: 700; font-size: .95rem; color: var(--grijs); transition: color .2s ease, border-color .2s ease;
}
.tabs button:hover { color: var(--diep); }
.tabs button[aria-selected="true"] { color: var(--diep); border-bottom-color: var(--groen); }
.paneel[hidden] { display: none; }
@media (max-width: 640px) {
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { white-space: nowrap; }
}

/* ---------- Kaarten (nieuws / activiteiten) ----------
   Eén ontwerp: afbeelding 3:2, meta (categorie · datum, alleen als die er is), titel, samenvatting, rustige voet.
   De hele kaart is klikbaar via de titellink (::after), met zichtbare focus. */
.kaartenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.75rem; align-items: stretch; }
.kaart {
  position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), border-color .3s ease, box-shadow .3s ease, opacity .55s cubic-bezier(.22,.61,.36,1);
}
.kaart:hover, .kaart:focus-within { transform: translateY(-3px); border-color: #aacdb0; box-shadow: 0 16px 26px -20px rgba(0,63,50,.5); }
.kaart__beeld { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mint); flex: none; }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.kaart__beeld img.kaart__beeld--algemeen { object-position: center 62%; }
.kaart__beeld img.kaart__beeld--breed { object-fit: contain; background: #fff; padding: 1.5rem; }
.kaart:hover .kaart__beeld img { transform: scale(1.04); }
.kaart__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 0; }
.kaart__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin: 0 0 .6rem; font-family: var(--kop-font); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grijs); }
.kaart__cat { color: var(--oranje-tekst); }
.kaart__meta time { position: relative; }
.kaart__cat + time { padding-left: .75rem; }
.kaart__cat + time::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 1px; background: var(--lijn); }
.kaart h3 { font-size: 1.2rem; line-height: 1.28; margin: 0 0 .6rem; text-wrap: pretty; }
.kaart__link { text-decoration: none; color: inherit; transition: color .2s ease; }
.kaart__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kaart:hover .kaart__link { color: var(--groen-tekst); }
.kaart__link:focus-visible { outline: none; }
.kaart__link:focus-visible::after { outline: 3px solid var(--oranje); outline-offset: -3px; border-radius: 8px; }
.kaart__tekst { margin: 0 0 1.25rem; font-size: .96rem; line-height: 1.55; color: var(--grijs); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kaart__voet { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: .85rem 0 1rem; border-top: 1px solid var(--lijn); font-family: var(--kop-font); font-weight: 700; font-size: .9rem; color: var(--groen-tekst); }
.kaart__voet .pijl { transition: transform .25s ease; }
.kaart:hover .kaart__voet .pijl { transform: translateX(4px); }

.kaart--compact .kaart__body { padding: 1.1rem 1.2rem 0; }
.kaart--compact h3 { font-size: 1.08rem; }
.kaart--compact .kaart__tekst { font-size: .92rem; -webkit-line-clamp: 2; margin-bottom: 1rem; }

/* Nieuwsoverzicht: uitgelicht eerste bericht, daarna drie per rij */
.kaartenraster--nieuws { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kaart--groot { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.kaart--groot .kaart__beeld { aspect-ratio: auto; min-height: 340px; position: relative; }
.kaart--groot .kaart__beeld img { position: absolute; inset: 0; }
.kaart--groot .kaart__body { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0; justify-content: center; }
.kaart--groot h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.15; margin-bottom: .9rem; }
.kaart--groot .kaart__tekst { font-size: 1.05rem; -webkit-line-clamp: 5; }
.kaart--groot .kaart__voet { margin-top: 1rem; padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .kaartenraster--nieuws { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .kaart--groot { grid-template-columns: 1fr; }
  .kaart--groot .kaart__beeld { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 600px) { .kaartenraster--nieuws { grid-template-columns: 1fr; } }

/* Activiteit: staat er maar één, dan een brede kaart; komen er meer, dan het raster hierboven */
.activiteit-uitgelicht { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: #fff; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease, opacity .55s cubic-bezier(.22,.61,.36,1); }
.activiteit-uitgelicht:hover, .activiteit-uitgelicht:focus-within { transform: translateY(-3px); border-color: #aacdb0; box-shadow: 0 16px 26px -20px rgba(0,63,50,.5); }
.activiteit-uitgelicht__beeld { position: relative; overflow: hidden; min-height: 360px; background: var(--mint); }
.activiteit-uitgelicht__beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.activiteit-uitgelicht:hover img { transform: scale(1.04); }
.activiteit-uitgelicht__tekst { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.75rem) 0; border-left: 4px solid var(--groen); }
.activiteit-uitgelicht h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; text-wrap: pretty; }
.activiteit-uitgelicht:hover h2 .kaart__link { color: var(--groen-tekst); }
.activiteit-uitgelicht .kaart__voet { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.activiteit-uitgelicht:hover .kaart__voet .pijl { transform: translateX(4px); }
@media (max-width: 760px) {
  .activiteit-uitgelicht { grid-template-columns: 1fr; }
  .activiteit-uitgelicht__beeld { min-height: 0; aspect-ratio: 3 / 2; }
  .activiteit-uitgelicht__tekst { border-left: 0; border-top: 4px solid var(--groen); }
}

/* ---------- Kernwaarden ---------- */
.waarden .sectiekop { margin-bottom: clamp(2rem, 4vw, 3rem); }
.waarden__lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.waarden__lijst li { position: relative; padding-top: 1.5rem; border-top: 1px solid rgba(0,63,50,.25); }
.waarden__lijst li::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--groen); }
.waarden__lijst li:nth-child(2)::before { background: var(--geel); }
.waarden__lijst li:nth-child(3)::before { background: var(--oranje); }
.icoon { color: var(--diep); margin-bottom: 1rem; }
.waarden h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.waarden p { margin: 0; color: #3f524b; }
@media (max-width: 960px) { .waarden__lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .waarden__lijst { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Idee ---------- */
.idee-blok { padding-bottom: clamp(3rem, 6vw, 5rem); }
.idee { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; background: var(--room); border-radius: 14px; padding: clamp(1.75rem, 4vw, 3.5rem); overflow: hidden; }
.idee__tekst p { color: #5a4a2c; font-size: 1.1rem; max-width: 34rem; margin: 1rem 0 1.75rem; }
.idee__beeld { width: 100%; max-height: 280px; object-fit: cover; object-position: 50% 72%; }
@media (max-width: 760px) {
  .idee { grid-template-columns: 1fr; }
  .idee__beeld { max-height: 200px; order: -1; }
}

/* ---------- Afsluiter (grote foto) ---------- */
.afsluiter { position: relative; background: var(--diep); }
.afsluiter > img { width: 100%; height: clamp(420px, 44vw, 600px); object-fit: cover; object-position: 50% 35%; }
.afsluiter__laag { position: absolute; inset: 0; display: flex; align-items: flex-end; pointer-events: none; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.afsluiter__vlak { pointer-events: auto; background: var(--diep); color: #fff; max-width: 27rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); }
.afsluiter__vlak h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
.afsluiter__vlak p { color: rgba(255,255,255,.85); margin: .85rem 0 1.5rem; }
@media (max-width: 700px) {
  .afsluiter > img { height: 240px; }
  .afsluiter__laag { position: static; padding-block: 0; background: var(--diep); max-width: none; }
  .afsluiter__vlak { max-width: none; border-radius: 0; box-shadow: none; padding-inline: 0; padding-block: 2rem 2.25rem; }
}

/* ---------- Bestuur ---------- */
.bestuur-paneel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; }
.bestuur-paneel__beeld { margin: 0; position: relative; min-height: 320px; }
.bestuur-paneel__beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.bestuur { list-style: none; margin: 0; padding: 0; }
.bestuur__lid { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem); border-bottom: 1px solid var(--lijn); position: relative; transition: background-color .25s ease; }
.bestuur__lid:last-child { border-bottom: 0; }
.bestuur__lid::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--groen); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.bestuur__lid:hover { background: var(--papier); }
.bestuur__lid:hover::before { transform: scaleY(1); }
.bestuur__nr { font-family: var(--kop-font); font-weight: 800; font-size: .9rem; letter-spacing: .06em; color: var(--oranje-tekst); }
.bestuur__lid h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.bestuur__lid p { margin: 0; color: var(--grijs); }
.bestuur__lid:first-child { background: var(--mint); padding-block: clamp(1.6rem, 3vw, 2.25rem); }
.bestuur__lid:first-child::before { transform: scaleY(1); }
.bestuur__lid:first-child h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.bestuur__lid:first-child p { color: #3f524b; font-size: 1.1rem; }
@media (max-width: 800px) {
  .bestuur-paneel { grid-template-columns: 1fr; }
  .bestuur-paneel__beeld { min-height: 0; aspect-ratio: 16 / 7; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.contact__blok { background: #fff; border: 1px solid var(--lijn); border-radius: 8px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact__blok h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 1.25rem; }
.contact__hart { background: var(--mint); border-color: #cfe2d3; }
.contact__hartkop { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.contact__hartkop h2 { margin-bottom: 1.25rem; }
.contact__hartje { margin-bottom: .6rem; }
.contact__hartkop img { width: 96px; height: auto; mix-blend-mode: multiply; margin-top: -.25rem; flex: none; }
.rijen { list-style: none; margin: 0; padding: 0; }
.rij { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--lijn); align-items: start; }
.contact__hart .rij { border-top-color: #cfe2d3; }
.rij__icoon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--mint); color: var(--diep); }
.contact__hart .rij__icoon { background: #fff; }
.rij address { font-style: normal; }
.rij__label { display: block; font-family: var(--kop-font); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--oranje-tekst); margin-bottom: .2rem; }
.rij__waarde { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.contact__mail { display: inline-block; font-family: var(--kop-font); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); color: var(--diep); text-decoration: underline; text-decoration-color: var(--groen); text-decoration-thickness: 3px; text-underline-offset: 6px; transition: color .2s ease, text-decoration-color .2s ease; word-break: break-word; }
.contact__mail:hover { color: var(--groen-tekst); text-decoration-color: var(--geel); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Bericht ---------- */
.bericht__kop { background: var(--mint); border-bottom: 1px solid var(--lijn); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem); }
.bericht__kop--beeld { border-bottom: 0; padding-bottom: clamp(4rem, 8vw, 5.5rem); }
.bericht__kop h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); line-height: 1.1; text-wrap: pretty; }
.bericht__kop .kaart__meta { margin-bottom: .9rem; }
.bericht__beeld { margin: -3.25rem 0 0; position: relative; }
.bericht__beeld img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 30px -24px rgba(0,63,50,.55); }
.tekst { padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem); font-size: 1.125rem; line-height: 1.75; }
.tekst > p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--diep); }
.tekst h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin: 2em 0 .55em; }
.tekst a { color: var(--groen-tekst); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s ease; }
.tekst a:hover { color: var(--diep); }
.tekst ul, .tekst ol { padding-left: 1.3em; margin: 0 0 1em; }
.tekst li { margin-bottom: .4em; }
.tekst li::marker { color: var(--groen); }
.tekst img { border-radius: 8px; }
.bericht__voet { margin: 0; padding: 1.5rem 0 clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--lijn); }
.bericht__voet .tekstlink--terug { margin: 0; }

/* ---------- Footer ---------- */
.voet { background: var(--diep); color: rgba(255,255,255,.82); margin-top: 0; }
.voet h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-bottom: 1rem; }
.voet__raster { display: grid; grid-template-columns: 1.2fr .7fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.voet__logo { display: inline-block; background: #fff; border-radius: 8px; padding: .5rem .75rem; margin-bottom: 1.25rem; }
.voet__logo img { height: 56px; width: auto; }
.voet address { font-style: normal; margin-bottom: .75rem; }
.voet address strong { color: #fff; }
.voet p { margin: 0 0 .75rem; }
.voet a { text-decoration: none; transition: color .2s ease; }
.voet a:hover { color: var(--geel); }
.voet__mail { text-decoration: underline !important; text-underline-offset: 4px; color: #fff; font-weight: 700; }
.voet__social { display: flex; gap: .5rem; margin-top: 1rem !important; }
.voet__social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; }
.voet__social a:hover { background: rgba(255,255,255,.1); border-color: var(--geel); }
.voet__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.voet__nav a { display: inline-block; padding: .3rem 0; }
.voet__brief p { max-width: 26rem; }
.voet__form { display: flex; gap: .5rem; max-width: 26rem; }
.voet__form input { flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.voet__form input::placeholder { color: rgba(255,255,255,.6); }
.voet__form input:focus-visible { outline-color: var(--geel); background: rgba(255,255,255,.14); }
.voet__form button { padding: .8rem 1.2rem; border: 0; border-radius: 8px; background: var(--groen); color: var(--diep); font-family: var(--kop-font); font-weight: 800; cursor: pointer; transition: background-color .2s ease; }
.voet__form button:hover { background: #6bbe6e; }
.voet__melding { color: var(--geel); font-weight: 700; }
.voet__onder { border-top: 1px solid rgba(255,255,255,.16); font-size: .9rem; }
.voet__onderbinnen { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; padding-block: 1.1rem; }
.voet__onderbinnen p { margin: 0; }
@media (max-width: 900px) { .voet__raster { grid-template-columns: 1fr 1fr; } .voet__brief { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .voet__raster { grid-template-columns: 1fr; gap: 2rem; }
  .voet__form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .knop:hover, .bestuur__lid:hover, .activiteit-uitgelicht a:hover { transform: none; }
}

@media (max-width: 640px) {
  .hero .intro, .intro { font-size: 1.1rem; }
  .hero__beeld img { aspect-ratio: 4 / 3; }
  .hero__beeld figcaption { font-size: .85rem; padding: .6rem .85rem; max-width: 14rem; left: .6rem; bottom: .6rem; }
  .knoppen .knop { width: 100%; justify-content: center; }
  .sectiekop--tabs { align-items: stretch; }
  .tabs button { padding-inline: .7rem; }
}

.afsluiter + .voet { border-top: 1px solid rgba(255,255,255,.14); }

/* ---------- Scroll reveal en paginaovergang ----------
   Alleen met JavaScript (html.js) en alleen voor elementen onder de vouw; zonder JS blijft alles gewoon zichtbaar. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.kop.is-scrolled { box-shadow: 0 10px 20px -18px rgba(0,63,50,.6); }

@view-transition { navigation: auto; }
.kop { view-transition-name: kop; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .kaart:hover, .kaart:focus-within, .activiteit-uitgelicht:hover, .activiteit-uitgelicht:focus-within { transform: none; }
}

/* ---------- Aanvullingen voor het beheer: meta-regel, activiteit, bestuursfoto's, voorbeeldbalk ---------- */
.kaart__meta time { padding-left: 0; }
.kaart__deel { position: relative; }
.kaart__deel + .kaart__deel { padding-left: .75rem; }
.kaart__deel + .kaart__deel::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 1px; background: var(--lijn); }
.kaart__cat + time::before { content: none; }
.activiteit-uitgelicht__samenvatting { color: var(--grijs); margin: .9rem 0 0; font-size: 1.02rem; }
.feiten { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.feiten li { display: inline-flex; align-items: center; gap: .5rem; }
.feiten .icoon-lijn { color: var(--oranje-tekst); }
.extra-info { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; background: var(--mint); border-left: 4px solid var(--groen); border-radius: 0 8px 8px 0; }
.extra-info h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.extra-info p { margin: 0; }
.conceptmelding { display: inline-block; margin: 1rem 0 0; padding: .35rem .8rem; background: #FFF6E0; border: 1px solid #f1d58b; border-radius: 6px; font-weight: 700; font-size: .9rem; }
.voorbeeldbalk { position: relative; z-index: 70; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: center; padding: .6rem 1rem; background: var(--geel); color: var(--diep); font-size: .92rem; text-align: center; }
.voorbeeldbalk a { color: var(--diep); font-weight: 700; }
.kop { top: 0; }
.voorbeeldbalk ~ .kop { top: 0; }
.bestuur__lid--foto { grid-template-columns: 72px minmax(0, 1fr); }
.bestuur__foto { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; align-self: start; }
.bestuur__naam { font-weight: 700; color: var(--diep); margin: 0 0 .15rem !important; }
.bestuur-paneel--leeg .bestuur { min-height: 4rem; }

/* "Lees ook" / "Andere activiteiten" onder een bericht of activiteit */
.meer { margin-top: 0; }
.meer .sectiekop { margin-bottom: 1.5rem; }
.kaartenraster--drie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .kaartenraster--drie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kaartenraster--drie { grid-template-columns: 1fr; } }
.bericht__einde { padding-bottom: clamp(2rem, 4vw, 3rem); }
.tekst--pagina { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); } .tekst--pagina > p:first-child { font-size: inherit; line-height: inherit; color: inherit; }

/* Onzichtbaar veld tegen spambots (mensen zien en gebruiken het niet) */
.valstrik { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
