/* Stelwagen – huisstijl website. Bron: merkboek optie 1 (blauw). */
:root {
  --navy: #14253D; --ijs: #ADC6E6; --ijs-d: #8DAEDB; --beton: #E3E6EA; --wit: #F8F9FB; --ink: #121821;
  --muted: #56606F; --line: #D9DEE5; --accent: #2C5A93;
  --f-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1200px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wit); color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em; }
.label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; max-width: 58ch; color: #2A3442; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(248,249,251,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 42px; width: auto; }
@media (max-width: 520px) { .brand img { height: 36px; } }
.nav { display: flex; align-items: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ijs-d); }
.nav .cta a { background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 99px; border: 0; }
.nav .cta a:hover { background: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font: inherit; font-weight: 500; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wit); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); gap: 0; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .cta a { margin-top: 14px; text-align: center; }
}

/* knoppen */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 14px 22px; border-radius: 99px; background: var(--navy); color: #fff; }
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: var(--ijs); color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* secties */
section { padding-block: clamp(48px, 7vw, 96px); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* hero */
.hero { padding-block: clamp(16px, 3vw, 40px) 0; }
.hero .wrap { display: grid; gap: 18px; }
.hero .label { margin-bottom: -4px; }
.hero h1 { max-width: 16ch; }
.hero-img { margin-top: clamp(16px, 3vw, 32px); position: relative; }
.hero-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px; }
.hero-img figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(18,24,33,.72); color: #fff; padding: 6px 12px; border-radius: 99px; }
@media (max-width: 600px) { .hero-img img { aspect-ratio: 4 / 3; } }

/* uitgelicht project */
.feature { background: var(--navy); color: #fff; border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.feature .txt { padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; align-content: center; }
.feature .label { color: var(--ijs); }
.feature h2 { color: #fff; }
.feature p { color: #D3DDEA; max-width: 46ch; }
.feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid rgba(173,198,230,.3); }
.facts > div { padding: 14px 16px 0 0; display: grid; gap: 2px; }
.facts .v { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.facts .k { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ijs); }

/* drie kolommen */
.cols { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1.5px solid var(--ink); }
.cols > div { padding: 24px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.cols p { color: var(--muted); }
.cols a { font-weight: 600; text-decoration: none; color: var(--accent); }
.cols a:hover { text-decoration: underline; }

.pillars { background: var(--beton); }
.pillars .grid4 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pillars .grid4 > div { display: grid; gap: 8px; align-content: start; }
.pillars .grid4 p { color: var(--muted); }

/* call to action band */
.band { background: var(--ijs); }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.band h2 { color: var(--navy); max-width: 18ch; }

/* projectpagina */
.crumbs { padding-top: 28px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--beton); padding: 6px 14px; border-radius: 99px; font-family: var(--f-mono); font-size: .78rem; justify-self: start; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3E9B6B; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1.5px solid var(--ink); }
.keyfacts > div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.keyfacts .k { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.keyfacts .v { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.two { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { color: #2A3442; }
.levels { display: grid; gap: 0; border-top: 1px solid var(--line); }
.levels > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.levels .k { font-family: var(--f-mono); font-size: .78rem; color: var(--accent); padding-top: 3px; }
@media (max-width: 520px) { .levels > div { grid-template-columns: 1fr; gap: 4px; } }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; grid-column: span 2; }
.gallery figure.wide { grid-column: span 4; }
.gallery figure.half { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(18,24,33,.7); color: #fff; padding: 4px 10px; border-radius: 99px; font-family: var(--f-mono); font-size: .7rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure, .gallery figure.wide, .gallery figure.half { grid-column: span 1; } .gallery figure.wide { grid-column: span 2; } }

.tablewrap { overflow-x: auto; }
table.units { width: 100%; border-collapse: collapse; min-width: 620px; font-variant-numeric: tabular-nums; }
.units th { text-align: left; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 400; padding: 0 16px 12px 0; border-bottom: 1.5px solid var(--ink); }
.units td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.units td.num { text-align: right; padding-right: 32px; }
.units th.num { text-align: right; padding-right: 32px; }
.units tr:hover td { background: #EEF2F7; }
.pill { display: inline-block; font-family: var(--f-mono); font-size: .72rem; padding: 3px 10px; border-radius: 99px; background: var(--beton); }
.pill.a { background: #DDEFE4; color: #1E6B44; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1.5px solid var(--ink); }
.timeline li { padding: 18px 18px 0 0; display: grid; gap: 6px; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--wit); border: 2px solid var(--ink); }
.timeline li.done::before { background: var(--ink); }
.timeline li.now::before { background: var(--ijs-d); border-color: var(--navy); }
.timeline .k { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.partners > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.partners .k { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.note { font-size: .85rem; color: var(--muted); max-width: 70ch; }

/* stappen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-mono); font-size: .8rem; color: var(--accent); }
.steps p { color: var(--muted); }

/* contact */
.contact-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.contact-card .big { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.todo { background: #FFF3C4; padding: 0 4px; border-radius: 2px; }

/* footer */
.site-foot { background: var(--navy); color: #C9D4E3; padding-block: 56px 40px; font-size: .92rem; }
.site-foot .top { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-bottom: 40px; border-bottom: 1px solid rgba(173,198,230,.25); }
.site-foot img { height: 46px; width: auto; }
.site-foot h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .legal { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .72rem; color: #9FB0C6; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* one-pager */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
.band .contact-grid .contact-card { border-color: transparent; }
.proj-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.proj-tabs a { text-decoration: none; font-weight: 600; padding: 10px 16px; border-radius: 99px; background: var(--beton); display: inline-flex; gap: 10px; align-items: baseline; }
.proj-tabs a[aria-current] { background: var(--navy); color: #fff; }
.proj-tabs a .mono { opacity: .75; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 760px) { #aanbieden .steps { grid-template-columns: 1fr !important; } }

/* contactformulier */
.contact-wrap { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start !important; }
.contact-mini { display: grid; gap: 16px; margin-top: 8px; }
.contact-mini > div { display: grid; gap: 2px; }
.contact-mini a, .contact-mini span:not(.label) { font-size: 1.15rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-mini a:hover { text-decoration: underline; }
.cform { background: #fff; border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; min-width: 0; }
.frow { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--wit); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; width: 100%; min-width: 0; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fsubmit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.fsubmit .btn { border: 0; cursor: pointer; font-family: inherit; }
.fsubmit .btn:disabled { opacity: .6; cursor: wait; }
.fprivacy, .fhint { font-size: .82rem; color: var(--muted); margin: 0; flex: 1; min-width: 200px; }
.fhint { background: var(--beton); padding: 10px 12px; border-radius: 4px; color: var(--ink); }
.fstatus { margin: 0; padding: 12px 14px; border-radius: 4px; font-weight: 500; }
.fstatus.ok { background: #DDEFE4; color: #1E6B44; }
.fstatus.fout { background: #FBE3E1; color: #8C1D18; }
