/* ============================================================
   WARMTESERVICE — Design System
   Industrieel-zakelijk: navy + warm oranje ("warmte"),
   technische details, sturdy & verfijnd.
   Eén bron van waarheid. Overschrijft Bootstrap waar nodig.
   Fonts (Archivo / IBM Plex Sans / IBM Plex Mono) worden via
   <link> in partials/header.ejs geladen.
   ============================================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Vertrouwensanker — navy */
  --navy-950: #07182E;
  --navy-900: #0B2A4A;
  --navy-800: #103459;
  --navy-700: #16406B;
  --primary:  #1D4E89;   /* interactief blauw */
  --primary-700: #173F70;

  /* Signatuur — warm oranje = warmte/verwarming */
  --accent:        #EA580C;  /* decoratief: iconen, kickers, accenten */
  --accent-bright: #FB923C;  /* op donkere vlakken / gloed */
  --accent-deep:   #C2410C;  /* interactief: knop-bg met witte tekst (AA) */
  --accent-darker: #9A3412;  /* hover */
  --accent-tint:   #FFF1E8;  /* zachte oranje wash */

  /* Urgentie — uitsluitend 24/7 spoed */
  --urgency:     #DC2626;
  --urgency-700: #B91C1C;

  /* Semantisch */
  --ok: #0E9F6E;   /* vinkjes / valide velden */
  --gold: #F59E0B; /* reviewsterren */

  /* Neutralen */
  --ink:      #0E1A28;
  --slate-800:#1E293B;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748B;
  --slate-400:#94A3B8;
  --slate-300:#CBD5E1;
  --slate-200:#E2E8F0;
  --slate-100:#EEF2F7;
  --mist:     #F4F6FA;
  --paper:    #FFFFFF;
  --line:     #E4E9F0;

  /* Schaduwen — terughoudend, technisch */
  --shadow-xs: 0 1px 2px rgba(15, 26, 40, .05);
  --shadow-sm: 0 2px 6px rgba(15, 26, 40, .06);
  --shadow-md: 0 10px 24px rgba(15, 26, 40, .08);
  --shadow-lg: 0 24px 48px rgba(15, 26, 40, .12);
  --shadow-navy: 0 24px 60px rgba(7, 24, 46, .35);

  /* Typografie */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Maatvoering */
  --container-max: 1240px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --transition: .25s cubic-bezier(.2, .7, .2, 1);

  /* Blueprint-grid (donkere secties) */
  --grid-line: rgba(255, 255, 255, .045);
}

/* ============================================================
   2. BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: var(--container-max); }

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; }

a { color: var(--accent-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-darker); }

/* Toegankelijke focus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   3. TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; font-weight: 700; }
h6 { font-size: .95rem; font-weight: 700; }

.display-3, .display-4, .display-5 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
}
.display-3 { font-size: clamp(2.6rem, 6vw, 4rem); }
.display-4 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.display-5 { font-size: clamp(2rem, 4vw, 2.8rem); }

.lead {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate-600);
}

p { margin-bottom: 1rem; }
strong, b { font-weight: 700; color: var(--slate-800); }

/* Technisch "kicker"-label — de signatuur van het systeem */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.kicker.kicker-light { color: var(--accent-bright); }
.kicker.kicker-center { justify-content: center; }

/* Sectiekop-blok */
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: .5rem; }

/* ============================================================
   4. UTILITY-OVERRIDES (Bootstrap inkleuren)
   ============================================================ */
.bg-light   { background: var(--mist) !important; }
.bg-dark    { background: var(--navy-950) !important; }
.bg-primary { background: var(--navy-900) !important; }

.text-primary { color: var(--primary) !important; }
.text-muted   { color: var(--slate-500) !important; }
.text-success { color: var(--ok) !important; }
.text-warning { color: var(--gold) !important; }
.text-danger  { color: var(--urgency) !important; }
.text-accent  { color: var(--accent-deep) !important; }

.bg-primary,
.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary p, .bg-primary .lead { color: #fff !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow    { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Sectie-ritme */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* Blueprint-textuur voor donkere vlakken */
.blueprint { position: relative; isolation: isolate; }
.blueprint::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   5. KNOPPEN
   ============================================================ */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -0.01em;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  line-height: 1.2;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn i { font-size: 1.05em; }

/* Hoofd-conversie: warm oranje */
.btn-accent,
.btn-warning {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 8px 18px rgba(194, 65, 12, .28);
}
.btn-accent:hover,
.btn-warning:hover {
  background: var(--accent-darker);
  border-color: var(--accent-darker);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(194, 65, 12, .34);
}

/* Solide navy */
.btn-primary {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navy outline */
.btn-outline-primary {
  border-color: var(--slate-300);
  color: var(--navy-900);
  background: #fff;
}
.btn-outline-primary:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

/* Wit outline (op donker) */
.btn-outline-light {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* Urgentie — alleen spoed */
.btn-urgency,
.btn-danger {
  background: var(--urgency);
  border-color: var(--urgency);
  color: #fff;
}
.btn-urgency:hover,
.btn-danger:hover {
  background: var(--urgency-700);
  border-color: var(--urgency-700);
  color: #fff;
  transform: translateY(-2px);
}

/* Telefoon-knop (was btn-success) → navy zodat palet strak blijft */
.btn-success {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.btn-success:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}

.btn.loading { opacity: .75; cursor: progress; }

/* Tekst-link met pijl */
.btn-link {
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0;
  border: 0;
  text-decoration: none;
}
.btn-link:hover { color: var(--accent-darker); }
.btn-link i { transition: transform var(--transition); }
.btn-link:hover i { transform: translateX(4px); }

/* ============================================================
   6. HEADER + NAVBAR
   ============================================================ */
.header-top {
  background: var(--navy-950) !important;
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-top a { color: rgba(255, 255, 255, .82); }
.header-top a:hover { color: var(--accent-bright); }
.header-top .bi { color: var(--accent-bright); }
.header-top .btn-outline-light { padding: .35rem 1rem; font-size: .82rem; }

.navbar {
  background: #fff !important;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), padding var(--transition);
}
.navbar.is-scrolled { box-shadow: var(--shadow-md); padding: .6rem 0; }

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy-900) !important;
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}
.navbar-brand .bi-fire {
  color: var(--accent);
  font-size: 1.55rem;
  margin-right: .4rem;
}

.navbar-nav { gap: .15rem; align-items: center; }
.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--slate-700);
  padding: .5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--navy-900); }
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.navbar-toggler:focus { box-shadow: none; }

/* Nav-CTA in de balk */
.navbar .nav-cta {
  margin-left: .75rem;
  background: var(--accent-deep);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: .55rem 1.2rem !important;
}
.navbar .nav-cta::after { display: none; }
.navbar .nav-cta:hover { background: var(--accent-darker); color: #fff !important; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(234, 88, 12, .22), transparent 62%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::after {
  /* warmte-gloed onderaan */
  content: "";
  position: absolute;
  left: -10%; bottom: -40%;
  width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(29, 78, 137, .55), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero h1 { color: #fff; }
.hero h1 .text-primary,
.hero h1 .accent { color: var(--accent-bright) !important; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 36rem; }

/* Hero-foto */
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-navy);
  border: 1px solid rgba(255, 255, 255, .1);
  aspect-ratio: 4 / 3.4;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(7, 24, 46, .5));
}

/* Zwevende spoed-kaart op de foto */
.hero-float {
  position: absolute;
  left: -1.2rem; bottom: 1.4rem;
  z-index: 3;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .8rem;
  border-left: 4px solid var(--urgency);
}
.hero-float .pulse {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--urgency);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.hero-float .lbl { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.hero-float .val { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); line-height: 1.1; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); }
  50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

/* Trust-badges onder de hero-tekst */
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 2.25rem; }
.trust-badge {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: var(--transition);
}
.trust-badge:hover { background: rgba(255, 255, 255, .1); border-color: rgba(251, 146, 60, .4); }
.trust-badge .ic {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(251, 146, 60, .15);
  color: var(--accent-bright);
  font-size: 1.15rem;
}
.trust-badge.urgent .ic { background: rgba(220, 38, 38, .18); color: #fca5a5; }
.trust-badge .t { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: #fff; line-height: 1.15; }
.trust-badge .s { font-size: .78rem; color: rgba(255, 255, 255, .6); }

/* ============================================================
   8. KAARTEN
   ============================================================ */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-200); }

/* Dienst-/feature-kaart met accent-toprand bij hover */
.tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--transition);
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--slate-200); }
.tile:hover::before { transform: scaleX(1); }

.tile-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.tile:hover .tile-icon { background: var(--accent-deep); }

.tile-icon.soft {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.tile:hover .tile-icon.soft { background: var(--accent-deep); color: #fff; }

.tile h4, .tile h5 { color: var(--ink); margin-bottom: .6rem; }
.tile p { color: var(--slate-600); font-size: .98rem; margin-bottom: 1rem; }

/* Waarde-blok (over-ons) */
.value {
  text-align: center;
  padding: 1.5rem 1rem;
}
.value .ic {
  width: 76px; height: 76px;
  margin: 0 auto 1.1rem;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.9rem;
  transition: var(--transition);
}
.value:hover .ic { background: var(--accent-deep); transform: translateY(-4px); }
.value h5 { color: var(--ink); }
.value p { color: var(--slate-500); font-size: .95rem; margin: 0; }

/* ============================================================
   9. STATS / COUNTERS
   ============================================================ */
.stat { text-align: center; padding: 1rem; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}
.stat .num .u { color: var(--accent-deep); }
.stat .lbl {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: .5rem;
}
.stat-band { background: var(--navy-900); }
.stat-band .stat .num { color: #fff; }
.stat-band .stat .num .u { color: var(--accent-bright); }
.stat-band .stat .lbl { color: rgba(255, 255, 255, .65); }

/* ============================================================
   10. PROCES-STAPPEN
   ============================================================ */
.step-row { display: flex; gap: 1.1rem; margin-bottom: 1.5rem; }
.step-row:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 1.15rem;
}
.step-row h5 { margin-bottom: .15rem; color: var(--ink); }
.step-row p { color: var(--slate-500); margin: 0; font-size: .96rem; }

/* Check-lijst */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; }
.check-list .bi { color: var(--ok); font-size: 1.15rem; flex-shrink: 0; margin-top: .15rem; }

/* ============================================================
   11. REVIEWS
   ============================================================ */
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
}
.review:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review .stars { color: var(--gold); font-size: .95rem; margin-bottom: 1rem; letter-spacing: .1em; }
.review p { color: var(--slate-700); font-size: 1.02rem; line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; }
.review .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
}
.review .who h6 { margin: 0; color: var(--ink); }
.review .who small { color: var(--slate-500); }

/* ============================================================
   12. CERTIFICATEN-CARROUSEL
   ============================================================ */
.cert-section { padding: 3rem 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 2rem;
}
.cert-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.cert-item {
  display: grid; place-items: center;
  padding: .75rem 1.25rem;
}
.cert-item img {
  max-height: 56px;
  filter: grayscale(100%);
  opacity: .55;
  transition: var(--transition);
}
.cert-item img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================
   13. CTA-BAND
   ============================================================ */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(234, 88, 12, .2), transparent 60%),
    linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: #fff;
  overflow: hidden;
}
.cta-band h2, .cta-band p, .cta-band .lead { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .8); }

/* ============================================================
   14. PAGE-HEADER (binnenpagina's)
   ============================================================ */
.page-header {
  position: relative;
  background:
    radial-gradient(700px 320px at 88% -20%, rgba(234, 88, 12, .18), transparent 60%),
    linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.page-header h1 { color: #fff; }
.page-header .lead, .page-header p { color: rgba(255, 255, 255, .82); }

/* ============================================================
   15. FORMULIEREN & ALERTS
   ============================================================ */
.form-control, .form-select {
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  transition: var(--transition);
}
.form-control::placeholder { color: var(--slate-400); }
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, .12);
  outline: none;
}
.form-control.is-valid, .form-select.is-valid { border-color: var(--ok); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--urgency); }
.form-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .45rem;
  font-size: .92rem;
}
.form-text { color: var(--slate-500); font-size: .85rem; }

.alert { border: 0; border-radius: var(--radius); padding: 1rem 1.25rem; border-left: 4px solid; font-size: .96rem; }
.alert-info    { background: #EFF6FF; color: var(--navy-800); border-color: var(--primary); }
.alert-success { background: #ECFDF5; color: #065F46; border-color: var(--ok); }
.alert-danger  { background: #FEF2F2; color: #991B1B; border-color: var(--urgency); }
.alert a { color: inherit; text-decoration: underline; }

/* Card-formulier wrapper */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-divider { border: 0; border-top: 1px solid var(--line); margin: 1.75rem 0; }

/* Contact-infokaart */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
  margin-bottom: 1rem;
}
.info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--slate-200); }
.info-card .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.info-card h6 { margin-bottom: .15rem; color: var(--ink); }
.info-card.is-dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.info-card.is-dark .ic { background: rgba(251, 146, 60, .18); color: var(--accent-bright); }
.info-card.is-dark h6 { color: #fff; }
.info-card.is-dark p, .info-card.is-dark a { color: rgba(255, 255, 255, .8); }

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  padding-top: 0;
}
footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
footer .container { padding-top: 3.5rem; padding-bottom: 1.5rem; }
footer h5 { color: #fff; margin-bottom: 1.1rem; }
footer .bi-fire { color: var(--accent); }
footer p, footer li { color: rgba(255, 255, 255, .62); }
footer a { color: rgba(255, 255, 255, .72); }
footer a:hover { color: var(--accent-bright); }
footer ul { padding: 0; list-style: none; }
footer ul li { margin-bottom: .55rem; }
footer .footer-contact .bi { color: var(--accent-bright); margin-right: .5rem; }
footer hr { border-color: rgba(255, 255, 255, .12); }
footer .footer-bottom { color: rgba(255, 255, 255, .5); font-size: .9rem; }

/* ============================================================
   17. UTILITY-PAGINA'S (success / 404 / error)
   ============================================================ */
.status-page { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.status-icon {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 3rem;
}
.status-icon.ok { background: #ECFDF5; color: var(--ok); }
.status-icon.warn { background: var(--accent-tint); color: var(--accent-deep); }
.status-icon.err { background: #FEF2F2; color: var(--urgency); }
.status-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--navy-900);
}
.status-code .u { color: var(--accent-deep); }

.spoed-box {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

/* ============================================================
   18. ANIMATIES (reveal-on-scroll, JS-gestuurd)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Lichte stagger binnen rijen */
.js .reveal:nth-child(2) { transition-delay: .07s; }
.js .reveal:nth-child(3) { transition-delay: .14s; }
.js .reveal:nth-child(4) { transition-delay: .21s; }

/* Hero-intro stagger bij laden */
.hero .hero-content > * { animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero .hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero .hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero .hero-content > *:nth-child(3) { animation-delay: .19s; }
.hero .hero-content > *:nth-child(4) { animation-delay: .26s; }
.hero .hero-content > *:nth-child(5) { animation-delay: .33s; }
.hero-figure { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) .2s backwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .trust-row { grid-template-columns: 1fr; }
  .hero-figure { margin-top: 2.5rem; aspect-ratio: 16 / 10; }
  .hero-float { left: 1rem; }
  .navbar .nav-cta { margin: .5rem 0 0; display: inline-flex; }
}

@media (max-width: 575px) {
  body { font-size: 1rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-sm, .navbar .nav-cta, .header-top .btn { width: auto; }
  .d-flex.gap-3 .btn { width: 100%; }
  .hero-float { right: 1rem; left: auto; }
}

/* ============================================================
   20. NAVBAR-DROPDOWN (Informatie)
   ============================================================ */
.navbar-nav .dropdown-toggle::after {
  position: static;
  display: inline-block;
  width: 0; height: 0;
  margin-left: .4em;
  vertical-align: middle;
  background: none;
  border: 0;
  border-top: .35em solid currentColor;
  border-right: .3em solid transparent;
  border-left: .3em solid transparent;
  transform: none;
  transition: none;
}
.navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .4rem;
  margin-top: .6rem;
  min-width: 15rem;
}
.navbar .dropdown-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  padding: .6rem .75rem;
  display: flex;
  align-items: center;
}
.navbar .dropdown-item i { color: var(--accent-deep); }
.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
  background: var(--accent-tint);
  color: var(--navy-900);
}

/* ============================================================
   21. ACCORDION (FAQ)
   ============================================================ */
.faq-group { scroll-margin-top: 100px; }

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: .75rem;
  overflow: hidden;
  background: #fff;
}
.accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 1.1rem 1.25rem;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  color: var(--navy-900);
  background: var(--accent-tint);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, .15);
  border-color: var(--accent);
}
.accordion-button::after {
  width: 1.1rem; height: 1.1rem;
  background-size: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B2A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C2410C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}
.accordion-body { padding: 0 1.25rem 1.25rem; }

/* FAQ-zijbalk */
.faq-aside { position: sticky; top: 100px; }
.faq-jump { list-style: none; padding: 0; margin: 0; }
.faq-jump li { margin-bottom: .35rem; }
.faq-jump a {
  display: flex; align-items: center; gap: .4rem;
  color: var(--slate-700);
  font-weight: 600;
  font-family: var(--font-display);
  padding: .4rem .5rem;
  border-radius: var(--radius-sm);
}
.faq-jump a i { color: var(--accent-deep); font-size: .8rem; }
.faq-jump a:hover { background: var(--mist); color: var(--navy-900); }
.help-box {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.help-box h5 { color: #fff; }
.help-box p { color: rgba(255, 255, 255, .75); }

/* ============================================================
   22. FILTERCHIPS (kennisbank)
   ============================================================ */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--slate-700);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  transition: var(--transition);
}
.chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.chip.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

/* ============================================================
   23. ARTIKELKAARTEN (kennisbank)
   ============================================================ */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  color: inherit;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-200);
  color: inherit;
}
.article-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-thumb-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .4);
  font-size: 2.5rem;
}
.article-chip {
  position: absolute;
  top: .75rem; left: .75rem;
  background: rgba(7, 24, 46, .82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.article-body { padding: 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.article-excerpt {
  color: var(--slate-600);
  font-size: .96rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--slate-500);
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.article-meta .read-more {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-deep);
}
.article-card:hover .read-more i { transform: translateX(4px); }
.article-meta .read-more i { transition: transform var(--transition); }

/* ============================================================
   24. ARTIKEL-DETAIL + PROSE
   ============================================================ */
.article-breadcrumb {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
}
.article-breadcrumb a { color: rgba(255, 255, 255, .85); }
.article-breadcrumb a:hover { color: var(--accent-bright); }
.article-breadcrumb i { font-size: .7rem; }

.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-md);
}
.article-hero img { width: 100%; display: block; }

.article-lead {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--accent);
}

/* Lees-typografie voor door het CMS aangeleverde HTML */
.prose { color: var(--slate-700); font-size: 1.08rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: 1.55rem;
  margin-top: 2.25rem;
  margin-bottom: .85rem;
  color: var(--ink);
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: .6rem;
  color: var(--ink);
}
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem 1.25rem; padding: 0; }
.prose li { margin-bottom: .5rem; padding-left: .25rem; }
.prose ul li::marker { color: var(--accent-deep); }
.prose a { color: var(--accent-deep); text-decoration: underline; font-weight: 600; }
.prose a:hover { color: var(--accent-darker); }
.prose strong { color: var(--slate-800); }
.prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--mist);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--slate-700);
}
.prose img { max-width: 100%; border-radius: var(--radius); margin: 1.25rem 0; }

/* Inline CTA onder een artikel */
.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.article-cta h4 { color: var(--ink); }

@media (max-width: 991px) {
  .faq-aside { position: static; margin-top: 2rem; }
}

/* Trix-editor in admin (lichte verfijning) */
trix-editor.trix-content { min-height: 180px; border-radius: 6px; }
trix-editor.trix-content-lg { min-height: 360px; }

/* ============================================================
   25. JURIDISCHE PAGINA'S
   ============================================================ */
.prose.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose.legal { font-size: 1.02rem; }
.prose.legal ul { margin-bottom: 1.15rem; }

/* Footer juridische links */
.footer-legal a, .footer-legal-btn {
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
  margin-left: 1rem;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
}
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover, .footer-legal-btn:hover { color: var(--accent-bright); text-decoration: underline; }

@media (max-width: 575px) {
  .footer-legal a, .footer-legal-btn { display: inline-block; margin: .25rem .5rem 0 0; }
}

/* ============================================================
   26. COOKIEBANNER
   ============================================================ */
.cookiebanner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1080;
  background: var(--navy-950);
  color: rgba(255, 255, 255, .9);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -10px 40px rgba(7, 24, 46, .35);
  animation: cbUp .4s cubic-bezier(.2, .7, .2, 1);
}
.cookiebanner[hidden] { display: none; }
@keyframes cbUp { from { transform: translateY(100%); } to { transform: none; } }
.cookiebanner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1rem;
  flex-wrap: wrap;
}
.cookiebanner .cb-text { flex: 1 1 360px; }
.cookiebanner .cb-text strong { font-family: var(--font-display); color: #fff; display: block; margin-bottom: .15rem; }
.cookiebanner .cb-text p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.cookiebanner .cb-text a { color: var(--accent-bright); text-decoration: underline; }
.cookiebanner .cb-actions { display: flex; gap: .6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookiebanner .cb-actions .btn { white-space: nowrap; }

@media (max-width: 575px) {
  .cookiebanner .cb-actions { width: 100%; }
  .cookiebanner .cb-actions .btn { flex: 1; }
}
