/* ==========================================================================
   Dakdekker Haso – stylesheet
   ========================================================================== */

:root {
  --ink: #0d1721;
  --ink-2: #14212d;
  --ink-3: #1f2f3e;
  --ink-line: rgba(255, 255, 255, .1);
  --paper: #f7f4ef;
  --paper-2: #efe9df;
  --white: #fff;
  --line: #e4ddd2;
  --text: #17212b;
  --muted: #5b6673;
  --muted-light: #a6b1bd;
  --accent: #e2662c;
  --accent-2: #c8521a;
  --accent-soft: #fce8dc;
  --success: #2f8a57;
  --error: #c83a2a;

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 23, 33, .06), 0 2px 8px rgba(13, 23, 33, .04);
  --shadow: 0 10px 30px -12px rgba(13, 23, 33, .18), 0 2px 6px rgba(13, 23, 33, .05);
  --shadow-lg: 0 30px 60px -20px rgba(13, 23, 33, .35);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.ic { width: 1.15em; height: 1.15em; flex: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic[href], .btn:hover svg:last-child { transform: translateX(2px); }
.btn-primary { --btn-bg: var(--accent); box-shadow: 0 10px 24px -10px rgba(226, 102, 44, .7); }
.btn-primary:hover { --btn-bg: var(--accent-2); box-shadow: 0 14px 30px -10px rgba(226, 102, 44, .8); }
.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { --btn-bg: var(--ink-3); }
.btn-ghost { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: rgba(255, 255, 255, .4); }
.btn-ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: .35em; color: var(--accent-2); font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ffb088; }
.eyebrow .dot { display: none; }

.pill { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill-light { background: rgba(255, 255, 255, .95); color: var(--ink); }
.pill-outline { border: 1px solid rgba(255, 255, 255, .25); color: #dfe6ec; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(13, 23, 33, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--ink-line); --header-h: 66px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display: block; height: 58px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 50px; }
.brand-logo-lg { height: 95px; }
@media (max-width: 560px) { .brand-logo { height: 50px; } }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5em .95em; border-radius: 999px; font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .82); transition: color .2s, background-color .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.header-phone:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .05); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 24px 20px 40px;
    background: var(--ink); display: flex; flex-direction: column; gap: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { font-size: 1.35rem; font-family: var(--font-head); font-weight: 700; padding: .6em .4em; border-radius: 10px; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--ink); }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .ic-open { display: none; }
  body.nav-open .nav-toggle .ic-close { display: block; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1; color: #fff; background: var(--ink);
  padding: calc(var(--header-h) + 40px) 0 0; isolation: isolate;
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg {
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(226, 102, 44, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(64, 110, 160, .22), transparent 70%),
    linear-gradient(180deg, #0d1721 0%, #111e2a 70%, #0d1721 100%);
}
.hero-bg::after, .page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 24px;
  min-height: min(720px, calc(100svh - var(--header-h) - 140px));
}
.hero-copy { padding: 20px 0 40px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(100deg, #ff9a62, var(--accent) 60%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), transparent); transform-origin: left; animation: underline 1.2s .6s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #c3ccd5; max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-usps { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 2rem 0 0; color: #dbe2e8; font-size: .93rem; font-weight: 500; }
.hero-usps li { display: inline-flex; align-items: center; gap: .5em; }
.hero-usps .ic { color: #fff; background: var(--success); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-visual { position: relative; align-self: stretch; min-height: 460px; margin-right: -20px; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.hero-visual.is-ready canvas { opacity: 1; }
.hero-visual-fallback {
  position: absolute; inset: 12% 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(226, 102, 44, .25), transparent);
}
.hero-chip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: .5em; padding: .5em .85em .5em .6em;
  font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--ink);
  background: rgba(255, 255, 255, .94); border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero-chip .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
.hero-chip::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; margin-left: -1px;
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
.hero-chip.is-visible { opacity: 1; }

.quickbar {
  position: relative; z-index: 4; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; align-items: stretch;
  margin: 10px 0 -48px; padding: 10px; border-radius: 22px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
  animation: rise 1s .45s var(--ease) both;
}
.quickbar-field { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 14px; transition: background-color .2s; }
.quickbar-field:focus-within, .quickbar-field:hover { background: var(--paper); }
.quickbar-field + .quickbar-field { border-left: 1px solid var(--line); }
.quickbar label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.quickbar select, .quickbar input { border: 0; background: transparent; padding: 2px 0; font-weight: 600; font-size: 1.02rem; outline: none; width: 100%; appearance: none; -webkit-appearance: none; }
.quickbar select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6673' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right center no-repeat; }
.quickbar .btn { border-radius: 14px; }
.page-home #diensten { padding-top: calc(clamp(64px, 9vw, 120px) + 40px); }

@media (max-width: 960px) {
  /* Compacte hero op mobiel zodat het 3D-huis direct in beeld komt */
  .hero { padding-top: calc(var(--header-h) + 12px); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding: 8px 0 0; text-align: left; }
  .hero-lead { margin-bottom: 1.25rem; }
  .hero-usps { margin-top: 1.1rem; }
  .hero-visual { min-height: 0; height: clamp(320px, 82vw, 440px); margin: -40px -20px -8px; }
  .hero-chip { font-size: .74rem; }
}
@media (max-width: 640px) {
  .quickbar { grid-template-columns: 1fr; margin-top: 0; }
  .quickbar-field + .quickbar-field { border-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Page hero (sub pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 90px)) 0 clamp(56px, 7vw, 90px); }
.page-hero-bg { background: radial-gradient(50% 80% at 85% 20%, rgba(226, 102, 44, .22), transparent 70%), linear-gradient(180deg, #0d1721, #122030); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 16em; }
.page-hero .lead { font-size: 1.15rem; color: #c3ccd5; max-width: 40em; margin-bottom: 0; }
.page-hero .hero-actions, .page-hero-meta { margin-top: 2rem; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted-light); margin-bottom: 1.6rem; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 20px; }
.section-head-row h2 { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; }
.split > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }
.section-dark .split > div > p:not(.eyebrow) { color: var(--muted-light); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 102, 44, .14), transparent); opacity: 0; transition: opacity .4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 22px; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.service-card p { color: var(--muted); flex: 1; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: 8px; border-top: 1px dashed var(--line); font-size: .9rem; }
.service-price { font-weight: 700; color: var(--ink); }
.service-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--accent-2); }
.service-link .ic { transition: transform .3s var(--ease); }
.service-card:hover .service-link .ic { transform: translateX(4px); }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-line); }
.step h3 { margin: 0 0 .25em; align-self: end; }
.step p { grid-column: 2; margin: 0; color: var(--muted-light); }
.step-num { grid-row: span 2; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.prose .steps { margin: 1rem 0 2rem; }
.prose .step, .section-tint .step { background: var(--white); border-color: var(--line); }
.prose .step p, .section-tint .step p { color: var(--muted); }

/* Feature icon (contact) */
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; }
.feature-icon .ic { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Waarom Haso: echte foto's + grote, duidelijke redenen
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }

.why-photos { position: relative; padding: 0 12% 16% 0; }
.why-photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo-main { aspect-ratio: 2 / 3; box-shadow: var(--shadow-lg); background: #fff; }
.why-photo-main img { object-position: top; transform-origin: top center; animation: why-zoom 18s ease-in-out infinite alternate; }
.why-photo-small {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3;
  border: 6px solid var(--paper); box-shadow: var(--shadow-lg);
}
/* Foto's schuiven open als een gordijn */
.why-photo-main { position: relative; }
.js .why-photo.reveal { opacity: 1; transform: none; }
.js .why-photo.reveal::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: top; transition: transform 1.1s var(--ease) var(--d, 0ms); }
.js .why-photo.reveal.is-in::after { transform: scaleY(0); }

.why-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow); line-height: 1.25;
  animation: why-float 5s ease-in-out infinite;
}
.why-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.why-badge small { display: block; font-size: .85rem; color: var(--muted); }
.why-badge-top { bottom: 20%; left: 16px; }
.why-badge-bottom { bottom: 31%; right: 4%; animation-delay: -2.5s; }
@media (min-width: 1280px) { .why-badge-top { left: -32px; } }
.why-badge-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.why-badge-icon .ic { width: 22px; height: 22px; }
.why-badge-icon.is-live { background: var(--accent-soft); color: var(--accent-2); }
.why-badge-icon.is-live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--accent); animation: why-ping 2s ease-out infinite; }
.why-badge-icon.is-ok { background: #e3f3ea; color: var(--success); }

.why-copy h2 { margin-bottom: .35em; }
.why-lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.8rem; max-width: 34ch; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .8s var(--ease);
}
.why-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.why-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: var(--accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(226, 102, 44, .8);
  transition: transform .4s var(--ease);
}
.why-icon .ic { width: 28px; height: 28px; }
.why-item:hover .why-icon { transform: rotate(-8deg) scale(1.06); }
.js .why-item.reveal.is-in .why-icon { animation: why-pop .6s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 250ms); }
.why-item h3 { font-size: 1.25rem; margin: 0 0 .15em; }
.why-item p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

.why-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 72px); padding: 26px clamp(22px, 4vw, 40px); border-radius: var(--radius-lg);
  background: radial-gradient(60% 140% at 0% 0%, rgba(226, 102, 44, .35), transparent 60%), var(--ink); color: #fff;
}
.why-bar-stat { display: flex; align-items: center; gap: 18px; flex: 1 1 380px; }
.why-bar-stat p { margin: 0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.4; color: #dfe6ec; }
.why-bar-stat strong { color: #ffb088; font-family: var(--font-head); font-size: 1.3em; white-space: nowrap; }
.why-bar-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none; background: rgba(255, 255, 255, .1); color: #ffb088; }
.why-bar-icon .ic { width: 28px; height: 28px; }
.why-bar-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.why-bar .text-link { color: #fff; }

@keyframes why-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes why-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes why-ping { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
@keyframes why-pop { 0% { transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }

@media (max-width: 900px) {
  /* Titel boven de foto's, redenen eronder */
  .why { grid-template-columns: 1fr; gap: 0; }
  .why-copy { display: contents; }
  .why-copy > :not(.why-list) { order: -1; }
  .why-photos { max-width: 520px; width: 100%; margin: 8px auto 28px; }
  .why-badge-top { left: 0; }
}
@media (max-width: 520px) {
  .why-photos { padding: 0 8% 18% 0; }
  .why-badge { padding: 8px 12px 8px 8px; gap: 10px; border-radius: 14px; }
  .why-badge-icon { width: 36px; height: 36px; border-radius: 10px; }
  .why-badge strong { font-size: .92rem; }
  .why-badge small { font-size: .75rem; }
  .why-badge-top { bottom: 22%; left: -2%; }
  .why-badge-bottom { bottom: 33%; right: 0; }
  .why-item { padding: 16px; gap: 14px; align-items: flex-start; }
  .why-icon { width: 48px; height: 48px; border-radius: 14px; }
  .why-bar-actions .btn { width: 100%; }
}

/* Prices */
.price-table { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 8px; box-shadow: var(--shadow-sm); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 14px; transition: background-color .2s; }
.price-row + .price-row { box-shadow: 0 -1px 0 var(--line); }
.price-row:hover { background: var(--paper); box-shadow: none; }
.price-row:hover + .price-row { box-shadow: none; }
.price-label { font-weight: 600; }
.price-value { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; white-space: nowrap; text-align: right; }
.price-value small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); }
.price-table-lg .price-row { padding: 26px 26px; }
.price-table-lg .price-value { font-size: 1.45rem; }

/* --------------------------------------------------------------------------
   Prijscalculator (home)
   -------------------------------------------------------------------------- */
.calc-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.calc-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.15rem; margin-bottom: 1.4rem; max-width: 34ch; }
.calc-points { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 10px; }
.calc-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.calc-points .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #e3f3ea; color: var(--success); }

.calc { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); }
.calc-step { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.calc-q { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.calc-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--ink); color: #fff; font-size: .9rem; }

.calc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.calc-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s; }
.calc-opt:hover { border-color: #d6c9b7; transform: translateY(-2px); }
.calc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.calc-opt-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--white); color: var(--ink); transition: background-color .25s, color .25s, transform .4s var(--ease); }
.calc-opt-icon .ic { width: 22px; height: 22px; }
.calc-opt-text { min-width: 0; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.calc-opt-text small { display: block; margin-top: 2px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.calc-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 10px 22px -14px rgba(226, 102, 44, .9); }
.calc-opt:has(input:checked) .calc-opt-icon { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.calc-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.calc-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.calc-step-btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; cursor: pointer;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.8rem; line-height: 1;
  transition: background-color .2s, border-color .2s, transform .15s;
}
.calc-step-btn:hover { border-color: var(--ink); background: var(--white); }
.calc-step-btn:active { transform: scale(.92); }
.calc-size-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 2.8rem); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-size-value small { font-size: .5em; color: var(--muted); letter-spacing: 0; }
.calc-range { --fill: 17%; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--paper-2) var(--fill)); }
.calc-range::-moz-range-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--paper-2) var(--fill)); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: var(--shadow); }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: var(--shadow); }
.calc-range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }

.calc-result {
  display: flex; align-items: center; gap: clamp(14px, 3vw, 26px); padding: 20px clamp(18px, 3vw, 26px); margin-bottom: 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 120% at 0% 100%, rgba(226, 102, 44, .4), transparent 60%), var(--ink);
}
.calc-house { width: clamp(84px, 16vw, 116px); flex: none; overflow: visible; }
.calc-tile { fill: rgba(255, 255, 255, .1); transform-box: fill-box; transform-origin: center; transition: fill .35s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.calc-tile.is-on { fill: var(--accent); }
.calc-tile.is-new { animation: calc-drop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.calc-wall { fill: #e9e2d6; }
.calc-door { fill: #8a5a3a; }
.calc-window { fill: #7dbde8; }
.calc-result-text { min-width: 0; }
.calc-result-text small { display: block; font-size: .9rem; color: var(--muted-light); }
.calc-price { display: block; margin: 2px 0 6px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-price i { font-style: normal; color: #ffb088; }
.calc-note { display: block; font-size: .88rem; color: #c3ccd5; }

.calc-actions { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.calc-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.calc-call .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--paper-2); }
.calc-call:hover { color: var(--accent-2); }

@keyframes calc-drop { 0% { transform: translateY(-14px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }

@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .calc { border-radius: 22px; }
  .calc-options { grid-template-columns: 1fr; }
  .calc-result { flex-direction: column; align-items: flex-start; }
  .calc-house { width: 90px; }
  .calc-actions .btn { width: 100%; }
}

/* Cities */
.city-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.city-pills a { display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.05em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; transition: all .25s var(--ease); }
.city-pills a .ic { color: var(--accent); }
.city-pills a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.city-grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.city-grid a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: all .3s var(--ease); }
.city-grid a > .ic:first-child { color: var(--accent); width: 22px; height: 22px; }
.city-grid span { flex: 1; font-weight: 700; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; }
.city-grid small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--muted); }
.city-grid .arrow { opacity: .3; transition: all .3s var(--ease); }
.city-grid a:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.city-grid a:hover .arrow { opacity: 1; transform: translateX(3px); color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--paper-2); transition: background-color .3s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), background-color .3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-body { padding: 0 24px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* Offerte section */
.section-offerte { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.section-offerte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 0% 100%, rgba(226, 102, 44, .25), transparent 70%); }
.offerte-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .offerte-wrap { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(47, 138, 87, .18); color: #58c78a; margin-top: 1px; }
.check-list strong { display: block; font-weight: 600; }
.check-list span { color: var(--muted-light); }
.check-list-dark .ic { background: var(--accent-soft); color: var(--accent-2); }
.check-list-dark span { color: var(--text); }
.check-list-dark strong + span { color: var(--muted); }

/* Cards & forms */
.card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.card-dark { background: var(--ink); color: #fff; border: 0; }
.form-card { box-shadow: var(--shadow-lg); }
.form-title { font-size: 1.45rem; margin-bottom: 1.2rem; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em .95em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6673' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 1em center no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc6b8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 4px rgba(226, 102, 44, .15); }
.field-error { color: var(--error); font-size: .8rem; min-height: 0; display: none; }
.has-error .field-error { display: block; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.form-note { display: flex; justify-content: center; align-items: center; gap: .45em; margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: .93rem; }
.form-status.is-success { background: #e4f4ea; color: #1d6a40; }
.form-status.is-error { background: #fbe7e4; color: #9d2b1e; }
.form-status-link { display: inline-block; margin-top: 8px; font-weight: 700; color: #1d6a40; text-decoration: underline; text-underline-offset: 3px; }
.offerte-form.is-sent .form-grid, .offerte-form.is-sent > .btn, .offerte-form.is-sent .form-note { display: none; }
.offerte-form.is-sent .form-status { margin: 0; padding: 28px; font-size: 1.05rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.flash-wrap { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 60; width: min(100% - 40px, 560px); }
.flash { padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 500; animation: rise .5s var(--ease) both; }
.flash-success { background: #e4f4ea; color: #1d6a40; }
.flash-error { background: #fbe7e4; color: #9d2b1e; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .sticky { position: static; } }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.lead-dark { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--text); font-weight: 500; }
.note { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); color: #6a2c0d; }
.note .ic { width: 26px; height: 26px; color: var(--accent-2); margin-top: 1px; }
.note p { margin: 0; }
.contact-aside { display: grid; gap: 14px; }
.contact-tile { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: all .3s var(--ease); }
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-tile small { display: block; color: var(--muted); font-size: .82rem; }
.contact-tile strong { font-family: var(--font-head); font-size: 1.2rem; word-break: break-all; }
.card-dark h3 { font-size: 1.25rem; }
.card-dark .check-list { margin-top: 1rem; }
.card-dark .check-list span { color: #dbe2e8; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c3ccd5; padding: 0 0 28px; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); transform: translateY(-50%); margin-bottom: -40px;
  color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, var(--accent-2), #ef7a3a);
  box-shadow: var(--shadow-lg);
}
.section-offerte + .site-footer .footer-cta, .page-home .footer-cta { display: none; }
.page-home .site-footer, .section-offerte + .site-footer { padding-top: 64px; }
.footer-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .25em; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta .btn-primary { --btn-bg: var(--ink); box-shadow: none; }
.footer-cta .btn-primary:hover { --btn-bg: #000; }
.footer-cta .btn-ghost { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: rgba(255, 255, 255, .5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-line); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; font-size: .93rem; }
.footer-social {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ink-line); color: #c3ccd5; transition: color .25s, background-color .25s, border-color .25s, transform .25s var(--ease);
}
.footer-socials { display: flex; gap: 10px; }
.footer-social .ic { width: 17px; height: 17px; }
.footer-social:hover { color: #fff; border-color: transparent; background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); transform: translateY(-2px); }
.footer-social-linkedin:hover { background: #0a66c2; }
.footer-social-facebook:hover { background: #1877f2; }
.footer-social-tiktok:hover { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.site-footer h3 { color: #fff; font-size: .9rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.site-footer ul a:hover { color: #fff; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: .6em; }
.footer-contact .ic { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; color: #7f8b97; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }
.footer-credit { display: flex; justify-content: center; padding: 26px 0 2px; }
.footer-credit a { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1; letter-spacing: .01em; color: #7f8b97; opacity: .8; transition: opacity .2s ease, color .2s ease; }
.footer-credit a:hover { opacity: 1; color: #fff; }
.footer-credit span { display: block; transform: translateY(1px); }
.footer-credit img { height: 26px; width: auto; display: block; }
.main-has-offset { padding-bottom: 0; }
body:not(.page-home) main > .section:last-child { padding-bottom: clamp(120px, 14vw, 180px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-cta { transform: translateY(-30%); } }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  body.show-mobile-bar .mobile-bar { transform: none; }
  .site-footer { padding-bottom: 96px; }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Projectfoto's (carousel + lightbox)
   -------------------------------------------------------------------------- */
.section-werk { --gutter: max(20px, calc((100% - var(--container)) / 2)); overflow: hidden; }
.werk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.werk-head > div:first-child { max-width: 620px; }
.werk-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin: 0; }
.carousel-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.carousel-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), opacity .25s;
}
.carousel-btn .ic { width: 20px; height: 20px; }
.carousel-btn:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.carousel-btn[disabled] { opacity: .4; cursor: default; }
.carousel-dots { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 99px; background: #cfc6b8; transition: width .35s var(--ease), background-color .35s; }
.carousel-dots span.is-active { width: 26px; background: var(--accent); }

.carousel-track {
  display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 370px);
  gap: 18px; list-style: none; margin: 0; padding: 6px var(--gutter) 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track.is-dragging .work-photo { pointer-events: none; }
.carousel-slide { min-width: 0; scroll-snap-align: start; }

.work-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 20px;
  overflow: hidden; background: var(--ink-3); cursor: zoom-in; box-shadow: var(--shadow);
}
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); user-select: none; }
.work-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 23, 33, .45)); opacity: 0; transition: opacity .4s; }
.work-photo:hover img { transform: scale(1.06); }
.work-photo:hover::after, .work-photo:focus-visible::after { opacity: 1; }
.work-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .35s var(--ease);
}
.work-zoom .ic { width: 20px; height: 20px; }
.work-photo:hover .work-zoom, .work-photo:focus-visible .work-zoom { opacity: 1; transform: none; }
@media (hover: none) { .work-zoom { opacity: 1; transform: none; width: 38px; height: 38px; } }

.work-photo.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: default;
  color: var(--muted-light); font-weight: 600; font-size: .9rem; box-shadow: none;
  background: repeating-linear-gradient(-35deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px), linear-gradient(160deg, #1f3040, var(--ink));
}
.work-placeholder-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .06); color: #ffb088; }
.work-placeholder-icon .ic { width: 26px; height: 26px; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: rise .35s var(--ease) both; }
.lightbox::backdrop { background: rgba(8, 13, 19, .92); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 60px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 14px; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox figcaption { font-size: .95rem; color: #c3ccd5; text-align: center; }
.lightbox-nav, .lightbox-close {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 20px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .25s;
}
.lightbox-nav:hover, .lightbox-close:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-nav .ic, .lightbox-close .ic { width: 22px; height: 22px; }
.lightbox-close { position: fixed; top: 20px; right: 0; }

@media (max-width: 760px) {
  .werk-head { flex-direction: column; align-items: flex-start; }
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-track { grid-auto-columns: 72%; gap: 12px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { padding: 70px 12px; }
  .lightbox-nav { position: fixed; bottom: 24px; margin: 0; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}

/* --------------------------------------------------------------------------
   Dakwerken: interactieve bouwtekening
   -------------------------------------------------------------------------- */
.bp { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { position: relative; border-bottom: 1px solid var(--line); }
.svc-tab {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 2px; margin: 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.svc-num { width: 28px; flex: none; font: 600 .78rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: #a39a8d; transition: color .3s; }
.svc-title {
  flex: 1; font-family: var(--font-head); font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem); color: #a8a096; transition: color .35s, transform .45s var(--ease);
}
.svc-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease);
}
.svc-icon .ic { width: 20px; height: 20px; }
.svc-tab:hover .svc-title { color: var(--ink); transform: translateX(6px); }
.svc-tab:hover .svc-num { color: var(--accent-2); }
.svc.is-active .svc-title { color: var(--ink); }
.svc.is-active .svc-num { color: var(--accent-2); }
.svc.is-active .svc-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-12deg); }

.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc.is-active .svc-panel { grid-template-rows: 1fr; }
.svc-panel-inner { overflow: hidden; padding-left: 46px; }
.svc-panel p { margin: -4px 0 12px; color: var(--muted); max-width: 40ch; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.svc.is-active .svc-panel p { opacity: 1; transform: none; transition-delay: .12s; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 22px; font-size: .92rem; }
.svc-price { font-weight: 700; color: var(--ink); }

.svc-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.svc-progress::after { content: ""; display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.svc.is-active .svc-progress::after { transform: scaleX(1); transition: transform .5s var(--ease); }
.bp.is-autoplay .svc.is-active .svc-progress::after { animation: bp-progress 7s linear both; }
.bp.is-paused .svc.is-active .svc-progress::after { animation-play-state: paused; }
@keyframes bp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Stage */
.bp-stage {
  --bp-water: #3f9fe0; --bp-hot: #e2662c;
  position: relative; margin: 0; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: #cfe8f7; box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.bp-counter {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .8rem; font-weight: 600; color: var(--muted);
}
.bp-counter strong { color: var(--ink); font-size: .95rem; }
.bp-svg { display: block; width: 100%; height: auto; }
.bp-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 22px 18px; background: #fff; border-top: 1px solid var(--line); }
.bp-caption small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.bp-caption strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.bp-spec { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-2); font-size: .85rem; font-weight: 600; text-align: right; }

/* Illustratie: basis */
.bp-svg * { transform-box: fill-box; }
.bp-cloud { fill: #fff; opacity: .95; animation: bp-drift 16s ease-in-out infinite alternate; }
.bp-cloud-2 { animation-duration: 21s; animation-direction: alternate-reverse; }
.bp-sun, .bp-gloom { transition: opacity .8s; }
.bp-gloom { fill: #56636e; opacity: 0; }
.bp-tile { stroke: #7e3a22; stroke-width: .8; }
.bp-tile.t0 { fill: #b85a36; } .bp-tile.t1 { fill: #a94f2f; } .bp-tile.t2 { fill: #c4663f; }
.bp-tile-cut { transition: opacity .6s; }
.bp-membrane { fill: #3b4046; stroke: #2b2f33; stroke-width: 1; }
.bp-hip { stroke: #8e4127; stroke-width: 9; stroke-linecap: round; }
.bp-ridge { fill: #8e4127; }
.bp-gutter, .bp-pipe { fill: url(#bp-zinc); transition: filter .5s; }
.bp-moss circle { fill: #6f9a3e; stroke: #557a2c; stroke-width: 1; }
.bp-dirt { fill: #5f6b4a; opacity: 0; }
.bp-cut-frame { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 7 6; opacity: 0; }
.bp-sparkle { fill: #fff; }
.bp-lance-rod { stroke: #2d3a44; stroke-width: 5; stroke-linecap: round; }
.bp-spray { stroke: #bfe4ff; stroke-width: 2.5; stroke-linecap: round; fill: none; animation: bp-flicker .14s steps(2) infinite; }
.bp-drop { fill: var(--bp-water); }
.bp-water { fill: none; stroke: var(--bp-water); stroke-width: 4; stroke-dasharray: 8 10; stroke-linecap: round; }
.bp-splash { fill: none; stroke: var(--bp-water); stroke-width: 2; transform-origin: center; }
.bp-rain-drop { stroke: #e8f4ff; stroke-width: 2; stroke-linecap: round; animation: bp-rain .7s linear infinite; animation-delay: var(--d); }
.bp-heat path { fill: none; stroke: #ff7a3c; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.bp-badge rect { fill: var(--bp-hot); }
.bp-badge text { fill: #fff; font: 800 19px var(--font-head); }
.bp-scan circle { fill: rgba(255, 255, 255, .28); stroke: #2d3a44; stroke-width: 5; }
.bp-scan-glint { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.bp-scan-handle { stroke: #2d3a44; stroke-width: 8; stroke-linecap: round; }
.bp-check circle { fill: #2f8a57; stroke: #fff; stroke-width: 3; }
.bp-check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bp-ladder { transition: opacity .5s; }
.bp-lead { fill: #9aa3ab; stroke: #6f777e; stroke-width: 1; transition: filter .4s, fill .4s; }

.bp-moss, .bp-sparkle, .bp-lance, .bp-drop, .bp-water, .bp-splash, .bp-rain, .bp-heat, .bp-badge, .bp-scan, .bp-check, .bp-iso, .bp-ladder, .bp-lead { opacity: 0; }
.bp-moss, .bp-sparkle, .bp-badge, .bp-check { transform-origin: center; }

/* Regen bij reparatie en dakgoten */
[data-active="dakreparatie"] .bp-gloom, [data-active="dakgoten-zinkwerk"] .bp-gloom { opacity: .38; }
[data-active="dakreparatie"] .bp-sun, [data-active="dakgoten-zinkwerk"] .bp-sun { opacity: .25; }
[data-active="dakreparatie"] .bp-rain, [data-active="dakgoten-zinkwerk"] .bp-rain { opacity: .85; transition: opacity .6s; }

/* 01 Dakrenovatie: membraan uitrollen (pannen bewust niet leggen) */
[data-active="dakrenovatie"] .bp-membrane { transform-origin: 0% 50%; animation: bp-grow .7s var(--ease) both; animation-delay: calc(.2s + var(--i) * .28s); }
/* Bij dakrenovatie het dak op het membraan laten: pannen en nok verbergen */
[data-active="dakrenovatie"] .bp-tile,
[data-active="dakrenovatie"] .bp-ridge { opacity: 0; transition: opacity .4s; }
[data-active="dakrenovatie"] .bp-check-dakrenovatie { animation: bp-pop .5s 1.4s both; }

/* 02 Dakreparatie: losse pan in de regen wordt teruggelegd */
[data-active="dakreparatie"] .bp-ladder { opacity: 1; }
[data-active="dakreparatie"] .bp-tile-broken { transform-origin: 0% 100%; animation: bp-tile-fix 3s var(--ease) both; }
[data-active="dakreparatie"] .bp-check-dakreparatie { animation: bp-pop .5s 2.4s both; }

/* 03 Dakreiniging: hogedrukreiniger haalt mos en vuil weg */
[data-active="dakreiniging"] .bp-dirt { transform-origin: 100% 50%; animation: bp-wipe 2.2s .8s linear both; }
[data-active="dakreiniging"] .bp-moss { animation: bp-fade-out .35s both; animation-delay: calc(.8s + var(--x) * 2.2s); }
[data-active="dakreiniging"] .bp-lance { transform-box: view-box; animation: bp-sweep 2.4s .7s linear both; }
[data-active="dakreiniging"] .bp-sparkle { animation: bp-pop .45s both; animation-delay: calc(1s + var(--x) * 2.2s); }

/* 04 Dakisolatie: doorkijk in het dak, warmte blijft binnen */
[data-active="dakisolatie"] .bp-tile-cut { opacity: .08; }
[data-active="dakisolatie"] .bp-cut-frame { opacity: 1; transition: opacity .5s .3s; }
[data-active="dakisolatie"] .bp-iso { opacity: 1; transform-origin: 50% 100%; animation: bp-grow-y .9s .5s var(--ease) both; }
[data-active="dakisolatie"] .bp-glass { fill: url(#bp-glass-warm); }
[data-active="dakisolatie"] .bp-heat { animation: bp-heat 2.2s ease-in-out 2 both; animation-delay: calc(1.2s + var(--k) * .25s); }
[data-active="dakisolatie"] .bp-badge { animation: bp-pop .55s 1.6s both; }

/* 05 Dakgoten & zinkwerk: regenwater loopt via goot en afvoer weg */
[data-active="dakgoten-zinkwerk"] .bp-gutter, [data-active="dakgoten-zinkwerk"] .bp-pipe { filter: drop-shadow(0 0 6px rgba(63, 159, 224, .9)); }
[data-active="dakgoten-zinkwerk"] .bp-drop { animation: bp-roll 1.4s ease-in infinite; animation-delay: calc(var(--k) * .35s); }
[data-active="dakgoten-zinkwerk"] .bp-water { opacity: 1; animation: bp-flow .6s linear infinite; }
[data-active="dakgoten-zinkwerk"] .bp-splash { animation: bp-splash 1s ease-out infinite; }
[data-active="dakgoten-zinkwerk"] .bp-check-dakgoten-zinkwerk { animation: bp-pop .5s both; animation-delay: calc(1.2s + var(--k) * .2s); }

/* 06 Loodwerk: waterdichte loodaansluiting rond de schoorsteen */
[data-active="loodwerk"] .bp-chimney { filter: drop-shadow(0 0 7px rgba(226, 102, 44, .85)); }
[data-active="loodwerk"] .bp-lead { fill: #c7ced4; filter: drop-shadow(0 0 6px rgba(226, 102, 44, .9)); animation: bp-lead-seal .9s ease-out both; }
[data-active="loodwerk"] .bp-check-loodwerk { animation: bp-pop .5s 1.4s both; }

/* 07 Dakinspectie: vakman controleert het hele dak */
[data-active="dakinspectie"] .bp-ladder { opacity: 1; }
[data-active="dakinspectie"] .bp-scan { transform-box: view-box; animation: bp-scan 3.6s ease-in-out .3s both; }
[data-active="dakinspectie"] .bp-check-dakinspectie { animation: bp-pop .45s both; animation-delay: calc(1.2s + var(--k) * .9s); }

@keyframes bp-drift { from { transform: translateX(-14px); } to { transform: translateX(18px); } }
@keyframes bp-grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes bp-grow-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes bp-tile-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes bp-tile-fix { 0%, 45% { transform: translate(-2px, -10px) rotate(-28deg); } 70%, 100% { transform: none; } }
@keyframes bp-wipe { from { opacity: .55; transform: none; } to { opacity: .55; transform: scaleX(0); } }
@keyframes bp-fade-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.2); } }
@keyframes bp-sweep { 0% { opacity: 0; transform: translate(104px, 132px); } 6%, 94% { opacity: 1; } 100% { opacity: 0; transform: translate(536px, 132px); } }
@keyframes bp-heat { 0% { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; } 50% { opacity: 1; transform: translateY(-34px); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes bp-roll { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--dy)); } }
@keyframes bp-flow { to { stroke-dashoffset: -18; } }
@keyframes bp-splash { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
@keyframes bp-rain { from { transform: translateY(0); } to { transform: translateY(46px); } }
@keyframes bp-scan { 0% { opacity: 0; transform: translate(150px, 232px); } 8% { opacity: 1; } 50% { transform: translate(320px, 124px); } 92% { opacity: 1; transform: translate(492px, 232px); } 100% { opacity: 0; transform: translate(492px, 232px); } }
@keyframes bp-pop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bp-flicker { 50% { opacity: .45; } }
@keyframes bp-lead-seal { 0% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 960px) {
  .bp { grid-template-columns: 1fr; }
  .bp-stage-wrap { order: -1; }
}
@media (max-width: 700px) and (min-height: 640px) {
  /* Tekening blijft in beeld terwijl de lijst eronder scrolt */
  .bp-stage-wrap { position: sticky; top: calc(var(--header-h) + 6px); z-index: 3; padding-bottom: 12px; background: linear-gradient(var(--paper) 85%, transparent); }
}
@media (max-width: 520px) {
  .bp-stage { border-radius: 22px; }
  .bp-caption { padding: 12px 14px 14px; }
  .bp-counter { top: 10px; left: 10px; font-size: .72rem; padding: 4px 10px; }
  .bp-caption { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bp-caption strong { font-size: 1.1rem; }
  .bp-spec { font-size: .75rem; text-align: left; }
  .svc-panel-inner { padding-left: 0; }
  .svc-tab { gap: 12px; }
}

/* --------------------------------------------------------------------------
   Werkgebied: interactieve kaart
   -------------------------------------------------------------------------- */
.wg { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.wg-intro h2 { margin-bottom: .4em; }
.wg-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }

.wg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.wg-stats div { padding: 14px 12px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.wg-stats strong { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.wg-stats span { font-size: .8rem; color: var(--muted); }

.wg-search { display: flex; gap: 8px; }
.wg-input { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 16px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.wg-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(226, 102, 44, .15); }
.wg-input .ic { color: var(--muted); }
.wg-input input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.wg-locate {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 53px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background-color .2s, transform .2s;
}
.wg-locate:hover { background: var(--ink-3); }
.wg-locate:active { transform: scale(.97); }
.wg-locate.is-loading .ic { animation: wg-spin 1s linear infinite; }
.wg-status { min-height: 1.5em; margin: 10px 2px 8px; font-size: .9rem; color: var(--muted); }
.wg-status a { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.wg-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wg-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: .55em .95em .55em .6em; border-radius: 99px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.wg-chip .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); transition: background-color .25s, color .25s; }
.wg-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.wg-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.wg-chip.is-active .ic { background: var(--accent); color: #fff; }
.wg-chips li[hidden] { display: none; }

/* Kaart */
.wg-map {
  position: relative; aspect-ratio: 520 / 610; border-radius: 28px; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none;
  background: radial-gradient(90% 70% at 20% 30%, #e7f2f8, #cfe3ee); box-shadow: var(--shadow-lg);
}
.wg-map::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 10% 40%, transparent 0 14px, rgba(255, 255, 255, .45) 14px 15px);
}
.wg-svg { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; transform-origin: 0 0; }
.wg-map.is-moving .wg-svg { will-change: transform; }
.wg-land-shadow { fill: rgba(13, 23, 33, .1); pointer-events: none; }
.wg-map.is-dragging .wg-svg { cursor: grabbing; }
.wg-label { pointer-events: none; font-family: var(--font-head); }
.wg-label-sea { fill: #7ea6bd; font-size: 15px; font-style: italic; font-weight: 600; letter-spacing: .12em; }
.wg-label-sm { font-size: 11px; }
.wg-label-land { fill: #9fb3bf; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.wg-prov { fill: #fffdf9; stroke: #d8cdbd; stroke-width: calc(1.1px / var(--zs, 1)); stroke-linejoin: round; cursor: pointer; transition: fill .3s; }
.wg-prov:hover { fill: #fdeee4; }
.wg-prov.is-active { fill: #fbdcc8; }

/* Pins: HTML-laag boven de kaart, alleen transform (composited) tijdens zoomen */
.wg-pins { position: absolute; inset: 0; pointer-events: none; }
.wg-pin {
  position: absolute; left: 0; top: 0; width: 44px; height: 50px; margin: -48px 0 0 -22px; padding: 0; border: 0;
  background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent;
}
.wg-map.is-moving .wg-pin { will-change: transform; }
.wg-pin-inner { position: absolute; inset: 0; transform: scale(var(--pin, .9)); transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.wg-pin-svg { position: absolute; left: 50%; bottom: 2px; width: 30px; height: 40px; margin-left: -15px; overflow: visible; opacity: 0; transform: translateY(-24px); }
.wg.is-in .wg-pin-svg { animation: wg-drop .55s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.2s + var(--i) * 45ms); }
.wg-pin-drop { fill: var(--accent); stroke: #fff; stroke-width: 2; transition: fill .25s; }
.wg-pin-check { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wg-pin-shadow { position: absolute; left: 50%; bottom: 0; width: 14px; height: 5px; margin-left: -7px; border-radius: 50%; background: rgba(13, 23, 33, .28); }
.wg-pin-pulse { position: absolute; left: 50%; bottom: -6px; width: 22px; height: 12px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }
.wg-pin:hover, .wg-pin:focus-visible { --pin: 1.08; z-index: 2; outline: none; }
.wg-pin:hover .wg-pin-drop, .wg-pin:focus-visible .wg-pin-drop { fill: var(--accent-2); }
.wg-pin.is-active { --pin: 1.25; z-index: 3; }
.wg-pin.is-active .wg-pin-drop { fill: var(--ink); }
/* Alleen de gekozen pin pulseert (CSS-transform = goedkoop) */
.wg-pin.is-active .wg-pin-pulse { animation: wg-pulse 2s ease-out infinite; }
.wg-pin.is-dim { opacity: .35; }

.wg-controls { position: absolute; top: 14px; right: 14px; display: grid; gap: 8px; }
.wg-ctrl {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 14px; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 1.35rem; font-weight: 600; line-height: 1;
  box-shadow: var(--shadow-sm); transition: background-color .2s, transform .2s;
}
.wg-ctrl:hover { background: #fff; }
.wg-ctrl[hidden] { display: none; }
.wg-ctrl:active { transform: scale(.94); }
.wg-ctrl .ic { width: 18px; height: 18px; }
.wg-reset { background: var(--ink); color: #fff; }
.wg-reset:hover { background: var(--ink-3); }

.wg-hint {
  position: absolute; top: 14px; left: 14px; margin: 0; padding: 7px 12px; border-radius: 99px; pointer-events: none;
  background: #fff; color: var(--muted); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: opacity .4s, transform .4s var(--ease);
}
.wg-hint.is-hidden { opacity: 0; transform: translateY(-6px); }

.wg-card {
  position: absolute; left: 14px; bottom: 14px; width: min(330px, calc(100% - 28px)); padding: 18px 18px 16px; border-radius: 20px;
  background: #fff; box-shadow: 0 24px 50px -18px rgba(13, 23, 33, .45); animation: wg-sheet .45s var(--ease) both;
}
.wg-card[hidden] { display: none; }
.wg-card h3 { margin: 8px 0 4px; font-size: 1.3rem; }
.wg-card p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.wg-card-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 99px; background: #e4f4ea; color: #1d6a40; font-size: .75rem; font-weight: 700; }
.wg-card-badge .ic { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--success); color: #fff; }
.wg-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wg-card-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); cursor: pointer; }
.wg-card-close .ic { width: 16px; height: 16px; }

.city-grid-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1.2rem; }

@keyframes wg-drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes wg-pulse { 0% { opacity: .8; transform: scale(.4); } 70%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes wg-sheet { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wg-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .wg { grid-template-columns: 1fr; gap: 24px; }
  .wg-intro { display: contents; }
  .wg-intro > :is(.eyebrow, h2, .wg-lead) { grid-column: 1; }
  .wg-map-wrap { order: 2; }
  .wg-stats { order: 3; margin: 0; }
  .wg-search { order: 4; }
  .wg-status { order: 5; margin: -14px 2px -10px; }
  .wg-status:empty { min-height: 0; margin-block: -12px; }
  .wg-chips { order: 6; }
  .wg-intro > .eyebrow { order: 0; margin-bottom: -14px; }
  .wg-intro > h2 { order: 0; margin-bottom: -14px; }
  .wg-intro > .wg-lead { order: 1; margin: 0; }
}
@media (max-width: 640px) {
  .section-wg .container { width: 100%; }
  .section-wg .wg-intro > :not(.wg-chips) { margin-left: 20px; margin-right: 20px; }
  .wg-map { border-radius: 0; aspect-ratio: 520 / 600; box-shadow: none; }
  .wg-chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: 0 !important; padding: 2px 20px 6px; scroll-padding-inline: 20px; -webkit-overflow-scrolling: touch;
  }
  .wg-chips::-webkit-scrollbar { display: none; }
  .wg-chips li { flex: none; scroll-snap-align: start; }
  .wg-chip { padding: .65em 1.05em .65em .7em; }
  .wg-locate span { display: none; }
  .wg-locate { width: 53px; padding: 0; justify-content: center; }
  .wg-card { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .wg-card-actions .btn { flex: 1; }
  .wg-hint { top: 12px; left: 12px; }
  .wg-controls { top: 12px; right: 12px; }
}
