/* ============================================================
   PAAPSTVANDAM — Stylesheet
   "Newsroom craft": redactionele display-serif + navy/goud huisstijl.
   Bewerk :root voor kleuren/tokens, .section-* voor spacing.
   ============================================================ */

:root {
  /* ---- Merkkleuren ---- */
  --blue-dark:   #0a2545;
  --blue-mid:    #1a4480;
  --blue-light:  #2a63b5;
  --gold:        #e8b800;
  --gold-hover:  #c9a000;
  --gold-text:   #856600;  /* donkerder goud, leesbaar op wit én papier-tint (WCAG AA) */
  --green:       #2a9d3c;
  --green-text:  #1f7a2e;  /* leesbaar groen op wit */
  --red:         #c0392b;
  --red-text:    #a5281b;  /* leesbaar rood op wit */
  --white:       #ffffff;
  --paper:       #f7f4ec;  /* warm "papier"-wit voor redactionele lichte vlakken */
  --off-white:   #f4f6f9;
  --gray-light:  #e8ecf1;
  --gray-mid:    #9aa5b4;
  --text-dark:   #1a1f2e;
  --text-body:   #3a4455;
  --text-muted:  #5d6b7e;  /* AA-veilig gedempt (>=4.5:1 op wit) */

  /* ---- Typografie ---- */
  /* Newsreader voor de koppen (journalistieke stem), Inter voor tekst en interface. */
  --font-display:'Newsreader', Georgia, 'Times New Roman', serif;
  --font-head:   'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* ---- Modulaire typeschaal (ratio ~1.25) ---- */
  --step--1: clamp(.8rem, .77rem + .15vw, .875rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1:  clamp(1.15rem, 1.07rem + .4vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + .75vw, 1.7rem);
  --step-3:  clamp(1.6rem, 1.35rem + 1.25vw, 2.15rem);
  --step-4:  clamp(1.95rem, 1.55rem + 2vw, 2.9rem);
  --step-5:  clamp(2.3rem, 1.7rem + 3vw, 3.5rem);

  /* ---- Spacing-schaal ---- */
  --space-2xs: .375rem;
  --space-xs:  .625rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  3.5rem;
  --space-2xl: 5.5rem;

  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(10,37,69,.07);
  --shadow:      0 10px 30px -10px rgba(10,37,69,.18);
  --shadow-hover:0 24px 50px -16px rgba(10,37,69,.32);
  --transition:  .28s cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);

  --header-h:    80px;  /* hoogte gefixte header in ruststand */
  --header-h-sm: 60px;  /* hoogte na scrollen */
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 8px);
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  font-size: var(--step-0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a  { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-text); }
ul { list-style: none; }

/* ---- Subtiele premium-politoer: selectie, focus, scrollbar ---- */
::selection { background: var(--gold); color: var(--blue-dark); }
/* Tweekleurige focusring: leesbaar op licht én donker (WCAG 1.4.11) */
:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(232,184,0,.85);
  border-radius: 3px;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: #c4cdd9; border: 3px solid var(--off-white); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-mid); }

/* ---- Skip-link (toetsenbordtoegang) ---- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 2000;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Typography ---- */
h1, h2 {
  font-family: var(--font-display);
  color: var(--blue-dark);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.008em;
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-dark);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); line-height: 1.06; }
h2 { font-size: var(--step-3); margin-bottom: .7rem; line-height: 1.12; }
h3 { font-size: var(--step-1); margin-bottom: .4rem; letter-spacing: -.01em; }
p  { margin-bottom: 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* Standfirst: het redactionele intro-statement (eerste alinea van een blok) */
.standfirst {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dark);
  max-width: 60ch;
}

/* Pull-quote: een scherpe zin uit de tekst, redactioneel uitgelicht */
.pull-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--blue-dark);
  border-left: 3px solid var(--gold);
  padding: 2.6rem 0 .3rem 1.5rem;   /* ruimte bovenin voor het aanhaalteken */
  margin: 2rem 0;
  max-width: 34ch;
  position: relative;
}
/* Aanhaalteken hangt BOVEN de tekst, niet achter de eerste letter */
.pull-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  position: absolute;
  left: 1.4rem; top: 0;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  pointer-events: none;
}
.pull-quote cite {
  display: block;
  margin-top: .7rem;
  font-family: var(--font-head);
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Redactionele indexcijfers (01, 02 …) */
.index-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: .9;
  color: var(--gold);
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}

/* ============================================================
   DATELINE — signatuurmotief (krantenkop-aanhef)
   ============================================================ */
.dateline {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.dateline::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--gold);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(10,37,69,.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 3px 18px rgba(10,37,69,.12);
  border-color: transparent;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--transition);
}
.site-header.scrolled .header-inner { height: var(--header-h-sm); }
.logo-link { display: flex; align-items: center; gap: .6rem; }
.logo-link img {
  height: 44px; width: auto;
  max-width: none;            /* overschrijf globale img max-width: logo nooit vervormen */
  transition: height var(--transition);
}
.site-header.scrolled .logo-link img { height: 36px; }

.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  color: var(--text-dark);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .6rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-dark);
  background: rgba(10,37,69,.06);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  left: .75rem;
  right: .75rem;
}

/* dropdown */
.nav-item { position: relative; }
.nav-toggle-caret { font-size: .7em; margin-left: .15em; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--blue-dark);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: .5rem 0;
}
/* Open via muis (hover), toetsenbord (focus-within) én klik/tap (.open) */
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: .58rem 1.1rem;
  font-size: .8rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  background: none;
  color: rgba(255,255,255,.9);   /* wit op het navy dropdown-paneel */
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible { color: #fff; background: rgba(255,255,255,.12); padding-left: 1.4rem; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--blue-dark);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  display: none;
  background: var(--blue-dark);
  padding: 0 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.88);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mobile-nav a:hover { color: var(--gold); padding-left: .4rem; }
.mobile-nav .sub-link {
  padding-left: 1rem;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: .82;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero.loaded .hero-img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,22,44,.88) 0%, rgba(6,22,44,.80) 45%, rgba(6,22,44,.62) 78%, rgba(6,22,44,.44) 100%),
    linear-gradient(to top, rgba(8,28,54,.34) 0%, rgba(8,28,54,0) 30%);
}
/* Op smalle schermen staat de tekst over de volle breedte, dus daar is een
   gelijkmatige verzwaring wél nodig. */
@media (max-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6,22,44,.82) 0%, rgba(6,22,44,.62) 55%, rgba(6,22,44,.72) 100%);
  }
}
/* Merk-gloed: één dominant goud licht linksboven + een fijn groen schijnsel rechtsonder.
   Ingetogen, zodat de foto een foto blijft (geen kleurwas). */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(40% 46% at 6% -2%, rgba(232,184,0,.62) 0%, rgba(232,184,0,0) 60%),
    radial-gradient(56% 64% at 92% 112%, rgba(42,157,60,.32) 0%, rgba(42,157,60,0) 60%);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  width: 100%;
  color: var(--white);
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 2px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 18ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
  min-height: 1.1em;
  text-shadow: 0 1px 16px rgba(6,22,44,.45);
}
/* Op grote schermen: titel op één regel (alleen als de langste variant zeker past) */
@media (min-width: 1080px) {
  .hero h1 { white-space: nowrap; max-width: none; text-wrap: normal; }
}
.hero-lead {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  opacity: .94;
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Roterend kernwoord — in display-serif, met gereserveerde breedte (geen reflow) */
.rotator {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  color: var(--gold);
  display: inline-block;
  position: relative;
  white-space: nowrap;
  text-align: left;
  will-change: transform, opacity;
  text-shadow: 0 1px 14px rgba(6,22,44,.55);
}
.rotator::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -.02em;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232,184,0,0));
}

/* Scroll-cue (muis-indicator) */
.scroll-cue {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: opacity .4s ease;
}
.scroll-cue-mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 14px;
  position: relative;
  transition: border-color var(--transition);
}
.scroll-cue:hover .scroll-cue-mouse { border-color: var(--gold); }
.scroll-cue-dot {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .85rem 1.7rem;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition),
              transform .18s var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(232,184,0,.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
}
.btn-blue {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}
.btn-blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(26,68,128,.32);
}
/* Signaalkleur-knoppen (vervangen inline-styling op dienstpagina's) */
.btn-red   { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover   { background: #a93226; border-color: #a93226; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(192,57,43,.34); }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: #238231; border-color: #238231; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(42,157,60,.32); }
.btn-sm { padding: .5rem 1.05rem; font-size: .82rem; }
.btn:active { transform: translateY(0) scale(.985); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-dark {
  background: var(--blue-dark);
  color: var(--white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-tint { background: var(--paper); }

.section-title {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
}
.section-dark .section-title { color: var(--gold); }
/* Accentvarianten (vervangen inline color-styling) */
.section-title.accent-red   { color: var(--red-text); }
.section-title.accent-red::before   { background: var(--red); }
.section-title.accent-green { color: var(--green-text); }
.section-title.accent-green::before { background: var(--green); }

.divider {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: .8rem 0 1.2rem;
}
.divider.divider-red   { background: var(--red); }
.divider.divider-green { background: var(--green); }

/* Redactionele scheidingsrij (vervangt inline padding+border op activiteiten) */
.feature-row {
  padding-bottom: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-body { padding: 1.9rem 1.8rem; }
/* Ingetogen lijn-icoon i.p.v. de generieke gradient-chip */
.card-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--blue-dark);
  flex-shrink: 0;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.card-icon svg { width: 28px; height: 28px; }
/* Compacte variant voor de kleine kaartjes (voorheen emoji). */
.card-icon--mini { width: 34px; height: 34px; margin-bottom: .55rem; }
.card-icon--mini svg { width: 21px; height: 21px; }
.card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.card-text { font-size: .92rem; color: var(--text-body); margin-bottom: .9rem; }
.card-link {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--blue-mid);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Service cards — kleuraccent per type (consistent: rood=crisis, blauw=mediatraining,
   goud=PR, groen=tekst, ink=dagvoorzitten) */
.card-accent-gold  { border-top: 3px solid var(--gold); }
.card-accent-green { border-top: 3px solid var(--green); }
.card-accent-red   { border-top: 3px solid var(--red); }
.card-accent-blue  { border-top: 3px solid var(--blue-light); }
.card-accent-ink   { border-top: 3px solid var(--blue-dark); }

.card-accent-green .card-icon { border-color: var(--green); }
.card-accent-red   .card-icon { border-color: var(--red); }
.card-accent-blue  .card-icon { border-color: var(--blue-light); }
.card-accent-ink   .card-icon { border-color: var(--blue-dark); }

/* Featured-kaart iets nadrukkelijker dan standaard */
.card-featured .card-body { padding: 2.1rem 2rem; }
.card-featured .card-title { font-size: 1.18rem; }

/* Compacte info-kaart (vervangt inline padding/centering op dienstpagina's) */
.card--mini {
  padding: 1.1rem 1.2rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(42,99,181,.45) 0%, rgba(10,37,69,0) 55%),
    linear-gradient(160deg, var(--blue-dark) 0%, #0c2c52 100%);
  padding: calc(2.2rem + var(--header-h)) 0 2.2rem;
  position: relative;
  overflow: hidden;
}
/* Eén ingetogen goud-haarlijntje i.p.v. de regenboogbalk */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(232,184,0,0) 70%);
}
.page-header--crisis::after { background: linear-gradient(90deg, var(--red) 0%, rgba(192,57,43,0) 70%); }
.page-header--tekst::after  { background: linear-gradient(90deg, var(--green) 0%, rgba(42,157,60,0) 70%); }
.page-header h1 { color: var(--white); margin-bottom: .5rem; }
.page-header .breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .6rem;
}
.page-header .breadcrumb a { color: rgba(255,255,255,.72); }
.page-header .breadcrumb a:hover { color: var(--gold); }
.page-header .lead {
  color: rgba(255,255,255,.85);
  font-size: var(--step-1);
  max-width: 62ch;
  line-height: 1.6;
  margin-top: .5rem;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-block { max-width: 760px; }
.content-block h2 { color: var(--blue-dark); margin-top: 2rem; margin-bottom: .6rem; }
.content-block h2:first-child { margin-top: 0; }

/* Onderstreping-wipe op lopende links (redactioneel, goud) */
.content-block a:not(.btn),
.contact-person a,
.contact-address a:not(.btn) {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s var(--ease-out), color var(--transition);
}
.content-block a:not(.btn):hover,
.contact-person a:hover,
.contact-address a:not(.btn):hover { background-size: 100% 2px; }

/* Highlight box */
.highlight-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 1.1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.highlight-box.green { border-color: var(--green); }
.highlight-box.red   { border-color: var(--red); }
.highlight-box.blue  { border-color: var(--blue-mid); }
.highlight-box ul { margin: .5rem 0 0; padding-left: 1.15rem; list-style: disc; font-size: .92rem; }
.highlight-box ul li { margin-bottom: .3rem; }
.highlight-box a { font-weight: 600; }

/* Stat blocks */
.stat-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.stat-block {
  flex: 1;
  min-width: 140px;
  padding: 1.1rem 1.2rem;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
}
.stat-block .stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-block .stat-label {
  font-size: .78rem;
  opacity: .78;
  margin-top: .25rem;
  display: block;
}

/* Persoon-rol label (vervangt inline-styling op over-ons) */
.person-role {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: .3rem 0 .9rem;
}

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(100% 160% at 100% 0%, rgba(42,99,181,.55) 0%, rgba(10,37,69,0) 60%),
    linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232,184,0,0) 75%);
}
.cta-banner h3 { color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); margin-bottom: .3rem; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ============================================================
   TWO-COLUMN LAYOUT (text + image)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  /* Eenduidige redactionele grade over wisselende bronfoto's */
  filter: saturate(.92) contrast(1.03);
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .6s var(--ease-out);
}
/* Navy-duotone overlay die bij hover oplost (duotone → kleur) */
.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,37,69,.30), rgba(10,37,69,.06));
  mix-blend-mode: multiply;
  transition: opacity .6s var(--ease-out);
  pointer-events: none;
}
.split-img:hover img { transform: scale(1.04); filter: saturate(1) contrast(1); }
.split-img:hover::after { opacity: 0; }
/* Focuspunt-utilities (vervangen inline object-position) */
.img-focus-top   { object-position: center 15%; }
.img-focus-upper { object-position: center 22%; }
/* Vierkante portretfoto in een 4:3-kader: er valt 25% van de hoogte weg. Op 8%
   blijft de kruin net binnen beeld en gaat het verlies aan de onderkant zitten. */
.img-focus-portret { object-position: center 8%; }
/* Mobiel worden split-afbeeldingen 16:10; voor een gezicht snijdt dat te veel weg.
   Deze portretfoto houdt daarom overal 4:3. Selector is bewust specifieker dan
   '.split-img img' in de mobiele media query, anders wint die. */
.split-img img.img-focus-portret { aspect-ratio: 4 / 3; }
.split-img .img-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  z-index: 1;
  background: var(--gold);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--radius);
}

/* ============================================================
   TEAM / PERSONS
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-card img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.team-body { padding: 1.1rem 1.3rem; }
.team-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .15rem;
}
.team-role {
  font-size: .82rem;
  color: var(--gold-text);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.team-links { display: flex; gap: .5rem; margin-top: .7rem; }
.team-links a {
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-mid);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.team-links a:hover { color: var(--gold-text); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: .3rem;
  font-family: var(--font-head);
}
.form-req-note { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Bevestiging na verzenden: bevestigt de actie en biedt een terugval als de
   mailclient niet opent. Verschijnt pas na submit. */
.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(42,157,60,.35);
  border-left: 4px solid var(--green);
  background: rgba(42,157,60,.07);
  font-size: .9rem;
  line-height: 1.55;
}
.form-status.visible { display: block; }
.form-status strong { display: block; margin-bottom: .35rem; color: var(--blue-dark); }
.form-status p { margin: 0; color: var(--text-muted); }
.form-status a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: .9rem;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(26,68,128,.28);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-person {
  padding: 1.2rem 1.4rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.contact-person h3 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: .4rem;
}
.contact-person p { font-size: .9rem; margin-bottom: .2rem; }
.contact-person a { color: var(--blue-mid); font-weight: 500; }
.contact-person a:hover { color: var(--gold-text); }
.contact-address {
  padding: 1.2rem 1.4rem;
  background: var(--blue-dark);
  border-radius: var(--radius);
  color: rgba(255,255,255,.85);
}
.contact-address h3 { color: var(--white); margin-bottom: .5rem; }
.contact-address p { font-size: .9rem; margin-bottom: .2rem; color: rgba(255,255,255,.8); display: flex; align-items: flex-start; }
.contact-address a { color: var(--gold); }
.contact-address a:hover { color: var(--white); }

/* Inline contact-iconen (vervangen de emoji) */
.ci {
  width: 17px; height: 17px;
  flex: none;
  margin-right: .5rem;
  margin-top: .15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}
.ci-fill { fill: currentColor; stroke: none; }
.team-links a .ci { margin-right: 0; }
.contact-person p { display: flex; align-items: flex-start; }

.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 0; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }
/* De kaart staat in de rechterkolom naast het formulier en groeit mee, zodat beide
   kolommen even lang worden in plaats van een gat te laten vallen. */
.contact-info-block .map-embed { flex: 1 1 auto; min-height: 260px; display: flex; }
.contact-info-block .map-embed iframe { height: 100%; min-height: 260px; }

/* Klik-om-te-laden kaart: Google wordt pas benaderd als de bezoeker daarom vraagt.
   Daardoor zet de site bij binnenkomst geen cookies van derden. */
.map-consent {
  flex: 1 1 auto;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px dashed rgba(10,37,69,.22);
  background: var(--off-white);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  text-align: center;
}
.map-consent-inner { max-width: 330px; }
.map-consent svg { width: 30px; height: 30px; color: var(--blue-mid); margin: 0 auto .5rem; }
.map-consent strong {
  display: block;
  font-family: var(--font-head);
  color: var(--blue-dark);
  font-size: .95rem;
  margin-bottom: .35rem;
}
.map-consent p {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.map-consent-link {
  display: block;
  margin-top: .7rem;
  font-size: .78rem;
  color: var(--blue-mid);
  text-decoration: underline;
}
.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; }
/* Na toestemming vult de iframe hetzelfde vlak. */
.map-consent.geladen { display: block; padding: 0; border: 0; }
.map-consent.geladen iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; border-radius: var(--radius); }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.72);
  padding: 2.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand img { height: 42px; width: auto; object-fit: contain; margin-bottom: .8rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 300px; }
.footer-col h3 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: .3rem; }
.footer-address {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: .9rem;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.62); }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: var(--gold); }

/* Ingetogen merk-signatuur onderaan: goud-haarlijn met fijne signaalstippen */
.footer-colorbar {
  height: 3px;
  margin-top: 1rem;
  background:
    linear-gradient(90deg, var(--gold) 0%, var(--gold) 60%, rgba(232,184,0,0) 100%);
  position: relative;
}

/* ============================================================
   ANIMATIONS (fade-in on scroll)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Beeld-onthulling: zachte clip-wipe (redactioneel "ontwikkelen") */
.reveal-mask { clip-path: inset(0 0 18% 0); transition: clip-path .9s var(--ease-out); }
.reveal-mask.visible { clip-path: inset(0 0 0 0); }

/* Stagger wrapper */
.stagger-children .card,
.stagger-children .client-logo-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.stagger-children.visible .card,
.stagger-children.visible .client-logo-card {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible .card:nth-child(1),
.stagger-children.visible .client-logo-card:nth-child(1) { transition-delay: .05s; }
.stagger-children.visible .card:nth-child(2),
.stagger-children.visible .client-logo-card:nth-child(2) { transition-delay: .12s; }
.stagger-children.visible .card:nth-child(3),
.stagger-children.visible .client-logo-card:nth-child(3) { transition-delay: .19s; }
.stagger-children.visible .card:nth-child(4),
.stagger-children.visible .client-logo-card:nth-child(4) { transition-delay: .26s; }
.stagger-children.visible .card:nth-child(5),
.stagger-children.visible .client-logo-card:nth-child(5) { transition-delay: .33s; }
.stagger-children.visible .card:nth-child(6),
.stagger-children.visible .client-logo-card:nth-child(6) { transition-delay: .40s; }
.stagger-children.visible .card:nth-child(7) { transition-delay: .47s; }
.stagger-children.visible .card:nth-child(8) { transition-delay: .54s; }
.stagger-children.visible .card:nth-child(9) { transition-delay: .61s; }
.stagger-children.visible .card:nth-child(10) { transition-delay: .68s; }
.stagger-children.visible .card:nth-child(11) { transition-delay: .75s; }
.stagger-children.visible .card:nth-child(12) { transition-delay: .82s; }

/* Scroll indicator — composietvriendelijk (transform i.p.v. width) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1001;
  will-change: transform;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
  /* Hero-content moet de gefixte header vrijhouden, anders valt de eyebrow eronder. */
  .hero-content { padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem; }
  .page-header { padding: calc(1.4rem + var(--header-h-sm)) 0 1.6rem; }
  .split-img img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
  /* Cue botst op de gestapelde hero-knoppen; mobiel is scrollen sowieso vanzelfsprekend. */
  .scroll-cue { display: none; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-cta-row { justify-content: flex-start; }
  .stat-row { gap: .6rem; }
  .stat-block { min-width: 110px; }
  .map-embed iframe { height: 240px; }
  .contact-person, .contact-address { padding: 1rem 1.1rem; }
  .site-footer { padding-bottom: 4.5rem; } /* ruimte vrij voor de crisis-knop */
  .footer-bottom { justify-content: center; text-align: center; }
  /* Logo passend houden op smalle schermen (breed logo, ratio ~5:1) */
  .logo-link img { height: 34px; }
  .site-header.scrolled .logo-link img { height: 32px; }
}
@media (max-width: 400px) {
  .container, .header-inner, .hero-content { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ============================================================
   BRAND NAME — paapstvandam altijd cursief (Inter italic)
   ============================================================ */
em.brand {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  text-transform: lowercase;
}

/* ============================================================
   CLIENT LOGO CARDS — egaal grijs, kleur bij hover
   ============================================================ */
.client-logo-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.client-logo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px -8px rgba(232,184,0,.35);
  transform: translateY(-4px);
}
.client-logo-card img {
  max-width: 140px;
  max-height: 55px;
  width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}
.client-logo-card:hover img { transform: scale(1.04); }
.client-logo-card.dark-bg { background: var(--blue-dark); border-color: var(--blue-dark); }
.client-logo-card.dark-bg:hover { background: var(--blue-mid); border-color: var(--blue-mid); }

/* Klantcase zonder coverfoto: een bewust vormgegeven merkpaneel in plaats van
   een logo op een leeg vlak, dat als een onafgemaakte pagina las. */
.case-logo-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #143a6b 100%);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.4rem;
  min-height: 240px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
/* Merkbalk onderlangs, dezelfde als in de footer. */
.case-logo-panel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 0 33.33%, var(--green) 33.33% 66.66%, var(--red) 66.66% 100%);
}
.case-logo-plaat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-logo-panel img { max-width: 210px; width: 100%; height: auto; display: block; }
.case-logo-label {
  color: rgba(255,255,255,.86);
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-top: 1.3rem;
}

/* ============================================================
   LOGO MARQUEE — twee tegengesteld schuivende rijen
   ============================================================ */
.logo-marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-row { overflow: hidden; padding: 6px 0; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.logo-marquee:hover .marquee-track,
.marquee-track:focus-within { animation-play-state: paused; }
.marquee-track .client-logo-card {
  flex: 0 0 auto;
  width: 190px;
  margin-right: 1rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track .client-logo-card:hover {
  transform: none;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}
@media (max-width: 600px) {
  .marquee-track .client-logo-card { width: 140px; margin-right: .6rem; }
  .marquee-track { animation-duration: 32s; }
  .logo-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
}

/* ============================================================
   CLIENT LOGO GRID — 7 per rij (onze-klanten)
   ============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);  /* 18 logo's = 3 gelijke rijen */
  gap: 1rem;
}
.clients-grid .client-logo-card {
  min-height: 96px;
  padding: 1rem .8rem;
}
.clients-grid .client-logo-card img {
  max-width: 140px;
  max-height: 54px;
}
@media (max-width: 1000px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } } /* 6 rijen */
@media (max-width: 560px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } } /* 9 rijen */

/* ============================================================
   SERVICES MIXED GRID — 2 groot + 3 klein
   ============================================================ */
.services-mixed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.services-mixed-grid .card-featured { grid-column: span 3; }
.services-mixed-grid .card-standard { grid-column: span 2; }

@media (max-width: 900px) {
  .services-mixed-grid .card-featured { grid-column: span 6; }
  .services-mixed-grid .card-standard { grid-column: span 3; }
}
/* <=768px: gelijkmatig 2-op-2 i.p.v. ongelijke featured/standard spans.
   Staat NA de basisdefinitie zodat de override wint bij gelijke specificiteit. */
@media (max-width: 768px) {
  .services-mixed-grid { grid-template-columns: 1fr 1fr; }
  .services-mixed-grid .card-featured,
  .services-mixed-grid .card-standard { grid-column: auto; }
}
@media (max-width: 600px) {
  .services-mixed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold  { color: var(--gold-text); }
.text-green { color: var(--green-text); }
.text-red   { color: var(--red-text); }
.text-blue  { color: var(--blue-mid); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); font-size: .9rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-sm { gap: .75rem; }
.w-full { width: 100%; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ============================================================
   ZWEVENDE CRISISLIJN-KNOP
   ============================================================ */
.crisis-fab {
  position: fixed;
  right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: .8rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 10px 26px rgba(192,57,43,.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.crisis-fab svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  position: relative; z-index: 1;
}
.crisis-fab span { position: relative; z-index: 1; }
.crisis-fab:hover {
  color: #fff;
  background: #a93226;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(192,57,43,.55);
}
.crisis-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(192,57,43,.55);
  animation: crisis-pulse 2.6s ease-out infinite;
}
@keyframes crisis-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,57,43,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(192,57,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}
@media (max-width: 480px) {
  .crisis-fab span { display: none; }
  .crisis-fab { padding: .9rem; min-width: 44px; min-height: 44px; justify-content: center; }
}

/* ============================================================
   REDUCED MOTION — respecteer gebruikersvoorkeur
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    animation-delay: 0ms !important;
  }
  .marquee-track { animation: none !important; }
  .crisis-fab::before { animation: none !important; }
  .scroll-cue-dot { animation: none !important; }
  .hero-img { transition: none !important; transform: none !important; }
  .split-img:hover img { transform: none !important; }
  /* Reveal-content meteen tonen (nooit afhankelijk van een observer/timeout) */
  .fade-up, .fade-left, .fade-right { opacity: 1 !important; transform: none !important; }
  .stagger-children .card, .stagger-children .client-logo-card { opacity: 1 !important; transform: none !important; }
  .reveal-mask { clip-path: none !important; }
}


/* ============================================================
   TEKSTPAGINA'S (privacyverklaring e.d.)
   Smallere maat: lange lopende tekst leest prettiger op ~70 tekens.
   ============================================================ */
.container-narrow { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; list-style: disc; }
.legal ul li { margin-bottom: .6rem; line-height: 1.7; }
.legal ul li::marker { color: var(--gold-text); }
/* Nog in te vullen door de opdrachtgever: bewust opvallend, zodat het niet
   per ongeluk zo live gaat. */
.legal mark {
  background: #fff3cd;
  color: #6b4e00;
  padding: .1rem .4rem;
  border-radius: 3px;
  font-weight: 600;
}
