/*
Theme Name: Dakbedek-King
Theme URI: https://dakbedek-king.nl
Author: Dakbedek-King
Author URI: https://dakbedek-king.nl
Description: WordPress thema voor Dakbedek-King — specialist in dakbedekking voor heel Noord-Nederland.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
Text Domain: dakbedek-king
*/

/* ───────── Design tokens ───────── */
:root {
  --bg:          #FAF8F3;
  --surface:     #FFFFFF;
  --surface-2:   #F2EFE7;
  --ink:         #0F1411;
  --ink-2:       #2A2F2B;
  --muted:       #5F635F;
  --line:        #E4DFD3;
  --line-2:      #D8D2C2;

  --accent:      #D89848;
  --accent-ink:  #1A1407;
  --accent-2:    #9E6E1F;
  --accent-soft: #F6E8C9;

  --warn:        #F5B301;
  --warn-ink:    #1A1407;
  --trust:       #0B2440;
  --ok:          #1F8A5B;

  --font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body:    'Geist', ui-sans-serif, system-ui, sans-serif;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(15,20,17,.04), 0 2px 8px rgba(15,20,17,.04);
  --sh-2: 0 2px 6px rgba(15,20,17,.06), 0 18px 40px -12px rgba(15,20,17,.18);
  --sh-3: 0 30px 80px -20px rgba(15,20,17,.35);

  --container: 1240px;
  --gutter: 24px;
}

/* ───────── Reset / base ───────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.01em; }
p  { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--accent);
}

.container {
  width: min(100% - var(--gutter)*2, var(--container));
  margin-inline: auto;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px rgba(216,152,72,.65);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ───────── Spoed banner ───────── */
.spoed-banner {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.spoed-banner .row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.spoed-banner .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(245,179,1,.9);
  animation: pulse 1.6s infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,179,1,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(245,179,1,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,179,1,0); }
}
.spoed-banner strong { color: var(--warn); font-weight: 600; }
.spoed-banner a { font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.25); }
.spoed-banner .sep { opacity: .35; }
.spoed-banner .close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  opacity: .6;
  padding: 4px 6px;
}
.spoed-banner .close:hover { opacity: 1; }

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img.logo {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.site-header .brand .tag { display: none; }
.site-header .brand img.logo { height: 64px; }
.brand .tag {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 2px solid var(--line-2);
  padding-left: 12px;
  line-height: 1.4;
}
.brand .tag small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-2); font-size: 12px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
  flex: 1;
  justify-content: center;
  padding: 0;
  list-style: none;
}
.nav > li { list-style: none; position: relative; }
.nav button.nav-link,
.nav a.nav-link {
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.nav a.nav-link:hover,
.nav button.nav-link:hover { background: var(--surface-2); }
.nav .caret { width: 10px; height: 10px; opacity: .55; transition: transform .15s ease; }
.nav [aria-expanded="true"] .caret { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  min-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 16px;
  display: none;
}
.nav li.open .mega { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mega a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.mega a:hover { background: var(--surface-2); }
.mega .ico {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: grid; place-items: center;
}
.mega .ico svg { width: 18px; height: 18px; }
.mega .ttl { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.mega .sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.mega-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.mega-foot a { color: var(--accent-2); font-weight: 600; }

.mega.regions { min-width: 520px; }
.mega.regions .col-title {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 4px;
}
.mega.regions ul { list-style: none; padding: 0; margin: 0; }
.mega.regions ul li a { display: block; padding: 6px 12px; font-size: 14px; border-radius: 6px; }
.mega.regions ul li a:hover { background: var(--surface-2); color: var(--accent-2); }

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.menu-toggle { display: none; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  background: url('../hero.png') center 35% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(98deg, rgba(250,248,243,0.93) 0%, rgba(250,248,243,0.85) 35%, rgba(250,248,243,0.68) 65%, rgba(250,248,243,0.50) 100%),
    radial-gradient(900px 500px at 92% 18%, rgba(216,152,72,.22), transparent 60%),
    linear-gradient(180deg, transparent 0%, transparent 75%, var(--bg) 100%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

@media (hover: hover) and (pointer: fine) {
  .hero { --mx: 50%; --my: 50%; }
  .hero:hover::before {
    -webkit-mask-image: radial-gradient(circle 340px at var(--mx) var(--my), rgba(0,0,0,.50) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,1) 90%);
    mask-image: radial-gradient(circle 340px at var(--mx) var(--my), rgba(0,0,0,.50) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,1) 90%);
    transition: -webkit-mask-position .15s ease-out, mask-position .15s ease-out;
  }
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .under { position: relative; display: inline-block; }
.hero h1 .under::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px; height: 8px;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero .lede { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.hero-meta .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: grid; place-items: center;
}
.hero-meta .check svg { width: 12px; height: 12px; }
.hero-meta .ttl { font-weight: 600; }
.hero-meta .sub { color: var(--muted); font-size: 12.5px; }

/* ───────── Form card ───────── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 26px;
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 22px; right: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}
.form-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(216,152,72,.22);
}
.chip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  border: 1px solid var(--line-2);
  background: var(--surface);
  padding: 12px 12px 11px;
  border-radius: var(--r);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .12s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.chip .ico { width: 22px; height: 22px; display: grid; place-items: center; color: var(--ink); }
.chip.active .ico { color: var(--accent-2); }
.chip .ico svg { width: 18px; height: 18px; }
.chip.spoed { grid-column: span 2; border-color: rgba(220,38,38,.35); color: #dc2626; background: rgba(220,38,38,.06); }
.chip.spoed:hover { border-color: #dc2626; background: rgba(220,38,38,.12); color: #dc2626; }
.chip.spoed:hover .ico, .chip.spoed.active .ico { color: #dc2626; }
.chip.spoed.active { border-color: #dc2626; background: rgba(220,38,38,.14); color: #dc2626; }
.form-card .submit-row { display: flex; gap: 10px; margin-top: 6px; }
.form-card .submit-row .btn { flex: 1; }
.form-card .micro {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-card .micro svg { width: 14px; height: 14px; flex: none; }
.form-card .alt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.form-card .alt a { color: var(--accent-2); font-weight: 600; }
.form-inline-error { background: #fee2e2; border: 1px solid #fca5a5; color: #b91c1c; border-radius: 8px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.form-card .success { display: none; text-align: center; padding: 12px 4px 8px; }
.form-card.is-submitted .success { display: block; }
.form-card.is-submitted .form-body { display: none; }
.form-card .success .check-lg {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid; place-items: center;
}
.form-card .success h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .success p { font-size: 14px; color: var(--muted); }
.pc-row { display: flex; gap: 8px; }
.pc-row input:first-child { flex: 1; }
.file-upload {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--surface-2);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s;
  color: var(--muted);
}
.file-upload:hover { border-color: var(--accent); background: var(--accent-soft); }
.file-upload svg { color: var(--accent-2); }
.file-upload-text { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.file-upload-hint { font-size: 12px; }

/* ───────── Trust bar ───────── */
.trustbar { background: var(--ink); color: #fff; padding: 28px 0; }
.trustbar .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trustbar .item { display: flex; align-items: center; gap: 14px; }
.trustbar .item + .item { border-left: 1px solid rgba(255,255,255,.12); padding-left: 20px; }
.trustbar .num { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.trustbar .num.accent { color: var(--accent); }
.trustbar .stars { color: var(--warn); letter-spacing: 1px; font-size: 14px; }
.trustbar .lbl { font-size: 13px; opacity: .75; }

/* ───────── Section base ───────── */
section.block { padding: 96px 0; }
section.block.alt { background: var(--surface-2); }

#proces {
  position: relative;
  background: url('../process_bg.jpg') center 40% / cover no-repeat;
}
#proces::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242,239,231,0.94) 0%, rgba(242,239,231,0.90) 50%, rgba(242,239,231,0.94) 100%);
  pointer-events: none;
}
#proces > .container { position: relative; z-index: 1; }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head h2 { max-width: 18ch; }
.section-head p { color: var(--muted); font-size: 17px; max-width: 56ch; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { max-width: 60ch; }

/* ───────── Services ───────── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.service .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--accent); margin-bottom: 16px; }
.service .ico svg { width: 22px; height: 22px; }
.service h3 { margin-bottom: 8px; }
.service p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.service .link { font-size: 14px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }
.service .link:hover { gap: 10px; }
.service.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.service.featured h3, .service.featured p { color: #fff; }
.service.featured p { color: rgba(255,255,255,.7); }
.service.featured .ico { background: var(--accent); color: #fff; }
.service.featured .link { color: var(--accent); }
.service.featured .tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; border-radius: var(--r-sm);
}
.service.featured .tag.tag-urgent {
  background: #D32F2F;
  animation: pulse-red 1.6s infinite;
  text-decoration: none;
  cursor: pointer;
}
.service.featured .tag.tag-urgent:hover { background: #B71C1C; }
@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(211,47,47,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(211,47,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(211,47,47,0); }
}

/* ───────── Process ───────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.process::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.step-card { background: var(--surface); border: 1px solid var(--line); padding: 22px; border-radius: var(--r-lg); position: relative; }
.step-card .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* ───────── Projects ───────── */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.project .ph { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.project .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.project:hover .ph img { transform: scale(1.04); }
.project .ph .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 8px; border-radius: 6px; }
.project .body { padding: 18px 20px 22px; display: flex; flex-direction: column; }
.project h3 { font-size: 19px; margin-bottom: 6px; }
.project .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .1em; }
.project p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.project-img-link { display: block; text-decoration: none; }
.project-link { font-size: 14px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-top: auto; }
.project-link:hover { gap: 10px; }
.project-link .arr { transition: transform .15s ease; }
.project-link:hover .arr { transform: translateX(3px); }
.projects-archive { grid-template-columns: repeat(3, 1fr); }
.project-meta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.project-badge-type { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ───────── Reviews ───────── */
.reviews { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; align-items: start; }
.reviews .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 100px; }
.reviews .g-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.reviews .score { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 14px 0 4px; }
.reviews .stars-lg { color: var(--warn); font-size: 22px; letter-spacing: 2px; }
.reviews .count { color: var(--muted); font-size: 14px; margin-top: 6px; }
.reviews .summary .btn { margin-top: 20px; width: 100%; }
.review-list { display: grid; gap: 14px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.review .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.review .name { font-weight: 600; font-size: 14px; }
.review .name a { color: inherit; text-decoration: none; }
.review .name a:hover { text-decoration: underline; }
.review img.av { object-fit: cover; }
.review-empty { display: flex; flex-direction: column; gap: 12px; }
.review-empty p { margin: 0; color: var(--ink-2); }
.review .when { font-size: 12px; color: var(--muted); }
.review .stars { color: var(--warn); font-size: 13px; letter-spacing: 1px; }
.review blockquote { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.review blockquote::before { content: '"'; color: var(--accent); font-weight: 800; }
.review blockquote::after  { content: '"'; color: var(--accent); font-weight: 800; }

/* ── Reviews page variants ── */
.reviews--page { grid-template-columns: 280px 1fr; }
.review-list--page { grid-template-columns: 1fr 1fr; gap: 16px; }
.reviews-gmaps-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-2);
  text-decoration: none;
}
.reviews-gmaps-link:hover { text-decoration: underline; }
.reviews-trust { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.reviews-trust .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.reviews-trust .trust-item svg { width: 12px; height: 12px; flex: none; color: var(--accent); }

/* ───────── Werkgebied ───────── */
.werkgebied { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.postcode-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); }
.postcode-card h3 { font-size: 22px; margin-bottom: 8px; }
.postcode-card p  { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.postcode-form { display: flex; gap: 8px; }
.postcode-form input { flex: 1; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 16px; }
.postcode-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216,152,72,.22); }
.postcode-msg { margin-top: 14px; display: none; padding: 12px 14px; border-radius: var(--r); font-size: 14px; align-items: flex-start; gap: 10px; }
.postcode-msg.ok { background: rgba(31,138,91,.08); color: #145e3f; display: flex; }
.postcode-msg.no { background: rgba(245,179,1,.12); color: #6b4d00; display: flex; }
.regions-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.regions-list li { font-size: 12.5px; color: var(--muted); background: var(--surface-2); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.map-illustration { aspect-ratio: 1 / 1; border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.leaflet-tooltip.map-label { background: var(--ink); color: #fff; border: 0; border-radius: 6px; font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 4px 9px; box-shadow: var(--sh-1); white-space: nowrap; }
.leaflet-tooltip.map-label::before { display: none; }

/* ───────── Offertecheck ───────── */
.offertecheck {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.offertecheck::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(closest-side, rgba(216,152,72,.55), transparent 70%);
  filter: blur(20px);
}
.offertecheck .eyebrow { color: var(--accent); position: relative; }
.offertecheck .eyebrow::before { background: var(--accent); }
.offertecheck h2 { color: #fff; max-width: 22ch; }
.offertecheck p  { color: rgba(255,255,255,.7); margin-top: 14px; max-width: 50ch; }
.offertecheck .upload { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.3); border-radius: var(--r-lg); padding: 28px; text-align: center; position: relative; z-index: 1; }
.offertecheck .upload .icon-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; }
.offertecheck .upload .ttl { font-weight: 600; }
.offertecheck .upload .sub { font-size: 13px; color: rgba(255,255,255,.6); margin: 4px 0 16px; }

/* ───────── Over ons ───────── */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about p { color: var(--ink-2); font-size: 17px; }
.about p + p { margin-top: 14px; }
.about .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.about .stat-item { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.about .stat-item .n { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--accent); line-height: 1; }
.about .stat-item .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; position: relative; background: linear-gradient(180deg, rgba(0,0,0,.0) 60%, rgba(0,0,0,.4) 100%), linear-gradient(135deg, #2c3530, #4f5b53 50%, #889385); box-shadow: var(--sh-2); }
.about-photo .pattern-tiles { position: absolute; inset: 0; opacity: .25; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0 1px, transparent 1px 12px); }

/* ───────── Spoed CTA ───────── */
.spoed-cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, #1a1410 0%, #0F1411 60%, #2a1f10 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.spoed-cta::before { content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(216,152,72,.35), transparent 70%); filter: blur(20px); }
.spoed-cta > * { position: relative; z-index: 1; }
.spoed-cta h2 { color: #fff; }
.spoed-cta p { color: rgba(255,255,255,.85); margin-top: 16px; }
.spoed-cta .phone-big { background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.35); padding: 26px; border-radius: var(--r-lg); text-align: center; animation: spoed-ring 1.8s ease-out infinite; }
.spoed-cta .phone-big .n { font-family: var(--font-display); font-weight: 800; font-size: 42px; letter-spacing: -.02em; line-height: 1; }
.spoed-cta .phone-big .l { font-size: 13px; opacity: .8; margin-bottom: 8px; }
.spoed-cta .phone-big .btn { width: 100%; margin-top: 16px; background: #fff; color: var(--accent-2); }
.spoed-cta .phone-big .btn:hover { background: #f5f5f5; }
.spoed-cta .row-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.spoed-cta .row-actions .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.spoed-cta .row-actions .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }

/* ───────── FAQ ───────── */
.faq-list { display: grid; gap: 10px; max-width: 860px; margin: 44px auto 0; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.faq-item:hover { border-color: var(--line-2); box-shadow: var(--sh-1); transform: translateY(-1px); }
.faq-item.is-open { border-color: rgba(216,152,72,.55); box-shadow: 0 0 0 3px rgba(216,152,72,.10), var(--sh-1); transform: none; }
.faq-q { width: 100%; background: transparent; border: 0; padding: 20px 22px; display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer; transition: background .15s; }
.faq-q:hover { background: var(--surface-2); }
.faq-item.is-open .faq-q { background: transparent; }
.faq-num { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; transition: background .2s, color .2s; }
.faq-item.is-open .faq-num { background: var(--accent); color: var(--accent-ink); }
.faq-q-text { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.faq-chevron { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: transform .25s ease, background .2s, border-color .2s, color .2s; }
.faq-chevron svg { width: 12px; height: 12px; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-a { padding: 0 22px 22px; padding-left: calc(22px + 32px + 16px); color: var(--ink-2); font-size: 16px; line-height: 1.65; display: flex; flex-direction: column; gap: 10px; }
.faq-a p:last-child { color: var(--muted); font-size: 15px; }
.faq-more-row { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 0 4px; max-width: 860px; margin-inline: auto; }
.faq-more-hint { font-size: 13px; color: var(--muted); }
.faq-more-btn svg { transition: transform .2s ease; }
.faq-more-btn:hover svg { transform: translateY(2px); }
.faq-list-extra { display: none; margin-top: 10px; }
.faq-list-extra.is-visible { display: grid; }
@keyframes faq-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.faq-list-extra.is-visible .faq-item { animation: faq-item-in .3s ease both; animation-delay: calc(var(--faq-i, 0) * 0.06s); }

/* ───────── Footer ───────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: 14.5px; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; align-items: flex-start; }
.site-footer .brand img.logo { height: 72px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.site-footer .brand .tag { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.15); }
.site-footer .brand .tag small { color: rgba(255,255,255,.75); }
.site-footer .col h4 { color: #fff; font-size: 13px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer .col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .col a { transition: color .12s; }
.site-footer .col a:hover { color: var(--accent); }
.site-footer .intro p { margin-top: 14px; max-width: 32ch; }
.site-footer .intro .contact { margin-top: 16px; display: grid; gap: 6px; font-size: 14px; }
.site-footer .intro .contact a { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.site-footer .bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.site-footer .bottom a:hover { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ───────── Sticky dock ───────── */
.dock { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 50; }
.dock a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-2); position: relative; transition: transform .15s; }
.dock a:hover { transform: scale(1.05); }
.dock a.wa  { background: #25D366; }
.dock a.tel { background: var(--accent); }
.dock a svg { width: 24px; height: 24px; }
.dock a .tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.dock a:hover .tip { opacity: 1; }

/* ───────── Mobile menu ───────── */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); background: var(--surface); z-index: 60; transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1); overflow-y: auto; display: flex; flex-direction: column; box-shadow: var(--sh-3); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-backdrop { position: fixed; inset: 0; background: rgba(15,20,17,.45); z-index: 59; opacity: 0; pointer-events: none; transition: opacity 0.32s ease; }
.mobile-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.mobile-menu-close { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 0; display: grid; place-items: center; color: var(--ink); flex-shrink: 0; transition: background .12s; }
.mobile-menu-close:hover { background: var(--line-2); }
.mobile-menu-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.mob-nav { list-style: none; padding: 0; margin: 0; }
.mob-nav-item { border-bottom: 1px solid var(--line); }
.mob-nav-item:last-child { border-bottom: 0; }
.mob-nav-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); background: none; border: none; cursor: pointer; text-align: left; text-decoration: none; transition: color .15s; }
.mob-nav-btn:hover { color: var(--accent-2); }
.mob-nav-btn.spoed-link { color: var(--accent-2); }
.mob-caret { width: 14px; height: 14px; flex-shrink: 0; margin-left: 8px; transition: transform 0.28s ease; }
.mob-nav-item.is-open .mob-caret { transform: rotate(180deg); }
.mob-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.mob-nav-item.is-open .mob-sub { grid-template-rows: 1fr; }
.mob-sub > ul { overflow: hidden; list-style: none; padding: 0; margin: 0; background: var(--surface-2); }
.mob-sub > ul li a { display: block; padding: 12px 28px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); transition: color .12s, padding-left .12s; text-decoration: none; }
.mob-sub > ul li a:hover { color: var(--accent-2); padding-left: 36px; }
.mobile-menu-ctas { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; background: var(--surface); position: sticky; bottom: 0; }

/* ───────── Blog / Archive / Single ───────── */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 64px;
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { color: #fff; margin-top: 14px; }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 16px; font-size: 18px; max-width: 54ch; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }
.breadcrumb span:last-child { color: rgba(255,255,255,.9); }
.diensten-archive-grid { grid-template-columns: repeat(3, 1fr); }
.diensten-cta-strip { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.diensten-cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.werkgebied-archive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.province-title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.city-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.city-list a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .15s, color .15s; }
.city-list a:hover { background: var(--surface-2); color: var(--accent-2); }
.city-list .pin { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }
.city-list .arr { width: 13px; height: 13px; margin-left: auto; opacity: 0; transition: opacity .15s, transform .15s; }
.city-list a:hover .arr { opacity: 1; transform: translateX(2px); }
.werkgebied-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ─── FAQ page ──────────────────────────────────────────────────────────── */
.faq-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.faq-page-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
/* ─────────────────────────────────────────────────────────────────────── */

/* ─── Contact page ─────────────────────────────────────────────────────── */
.page-hero-contact { padding: 72px 0 56px; }
.contact-page-wrap { padding: 64px 0 96px; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info-block h2 { font-size: 28px; }
.contact-methods { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 4px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.contact-method:not(.contact-method--static):hover { background: var(--surface-2); border-color: var(--line); }
.contact-method--static { cursor: default; }
.contact-method-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--accent-2); }
.contact-method-icon svg { width: 20px; height: 20px; }
.contact-method-icon--wa { background: #25d366; border-color: #25d366; color: #fff; }
.contact-method-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.contact-method-value { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-method-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.contact-trust { margin-top: 32px; padding: 24px; background: var(--surface-2); border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-2); background: var(--accent-soft); border-radius: 50%; padding: 3px; }
.form-card-lg { padding: 36px 40px; }
.form-card-lg h2 { font-size: 28px; }
.form-card-lg .sub { font-size: 15px; margin-bottom: 26px; }
.form-card-lg .field label { font-size: 14px; }
.form-card-lg .field input,
.form-card-lg .field textarea { font-size: 15px; padding: 13px 14px; }
.form-card-lg .field textarea { min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chip-row-lg { grid-template-columns: 1fr 1fr 1fr; }
.chip-row-lg .chip.spoed { grid-column: span 3; }
/* ─────────────────────────────────────────────────────────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.post-card .ph { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--surface-2); }
.post-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .ph img { transform: scale(1.04); }
.post-card .ph .post-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 8px; border-radius: 6px;
}
.post-card .ph .post-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--line));
  display: grid; place-items: center;
  color: var(--muted);
  font-size: 40px;
}
.post-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .1em; }
.post-card h2 { font-size: 20px; margin-bottom: 8px; line-height: 1.2; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--accent-2); }
.post-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; line-height: 1.55; }
.post-card .link { font-size: 14px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.post-card .link:hover { gap: 10px; }

.wp-pagenavi,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.wp-pagenavi a,
.wp-pagenavi span,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: all .12s;
}
.wp-pagenavi a:hover,
.pagination .page-numbers:hover,
.wp-pagenavi span.current,
.pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

.no-posts-found { text-align: center; padding: 80px 0; }
.no-posts-found h2 { margin-bottom: 14px; }
.no-posts-found p { color: var(--muted); margin-bottom: 28px; }

/* Single post */
.single-hero { position: relative; height: 480px; overflow: hidden; }
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,17,.1) 0%, rgba(15,20,17,.75) 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 48px; color: #fff;
}
.single-hero .overlay .post-cat {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 6px; margin-bottom: 14px;
}
.single-hero .overlay h1 { color: #fff; max-width: 22ch; }
.single-hero .overlay .post-meta-info { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 10px; }

.single-no-thumb { padding: 56px 0 0; }
.single-no-thumb .post-cat {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent-2);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 6px; margin-bottom: 14px;
}
.single-no-thumb h1 { margin-bottom: 14px; }
.single-no-thumb .post-meta-info { font-size: 14px; color: var(--muted); }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  padding: 56px 0 96px;
}
.single-content {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.single-content h2 { font-size: 28px; margin: 36px 0 14px; }
.single-content h3 { font-size: 22px; margin: 28px 0 10px; }
.single-content p { margin-bottom: 18px; }
.single-content ul, .single-content ol { padding-left: 22px; margin-bottom: 18px; }
.single-content li { margin-bottom: 8px; }
.single-content img { border-radius: var(--r); margin: 28px 0; height: auto; }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
}
.single-content a { color: var(--accent-2); text-decoration: underline; }
.single-content a:hover { color: var(--ink); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-nav a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-2); }
.post-nav a:hover { color: var(--ink); }
.post-nav .back { font-size: 14px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }

.single-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sidebar-cta::before { display: none; }
.sidebar-cta h3 { font-size: 20px; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; }
.sidebar-contact {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.sidebar-contact h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.sidebar-contact p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.sidebar-contact .phone { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--accent); display: inline-block; margin-bottom: 12px; padding: 8px 18px; border-radius: var(--r-sm); background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.4); text-decoration: none; animation: spoed-ring 1.8s ease-out infinite; }
.sidebar-contact .btn { width: 100%; background: var(--accent); color: var(--accent-ink); }

/* Generic page */
.page-content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  padding: 64px 0 96px;
}
.page-content { min-width: 0; overflow-wrap: break-word; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.page-content h2 { font-size: 28px; margin: 36px 0 14px; }
.page-content h3 { font-size: 22px; margin: 28px 0 10px; }
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 18px; }
.page-content li { margin-bottom: 8px; }
.page-content img { border-radius: var(--r); margin: 28px 0; height: auto; }

/* WordPress captions/embeds krijgen een inline breedte mee; begrens die tot de kolom */
.single-content .wp-caption, .page-content .wp-caption,
.single-content figure, .page-content figure,
.single-content iframe, .page-content iframe,
.single-content video, .page-content video,
.single-content table, .page-content table { max-width: 100% !important; }
.single-content .wp-caption img, .page-content .wp-caption img { margin: 0 0 8px; }
.wp-caption-text { font-size: 14px; color: var(--muted); }
.single-sidebar { min-width: 0; }
.page-content a { color: var(--accent-2); text-decoration: underline; }

/* 404 */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .error-num { font-family: var(--font-display); font-size: clamp(100px, 16vw, 180px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.04em; }
.error-404 h1 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
.error-404 p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 auto 32px; }
.error-404 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ───────── Animations ───────── */
@keyframes spoed-ring {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,.65); }
  70%  { box-shadow: 0 0 0 9px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
.spoed-phone { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: var(--r-sm); background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.35); animation: spoed-ring 1.8s ease-out infinite; }

@keyframes anim-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes anim-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .spoed-banner { animation: anim-fade-in 0.5s ease-out both; }
  .site-header  { animation: anim-fade-in 0.5s ease-out both; animation-delay: 0.05s; }
  .hero .eyebrow  { animation: anim-fade-up 0.7s ease-out both; animation-delay: 0.10s; }
  .hero h1        { animation: anim-fade-up 0.7s ease-out both; animation-delay: 0.22s; }
  .hero .lede     { animation: anim-fade-up 0.7s ease-out both; animation-delay: 0.34s; }
  .hero .cta-row  { animation: anim-fade-up 0.7s ease-out both; animation-delay: 0.46s; }
  .hero .hero-meta{ animation: anim-fade-up 0.6s ease-out both; animation-delay: 0.56s; }
  .hero .form-card{ animation: anim-fade-up 0.8s ease-out both; animation-delay: 0.28s; }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease-out, transform 0.65s ease-out; transition-delay: var(--reveal-delay, 0s); }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 960px) {
  .header-cta .header-phone, .header-cta .btn-ghost:not(.menu-toggle) { display: none; }
  .hero { padding: 32px 0 56px; }
  .hero::before { background: linear-gradient(180deg, rgba(250,248,243,0.90) 0%, rgba(250,248,243,0.84) 45%, rgba(250,248,243,0.75) 80%, rgba(250,248,243,0.65) 100%); }
  .hero .grid { grid-template-columns: 1fr; gap: 28px; }
  .trustbar .grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .trustbar .item + .item { border-left: 0; padding-left: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .diensten-archive-grid { grid-template-columns: 1fr 1fr; }
  .diensten-cta-strip { grid-template-columns: 1fr; }
  .diensten-cta-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .werkgebied-archive { grid-template-columns: 1fr 1fr; }
  .werkgebied-cta { grid-template-columns: 1fr; }
  .faq-page-layout { grid-template-columns: 1fr; }
  .faq-page-sidebar { position: static; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card-lg { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .chip-row-lg { grid-template-columns: 1fr 1fr; }
  .chip-row-lg .chip:nth-child(3) { grid-column: span 2; }
  .chip-row-lg .chip.spoed { grid-column: span 2; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .projects { grid-template-columns: 1fr; }
  .projects-archive { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .reviews--page { grid-template-columns: 1fr; }
  .review-list--page { grid-template-columns: 1fr; }
  .reviews .summary { position: static; }
  .werkgebied { grid-template-columns: 1fr; }
  .offertecheck { grid-template-columns: 1fr; padding: 36px 28px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .spoed-cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  section.block { padding: 64px 0; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .single-hero { height: 320px; }
  .page-content-layout { grid-template-columns: 1fr; }
  .site-header .row { gap: 16px; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .diensten-archive-grid { grid-template-columns: 1fr; }
  .werkgebied-archive { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-layout { gap: 40px; padding: 32px 0 64px; }
  .single-hero .overlay { padding-bottom: 28px; }
  .single-hero .overlay h1 { font-size: 28px; }
  .post-nav { flex-direction: column; }
}
@media (max-width: 420px) {
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: 12px 14px; font-size: 14px; }
  .header-cta .btn-primary .arr { display: none; }
}
@media (max-width: 360px) {
  .site-header .row { gap: 10px; }
  .header-cta .btn-primary { padding: 10px 10px; font-size: 13px; }
}
