/* ============================================================
   VDS Smart Factory, Subpage styles
   Used by: Capaciteit en output.html, Energie en kosten.html, Kwaliteit.html,
            Bedrijfsbrede sturing.html, Werkvloer en operators.html
   ============================================================ */

:root {
  --navy: #0F1948;
  --navy-deep: #0F1948;
  --navy-soft: #0F1948;
  --ink: #0F1948;
  --ink-2: #0F1948;
  --ink-3: #8A92AE;
  --ink-mute: #8A92AE;
  --bg: #FFFFFF;
  --bg-alt: #DFEAFA;
  --bg-card: #F4F8FE;
  --line: #DFEAFA;
  --line-strong: #8A92AE;
  --line-dark: rgba(255,255,255,0.12);
  --line-dark-strong: rgba(255,255,255,0.22);
  --text-on-dark: #FFFFFF;
  --text-on-dark-dim: #DFEAFA;
  --accent: #0F1948;
  --accent-2: #6D94E2;
  --accent-soft: #DFEAFA;
  --ai: #6D94E2;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
  html { background: #0F1948; } /* overscroll-navy */
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .wrap.wrap-narrow { padding: 0 20px; }
}

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
}

.section { padding: 110px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: var(--text-on-dark); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 24px -10px var(--accent); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-on-dark-primary { background: #fff; color: var(--navy); }
.btn-on-dark-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255,255,255,0.3); }
.btn-on-dark-ghost { color: #fff; border: 1px solid var(--line-dark-strong); }
.btn-on-dark-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn .arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ NAV, Floating pill ============ */
.nav-pill-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 50;
  pointer-events: none;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav-pill-wrap.scrolled {
  background: var(--navy-deep);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 12px 30px -14px rgba(8, 16, 38, 0.5);
}
.nav-pill {
  pointer-events: auto;
  padding: 14px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 24px -12px rgba(8, 16, 38, 0.4);
  transition: padding .25s ease;
}
.nav-pill-wrap.scrolled .nav-pill { padding: 9px 32px; }
.nav-pill .logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-pill .logo-img { height: 42px; width: auto; display: block; transition: height .25s ease; }
.nav-pill-wrap.scrolled .logo-img { height: 34px; }
.nav-pill .nav-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500;
}
.nav-pill .nav-links > a,
.nav-pill .nav-links > .has-drop > a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.82);
  padding: 8px 11px; border-radius: 6px;
  transition: color .15s, background .15s;
  cursor: pointer;
}
.nav-pill .nav-links a:hover,
.nav-pill .nav-links .has-drop:hover > a {
  color: #fff; background: rgba(255,255,255,0.06);
}
.nav-pill .nav-links > a.active,
.nav-pill .nav-links .has-drop.active > a {
  color: #fff; background: rgba(255,255,255,0.08);
}
.nav-pill .nav-links svg.chev { width: 11px; height: 11px; opacity: 0.75; transition: transform .2s; }
.nav-pill .nav-links .has-drop:hover svg.chev { transform: rotate(180deg); }
@media (max-width: 980px) { .nav-pill .nav-links { display: none; } }

.nav-pill .has-drop { position: relative; }
.nav-pill .nav-drop {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 25, 72, 0.08);
  box-shadow: 0 24px 50px -20px rgba(8, 16, 38, 0.35);
  padding: 8px;
  min-width: 320px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 100;
}
.nav-pill .has-drop:hover .nav-drop,
.nav-pill .has-drop:focus-within .nav-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-pill .nav-drop a {
  display: block;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px; font-weight: 600;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-pill .nav-drop a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-pill .nav-drop a.active { background: var(--accent-soft); color: var(--accent); }
.nav-pill .nav-drop a.active small { color: var(--accent); opacity: .75; }
.nav-pill .nav-drop a small {
  display: block; margin-top: 3px;
  color: var(--ink-3);
  font-size: 12.5px; font-weight: 400;
  line-height: 1.4;
}
.nav-pill .nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-pill .lang-switch {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 8px; padding: 3px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.nav-pill .lang-switch button {
  background: transparent; border: 0; color: rgba(255,255,255,0.6);
  padding: 4px 10px; border-radius: 6px;
  cursor: pointer; font: inherit; font-weight: 600;
  transition: background .15s, color .15s;
}
.nav-pill .lang-switch button.active { background: #fff; color: var(--ink); }
.nav-pill .lang-switch button:not(.active):hover { color: #fff; }
.nav-pill .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-2);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: filter .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.nav-pill .nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 18px -8px var(--accent-2); }
.nav-pill .nav-cta svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .nav-pill .nav-cta span.cta-label { display: none; }
  .nav-pill .nav-cta { padding: 10px 12px; }
  .nav-pill .lang-switch { display: none; }
  .nav-pill { padding: 12px 18px; }
}

/* ============ Sub-hero (per-theme) ============ */
.sub-hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: 156px 0 100px;
  overflow: hidden;
}
.sub-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 20%, rgba(109,148,226,0.18), transparent 70%),
    radial-gradient(50% 70% at 10% 80%, rgba(14,48,124,0.40), transparent 70%);
  pointer-events: none;
}
.sub-hero .wrap { position: relative; z-index: 2; }
.sub-hero .crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500;
  color: var(--text-on-dark-dim);
  margin-bottom: 28px;
}
.sub-hero .crumbs a { color: var(--text-on-dark-dim); transition: color .15s; }
.sub-hero .crumbs a:hover { color: #fff; }
.sub-hero .crumbs .sep { opacity: 0.5; }
.sub-hero .crumbs .here { color: var(--accent-2); font-weight: 600; }
.sub-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.sub-hero .hero-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent-2);
}
.sub-hero .crumbs + .hero-eyebrow {
  display: block;
}
.sub-hero .crumbs + .hero-eyebrow::before {
  content: none;
}
.sub-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 24px;
  max-width: 880px;
  text-wrap: balance;
}
.sub-hero h1 .accent { color: var(--accent-2); }
.two-col h2 .accent,
.section-head h2 .accent { color: var(--accent); }
.ai-section h2 .accent { color: var(--accent-2); }
.sub-hero .lead {
  font-size: 18px; line-height: 1.6;
  color: var(--text-on-dark-dim);
  max-width: 680px;
  margin: 0 0 32px;
}
.sub-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Two-column section ============ */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr !important; gap: 36px; } .two-col > * { min-width: 0; } .two-col .btn { white-space: normal; } }
.two-col h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 14px 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.two-col p {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
}

/* ============ Generic section head ============ */
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.section-head p {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* ============ Problem list (data-eilandjes / pain points) ============ */
.pain-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 8px;
}
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 8px;
  padding: 18px 20px;
}
.pain h4 {
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  margin: 0 0 6px;
}
.pain p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* ============ Solution cards (3 of 4) ============ */
.sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .sol-grid { grid-template-columns: 1fr; } }
.sol-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .sol-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sol-grid.four { grid-template-columns: 1fr; } }
.sol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
}
.sol-card .sol-icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.sol-card .sol-icon svg { width: 22px; height: 22px; }
.sol-card h3 {
  font-size: 18px; font-weight: 700; color: var(--ink);
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.sol-card p {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-3);
  margin: 0;
}

/* ============ AI section ============ */
.ai-section {
  background: linear-gradient(135deg, #0F1948 0%, #1B2A6E 60%, #0F1948 100%);
  color: #fff;
  border-radius: 20px;
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 720px) { .ai-section { padding: 36px 28px; border-radius: 14px; } }
.ai-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(35% 50% at 90% 10%, rgba(109,148,226,0.25), transparent 70%),
    radial-gradient(45% 60% at 10% 100%, rgba(14,48,124,0.6), transparent 70%);
  pointer-events: none;
}
.ai-section > * { position: relative; z-index: 2; }
.ai-section .ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(109,148,226,0.4);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.ai-section .ai-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(109,148,226,0.18);
}
.ai-section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff; margin: 0 auto 18px;
  max-width: 880px;
}
.ai-section .ai-lead {
  font-size: 17px; line-height: 1.65;
  color: var(--text-on-dark-dim);
  max-width: 700px; margin: 0 auto 32px;
}
.ai-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}
@media (max-width: 920px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 22px 22px;
}
.ai-card .ai-card-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.ai-card h4 {
  font-size: 16px; font-weight: 700;
  color: #fff; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.ai-card p {
  font-size: 13.5px; line-height: 1.6;
  color: var(--text-on-dark-dim);
  margin: 0;
}

/* ============ KPI / metrics row ============ */
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kpis.kpis--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .kpis.kpis.kpis--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kpis.kpis.kpis--three { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .kpis.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .kpi { padding: 22px 18px; } .kpi .kpi-value { font-size: 32px; } }
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}
.kpi .kpi-value {
  font-size: 38px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.kpi .kpi-label {
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-2); font-weight: 500;
}

/* ============ Mock dashboard preview ============ */
.dash-preview {
  background: var(--navy);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 30px 60px -28px rgba(15,25,72,0.4);
}
.dash-preview .dh {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-preview .dh b { color: #fff; font-size: 12.5px; font-weight: 600; }
.dash-preview .dh .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.dash-preview .dh .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(109,148,226,0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(109,148,226,0); }
}
.dash-preview .dgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.dash-preview .dtile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 14px;
}
.dash-preview .dtile .dt-l {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.dash-preview .dtile .dt-v {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  color: #fff; line-height: 1;
}
.dash-preview .dtile .dt-t {
  font-size: 11px; color: var(--accent-2); margin-top: 5px; font-weight: 600;
}
.dash-preview .dtile.wide { grid-column: span 2; }
.dash-preview .dbars { display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-top: 8px; }
.dash-preview .dbars span {
  flex: 1; background: linear-gradient(180deg, var(--accent-2) 0%, rgba(109,148,226,0.25) 100%);
  border-radius: 2px;
}
.dash-preview .ai-note {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(109,148,226,0.10);
  border: 1px solid rgba(109,148,226,0.25);
  border-radius: 8px;
  display: flex; gap: 10px; align-items: flex-start;
}
.dash-preview .ai-note .ai-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent-2); flex-shrink: 0;
  padding-top: 1px;
}
.dash-preview .ai-note p {
  font-size: 12px; line-height: 1.45;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ============ Related themes ============ */
.related {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
@media (max-width: 720px) { .related { grid-template-columns: 1fr; } }
.related a {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ic, var(--accent));
  border-radius: 12px;
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.related a span.lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase;
}
.related a strong {
  font-size: 16px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.related a small {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.5; font-weight: 400;
  flex: 1;
}
.related a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  border-top-color: var(--ic, var(--accent));
  box-shadow: 0 16px 30px -16px rgba(14,27,61,0.14);
}
.related a .arr {
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ic, var(--accent));
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s;
}
.related a:hover .arr { transform: translateX(3px); }

/* ============ CTA block ============ */
.cta-block {
  background: var(--navy);
  color: #fff;
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(109,148,226,0.28), transparent 70%),
    radial-gradient(40% 60% at 90% 100%, rgba(14,48,124,0.45), transparent 70%);
}
.cta-block .cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-block h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 20px; color: #fff;
  text-wrap: balance;
}
.cta-block p { font-size: 17px; line-height: 1.6; color: var(--text-on-dark-dim); margin: 0 0 36px; }
.cta-block .cta-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ============ Footer ============ */
footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-dim);
  padding: 72px 0 40px;
  font-size: 13px;
}
.foot-grid { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 40px 72px; margin-bottom: 56px; }
.foot-grid .foot-col { flex: 0 1 220px; min-width: 180px; }
.foot-grid .foot-logo { justify-content: center; }
.foot-grid .foot-col a { padding: 6px 0; }
@media (max-width: 480px) { .foot-grid { gap: 32px; } }
.foot-col h5 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 700; }
.foot-col p { color: var(--text-on-dark-dim); line-height: 1.6; margin: 0; }
.foot-col a { display: block; color: var(--text-on-dark-dim); padding: 11px 0; line-height: 1.5; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-size: 12px; color: var(--ink-mute);
  flex-wrap: wrap; gap: 12px;
}
.foot-bottom .foot-legal-links { display: inline-flex; flex-wrap: wrap; gap: 28px; }
.foot-bottom .foot-legal-links a { color: var(--text-on-dark-dim); padding: 0; display: inline; transition: color .15s; }
.foot-bottom .foot-legal-links a:hover { color: #fff; }
@media (max-width: 560px) {
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.foot-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 16px; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Energie & kosten, dual CTA ============ */
.ek-dual-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  text-align: left;
}
@media (max-width: 880px) { .ek-dual-cta { grid-template-columns: 1fr; gap: 28px; } }
.ek-cta {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 36px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
}
.ek-cta .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ Bullet strip ============ */
.bullet-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bullet-strip-inner {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
  padding: 22px 32px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.bullet-strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.bullet-strip-inner svg { color: var(--accent); flex-shrink: 0; }


/* ============ Hero photo (optional side image) ============ */
.sub-hero .hero-photo {
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.55);
  position: relative;
}
.sub-hero .hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,25,72,0.5) 100%);
  pointer-events: none;
}
.sub-hero .hero-photo image-slot {
  width: 100%; height: 100%; display: block;
}
@media (max-width: 980px) {
  .sub-hero .wrap.sub-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .sub-hero .hero-photo {
    aspect-ratio: 16/10 !important;
    max-width: 480px;
    width: 100% !important;
    margin-inline: auto;
    justify-self: center !important;
  }
}

/* ============ Klantverhaal: portrait + quote ============ */
.case-quote-wrap {
  background: var(--navy);
  border-radius: 16px;
  box-shadow: 0 24px 50px -28px rgba(15,25,72,0.4);
  overflow: hidden;
}
.case-portrait {
  aspect-ratio: 16/10;
  background: #0a1330;
  position: relative;
}
.case-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,25,72,0.55) 100%);
  pointer-events: none;
}
.case-portrait image-slot {
  width: 100%; height: 100%; display: block;
}
.case-quote {
  margin: 0;
  padding: 32px 36px 32px;
  font-size: 21px; line-height: 1.45;
  font-weight: 500; color: #fff;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.case-quote footer {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13.5px; font-weight: 500;
  color: var(--text-on-dark-dim);
  letter-spacing: 0;
}
.case-quote + .case-quote {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
}
@media (max-width: 560px) {
  .case-quote { padding: 24px 22px; font-size: 18px; }
}


/* ==== Werkgebied-extra blokken ==== */
.sf-deliv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .sf-deliv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sf-deliv { grid-template-columns: 1fr; } }
.sf-d { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 20px; }
.sf-d strong { display: block; font-size: 14.5px; color: var(--ink); margin: 0 0 6px; }
.sf-d span { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.sf-d .sfd-ico { display: flex; width: 34px; height: 34px; border-radius: 9px; background: color-mix(in srgb, var(--ic, var(--accent)) 11%, transparent); color: var(--ic, var(--accent)); align-items: center; justify-content: center; margin-bottom: 12px; }
.sf-d .sfd-ico i { font-size: 19px; line-height: 1; }

/* Voor / na */
.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 780px) { .beforeafter { grid-template-columns: 1fr; } }
.ba-col { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 28px; }
.ba-col.ba-before { background: #F7F8FB; }
.ba-col.ba-after { border-top: 3px solid var(--ic, var(--accent)); }
.ba-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.ba-col.ba-after h4 { color: var(--ic, var(--accent)); }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ba-col li { font-size: 15px; line-height: 1.55; color: var(--ink-2); display: flex; gap: 10px; }
.ba-col li svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; }
.ba-col.ba-before li svg { color: #9AA3B7; }
.ba-col.ba-after li svg { color: var(--ic, var(--accent)); }
.ba-mid { display: flex; align-items: center; justify-content: center; color: var(--ic, var(--accent)); }
.ba-mid svg { width: 30px; height: 30px; }
@media (max-width: 780px) { .ba-mid svg { transform: rotate(90deg); } }

/* Procesflow */
.pflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: start; }
@media (max-width: 860px) { .pflow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pflow { grid-template-columns: 1fr; } }
.pf { padding: 0 22px 0 0; position: relative; }
.pf .pf-bar { display: flex; align-items: center; margin-bottom: 18px; }
.pf .pf-dot { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px; background: color-mix(in srgb, var(--ic, var(--accent)) 12%, transparent); color: var(--ic, var(--accent)); display: flex; align-items: center; justify-content: center; }
.pf .pf-dot i { font-size: 19px; line-height: 1; }
.pf .pf-line { height: 2px; flex: 1 1 auto; background: var(--line-strong); margin-left: 10px; }
.pf:last-child .pf-line { background: linear-gradient(90deg, var(--line-strong), transparent); }
.pf .pf-step { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ic, var(--accent)); margin-bottom: 6px; }
.pf h4 { font-size: 16.5px; margin: 0 0 8px; color: var(--ink); letter-spacing: -.012em; }
.pf p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* Dagprofiel (bars) */
.dayprofile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; }
.dp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.dp-head b { font-size: 15px; color: var(--ink); }
.dp-head span { font-size: 13px; color: var(--ink-3); }
.dp-bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: end; height: 168px; }
.dp-bars i { display: block; background: color-mix(in srgb, var(--ic, var(--accent)) 26%, transparent); border-radius: 3px 3px 0 0; }
.dp-bars i.peak { background: var(--ic, var(--accent)); }
.dp-bars i.idle { background: #E3E7F0; }
.dp-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.dp-notes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .dp-notes { grid-template-columns: 1fr; } }
.dp-note strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.dp-note span { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* Shift-tijdlijn */
.shifttl { display: grid; gap: 0; }
.stl { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 0 0 26px; position: relative; }
.stl:last-child { padding-bottom: 0; }
.stl__t { font-size: 14px; font-weight: 700; color: var(--ic, var(--accent)); padding-top: 2px; text-align: right; }
.stl__b { position: relative; padding-left: 26px; border-left: 2px solid var(--line-strong); padding-bottom: 4px; }
.stl:last-child .stl__b { border-left-color: transparent; }
.stl__b::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ic, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ic, var(--accent)) 18%, transparent); }
.stl__b h4 { font-size: 16.5px; margin: 0 0 7px; color: var(--ink); letter-spacing: -.012em; }
.stl__b p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin: 0; max-width: 620px; }
@media (max-width: 560px) { .stl { grid-template-columns: 62px 1fr; gap: 14px; } }

/* Lagenmodel */
.layers { display: grid; gap: 12px; }
.lay { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ic, var(--accent)); border-radius: 12px; padding: 22px 26px; }
@media (max-width: 700px) { .lay { grid-template-columns: 1fr; gap: 8px; } }
.lay__who { display: flex; align-items: center; gap: 11px; }
.lay__who i { font-size: 21px; line-height: 1; color: var(--ic, var(--accent)); }
.lay__who b { font-size: 15.5px; color: var(--ink); }
.lay__what { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.lay__what em { font-style: normal; font-weight: 600; color: var(--ink); }

/* On-dark tekst binnen donkere secties */
.section.dark .section-head h2{color:#fff}
.section.dark .section-head h2 .accent,.section.dark .two-col h2 .accent{color:var(--accent-2)}
.section.dark a.secondary,.section.dark .section-head a{color:var(--accent-2)}
.section.dark .section-head p{color:var(--text-on-dark-dim)}
.section.dark .section-head .eyebrow{color:var(--accent-2)}
