/* =====================================================================
   De Voorhof Kesteren — ontwerpsysteem
   Kleuren geinspireerd op de glasfusieramen van Brenda Bleijenberg (2007):
   het groen van het Betuwse landschap, het rood van het levenspad en
   het geel van de hoop.
   ===================================================================== */

:root {
  /* Kleur — licht */
  --bg:            #FAF6F0;
  --bg-tint:       #F2EBE1;
  --surface:       #FFFFFF;
  --surface-2:     #FBF7F2;
  --ink:           #17231F;
  --ink-soft:      #3C4B45;
  --muted:         #6B7B73;
  --line:          #E4DACD;
  --line-strong:   #D3C5B3;

  --brand:         #1E5A4C;   /* kerkgroen */
  --brand-deep:    #123A31;
  --brand-soft:    #E6F0EB;
  --clay:          #C05A2C;   /* terracotta uit "De Toekomst" */
  --clay-soft:     #FBEAE0;
  --gold:          #D9A441;   /* het geel van de hoop */
  --gold-soft:     #FBF0D8;
  --sky:           #3E6E8E;
  --sky-soft:      #E4EEF4;

  /* Vorm & diepte */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(23,35,31,.05), 0 2px 8px rgba(23,35,31,.05);
  --shadow:    0 2px 4px rgba(23,35,31,.04), 0 12px 32px rgba(23,35,31,.08);
  --shadow-lg: 0 4px 8px rgba(23,35,31,.05), 0 28px 64px rgba(23,35,31,.14);

  /* Ritme */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 7rem);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg:            #101512;
  --bg-tint:       #161D19;
  --surface:       #1A211D;
  --surface-2:     #202823;
  --ink:           #ECF1ED;
  --ink-soft:      #C3CFC8;
  --muted:         #93A29A;
  --line:          #2C3630;
  --line-strong:   #3A463F;

  --brand:         #6FBFA6;
  --brand-deep:    #0D1F1A;
  --brand-soft:    #17302A;
  --clay:          #E5885A;
  --clay-soft:     #33211A;
  --gold:          #E8BC63;
  --gold-soft:     #322913;
  --sky:           #86B4CF;
  --sky-soft:      #17262E;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow:    0 2px 6px rgba(0,0,0,.35), 0 14px 36px rgba(0,0,0,.35);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.4), 0 30px 70px rgba(0,0,0,.5);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { text-wrap: pretty; }

::selection { background: var(--gold); color: #17231F; }

/* ---------- Bouwstenen ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 800px; }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-tint); }
.section--surface { background: var(--surface); }
.section--brand { background: var(--brand-deep); color: #DCE9E3; }
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }
:root[data-theme="dark"] .section--brand { background: #14302A; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--brand .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 2vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); }
.section--brand .lead { color: #C9DDD5; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; box-shadow: var(--shadow); }
:root[data-theme="dark"] .btn--primary { color: #0C1512; }
:root[data-theme="dark"] .btn--primary:hover { background: var(--gold); color: #0C1512; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--surface); }
.btn--light { background: #fff; color: #123A31; }
.btn--light:hover { background: var(--gold); color: #123A31; }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.badge--clay { background: var(--clay-soft); color: var(--clay); }
.badge--gold { background: var(--gold-soft); color: #8A6415; }
:root[data-theme="dark"] .badge--gold { color: var(--gold); }
.badge--sky { background: var(--sky-soft); color: var(--sky); }

/* ---------- Demo-balk ---------- */
.demobar { background: var(--ink); color: #F3EFE8; font-size: .84rem; padding: .55rem 0; }
:root[data-theme="dark"] .demobar { background: #05100C; }
.demobar .container { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.demobar strong { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.demobar p { margin: 0; opacity: .85; }
.demobar button {
  margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: inherit;
  border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; cursor: pointer; font-family: inherit;
}
.demobar button:hover { background: rgba(255,255,255,.12); }

/* ---------- Kop / navigatie ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand__sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: background .18s, color .18s;
}
.nav__link:hover { background: var(--surface); color: var(--brand); }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 650; background: var(--brand-soft); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__cta { display: inline-flex; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: border-color .18s, color .18s, transform .18s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav__burger { display: none; }
.nav__close { display: none; }

@media (max-width: 1060px) {
  .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__list {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 5.5rem 1.25rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(102%); visibility: hidden;
    transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear .32s;
    overflow-y: auto; z-index: 120;
  }
  .nav__list.is-open { transform: translateX(0); visibility: visible; transition: transform .32s cubic-bezier(.4,0,.2,1); }
  .nav__link { padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(10,20,16,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 110;
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
  .nav__close { position: fixed; top: 1.1rem; right: 1.25rem; z-index: 130; }
  .nav__close:not(.is-open) { display: none; }
  .nav__close.is-open { display: grid; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0C221C; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,28,23,.94) 0%, rgba(8,28,23,.78) 46%, rgba(8,28,23,.32) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(4rem, 11vw, 8rem);
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
}
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.35rem;
  color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero p { color: #CBDDD6; font-size: clamp(1.08rem, 1.8vw, 1.28rem); margin-top: 1.35rem; max-width: 54ch; }
.hero .btn-row { margin-top: 2.25rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.75rem; color: #9FBCB2; font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 16px; height: 16px; opacity: .85; }

/* Kaart eerstvolgende dienst */
.next-service {
  background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.next-service__label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.next-service__date { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.95rem); color: var(--ink); line-height: 1.15; }
.next-service__time { display: flex; align-items: baseline; gap: .5rem; margin-top: .35rem; color: var(--clay); font-weight: 700; font-size: 1.1rem; }
.next-service dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.25rem 0; font-size: .95rem; }
.next-service dt { color: var(--muted); }
.next-service dd { margin: 0; color: var(--ink); font-weight: 550; }
.next-service__countdown { display: flex; gap: .5rem; margin: 1.25rem 0 1.4rem; }
.count-cell {
  flex: 1; text-align: center; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: .7rem .3rem;
}
.count-cell b { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--brand); line-height: 1; }
.count-cell span { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.next-service .btn { width: 100%; }

/* ---------- Rasters & kaarten ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--link { text-decoration: none; display: block; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); color: inherit; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .97rem; }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 1.15rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--clay { background: var(--clay-soft); color: var(--clay); }
.card__icon--gold { background: var(--gold-soft); color: #A97A17; }
:root[data-theme="dark"] .card__icon--gold { color: var(--gold); }
.card__icon--sky { background: var(--sky-soft); color: var(--sky); }
.card__meta { font-size: .82rem; color: var(--muted); margin-top: 1rem; display: flex; gap: .75rem; flex-wrap: wrap; }

.feature-card { position: relative; overflow: hidden; padding: 0; }
.feature-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-card__body { padding: clamp(1.35rem, 2.5vw, 1.85rem); }

/* Split-blok */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.split--reverse > *:first-child { order: 2; }
@media (max-width: 760px) { .split--reverse > *:first-child { order: 0; } }

/* De vier ramen naast elkaar */
.ramen-rij {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: clamp(.5rem, 1.5vw, 1rem);
  align-items: stretch; max-width: 940px; margin-inline: auto;
  padding: clamp(.75rem, 2vw, 1.5rem); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow);
}
.ramen-rij img { width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 640px) {
  .ramen-rij { grid-template-columns: 1fr 1fr; }
  .ramen-rij img:nth-child(2) { grid-column: 1 / -1; order: -1; }
}

/* Kleine kolomkop in een raster */
.grid-4 b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.split__art { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Cijfers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--brand); line-height: 1; }
.section--brand .stat b { color: var(--gold); }
.stat span { font-size: .9rem; color: var(--muted); }
.section--brand .stat span { color: #A9C4BA; }

/* Citaat */
.quote {
  border-left: 3px solid var(--gold); padding-left: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.38;
  color: var(--ink); font-weight: 400;
}
.section--brand .quote { color: #fff; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: .88rem; font-style: normal; color: var(--muted); letter-spacing: .04em; }
.section--brand .quote cite { color: #A9C4BA; }

/* ---------- Agenda ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink-soft);
  border-radius: 999px; padding: .5rem 1.05rem; font-size: .9rem; font-weight: 550;
  cursor: pointer; font-family: inherit; transition: all .18s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
:root[data-theme="dark"] .filter[aria-pressed="true"] { color: #0C1512; }

.agenda-list { list-style: none; padding: 0; display: grid; gap: .85rem; }
.agenda-item {
  display: grid; grid-template-columns: 78px 1fr auto; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.15rem clamp(1.1rem, 2.5vw, 1.6rem);
  transition: border-color .2s, box-shadow .2s;
}
.agenda-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.agenda-item__date { text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.agenda-item__date b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--brand); line-height: 1; }
.agenda-item__date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.agenda-item h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.agenda-item p { font-size: .92rem; margin: 0; }
.agenda-item__side { text-align: right; display: grid; gap: .45rem; justify-items: end; }
.agenda-item__time { font-weight: 700; color: var(--ink); font-size: .95rem; }
@media (max-width: 760px) {
  .agenda-item { grid-template-columns: 60px 1fr; }
  .agenda-item__date { padding-right: .75rem; }
  .agenda-item__side { grid-column: 1 / -1; display: flex; gap: .75rem; align-items: center; justify-items: start; text-align: left; }
}
.agenda-item.is-hidden { display: none; }
.agenda-empty { padding: 2.5rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }

/* ---------- Tijdlijn ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin-inline: auto; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: .6rem; bottom: .6rem; width: 2px;
  background: linear-gradient(var(--gold), var(--brand), var(--clay)); border-radius: 2px;
}
.timeline li { position: relative; padding-left: 3.25rem; padding-bottom: 2.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: 6px; top: .5rem; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--brand);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline__year { font-family: var(--font-display); font-size: 1.05rem; color: var(--clay); font-weight: 600; letter-spacing: .02em; }
.timeline h3 { font-size: 1.22rem; margin: .2rem 0 .5rem; }
.timeline p { font-size: .97rem; }

/* ---------- Accordeon ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--clay); font-family: var(--font-body); font-weight: 300; transition: transform .25s;
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .acc-body { padding: 0 0 1.5rem; font-size: .98rem; }
.accordion .acc-body > * + * { margin-top: .85rem; }

/* ---------- Contact ---------- */
.contact-line { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--clay); flex: none; margin-top: .25rem; }
.contact-line b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.contact-line span, .contact-line a { font-size: .95rem; }

.mail-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.mail-table th, .mail-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.mail-table th { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mail-table tr:last-child td { border-bottom: 0; }
.mail-table tbody tr:hover td { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }

.form-grid { display: grid; gap: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  padding: .8rem .9rem; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--brand-soft); color: var(--brand); font-size: .95rem; font-weight: 550; }
.form-status.is-visible { display: block; }

.map-frame {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--surface-2);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Pagina-kop ---------- */
.page-hero { background: var(--bg-tint); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero__inner { padding-block: clamp(2.75rem, 7vw, 5rem); position: relative; z-index: 2; max-width: 800px; }
.page-hero p { margin-top: 1.15rem; }
.page-hero__glow {
  position: absolute; right: -6%; top: -45%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 32%, transparent), transparent 65%);
  pointer-events: none;
}
.breadcrumb { display: flex; gap: .45rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Voettekst ---------- */
.site-footer { background: #0E2B24; color: #B8CFC7; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.footer-brand { max-width: 36ch; }
.footer-brand p { font-size: .93rem; margin-top: 1rem; color: #9DBAB0; }
.footer-brand .brand__name, .footer-brand .brand__sub { color: #fff; }
.footer-brand .brand__sub { color: #8CA79D; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #B8CFC7; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); color: #fff; transition: all .2s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #0E2B24; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #8CA79D;
}
.footer-bottom a { font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Terug naar boven ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .to-top { color: #0C1512; }

/* ---------- Animatie bij scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Hulpklassen ---------- */
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 2rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h3 { margin-top: 2.25rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--clay); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =====================================================================
   Foto's — echte beelden van De Voorhof
   ===================================================================== */

/* Pagina-kop met foto */
.page-hero--foto { background: #0C221C; border-bottom: 0; }
.page-hero--foto .page-hero__foto {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero--foto::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,28,23,.94) 0%, rgba(8,28,23,.8) 50%, rgba(8,28,23,.45) 100%);
}
.page-hero--foto .page-hero__inner { padding-block: clamp(3.25rem, 8vw, 6rem); }
.page-hero--foto h1 { color: #fff; }
.page-hero--foto .lead, .page-hero--foto p { color: #CBDDD6; }
.page-hero--foto .breadcrumb, .page-hero--foto .breadcrumb a { color: #9FBCB2; }
.page-hero--foto .breadcrumb a:hover { color: var(--gold); }
.page-hero--foto .eyebrow { color: var(--gold); }
.page-hero--foto .page-hero__glow { display: none; }

/* Sectie met foto op de achtergrond */
.section--foto { position: relative; overflow: hidden; background: #0E2B24; }
.section--foto > .foto-laag {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3;
}
.section--foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,34,28,.86), rgba(12,34,28,.94));
}
.section--foto > .container { position: relative; z-index: 2; }

/* Foto's in kaarten en blokken */
.split__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-kader {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--surface-2);
}
.foto-kader img { width: 100%; display: block; }
.foto-bijschrift { font-size: .82rem; color: var(--muted); margin-top: .7rem; }

/* De vier ramen als foto's */
.ramen-rij { grid-template-columns: repeat(4, 1fr); }
.ramen-rij figure { margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.ramen-rij img { border-radius: 4px; box-shadow: 0 6px 20px rgba(23,35,31,.18); }
.ramen-rij figcaption {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 650;
  color: var(--muted); text-align: center;
}
@media (max-width: 640px) {
  .ramen-rij { grid-template-columns: repeat(2, 1fr); }
  .ramen-rij img:nth-child(2) { grid-column: auto; order: 0; }
}

/* ---------- Nieuws ---------- */
.nieuws-raster { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); grid-template-columns: 1.35fr 1fr; align-items: start; }
@media (max-width: 900px) { .nieuws-raster { grid-template-columns: 1fr; } }
.nieuws-hoofd {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
}
.nieuws-hoofd img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.nieuws-hoofd__body { padding: clamp(1.35rem, 2.5vw, 2rem); }
.nieuws-hoofd h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: .8rem 0 .7rem; }
.nieuws-zij { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.nieuws-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.15rem, 2.2vw, 1.5rem);
  transition: border-color .2s, box-shadow .2s;
}
.nieuws-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.nieuws-item h3 { font-size: 1.12rem; margin: .7rem 0 .5rem; }
.nieuws-item p { font-size: .94rem; }
.nieuws-datum { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }

/* ---------- Subnavigatie binnen een rubriek ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: .55rem; }
.subnav a {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  padding: .55rem 1.1rem; font-size: .92rem; font-weight: 550;
  color: var(--ink-soft); text-decoration: none; background: var(--surface);
  transition: all .18s;
}
.subnav a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

/* ---------- Taakgroep-blok ---------- */
.taakgroep {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(1rem, 2.5vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.5vw, 2rem);
}
@media (max-width: 620px) { .taakgroep { grid-template-columns: 1fr; } }
.taakgroep__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.taakgroep__icon svg { width: 26px; height: 26px; }
.taakgroep h3 { margin-bottom: .6rem; }
.taakgroep .prose { font-size: .98rem; }
