/* ==========================================================================
   VDH Bouw & Sloop
   ========================================================================== */

/* Lettertypes zelf gehost (Archivo + Inter, SIL Open Font License) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Merkpalet — Hout / Beige */
  --brand-primary: #3B3024;   /* navigatie, koppen */
  --brand-secondary: #6B5240; /* kaarten, iconen */
  --brand-sand: #D9C7B3;      /* achtergrond secties */
  --brand-light: #F6F2EA;     /* achtergrond */
  --brand-accent: #FF7A00;    /* knoppen, highlights */

  --ink: var(--brand-primary);
  --ink-2: #5b4b3b;
  --muted: #7a6753;
  --line: #e6dccd;
  --paper: var(--brand-light);
  --paper-2: #ece2d4;
  --sand: var(--brand-sand);
  --wood: var(--brand-secondary);
  --white: #fffdf9;
  --accent: var(--brand-accent);
  --accent-ink: #a84f00;       /* oranje voor kleine tekst op lichte achtergrond (contrast ≥ 4,5) */
  --accent-text: #c95800;      /* oranje voor grote koppen op lichte achtergrond (contrast ≥ 3) */
  --on-accent: #2b2219;        /* tekst op oranje knoppen (contrast 4,9; wit haalt maar 2,6) */
  --accent-soft: #ffe8d2;
  --dark: var(--brand-primary);
  --dark-2: #2e251b;
  --ok: #2f7d4f;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(59, 48, 36, .06), 0 8px 24px -12px rgba(59, 48, 36, .18);
  --shadow-lg: 0 30px 60px -30px rgba(59, 48, 36, .45);

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* De header zit in een omhullende div; zo blijft hij toch bovenaan plakken */
#site-header { display: contents; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.7rem); font-stretch: 85%; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 88%; }
h3 { font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--accent); }

.hl { color: var(--accent-text); }
.on-dark .hl, .hero.has-photo .hl { color: var(--accent); }
.bg-sand .eyebrow, .bg-sand .step .step-meta { color: #6e3300; }

/* ---------- Knoppen ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: var(--radius);
  font-weight: 600; font-size: .98rem; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); flex: none; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-accent { --bg: var(--accent); --fg: var(--on-accent); }
.btn-accent:hover { --bg: #ff8f2b; }
.btn:not(.btn-accent):not(.btn-ghost):not(.btn-light):hover { --bg: #000; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { --bg: var(--paper-2); }
.on-dark .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.on-dark .btn-ghost:hover { --bg: #fff; --fg: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar + header ---------- */
.topbar {
  background: var(--dark-2); color: #d9c7b3;
  font-size: .82rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5bd18b; margin-right: 8px; box-shadow: 0 0 0 0 rgba(91,209,139,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,209,139,.6); } 70% { box-shadow: 0 0 0 8px rgba(91,209,139,0); } 100% { box-shadow: 0 0 0 0 rgba(91,209,139,0); } }
.topbar-right { display: flex; gap: 22px; }
@media (max-width: 760px) { .topbar-right { display: none; } .topbar .wrap { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(59, 48, 36, .97);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.header .logo-mark { background: #fff; color: var(--ink); }
.header .logo-text { color: #fff; }
.header .logo-text small { color: #c9b8a3; }
.header .header-phone { color: #fff; }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: #fff; border-radius: 3px;
  font: 800 .95rem/1 var(--f-display); letter-spacing: -.02em; font-stretch: 80%;
  position: relative; overflow: hidden;
}
.logo-mark::after { content: ''; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; background: var(--accent); }
.logo-text { font: 800 1.08rem/1 var(--f-display); letter-spacing: -.01em; font-stretch: 88%; }
.logo-text small { display: block; font: 500 .7rem/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: #e6dccd;
  border-radius: var(--radius);
}
.nav a:hover { color: #fff; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: .95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }

.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .header .wrap { gap: 12px; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 112px 0 0 0; z-index: 49;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 40px;
    background: var(--paper);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .nav a, .nav a:hover, .nav a[aria-current="page"] { font: 800 1.9rem/1 var(--f-display); font-stretch: 88%; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .btn { color: var(--on-accent); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 24px; font: 600 1rem/1 var(--f-body); }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 861px) { .nav .nav-only-mobile { display: none; } }

/* ---------- Secties ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--ink-2); max-width: 46ch; justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 18px; } .section-head p { justify-self: start; } }

.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-sand .service, .bg-sand .card { background: var(--white); }
.bg-dark { background: var(--dark); color: #f1eee7; }
.bg-dark .lead, .bg-dark p { color: #d9c7b3; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1.02;
  background: linear-gradient(180deg, #ece2d4 0%, var(--sand) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .6s var(--ease); pointer-events: none; }
.hero-stage.is-live .stage-poster { opacity: 0; }
.hero-stage:not(.is-live) { cursor: grab; }
.stage-tabs {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: flex; padding: 4px; gap: 2px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border-radius: 6px;
  box-shadow: var(--shadow);
}
.stage-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 4px; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s; }
.stage-tabs button.active { background: var(--ink); color: #fff; }
.stage-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 18px;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
}
.stage-card small { display: block; color: var(--muted); font-size: .78rem; }
.stage-card strong { font: 800 1.15rem/1.2 var(--f-display); }
.stage-hint { position: absolute; right: 16px; top: 22px; z-index: 2; font-size: .78rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; opacity: .8; }
.stage-hint svg { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 520px) {
  .stage-card { flex-direction: column; align-items: stretch; gap: 10px; }
  .stage-card .btn { width: 100%; }
  .stage-hint { display: none; }
}

/* Hero met foto (Afbeeldingen/Hero.jpg) */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.hero.has-photo::before { background: var(--hero-img) center / cover no-repeat; opacity: 1; animation: heroZoom 14s ease-out both; }
.hero.has-photo::after { background: linear-gradient(90deg, rgba(43,34,25,.92) 0%, rgba(59,48,36,.78) 38%, rgba(59,48,36,.25) 75%, rgba(59,48,36,.15) 100%); opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: none; } }
.hero.has-photo { padding-top: 0; }
.hero.has-photo .hero-grid { padding-block: clamp(56px, 8vw, 120px); }
.hero.has-photo .strip { margin-top: 0; }
.hero.has-photo h1 { color: #fff; }
.hero.has-photo .lead { color: #efe5d8; }
.hero.has-photo .hero-proof { color: #fff; border-top-color: rgba(255,255,255,.22); }
.hero.has-photo .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.hero.has-photo .btn-ghost:hover { --bg: #fff; --fg: var(--ink); }
.hero.has-photo .hero-stage { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
@media (max-width: 960px) {
  .hero.has-photo::after { background: linear-gradient(180deg, rgba(43,34,25,.88) 0%, rgba(59,48,36,.8) 55%, rgba(59,48,36,.55) 100%); }
}

/* ---------- Marquee / trust strip ---------- */
.strip { border-block: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); overflow: hidden; background: var(--paper); }
.strip-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item { display: flex; align-items: center; gap: 18px; padding: 20px 28px; font: 800 1.35rem/1 var(--f-display); font-stretch: 85%; text-transform: uppercase; white-space: nowrap; }
.strip-item::after { content: ''; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Diensten ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); padding: clamp(26px, 3vw, 40px);
  text-decoration: none; min-height: 440px;
  transition: background .35s;
}
.service:hover { background: #fbf7f0; }
.service-num { font: 600 .8rem/1 var(--f-body); color: var(--muted); letter-spacing: .1em; }
.service-icon { width: 64px; height: 64px; margin: 34px 0 30px; color: var(--wood); }
.service-icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.service h3 { font-size: 1.7rem; font-stretch: 88%; margin-bottom: 12px; }
.service p { color: var(--ink-2); font-size: .97rem; }
.service ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: .92rem; color: var(--ink-2); }
.service li { padding: 7px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.service li::before { content: ''; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); flex: none; }
.service-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-tag { font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
.service-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .3s, color .3s, transform .4s var(--ease); }
.service-go svg { width: 18px; height: 18px; }
.service:hover .service-go { background: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } }

/* ---------- Offerte keuze (CTA blok) ---------- */
.quote-band { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.quote-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.quote-band h2 { color: #fff; }
.quote-band p { color: #d9c7b3; }
.quote-choices { display: grid; gap: 10px; position: relative; }
.quote-choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  text-decoration: none; color: #fff;
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.quote-choice:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); transform: translateX(4px); }
.quote-choice .qc-icon { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.quote-choice .qc-icon svg { width: 24px; height: 24px; }
.quote-choice strong { display: block; font-size: 1.05rem; }
.quote-choice small { color: #c2ac93; font-size: .86rem; }
.qc-badge { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 5px 8px; border-radius: 3px; }
.quote-choice > svg { width: 20px; height: 20px; opacity: .7; }
@media (max-width: 860px) { .quote-band { grid-template-columns: 1fr; } .qc-badge { display: none; } }

/* ---------- Werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 24px 0 0; position: relative; }
.step-n { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.step-n b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem/1 var(--f-display); background: var(--white); border: 1.5px solid var(--ink); position: relative; z-index: 1; transition: background .4s, color .4s; }
.step-n::after { content: ''; flex: 1; height: 1.5px; background: var(--line); }
.step:last-child .step-n::after { display: none; }
.step.in .step-n b { background: var(--ink); color: #fff; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.step .step-meta { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .step-n::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- USP / cijfers ---------- */
.usp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.usp-list { display: grid; gap: 0; }
.usp { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); }
.usp:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.usp-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--accent); }
.usp-ico svg { width: 24px; height: 24px; }
.usp h3 { color: #fff; font-size: 1.2rem; margin: 4px 0 6px; }
.usp p { margin: 0; font-size: .95rem; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); margin-top: 40px; border-radius: 8px; overflow: hidden; }
.number { background: var(--dark); padding: 26px 22px; }
.number b { display: block; font: 800 2.6rem/1 var(--f-display); font-stretch: 85%; color: #fff; margin-bottom: 8px; }
.number span { font-size: .88rem; color: #c2ac93; }
@media (max-width: 960px) { .usp-grid { grid-template-columns: 1fr; } }

/* ---------- Projecten (foto's uit /Afbeeldingen) ---------- */
.gallery-filters { margin-bottom: 22px; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); margin: 0;
  opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s);
}
.project.in { opacity: 1; transform: none; }
.project:nth-child(6n+1), .project:nth-child(6n+5) { aspect-ratio: auto; grid-row: span 2; }
.project-open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.project-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.05); }
.project figcaption { position: absolute; inset: auto 0 0 0; padding: 50px 20px 16px; color: #fff; background: linear-gradient(transparent, rgba(40,30,20,.75)); pointer-events: none; }
.project figcaption small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.project figcaption strong { display: block; margin-top: 4px; font: 700 1.05rem/1.25 var(--f-display); }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr 1fr; } .project:nth-child(6n+5) { grid-row: auto; aspect-ratio: 4/3; } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } .project:nth-child(n) { grid-row: auto; aspect-ratio: 4/3; } }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: var(--white); padding: 8px 16px; border-radius: 99px; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--wood); }
.chips button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(30,24,18,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 60px 0 30px; max-height: 100vh; grid-column: 2; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -30px #000; transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.show img { transform: none; }
.lightbox figcaption { color: #e6dccd; font-size: .9rem; text-align: center; }
.lb-close, .lb-nav { border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lb-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; font-size: 1.6rem; }
.lb-nav { width: 48px; height: 48px; font-size: 2rem; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 0 1fr 0; } .lightbox figure { padding: 70px 10px 30px; } .lb-nav { position: absolute; bottom: 20px; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review .stars { color: #f0a020; letter-spacing: 2px; }
.review p { margin: 0; font-size: 1.02rem; }
.review footer { margin-top: auto; font-size: .88rem; color: var(--muted); }
.review footer b { color: var(--ink); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.faq-aside { position: sticky; top: 110px; align-self: start; }
.faq-aside p { color: var(--ink-2); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font: 700 1.12rem/1.35 var(--f-display); letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--ink-2); padding-right: 40px; margin: 0 0 24px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* ---------- Werkgebied ---------- */
.area { display: flex; flex-wrap: wrap; gap: 8px; }
.area span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; background: var(--white); transition: border-color .2s, background .2s; }
.area span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); text-transform: uppercase; font-stretch: 82%; max-width: 15ch; margin: 0 auto 24px; }
.final-cta .lead { margin: 0 auto 36px; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #c9b8a3; padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer h4, .footer .footer-title { color: #fff; font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:not(.btn) { text-decoration: none; color: #e7e3da; }
.footer a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer .logo-mark { background: #fff; color: var(--ink); }
.footer .logo-text { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .82rem; color: #bba792; }
.footer-big::before { content: 'Bouw & Sloop'; }
.footer-big { font: 800 clamp(3rem, 15vw, 13rem)/.8 var(--f-display); font-stretch: 75%; color: #46392b; text-transform: uppercase; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; margin-top: 10px; user-select: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Zwevende knoppen ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35);
  transition: transform .3s var(--ease);
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa .tip { position: absolute; right: 70px; white-space: nowrap; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.fab-wa:hover .tip { opacity: 1; transform: none; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246,242,234,.95); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  .fab-wa { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  body { padding-bottom: 0; }
}

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-mask { animation: unmask 1.2s .15s var(--ease) both; }
@keyframes unmask { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask { animation: none; }
  .hero h1 .line > span { transform: none; }
}

/* ==========================================================================
   Dienstpagina's
   ========================================================================== */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.page-hero .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.page-hero .fact { background: var(--white); padding: 18px; }
.page-hero .fact b { display: block; font: 800 1.5rem/1 var(--f-display); font-stretch: 88%; margin-bottom: 6px; }
.page-hero .fact span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Configurator
   ========================================================================== */
.config {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.config-stage { position: relative; min-height: 640px; background: linear-gradient(180deg, #efe7db, var(--sand)); }
.config-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.config-stage canvas:active { cursor: grabbing; }
.stage-tools { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; z-index: 2; }
.tool { height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; cursor: pointer; }
.tool svg { width: 16px; height: 16px; }
.tool.active { background: var(--ink); color: #fff; }
.stage-dims { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(59,48,36,.82); color: #fff; padding: 8px 12px; border-radius: 6px; font: 600 .8rem/1.4 var(--f-body); font-variant-numeric: tabular-nums; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem; color: var(--muted); }

.config-panel { display: flex; flex-direction: column; border-left: 1px solid var(--line); max-height: 780px; }
.config-steps { display: flex; border-bottom: 1px solid var(--line); }
.config-steps button { flex: 1; border: 0; background: transparent; padding: 16px 6px 14px; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; position: relative; }
.config-steps button b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .7rem; margin-right: 6px; }
.config-steps button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.config-steps button.active { color: var(--ink); }
.config-steps button.active::after { transform: scaleX(1); }
.config-steps button.done b { background: var(--ink); color: #fff; border-color: var(--ink); }

.config-body { flex: 1; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.config-pane { display: none; animation: paneIn .45s var(--ease); }
.config-pane.active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateX(12px); } }

.field { margin-bottom: 26px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.field-label output, .field-label em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.field-help { font-size: .82rem; color: var(--muted); margin: -6px 0 12px; }

.opts { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 12px; border: 1.5px solid var(--line); border-radius: 6px;
  cursor: pointer; font-size: .86rem; font-weight: 600; line-height: 1.25;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.opt label small { font-weight: 400; color: var(--muted); font-size: .76rem; }
.opt label:hover { border-color: #c9b8a3; }
.opt input:checked + label { border-color: var(--ink); background: #fbf7f0; box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .swatch { width: 100%; height: 34px; border-radius: 4px; margin-bottom: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

.range { width: 100%; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.range::-moz-range-progress { height: 4px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); margin-top: -10px; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s; }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 2px; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle:last-child { border-bottom: 1px solid var(--line); }
.toggle span { font-size: .92rem; font-weight: 600; }
.toggle small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.toggle input { -webkit-appearance: none; appearance: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .25s; flex: none; }
.toggle input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(18px); }

.config-foot { border-top: 1px solid var(--line); padding: 18px 24px; background: #fbf7f0; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.price-row small { display: block; font-size: .78rem; color: var(--muted); }
.price { font: 800 1.9rem/1 var(--f-display); font-stretch: 88%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price-note { font-size: .74rem; color: var(--muted); text-align: right; max-width: 15ch; line-height: 1.35; }
.config-nav { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.config-nav .btn-ghost { padding: 0 16px; }

.summary { list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; }
.summary li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.summary li span:first-child { color: var(--muted); }
.summary li span:last-child { font-weight: 600; text-align: right; }

@media (max-width: 1020px) {
  .config { grid-template-columns: 1fr; }
  .config-stage { min-height: 0; aspect-ratio: 4/3; }
  .config-panel { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .config-body { overflow: visible; }
  .config-foot { position: sticky; bottom: 0; z-index: 5; box-shadow: 0 -10px 30px -18px rgba(0,0,0,.3); }
}
@media (max-width: 760px) {
  .config-page .mobile-bar { display: none; }
  .config-page .fab-wa { bottom: 150px; }
}
@media (max-width: 600px) {
  .stage-dims { top: auto; bottom: 12px; right: 12px; }
  .stage-tools { left: 12px; top: 12px; flex-wrap: wrap; }
  .config-steps button { font-size: .74rem; padding: 14px 2px 12px; }
  .config-steps button b { display: none; }
}
@media (max-width: 420px) { .opts { --cols: 2 !important; } }

/* ---------- Formulier ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.input { display: flex; flex-direction: column; gap: 6px; }
.input label { font-size: .82rem; font-weight: 600; }
.input input, .input textarea, .input select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input textarea { min-height: 90px; resize: vertical; }
.input input:focus, .input textarea:focus, .input select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(59,48,36,.08); }
.input input:user-invalid { border-color: #c4361b; }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 14px; height: 14px; margin-top: 2px; flex: none; }
.form-alt { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.form-alt::before, .form-alt::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-wa { --bg: #128040; }
.btn-wa:hover { --bg: #0e6a34 !important; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

.success { text-align: center; padding: 20px 0; }
.success-ico { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #e3f2e8; color: var(--ok); }
.success-ico svg { width: 34px; height: 34px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { margin-bottom: 10px; font-size: 1.6rem; }
.success ol { text-align: left; padding-left: 20px; margin: 22px 0 0; color: var(--ink-2); font-size: .92rem; }
.success li { margin-bottom: 8px; }

/* ---------- Sloop-calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.job {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: start;
  transition: border-color .25s, box-shadow .25s, transform .3s var(--ease);
  cursor: pointer; position: relative;
}
.job:hover { border-color: #c9b8a3; }
.job.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.job h3 { font: 700 1rem/1.3 var(--f-body); letter-spacing: 0; }
.job p { grid-column: 1; margin: 0; font-size: .82rem; color: var(--muted); }
.job .check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; grid-row: 1 / 3; grid-column: 2; }
.job .check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .2s; }
.job.on .check { background: var(--ink); border-color: var(--ink); }
.job.on .check svg { opacity: 1; }
.job .qty { grid-column: 1 / -1; display: none; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); cursor: default; }
.job.on .qty { display: flex; }
.qty label { font-size: .82rem; color: var(--ink-2); flex: 1; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: var(--paper); cursor: pointer; font-size: 1.1rem; font-weight: 600; }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 56px; height: 36px; border: 0; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-side { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-side-head { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.calc-side-body { padding: 22px 24px; }
.calc-empty { color: var(--muted); font-size: .9rem; padding: 6px 0 18px; }
@media (max-width: 1020px) { .calc { grid-template-columns: 1fr; } .calc-side { position: static; } }
@media (max-width: 600px) { .jobs { grid-template-columns: 1fr; } }

/* ---------- Content blokken op dienstpagina's ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 34%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checklist li svg { width: 22px; height: 22px; color: var(--wood); margin-top: 1px; }
.checklist b { display: block; }
.checklist span { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility .3s; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: .9rem; z-index: 80; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Ruimere tikvlakken voor contactlinks op mobiel */
.checklist b a { display: inline-block; padding: 8px 0; margin: -8px 0; }

/* ==========================================================================
   Schutting-configurator (stappen onder elkaar)
   ========================================================================== */
.fc-section { padding: 0 0 clamp(48px, 6vw, 80px); }
.fc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fc-preview { position: sticky; top: 92px; }
.fc-stage { position: relative; height: calc(100vh - 150px); min-height: 420px; max-height: 760px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #efe7db, var(--sand)); }
.fc-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.fc-stage .stage-dims { top: auto; bottom: 14px; right: 14px; }
.fc-preview-note { font-size: .8rem; color: var(--muted); margin: 10px 2px 0; }

.fc-main { min-width: 0; }
.fc-progress { position: sticky; top: 74px; z-index: 6; background: rgba(246, 242, 234, .96); backdrop-filter: blur(8px); padding: 14px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.fc-progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; }
.fc-progress-row span { color: var(--muted); }
.fc-progress-bar { height: 6px; border-radius: 99px; background: var(--paper-2); margin-top: 10px; overflow: hidden; }
.fc-progress-bar i { display: block; height: 100%; width: 12.5%; background: var(--wood); border-radius: 99px; transition: width .5s var(--ease); }

.fc-step { padding: 34px 0 10px; scroll-margin-top: 150px; }
.fc-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.fc-step-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-stretch: 92%; }
.fc-badge { flex: none; background: var(--wood); color: #fff; font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 6px; }
.fc-badge-dark { background: var(--ink); }
.fc-help { color: var(--ink-2); margin: 0 0 20px; max-width: 58ch; }
.fc-sub { display: flex; gap: 10px; align-items: baseline; margin: 22px 0 10px; font-size: .95rem; }
.fc-sub span { color: var(--muted); font-size: .85rem; }
.fc-note { background: var(--white); border: 1px dashed var(--line); border-radius: 8px; padding: 14px 16px; color: var(--ink-2); font-size: .92rem; margin-top: 14px; }

.fc-cards { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.fc-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fc-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.fc-cards.cols-5 { grid-template-columns: repeat(5, 1fr); }
.fc-card { position: relative; }
.fc-card input { position: absolute; opacity: 0; pointer-events: none; }
.fc-card label { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.fc-card label:hover { border-color: #c9b8a3; transform: translateY(-2px); }
.fc-card input:checked + label { border-color: var(--wood); box-shadow: inset 0 0 0 1.5px var(--wood); }
.fc-card input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.fc-card-art { display: grid; place-items: center; background: #f7f3ec; aspect-ratio: 4 / 3; padding: 14px; }
.compact .fc-card-art { aspect-ratio: 16 / 9; }
.fc-card-art svg { width: 100%; height: 100%; max-height: 120px; }
.fc-card-text { padding: 10px 12px 12px; display: grid; gap: 2px; text-align: center; }
.fc-card-text b { font-size: .92rem; line-height: 1.25; }
.fc-card-text small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.fc-card input:checked + label .fc-card-text b { color: var(--accent-ink); }
.fc-tag { position: absolute; top: 8px; left: 8px; background: var(--wood); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 5px; letter-spacing: .02em; }
.fc-info { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); font: 700 .8rem/1 Georgia, serif; font-style: italic; cursor: pointer; display: grid; place-items: center; }
.fc-info:hover { border-color: var(--wood); color: var(--wood); }
.fc-pop { position: absolute; z-index: 90; background: var(--ink); color: #fff; font-size: .85rem; line-height: 1.45; padding: 12px 14px; border-radius: 8px; box-shadow: var(--shadow-lg); }

.fc-plan line { stroke: #4a4c50; stroke-width: 7; stroke-linecap: butt; }
.fc-plan rect { fill: #1f2124; }
.fc-plan text { font: 700 9px var(--f-body); fill: var(--ink); text-anchor: middle; }
.fc-icon-hammer { width: 56px !important; height: 56px !important; color: #8f8c86; }
.fc-screen { border-radius: 2px; }
.fc-post { height: 100%; }
.fc-h { display: block; width: 46%; height: var(--h); background: repeating-linear-gradient(180deg, #45474b 0 7px, #2c2e31 7px 8px); border-radius: 2px; align-self: end; }

.fc-sides { display: grid; gap: 10px; }
.fc-side { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.fc-side label { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.fc-side-no { width: 28px; height: 28px; border-radius: 50%; background: var(--wood); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.fc-len { display: flex; align-items: center; gap: 8px; }
.fc-len input { width: 110px; height: 46px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; text-align: right; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.fc-len input:focus { outline: 0; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(107, 82, 64, .15); }
.fc-len span { color: var(--muted); }
.fc-side-info { color: var(--muted); font-size: .8rem; min-width: 60px; text-align: right; }
.fc-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.fc-check input { width: 22px; height: 22px; accent-color: var(--wood); margin-top: 1px; flex: none; }
.fc-check span { font-weight: 600; font-size: .95rem; }
.fc-check small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

.fc-elev { background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.fc-elev-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: .95rem; }
.fc-elev-head span { color: var(--muted); font-size: .85rem; }
.fc-elev-scroll { overflow-x: auto; padding-bottom: 4px; }
.fc-elev-svg { width: 100%; height: auto; display: block; max-height: 220px; }
.fc-elev-svg.is-preview { max-height: 110px; }
.fc-panel { cursor: pointer; outline: none; }
.fc-panel-hit { fill: transparent; stroke: transparent; stroke-width: 4; rx: 4; transition: stroke .15s, fill .15s; }
.fc-panel:hover .fc-panel-hit, .fc-panel:focus-visible .fc-panel-hit { stroke: var(--accent); fill: rgba(255, 122, 0, .08); }
.fc-pencil { opacity: 0; transition: opacity .15s; pointer-events: none; }
.fc-pencil circle { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.fc-pencil path { fill: var(--ink); }
.fc-panel:hover .fc-pencil, .fc-panel:focus-visible .fc-pencil { opacity: 1; }
@media (hover: none) { .fc-pencil { opacity: .9; } }
.fc-w { font: 600 13px var(--f-body); fill: var(--muted); text-anchor: middle; }
.fc-open { fill: transparent; stroke: #c9b8a3; stroke-width: 2; stroke-dasharray: 8 6; }
.fc-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.fc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fc-legend i { width: 14px; height: 14px; border-radius: 3px; }
.lg-scherm { background: #b98a57; } .lg-poort { background: #b98a57; box-shadow: inset 0 0 0 3px #1f2124; } .lg-open { border: 2px dashed #c9b8a3; }

.fc-final { padding-top: 44px; }
.fc-summary { background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 0 16px; margin-bottom: 18px; }
.fc-summary summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.fc-summary .summary { margin: 0 0 12px; }

.fc-pricebar { position: sticky; bottom: 0; z-index: 7; margin-top: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px 12px 0 0; box-shadow: 0 -14px 30px -20px rgba(59, 48, 36, .5); }
.fc-pricebar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.fc-price { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; text-align: left; padding: 4px; }
.fc-price b { display: block; font: 800 1.6rem/1.05 var(--f-display); font-stretch: 90%; font-variant-numeric: tabular-nums; }
.fc-price small { color: var(--muted); font-size: .76rem; }
.fc-price svg { width: 20px; height: 20px; color: var(--ink-2); transition: transform .3s var(--ease); }
.fc-price[aria-expanded="true"] svg { transform: rotate(180deg); }
.fc-breakdown { padding: 16px 16px 4px; border-bottom: 1px solid var(--line); max-height: 50vh; overflow: auto; }
.fc-breakdown ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.fc-breakdown li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.fc-breakdown li em { font-style: normal; color: var(--muted); margin-left: 4px; }
.fc-breakdown .fc-total { border-bottom: 0; font-weight: 700; font-size: .95rem; }
.fc-breakdown p { font-size: .78rem; color: var(--muted); margin: 6px 0 10px; }

.fc-modal-bg { position: fixed; inset: 0; background: rgba(43, 34, 25, .5); z-index: 95; }
.fc-modal { position: fixed; z-index: 96; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), opacity .25s; }
.fc-modal.show { transform: translate(-50%, -50%); opacity: 1; }
.fc-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; }
.fc-modal-head h3 { font-size: 1.25rem; }
.fc-modal-x { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; color: var(--ink-2); }
.fc-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.fc-tabs button { flex: 1; border: 0; background: transparent; padding: 12px 6px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.fc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--wood); }
.fc-modal-body { padding: 16px 20px; }
.fc-modal-body .fc-card-art { aspect-ratio: auto; min-height: 120px; }
.fc-modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.fc-all { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-2); }
.fc-all input { accent-color: var(--wood); width: 18px; height: 18px; }

@media (max-width: 1020px) {
  .fc { grid-template-columns: 1fr; }
  .fc-preview { position: relative; top: 0; }
  .fc-stage { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .fc-cards.cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .fc-cards, .fc-cards.cols-3, .fc-cards.cols-4, .fc-cards.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .fc-side { grid-template-columns: 1fr auto; }
  .fc-side-info { grid-column: 1 / -1; text-align: left; margin-top: -6px; }
  .fc-pricebar { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 12px 12px 0 0; border-left: 0; border-right: 0; }
  .fc-price b { font-size: 1.35rem; }
  .fc-pricebar .btn { padding: 0 16px; }
  .fc-progress { top: 74px; }
}

@media (max-width: 760px) { .config-page .fab-wa { bottom: 96px; } }

/* Zijde-tabs in de 3D */
.fc-sidetabs { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 2px; padding: 4px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border-radius: 8px; box-shadow: var(--shadow); max-width: calc(100% - 28px); overflow-x: auto; }
.fc-sidetabs button { border: 0; background: transparent; padding: 8px 12px; border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.fc-sidetabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.fc-stage .stage-dims { top: 16px; bottom: auto; }
.fc-elev { transition: border-color .2s; }
.fc-elev:hover { border-color: #c9b8a3; }
@media (max-width: 640px) { .fc-stage .stage-dims { display: none; } }

/* Configurator met 6 stappen: compactere tabs */
.config-steps:has(button:nth-child(6)) button { font-size: .76rem; padding: 15px 2px 13px; }
.config-steps:has(button:nth-child(6)) button b { display: none; }

@media (max-width: 1200px) and (min-width: 961px) { .services { grid-template-columns: repeat(2, 1fr); } }
