/* ===========================================================
   GOODASH — basisstylesheet
   Opgebouwd met CSS custom properties ("variabelen", de --naam
   hieronder) zodat kleuren/afstanden op 1 plek staan en overal
   in dit bestand herbruikt worden via var(--naam).
   =========================================================== */

:root {
  /* Kleuren */
  --color-bg: #ffffff;
  --color-text: #0d0f12;
  --color-text-muted: #55606c;
  --color-primary: #004aad;   /* exacte merkblauw uit het logo */
  --color-heading: #071c3f;   /* diep navyblauw voor koppen, i.p.v. zwart */
  --color-primary-strong: #003a89;
  --color-primary-soft: #e8f0fc;
  --color-ink: #06142e;       /* diep navy, voor grote vlakken en tekst op wit */
  --color-nav-bg: #14161a;    /* donkere zwevende navigatiebalk */
  --color-nav-text: #f5f6f7;
  --color-border: #dbe4f3;
  --color-surface: #eaf1fb;   /* duidelijk zichtbare blauwtint i.p.v. bijna-wit */

  /* Typografie */
  --font-base: "Geist", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Beweging: één set curves voor de hele site */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  /* Schaduwen in de navy-tint van de koppen i.p.v. puur zwart */
  --shadow-soft: 0 1px 2px rgba(6,20,46,0.05), 0 12px 32px -12px rgba(6,20,46,0.14);
  --shadow-lift: 0 2px 4px rgba(6,20,46,0.05), 0 28px 60px -20px rgba(0,58,137,0.28);

  /* Layout */
  --max-width: 1120px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

/* ---------- Zachte overgang tussen pagina's ----------
   JS-gestuurd (werkt in elke browser, i.t.t. de experimentele
   View Transitions API): bij het laden fade+schuift de pagina in,
   bij het klikken op een interne link fade+schuift 'm weer uit
   vlak voordat we naar de volgende pagina navigeren. Standaard is
   de pagina gewoon volledig zichtbaar — als JS uitstaat zie je nog
   steeds meteen alles, er is geen "verborgen totdat JS draait"-risico. */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes page-leave {
  to { opacity: 0; transform: translateY(-14px); }
}

body.page-enter-active { animation: page-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.page-leave-active { animation: page-leave 0.22s ease-in forwards; }

@media (prefers-reduced-motion: reduce) {
  /* Geen grote verschuivingen, maar wel nog een korte fade zodat de
     paginawisseling niet volledig abrupt/statisch aanvoelt. */
  body.page-enter-active { animation: page-enter-fade 0.25s ease both; }
  body.page-leave-active { animation: page-leave-fade 0.15s ease forwards; }
}

@keyframes page-enter-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-leave-fade { to { opacity: 0; } }

/* ---------- Hero-inhoud zweeft/schuift gestaggerd naar binnen bij laden ----------
   Zet class="hero-reveal" op de directe ouder van de hero-elementen
   (bv. de .split, of de .container zelf) — elk kind-element krijgt een
   iets grotere vertraging, zodat ze na elkaar instromen i.p.v. alles
   ineens. Puur CSS, dus dit speelt altijd af, ongeacht JS-timing. */
.hero-reveal > * {
  opacity: 0;
  transform: translateY(26px);
  animation: page-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-reveal > *:nth-child(1) { animation-delay: 0.05s; }
.hero-reveal > *:nth-child(2) { animation-delay: 0.16s; }
.hero-reveal > *:nth-child(3) { animation-delay: 0.27s; }
.hero-reveal > *:nth-child(4) { animation-delay: 0.38s; }
.hero-reveal > *:nth-child(5) { animation-delay: 0.49s; }

@media (prefers-reduced-motion: reduce) {
  /* Geen zweef/schuifbeweging, maar wel nog een korte fade per kind. */
  .hero-reveal > * { transform: none; animation: page-enter-fade 0.4s ease both; }
}

/* Reset: browsers voegen standaard marges/paddings toe die per browser
   verschillen — we zetten alles op 0 en bouwen bewust weer op. */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-feature-settings: "ss01";
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  text-wrap: balance;
}

h3 { letter-spacing: -0.015em; line-height: 1.2; }

p { text-wrap: pretty; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { color: var(--color-text-muted); }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-6);
}

.section--tight { padding-block: var(--space-5); }

/* ---------- Header / navigatie (1 samenhangende balk) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 14px;
}

.logo img { height: 76px; display: block; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--color-primary); }

.nav-links a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ---------- Nav-dropdown ("Diensten") ---------- */
.nav-dropdown { position: relative; }

.nav-dropdown__trigger {
  /* display: inline (niet flex) zodat 'ie exact hetzelfde doosmodel heeft
     als de <a>-navigatielinks ernaast en netjes op dezelfde lijn staat. */
  display: inline;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  background: none;
  border: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.nav-dropdown__trigger:hover { color: var(--color-primary); }

.nav-dropdown__trigger.is-current {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-dropdown__chevron {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: -3px;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown__trigger { color: var(--color-primary); }
.nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 30px rgba(15,35,70,0.12);
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}

.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.nav-dropdown__menu a:hover { background: var(--color-surface); }

.header-cta.header-cta--mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-cta.header-cta--desktop { display: none; }
  .header-cta.header-cta--mobile {
    display: inline-flex;
    justify-content: center;
    margin: var(--space-2) var(--space-3) var(--space-3);
  }

  #site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 30px rgba(15,35,70,0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  #site-nav.is-open {
    max-height: 480px;
    opacity: 1;
  }

  #site-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--space-3);
  }

  #site-nav .nav-links li { border-bottom: 1px solid var(--color-border); }
  #site-nav .nav-links li:last-child { border-bottom: none; }
  #site-nav .nav-links a { display: block; padding-block: 14px; }

  #site-nav .nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-block: 14px;
  }

  #site-nav .nav-dropdown__chevron { margin-left: 0; vertical-align: middle; }

  #site-nav .nav-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-surface);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  #site-nav .nav-dropdown.is-open .nav-dropdown__menu {
    max-height: 300px;
    padding: 4px 0 8px;
  }

  #site-nav .nav-dropdown__menu a { padding-block: 12px; padding-left: var(--space-3); }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: #003a89;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,74,173,0.28);
}

/* ---------- Social icons (footer) ---------- */
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.social-icons a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.social-icons svg { width: 18px; height: 18px; }


@media (prefers-reduced-motion: reduce) {
  }





.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.button:hover {
  background: var(--color-primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,74,173,0.55);
}

.button:active { transform: translateY(0) scale(0.98); }

.button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Grote CTA met de pijl in een eigen cirkel ("knop in knop") */
.button--lg { padding: 8px 8px 8px 26px; font-size: 1.02rem; gap: 14px; }

.button__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transition: transform 0.5s var(--ease-spring);
}

.button__icon svg { width: 16px; height: 16px; }

.button:hover .button__icon { transform: translate(2px, -2px) scale(1.06); }

.button--light { background: #fff; color: var(--color-primary); }
.button--light:hover { background: #fff; color: var(--color-primary-strong); box-shadow: 0 16px 34px -12px rgba(2,16,46,0.6); }
.button--light .button__icon { background: var(--color-primary); color: #fff; }

.header-cta {
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), background 0.3s var(--ease-out);
}

.button--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.button--outline:hover {
  background: rgba(0,74,173,0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

/* Tekstlink met pijl die meeschuift */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-heading);
  border-radius: 4px;
  transition: color 0.3s var(--ease-out);
}

.text-link svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-spring); }
.text-link:hover { color: var(--color-primary); }
.text-link:hover svg { transform: translateX(4px); }

/* Kleine label boven een kop; spaarzaam gebruiken */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

/* ---------- Cookiebanner ---------- */
.cookie-banner {
  position: fixed;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 100;
  max-width: 760px;
  margin-inline: auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(15,35,70,0.18);
  padding: var(--space-3);
  animation: page-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1 1 320px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cookie-banner p a { color: var(--color-primary); font-weight: 600; }

.cookie-banner__actions {
  display: flex;
  gap: var(--space-1);
  flex-shrink: 0;
}

.cookie-banner .button,
.cookie-banner .button--outline {
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* Op mobiel is de banner (tekst + 2 knoppen, gestapeld) hoog genoeg om de
   hero-CTA's er net onder volledig te bedekken bij een eerste bezoek.
   Compactere padding/tekst/knoppen houden 'm zo laag mogelijk. */
@media (max-width: 480px) {
  .cookie-banner {
    left: var(--space-1);
    right: var(--space-1);
    bottom: var(--space-1);
    padding: var(--space-2);
  }
  .cookie-banner__inner { gap: var(--space-2); }
  .cookie-banner p { font-size: 0.85rem; line-height: 1.4; flex-basis: 100%; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .button,
  .cookie-banner__actions .button--outline { flex: 1 1 0; padding: 9px 14px; font-size: 0.85rem; }
}

/* ---------- Kaarten (klantcases, diensten) ---------- */
.grid {
  display: grid;
  gap: var(--space-3);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: 0 1px 2px rgba(15,35,70,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15,35,70,0.1);
}

.card h3 { margin-bottom: var(--space-1); }

/* ---------- Diensten-pijlers (Centraliseren/Visualiseren/Automatiseren/Monitoren) ---------- */
.pillar {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: 0 1px 2px rgba(15,35,70,0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0,74,173,0.14);
}

.pillar__icon {
  transition: transform 0.25s ease;
}

.pillar:hover .pillar__icon {
  transform: scale(1.12) rotate(-4deg);
}

.pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,74,173,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.pillar__icon svg { width: 24px; height: 24px; }

.pillar h3 { margin-bottom: 8px; }


.case-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: block;
  box-shadow: 0 1px 2px rgba(15,35,70,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(15,35,70,0.14);
}

.case-card img { transition: transform 0.4s ease; }
.case-card:hover img { transform: scale(1.05); }

.case-card__media { position: relative; }
.case-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.case-card__body { padding: var(--space-2) var(--space-3) var(--space-3); }
.case-card__meta { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 4px; }
.case-card__date { color: var(--color-text-muted); font-size: 0.82rem; margin-bottom: 4px; }

.case-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(13, 15, 18, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Uitgelichte eerste case: breder en met groter beeld */
.case-card--featured { grid-column: span 2; }
.case-card--featured img { aspect-ratio: 21/9; }

@media (max-width: 780px) {
  .case-card--featured { grid-column: span 1; }
  .case-card--featured img { aspect-ratio: 4/3; }
}

/* ---------- Casussen-hero: mozaïek van klantschermen ---------- */
.case-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-hero-mosaic__main { grid-column: 1 / -1; }

.case-hero-mosaic__side {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-hero-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(15,35,70,0.14);
  transition: transform 0.4s ease;
}

.case-hero-mosaic img:hover { transform: translateY(-4px) scale(1.015); }

.case-hero-mosaic__main img { aspect-ratio: 16/9; }
.case-hero-mosaic__side img { aspect-ratio: 4/3; }



/* ---------- Contactformulier ---------- */
.form-field { margin-bottom: var(--space-2); }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-status {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status--success { color: #16794f; }
.form-status--error { color: #b3261e; }

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--color-border);
  font-weight: 500;
  color: var(--color-text);
}

.contact-info-row:first-of-type { border-top: none; padding-top: 0; }

a.contact-info-row:hover { color: var(--color-primary); }

.contact-info-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(0,74,173,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-info-icon svg { width: 18px; height: 18px; }

a.contact-info-row:hover .contact-info-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1.3fr repeat(3, 1fr);
  margin-bottom: var(--space-4);
}

.footer-grid h4 {
  color: var(--color-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.footer-grid ul { list-style: none; display: grid; gap: 8px; }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.text-block { max-width: 760px; margin-bottom: var(--space-4); }
.text-block:last-child { margin-bottom: 0; }

/* ---------- Juridische pagina's (voorwaarden, beleid) ---------- */
.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: var(--space-3);
}

.legal-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-bottom: var(--space-5);
}

.legal-toc h2 { font-size: 1.05rem; margin-bottom: var(--space-2); }

.legal-toc ol {
  columns: 2;
  column-gap: var(--space-4);
  list-style: none;
  counter-reset: toc;
}

.legal-toc li { counter-increment: toc; break-inside: avoid; margin-bottom: 8px; }

.legal-toc a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--color-primary);
  font-weight: 700;
}

.legal-toc a:hover { color: var(--color-primary); }

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

.legal-section {
  max-width: 760px;
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 90px;
}

.legal-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
  scroll-margin-top: 90px;
}

.legal-section h3 { font-size: 1.05rem; margin-top: var(--space-2); margin-bottom: 8px; }

.legal-section p { margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul,
.legal-section ol.legal-list {
  color: var(--color-text-muted);
  margin: 12px 0 12px 20px;
}

.legal-section li { margin-bottom: 6px; }

.legal-section a { color: var(--color-primary); font-weight: 600; }

.legal-note {
  background: var(--color-surface);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ---------- Video/afbeelding frames ---------- */
.media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Voor mockup-graphics die niet bijgesneden mogen worden (hele device zichtbaar houden) */
.media-frame--contain {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.media-frame--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.split .media-frame { aspect-ratio: 4 / 3; }

/* Varianten met een andere kolomverhouding (bv. tekst iets breder dan een
   foto) — als losse classes i.p.v. inline style, zodat de mobiele
   1-koloms-regel hieronder ze nog kan overschrijven. */
.split--text-wide { grid-template-columns: 1.3fr 1fr; }
.split--media-wide { grid-template-columns: 1fr 1.2fr; }

/* Losse, grote afbeelding zonder kader/box (bv. de dienst-illustraties) */
.media-standalone img {
  width: 100%;
  height: auto;
  display: block;
  /* PNG met echt transparante achtergrond (geen wit kaartje meer) — een
     zachte drop-shadow geeft de illustratie net genoeg diepte om als
     onderdeel van de pagina te voelen in plaats van los te zweven. */
  filter: drop-shadow(0 18px 34px rgba(15, 23, 42, 0.12));
  /* Positie/kanteling komen uit main.js (setupImageParallax): het plaatje kantelt
     en schuift zacht mee richting de muis. Zonder JS of op touch blijft 'ie gewoon staan. */
  transform: perspective(1100px) translate3d(var(--tx, 0px), var(--ty, 0px), 0)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  will-change: transform;
  transition: filter 0.4s ease;
}

.media-standalone img:hover {
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.16));
}

/* Voor echte foto's (team, kantoor) i.p.v. transparante illustraties:
   een nette ingekaderde "foto"-look met ronde hoeken en rand, geen
   drop-shadow-cutout die bedoeld is voor losse iconen/illustraties. */
.photo-frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(15,35,70,0.12);
  transition: transform 0.4s ease;
}

.photo-frame:hover { transform: translateY(-4px); }

@media (max-width: 860px) {
  .split, .split--text-wide, .split--media-wide { grid-template-columns: 1fr; }
}

/* ---------- Subpagina-hero (diensten, over ons) ---------- */
.page-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-block: var(--space-5) var(--space-5);
  background: var(--color-bg);
}

.page-hero__eyebrow {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.page-hero h1 { max-width: 760px; }
.page-hero__lede { max-width: 640px; font-size: 1.1rem; margin-top: var(--space-2); }

/* ---------- Tech-partner balk (Power BI / Azure / Defender) ---------- */
.tech-strip {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.tech-strip__item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tech-strip__item img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }

/* ---------- Klantcase: meta + afsluiting ---------- */
.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-block: var(--space-4);
}

.case-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.case-meta dd { font-weight: 700; color: var(--color-heading); }

.case-hero-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.case-hero-media img,
.case-hero-media video { width: 100%; display: block; max-height: 520px; object-fit: cover; }

/* ---------- Bullet-lijsten (diensten-pagina's) ---------- */
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--color-text);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Eye-catcher statrij ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

.stat-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  box-shadow: 0 1px 2px rgba(15,35,70,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15,35,70,0.1);
}

.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-item span { font-size: 0.9rem; color: var(--color-text-muted); }

/* ---------- Scroll-reveal ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* Kinderen van een grid/lijst schuiven één voor één naar binnen zodra de
   groep zelf in beeld scrolt (bv. de klantcase-kaarten, de pijler-iconen) —
   i.p.v. dat de hele sectie al is uitgefade voordat je er komt scrollen. */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-reveal.is-visible > * { opacity: 1; transform: translateY(0); }

.stagger-reveal.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-reveal.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-reveal.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.stagger-reveal.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger-reveal.is-visible > *:nth-child(6) { transition-delay: 0.34s; }
.stagger-reveal.is-visible > *:nth-child(7) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .stagger-reveal > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Werkwijze: stappen-grid ----------
   Bewust een compact grid i.p.v. een lange verticale tijdlijn: minder
   scrollen, meer visueel gewicht per stap (groot spookcijfer op de
   achtergrond van elke kaart). */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.process-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: 0 1px 2px rgba(15,35,70,0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15,35,70,0.1);
}

.process-card__num {
  position: absolute;
  top: -14px;
  right: 4px;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.08;
  pointer-events: none;
}

.process-card .pillar__icon { margin-bottom: var(--space-2); }
.process-card h3 { margin-bottom: 6px; }
.process-card p { position: relative; }

/* ---------- Klantcase-overzicht (casussen) ---------- */
.case-card__meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


/* ===========================================================
   THEMA: zakelijk IT-uiterlijk, sitebreed
   Dezelfde taal als de homepage: lichte pagina, fijn raster en gloed in
   de hero, hairlines i.p.v. zware randen, Geist + Geist Mono, één accent.
   Staat bewust onderaan zodat het de oudere regels hierboven overschrijft.
   =========================================================== */
:root {
  --color-surface: #f4f7fc;
  --color-border: #e1e8f3;
  --max-width: 1200px;
  --radius-md: 22px;
}

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* Header: rustiger, met een hairline en iets meer ademruimte */
.site-header { background: rgba(255,255,255,0.88); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--color-border); }
.logo img { height: 64px; }

/* Label boven koppen: mono, zonder hoofdletters */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

/* ---------- Subpagina-hero: raster + gloed ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: visible;
  padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px);
  background: var(--color-bg);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-hero::before {
  background-image:
    linear-gradient(to right, rgba(0,74,173,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,74,173,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 90% at 78% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 90% at 78% 40%, #000 0%, transparent 78%);
}

.page-hero::after {
  background:
    radial-gradient(46% 60% at 78% 40%, rgba(0,74,173,0.13), transparent 70%),
    radial-gradient(30% 40% at 100% 100%, rgba(80,140,230,0.1), transparent 70%);
  /* zacht uitlopen naar de volgende sectie i.p.v. een harde onderrand */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 3.9vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 17ch;
  margin-bottom: 0;
}

.page-hero__lede { max-width: 46ch; font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.55; margin-top: var(--space-3); }

.page-hero .check-list { margin-top: var(--space-4) !important; }
.page-hero .button { margin-top: var(--space-4) !important; }

/* Hero met een product-visual rechts */
.page-hero .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); }
.page-hero__visual { min-width: 0; }

/* Hero's zonder visual (klantcases, juridisch): langere koppen mogen breder */
.page-hero .container.hero-reveal > h1 { max-width: 28ch; }

/* Gecentreerde hero's (werkwijze, 404) */
.page-hero .container[style*="text-align:center"] h1 { margin-inline: auto; max-width: 20ch; }

/* ---------- Lijsten, cijfers, kaders ---------- */
.check-list { gap: 12px; }
.check-list li::before {
  width: 22px;
  height: 22px;
  background: var(--color-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004aad' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.stat-row { gap: 0; border-block: 1px solid var(--color-border); }
.stat-item {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  padding: clamp(24px, 3.5vw, 48px) clamp(16px, 2.5vw, 40px);
}
.stat-item + .stat-item { border-left: 1px solid var(--color-border); }
.stat-item:hover { transform: none; box-shadow: none; }
.stat-item strong { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.04em; color: var(--color-heading); margin-bottom: 10px; }
.stat-item span { font-size: 0.95rem; }

@media (max-width: 640px) {
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--color-border); }
}

.card, .testimonial {
  background: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-soft);
}
.card:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-soft); }

.pillar {
  border: none;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07);
  padding: var(--space-4) var(--space-3);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s var(--ease-spring);
}
.pillar:hover { border-color: transparent; transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(0,74,173,0.16), var(--shadow-lift); }
.pillar__icon { background: var(--color-primary-soft); border-radius: 14px; }

.media-frame {
  border: none;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-lift);
}

.photo-frame {
  border: none;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-lift);
  transition: transform 0.7s var(--ease-spring);
}

/* ---------- Casussen en klantcases ---------- */
.case-card {
  display: block;
  padding: 6px;
  border: none;
  border-radius: 28px;
  background: #f3f6fb;
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.06);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring), background 0.4s var(--ease-out);
}
.case-card:hover { transform: translateY(-4px); background: #edf2fa; box-shadow: inset 0 0 0 1px rgba(0,74,173,0.14), var(--shadow-lift); }
.case-card__media { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(6,20,46,0.08); }
.case-card img { transition: transform 1.1s var(--ease-out); }
.case-card:hover img { transform: scale(1.045); }
.case-card__body { padding: 16px 16px 12px 18px; }
.case-card__body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.case-card__date { font-family: var(--font-mono); font-size: 0.78rem; }

.case-hero-mosaic img { border: none; border-radius: 20px; box-shadow: 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-soft); }

.case-meta {
  background: none;
  border: none;
  border-radius: 0;
  border-block: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  margin-block: var(--space-5) var(--space-4);
}
.case-meta dt { font-family: var(--font-mono); font-size: 0.78rem; text-transform: none; letter-spacing: 0.02em; }
.case-meta dd { font-weight: 600; }

.case-hero-media { border: none; border-radius: 28px; box-shadow: 0 0 0 1px rgba(6,20,46,0.07), var(--shadow-lift); }

/* ---------- Werkwijze ---------- */
.process-grid { gap: 20px; counter-reset: none; }
.process-card {
  background: #fff;
  border: none;
  border-radius: 24px;
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.process-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(0,74,173,0.16), var(--shadow-lift); }
.process-card__num {
  position: static;
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 1;
  color: var(--color-primary);
}
.process-card .pillar__icon { margin-bottom: var(--space-2); }

/* ---------- Formulier en contact ---------- */
.form-field label { font-weight: 500; letter-spacing: -0.005em; }
.form-field input,
.form-field textarea {
  border-radius: 12px;
  border: none;
  box-shadow: inset 0 0 0 1px #cfd9ea;
  padding: 13px 15px;
  transition: box-shadow 0.3s var(--ease-out);
}
.form-field input:focus-visible,
.form-field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--color-primary), 0 0 0 4px rgba(0,74,173,0.14); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding-block: var(--space-6) var(--space-5); background: var(--color-surface); border-top: none; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; text-transform: none; letter-spacing: 0.02em; color: var(--color-text-muted); }
.footer-grid a { transition: color 0.3s var(--ease-out); }
.footer-grid a:hover { color: var(--color-primary); }

/* ---------- Juridische pagina's ---------- */
.legal-toc { background: #fff; border: none; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07); }
.legal-note { border-radius: 16px; }

@media (max-width: 899px) {
  .page-hero .split { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: none; }
}

/* Grid-kinderen mogen krimpen (anders duwt een breed onderdeel de kolom open op mobiel) */
.split > * { min-width: 0; }
.split__visual { min-width: 0; }

/* ---------- Klantkaarten: allemaal gelijk, met logo i.p.v. foto ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.case-card { display: flex; flex-direction: column; height: 100%; }

.case-card__logo {
  display: grid;
  place-items: center;
  height: clamp(150px, 14vw, 190px);
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(0,74,173,0.05), transparent 70%),
    #fff;
  box-shadow: 0 1px 2px rgba(6,20,46,0.08);
}

.case-card .case-card__logo img {
  width: auto;
  height: auto;
  aspect-ratio: auto;
  max-width: 80%;
  max-height: 58px;
  object-fit: contain;
  transition: transform 0.9s var(--ease-out);
}

.case-card:hover .case-card__logo img { transform: scale(1.06); }

.case-card .case-card__body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px 64px 16px 18px;
}

.case-card__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.case-card__meta-line span:last-child { color: var(--color-primary); }
.case-card__body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.case-card__body p { font-size: 0.95rem; line-height: 1.5; }

.case-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-border);
  transition: transform 0.6s var(--ease-spring), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.case-card__arrow svg { width: 16px; height: 16px; }
.case-card:hover .case-card__arrow { background: var(--color-primary); color: #fff; transform: translate(2px, -2px); }
.case-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }

@media (max-width: 1023px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; gap: 16px; } .case-card__logo { height: 140px; } }

/* ---------- Werkwijze: tijdlijn met meescrollende lijn ---------- */
.wz__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
}

.wz__side { position: sticky; top: 140px; }
.wz__side h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: var(--space-2); max-width: 12ch; }
.wz__side p { max-width: 36ch; font-size: 1.08rem; }

.wz__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }

.wz__step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding-bottom: 20px;
}

.wz__step::before,
.wz__step::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -4px;
  width: 2px;
  border-radius: 2px;
}
.wz__step::before { background: #d6e0f0; }
.wz__step::after { background: var(--color-primary); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease-out) 0.3s; }
.wz__step:last-child::before,
.wz__step:last-child::after { display: none; }
.wz__step.is-live::after { transform: scaleY(1); }

.wz__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #cdd9ee;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), transform 0.7s var(--ease-spring);
}

.wz__step.is-live .wz__num { background: var(--color-primary); color: #fff; box-shadow: 0 10px 22px -8px rgba(0,74,173,0.6); transform: scale(1.04); }

.wz__card {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.07);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring), opacity 0.9s var(--ease-out);
}

.wz__card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0,74,173,0.16), var(--shadow-lift); }
.wz__card .pillar__icon { margin-bottom: var(--space-2); }
.wz__card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.wz__card p { max-width: 52ch; }

.ui-armed .wz__step:not(.is-live) .wz__card { opacity: 0; transform: translateY(28px); }

@media (max-width: 899px) {
  .wz__grid { grid-template-columns: 1fr; }
  .wz__side { position: static; }
  .wz__step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .wz__num { width: 40px; height: 40px; font-size: 0.78rem; }
  .wz__step::before, .wz__step::after { left: 19px; top: 40px; }
}

/* ---------- Over ons ---------- */
.about-hero { align-items: center; }
.about-hero h1 { max-width: 14ch; }

.about-photo {
  position: relative;
  padding: 6px;
  border-radius: 32px;
  background: linear-gradient(180deg, #eef3fb, #e3ebf7);
  box-shadow: inset 0 0 0 1px rgba(6,20,46,0.06), var(--shadow-lift);
  overflow: hidden;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  filter: grayscale(1) contrast(1.02);
  transition: transform 1.4s var(--ease-out);
}

.about-photo:hover img { transform: scale(1.025); }

/* Portretfoto in de hero: niet hoger dan het scherm */
.about-hero .about-photo { max-width: 460px; margin-left: auto; width: 100%; }
.about-hero .about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }

.about-statement { padding-block: clamp(72px, 9vw, 128px); }
.about-statement blockquote { max-width: 980px; margin-inline: auto; border: none; padding: 0; }
.about-statement p {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-heading);
  text-wrap: balance;
}
.about-statement footer { margin-top: var(--space-3); font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-text-muted); }

.about-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-mission h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: var(--space-2); max-width: 14ch; }
.about-mission p { font-size: 1.1rem; max-width: 42ch; }

.about-title { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 18ch; margin-bottom: var(--space-5); }

.about-team { padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.about-team__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-team .about-title { margin-bottom: var(--space-4); }
.about-photo--team { max-width: 480px; }
.about-photo--team img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 58% 10%; }
.about-team__people { display: grid; gap: 0; border-top: 1px solid var(--color-border); }
.about-person { padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }

.about-person h3 { font-size: 1.6rem; letter-spacing: -0.035em; }
.about-person__role { font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-primary); margin-top: 6px; }
.about-person__from { font-size: 0.9rem; color: var(--color-text-muted); margin-top: 2px; }
.about-person p:last-child { margin-top: var(--space-2); max-width: 40ch; }

.about-values { list-style: none; border-top: 1px solid #d3deef; }
.about-values li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #d3deef; font-weight: 500; color: var(--color-heading); }
.about-values span { font-family: var(--font-mono); font-size: 0.82rem; color: var(--color-primary); padding-top: 2px; }

.about-links { padding-block: clamp(36px, 5vw, 64px); }
.about-links__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); flex-wrap: wrap; }
.about-links p { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--color-heading); }
.about-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.about-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; color: var(--color-heading);
  box-shadow: inset 0 0 0 1px var(--color-border);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.about-links a svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease-spring); }
.about-links a:hover { background: var(--color-primary); color: #fff; box-shadow: none; }
.about-links a:hover svg { transform: translateX(3px); }
.about-links a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

@media (max-width: 899px) {
  .about-hero .about-photo { margin-inline: 0; max-width: 420px; }
  .about-mission { grid-template-columns: 1fr; }
  .about-team__grid { grid-template-columns: 1fr; }
  .about-photo--team { max-width: 420px; }
}
