/* ============================================================
   TDSystem — Refresh v2 (editorial/architectural, allbouw-inspired)
   ============================================================ */

:root {
  /* Color — deep blue replaces the dark forest-green vibe */
  --ink: #0a1b33;             /* Deep navy ink */
  --ink-2: #1b2942;
  --ink-3: #2a3a55;
  --muted: #5a6478;
  --muted-2: #8892a6;
  --line: #e6e7ec;
  --line-2: #eef0f4;
  --paper: #ffffff;
  --paper-2: #f7f7f4;
  --paper-3: #efeee9;
  --paper-blue: #e8efee;      /* soft icy-blue panel (allbouw mint-green analogue) */
  --paper-blue-2: #dfe7e6;
  --primary: #0a2545;         /* DEEP brand blue — replaces forest green */
  --primary-ink: #061a33;
  --primary-soft: #e8eef7;
  --accent-bright: #2563eb;   /* secondary bright accent if needed */
  --accent: #c8a24a;          /* gold for stars */

  /* Typography */
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1340px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Display font heavy/condensed axes for Fraunces */
  --display-axes: "opsz" 144, "wght" 700, "SOFT" 30, "WONK" 0;
  --display-axes-italic: "opsz" 144, "wght" 700, "SOFT" 30, "WONK" 1;
}

/* Themes */
[data-theme="architect"] {
  --display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --display-axes: "wght" 700;
}
[data-theme="bright"] { /* default — values already set */ }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}
h2, h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-variation-settings: normal;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
p { text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }

/* Display utility — large editorial titles in uppercase, chunky condensed serif */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.95;
}

/* Pill / chip badge — used everywhere allbouw uses tag boxes */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1;
}
.chip.solid {
  background: var(--primary);
  color: #fff;
}
.chip.soft {
  background: var(--paper-blue);
  border-color: transparent;
  color: var(--primary-ink);
}
.chip.ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* ============================================================
   TOP INFO BAR + HEADER
   ============================================================ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 24px;
}
.top-bar .left { display: inline-flex; align-items: center; gap: 14px; }
.top-bar .pulse { width: 8px; height: 8px; background: #6cc1ff; border-radius: 50%; }
.top-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.top-bar .right { display: inline-flex; align-items: center; gap: 24px; }
.top-bar .right a { text-decoration: none; opacity: 0.85; }
.top-bar .right a:hover { opacity: 1; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { display: block; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav-mobile-link { display: none; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav-parent.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary);
}

/* Nav dropdown */
.nav-item {
  position: relative;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}
.nav-parent::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-item:hover .nav-parent::after,
.nav-item:focus-within .nav-parent::after {
  transform: rotate(-135deg) translateY(2px);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 0 6px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(10,27,51,0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 100;
}
.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.12s, color 0.12s;
  border-bottom: none;
}
.nav-dropdown-menu a:hover { background: var(--paper-2); color: var(--primary); }
.nav-dropdown-menu a.active { color: var(--primary); background: var(--primary-soft); }

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  min-width: 240px;
  border-radius: 4px;
  background: #fff;
}
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
  border: none; outline: none; background: transparent; flex: 1;
  font: inherit; color: var(--ink);
}
.header-search svg { color: var(--muted); flex-shrink: 0; }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
}
.header-cta:hover { background: var(--ink); color: #fff; }
.header-over-ons {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 16px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.header-over-ons:hover { opacity: 1; }

.header-burger {
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
}
@media (max-width: 720px) {
  .header-burger { display: inline-flex; }
}
.header-burger span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  position: relative;
}
.header-burger span::before,
.header-burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
}
.header-burger span::before { top: -6px; }
.header-burger span::after { top: 6px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--primary); }
.btn-on-dark:hover { background: var(--paper-blue); }
.btn-ghost-white { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn .arrow { width: 14px; height: 14px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translate(2px,-2px); }

/* ============================================================
   HERO — full-bleed photo with overlay
   ============================================================ */
.hero-full {
  position: relative;
  height: clamp(640px, 80vh, 880px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
/* Hero slide backgrounds */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-color: #0a1b33;
}
.hero-slide.active { opacity: 1; }
.hero-slide[data-slide="1"] { background-image: url('hero1.jpg'); }
.hero-slide[data-slide="2"] { background-image: url('hero2.jpg'); }
.hero-slide[data-slide="3"] { background-image: url('hero3.jpg'); }
.hero-slide[data-slide="4"] { background-image: url('hero3.jpg'); }

/* Persistent gradient overlay — sits above all slides, beneath content */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top,  rgba(5,15,35,0.82) 0%, rgba(5,15,35,0.30) 50%, rgba(5,15,35,0.10) 100%),
    linear-gradient(to right, rgba(5,15,35,0.35) 0%, transparent 60%);
}

/* Hero right-side numbered navigation */
.hero-nav {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 4;
}
.hero-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-nav-label {
  position: absolute;
  right: calc(100% + 14px);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}
.hero-nav-btn.active .hero-nav-label {
  opacity: 1;
  transform: translateX(0);
}
.hero-nav-circle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-nav-circle svg {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}
.hero-nav-circle .track {
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1.5;
}
.hero-nav-circle .progress {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
}
.hero-nav-btn.active .hero-nav-circle .progress {
  animation: hero-progress 6s linear forwards;
}
@keyframes hero-progress {
  to { stroke-dashoffset: 0; }
}
.hero-nav-circle .num {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.55);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  transition: color 0.3s;
}
.hero-nav-btn.active .hero-nav-circle .num { color: #fff; }
.hero-nav-btn:hover .hero-nav-circle { background: rgba(255,255,255,0.12); }
.hero-full .content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: 0;
}
.hero-full h1 {
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 800;
  font-variation-settings: normal;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-top: auto;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-full .h-actions {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-full .h-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--primary);
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: 4px;
}
.hero-full .h-cta:hover { background: var(--paper-blue); }
.hero-full .h-link {
  color: #fff;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
}
.hero-full .indicator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  border-top: 1px solid rgba(255,255,255,0.28);
  padding: 22px 0 28px;
  gap: 16px;
}
.hero-full .indicator a,
.hero-full .indicator > span,
.hero-full .indicator > div > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.92);
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.hero-full .indicator a .n,
.hero-full .indicator span .n {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.hero-full .indicator a .arr {
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-full .indicator a:hover { color: #fff; }
.hero-full .indicator a:hover .arr { opacity: 1; transform: translateX(2px); }

/* Hero trust signals */
.hero-trust {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust-val {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   GENERAL BLOCK
   ============================================================ */
section.block { padding: clamp(72px, 10vw, 128px) 0; }
section.block.alt { background: var(--paper-2); }
section.block.tight { padding: clamp(40px, 6vw, 72px) 0; }
section.block.ink {
  background: var(--ink); color: #fff;
}
section.block.ink h1, section.block.ink h2, section.block.ink h3, section.block.ink h4 { color: #fff; }
section.block.primary {
  background: var(--primary); color: #fff;
}
section.block.primary h1, section.block.primary h2, section.block.primary h3, section.block.primary h4 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--primary);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
  margin-top: 8px;
}

/* ============================================================
   IN DE KIJKER — featured strip (left panel, right photo)
   ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}
.feature-strip .panel {
  background: var(--paper-blue);
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
}
.feature-strip .panel h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  text-transform: uppercase;
  margin-top: 18px;
}
.feature-strip .panel p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 44ch;
}
.feature-strip .panel p strong { font-weight: 700; color: var(--ink); }
.feature-strip .media {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   SERVICES GRID (allbouw-style 4-up image grid)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.svc-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              filter 0.4s ease;
}
.svc-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 32px 72px rgba(0,0,0,0.45);
  filter: brightness(1.1);
  z-index: 3;
}
.svc-grid:has(.svc-card:hover) .svc-card:not(:hover) {
  filter: brightness(0.7);
  transform: scale(0.98);
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,27,51,0) 40%, rgba(10,27,51,0.65) 100%);
  pointer-events: none;
}
.svc-card .ph { position: absolute; inset: 0; z-index: 0; }
.svc-card .label {
  position: relative; z-index: 2;
  display: flex; align-items: baseline; gap: 16px;
}
.svc-card .label .n {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
}
.svc-card .label .t {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: clamp(17px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  word-break: break-word;
}
.svc-card .hover-cue {
  position: absolute; right: 24px; top: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}
.svc-card:hover .hover-cue { opacity: 1; }

/* ============================================================
   TOTAALPARTNER — text + photo + stats
   ============================================================ */
.totaal {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.totaal .text h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.totaal .text p {
  font-size: 16px; color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 18px;
}
.totaal .text p strong { font-weight: 700; color: var(--ink); }
.totaal .stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.totaal .stats .s {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.totaal .stats .v {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: clamp(56px, 7vw, 96px);
  color: var(--primary);
  line-height: 1;
}
.totaal .stats .l { font-size: 14px; color: var(--muted); margin-top: 6px; }
.totaal .photo {
  background: var(--ink);
  min-height: 720px;
  overflow: hidden;
  position: relative;
}
.totaal .photo img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  will-change: transform;
}

/* ============================================================
   WEBINAR / DARK BLOCK with photo
   ============================================================ */
.dark-feature {
  background: var(--primary);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}
.dark-feature .copy {
  padding: clamp(40px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.dark-feature .copy h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 40px);
  text-transform: uppercase;
}
.dark-feature .copy p {
  color: rgba(255,255,255,0.78);
  max-width: 48ch;
}
.dark-feature .media {
  background: var(--ink);
  overflow: hidden;
}
/* ============================================================
   HOE WERKEN WIJ — horizontal steps
   ============================================================ */
.steps-section {
  background: var(--primary);
  padding: clamp(72px, 10vw, 128px) clamp(24px, 5vw, 80px);
  text-align: center;
}
.steps-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.steps-header h2 {
  color: #fff;
  font-size: clamp(22px, 2.8vw, 38px);
  text-transform: uppercase;
  margin-top: 16px;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 48px;
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
}
.step-circle .step-n {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.04em;
}
.step-label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
}
.step-connector {
  width: clamp(20px, 4vw, 60px);
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin-bottom: 36px;
}
.steps-cta {
  margin-top: 0;
}
@media (max-width: 600px) {
  .steps-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
  }
  .step-connector { display: none; }
}

/* ============================================================
   BETROUWBARE PARTNER — feature list
   ============================================================ */
.partner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

/* ============================================================
   BENTO PARTNER
   ============================================================ */
.bento-partner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bp-cell {
  border-radius: 10px;
  padding: 28px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bp-intro {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: var(--paper-blue);
  min-height: 340px;
}
.bp-intro h2 {
  font-size: clamp(26px, 2.8vw, 46px);
  text-transform: uppercase;
  margin: 18px 0 16px;
  line-height: 1.1;
}
.bp-intro p {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.65;
}
.bp-intro .actions { margin-top: 32px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.bp-intro .actions a.link { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 14px; font-weight: 600; }
.bp-stat {
  background: var(--primary);
  color: #fff;
  justify-content: flex-end;
}
.bp-stat .bp-num {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: clamp(52px, 5vw, 80px);
  line-height: 1;
  color: #fff;
}
.bp-stat .bp-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.4;
}
.bp-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  gap: 16px;
}
.bp-feature.bp-soft {
  background: var(--paper-blue);
  border-color: transparent;
}
.bp-ico {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.bp-title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}
.bp-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.45;
}
.bp-service {
  grid-column: 3 / 5;
  background: var(--ink);
  color: #fff;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.bp-service .bp-ico {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.bp-service .bp-title { color: #fff; }
.bp-service .bp-sub { color: rgba(255,255,255,0.55); margin-top: 6px; }

@media (max-width: 980px) {
  .bento-partner { grid-template-columns: 1fr 1fr; }
  .bp-intro { grid-column: 1 / 3; grid-row: auto; min-height: auto; }
  .bp-service { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .bento-partner { grid-template-columns: 1fr; }
  .bp-intro, .bp-service { grid-column: auto; }
  .bp-service { flex-direction: column; align-items: flex-start; }
}
.partner .text h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.partner .text p { color: var(--ink-2); margin: 0 0 18px; max-width: 56ch; }
.partner .text p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.partner .actions { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.partner .actions a.link { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 14px; font-weight: 600; }

.features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.feature-item {
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-item:hover { border-color: var(--primary); background: var(--paper-blue); }
.feature-item .ico {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-item .t {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ============================================================
   QUOTE / TESTIMONIALS — big slab with cross pattern bg
   ============================================================ */
.quote-section {
  position: relative;
  background: var(--paper-blue);
  padding: clamp(72px, 10vw, 128px) 0;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 6px 6px, transparent 2px, rgba(10,37,69,0.07) 2.5px, transparent 3px);
  background-size: 36px 36px;
  background-position: 0 0;
  /* cross marks via two diagonal lines per cell */
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(10,37,69,0.10) 47%, rgba(10,37,69,0.10) 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(10,37,69,0.10) 47%, rgba(10,37,69,0.10) 53%, transparent 53%);
  background-size: 26px 26px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
}
.quote-section > .container { position: relative; z-index: 1; }

.quotes-viewport {
  overflow: hidden;
  padding: 4px 4px 8px;
  width: 100%;
  box-sizing: border-box;
}
.quotes-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.quote {
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 24px rgba(10,27,51,0.07);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.quote.q-faded {
  opacity: 0.35;
  transform: scale(0.97);
}
.quote .mark {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: 56px;
  line-height: 0.8;
  color: var(--primary);
}
.quote p {
  font-family: var(--display);
  font-variation-settings: var(--display-axes);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.quote.muted p { color: rgba(10,27,51,0.45); }
.quote .author {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10,27,51,0.15);
}
.quote .reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.quote .author .name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote .author .meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.google-badge .g-stars { color: #FBBC05; letter-spacing: 2px; }
.quote-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.quote-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.quote-dot {
  width: 8px;
  height: 8px;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(10,37,69,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  appearance: none;
  display: block;
  flex-shrink: 0;
}
.quote-dot.active {
  background: var(--primary);
  transform: scale(1.4);
}
.qbtn {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.qbtn:hover { background: var(--primary-ink); }
.qbtn.outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.qbtn.outline:hover { background: var(--primary-soft); }

/* ============================================================
   CONTACT TEASER — "VRAGEN? AFSPRAAK MAKEN?"
   ============================================================ */
.contact-teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(72px, 10vw, 128px) 0;
}
.contact-teaser .left h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  text-transform: uppercase;
}
.contact-teaser .left p {
  color: var(--ink-2);
  font-size: 16px;
  margin-top: 24px;
  max-width: 56ch;
}
.contact-teaser .left p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-teaser .person {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
}
.contact-teaser .person .avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: var(--paper-blue);
}
.contact-teaser .person .meta .role { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.contact-teaser .person .meta .name {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-teaser .actions {
  margin-top: 28px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.contact-teaser .actions a.icon-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--paper-blue);
  color: var(--ink);
  font-weight: 600; font-size: 14px;
  border-radius: 4px;
}
.contact-teaser .actions a.icon-btn:hover { background: var(--paper-blue-2); }
.contact-teaser .right { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 64px); }
.contact-teaser .right h3 {
  font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.contact-teaser .right .checks {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px;
}
.contact-teaser .right .check-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
}
.contact-teaser .right .check-pill input { margin: 0; accent-color: var(--primary); }
.contact-teaser .right .input-row {
  margin-top: 28px;
  display: flex; gap: 0;
  border-bottom: 1px solid var(--ink);
}
.contact-teaser .right .input-row input {
  flex: 1; padding: 14px 0; border: none; outline: none;
  background: transparent; font: inherit; color: var(--ink);
}
.contact-teaser .right .input-row button {
  background: var(--primary); color: #fff; border: none;
  width: 44px; height: 44px; cursor: pointer; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-teaser .right .input-row button:hover { background: var(--primary-ink); }
.contact-teaser .right small.label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.contact-teaser .right .socials {
  margin-top: 36px;
  display: flex; gap: 16px;
}
.contact-teaser .right .socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.contact-teaser .right .socials a:hover { color: var(--primary); }

/* ============================================================
   FOOTER — massive wordmark
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.footer-top {
  padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.footer-top .col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.footer-top .col .stack-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-top .col a { color: #fff; }
.footer-top .col a:hover { color: rgba(255,255,255,0.7); }

.footer-services {
  display: flex; flex-direction: column; gap: 6px;
}
.footer-services a {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--display-axes);
  text-transform: uppercase;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1;
  padding: 4px 0;
}
.footer-services a:hover { color: rgba(255,255,255,0.6); }

.footer-newsletter h5 { color: #fff !important; font-size: 13px !important; font-weight: 700; }
.footer-newsletter .check-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.footer-newsletter .check-row label {
  font-size: 13px; display: inline-flex; align-items: center; gap: 8px; color: #fff;
}
.footer-newsletter .check-row input { accent-color: #fff; }
.footer-newsletter .input-row {
  display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.3);
  margin-top: 24px;
}
.footer-newsletter .input-row input {
  flex: 1; padding: 14px 0; border: none; outline: none;
  background: transparent; font: inherit; color: #fff;
}
.footer-newsletter .input-row input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter .input-row button {
  background: #fff; color: var(--primary); border: none;
  width: 44px; height: 44px; cursor: pointer;
}
.footer-newsletter .input-row button:hover { background: var(--paper-blue); }
.footer-newsletter small.label {
  display: block; margin-top: 6px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 700;
}
.footer-socials {
  display: flex; gap: 14px; margin-top: 30px;
}
.footer-socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}

.footer-wordmark {
  text-align: center;
  padding-bottom: clamp(24px, 4vw, 56px);
  white-space: nowrap;
  overflow: hidden;
  margin-top: clamp(32px, 5vw, 64px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}

/* ============================================================
   PLACEHOLDER IMAGERY
   ============================================================ */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #1a2c4a, #0a1b33);
  display: flex; align-items: flex-end;
  padding: 18px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}
.ph.light {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #e9ebf1, #d6dae4);
  color: rgba(10,27,51,0.55);
}
.ph.blue {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #2a4d80, var(--primary));
  color: rgba(255,255,255,0.75);
}
.ph.warm {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #c8b596, #8a7757);
  color: rgba(20,15,10,0.65);
}

/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-head {
  padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-variation-settings: normal;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 18px;
  max-width: 20ch;
  text-transform: uppercase;
}
.page-head .crumb {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-head p {
  color: var(--ink-2);
  max-width: 64ch;
  margin-top: 28px;
  font-size: 17px;
}

/* ============================================================
   SERVICES DETAIL (diensten.html)
   ============================================================ */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-row:last-child { border-bottom: none; }
.svc-row.reverse { grid-template-columns: 1.2fr 1fr; }
.svc-row.reverse .svc-copy { order: 2; }
.svc-media { aspect-ratio: 4/3; background: var(--ink); overflow: hidden; }
.svc-copy h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
}
.svc-copy .lead { color: var(--ink-2); margin-top: 24px; font-size: 17px; }
.svc-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.svc-list li .n { font-family: var(--mono); font-size: 11px; color: var(--muted); width: 32px; flex-shrink: 0; }
.svc-list li .t { font-weight: 500; color: var(--ink-2); }
.svc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ============================================================
   PROJECTS GRID (realisaties.html)
   ============================================================ */
.proj-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.proj-filter {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  transition: all 0.2s;
}
.proj-filter:hover { border-color: var(--primary); color: var(--primary); }
.proj-filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(40px, 5vw, 64px) 0;
}
.proj-card {
  display: flex; flex-direction: column;
  gap: 18px;
}
.proj-card .thumb {
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}
.proj-card:hover .thumb { transform: translateY(-4px); }
.proj-card .meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.proj-card h3 {
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.1;
}
.proj-card.featured { grid-column: span 2; }
.proj-card.featured .thumb { aspect-ratio: 16/8; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 96px) 0;
}
.contact-aside h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  text-transform: uppercase;
}
.contact-aside p { color: var(--ink-2); font-size: 16px; max-width: 38ch; margin-top: 18px; }
.info-list {
  list-style: none; padding: 0;
  margin: 36px 0 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.info-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.info-list .lbl {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.info-list .val { font-size: 18px; font-weight: 500; }
.info-list a:hover { color: var(--primary); }

.form-card {
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.form-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase;
}
.form-card .lead { color: var(--ink-2); margin-bottom: 32px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.input:focus { outline: none; border-color: var(--primary); background: var(--paper-2); }
textarea.input { min-height: 140px; resize: vertical; font-family: var(--sans); }
label.field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  border-radius: 4px;
}
.check input { display: none; }
.check.checked, .check:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
details.faq-item {
  border-bottom: 1px solid var(--line);
}
details.faq-item summary {
  list-style: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  gap: 24px;
  user-select: none;
  transition: color 0.2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--primary); }
details.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
details.faq-item[open] summary::after {
  content: "–";
}
.faq-answer {
  padding: 0 0 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 64ch;
}

/* ============================================================
   HOME CONTACT FORMULIER
   ============================================================ */
.hf-section { padding: clamp(72px, 10vw, 128px) 0; background: var(--paper); }
.hf-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.hf-intro { position: sticky; top: 120px; }
.hf-intro h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
  margin: 18px 0 20px;
}
.hf-intro p { color: var(--ink-2); font-size: 16px; max-width: 38ch; margin: 0 0 12px; }

.hf-form { display: flex; flex-direction: column; gap: 18px; }
.hf-fields { display: flex; flex-direction: column; gap: 18px; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hf-checks-wrap { display: flex; flex-direction: column; }
.hf-checks { display: flex; flex-wrap: wrap; gap: 8px; }

.hf-uploads { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hf-file-label { cursor: pointer; }
.hf-file-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 6px;
}
.hf-file-btn:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); }
.hf-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-file-note { font-size: 12px; color: var(--muted); margin: 0; }

.hf-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.hf-privacy { font-size: 12px; color: var(--muted); max-width: 36ch; }

.hf-success {
  padding: 28px 32px;
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 4px;
  color: var(--primary-ink);
}
.hf-success p { margin: 8px 0 0; font-size: 14px; opacity: 0.85; }

@media (max-width: 900px) {
  .hf-wrap { grid-template-columns: 1fr; }
  .hf-intro { position: static; }
}
@media (max-width: 640px) {
  .hf-row, .hf-uploads { grid-template-columns: 1fr; }
}

/* ============================================================
   WAAROM TDSYSTEM — overlapping card on photo (device B)
   ============================================================ */
:root {
  --gold: #c8a24a;
  --sand: #efe6d3;
  --r: 18px;
}
/* ============================================================
   HOE WERKEN WIJ — sticky 2-col process list
   ============================================================ */
.fl { padding: clamp(72px, 10vw, 128px) 0; background: var(--primary); }
.fl-wrap {
  display: grid;
  grid-template-columns: 2fr 4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
/* Sticky left column */
.fl-intro { position: sticky; top: clamp(80px, 10vh, 110px); padding: 32px 0; }
.fl-chip {
  background: rgba(200,162,74,.15) !important;
  color: var(--gold) !important;
  border-color: rgba(200,162,74,.25) !important;
}
.fl-title-wrap { position: relative; width: fit-content; margin: 20px 0 22px; }
.fl-title-wrap h2 {
  font-size: clamp(32px, 3.2vw, 52px);
  color: #fff;
  margin: 0;
  line-height: 1.06;
}
.fl-asterisk {
  position: absolute;
  top: -2px; right: -30px;
  width: 22px; height: 22px;
  color: var(--gold);
}
.fl-intro > p {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  line-height: 1.65;
  max-width: 28ch;
  margin: 0 0 28px;
}
.fl-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: gap .2s ease;
}
.fl-cta:hover { gap: 13px; }
/* Step list */
.fl-list {
  list-style: none; padding: 0; margin: 0;
  padding-left: clamp(0px, 2vw, 40px);
}
.fl-item {
  position: relative;
  display: flex; align-items: flex-start; gap: 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s ease;
}
.fl-item:hover { border-color: rgba(200,162,74,.35); }
.fl-corner {
  position: absolute; top: 20px; right: 0;
  color: var(--gold); opacity: .35;
  transition: opacity .2s ease;
}
.fl-item:hover .fl-corner { opacity: .75; }
.fl-n {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.07);
  min-width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fl-body h3 {
  font-size: clamp(20px, 1.9vw, 28px);
  color: #fff;
  margin: 0 0 10px; line-height: 1.15;
}
.fl-body p {
  font-size: 15px; color: rgba(255,255,255,.5);
  line-height: 1.65; margin: 0; max-width: 52ch;
}
@media (max-width: 860px) {
  .fl-wrap { grid-template-columns: 1fr; }
  .fl-intro { position: static; padding: 0 0 48px; }
}

/* ============================================================
   WAAROM TDSYSTEM — overlapping photo + card
   ============================================================ */
.ovr { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper); }
.ovr-wrap { position: relative; display: grid; }
.ovr-photo {
  margin-right: 30%;
  aspect-ratio: 16/11;
  border-radius: var(--r);
  overflow: hidden;
}
.ovr-card {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 50%;
  background: #fff;
  border-radius: var(--r);
  padding: clamp(32px, 3.4vw, 56px);
  box-shadow: 0 50px 90px -40px rgba(10,37,69,.4);
}
.ovr-card h2 {
  font-size: clamp(28px, 2.8vw, 44px);
  text-transform: uppercase;
  margin: 16px 0 18px;
  line-height: 1.04;
}
.ovr-card > p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.ovr-usps {
  list-style: none; padding: 0;
  margin: 0 0 28px;
  display: grid; gap: 12px;
}
.ovr-usps li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.ovr-usps .tick {
  width: 26px; height: 26px;
  flex-shrink: 0; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 820px) {
  .ovr-photo { margin-right: 0; aspect-ratio: 16/12; }
  .ovr-card { position: static; transform: none; width: 88%; margin: -64px auto 0; }
}

/* ============================================================
   REVIEWS — featured card + 2 side cards (device D)
   ============================================================ */
.rv3 { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper-2); }
.rv3-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.rv3-google {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.rv3-stars { color: var(--gold); }
.rv3-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.rv3-feat {
  background: var(--sand);
  border-radius: var(--r);
  padding: clamp(32px, 3.5vw, 52px);
  display: flex; flex-direction: column;
}
.rv3-feat .rv3-stars { font-size: 18px; letter-spacing: 2px; }
.rv3-feat p {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.22;
  margin: 22px 0 auto;
  color: var(--ink);
}
.rv3-who { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.rv3-av {
  width: 52px; height: 52px;
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
}
.rv3-nm { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rv3-src { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rv3-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.rv3-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 30px;
  display: flex; flex-direction: column;
}
.rv3-card .rv3-stars { font-size: 14px; }
.rv3-card p { font-size: 16px; color: var(--ink-2); line-height: 1.45; margin: 12px 0 auto; }
.rv3-card .rv3-who { margin-top: 20px; }
.rv3-card .rv3-av { width: 38px; height: 38px; font-size: 12px; }
.rv3-card .rv3-nm { font-size: 12px; }
.rv3-card .rv3-src { font-size: 12px; }
/* All-3 rotating carousel — slide-up animation */
.rv3-feat, .rv3-card { overflow: hidden; }
.rv3-inner {
  display: flex; flex-direction: column; flex: 1;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.rv3-out .rv3-inner { transform: translateY(-115%); }
.rv3-in  .rv3-inner { transform: translateY(115%); transition: none; }
.rv3-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.rv3-dots {
  display: flex;
  gap: 7px;
  flex: 1;
}
.rv3-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(10,27,51,.18);
  cursor: pointer;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.rv3-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}
.rv3-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(10,27,51,.18);
  background: rgba(255,255,255,.55);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
  padding: 0;
}
.rv3-arrow:hover { background: #fff; border-color: rgba(10,27,51,.35); }
@media (max-width: 860px) { .rv3-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .62s cubic-bezier(.4,0,.2,1), transform .62s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--anim-delay, 0s);
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partner { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip, .dark-feature, .totaal, .contact-teaser { grid-template-columns: 1fr; }
  .totaal .photo { min-height: 480px; }
  .quote { flex: 0 0 auto; }
  .hero-full .indicator { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .svc-row, .svc-row.reverse { grid-template-columns: 1fr; }
  .svc-row.reverse .svc-copy { order: 0; }
  .contact-teaser .right { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
}
@media (max-width: 720px) {
  /* Header */
  .header-over-ons { display: none; }
  .header-cta { padding: 10px 14px; font-size: 12px; }
  .site-header .container { gap: 12px; }
  .header-burger { display: inline-flex; }
  /* Top bar */
  .top-bar { font-size: 11px; }
  .top-bar .right { display: none; }
  /* Nav mobile drawer */
  .nav {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--line-2);
    border-bottom: 3px solid var(--primary);
    padding: 0;
    z-index: 200;
    box-shadow: 0 12px 32px rgba(10,27,51,0.14);
  }
  .nav.open { display: flex; }
  /* Mobile-only nav links — .nav .nav-mobile-link beats .nav a specificity */
  .nav .nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px !important;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line-2);
    letter-spacing: -0.01em;
    text-transform: none;
  }
  .nav .nav-mobile-link:last-child { border-bottom: none; }
  .nav .nav-mobile-link::after {
    content: '→';
    font-size: 16px;
    opacity: 0.35;
    flex-shrink: 0;
  }
  .nav .nav-mobile-link:active { background: var(--paper-2); color: var(--primary); }
  .nav-item { width: 100%; }
  .nav-parent { padding: 12px 24px; }
  .nav-parent::after { display: none; }
  .nav-dropdown-menu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; border-top: 1px solid var(--line-2); border-radius: 0; padding: 4px 0 4px 16px; min-width: 0; }
  .nav-dropdown-menu a { padding: 10px 24px; }
  .header-search { display: none; }
  /* Hero */
  .hero-nav { display: none; }
  .hero-full .h-actions { gap: 12px; }
  .hero-full .h-cta { padding: 12px 18px; font-size: 13px; }
  .hero-full .indicator { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  /* Grids */
  .svc-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card.featured { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  /* Footer */
  .footer-bottom { font-size: 11px; flex-direction: column; gap: 6px; }
}

/* ============================================================
   EXTRA MOBILE POLISH — 480px and below
   ============================================================ */
@media (max-width: 480px) {
  /* Top bar: just phone number, no long email */
  .top-bar .left .hide-xs { display: none; }

  /* Header: hide CTA, burger is the nav */
  .header-cta { display: none; }
  .brand img { height: 40px !important; }
  .site-header .container { gap: 8px; }

  /* Hero */
  .hero-full { height: clamp(620px, 92vh, 820px); }
  .hero-full h1 { font-size: clamp(24px, 7vw, 36px); max-width: 100%; }
  .hero-full .h-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-full .h-cta { width: 100%; justify-content: center; }
  .hero-full .indicator { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0; }
  .hero-full .indicator a,
  .hero-full .indicator > span,
  .hero-full .indicator > div > span:first-child { font-size: 10px; gap: 8px; }

  /* Page head */
  .page-head { padding: 48px 0 32px; }

  /* Contact grid: always 1 col */
  .contact-grid { grid-template-columns: 1fr !important; }
  .field-row { grid-template-columns: 1fr !important; }

  /* Process steps (index) */
  .fl-wrap { grid-template-columns: 1fr; }
  .fl-intro { position: static; padding-bottom: 32px; }

  /* Totaal / dark feature */
  .totaal .photo { min-height: 280px !important; }
  .dark-feature { grid-template-columns: 1fr; }

  /* Review cards */
  .rv3-grid { grid-template-columns: 1fr; }
  .rv3-side { display: none; }

  /* Bento */
  .bento-partner { grid-template-columns: 1fr; }
  .bp-intro, .bp-service { grid-column: auto; }

  /* Partner section */
  .partner { grid-template-columns: 1fr; }
  .ovr-photo { margin-right: 0; }
  .ovr-card { position: static; transform: none; width: 100%; margin: -48px 0 0; border-radius: 6px; }

  /* Form */
  .hf-wrap { grid-template-columns: 1fr; }
  .hf-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-newsletter .check-row { gap: 8px; }
  .footer-bottom { font-size: 10px; }

  /* Submit buttons: full width */
  .of-actions .btn, .submit-row .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   VERY SMALL PHONES — 360px and below (Galaxy Z Fold cover, etc.)
   ============================================================ */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .top-bar .left { font-size: 10px; gap: 6px; }
  .top-bar .pulse { display: none; }
  .brand img { height: 34px !important; }
  .hero-full h1 { font-size: 20px; }
  .page-head h1 { font-size: clamp(20px, 8vw, 28px); }
}
