/*
 * VDS Loodgieters - "Warm & Betrouwbaar" design system.
 *
 * Light palette drawn from the trade itself: copper (#B5641E) is the action
 * colour, petrol blue (#1E3A4C) is the structure/trust colour. Headings use
 * Fraunces (editorial serif), body/UI use Inter. Depth comes from soft shadows
 * and hairlines ("layered paper"), never neon glow.
 *
 * Authors: Et & Copus
 * Datemod: 2026-06-17
 */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Light is the primary mode */
  --bg: #f6f1e9;          /* warm cream/linen canvas */
  --surface: #ffffff;
  --surface-2: #fbf7f0;   /* nested warm off-white */
  --line: #e7e1d6;        /* warm hairline */
  --text: #1c2228;        /* warm anthracite ink, never pure black */
  --muted: #5e6873;

  --accent: #b5641e;      /* copper = action (CTA, links) */
  --accent-strong: #9a521a;
  --accent-soft: rgba(181, 100, 30, 0.10);

  --accent-2: #1e3a4c;    /* petrol = structure / trust */
  --accent-2-strong: #162c3a;
  --accent-2-soft: rgba(30, 58, 76, 0.07);

  --on-accent: #ffffff;   /* text on copper */
  --on-petrol: #f4eee4;   /* text on petrol blocks */

  --star: #d9962b;

  --shadow-sm: 0 1px 2px rgba(28, 34, 40, 0.06), 0 2px 8px rgba(28, 34, 40, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(28, 34, 40, 0.22), 0 2px 6px rgba(28, 34, 40, 0.06);
  --shadow-lg: 0 30px 60px -24px rgba(28, 34, 40, 0.35);

  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 76px;
}


/* -------------------------------------------------------------------- Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* -------------------------------------------------------------- Typography */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.08;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.005em; }
h4 { font-size: 1rem; }
p { color: var(--muted); margin: 0; }
.lead { color: var(--text); opacity: 0.9; font-size: 1.08rem; }
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow i { font-size: 0.85rem; color: var(--accent); }

/* ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-petrol { background: var(--accent-2); color: var(--on-petrol); }
.btn-petrol:hover { background: var(--accent-2-strong); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* ------------------------------------------------------------------ Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.08rem; font-family: 'Inter', sans-serif; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand-mark .mark-dark { display: none; }
.brand-mark .mark-light { display: block; }
.brand strong { color: var(--text); }
.brand .brand-sub { color: var(--accent-2); font-weight: 600; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.16s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  transition: border-color 0.16s ease, color 0.16s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.phone-link {
  color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.phone-link:hover { color: var(--accent-strong); }
.mobile-menu-btn { display: none; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 12px 24px 22px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 0; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 700; }

@media (max-width: 940px) {
  .nav-links, .phone-link { display: none; }
  .nav-actions .btn-primary { display: none; }
  .mobile-menu-btn { display: grid; }
}

/* -------------------------------------------------------------------- Hero */
.hero { padding: calc(var(--header-h) + 56px) 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 360px at 88% -5%, var(--accent-2-soft), transparent 60%),
    radial-gradient(560px 480px at -5% 105%, var(--accent-soft), transparent 60%);
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1fr 1.18fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; max-width: 100%; white-space: normal; line-height: 1.3;
  background: var(--accent-2-soft); color: var(--accent-2);
  font-size: 0.84rem; font-weight: 600; border: 1px solid color-mix(in srgb, var(--accent-2) 25%, transparent);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-sub { font-size: 1.1rem; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 38px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta .num {
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; display: inline-flex; align-items: baseline; gap: 8px;
}
.hero-meta .num i { color: var(--accent); font-size: 1rem; }
.hero-meta .lbl { font-size: 0.82rem; color: var(--muted); }

.hero-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 5 / 4; background: var(--surface);
  box-shadow: var(--shadow-md);
}
.hero-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 28, 34, 0.55) 100%);
}
.hero-status {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(20, 24, 28, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 0.78rem; font-weight: 500;
}
.hero-status .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

@media (max-width: 940px) {
  .hero { padding: calc(var(--header-h) + 32px) 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { order: -1; }
}
@media (max-width: 600px) {
  .hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  body { overflow-x: hidden; }
}

/* ----------------------------------------------------- Proof strip (facts) */
.proof {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 16px; text-align: center; border-left: 1px solid var(--line);
}
.proof-item:first-child { border-left: none; }
.proof-item .pv {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.5rem; color: var(--text);
  font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; gap: 6px;
}
.proof-item .pv i { color: var(--accent); font-size: 1rem; }
.proof-item .pl { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 700px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: none; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------- Neighbour ("buurman") strip */
.neighbor { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.neighbor-inner { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center; padding: 30px 0; }
.neighbor-photo {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--surface); box-shadow: var(--shadow-sm);
}
.neighbor-photo.placeholder {
  display: grid; place-items: center; background: var(--accent-2); color: var(--on-petrol);
  font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 600;
}
.neighbor-quote { font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--text); line-height: 1.4; }
.neighbor-sign { margin-top: 8px; font-family: 'Fraunces', serif; font-style: italic; color: var(--accent); font-size: 1.05rem; }
@media (max-width: 540px) {
  .neighbor-inner { grid-template-columns: 1fr; text-align: left; gap: 16px; }
}

/* ---------------------------------------------------------------- Sections */
section { padding: 92px 0; }
@media (max-width: 700px) { section { padding: 60px 0; } }
.sec-head { max-width: 720px; margin-bottom: 50px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 14px 0 14px; }
.sec-head p { font-size: 1.02rem; }

/* ---------------------------------------------------------------- Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 13px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-2-soft); color: var(--accent-2);
  display: grid; place-items: center; font-size: 1.2rem;
}
.service h3 { color: var(--text); }
.service p { font-size: 0.95rem; }
.service ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 7px; }
.service ul li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.service ul li i { color: var(--accent); font-size: 0.72rem; }

/* Emergency card: petrol fill + copper CTA (reuses the local-token-override idea) */
.service.spoed {
  background: var(--accent-2); border-color: var(--accent-2-strong);
  box-shadow: var(--shadow-md);
}
.service.spoed h3, .service.spoed p, .service.spoed ul li { color: var(--on-petrol); }
.service.spoed p, .service.spoed ul li { opacity: 0.9; }
.service.spoed .service-icon { background: var(--accent); color: var(--on-accent); }
.service.spoed ul li i { color: var(--accent); }
.service.spoed .btn-primary { background: var(--accent); color: var(--on-accent); }
.service.spoed .btn-primary:hover { background: var(--accent-strong); }

/* ------------------------------------------------------------ Work gallery */
.work { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.work-grid figure {
  margin: 0; position: relative; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.work-grid figure:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.work-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.7s ease; }
.work-grid figure:hover img { transform: scale(1.05); }
.work-grid figure figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(20, 24, 28, 0.82); color: #fff; font-size: 0.82rem; font-weight: 500;
  padding: 6px 12px; border-radius: 7px; backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.w-1 { grid-column: span 6; grid-row: span 2; }
.w-2, .w-3 { grid-column: span 3; grid-row: span 1; }
.w-4, .w-5, .w-6 { grid-column: span 4; grid-row: span 1; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .w-1 { grid-column: span 4; grid-row: span 2; }
  .w-2, .w-3 { grid-column: span 2; }
  .w-4, .w-5, .w-6 { grid-column: span 4; }
}
@media (max-width: 540px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .w-1, .w-4, .w-5, .w-6 { grid-column: span 2; }
}

/* ----------------------------------------------------------- About / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5 / 4; background: var(--surface); box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.1s linear; will-change: transform; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.why-item { display: flex; gap: 16px; }
.why-item .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; }
.why-item h4 { font-size: 1.05rem; color: var(--text); margin: 0 0 4px; }
.why-item p { font-size: 0.92rem; }



/* --------------------------------------------------------------------- CTA */
.cta-band {
  background: var(--accent-2); border-radius: var(--radius-lg); padding: 56px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px 300px at 50% -10%, rgba(255, 255, 255, 0.10), transparent 70%); }
.cta-band > * { position: relative; }
/* "Vrijblijvend" eyebrow sits on the petrol band: force high-contrast white so
   the small uppercase label stays legible against the dark fill. */
.cta-band .eyebrow { color: #ffffff; }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band .eyebrow i { color: var(--accent-strong); }
.cta-band h2 { color: var(--on-petrol); margin-bottom: 12px; }
.cta-band p { color: color-mix(in srgb, var(--on-petrol) 80%, transparent); max-width: 540px; margin: 0 auto 26px; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band .btn-ghost { color: var(--on-petrol); border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 700px) { .cta-band { padding: 36px 24px; } }

/* ----------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card, .info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { color: var(--text); font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 9px;
  padding: 12px 14px; font-family: inherit; font-size: 0.95rem; transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field-error { color: #d64545; font-size: 0.78rem; min-height: 0; }
/* Honeypot: visually hidden but present for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { border-radius: 9px; padding: 12px 14px; font-size: 0.9rem; font-weight: 500; margin-bottom: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(52, 199, 89, 0.12); color: #1f7a3d; border: 1px solid rgba(52, 199, 89, 0.3); }
.form-status.err { background: rgba(214, 69, 69, 0.10); color: #b53232; border: 1px solid rgba(214, 69, 69, 0.3); }

.info-block { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: none; }
.info-block .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; }
.info-block h4 { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--muted); font-weight: 600; margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.info-block .v { color: var(--text); font-weight: 500; font-size: 1rem; }
.info-block .v a:hover { color: var(--accent); }

/* --------------------------------------------------------- Trust band */
.trust-band { background: var(--accent-2); color: var(--on-petrol); }
.trust-band-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; padding: 22px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 500; }
.trust-item i { color: var(--accent-strong); }

/* ------------------------------------------------------------------ Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 24px; color: var(--muted); font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot-grid h5 { color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem; margin: 0 0 14px; font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }

/* --------------------------------------------------------------- Reveal fx */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pulse-dot, .hero-status .pulse { animation: none; }
}

/* ----------------------------------------------------- Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 940px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { justify-content: center; padding: 13px 16px; }
  body { padding-bottom: 76px; }
}

/* ----------------------------------------------------------------- Chatbot */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9990;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; cursor: pointer; border: none; font-size: 1.2rem;
  box-shadow: var(--shadow-md); transition: transform 0.2s ease, background 0.2s ease;
}
.chat-fab:hover { transform: scale(1.06); background: var(--accent-strong); }
@media (max-width: 940px) { .chat-fab { bottom: 84px; } }
.chat-window {
  position: fixed; bottom: 92px; right: 24px; z-index: 9990;
  width: 360px; max-width: calc(100vw - 48px); height: 520px; max-height: calc(100vh - 120px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: none; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg);
}
.chat-window.open { display: flex; }
@media (max-width: 940px) { .chat-window { bottom: 150px; } }
.chat-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: var(--accent-2); }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; }
.chat-head h4 { margin: 0; font-size: 0.95rem; color: var(--on-petrol); font-family: 'Inter', sans-serif; font-weight: 700; }
.chat-head p { margin: 0; font-size: 0.78rem; color: color-mix(in srgb, var(--on-petrol) 70%, transparent); }
.chat-head .close-btn { margin-left: auto; background: none; border: none; color: color-mix(in srgb, var(--on-petrol) 75%, transparent); cursor: pointer; font-size: 1rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; white-space: pre-line; }
.msg.bot { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--accent); color: var(--on-accent); border-top-right-radius: 4px; align-self: flex-end; }
.msg.typing { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; }
/* Dark mode: a dark bot-bubble on the near-black chat body reads as black, so we
   invert it to a warm-beige bubble with dark ink (the copper user-bubble stays). */
.msg.typing .dots { display: flex; gap: 4px; }
.msg.typing .dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.msg.typing .dots span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing .dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.quick-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; background: var(--bg); }
.quick-row button { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 0.78rem; cursor: pointer; }
.quick-row button:hover { border-color: var(--accent); color: var(--accent); }
.chat-input { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 8px; background: var(--surface); }
.chat-input input { flex: 1; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-family: inherit; font-size: 0.9rem; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { background: var(--accent); color: var(--on-accent); border: none; border-radius: 9px; padding: 0 16px; cursor: pointer; font-size: 0.95rem; }
.chat-input button:hover { background: var(--accent-strong); }

/* ===================================================================
   v1 feature-port — components share CC's token system (no DeepSeek colours)
   =================================================================== */

/* --------------------------------------------------- Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
.scroll-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.1s linear; }

/* ----------------------------------------------------- Hamburger -> X */
.hamburger { position: relative; width: 20px; height: 14px; }
.hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }
.hamburger.open span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --------------------------------------------------------- Lightbox */
.work-grid figure { cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; z-index: 10000; display: none;
  align-items: center; justify-content: center; padding: 6vh 5vw;
  background: rgba(12, 14, 16, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 3.5vh; text-align: center; color: #fff; font-size: 0.9rem; opacity: 0.85; }
.lightbox-close, .lightbox-nav {
  position: absolute; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.lightbox-close { top: 4vh; right: 4vw; width: 46px; height: 46px; font-size: 1.1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.3rem; }
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.1rem; }
  .lightbox-prev { left: 2vw; } .lightbox-next { right: 2vw; }
}

/* ------------------------------------------------------- Back-to-top */
.back-to-top {
  position: fixed; bottom: 28px; left: 50%; z-index: 9980;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  display: grid; place-items: center; cursor: pointer; font-size: 1.15rem;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (max-width: 940px) { .back-to-top { bottom: 92px; } }

/* ------------------------------------------------------- Stats counters */
.stats { background: var(--accent-2); color: var(--on-petrol); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 56px 0; }
.stat { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.stat .sv {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1; color: var(--on-petrol); font-variant-numeric: tabular-nums;
}
.stat .sv .suffix { color: var(--accent-strong); }
.stat .sl { font-size: 0.92rem; color: color-mix(in srgb, var(--on-petrol) 82%, transparent); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }

/* -------------------------------------------------------------- FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq-item.open { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: 'Inter', sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--text);
}
.faq-q i { flex-shrink: 0; color: var(--accent); font-size: 0.9rem; transition: transform 0.3s ease; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 22px 20px; font-size: 0.96rem; line-height: 1.6; }

/* ---------------------------------------------------- Image blur-up */
.work-grid figure img[loading="lazy"] { filter: blur(14px); }
.work-grid figure img[loading="lazy"].loaded { filter: blur(0); }

/* ------------------------------------------------------- 404 page */
.page-404 {
  position: relative; overflow: hidden;
  min-height: 72vh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
}
.page-404 .container { position: relative; z-index: 1; max-width: 660px; }
.page-404 .code {
  font-family: 'Fraunces', serif; font-weight: 600; line-height: 1;
  font-size: clamp(5rem, 18vw, 12rem); color: var(--accent); letter-spacing: -0.02em;
}
.page-404 h1 { margin: 6px 0 16px; }
.page-404 p { font-size: 1.05rem; max-width: 540px; }
.page-404::before {
  content: "🚰"; position: absolute; right: -2vw; bottom: -5vw; line-height: 1;
  font-size: clamp(10rem, 38vw, 30rem); opacity: 0.06; pointer-events: none; z-index: 0;
}

/* ----------------------------------------------------- Footer legal links */
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.foot-legal a { color: inherit; opacity: 0.8; }
.foot-legal a:hover { opacity: 1; color: var(--accent); }

/* --------------------------------------------------- Cookie consent banner */
.cookie-consent {
  position: fixed; left: 50%; bottom: 18px; z-index: 200;
  width: min(720px, calc(100vw - 28px)); transform: translate(-50%, 160%);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cookie-consent.show { transform: translate(-50%, 0); }
.cookie-inner {
  display: flex; gap: 18px; align-items: center; padding: 18px 20px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 280px; }
.cookie-text strong { display: block; color: var(--text); font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: 4px; }
.cookie-text p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ----------------------------------------------------- Legal content pages */
.legal-page { padding: calc(var(--header-h) + 48px) 0 72px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal-page .legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal-page h2 {
  font-size: 1.3rem; margin: 32px 0 10px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.legal-page p, .legal-page li { line-height: 1.7; color: var(--text); }
.legal-page ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal-page a { color: var(--accent); }
.legal-page .legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; }

/* ----------------------------------------------- Werkgebied map (Veluwe) */
.map-embed {
  margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.map-frame { display: block; width: 100%; height: 440px; border: 0; }
.map-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; font-size: 0.9rem; color: var(--accent);
  border-top: 1px solid var(--line); background: var(--surface);
}
.map-link:hover { color: var(--accent-strong); }

/* ------------------------------------- Section separation (alternating) */
/* #diensten and #over already get a divider from the preceding strip's
   border-bottom, so only the borderless boundaries need a border-top here. */
#werkgebied, #faq, .cta, #contact {
  border-top: 1px solid var(--line);
}
#over { background: var(--surface-2); }
#werkgebied { background: var(--surface); }
#faq { background: var(--surface-2); }
#contact { background: var(--surface); }

/* --------------------------------------- Reduced-motion for new effects */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress .bar, .split-img img, .lightbox-nav, .faq-q i,
  .nav-links a::after, .back-to-top, .hamburger span, .cookie-consent { transition: none; }
}
