/* Folsgeare — kleuren uit het dorpswapen: blauw veld, rode keper, gouden klaver en lelie */
/* Lettertypes zelf meegeleverd (geen verbinding met Google: privacy/AVG). Fraunces en Inter: SIL Open Font License. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue-900: #0f2550;
  --blue-800: #163a7a;
  --blue-700: #1d4ea3;
  --blue-500: #2f6fd6;
  --blue-100: #e6eefb;
  --red-700: #a3142c;
  --red-600: #c01d36;
  --gold-400: #f3c316;
  --gold-300: #f8d64e;
  --green-700: #3d6b2a;

  --bg: #fbfaf6;
  --surface: #ffffff;
  --tint: #f1f4f9;
  --text: #1b2333;
  --muted: #5b6577;
  --line: #dfe4ec;
  --accent: var(--blue-700);
  --accent-ink: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 37 80 / .06), 0 8px 24px rgb(15 37 80 / .08);
  --header-h: 68px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1422;
    --surface: #161e30;
    --tint: #121a2b;
    --text: #e8ecf4;
    --muted: #a3adbf;
    --line: #26314a;
    --accent: #7aa8f5;
    --accent-ink: #0e1422;
    --blue-100: #1b2a48;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1422; --surface: #161e30; --tint: #121a2b; --text: #e8ecf4; --muted: #a3adbf;
  --line: #26314a; --accent: #7aa8f5; --accent-ink: #0e1422; --blue-100: #1b2a48;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--red-600); margin-bottom: .5rem; }
.section-dark .eyebrow, .newsletter .eyebrow, .hero .eyebrow { color: var(--gold-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font: 500 .7rem/1.4 var(--font-body); color: var(--muted); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500;
  padding: 8px 10px; border-radius: 999px; transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--tint); }
.main-nav a.active { color: var(--accent); background: var(--blue-100); }
.main-nav .nav-cta { background: var(--red-600); color: #fff; margin-left: 6px; padding-inline: 14px; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { background: var(--red-700); color: #fff; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    background: var(--surface); border-radius: 10px; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; gap: 2px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--font-body); padding: 13px 20px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-800); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .7); background: rgb(255 255 255 / .08); }
.btn-ghost:hover { background: rgb(255 255 255 / .18); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-gold { background: var(--gold-400); color: var(--blue-900); }
.btn-gold:hover { background: var(--gold-300); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero picture, .hero-img { object-position: 50% 60%; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 37 80 / .15) 0%, rgb(15 37 80 / .05) 35%, rgb(15 37 80 / .78) 100%); }
.hero-content { padding: 120px 0 72px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: .25em; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Snelkoppelingen ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -40px; position: relative; z-index: 2; }
.quick-item {
  display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  border: 1px solid var(--line); transition: transform .15s, border-color .15s;
}
.quick-item:hover { transform: translateY(-2px); border-color: var(--accent); }
.quick-item strong { display: block; font-size: .98rem; }
.quick-item small { color: var(--muted); font-size: .84rem; line-height: 1.3; display: block; }
.q-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--accent); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .quick-item { padding: 12px; gap: 10px; } .q-ico { width: 34px; height: 34px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-intro { color: var(--muted); max-width: 58ch; margin: 0; }
.center { text-align: center; margin-top: 32px; }
.prose p { max-width: 64ch; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Nieuws ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 7px 14px;
  border-radius: 999px; font: 500 .88rem var(--font-body); cursor: pointer;
}
.chip { text-decoration: none; }
.chip:hover { border-color: var(--accent); }
.chip[aria-current="page"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); text-align: left; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-100); position: relative; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.thumb-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: var(--gold-300); font-family: var(--font-display); font-size: 1.2rem; }
.doc-ico { background: #fff; color: var(--red-600); font: 700 .9rem var(--font-body); width: 56px; height: 70px; border-radius: 6px; display: grid; place-items: center; box-shadow: 6px 6px 0 rgb(0 0 0 / .18); clip-path: polygon(0 0, 72% 0, 100% 20%, 100% 100%, 0 100%); }
.fallback-wapen { width: 72px; height: auto; opacity: .9; }
.news-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0; }
.news-card .excerpt { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.tag { background: var(--blue-100); color: var(--accent); padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: .74rem; }
.badge-pdf { background: var(--red-600); color: #fff; padding: 2px 7px; border-radius: 6px; font-weight: 700; font-size: .7rem; }
.news-card.featured { grid-column: span 2; flex-direction: row; }
.news-card.featured .thumb { aspect-ratio: auto; flex: 1.2; min-height: 320px; }
.news-card.featured .body { flex: 1; padding: 28px; justify-content: center; }
.news-card.featured h3 { font-size: 1.7rem; }
.news-card.featured .excerpt { -webkit-line-clamp: 5; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; flex-direction: column; }
  .news-card.featured .thumb { min-height: 0; aspect-ratio: 16 / 10; }
  .news-card.featured .body { padding: 18px 20px 22px; }
  .news-card.featured h3 { font-size: 1.35rem; }
}

/* ---------- Split / Folsgeare ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; line-height: 1.35; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Verenigingen ---------- */
.club-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.club { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.club-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-700); color: var(--gold-300); font-weight: 700; font-size: .95rem;
}
.club:nth-child(3n+2) .club-ico { background: var(--red-600); color: #fff; }
.club:nth-child(3n) .club-ico { background: var(--gold-400); color: var(--blue-900); }
.club h3 { margin: 0 0 2px; font-size: 1.02rem; }
.club p { margin: 0; color: var(--muted); font-size: .9rem; }
.club a { font-size: .88rem; font-weight: 600; text-decoration: none; }

/* ---------- Dorpshuis ---------- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-700); font-weight: 700; background: color-mix(in srgb, var(--green-700) 14%, transparent); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; margin-top: 4px; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
address { font-style: normal; margin-bottom: 8px; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.g-item { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--line); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.06); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 6px; margin-top: 18px; }
.form h3 { margin: 0 0 6px; }
.form .btn { margin-top: 12px; justify-self: start; }
.form.card { margin-top: 0; }
.form label { font-size: .88rem; font-weight: 600; margin-top: 8px; }
.form input, .form select, .form textarea {
  font: 400 1rem var(--font-body); color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.form .row > div { display: grid; gap: 6px; }
.form [aria-invalid="true"] { border-color: var(--red-600); }
.form-msg { margin: 0; font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form-msg.ok { color: var(--green-700); }
.form-msg.err { color: var(--red-600); }

/* ---------- Dorpstuin ---------- */
.motto { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--green-700); }
.garden-hero { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.garden-hero img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.garden-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 32px; }
.garden-cols article { border-top: 3px solid var(--green-700); padding-top: 16px; }
.garden-cols p { color: var(--muted); }
.garden-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.people li { display: grid; gap: 2px; }
.people a { text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 860px) { .garden-cols, .garden-foot { grid-template-columns: 1fr; } .garden-hero img { aspect-ratio: 16 / 9; } }

/* ---------- Memento Mori ---------- */
.section-dark { background: var(--blue-900); color: #e9eefb; }
.section-dark a { color: #fff; }
.split-narrow { grid-template-columns: auto 1fr; }
.year-badge {
  width: clamp(140px, 18vw, 200px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--gold-400); display: grid; place-content: center; text-align: center; color: var(--gold-300);
}
.year-badge span { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.year-badge small { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-top: 6px; }
@media (max-width: 860px) { .split-narrow { grid-template-columns: 1fr; } .year-badge { width: 120px; } }
.file {
  display: inline-flex; gap: 14px; align-items: center; padding: 12px 18px 12px 12px; margin-top: 8px;
  border-radius: 12px; text-decoration: none; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .2);
}
.file:hover { background: rgb(255 255 255 / .14); }
.file-ico { background: var(--red-600); color: #fff; font-weight: 700; font-size: .75rem; padding: 10px 8px; border-radius: 8px; }
.file small { display: block; opacity: .75; font-size: .82rem; }

/* ---------- Melding ---------- */
.callout {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 6px);
  background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--red-600); box-shadow: var(--shadow);
}
.callout > div { flex: 1 1 380px; }
.callout p:last-child { margin: 0; color: var(--muted); }

/* ---------- Nieuwsbrief ---------- */
.newsletter {
  background:
    radial-gradient(circle at 90% 10%, rgb(243 195 22 / .18), transparent 40%),
    linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
}
.newsletter-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.newsletter p { opacity: .92; }
.newsletter-form .inline { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; }
.newsletter-form input { border: 0; background: transparent; color: #1b2333; border-radius: 999px; min-width: 0; }
.newsletter-form input:focus { box-shadow: none; }
.newsletter .fine { font-size: .84rem; margin: 10px 0 0; opacity: .8; }
.newsletter .fine a { color: #fff; }
.newsletter .form-msg.ok { color: var(--gold-300); }
.newsletter .form-msg.err { color: #ffc2cb; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 420px) {
  .newsletter-form .inline { flex-direction: column; border-radius: 16px; }
  .newsletter-form .btn { width: 100%; }
}

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 10px; margin-top: 20px; max-width: 420px; }
.card-link { padding: 14px 18px; text-decoration: none; color: var(--text); display: flex; justify-content: space-between; gap: 12px; box-shadow: none; flex-wrap: wrap; }
.card-link span { color: var(--accent); }
.card-link:hover { border-color: var(--accent); }

/* ---------- Privacy ---------- */
.privacy { padding: 40px 0; border-top: 1px solid var(--line); }
.privacy summary { cursor: pointer; font-weight: 600; }
.privacy .prose { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c9d3ea; padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand strong { display: block; font-family: var(--font-display); color: #fff; font-size: 1.2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.copy { margin: 0; width: 100%; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 16px; }

/* ---------- Lightbox ---------- */
.lightbox { background: transparent; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 82dvh; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: .95rem; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { position: fixed; }

/* ---------- Inlogpagina ---------- */
.inloggen { max-width: 480px; margin-inline: auto; }
.inlogknoppen { display: grid; gap: 10px; margin: 20px 0; }
.inlogknop { justify-content: flex-start; gap: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-weight: 600; }
.inlogknop:hover { border-color: var(--accent); }
.inloggen .fine { color: var(--muted); font-size: .88rem; }

/* ---------- Productie-aanvullingen ---------- */
.testbalk { background: var(--gold-400); color: var(--blue-900); text-align: center; font: 600 .85rem/1.4 var(--font-body); padding: 6px 16px; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.smal { max-width: 760px; }
.main-nav .nav-zoek { color: var(--muted); }
.prose img { border-radius: var(--radius-sm); height: auto; }
.prose a { overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.section-dark .prose p, .section-dark .prose li { color: #e9eefb; }
.split-media.breed { margin-bottom: 32px; }
.split-media.breed img { aspect-ratio: 21 / 8; }
.zij { display: grid; gap: 4px; }
.zij .prose p { margin-bottom: .4em; }
.newsletter .newsletter-form { margin-top: 0; }
.newsletter .newsletter-form .btn { margin-top: 0; }
.files { display: grid; gap: 10px; margin: 20px 0; justify-items: start; }
.section:not(.section-dark) .file, .artikel .file { background: var(--tint); border-color: var(--line); color: var(--text); }
.section:not(.section-dark) .file:hover, .artikel .file:hover { border-color: var(--accent); }

/* Kaarten-weergave: een opsomming wordt een raster van kaarten */
.kaarten ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; max-width: none; }
.kaarten li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 44px; position: relative; font-weight: 600; }
.kaarten li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 3px; background: var(--blue-700); transform: rotate(45deg); }
.kaarten li:nth-child(3n+2)::before { background: var(--red-600); }
.kaarten li:nth-child(3n)::before { background: var(--gold-400); }
.kaarten li a { display: block; font-weight: 500; font-size: .9rem; }

/* Artikel */
.artikel { padding-block: clamp(28px, 5vw, 56px); }
.artikel-wrap { max-width: 800px; }
.kruimel { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.kruimel a { color: var(--muted); }
.artikel-kop h1 { font-size: clamp(2rem, 4.5vw, 3rem); text-wrap: balance; margin-top: .4em; }
.artikel-beeld { margin: 8px 0 28px; border-radius: var(--radius); overflow: hidden; }
.artikel-beeld img { width: 100%; max-height: 70vh; object-fit: cover; }
.artikel-tekst { font-size: 1.06rem; }
.artikel-tekst p, .artikel-tekst ul, .artikel-tekst ol { max-width: 68ch; }
.artikel video, .embed { width: 100%; border-radius: var(--radius); margin: 16px 0; background: #000; }
.embed { aspect-ratio: 16 / 9; overflow: hidden; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.artikel .gallery { margin: 24px 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.share a, .share button { border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 7px 12px; border-radius: 999px; font: 500 .86rem var(--font-body); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); }

/* Paginering */
.paginering { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; color: var(--muted); font-size: .92rem; }
.paginering a { font-weight: 600; text-decoration: none; }

/* Zoeken */
.zoek input { width: 100%; font: 400 1.1rem var(--font-body); padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.zoek input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.zoek-status { color: var(--muted); margin-top: 14px; }
.zoek-resultaten { list-style: none; padding: 0; display: grid; gap: 18px; }
.zoek-resultaten a { font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.zoek-resultaten p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.zoek-resultaten small { color: var(--muted); }
.status-tekst { font-size: 1.05rem; }

/* ---------- Dorpsfoto's: per open ruimte één stilstaande foto ----------
   De foto staat vast in beeld (position: fixed) en wordt bijgesneden tot zijn eigen ruimte
   (clip-path op de ruimte). Zo schuift de pagina eroverheen en toont elke ruimte een eigen foto.
   Dit werkt ook op iOS, waar background-attachment: fixed niet werkt. */
.hero-venster, .venster { clip-path: inset(0); }
.venster-foto { position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; z-index: -2; background: var(--blue-900); pointer-events: none; }
.venster-foto img, .hero-venster .venster-foto .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: auto; }
.venster-foto img:not([src]) { visibility: hidden; }
.hero-venster .hero-shade { background: linear-gradient(90deg, rgb(15 37 80 / .6) 0%, rgb(15 37 80 / .25) 55%, rgb(15 37 80 / 0) 80%), linear-gradient(180deg, rgb(15 37 80 / .1) 0%, rgb(15 37 80 / 0) 35%, rgb(15 37 80 / .8) 100%); }

.venster { position: relative; height: clamp(260px, 62vh, 640px); isolation: isolate; }
@media (max-width: 700px) { .venster { height: clamp(220px, 48vh, 420px); } }
.venster-onderschrift {
  position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; margin: 0; z-index: 1;
  color: #fff; font: 500 .82rem/1.3 var(--font-body); text-shadow: 0 1px 8px rgb(0 0 0 / .6);
  background: rgb(15 37 80 / .35); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.venster-onderschrift:empty { display: none; }
.hero-venster > .venster-onderschrift { top: 14px; bottom: auto; }

/* Uitnodiging om te scrollen */
.hero-venster .hero-content { padding-bottom: 120px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: #fff; text-decoration: none; font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 1px 6px rgb(0 0 0 / .45); opacity: .9; transition: opacity .4s ease;
}
.scroll-hint svg { animation: scroll-hint 1.8s ease-in-out infinite; }
.scroll-hint:hover { opacity: 1; }
.scroll-hint.weg { opacity: 0; pointer-events: none; }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }
@media (max-width: 640px) { .scroll-hint { bottom: 52px; } .hero-venster .hero-content { padding-bottom: 112px; } }

.venster { position: relative; height: clamp(260px, 62vh, 640px); }
@media (max-width: 700px) { .venster { height: clamp(220px, 48vh, 420px); } }

.news-card .thumb img.dorpsfoto { filter: saturate(.9); }
