/* DWNS PROJECTS, voorbeeldsite. Statisch, geen build. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --ground: #e8e7e3;
  --tone: #dcd9d1;
  --ink: #161819;
  --muted: #45484a;
  --soil: #241f1b;
  --soil-2: #322b25;
  --on-soil: #eeedea;
  --on-soil-muted: #c8c4bd;
  --orange: #f26a1b;
  --orange-hover: #ff7f33;
  --sand: #d8b878;
  --clay: #8f7a63;
  --topsoil: #4a3a2c;
  --grass: #6b8a3a;
  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --t-display: clamp(2.2rem, 6.2vw, 5.8rem);
  --t-h2: clamp(1.9rem, 4.2vw, 3.6rem);
  --t-h3: 1.5rem;
  --t-lead: clamp(1.125rem, 1.4vw, 1.25rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-stretch: 100%; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-stretch: 100%; font-weight: 800; line-height: .98; letter-spacing: -0.015em; text-transform: uppercase; }
h3 { font-stretch: 112%; font-weight: 700; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 14px 10px; margin: 0 -10px; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -9px; }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--soil); color: var(--on-soil); }
.site-header .wrap { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.wordmark svg { width: 38px; height: 30px; flex: none; color: var(--orange); }
.wm-text { display: flex; align-items: baseline; gap: 8px; line-height: 1; white-space: nowrap; }
.wm-name { font-stretch: 125%; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.01em; }
.wm-sub { font-stretch: 100%; font-weight: 600; font-size: 1rem; color: var(--on-soil-muted); }
.nav-links { display: none; list-style: none; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 7px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 0; font: 700 1.0625rem/1 var(--font); font-stretch: 105%; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #2f3335; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.on-soil .btn-line:hover { background: var(--on-soil); color: var(--soil); border-color: var(--on-soil); }
.site-header .btn { min-height: 44px; padding: 0 14px; font-size: 1rem; }
.head-mail .long { display: none; }
.head-mail { padding: 0 12px; }
.site-header .btn-line:hover { background: var(--on-soil); color: var(--soil); }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--ground); color: var(--ink); padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,.3); } /* taste-skill-ignore: het menu zweeft echt boven de pagina */
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--tone); }
@media (max-width: 519px) { .wm-sub { display: none; } .site-header .wrap { gap: 8px; } .site-header .btn { padding: 0 12px; } }
@media (max-width: 419px) { .wordmark svg { width: 30px; } .wordmark { gap: 8px; } .wm-name { font-size: 1.3rem; } .site-header .wrap { gap: 6px; } }
@media (min-width: 480px) { .head-mail .long { display: inline; } }
@media (min-width: 1120px) { .nav-links { display: flex; } .menu { display: none; } }

/* ---------- Held op donkere grond ---------- */
.hero { background: var(--soil); color: var(--on-soil); padding-block: clamp(24px, 4vw, 64px) clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--t-display); }
.hero .lead { font-size: var(--t-lead); max-width: 34em; margin-top: 24px; color: var(--on-soil); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { min-height: 56px; }
.facts-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-weight: 600; }
.facts-row li { display: inline-flex; align-items: center; gap: 8px; }
.facts-row svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.hero-media { margin: 0; position: relative; overflow: hidden; background: var(--soil-2); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media figcaption { position: absolute; right: 0; bottom: 0; background: var(--soil); color: var(--on-soil-muted); padding: 10px 0 0 14px; font-size: 1rem; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.3fr .7fr; }
  .hero-media { aspect-ratio: auto; height: min(74vh, 700px); }
}

/* ---------- Secties ---------- */
.section { padding-block: clamp(72px, 10vw, 160px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head h2 { font-size: var(--t-h2); max-width: 15em; }
.section-head p { font-size: var(--t-lead); max-width: 38em; }
@media (min-width: 960px) { .section-head { grid-template-columns: 1.2fr 1fr; column-gap: 64px; align-items: end; } }

/* ---------- Grondrekenaar ---------- */
.calc { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .calc { grid-template-columns: .9fr 1.1fr; } }
.calc-form { display: grid; gap: 22px; }
.presets { border: 0; margin: 0; padding: 0; }
.presets legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-row label { position: relative; display: inline-flex; }
.preset-row input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.preset-row span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--tone); font-weight: 600; transition: background-color .2s var(--ease), color .2s var(--ease); }
.preset-row input:checked + span { background: var(--ink); color: var(--ground); }
.preset-row input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.preset-row label:hover span { background: #cfccc3; }
.preset-row input:checked:hover + span, .preset-row label:hover input:checked + span { background: var(--ink); }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: #f6f4ef; color: var(--ink); font: 400 1.0625rem/1.4 var(--font); }
.field textarea { min-height: 140px; resize: vertical; }
.dims input { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out { background: var(--soil); color: var(--on-soil); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.section-svg { width: 100%; height: auto; background: #2d2722; }
.result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.result p { display: grid; gap: 6px; align-content: start; }
.result .num { font-stretch: 125%; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
.result .unit { font-size: 1rem; font-weight: 600; font-stretch: 100%; }
.result .lab { font-weight: 600; color: var(--on-soil-muted); font-size: 1rem; line-height: 1.3; }
.calc-note { color: var(--on-soil-muted); }
.calc-out .btn { justify-self: start; }
@media (max-width: 520px) { .result { grid-template-columns: 1fr 1fr; } .result p:last-child { grid-column: 1 / -1; } }

/* ---------- Twee vakken ---------- */
.twin { display: grid; gap: clamp(48px, 6vw, 72px); }
@media (min-width: 960px) { .twin { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 64px); } .twin > :last-child { margin-top: 120px; } }
.twin figure { margin: 0; overflow: hidden; background: var(--tone); }
.twin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.twin figure:hover img { transform: scale(1.03); }
.twin h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-top: 24px; }
.twin p { margin-top: 12px; max-width: 34em; }
.list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
.cap { font-size: 1rem; color: var(--muted); padding-top: 10px; }

/* ---------- Band: sleuven en riolering ---------- */
.band { background: var(--soil); color: var(--on-soil); }
.band .wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .band .wrap { grid-template-columns: 1.4fr 1fr; } .band figure { order: -1; } }
.band figure { margin: 0; overflow: hidden; }
.band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.band h2 { font-size: var(--t-h2); }
.band p { margin-top: 18px; font-size: var(--t-lead); max-width: 30em; }
.band .cap { color: var(--on-soil-muted); }

/* ---------- Werkwijze ---------- */
.steps { list-style: none; display: grid; gap: 32px; }
.steps li { display: grid; gap: 10px; }
.steps li::before { content: ""; display: block; height: 8px; background: var(--orange); margin-bottom: 14px; }
.steps li:nth-child(2)::before { background: var(--sand); }
.steps li:nth-child(3)::before { background: var(--ink); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: 8px; } .steps li { padding-right: 32px; } }

/* ---------- Werkgebied met kaart ---------- */
.area { background: var(--tone); }
.area-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 1fr 1.1fr; } }
.area h2 { font-size: var(--t-h2); }
.area p { margin-top: 18px; font-size: var(--t-lead); max-width: 32em; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-weight: 600; }
.map { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.map svg { width: 100%; height: auto; }
.map .lbl { position: absolute; transform: translate(-50%, 0); font-weight: 700; font-size: 1rem; white-space: nowrap; line-height: 1.1; padding-top: 10px; }
.map .lbl.up { transform: translate(-50%, -150%); padding-top: 0; }
.map .lbl.home { font-stretch: 125%; font-weight: 800; font-size: 1.125rem; }

/* ---------- Vragen ---------- */
.faq-grid { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq h2 { font-size: var(--t-h2); }
.faq-list details { background: #f4f2ed; }
.faq-list details + details { margin-top: 8px; }
.faq-list summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 20px; font-weight: 700; font-size: var(--t-lead); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 24px; height: 24px; transition: transform .25s var(--ease); color: var(--orange); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 20px; max-width: 42em; }

/* ---------- Slot ---------- */
.closing { background: var(--orange); color: var(--ink); padding-block: clamp(64px, 9vw, 136px); }
.closing .wrap { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .closing .wrap { grid-template-columns: 1.3fr 1fr; column-gap: 64px; } }
.closing h2 { font-size: var(--t-h2); }
.closing p { font-size: var(--t-lead); margin-top: 18px; max-width: 32em; }
.closing .mail-big { display: inline-flex; align-items: center; gap: 12px; font-stretch: 112%; font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 2.125rem); text-decoration: none; overflow-wrap: anywhere; min-height: 56px; }
.closing .mail-big:hover { text-decoration: underline; text-underline-offset: 6px; }
.closing .mail-big svg { width: 30px; height: 30px; flex: none; }

/* ---------- Voet ---------- */
.site-footer { background: var(--soil); color: var(--on-soil); padding-block: clamp(84px, 9vw, 128px) 40px; }
.site-footer .foot-name { font-stretch: 125%; font-weight: 900; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .85; letter-spacing: -0.03em; }
.foot-grid { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer p, .site-footer li { font-size: 1rem; }
.site-footer a { text-underline-offset: 3px; }
.foot-list { list-style: none; display: grid; gap: 4px; }
.foot-list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .credits { margin-top: 40px; color: var(--on-soil-muted); max-width: 40em; }

/* ---------- Pagina's ---------- */
.page-hero .wrap { align-items: end; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 5rem); }
.svc { padding-block: clamp(64px, 9vw, 136px); }
.svc + .svc { padding-top: 0; }
.svc-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid.flip > figure { order: 2; } }
.svc h2 { font-size: var(--t-h2); }
.svc figure { margin: 0; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-items { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.svc-items li { display: grid; gap: 4px; }
.svc-items h3 { font-size: 1.25rem; }
.svc .note { margin-top: 24px; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.form { background: var(--tone); padding: clamp(22px, 3.5vw, 44px); display: grid; gap: 20px; }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.row2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: verborgen honeypotveld, geen lijn */
.form-note { color: var(--muted); }
.form-done { background: var(--soil); color: var(--on-soil); padding: 24px; }
.form-done[hidden] { display: none; }
.form-done h2 { font-size: 1.75rem; }
.form-done p { margin-top: 10px; }
.side { display: grid; gap: 28px; }
.side h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.side dl { display: grid; gap: 16px; margin: 0; }
.side dt { font-weight: 700; color: var(--muted); }
.side dd { margin: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.strip { display: grid; gap: 24px; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip > :nth-child(2) { margin-top: 56px; } }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip h3 { margin-top: 14px; }
.strip p { margin-top: 6px; }

/* ---------- Beweging ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.1) translateY(-2%); } to { transform: none; } }
.enter { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
.hero-media img { animation: settle 8s var(--ease) both; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.pit { transition: d .5s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Elementen met het attribuut hidden blijven verborgen, ook als een klasse display zet (nakijkronde 27 oktober 2026). */
[hidden] { display: none !important; }
