/* BluePrint Technical Services
   Merkkleuren: #1B3A70 navy · #9DB4FF periwinkle · #DB5461 koraal · #FEF9EE crème · #000000 zwart
   Contrast: koraal wordt nooit als tekstkleur gebruikt; op koraal staat zwarte tekst (5,45:1). */

@font-face { font-family: "Poppins"; src: url("/fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-medium.woff") format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #1B3A70;
  --navy-deep: #132B55;
  --peri: #9DB4FF;
  --coral: #DB5461;
  --cream: #FEF9EE;
  --black: #000000;

  --bg: var(--cream);
  --bg-alt: var(--cream);
  --surface: #FFFFFF;
  --surface-2: var(--cream);
  --ink: #111827;
  --heading: var(--navy);
  --muted: #444B5A;
  --line: rgba(27, 58, 112, .16);
  --line-strong: rgba(27, 58, 112, .32);
  --grid: rgba(27, 58, 112, .1);
  --grid-major: rgba(27, 58, 112, .14);
  --link: var(--navy);
  --primary-bg: var(--navy);
  --primary-ink: var(--cream);
  --primary-hover: var(--navy-deep);
  --check: var(--navy);
  --bp-structure: rgba(27, 58, 112, .72);
  --bp-water: var(--peri);
  --bp-heat: var(--coral);
  --bp-air: var(--navy);
  --bp-vent: #B87400;
  --bp-wp: #1E8A5A;
  --bp-airco: #0B87AB;
  --bp-drain: var(--black);
  --bp-tag-fill: var(--cream);
  --bp-tag-ink: var(--navy);
  --bp-sheet: rgba(27, 58, 112, .12);
  --bp-sheet-fine: rgba(27, 58, 112, .05);
  --focus: #F59E0B;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --success: #166534;
  --success-bg: #F0FDF4;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: #1B3A70;
  --bg-alt: #1B3A70;
  --surface: rgba(254, 249, 238, .06);
  --surface-2: rgba(254, 249, 238, .04);
  --bp-structure: rgba(254, 249, 238, .72);
  --bp-air: var(--cream);
  --bp-vent: #F5B942;
  --bp-wp: #5FD39A;
  --bp-airco: #6FD6F2;
  --bp-drain: var(--cream);
  --bp-tag-fill: #1B3A70;
  --bp-tag-ink: var(--cream);
  --bp-sheet: rgba(157, 180, 255, .14);
  --bp-sheet-fine: rgba(157, 180, 255, .06);
  --ink: var(--cream);
  --heading: var(--cream);
  --muted: #CBD5EC;
  --line: rgba(254, 249, 238, .18);
  --line-strong: rgba(254, 249, 238, .34);
  --grid: rgba(157, 180, 255, .12);
  --grid-major: rgba(157, 180, 255, .18);
  --link: var(--peri);
  --primary-bg: var(--peri);
  --primary-ink: var(--navy);
  --primary-hover: #B8C9FF;
  --check: var(--peri);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { transition: background-color .4s, color .4s; margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; color: var(--heading); margin: 0 0 .45em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--navy); color: var(--cream); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }

/* ---------- Blueprint-elementen ---------- */
.bp-grid {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.bp-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bp-code { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--heading); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 7px; line-height: 1.5; }
.bp-rule { width: 40px; height: 1px; background: var(--line-strong); position: relative; }
.bp-rule::before, .bp-rule::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--line-strong); }
.bp-rule::before { left: 0; } .bp-rule::after { right: 0; }

/* De drie lijnen uit het logo = de drie partners */
.bars { display: inline-flex; flex-direction: column; gap: 5px; }
.bars i { display: block; height: 6px; border-radius: 6px; }
.bars i:nth-child(1) { width: 26px; background: var(--peri); }
.bars i:nth-child(2) { width: 36px; background: var(--heading); margin-left: 4px; }
.bars i:nth-child(3) { width: 34px; background: var(--coral); }
.bars-lg i { height: 9px; } .bars-lg i:nth-child(1) { width: 40px; } .bars-lg i:nth-child(2) { width: 54px; margin-left: 6px; } .bars-lg i:nth-child(3) { width: 52px; }
.bars-1 i:not(:nth-child(1)), .bars-2 i:not(:nth-child(2)), .bars-3 i:not(:nth-child(3)) { opacity: .3; }
.close-band .bars i:nth-child(2), .blueprint .bars i:nth-child(2) { background: var(--cream); }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 1.1rem; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
/* De belknop: de enige koraalkleurige knop, zwarte tekst */
.btn-call { background: var(--coral); color: var(--black); box-shadow: 0 6px 18px rgba(219, 84, 97, .35); }
.btn-call:hover { background: #E2707B; color: var(--black); box-shadow: 0 10px 26px rgba(219, 84, 97, .45); }
.btn-call .icon { animation: ring 4s var(--ease) infinite; }
.btn-call:hover .icon:first-child { transform: none; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-6deg); } }
.btn-primary { background: var(--primary-bg); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-outline:hover { background: var(--heading); color: var(--bg); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(254, 249, 238, .6); }
.btn-ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding: 6px 0; transition: background-size .25s var(--ease); }
.text-link:hover { background-size: 100% 2px; color: var(--heading); }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--navy-deep); color: var(--cream); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar .icon { color: var(--peri); }
.topbar-links { gap: 20px !important; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.logo img { width: 224px; height: auto; }
.site-footer .logo img { width: 210px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .nav-sub-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font: inherit; font-size: .98rem; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background-color .15s; }
.nav-list > li > a:hover, .nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { background: var(--line); }
.nav-list a[aria-current="page"] { color: var(--heading); font-weight: 600; box-shadow: inset 0 -2px 0 var(--coral); border-radius: 0; }
.nav-sub-toggle .icon { transition: transform .2s; }
.nav-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-sub { position: relative; }
.nav-sub { margin: 0; padding: 14px; position: absolute; top: calc(100% + 10px); left: -10px; width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11, 25, 50, .16); display: none; }
.nav-sub.is-open { display: block; }
.nav-sub-list { list-style: none; margin: 0; padding: 0; }
/* Uitklapmenu Diensten met het huisje (desktop) */
@media (min-width: 1100px) {
  .header-inner { position: relative; }
  .has-sub { position: static; }
  .nav-sub { left: auto; right: var(--gutter); top: calc(100% + 1px); width: min(860px, calc(100% - 2 * var(--gutter))); padding: 20px; }
  .nav-sub.is-open { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: center; }
  .nav-sub-list a { min-height: 56px; }
}
.mega-house { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; background-color: var(--surface-2);
  background-image: linear-gradient(var(--bp-sheet) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet) 1px, transparent 1px); background-size: 40px 40px; }
[data-theme="light"] .mega-house { background-color: #FFFFFF; }
.mega-house .bp-drawing > g { transition: opacity .25s; }
.mega-house .bp-drawing .bp-dims { display: none; }
.nav-sub a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--surface-2); color: var(--heading); }
.nav-code { font-family: var(--mono); font-size: .75rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--heading); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--line-strong); }
.lang-switch:hover { background: var(--line); }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--heading); cursor: pointer; transition: background-color .15s, transform .2s var(--ease); }
.theme-toggle:hover { background: var(--line); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.theme-toggle[hidden] { display: none; }
.logo-for-dark, [data-theme="dark"] .logo-for-light { display: none; }
[data-theme="dark"] .logo-for-dark { display: block; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--heading); border-radius: 999px; background: transparent; color: var(--heading); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .topbar { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .logo img { width: 184px; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 120px; background: var(--bg); overflow-y: auto; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-sub-toggle { width: 100%; justify-content: space-between; min-height: 56px; padding: 12px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-list > li > a:hover, .nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { background: none; }
  .nav-sub { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; background: none; display: block; }
  .js .nav-sub { display: none; }
  .js .nav-sub.is-open { display: block; }
  .mega-house { max-width: 420px; margin: 4px 0 12px; }
.nav-sub-list { list-style: none; margin: 0; padding: 0; }
/* Uitklapmenu Diensten met het huisje (desktop) */
@media (min-width: 1100px) {
  .header-inner { position: relative; }
  .has-sub { position: static; }
  .nav-sub { left: auto; right: var(--gutter); top: calc(100% + 1px); width: min(860px, calc(100% - 2 * var(--gutter))); padding: 20px; }
  .nav-sub.is-open { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: center; }
  .nav-sub-list a { min-height: 56px; }
}
.mega-house { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; background-color: var(--surface-2);
  background-image: linear-gradient(var(--bp-sheet) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet) 1px, transparent 1px); background-size: 40px 40px; }
[data-theme="light"] .mega-house { background-color: #FFFFFF; }
.mega-house .bp-drawing > g { transition: opacity .25s; }
.mega-house .bp-drawing .bp-dims { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn, .lang-switch { justify-content: center; min-height: 52px; }
  .theme-toggle { width: 100%; height: 52px; border-radius: 999px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1099px) { .no-js .site-nav { position: static; padding: 0 0 16px; flex-basis: 100%; } .no-js .header-inner { flex-wrap: wrap; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); min-height: calc(100svh - var(--header-h) - 38px); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero-service h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.hero-visual { position: relative; padding-right: 42px; }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 5; max-height: 68vh; margin-left: auto; }
.hero-service .hero-photo { aspect-ratio: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* maatlijn naast de foto */
.hero-dim { position: absolute; right: 0; top: 0; bottom: 0; width: 24px; border-left: 1px solid var(--line-strong); }
.hero-dim::before, .hero-dim::after { content: ""; position: absolute; left: -8px; width: 15px; height: 1px; background: var(--line-strong); }
.hero-dim::before { top: 0; } .hero-dim::after { bottom: 0; }
.hero-dim span { position: absolute; top: 50%; left: 8px; transform: translateY(-50%) rotate(90deg); transform-origin: left top; white-space: nowrap; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--muted); background: var(--bg); padding: 0 8px; }
.hero-badge { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; background: var(--surface); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(11, 25, 50, .14); font-size: .95rem; }
.hero-badge .icon { color: var(--coral); }
.hero-badge strong { color: var(--heading); font-size: 1.15rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--line-strong); }
.facts > div { padding: 20px 20px 0 0; border-right: 1px solid var(--line); }
.facts > div + div { padding-left: 20px; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--heading); line-height: 1.1; letter-spacing: -0.02em; }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
[data-enter] { animation: enter .9s var(--ease) both; }
.hero-visual[data-enter] { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Secties ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }

.service-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(11, 25, 50, .12); border-color: var(--line-strong); color: var(--ink); }
.card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-photo img, .feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .card-photo img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card-body .bp-code { align-self: flex-start; }
.card-title { font-size: 1.2rem; font-weight: 700; color: var(--heading); line-height: 1.25; }
.card-text { color: var(--muted); font-size: .98rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); margin-top: 6px; }
.card-link .icon { transition: transform .2s var(--ease); }
.service-card:hover .card-link .icon { transform: translateX(4px); }

.feature-inner, .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature-flip .feature-photo { order: 2; }
.two-col-text { align-items: start; }
.feature-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface-2); }
.two-col .feature-photo { aspect-ratio: 4 / 5; max-height: 640px; }
.feature-photo:hover img { transform: scale(1.03); }
/* hoekmarkeringen zoals op een technische tekening */
.feature-photo::before, .feature-photo::after, .hero-photo::before, .hero-photo::after { content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border: 2px solid var(--cream); pointer-events: none; }
.feature-photo::before, .hero-photo::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.feature-photo::after, .hero-photo::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.feature-text p { color: var(--muted); }
.feature-by { font-size: .92rem; font-family: var(--mono); letter-spacing: .02em; margin-top: 20px; }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--check); margin-top: 3px; padding: 2px; border-radius: 50%; background: color-mix(in srgb, var(--peri) 35%, transparent); width: 24px; height: 24px; }
.checklist-lg { grid-template-columns: 1fr; font-size: 1.05rem; }
.note { display: flex; gap: 12px; margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--coral); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .98rem; }
.note .icon { color: var(--heading); margin-top: 3px; }

.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signs li { display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; }
.signs .icon { color: var(--coral); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { position: relative; padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px dashed var(--line-strong); }
.step-num { display: inline-block; font-family: var(--mono); font-size: .85rem; font-weight: 600; color: var(--heading); margin-bottom: 16px; }
.step-num::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--coral); vertical-align: middle; margin-left: 10px; }
.steps p { color: var(--muted); margin: 0; }

.team, .faq-teaser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.team-text p, .faq-teaser > div > p { color: var(--muted); }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.partner-list > li { padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.partner-list .bars { margin-bottom: 16px; }
.partner-list h3 { margin-bottom: 4px; }
.partner-list p { margin: 0; color: var(--muted); }
.partner-list .partner-owner { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.partner-list-large { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.partner-list-large > li { padding: 32px; }
.partner-kbo { font-family: var(--mono); font-size: .85rem; margin-top: 16px !important; }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--link); }
.faq-chev { transition: transform .25s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- Blueprint-moment ---------- */
.blueprint { background: var(--navy); color: var(--cream); position: relative; }
[data-theme="dark"] .blueprint { background: var(--navy-deep); }
.blueprint h2 { color: var(--cream); }
.blueprint .bp-label { color: #CBD5EC; }
.blueprint .bp-code { color: var(--cream); border-color: rgba(254, 249, 238, .4); }
.blueprint .bp-rule, .blueprint .bp-rule::before, .blueprint .bp-rule::after { background: rgba(254, 249, 238, .4); }
.blueprint-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.blueprint-text p { color: #DCE3F3; }
.blueprint-sheet { border: 1px solid rgba(157, 180, 255, .35); border-radius: var(--radius); padding: clamp(12px, 2vw, 28px);
  background-image: linear-gradient(rgba(157, 180, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 180, 255, .12) 1px, transparent 1px), linear-gradient(rgba(157, 180, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 180, 255, .05) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.bp-drawing { width: 100%; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp-structure { stroke: rgba(254, 249, 238, .7); stroke-width: 2.5; }
.bp-structure .thin, .bp-dims .thin { stroke-width: 1; }
.bp-sanitair { stroke: var(--peri); stroke-width: 3.5; }
.bp-verwarming { stroke: var(--coral); stroke-width: 3.5; }
.bp-hvac { stroke: var(--cream); stroke-width: 2.5; }
.bp-hvac .dashed { stroke-dasharray: 8 7; }
.bp-afvoer { stroke: var(--cream); stroke-width: 6; }
.bp-dims { stroke: rgba(254, 249, 238, .45); }
.bp-dims text { fill: rgba(254, 249, 238, .7); stroke: none; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
.bp-dims text { paint-order: stroke; stroke: var(--navy); stroke-width: 8px; }
.bp-tags circle { fill: var(--navy); stroke: var(--cream); stroke-width: 1.5; }
.bp-tags text { fill: var(--cream); stroke: none; font-family: var(--mono); font-weight: 600; }
.bp-tags .leader { stroke: rgba(254, 249, 238, .6); stroke-width: 1; stroke-dasharray: 3 4; }
.js .bp-drawing .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .bp-drawing .draw.dashed { stroke-dasharray: 1 1; }
.js .bp-drawing.is-drawn .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.js .bp-drawing.is-drawn .bp-sanitair .draw { transition-delay: .5s; }
.js .bp-drawing.is-drawn .bp-verwarming .draw { transition-delay: .8s; }
.js .bp-drawing.is-drawn .bp-hvac .draw { transition-delay: 1.1s; }
.js .bp-drawing.is-drawn .bp-afvoer .draw { transition-delay: 1.4s; }
.js .bp-drawing.is-drawn .bp-hvac .draw.dashed { stroke-dasharray: 8 7; stroke-dashoffset: 0; transition: none; animation: dashin 1.2s 1.6s both; }
@keyframes dashin { from { opacity: 0; } to { opacity: 1; } }
.js .bp-drawing .bp-tags { opacity: 0; transition: opacity .6s 2s; }
.js .bp-drawing.is-drawn .bp-tags { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .bp-drawing .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .bp-drawing .draw.dashed { stroke-dasharray: 8 7; }
  .js .bp-drawing .bp-tags { opacity: 1; transition: none; }
}
/* Huisje op de dienstpagina's: het eigen systeem uitgelicht */
.bp-focus > g:not(.bp-structure):not(.bp-dims):not(.bp-tags) { opacity: .22; }
.bp-focus .bp-tags > g, .bp-focus .bp-tags .leader { opacity: .3; }
.bp-focus-sanitair .bp-sanitair, .bp-focus-verwarming .bp-verwarming, .bp-focus-hvac .bp-hvac, .bp-focus-ontstoppingen .bp-afvoer,
.bp-focus-sanitair .tag-sanitair, .bp-focus-verwarming .tag-verwarming, .bp-focus-hvac .tag-hvac, .bp-focus-ontstoppingen .tag-ontstoppingen { opacity: 1 !important; }
.bp-focus-sanitair .bp-sanitair, .bp-focus-verwarming .bp-verwarming { stroke-width: 5; }
.bp-focus-hvac .bp-hvac { stroke-width: 3.5; }
.bp-focus-ontstoppingen .bp-afvoer { stroke-width: 8; }
.text-link-light, .text-link-light:hover { color: var(--cream); }
.bp-legend { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.bp-legend a { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--cream); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(254, 249, 238, .15); }
.bp-legend a:hover { color: var(--peri); }
.bp-legend .bp-code { color: var(--cream); border-color: rgba(254, 249, 238, .4); }
.legend-line { width: 32px; height: 4px; border-radius: 4px; }
.legend-sanitair .legend-line { background: var(--peri); }
.legend-verwarming .legend-line { background: var(--coral); }
.legend-hvac .legend-line { background: repeating-linear-gradient(90deg, var(--cream) 0 6px, transparent 6px 10px); height: 3px; }
.legend-ontstoppingen .legend-line { background: var(--cream); height: 6px; }

/* ---------- Afsluitband ---------- */
.close-band { background: var(--navy-deep); color: var(--cream); padding: clamp(64px, 8vw, 112px) 0; }
.bp-grid-dark { background-color: var(--navy-deep); background-image: linear-gradient(rgba(157, 180, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 180, 255, .1) 1px, transparent 1px); background-size: 40px 40px; }
.close-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 72px; align-items: center; }
.close-band h2 { color: var(--cream); margin-top: 24px; max-width: 18ch; }
.close-band p { color: #DCE3F3; font-size: 1.15rem; margin: 0; }
.close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.close-phone { display: inline-flex; align-items: center; gap: 16px; padding: 18px 28px; border-radius: 999px; background: var(--coral); color: var(--black); text-decoration: none; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; transition: transform .2s var(--ease), background-color .2s; }
.close-phone:hover { transform: translateY(-2px); background: #E2707B; color: var(--black); }
.close-phone:active { transform: scale(.98); }

/* ---------- Contact + formulier ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.contact-card h2 { color: var(--cream); font-size: 1.5rem; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 14px 22px; border-radius: 999px; background: var(--coral); color: var(--black); font-size: 1.5rem; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease); }
.contact-phone:hover { transform: translateY(-2px); color: var(--black); }
.contact-247 { margin: 12px 0 24px; color: #DCE3F3; font-family: var(--mono); font-size: .9rem; }
.contact-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-details li { display: flex; gap: 14px; }
.contact-details .icon { margin-top: 3px; color: var(--peri); }
.contact-details strong { display: block; font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; opacity: .85; }
.contact-card a { color: var(--cream); }
.section-alt .contact-details .icon, .section .contact-details:not(.contact-card *) .icon { color: var(--heading); }
.contact-form { display: grid; gap: 20px; margin-top: 8px; }
.form-note { color: var(--muted); margin: 0; font-size: .95rem; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field-row { display: grid; align-items: start; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
fieldset.field { border: 0; padding: 0; }
legend, .field > label { font-weight: 600; color: var(--heading); padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 52px; height: auto; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s; }
[data-theme="light"] input[type="text"], [data-theme="light"] input[type="email"], [data-theme="light"] input[type="tel"], [data-theme="light"] select, [data-theme="light"] textarea { border-color: #7A869C; }
textarea { resize: vertical; min-height: 150px; }
input:hover, select:hover, textarea:hover { border-color: var(--heading) !important; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--heading); }
[aria-invalid="true"] { border-color: var(--error) !important; background: var(--error-bg) !important; color: #111827 !important; }
.field-hint { margin: 0; font-size: .9rem; color: var(--muted); }
.field-error { margin: 0; font-size: .95rem; color: var(--error); font-weight: 600; }
[data-theme="dark"] .field-error { color: #FFB4B4; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; }
.radio, .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); cursor: pointer; min-height: 44px; padding-top: 8px; }
.radio input, .checkbox input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; }
.form-status.is-success { background: var(--success-bg); color: var(--success); border: 1.5px solid var(--success); }
.form-status.is-error { background: var(--error-bg); color: var(--error); border: 1.5px solid var(--error); }
.form-status h3 { color: inherit; font-size: 1.15rem; margin-bottom: .3em; }
.form-status p:last-child { margin: 0; }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.link-list { list-style: none; padding: 0; display: grid; gap: 4px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review blockquote { margin: 0 0 16px; font-size: 1.1rem; }
.review-by { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #DCE3F3; padding: 72px 0 28px; }
.site-footer a, .site-footer .link-button { color: var(--cream); }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--peri); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin: 18px 0 24px; max-width: 36ch; }
.footer-brand .btn-call { color: var(--black); }
.footer-title { color: var(--cream); font-size: .85rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-title-gap { margin-top: 28px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 11px; color: var(--peri); }
.footer-contact span { padding: 8px 0; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(254, 249, 238, .3); transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--cream); color: var(--navy); transform: translateY(-2px); }
.footer-partners { margin-top: 48px; font-size: .92rem; }
.footer-partners p { margin: 0; padding-top: 24px; border-top: 1px solid rgba(254, 249, 238, .15); }
.footer-partners strong { color: var(--cream); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a, .footer-legal .link-button { display: inline-flex; min-height: 44px; align-items: center; }
.footer-credit { opacity: .8; }

/* ---------- Mobiele belbalk + cookiebanner ---------- */
.callbar { display: none; }
@media (max-width: 899px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .callbar .btn { width: 100%; min-height: 54px; }
  body { padding-bottom: 80px; }
  .cookie-banner { bottom: 76px !important; }
}
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); color: var(--ink); border-top: 3px solid var(--navy); box-shadow: 0 -8px 30px rgba(11, 25, 50, .16); padding: 18px 0; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.cookie-inner p { margin: 0; max-width: 72ch; font-size: .96rem; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsief ---------- */
@media (max-width: 999px) {
  .hero { min-height: 0; }
  .hero-inner, .feature-inner, .two-col, .team, .faq-teaser, .blueprint-inner, .contact-grid, .close-inner, .section-head { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding-right: 34px; }
  .hero-photo { aspect-ratio: 4 / 3; max-height: none; }
  .hero-service .hero-photo { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 16px; }
  .feature-flip .feature-photo { order: 0; }
  .two-col .feature-photo { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
  .facts > div + div { padding-left: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; border-right: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .partner-list-large { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  body { font-size: 1rem; }
  .actions .btn { width: 100%; }
  .hero-visual { padding-right: 0; }
  .hero-dim { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 24px 0 0; border-left: 0; }
  .steps li + li { border-top: 1px dashed var(--line-strong); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .close-phone { font-size: 1.45rem; width: 100%; justify-content: center; }
  .close-actions .btn { width: 100%; }
  .close-actions { align-items: stretch; }
  .facts dt { font-size: 1.7rem; }
  .bp-label { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
select { height: 52px; }

/* ================================================================
   Eén achtergrond per thema: overdag overal crème, 's nachts overal #1B3A70.
   Secties worden gescheiden door lijnen, niet door een andere kleur.
   ================================================================ */
.section-alt { border-block: 1px solid var(--line); }
.section-alt + .section-alt, .section + .section-alt { border-top-color: var(--line); }
.topbar { background: var(--bg); color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--heading); }
.topbar .icon { color: var(--coral); }
[data-theme="dark"] .site-header { background: color-mix(in srgb, #1B3A70 92%, transparent); }
@media (max-width: 1099px) { [data-theme="dark"] .site-header { background: #1B3A70; } }
.nav-sub { background: var(--bg); }
[data-theme="dark"] .nav-sub, [data-theme="dark"] .cookie-banner { background: #1B3A70; }
[data-theme="dark"] .nav-sub { border-color: var(--line-strong); }

/* Blauwdruk: overdag een technische tekening op papier, 's nachts een echte blueprint */
.blueprint, [data-theme="dark"] .blueprint { background: var(--bg); color: var(--ink); border-block: 1px solid var(--line); }
.blueprint h2 { color: var(--heading); }
.blueprint .bp-label { color: var(--muted); }
.blueprint .bp-code, .bp-legend .bp-code { color: var(--heading); border-color: var(--line-strong); }
.blueprint .bp-rule, .blueprint .bp-rule::before, .blueprint .bp-rule::after { background: var(--line-strong); }
.blueprint-text p { color: var(--muted); }
.blueprint-sheet { border-color: var(--line-strong); background-color: var(--surface-2);
  background-image: linear-gradient(var(--bp-sheet) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet) 1px, transparent 1px), linear-gradient(var(--bp-sheet-fine) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet-fine) 1px, transparent 1px); }
[data-theme="light"] .blueprint-sheet { background-color: #FFFFFF; }
.bp-structure { stroke: var(--bp-structure); }
.bp-sanitair { stroke: var(--bp-water); stroke-width: 4.5; }
.bp-verwarming { stroke: var(--bp-heat); }
.bp-hvac { stroke: var(--bp-air); }
.bp-afvoer { stroke: var(--bp-drain); }
.bp-dims { stroke: var(--line-strong); }
.bp-dims text { fill: var(--muted); stroke: var(--bg); }
[data-theme="light"] .bp-dims text { stroke: #FFFFFF; }
.bp-tags circle { fill: var(--bp-tag-fill); stroke: var(--bp-tag-ink); }
.bp-tags text { fill: var(--bp-tag-ink); }
.bp-tags .leader { stroke: var(--line-strong); }
.bp-legend a { color: var(--ink); border-bottom-color: var(--line); }
.bp-legend a:hover { color: var(--heading); }
.legend-sanitair .legend-line { background: var(--bp-water); }
.legend-hvac .legend-line { background: repeating-linear-gradient(90deg, var(--bp-air) 0 6px, transparent 6px 10px); }
.legend-ontstoppingen .legend-line { background: var(--bp-drain); }

/* Afsluitband */
.close-band { background-color: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.close-band h2 { color: var(--heading); }
.close-band p { color: var(--muted); }
.close-band .bars i:nth-child(2), .blueprint .bars i:nth-child(2) { background: var(--heading); }

/* Contactkaart */
.contact-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.contact-card h2 { color: var(--heading); }
.contact-247 { color: var(--muted); }
.contact-card a { color: var(--link); }
.contact-card .contact-phone { color: var(--black); }
.contact-details .icon, .section .contact-details .icon { color: var(--heading); }

/* Footer */
.site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line-strong); }
.site-footer a, .site-footer .link-button { color: var(--heading); }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--link); }
.site-footer .btn-call, .site-footer .btn-call:hover { color: var(--black); }
.footer-title { color: var(--heading); }
.footer-contact .icon { color: var(--heading); }
.footer-partners strong { color: var(--heading); }
.footer-partners p { border-top-color: var(--line); }
.socials a { border-color: var(--line-strong); }
.socials a:hover { background: var(--heading); color: var(--bg); }

/* Om en om: tekst en beeld wisselen per blok van kant (vanaf tablet-breedte).
   Op de gsm blijft de volgorde van de HTML: eerst de titel, dan het beeld. */
@media (min-width: 1000px) {
  .flip > :first-child { order: 2; }
  .faq-teaser.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .blueprint-inner.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

/* HVAC: drie eigen kleuren, zodat ventilatie, warmtepomp en airco te onderscheiden zijn */
.bp-hvac .bp-vent { stroke: var(--bp-vent); stroke-width: 3; }
.bp-hvac .bp-wp { stroke: var(--bp-wp); stroke-width: 3.5; }
.bp-hvac .bp-airco { stroke: var(--bp-airco); stroke-width: 3; }
.bp-focus-hvac .bp-hvac .bp-vent, .bp-focus-hvac .bp-hvac .bp-airco { stroke-width: 4; }
.bp-focus-hvac .bp-hvac .bp-wp { stroke-width: 4.5; }
.legend-hvac .legend-line { height: 4px; background: linear-gradient(90deg, var(--bp-vent) 0 33%, var(--bp-wp) 33% 66%, var(--bp-airco) 66%); }
.bp-sublegend { list-style: none; margin: 4px 0 10px 50px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); }
.bp-sublegend li { display: inline-flex; align-items: center; gap: 8px; }
.bp-sublegend .legend-line { width: 22px; height: 4px; border-radius: 4px; }
.blueprint-text > .bp-sublegend { margin: 4px 0 20px; font-size: 1rem; }
.sub-vent .legend-line { background: repeating-linear-gradient(90deg, var(--bp-vent) 0 6px, transparent 6px 10px); }
.sub-wp .legend-line { background: var(--bp-wp); }
.sub-airco .legend-line { background: var(--bp-airco); }

/* Partnerlogo's: altijd op een licht vlak, zodat ze ook 's nachts leesbaar zijn */
.partner-logo { display: flex; align-items: center; height: 76px; margin-bottom: 18px; padding: 12px 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.partner-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-list-large .partner-logo { height: 92px; }

/* Contact per partner: e-mail en algemeen nummer */
.partner-contact { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.partner-contact li { display: flex; align-items: center; gap: 10px; }
.partner-contact .icon { color: var(--heading); flex: none; }
.partner-contact a { display: inline-flex; align-items: center; min-height: 40px; color: var(--link); font-weight: 500; text-decoration: none; font-size: .94rem; }
.partner-contact a:hover { text-decoration: underline; }
@media (max-width: 420px) { .partner-contact a { font-size: .88rem; } }
.partner-list > li { transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
/* Alleen op toestellen met een muis: verborgen tot hover of toetsenbordfocus */
@media (hover: hover) and (pointer: fine) {
  .partner-contact { max-height: 0; margin-top: 0; padding-top: 0; border-top-color: transparent; opacity: 0; overflow: hidden; transition: max-height .3s var(--ease), opacity .25s, margin-top .3s, padding-top .3s, border-color .3s; }
  .partner-list > li:hover .partner-contact, .partner-list > li:focus-within .partner-contact { max-height: 140px; margin-top: 14px; padding-top: 14px; border-top-color: var(--line); opacity: 1; }
  .partner-list > li:hover, .partner-list > li:focus-within { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11, 25, 50, .12); border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) { .partner-list > li:hover, .partner-list > li:focus-within { transform: none; } }

/* Partnerlogo's: alle drie even breed (vult het witte vlak), verticaal gecentreerd */
.partner-logo, .partner-list-large .partner-logo { height: auto; aspect-ratio: 3.2; justify-content: center; padding: 14px 18px; }
.partner-logo img { width: 100%; max-height: 100%; object-fit: contain; }
.partner-list:not(.partner-list-large):not(.partner-list-compact) .partner-logo { max-width: 340px; }
.partner-list-compact .partner-logo { max-width: 300px; }
[data-theme="dark"] .hero-badge { background: #1B3A70; border-color: var(--line-strong); }

/* Hero met het beeldmerk op een blauwdrukvel (in plaats van een foto) */
.hero-mark { display: grid; place-items: center; border: 1px solid var(--line-strong); background-color: var(--surface);
  background-image: linear-gradient(var(--bp-sheet) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet) 1px, transparent 1px), linear-gradient(var(--bp-sheet-fine) 1px, transparent 1px), linear-gradient(90deg, var(--bp-sheet-fine) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; background-position: center; }
[data-theme="dark"] .hero-mark { background-color: #1B3A70; }
.hero-mark::before, .hero-mark::after { border-color: var(--line-strong); }
.hero-mark-svg { width: 96%; height: auto; overflow: visible; }
.mark-guides { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 8 10; fill: none; }
.mark-dims { stroke: var(--line-strong); stroke-width: 2; fill: none; }
.mark-dims text { fill: var(--muted); stroke: var(--surface); stroke-width: 10px; paint-order: stroke; font-family: var(--mono); font-size: 22px; letter-spacing: .12em; }
[data-theme="dark"] .mark-dims text { stroke: #1B3A70; }
.mark-bar-1 { stroke: var(--peri); }
.mark-bar-2 { stroke: var(--heading); }
.mark-bar-3 { stroke: var(--coral); }
.js .mark-bar { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: mark-draw 1s var(--ease) forwards; }
.js .mark-bar-1 { animation-delay: .35s; } .js .mark-bar-2 { animation-delay: .55s; } .js .mark-bar-3 { animation-delay: .75s; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
.js .mark-guides, .js .mark-dims { opacity: 0; animation: mark-fade .8s 1.4s forwards; }
@keyframes mark-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .mark-bar { stroke-dashoffset: 0; animation: none; } .js .mark-guides, .js .mark-dims { opacity: 1; animation: none; } }

/* Logo blijft altijd binnen zijn kader, ongeacht de verhouding van het bestand */
.partner-logo { position: relative; }
.partner-logo img { position: absolute; inset: 14px 18px; width: calc(100% - 36px); height: calc(100% - 28px); max-width: none; max-height: none; object-fit: contain; object-position: center; }
.partner-logo img { object-position: left center; }

/* Geen hoekmarkeringen op foto's en het beeldmerk */
.feature-photo::before, .feature-photo::after, .hero-photo::before, .hero-photo::after { content: none; }

/* Over ons: diensten als klikbare lijst */
.service-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.service-links a:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 30px rgba(11, 25, 50, .1); color: var(--ink); }
.service-links strong { display: block; color: var(--heading); font-size: 1.08rem; }
.service-links-text { display: block; color: var(--muted); font-size: .95rem; }
.service-links .icon { color: var(--heading); transition: transform .2s var(--ease); }
.service-links a:hover .icon { transform: translateX(4px); }
/* Over ons: uitspraak van het team */
.statement { text-align: center; border-block: 1px solid var(--line); }
.statement-inner { display: flex; flex-direction: column; align-items: center; }
.statement blockquote { margin: 28px 0 18px; }
.statement blockquote p { margin: 0; max-width: 24ch; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--heading); }
.statement blockquote p::before { content: "\201C"; } .statement blockquote p::after { content: "\201D"; }
.statement-by { margin: 0; font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- Reviews ---- */
.reviews-actions { margin-top: 32px; }
.review-list + .reviews-actions { margin-top: 40px; }
.review-aside .checklist { margin-top: 24px; }

.review { max-width: 860px; position: relative; }
.review blockquote p { margin: 0 0 .8em; }
.review blockquote p:last-child { margin-bottom: 0; }
.review blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .8; height: .45em; color: var(--coral); font-weight: 700; }
.review-wide { grid-column: 1 / -1; }

/* ---- Voor en na ---- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.before-after figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-2); }
.before-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.before-after figcaption { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: #fff; color: #1B3A70; font-weight: 600; font-size: .9rem; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.before-after figure:last-child figcaption { background: #1B3A70; color: #fff; }

/* ---- Sterren bij reviews ---- */
.review-stars { display: flex; gap: 2px; margin: 0 0 12px; }
.review-stars svg { display: block; fill: currentColor; }
.review-stars .on { color: #F5A524; }
.review-stars .off { color: var(--line); }
.review.has-stars blockquote::before { display: none; }
