/* Warmtewerk Installatie — demo (Business). Archivo + IBM Plex Sans. Deep blue / copper / light grey. Engineered, calm, trustworthy. */
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --blue: #0c2a4a; --blue-deep: #071b31; --blue-soft: #1d4470;
  --copper: #c46a35; --copper-deep: #a4542a; --copper-light: #f1d9c8;
  --grey: #eef0f2; --grey-mid: #d8dce1; --line: #cfd5dc;
  --ink: #12202f; --muted: #556373; --white: #fff;
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 64px); --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--grey); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.04; letter-spacing: -.02em; }
h1 { font-weight: 900; }
h2 { font-size: clamp(32px, 4.4vw, 58px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--gutter); max-width: 1280px; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-deep); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; }

/* blueprint grid texture */
.grid-bg { background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }

/* buttons */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--body); text-decoration: none; background: var(--copper); color: var(--white); padding: 17px 24px; border-radius: 4px; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--copper-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.btn::after { content: "→"; transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn--plain::after { content: none; }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: rgba(196,106,53,.12); }
.btn--small { padding: 12px 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.bbrm-demo-note { font: 500 15px/1.45 var(--body); color: var(--blue); background: var(--copper-light); padding: 12px 16px; margin-top: 16px; border-left: 4px solid var(--copper); border-radius: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 20px/1 var(--display); letter-spacing: -.02em; color: var(--blue); }
.logo svg { flex: none; }
.logo small { display: block; font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { font: 500 15px/1 var(--body); text-decoration: none; padding: 10px 12px; border-radius: 4px; color: var(--ink); }
.nav a:hover { background: var(--grey); }
.nav a[aria-current="page"] { color: var(--copper-deep); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.menu-toggle { display: none; margin-left: auto; appearance: none; background: var(--blue); color: var(--white); border: 0; border-radius: 4px; font: 600 14px/1 var(--body); padding: 11px 14px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; padding: 8px var(--gutter) 16px; display: none; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(12,42,74,.4); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--grey); }
  .top__in > .btn { display: none; }
}

/* hero */
.hero { color: var(--white); position: relative; overflow: hidden; }
.hero__in { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; padding-block: clamp(48px, 8vw, 104px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.hero__tag { position: absolute; left: -12px; bottom: 24px; background: var(--white); color: var(--blue); padding: 14px 18px; border-radius: 4px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); display: grid; gap: 2px; }
.hero__tag strong { font: 900 30px/1 var(--display); color: var(--copper); }
.hero__tag span { font-size: 13px; color: var(--muted); }
@media (min-width: 920px) { .hero__in { grid-template-columns: 1.1fr 1fr; } }

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__item svg { flex: none; color: var(--copper); margin-top: 2px; }
.trust__item strong { display: block; font: 700 17px/1.2 var(--display); color: var(--blue); }
.trust__item span { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .trust__item { border-left: 0; border-top: 1px solid var(--line); } .trust__item:first-child { border-top: 0; } }

/* sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--white { background: var(--white); }
.section--blue { color: var(--white); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }

/* service tiles */
.services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(12,42,74,.55); border-color: var(--copper); }
.service img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service__body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.service__num { font: 700 13px/1 var(--display); color: var(--copper-deep); letter-spacing: .1em; }
.service p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { padding: 24px 22px 26px; border-top: 2px solid rgba(255,255,255,.18); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 900 44px/1 var(--display); color: var(--copper); display: block; margin-bottom: 14px; }
.step h3 { color: var(--white); }
.step p { color: rgba(255,255,255,.78); font-size: 15px; margin-top: 8px; }

/* diensten detail */
.dienst { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); align-items: center; }
.dienst:first-of-type { border-top: 0; }
.dienst img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.dienst__body { display: grid; gap: 14px; }
.dienst ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dienst li { padding-left: 26px; position: relative; }
.dienst li::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 2px; background: var(--copper); }
.price { font: 700 15px/1.3 var(--body); color: var(--blue); background: var(--grey); padding: 10px 14px; border-radius: 4px; justify-self: start; }
@media (min-width: 860px) { .dienst { grid-template-columns: 1fr 1fr; } .dienst:nth-of-type(even) img { order: 2; } }

/* werkgebied */
.area { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
.map { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(12px, 2vw, 24px); }
.map svg { width: 100%; height: auto; display: block; }
.map .land { fill: #e3e8ee; stroke: var(--blue); stroke-width: 2; }
.map .sea { fill: #d3e1ee; }
.map .wad-label { font: italic 400 14px var(--body); fill: #6a8bab; letter-spacing: .2em; }
.map .radius { fill: rgba(196,106,53,.08); stroke: var(--copper); stroke-width: 1.5; stroke-dasharray: 6 6; }
.map .town circle { fill: var(--blue); transition: r .2s, fill .2s; }
.map .town text { font: 500 13px var(--body); fill: var(--ink); }
.map .town.hq circle { fill: var(--copper); }
.map .town.hq text { font-weight: 600; }
.map .town.on circle { fill: var(--copper); r: 9; }
.map .town.on text { font-weight: 600; fill: var(--copper-deep); }
.towns { display: grid; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.towns button { width: 100%; text-align: left; appearance: none; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; font: 500 15px/1.2 var(--body); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.towns button span { color: var(--muted); font-weight: 400; font-size: 13px; }
.towns button:hover, .towns button[aria-pressed="true"] { border-color: var(--copper); background: var(--copper-light); }
.towns button:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; }
@media (min-width: 900px) { .area { grid-template-columns: 1.3fr 1fr; } }

/* reviews */
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.score strong { font: 900 clamp(56px, 8vw, 96px)/1 var(--display); color: var(--blue); letter-spacing: -.04em; }
.stars { color: var(--copper); letter-spacing: 3px; font-size: 20px; }
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.review blockquote { margin: 0; font-size: 17px; }
.review footer { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--grey); padding-top: 12px; }
.review footer strong { color: var(--ink); }
.review .tag { font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--copper-deep); }

/* offerte wizard */
.wizard { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 4vw, 44px); max-width: 760px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.progress li { height: 6px; border-radius: 3px; background: var(--grey-mid); transition: background .3s; }
.progress li.done { background: var(--copper); }
.progress-label { font: 500 14px/1.3 var(--body); color: var(--muted); margin-bottom: 26px; }
.wizard fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.wizard fieldset[hidden] { display: none; }
.wizard legend { font: 700 clamp(24px, 3vw, 32px)/1.1 var(--display); color: var(--blue); letter-spacing: -.02em; margin-bottom: 6px; padding: 0; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option label { display: grid; gap: 4px; padding: 18px 16px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; font: 600 16px/1.2 var(--body); transition: border-color .2s, background .2s; }
.option label span { font: 400 13px/1.3 var(--body); color: var(--muted); }
.option input:checked + label { border-color: var(--copper); background: var(--copper-light); }
.option input:focus-visible + label { outline: 3px solid var(--copper); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font: 600 15px/1.2 var(--body); }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--body); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--copper-light); border-color: var(--copper); }
.field small { color: var(--muted); font-size: 14px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; font-weight: 500; min-height: 1em; }
.drop { border: 2px dashed var(--line); border-radius: 6px; padding: 26px; text-align: center; color: var(--muted); background: var(--grey); }
.drop input { margin-top: 10px; max-width: 100%; }
.files { font-size: 14px; color: var(--blue); }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--grey); }
.summary { background: var(--grey); border-radius: 6px; padding: 16px 18px; font-size: 15px; display: grid; gap: 4px; }
.summary dt { font-weight: 600; }
.summary dd { margin: 0 0 6px; color: var(--muted); }
.offerte { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1040px) { .offerte { grid-template-columns: 1fr 300px; } }
.aside { display: grid; gap: 16px; }
.aside img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; }

/* cta band */
.band { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
.band h2 { color: var(--white); }
@media (min-width: 860px) { .band { grid-template-columns: 1.5fr auto; } }

/* footer */
.foot { background: var(--blue-deep); color: rgba(255,255,255,.75); padding: 44px 0; font-size: 14px; }
.foot__in { display: grid; gap: 10px; }
.foot .logo { color: var(--white); }
.foot__small { opacity: .6; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .service, .btn, .btn::after { transition: none; } }
