/* Van Vliet Installatie (concept van Revuno).
   De naam als monument, daarna klein en rustig. Nachtblauw als het water in de leiding, koper als enige accent. */
@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d1b2a;
  --surface: #142739;
  --ink: #ffffff;
  --muted: #a3b3c2;
  --accent: #e2b640;
  --accent-ink: #0d1b2a;
  --licht: #f3f4f1;
  --licht-ink: #0d1b2a;
  --licht-zacht: #4d5d6c;
  --run-1: #f3f4f1; --run-2: #c8d2db; --run-3: #7f95aa; --run-4: #2d4862;
  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --s-klein: 0.875rem;
  --s-tekst: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-kop: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --s-poster: clamp(3.5rem, 1rem + 9vw, 9rem);
  --marge: clamp(16px, 2vw, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--s-tekst); line-height: 1.5; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.zacht { color: var(--muted); }
.foto { object-fit: cover; width: 100%; height: 100%; filter: grayscale(.35) contrast(1.05); }

.concept { display: block; text-decoration: none; background: var(--licht); color: var(--licht-ink); font-size: var(--s-klein); padding: 9px var(--marge); text-align: center; }

.knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); font: 600 var(--s-tekst)/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .16s var(--ease), background-color .2s; }
.knop:hover { background: #f0c75a; }
.knop:active { transform: scale(.97); }
.knop-klein { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.knop .pijl { transition: transform .2s var(--ease); }
.knop:hover .pijl { transform: translateX(4px); }

/* kop */
.kop { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--marge); }
.merk { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
.buis { width: 22px; height: 22px; border: 5px solid var(--accent); border-radius: 50%; display: block; }
.kop nav { display: flex; gap: 28px; }
.kop nav a { text-decoration: none; font-weight: 500; color: var(--muted); padding: 8px 0; transition: color .2s; }
.kop nav a:hover, .kop nav a[aria-current="page"] { color: var(--ink); }

/* ---------- hero: naamband en rails ---------- */
.tegels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 170px 64px minmax(480px, 1fr); gap: 8px; padding: 0 8px 8px; min-height: calc(100svh - 110px); }
.tegels > * { min-width: 0; background: var(--surface); }
.naamband { grid-column: 1 / -1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--licht); color: var(--licht-ink); }
.naamband h1 { font-size: 9.7vw; line-height: .9; letter-spacing: -0.045em; white-space: nowrap; transform: translateY(.04em); }
.naamband h1 span { display: inline; }
.naamband .ondertitel { display: none; }
.linktegel { grid-column: span 3; display: flex; align-items: flex-start; justify-content: space-between; padding: 14px 16px; text-decoration: none; font-weight: 500; transition: background-color .2s; }
.linktegel:hover { background: var(--run-4); }
.linktegel span:last-child { transition: transform .2s var(--ease); }
.linktegel:hover span:last-child { transform: translate(3px, -3px); }
.rail-l { grid-column: 1 / 3; display: grid; grid-template-rows: 1fr auto; gap: 8px; background: none; }
.rail-l > * { background: var(--surface); min-height: 0; }
.rail-l figure { margin: 0; overflow: hidden; }
.feitjes { list-style: none; margin: 0; padding: 16px; display: grid; gap: 8px; font-size: 1rem; }
.feitjes li { color: var(--muted); }
.feitjes li b { color: var(--ink); font-weight: 500; display: block; }
.midden { grid-column: 3 / 11; position: relative; overflow: hidden; }
.midden img { position: absolute; inset: 0; }
.uitspraak { position: absolute; left: 0; bottom: 0; width: min(100%, 720px); background: var(--bg); padding: 24px 24px 28px; }
.uitspraak p { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; max-width: 24ch; }
.uitspraak .acties { display: flex; gap: 20px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.uitspraak .acties a:not(.knop) { color: var(--muted); }
.rail-r { grid-column: 11 / 13; display: grid; grid-template-rows: repeat(4, 1fr) 1.4fr; gap: 8px; background: none; }
.rail-r > * { padding: 14px; font-size: 0.9375rem; line-height: 1.3; font-weight: 500; }
.rail-r .r1 { background: var(--run-1); color: var(--licht-ink); }
.rail-r .r2 { background: var(--run-2); color: var(--licht-ink); }
.rail-r .r3 { background: var(--run-3); color: var(--licht-ink); }
.rail-r .r4 { background: var(--run-4); }
.rail-r .actie { background: var(--accent); color: var(--accent-ink); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; font-size: 1.125rem; font-weight: 600; transition: background-color .2s; }
.rail-r .actie:hover { background: #f0c75a; }
.rail-r .actie .pijl { font-size: 2rem; transition: transform .2s var(--ease); }
.rail-r .actie:hover .pijl { transform: translateX(6px); }

/* ---------- drukmeter (het levende ding) ---------- */
.druk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 180px var(--marge); align-items: center; }
.druk-tekst { grid-column: 1 / 6; }
.druk h2 { font-size: var(--s-kop); max-width: 18ch; }
.druk-tekst > p { margin-top: 18px; max-width: 42ch; }
.schuif { margin-top: 36px; }
.schuif label { display: block; font-weight: 500; margin-bottom: 10px; }
.schuif input[type=range] { width: 100%; accent-color: var(--accent); height: 44px; cursor: pointer; }
.schaal { display: flex; justify-content: space-between; font-size: var(--s-klein); color: var(--muted); font-variant-numeric: tabular-nums; }
.advies { margin-top: 28px; background: var(--surface); padding: 22px 24px; min-height: 150px; }
.advies b { display: block; font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.02em; }
.advies p { margin-top: 8px; color: var(--muted); max-width: 48ch; }
.advies .knop { margin-top: 18px; }
.meter-vlak { grid-column: 7 / 13; background: var(--licht); color: var(--licht-ink); aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; }
.meter { width: 76%; height: auto; }
.meter .naald { transform-origin: 200px 200px; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.meter-vlak figure { position: absolute; right: 0; bottom: 0; width: 34%; margin: 0; }
.meter-vlak figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.meter-vlak figcaption { position: absolute; left: 16px; bottom: 14px; font-size: var(--s-klein); color: var(--licht-zacht); max-width: 50%; }

/* ---------- diensten als index op één maat ---------- */
.index { background: var(--licht); color: var(--licht-ink); padding: 20vh var(--marge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.index h2 { grid-column: 1 / -1; font-size: 1.75rem; margin-bottom: 96px; }
.groep { grid-column: span 3; }
.groep:first-of-type { grid-column: 1 / 4; }
.groep b { display: block; font-weight: 500; margin-bottom: 1.25em; }
.groep ul { list-style: none; margin: 0; padding: 0; }
.groep li { line-height: 1.25; padding: 4px 0; color: var(--licht-zacht); cursor: default; transition: color .15s; }
.groep li:hover, .groep li:focus { color: var(--licht-ink); outline: none; }
.groep .samen { display: none; }
.index .toelichting { grid-column: 10 / 13; grid-row: 2; align-self: start; min-height: 6em; }
.index .toelichting b { display: block; font-weight: 500; }
.index .toelichting p { color: var(--licht-zacht); }
.index .meer { grid-column: 1 / -1; margin-top: 72px; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.index .meer a:not(.knop) { color: var(--licht-ink); }

/* ---------- poster: één klus per regel ---------- */
.poster { padding: 80px var(--marge); background: var(--surface); }
.poster h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.poster ul { list-style: none; margin: 0; padding: 0; }
.poster li a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; text-decoration: none; }
.poster .woord { font-size: var(--s-poster); line-height: .92; letter-spacing: -0.05em; font-weight: 600; transition: color .2s; }
.poster .detail { font-size: 1.1875rem; font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; transition: color .2s; }
.poster li a:hover .woord, .poster li a:focus-visible .woord { color: var(--accent); }
.poster li a:hover .detail { color: var(--ink); }

/* ---------- marquee ---------- */
.band { background: var(--accent); color: var(--accent-ink); padding: 18px var(--marge); }
.band-raam { overflow: hidden; }
.band-spoor { display: flex; width: max-content; }
.band-spoor span { font-size: clamp(2rem, 1rem + 4vw, 4.5rem); font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; padding-right: .6em; }
@media (prefers-reduced-motion: no-preference) {
  .band-spoor { animation: marquee 38s linear infinite; }
  .band:hover .band-spoor { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ---------- werkbon ---------- */
.werkbon { padding: 180px var(--marge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.werkbon .kopje { grid-column: 1 / 6; }
.werkbon h2 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.25rem); }
.werkbon .kopje p { margin-top: 20px; max-width: 32ch; }
.werkbon .kopje figure { margin: 48px 0 0; max-width: 420px; }
.werkbon .kopje img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.werkbon figcaption, .cap { font-size: var(--s-klein); color: var(--muted); margin-top: 10px; }
.bon { grid-column: 7 / 12; background: var(--licht); color: var(--licht-ink); padding: 32px 30px 62px; font-variant-numeric: tabular-nums; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%); max-width: 520px; }
.bon .bonkop { font-weight: 600; display: flex; justify-content: space-between; }
.bon .bonkop span:last-child { color: var(--licht-zacht); font-weight: 400; }
.bon h3 { font-size: 1.0625rem; letter-spacing: -0.01em; margin: 28px 0 8px; }
.regel { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-size: 1rem; }
.regel .punten { flex: 1; min-width: 16px; border-bottom: 4px dotted currentColor; opacity: .35; transform: translateY(-4px); }
.regel .waarde { white-space: nowrap; }
.bon .eind { background: var(--licht-ink); color: var(--licht); display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 46px; padding: 10px 14px; margin: 28px -14px 0; font-weight: 600; }

/* ---------- het vak: vastgezette titel, foto's schuiven voorbij ---------- */
.vak { position: relative; }
.vak-titel { padding: 0 var(--marge); }
.vak-titel h2 { font-size: clamp(5.5rem, 2rem + 11vw, 11rem); line-height: .85; letter-spacing: -0.05em; }
.vak-stoet { margin-top: 56px; padding-bottom: 180px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; padding-inline: var(--marge); }
.vak-item { grid-column: 1 / 5; margin: 0; }
.vak-item:nth-child(2) { grid-column: 5 / 9; margin-top: 180px; }
.vak-item:nth-child(3) { grid-column: 9 / 13; margin-top: 60px; }
.vak-item img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.vak-item b { display: block; margin-top: 14px; font-weight: 500; }
.vak-item p { color: var(--muted); max-width: 30ch; margin-top: 4px; font-size: 1rem; }

/* ---------- vragen als tabel ---------- */
.vragen { padding: 180px var(--marge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 80px 24px; }
.vragen h2, .vragen .v { grid-column: 1 / 7; font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.vragen h2 { color: var(--muted); grid-column: 1 / -1; }
.vragen .a { grid-column: 8 / 13; max-width: 40ch; line-height: 1.55; padding-top: .35em; }

/* ---------- contact in rijen ---------- */
.rijen { background: var(--licht); color: var(--licht-ink); }
.rijen .rij { margin: 0; font-weight: 400; }
.rij { display: flex; font-weight: 400; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 150px; padding: 0 var(--marge) 22px; font-size: clamp(2.5rem, 1rem + 4.6vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; text-decoration: none; }
.rij:nth-child(odd) { background: #e4e8e4; }
.rij small { font-size: 1rem; letter-spacing: 0; color: var(--licht-zacht); padding-bottom: .5em; text-align: right; }
a.rij:hover { background: #d3d9d4; }
.rij.groet { background: var(--accent); }
.rond { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--licht-ink); color: var(--licht); font-size: 1em; margin-left: 24px; vertical-align: -.08em; transition: transform .25s var(--ease); }
.rond svg { width: 40%; height: 40%; }
.rij.groet:hover .rond { transform: translateX(8px); }

/* ---------- voet ---------- */
.voet { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding: 40px var(--marge) 20px; background: var(--licht); color: var(--licht-ink); }
.voet-kolommen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; font-size: 1rem; }
.voet-kolommen > div { grid-column: span 3; display: grid; gap: 4px; align-content: start; }
.voet-kolommen b { font-weight: 500; }
.voet-kolommen span, .voet-kolommen a { color: var(--licht-zacht); text-decoration: none; }
.voet-kolommen a:hover { color: var(--licht-ink); text-decoration: underline; }
.voet-kolommen .credits { font-size: 1rem; line-height: 1.45; }
.voet-merk { grid-row: 3; padding-top: 40px; }
.voet-merk svg { width: 100%; height: auto; display: block; }
.voet-merk text { font-family: var(--font); font-weight: 600; font-size: 160px; letter-spacing: -6px; fill: var(--licht-ink); }
.juridisch { grid-row: 4; font-size: var(--s-klein); color: var(--licht-zacht); margin-top: 20px; }

/* ---------- subpagina's ---------- */
.paginakop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding: 0 8px 8px; }
.paginakop .titel { grid-column: 1 / 8; background: var(--licht); color: var(--licht-ink); padding: clamp(32px, 6vw, 88px) clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.paginakop h1 { font-size: clamp(3rem, 1.4rem + 5.4vw, 7rem); letter-spacing: -0.05em; line-height: .9; }
.paginakop .titel p { margin-top: 22px; font-size: var(--s-lead); line-height: 1.3; max-width: 30ch; }
.paginakop figure { grid-column: 8 / 13; margin: 0; overflow: hidden; background: var(--surface); min-height: 300px; }

.dienstlijst { padding: 160px var(--marge); display: grid; gap: 120px; }
.dienst { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.dienst figure { grid-column: 1 / 6; margin: 0; }
.dienst figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dienst .tekst { grid-column: 7 / 13; }
.dienst:nth-child(even) figure { grid-column: 8 / 13; grid-row: 1; }
.dienst:nth-child(even) .tekst { grid-column: 1 / 7; grid-row: 1; }
.dienst h2 { font-size: var(--s-kop); }
.dienst .tekst > p { margin-top: 16px; max-width: 46ch; }
.dienst ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dienst li { background: var(--surface); padding: 12px 16px; }
.dienst li b { font-weight: 500; }
.dienst li span { display: block; color: var(--muted); font-size: 1rem; }
.dienst .knop { margin-top: 26px; }

.kaartsectie { padding: 160px var(--marge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.kaartsectie figure { grid-column: 1 / 8; margin: 0; }
.kaartsectie figure img { width: 100%; }
.kaartsectie .tekst { grid-column: 9 / 13; }
.kaartsectie h2 { font-size: var(--s-kop); }
.kaartsectie .tekst > p { margin-top: 16px; }
.plaatsen { list-style: none; margin: 28px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.plaatsen li { padding: 5px 0; break-inside: avoid; }
.plaatsen li b { font-weight: 500; }
.postcode { margin-top: 36px; background: var(--surface); padding: 22px; }
.postcode label { display: block; font-weight: 500; margin-bottom: 10px; }
.postcode .veld { display: flex; gap: 8px; }
.postcode input { flex: 1; min-width: 0; }
.fotopaar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 40px; }
.fotopaar img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.kaartsectie .tekst figure { margin: 36px 0 0; }
.kaartsectie .tekst figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.postcode output { display: block; margin-top: 14px; color: var(--muted); min-height: 1.5em; }

/* formulier */
input, select, textarea { font: 400 1.0625rem var(--font); color: var(--licht-ink); background: #fff; border: 2px solid transparent; min-height: 52px; padding: 0 14px; border-radius: 0; width: 100%; }
textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.aanvraag { padding: 100px var(--marge) 180px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.zijkolom { grid-column: 1 / 4; position: sticky; top: 24px; }
.stappen-voortgang { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stappen-voortgang li { background: var(--surface); padding: 14px 16px; color: var(--muted); }
.stappen-voortgang li b { display: block; color: var(--ink); font-weight: 500; }
.stappen-voortgang li.nu { background: var(--accent); color: var(--accent-ink); }
.stappen-voortgang li.nu b { color: var(--accent-ink); }
.stappen-foto { margin: 8px 0 0; }
.stappen-foto img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stappen-voortgang li.klaar b::after { content: "  ✓"; }
.formulier { grid-column: 5 / 13; }
.stap { border: 0; margin: 0 0 64px; padding: 0; min-width: 0; }
.stap legend { font-size: var(--s-kop); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; padding: 0; margin-bottom: 26px; }
.js .stap[hidden] { display: none; }
.keuzes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.keuze { position: relative; }
.keuze input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.keuze span { display: block; background: var(--surface); padding: 18px 18px 20px; min-height: 100%; transition: background-color .15s; }
.keuze span b { display: block; font-weight: 600; font-size: 1.1875rem; }
.keuze span i { font-style: normal; color: var(--muted); font-size: 1rem; }
.keuze:hover span { background: var(--run-4); }
.keuze input:checked + span { background: var(--accent); color: var(--accent-ink); }
.keuze input:checked + span i { color: var(--accent-ink); }
.keuze input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.velden .breed { grid-column: 1 / -1; }
.velden label { display: block; font-weight: 500; margin-bottom: 8px; }
.velden .hint { font-size: var(--s-klein); color: var(--muted); margin-top: 6px; }
.knoppen { display: flex; gap: 16px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.terug { background: none; border: 0; color: var(--muted); font: 500 var(--s-tekst) var(--font); cursor: pointer; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.terug:hover { color: var(--ink); }
.fout { color: #ffb48a; margin-top: 14px; }
.verstuurd { background: var(--licht); color: var(--licht-ink); padding: 32px; }
.verstuurd h2 { font-size: var(--s-kop); }
.verstuurd p { margin-top: 12px; max-width: 52ch; }
.verstuurd dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.verstuurd dt { color: var(--licht-zacht); }
.verstuurd dd { margin: 0; }

/* entrees */
@media (prefers-reduced-motion: no-preference) {
  .js .rijs { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rijs.in { opacity: 1; transform: none; }
  .js .naamband h1 { animation: naam-in 1.1s var(--ease) both; }
  @keyframes naam-in { from { transform: translateY(60%); } }
  .js .tegels > *:not(.naamband) { animation: tegel-in .8s var(--ease) both; }
  .js .tegels > :nth-child(2) { animation-delay: .25s; } .js .tegels > :nth-child(3) { animation-delay: .3s; }
  .js .tegels > :nth-child(4) { animation-delay: .35s; } .js .tegels > :nth-child(5) { animation-delay: .4s; }
  .js .tegels > :nth-child(6) { animation-delay: .45s; } .js .tegels > :nth-child(7) { animation-delay: .5s; }
  .js .tegels > :nth-child(8) { animation-delay: .55s; }
  .js .paginakop > * { animation: tegel-in .8s var(--ease) both; }
  .js .paginakop > :nth-child(2) { animation-delay: .15s; }
  .js .zijkolom > *, .js .stap:not([hidden]) { animation: tegel-in .8s .2s var(--ease) both; }
  .js .zijkolom > :nth-child(2) { animation-delay: .3s; } .js .zijkolom > :nth-child(3) { animation-delay: .4s; }
  .js .keuze { animation: tegel-in .6s var(--ease) both; }
  .js .keuze:nth-child(2) { animation-delay: .3s; } .js .keuze:nth-child(3) { animation-delay: .36s; } .js .keuze:nth-child(4) { animation-delay: .42s; } .js .keuze:nth-child(5) { animation-delay: .48s; } .js .keuze:nth-child(6) { animation-delay: .54s; }
  @keyframes tegel-in { from { opacity: 0; transform: translateY(18px); } }
  .midden img { animation: zweef 24s ease-in-out infinite alternate; }
  @keyframes zweef { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
}

/* ---------- tablet en telefoon ---------- */
@media (max-width: 1000px) {
  .tegels { grid-template-rows: auto; min-height: 0; }
  .naamband { padding: 20px 0; }
  .rail-l { grid-column: 1 / 5; }
  .midden { grid-column: 5 / -1; min-height: 520px; }
  .rail-r { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr) 1.6fr; grid-template-rows: 120px; }
  .druk-tekst, .meter-vlak { grid-column: 1 / -1; }
  .meter-vlak { max-width: 560px; }
  .groep, .groep:first-of-type { grid-column: span 4; }
  .index .toelichting { display: none; }
  .groep .samen { display: block; margin-top: 14px; color: var(--licht-zacht); font-size: 1rem; }
  .werkbon .kopje, .bon { grid-column: 1 / -1; }
  .vragen h2, .vragen .v, .vragen .a { grid-column: 1 / -1; }
  .vragen { gap: 12px; }
  .vragen .a { margin-bottom: 44px; }
  .voet-kolommen > div { grid-column: span 6; }
  .paginakop .titel, .paginakop figure { grid-column: 1 / -1; }
  .dienst figure, .dienst .tekst, .dienst:nth-child(even) figure, .dienst:nth-child(even) .tekst { grid-column: 1 / -1; grid-row: auto; }
  .kaartsectie figure, .kaartsectie .tekst { grid-column: 1 / -1; }
  .zijkolom { grid-column: 1 / -1; position: static; }
  .stappen-voortgang { grid-template-columns: repeat(3, 1fr); }
  .stappen-foto { display: none; }
  .formulier { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .kop { flex-wrap: wrap; gap: 8px 16px; }
  .kop nav { order: 3; width: 100%; gap: 20px; }
  .tegels { gap: 6px; padding: 0 6px 6px; }
  .naamband h1 { font-size: 17vw; white-space: normal; text-align: left; line-height: .88; padding: 0 10px; }
  .naamband h1 span { display: block; }
  .naamband { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
  .naamband .ondertitel { display: block; padding: 0 10px; font-size: 1.0625rem; max-width: 30ch; }
  .linktegel { grid-column: span 6; min-height: 56px; }
  .midden { grid-column: 1 / -1; min-height: 0; display: flex; flex-direction: column; overflow: visible; background: none; }
  .midden img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .uitspraak { position: static; width: 100%; padding: 20px 16px 24px; background: var(--surface); }
  .uitspraak p { font-size: 5.9vw; }
  .rail-l { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .rail-l figure img { aspect-ratio: 3 / 4; }
  .rail-r { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .rail-r > * { min-height: 84px; }
  .rail-r .actie { grid-column: 1 / -1; min-height: 72px; flex-direction: row; align-items: center; }
  .rail-r .actie .pijl { font-size: 1.25rem; }
  .midden { order: 1; } .rail-l { order: 2; } .rail-r { order: 3; }
  .druk { padding-block: 110px; }
  .meter-vlak figure { width: 40%; }
  .index { padding-block: 96px; }
  .index h2 { font-size: 1.5rem; margin-bottom: 48px; }
  .groep, .groep:first-of-type { grid-column: 1 / -1; margin-bottom: 40px; }
  .groep li { font-size: 1.125rem; line-height: 1.4; }
  .poster .woord { font-size: 13vw; }
  .poster li a { flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 22px; }
  .poster .detail { text-align: left; font-size: 0.9375rem; }
  .werkbon { padding-block: 110px; }
  .bon { padding: 26px 20px 56px; }
  .bon .eind { margin-inline: -8px; }
  .vak-titel h2 { font-size: 17vw; }
  .vak-stoet { margin-top: 24px; padding-bottom: 60px; }
  .vak-item:nth-child(n) { margin-top: 0; }
  .vak-item:nth-child(n) { grid-column: 1 / 10; margin-bottom: 48px; }
  .vak-item:nth-child(2) { grid-column: 4 / -1; }
  .vragen { padding-block: 110px; }
  .vragen h2, .vragen .v { font-size: 1.5rem; }
  .rij { min-height: 84px; font-size: 9.6vw; padding-bottom: 14px; flex-wrap: wrap; }
  .rij small { width: 100%; text-align: left; padding: 0; }
  .voet { min-height: 0; }
  .voet-kolommen > div { grid-column: 1 / -1; }
  .voet-merk { padding-top: 20svh; }
  .paginakop .titel { min-height: 300px; }
  .paginakop figure img { aspect-ratio: 4 / 3; }
  .dienstlijst, .kaartsectie { padding-block: 100px; }
  .dienstlijst { gap: 80px; }
  .plaatsen { columns: 1; }
  .stappen-voortgang { grid-template-columns: 1fr; }
  .stappen-voortgang li:not(.nu) { display: none; }
  .stappen-foto { display: none; }
  .keuzes, .velden { grid-template-columns: 1fr; }
}
