/* BRG Construct, voorbeeldsite. Stijl uit ui-ux-pro-max: Minimalism & Swiss Style, industrieel grijs + veiligheidsoranje.
   Eén letterfamilie (Archivo, variabel in breedte en gewicht), vierkante knoppen, geen schaduwen of verlopen. */

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

:root {
  /* kleur */
  --ground: #f2f3f3;
  --ground-2: #e4e6e7;
  --concrete: #cfd3d5;
  --ink: #1b1f23;
  --ink-2: #454e57;
  --accent: #ea580c;
  --on-accent: #1b1f23;
  --on-ink: #f2f3f3;
  --focus: #b8440a;

  /* letters */
  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --h1: clamp(3.25rem, 1.6rem + 7.4vw, 9rem);
  --h2: clamp(2.35rem, 1.5rem + 3.6vw, 4.75rem);
  --h3: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  --lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --body: 1.0625rem;

  /* ruimte */
  --max: 82.5rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(5.5rem, 3rem + 9vw, 12rem);

  /* beweging */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 640ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip-link { position: absolute; left: var(--gutter); top: -5rem; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 0.75rem 1rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 0.75rem; }

/* Voorbeeldmelding: scrolt mee weg, nooit sticky */
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: 0.5rem 1rem; text-align: center; }
.demo-note a { display: inline-block; padding: 0.6875rem 0.375rem; margin: -0.6875rem -0.375rem; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.demo-note a:focus-visible { outline: 2px solid currentColor; outline-offset: -0.375rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.grid > * { grid-column: 1 / -1; }

h1, h2, h3, .wordmark, .display { font-family: var(--font); }
h1, h2 { font-weight: 800; font-stretch: 74%; letter-spacing: -0.012em; text-wrap: balance; }
.display { font-size: var(--h1); line-height: 0.9; }
.head { font-size: var(--h2); line-height: 0.95; }
h3 { font-size: var(--h3); font-weight: 750; font-stretch: 86%; line-height: 1.1; letter-spacing: -0.005em; }
.lead { font-size: var(--lead); line-height: 1.45; max-width: 38ch; }
p { max-width: 52ch; }
.nums { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.hyphen { hyphens: auto; -webkit-hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; hyphenate-limit-chars: 12 6 6; }

/* knoppen: vierkant, één vlakke kleur */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0.7rem 1.15rem;
  background: var(--accent); color: var(--on-accent);
  font-weight: 750; font-stretch: 88%; font-size: 1.0625rem; line-height: 1.15;
  text-decoration: none; white-space: nowrap; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) ease;
}
.button svg { width: 1.2em; height: 1.2em; flex: none; }
.button:hover { background: #f06c22; }
.button:active { transform: translateY(1px); }
.button--ink { background: var(--ink); color: var(--on-ink); }
.button--ink:hover { background: #333a41; }
.button--big { min-height: 3.5rem; padding: 0.95rem 1.5rem; }
.button--light { background: var(--ground); color: var(--ink); }
.button--light:hover { background: #ffffff; }

.text-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.14em; }
.text-link svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-1) ease; }
.text-link:hover svg { transform: translateX(3px); }

/* kop */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color var(--dur-2) ease; }
.site-header.is-scrolled { background: var(--ground-2); }
.header-bar { display: flex; align-items: center; gap: 0.75rem; min-height: 4.25rem; position: relative; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; padding: 0.35rem 0; }
.wordmark-main { font-weight: 900; font-stretch: 70%; font-size: 2.35rem; letter-spacing: 0.01em; line-height: 0.86; }
.wordmark-sub { font-weight: 600; font-stretch: 100%; font-size: 1rem; letter-spacing: 0.01em; margin-top: 0.15rem; }
.wordmark-bar { display: block; height: 0.3rem; width: 100%; background: var(--accent); margin-top: 0.22rem; }
.main-nav { display: none; }
.nav-list { display: flex; gap: 0.25rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.7rem; font-weight: 650; font-stretch: 92%; text-decoration: none; white-space: nowrap; transition: color var(--dur-1) ease; }
.nav-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.14em; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.14em; }
.header-actions { display: flex; gap: 0.5rem; }
.header-actions .button { padding-inline: 0.85rem; }
.header-actions .mail-label { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle svg { width: 1.6rem; height: 1.6rem; }
.main-nav.is-open { display: block; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; background: var(--ground-2); padding: 0.5rem var(--gutter) 1.25rem; }
.main-nav.is-open .nav-list { flex-direction: column; }
.main-nav.is-open .nav-list a { font-size: 1.25rem; padding-inline: 0; }
@media (min-width: 26rem) { .header-actions .mail-label { display: inline; } }
@media (min-width: 72rem) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-bar { gap: 1.25rem; min-height: 4.75rem; }
  .wordmark-main { font-size: 2.5rem; }
}

/* hero */
.hero { padding-top: clamp(1.75rem, 1rem + 3vw, 3.75rem); }
.hero-title { grid-column: 1 / -1; }
.hero-copy { grid-column: 1 / -1; margin-top: 1.5rem; display: grid; gap: 1.5rem; align-content: start; }
.hero-title { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.facts dt { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.facts dd { font-weight: 700; font-stretch: 92%; font-size: 1.0625rem; line-height: 1.3; }
.facts .fact-mail { grid-column: 1 / -1; }
.hero-figure { grid-column: 1 / -1; margin-top: 2.25rem; }
.frame { overflow: hidden; background: var(--concrete); }
.hero-media { aspect-ratio: 16 / 10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.caption { margin-top: 0.6rem; font-size: 1rem; color: var(--ink-2); }
@media (min-width: 60rem) {
  .hero-title { max-width: none; }
  .hero-copy { grid-column: 1 / span 4; margin-top: clamp(2rem, 1rem + 2vw, 3rem); }
  .hero-figure { grid-column: 5 / -1; margin-top: clamp(2rem, 1rem + 2vw, 3rem); }
  .hero-media { aspect-ratio: 16 / 10; }
}

/* secties */
.section { padding-top: var(--section); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.75rem); }
.section-head .lead { max-width: 44ch; }
@media (min-width: 60rem) {
  .section-head.is-split { grid-template-columns: 7fr 5fr; column-gap: var(--gutter); align-items: end; }
}

/* Laag per laag: doorsnede die blijft staan, diensten die voorbij scrollen */
.layers-grid { display: grid; gap: 2.5rem; }
.section-figure { background: var(--ground-2); padding: clamp(1rem, 0.5rem + 2vw, 2rem); }
.section-figure svg { width: 100%; height: auto; }
.section-figure figcaption { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-2); }
.xsec text { font-family: var(--font); }
.xsec .band { transition: opacity var(--dur-2) ease; }
.xsec.has-active .band { opacity: 0.38; }
.xsec.has-active .band.is-active { opacity: 1; }
.service-list { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.service { display: grid; gap: 1rem; scroll-margin-top: 7rem; }
.service-media { aspect-ratio: 3 / 2; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-name { display: flex; align-items: center; gap: 0.75rem; }
.service-name svg { width: 2.75rem; height: 2.75rem; flex: none; }
.service p { max-width: 52ch; }
.service ul { display: grid; gap: 0.35rem; }
.service li { padding-left: 1.4rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.32rem; background: var(--accent); }
@media (min-width: 60rem) {
  .layers-grid { grid-template-columns: 6fr 6fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; }
  .layers-sticky { position: sticky; top: 6.5rem; }
}

/* Rekenhulp: donker veld */
.calc-band { background: var(--ink); color: var(--on-ink); margin-top: var(--section); padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.calc-band .lead { color: var(--on-ink); }
.calc-band :focus-visible { outline-color: var(--accent); }
.calc-grid { display: grid; gap: 2.5rem; }
.calc-form { display: grid; gap: 1.25rem; }
.room { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; padding: 1.1rem; background: #262c32; }
.room-name { grid-column: 1 / -1; }
.room label, .calc-settings label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.room input[type="number"], .room input[type="text"], .calc-settings select, .calc-settings input {
  width: 100%; min-height: 2.9rem; padding: 0.55rem 0.7rem; border: 0; border-radius: 0;
  background: var(--ground); color: var(--ink); font-size: 1.0625rem;
}
.room fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
.room legend { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.4rem 0.8rem; background: #353d45; font-weight: 650; font-stretch: 92%; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.check span::before { content: ""; width: 0.85rem; height: 0.85rem; background: var(--ground); flex: none; transition: background-color var(--dur-1) ease; }
.check input:checked + span { background: var(--ground); color: var(--ink); }
.check input:checked + span::before { background: var(--accent); }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.room-remove { grid-column: 1 / -1; justify-self: start; min-height: 2.75rem; padding: 0.4rem 0; background: none; border: 0; color: var(--on-ink); text-decoration: underline; cursor: pointer; font-weight: 600; }
.calc-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.calc-out { display: grid; gap: 1.5rem; align-content: start; }
.plan { background: #262c32; padding: 1rem; }
.plan svg { width: 100%; height: auto; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.total { display: grid; align-content: start; }
.total-num { font-size: var(--h2); font-weight: 800; font-stretch: 70%; line-height: 0.95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-num small { font-size: var(--lead); font-weight: 700; font-stretch: 90%; }
.total-label { font-size: var(--lead); font-weight: 700; font-stretch: 90%; margin-top: 0.2rem; }
.totals .note { display: block; font-size: 1rem; font-weight: 500; margin-top: 0.2rem; color: #c9ced2; }
.calc-note { font-size: 1rem; color: #c9ced2; }
.calc-fallback { font-size: 1.0625rem; }
.js .calc-fallback { display: none; }
.calc-live { display: none; }
.js .calc-live { display: grid; }
@media (min-width: 60rem) {
  .calc-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
  .calc-out { position: sticky; top: 6.5rem; }
}
@media (max-width: 30rem) { .totals { grid-template-columns: 1fr; } }

/* Werkwijze */
.steps-grid { display: grid; gap: 2.5rem; }
.steps-media { aspect-ratio: 4 / 3; }
.steps-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: none; display: grid; gap: 1.75rem; }
.steps li { display: grid; gap: 0.35rem; }
.steps h3 { font-size: var(--h3); }
@media (min-width: 60rem) {
  .steps-grid { grid-template-columns: 6fr 6fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; }
  .steps-grid .frame { position: sticky; top: 6.5rem; }
}

/* Werkgebied */
.area-grid { display: grid; gap: 2rem; }
.map { background: var(--ground-2); }
.map svg { width: 100%; height: auto; }
.map text { font-family: var(--font); }
.towns { columns: 2; column-gap: 1.5rem; }
.towns li { break-inside: avoid; display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0; font-weight: 650; font-stretch: 92%; }
.towns li span:last-child { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.area-note { margin-top: 1.25rem; }
.map-caption { padding: 0.75rem 1rem 1rem; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 39.99rem) { .map { display: none; } }
@media (min-width: 60rem) { .area-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; } }

/* Vragen */
.faq-grid { display: grid; gap: 2rem; }
.faq details { background: var(--ground-2); margin-bottom: 0.5rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.9rem 1.1rem; cursor: pointer; font-weight: 750; font-stretch: 90%; font-size: var(--lead); line-height: 1.25; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.4rem; height: 1.4rem; flex: none; transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 1.1rem 1.2rem; display: grid; gap: 0.75rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 4fr 8fr; column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); } .faq-grid .section-head { position: sticky; top: 7rem; align-self: start; } }

/* Afsluiter */
.closer { margin-top: var(--section); background: var(--concrete); padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.closer .section-head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.closer-mail { display: grid; gap: 1rem; justify-items: start; }
.closer .mail-big { font-size: min(var(--h2), 8.4vw); font-weight: 800; font-stretch: 70%; line-height: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; overflow-wrap: anywhere; display: inline-block; padding-block: 0.5rem; transition: color var(--dur-1) ease; }
.closer .mail-big:hover { color: #000; text-decoration-thickness: 0.12em; }

/* voet */
.site-footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem; }
.footer-word { font-weight: 900; font-stretch: 66%; font-size: clamp(5rem, 2rem + 16vw, 17rem); line-height: 0.8; letter-spacing: -0.01em; }
.footer-word span { display: block; height: clamp(0.5rem, 0.3rem + 0.8vw, 1.1rem); background: var(--accent); margin-top: 0.6rem; }
.footer-grid { display: grid; gap: 2rem; margin-top: 3rem; }
.footer-grid h2 { font-size: 1.0625rem; font-weight: 750; font-stretch: 92%; margin-bottom: 0.6rem; }
.footer-grid a { display: inline-flex; min-height: 2.75rem; min-width: 2.75rem; align-items: center; }
.footer-grid p, .footer-grid li { font-size: 1rem; }
.credits { margin-top: 3rem; font-size: 0.875rem; color: #c3c8cc; max-width: 62ch; }
.credits a { display: inline; min-height: 0; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); } }

/* Dienstenpagina */
.page-hero { padding-top: clamp(1.75rem, 1rem + 3vw, 3.75rem); }
.page-hero .lead { margin-top: 1.25rem; }
.svc-block { display: grid; gap: 1.75rem; }
.svc-block .frame { aspect-ratio: 3 / 2; }
.svc-block .frame img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { display: grid; gap: 1.1rem; align-content: start; }
.svc-body h2 { font-size: var(--h2); line-height: 0.95; }
.svc-body .service-name svg { width: 3.25rem; height: 3.25rem; }
.svc-cols { display: grid; gap: 1.25rem; }
.svc-cols h3, .mini-head { font-size: var(--lead); margin-bottom: 0.4rem; }
.plain-list { display: grid; gap: 0.35rem; }
.plain-list li { padding-left: 1.4rem; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.32rem; background: var(--accent); }
.svc-dark .svc-body { color: var(--on-ink); }
.svc-cols ul { display: grid; gap: 0.35rem; }
.svc-cols li { padding-left: 1.4rem; position: relative; }
.svc-cols li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.32rem; background: var(--accent); }
.svc-wide .frame { aspect-ratio: 21 / 9; }
.svc-field { background: var(--ground-2); padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 60rem) {
  .svc-block { grid-template-columns: 6fr 6fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; }
  .svc-block.is-flipped .frame { order: 2; }
  .svc-wide { grid-template-columns: 1fr; }
  .svc-wide .svc-body { grid-template-columns: 5fr 7fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); }
  .svc-cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.need-list { display: grid; gap: 1rem; counter-reset: need; }
.need-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.need-list svg { width: 2.75rem; height: 2.75rem; }
@media (min-width: 60rem) { .need-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 1.75rem; } }

/* Contactpagina */
.contact-grid { display: grid; gap: 2.5rem; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.contact-photo { display: none; aspect-ratio: 4 / 3; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 40rem) { .contact-photo { display: block; } }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-content: start; }
.collage .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage .frame { aspect-ratio: 4 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.contact-direct { display: grid; gap: 1.25rem; align-content: start; }
.contact-direct dl { display: grid; gap: 1rem; }
.contact-direct dt { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.contact-direct dd { font-weight: 700; font-stretch: 92%; overflow-wrap: anywhere; }
.form { display: grid; gap: 1.25rem; }
.form h2 { font-size: var(--h3); line-height: 1.05; }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-weight: 650; font-size: 1rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem; border: 2px solid transparent; border-radius: 0; background: var(--ground-2); color: var(--ink); font-size: 1.0625rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-hint { font-size: 1rem; color: var(--ink-2); max-width: 60ch; }
.field-error { font-size: 1rem; color: #b42318; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field fieldset legend { margin-bottom: 0.45rem; padding: 0; }
.form .check span { background: var(--ground-2); }
.form .check span::before { background: #b9bfc4; }
.form .check input:checked + span { background: var(--ink); color: var(--on-ink); }
.form .check input:focus-visible + span { outline-color: var(--focus); }
.two { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot, geen lijn */
.form-status { background: var(--ink); color: var(--on-ink); padding: 1.25rem; display: grid; gap: 0.6rem; }
.form-status a { color: var(--on-ink); font-weight: 700; }
.form-status:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; } .contact-direct { position: sticky; top: 6.5rem; } }

/* beweging: alleen opacity en transform, uit bij reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-media img { animation: slow-zoom 22s var(--ease-out) both; transform-origin: 62% 55%; }
  @keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  .service-media img, .steps-media img, .svc-block .frame img { transition: transform 900ms var(--ease-out); }
  .service:hover .service-media img, .svc-block:hover .frame img { transform: scale(1.03); }
  .plan rect.room-rect { transition: opacity var(--dur-2) ease; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 39.99rem) { .form .checks { display: grid; grid-template-columns: 1fr 1fr; } .form .check span { width: 100%; } }
