/* Gedeelde basis voor de ontwerpvarianten. Elke variant zet zijn eigen tokens in style.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link, var(--accent)); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--head, var(--ink)); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--max, 1160px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: .5em 1em; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }

/* Taalwissel */
.lang { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; font-size: .8125rem; letter-spacing: .06em; }
.lang a { text-decoration: none; padding: .2em .45em; border-radius: 4px; color: inherit; opacity: .75; }
.lang a[aria-current] { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Formulier */
.form { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form .full { grid-column: 1 / -1; }
.form fieldset { border: 0; padding: 0; margin: 0; display: contents; }
.form legend { grid-column: 1 / -1; font-family: var(--font-head); font-size: 1.25rem; margin-top: .75rem; color: var(--head, var(--ink)); }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius, 6px); background: var(--field, #fff); color: var(--ink); }
.field textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); flex: none; }
.req { color: var(--accent); }
.form-melding { grid-column: 1 / -1; padding: 1rem 1.25rem; border-radius: var(--radius, 6px); background: var(--note-bg, #eef3e8); border: 1px solid var(--line); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Fotogalerij + lightbox */
.galerij { display: grid; gap: var(--gal-gap, 10px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0; padding: 0; }
.galerij a { display: block; overflow: hidden; border-radius: var(--radius, 6px); }
.galerij img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .4s ease; }
.galerij a:hover img { transform: scale(1.04); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(10, 12, 10, .92); }
dialog.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: .75rem; padding: 3rem 1rem; }
dialog.lightbox img { max-height: calc(100vh - 8rem); width: auto; border-radius: 4px; }
dialog.lightbox figcaption { color: #eee; font-size: .9375rem; text-align: center; }
dialog.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; line-height: 1; }
.lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; } .lb-close { right: 1rem; top: 1rem; }

/* Prijstabel */
.prijstabel { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prijstabel th, .prijstabel td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.prijstabel td.bedrag, .prijstabel th.bedrag { text-align: right; }
.prijstabel td.bedrag { white-space: nowrap; }
.prijstabel thead th { font-size: .875rem; font-weight: 700; vertical-align: bottom; }
.prijstabel thead small { display: block; font-weight: 400; opacity: .75; }
@media (max-width: 520px) { .prijstabel th, .prijstabel td { padding: .7rem .4rem; font-size: .875rem; } .prijstabel { table-layout: fixed; } .prijstabel th:first-child { width: 38%; } }

/* Kaart (schematisch, geen externe kaartdienst) */
.kaart { width: 100%; height: auto; display: block; }
.kaart text { font-family: var(--font-body); }

/* Demo-label: dit is een ontwerpvoorstel */
.demo-badge { position: fixed; left: 12px; bottom: 12px; z-index: 50; background: #111; color: #fff; font: 600 12px/1.3 system-ui, sans-serif; padding: 8px 12px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.25); max-width: calc(100vw - 24px); }
.demo-badge a { color: #fff; }

/* Mobiel menu-knop (basis) */
.nav-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 6px; padding: .45rem .7rem; font: inherit; font-size: .875rem; cursor: pointer; }
@media (max-width: 860px) { .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Versie met echte tekst: tekstvoorstellen (staan NIET op de huidige site) zijn gestippeld onderlijnd */
.voorstel { text-decoration: underline dotted 2px; text-decoration-color: #d9822b; text-underline-offset: .2em; cursor: help; }

/* Kaart (OpenStreetMap, statisch beeld) + verplichte bronvermelding */
.kaart-bron { font-size: .8rem; line-height: 1.4; color: var(--muted); padding: .55rem .8rem; }
.kaart-bron a { color: inherit; }
