/* ---------- SECTION TITLE PATTERN ---------- */
.section-head {
  margin-bottom: 64px;
  max-width: 780px;
}
h2.section-title {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--fm-text);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-subtitle {
  font-size: 17px;
  color: var(--fm-text-soft);
  line-height: 1.6;
  max-width: 560px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  contain: paint;
}
.hero-content {
  max-width: 920px;
  will-change: transform, opacity;
  transform: translateZ(0);
}
h1.hero-title {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--fm-text);
  text-wrap: balance;
}
.nowrap-word { white-space: nowrap; }
.hero-subtitle {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 400;
  color: var(--fm-text-soft);
  margin-bottom: 48px;
  max-width: 620px;
  line-height: 1.6;
}
.ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  position: relative;
  padding: 120px 0;
}
.stats-section .container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  overflow: hidden;
}
.stat-cell {
  position: relative;
  background: var(--fm-dark);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: background 0.4s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.stat-cell:hover {
  background: rgba(255, 255, 255, 0.038);
}
.stat-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.05),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}
.stat-cell:hover::after {
  opacity: 1;
}
.stat-cell--hero {
  grid-row: 1 / 3;
  padding: 56px 48px;
  justify-content: space-between;
  gap: 28px;
}
.stat-cell--hero::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #1794A3 0%, #58BA64 60%, #87D545 100%);
  opacity: 0.55;
  border-radius: 2px;
}
.stat-cell-case {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fm-text-mute);
}
.stat-cell-num {
  font-size: clamp(72px, 8.5vw, 128px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: var(--fm-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
}
.stat-cell-num--md {
  font-size: clamp(56px, 6vw, 84px);
}
.stat-cell-suf {
  font-size: 0.3em;
  font-weight: 500;
  background: none;
  -webkit-text-fill-color: var(--fm-text-soft);
  color: var(--fm-text-soft);
  letter-spacing: -0.01em;
}
.stat-cell-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--fm-text-soft);
}
.stat-cell-desc {
  font-size: 14px;
  color: var(--fm-text-mute);
  line-height: 1.6;
  max-width: 420px;
}
/* Clip-path reveal — only applies when motion is allowed AND grid is not yet in view.
   Content stays visible if JS fails or never fires. */
@media (prefers-reduced-motion: no-preference) {
  .js .stats-grid:not(.in-view) .stat-cell-num {
    clip-path: inset(0 0 105% 0);
  }
  .stat-cell-num {
    transition: clip-path 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: clip-path;
  }
  .stats-grid.in-view .stat-cell:nth-child(2) .stat-cell-num {
    transition-delay: 0.24s;
  }
  .stats-grid.in-view .stat-cell:nth-child(3) .stat-cell-num {
    transition-delay: 0.48s;
  }
}

/* ---------- PROCESS SECTION (vertical timeline) ---------- */
.process-section {
  position: relative;
  padding: 120px 0;
}
.process-timeline {
  position: relative;
  margin-top: 64px;
  padding-left: 72px;
  max-width: 900px;
}
.process-line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #0A398C 0%, #1794A3 30%, #58BA64 65%, #87D545 100%);
  /* Gradient stays at full timeline height — fill only reveals more of it. */
  background-size: 100% var(--process-line-h, 100%);
  background-repeat: no-repeat;
  border-radius: 2px;
  /* No CSS transition — JS already updates per scroll frame via rAF. */
  transition: none;
  box-shadow: 0 0 14px rgba(25, 148, 164, 0.45);
}
.process-step {
  position: relative;
  /* margin (not padding) so the dot's top:50% aligns with the card's flex center */
  margin-bottom: 32px;
  min-height: 120px;
  display: flex;
  align-items: center;
}
.process-step:last-child {
  margin-bottom: 0;
}
/* Dot center aligns exactly with the line center (both at x=19 within timeline).
   Timeline padding-left = 72px → step left edge at x=72.
   Dot 18px wide, want center at x=19 → dot left = 10 → relative to step = -62px. */
.process-step-dot {
  position: absolute;
  top: 50%;
  left: -62px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fm-dark);
  border: 2px solid rgba(255, 255, 255, 0.32);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(10, 9, 21, 1);
  transform: translateY(-50%);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.process-step.active .process-step-dot {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(10, 9, 21, 1),
    0 0 0 7px rgba(94, 181, 101, 0.18),
    0 0 22px rgba(25, 148, 164, 0.65);
  transform: translateY(-50%) scale(1.15);
}

/* Card with horizontal connector arm reaching back to the dot */
.process-step-content {
  position: relative;
  padding: 26px 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  transition: background .35s ease, border-color .35s ease;
}
.process-step.active .process-step-content {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}
.process-step-content::before {
  /* Arm reaches from card's left edge back to the dot's visible right edge.
     Card left = x=72, dot visible right edge = x=32 (dot + moat) → arm width = 40px. */
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
  transition: background .35s ease;
}
.process-step.active .process-step-content::before {
  background: linear-gradient(90deg, rgba(25, 148, 164, 0.7), rgba(94, 181, 101, 0.7));
}

.process-step-num {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fm-text-mute);
  margin-bottom: 10px;
}
.process-step-title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--fm-text);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.process-step-desc {
  font-size: 15px;
  color: var(--fm-text-soft);
  line-height: 1.65;
  max-width: 620px;
}

/* ---------- SERVICES SECTION ---------- */
/* ---------- SERVICES FLOW (animated pipeline) ---------- */
.services-flow-section {
  position: relative;
  padding: 120px 0;
}

.services-flow {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-station {
  position: relative;
  padding: 24px 28px 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s cubic-bezier(.25, .8, .25, 1), background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.service-station:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px -28px rgba(25, 148, 164, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Visualisation container */
.service-viz {
  position: relative;
  width: 100%;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(25, 148, 164, 0.07), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(94, 181, 101, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.service-viz svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Number + content */
.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--fm-text-mute);
}
.service-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--fm-text);
  letter-spacing: -0.015em;
  margin-top: -8px;
}
.service-desc {
  font-size: 14px;
  color: var(--fm-text-soft);
  line-height: 1.6;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.service-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--fm-text-mute);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- VIZ 1: SCAN (Consultancy) ---------- */
.viz-scanner {
  animation: vizScanSweep 3.6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes vizScanSweep {
  from { transform: translateX(-2px); }
  to   { transform: translateX(320px); }
}
.viz-find {
  transform-origin: center;
  transform-box: fill-box;
  animation: vizPulse 2.2s ease-in-out infinite;
}
.viz-find-1 { animation-delay: 0s; }
.viz-find-2 { animation-delay: .7s; }
.viz-find-3 { animation-delay: 1.4s; }
@keyframes vizPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.25); filter: drop-shadow(0 0 6px currentColor); }
}

/* ---------- VIZ 2: FUNNEL (Procesoptimalisatie) ---------- */
.viz-flow-path {
  stroke-dasharray: 3 4;
  animation: vizFlowDash 1.8s linear infinite;
}
.viz-flow-path-2 { animation-duration: 2.2s; }
.viz-flow-path-3 { animation-duration: 2.6s; animation-direction: reverse; }
@keyframes vizFlowDash {
  to { stroke-dashoffset: -14; }
}
.viz-funnel-exit {
  transform-origin: center;
  transform-box: fill-box;
  animation: vizExitPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(94, 181, 101, 0.7));
}
@keyframes vizExitPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* ---------- VIZ 3: WORKFLOW CHAIN (Automatiseringen) ---------- */
/* Nodes light up in sequence as the particle passes through them.
   Particle takes 4s for the whole chain (4 segments = 1s each).
   Each node "fires" briefly when the particle arrives. */
.viz-node {
  transform-origin: center;
  transform-box: fill-box;
  animation: vizNodeFire 4s ease-in-out infinite;
}
.viz-node-1 { animation-delay: 0s;     fill: #1794A3; }
.viz-node-2 { animation-delay: 1s;     fill: #2BA5B6; }
.viz-node-3 { animation-delay: 2s;     fill: #58BA64; }
.viz-node-4 { animation-delay: 3s;     fill: #87D545; }
.viz-node-5 { animation-delay: 3.95s;  fill: #ffffff; }
@keyframes vizNodeFire {
  0%, 100% { opacity: 0.5; transform: scale(1);   filter: drop-shadow(0 0 0 transparent); }
  3%       { opacity: 1;   transform: scale(1.35); filter: drop-shadow(0 0 6px currentColor); }
  15%      { opacity: 0.5; transform: scale(1);   filter: drop-shadow(0 0 0 transparent); }
}

/* ---------- COST SECTION ---------- */
.cost-section {
  position: relative;
  padding: 120px 0 160px;
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.cost-card {
  padding: 40px 36px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cost-stat {
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--fm-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cost-text {
  font-size: 16px;
  color: var(--fm-text);
  line-height: 1.55;
  flex: 1;
}
.cost-source {
  font-size: 11px;
  font-weight: 500;
  color: var(--fm-text-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.cost-closing {
  margin-top: 48px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fm-text-soft);
  line-height: 1.5;
  max-width: 580px;
}

/* ---------- ABOUT SECTION: BENTO ---------- */
.about-section {
  position: relative;
  padding: 120px 0;
}
.about-bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

/* Shared card base */
.about-card {
  position: relative;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.about-card:hover {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 32px 72px -32px rgba(0, 0, 0, 0.5);
}

/* Cursor-following shine */
.about-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.055),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}
.about-card:hover .about-card-shine {
  opacity: 1;
}

/* --- Bio card (left, spans 2 rows) --- */
.about-card--bio {
  grid-row: 1 / 3;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Animated grid lines in background */
.about-card--bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: aboutGridDrift 24s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes aboutGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 52px 52px, 52px 52px; }
}
.about-card-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fm-text-mute);
  position: relative;
  z-index: 2;
}
.about-bio-text {
  font-size: 16px;
  color: var(--fm-text-soft);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.about-bio-person {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}
.about-bio-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fm-text);
}
.about-bio-role {
  font-size: 12px;
  color: var(--fm-text-mute);
}

/* --- Pull quote card (top right) --- */
.about-card--pull {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.about-pull-quote {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  background: var(--fm-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  z-index: 2;
}
.about-pull-sub {
  font-size: 13px;
  color: var(--fm-text-mute);
  line-height: 1.5;
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .about-card--bio::before { animation: none; }
}

/* --- CTA card (bottom right) --- */
.about-card--cta {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
}
.about-card--cta:hover {
  background: rgba(255, 255, 255, 0.045);
}
.about-cta-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--fm-text);
  position: relative;
  z-index: 2;
}
.about-cta-arrow {
  font-size: 20px;
  color: var(--fm-text-soft);
  transition: transform .3s ease, color .3s ease;
  position: relative;
  z-index: 2;
}
.about-card--cta:hover .about-cta-arrow {
  transform: translateX(5px);
  color: var(--fm-text);
}

/* ---------- CTA SECTION (legacy, still used on subpages) ---------- */
.cta-section {
  position: relative;
  padding: 100px 0 120px;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 90%);
  height: 70%;
  background: var(--fm-gradient);
  opacity: 0.22;
  filter: blur(110px);
  pointer-events: none;
  border-radius: 50%;
}
.cta-card {
  padding: 80px 48px;
  border-radius: 28px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--fm-text);
  text-wrap: balance;
}
.cta-subtitle {
  font-size: 17px;
  color: var(--fm-text-soft);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  position: relative;
  padding: 120px 0 160px;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90%);
  height: 60%;
  background: var(--fm-gradient);
  opacity: 0.14;
  filter: blur(140px);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}
.contact-head {
  position: relative;
  z-index: 1;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
.contact-title {
  text-wrap: balance;
}

/* Channel buttons (aside) */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-channel {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 18px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  color: inherit;
}
.contact-channel:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.contact-channel-label {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fm-text-mute);
}
.contact-channel-value {
  grid-column: 1;
  grid-row: 2;
  font-size: 17px;
  font-weight: 500;
  color: var(--fm-text);
  letter-spacing: -0.01em;
}
.contact-channel-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 18px;
  color: var(--fm-text-mute);
  transition: color .25s ease, transform .25s ease;
}
.contact-channel:hover .contact-channel-arrow {
  color: var(--fm-text);
  transform: translateX(4px);
}
/* Quickscan highlight card */
.contact-quickscan {
  position: relative;
  flex: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #14111f, #0d0b16) padding-box,
    var(--fm-gradient) border-box;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-quickscan::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--fm-gradient);
  opacity: 0.06;
  transition: opacity .25s ease;
  pointer-events: none;
}
.contact-quickscan:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -18px rgba(94, 181, 101, 0.5);
}
.contact-quickscan:hover::before {
  opacity: 0.12;
}
.contact-quickscan > * {
  position: relative;
  z-index: 1;
}
.contact-quickscan-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-quickscan-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--fm-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.contact-quickscan-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fm-text-soft);
}
.contact-quickscan-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 16px;
}
.contact-quickscan-label {
  grid-column: 1;
  grid-row: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--fm-text);
  letter-spacing: -0.01em;
}
.contact-quickscan-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  color: var(--fm-text-mute);
}
.contact-quickscan-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 18px;
  color: var(--fm-text);
  transition: transform .25s ease;
}
.contact-quickscan:hover .contact-quickscan-arrow {
  transform: translateX(4px);
}

/* Form card */
.contact-form {
  padding: 36px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fm-text-soft);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.contact-optional {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--fm-text-mute);
  letter-spacing: 0.04em;
}
.contact-field input,
.contact-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--fm-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  resize: vertical;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-field textarea {
  min-height: 132px;
  line-height: 1.55;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(135, 213, 69, 0.45);
  box-shadow: 0 0 0 3px rgba(94, 181, 101, 0.12);
}
.contact-field input:user-invalid,
.contact-field textarea:user-invalid {
  border-color: rgba(244, 122, 122, 0.5);
}
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contact-submit {
  border: 0;
  cursor: pointer;
}
.contact-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-submit.is-loading .contact-submit-label::after {
  content: '…';
  display: inline-block;
  margin-left: 2px;
}
.contact-privacy {
  font-size: 12px;
  color: var(--fm-text-mute);
  line-height: 1.5;
  max-width: 280px;
}
.contact-privacy a {
  color: var(--fm-text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 2px;
}
.contact-privacy a:hover {
  color: var(--fm-text);
}
.contact-status {
  font-size: 14px;
  line-height: 1.55;
  padding: 0;
  min-height: 0;
  transition: padding .2s ease;
}
.contact-status.is-success {
  color: #b4e89c;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(94, 181, 101, 0.08);
  border: 1px solid rgba(135, 213, 69, 0.3);
}
.contact-status.is-error {
  color: #f4a7a7;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(244, 122, 122, 0.07);
  border: 1px solid rgba(244, 122, 122, 0.3);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  padding: 80px 0 40px;
  border-top: 1px solid var(--fm-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 24px;
  display: block;
  margin-bottom: 18px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fm-text-soft);
  line-height: 1.6;
  max-width: 280px;
}
.footer-bottom-location {
  font-size: 12px;
  color: var(--fm-text-mute);
  letter-spacing: 0.02em;
  margin-left: auto;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fm-text-mute);
  margin-bottom: 18px;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  font-size: 14px;
  color: var(--fm-text-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-list a:hover {
  color: var(--fm-text);
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--fm-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: 12px;
  color: var(--fm-text-mute);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .services-flow { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  :root { --container-pad: 24px; }
  /* Allow long Dutch words (e.g. "onderhandelbaar") to wrap inside headings on mobile */
  h1.hero-title .blur-word,
  h2.section-title .blur-word,
  .page-hero-title .blur-word,
  .service-block-title .blur-word {
    white-space: normal;
  }
  h2.section-title { font-size: clamp(28px, 7.5vw, 36px); }
  .section-head { margin-bottom: 40px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-right { padding: 4px 4px 4px 4px; }
  .hero { padding: 140px 0 80px; }
  .stats-section,
  .services-flow-section,
  .about-section,
  .process-section { padding: 80px 0; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-section { padding: 80px 0 100px; }
  .stats-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1px;
  }
  .stat-cell { padding: 36px 28px; gap: 12px; }
  .stat-cell--hero {
    grid-row: auto;
    padding: 40px 28px;
    gap: 18px;
  }
  .stat-cell--hero::before {
    top: 16px;
    bottom: 16px;
  }
  .stat-cell-num { font-size: clamp(64px, 16vw, 96px); }
  .stat-cell-num--md { font-size: clamp(48px, 12vw, 72px); }
  /* Mobile process timeline: line on the left, narrower padding, smaller arms */
  .process-timeline { padding-left: 44px; margin-top: 40px; }
  .process-line { left: 12px; }
  /* Mobile: padding=44, line center at x=13. Dot 18px → left = 4 → relative to step = -40 */
  .process-step-dot { left: -40px; }
  .process-step-content { padding: 20px 22px; }
  .process-step-content::before {
    /* Card left at x=44, dot visible right edge at x=22+4=26 → arm = 18px */
    left: -18px;
    width: 18px;
  }
  .process-step { margin-bottom: 28px; min-height: 0; }
  .process-step-title { font-size: 18px; }
  .process-step-desc { font-size: 14.5px; line-height: 1.6; }
  .about-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .about-card--bio { grid-row: auto; padding: 28px 24px; }
  .about-card--pull { padding: 28px 24px; }
  .cta-section { padding: 80px 0 100px; }
  .cta-card { padding: 56px 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer { padding: 60px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .service-station { padding: 20px 22px 24px; }
  .service-viz { height: 64px; }
  .ctas { flex-direction: column; align-items: flex-start; width: 100%; }
  h1.hero-title br { display: none; }
  .contact-section { padding: 80px 0 100px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }
  .contact-field-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-submit-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-privacy { max-width: none; }
  .qs-panel { border-radius: 20px; }
  .qs-header { padding: 16px 20px 12px; border-radius: 20px 20px 0 0; }
  .qs-body { padding: 22px 20px 28px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .blob { animation: none !important; }
  .blur-word { filter: none; opacity: 1; transform: none; }
  .fade-up   { opacity: 1; transform: none; }
  .stat-cell-num { clip-path: none !important; }
  .about-card-shine { display: none; }
  .process-line-fill { height: 100% !important; }
  /* Disable looping SVG animations */
  .viz-scanner, .viz-find, .viz-flow-path, .viz-funnel-exit, .viz-node {
    animation: none !important;
  }
  .process-step .process-step-dot {
    background: #ffffff;
    border-color: #ffffff;
  }
  .process-step .process-step-content::before {
    background: linear-gradient(90deg, rgba(25, 148, 164, 0.7), rgba(94, 181, 101, 0.7));
  }
}
