/* ==========================================================================
   SEB Digital - styles.css
   Eén bestand. Tokens bovenaan, daarna basis, layout, componenten, secties.
   Mobile-first: alles is ontworpen rond 380px en schaalt op via min-width.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   Centraal systeem. Wijzig hier, niet verspreid door het bestand.
   -------------------------------------------------------------------------- */
:root {
  /* Kleuren -------------------------------------------------------------- */
  --bg:          #FBFBFD;  /* bijna-wit, paginafond */
  --surface:     #FFFFFF;  /* kaarten en panelen */
  --ink:         #0E1116;  /* bijna-zwart, primaire tekst */
  --ink-soft:    #5A6170;  /* secundaire tekst */
  --ink-faint:   #9AA0AC;  /* labels, meta */
  --blue:        #2F6BFF;  /* rustig accent, spaarzaam */
  --blue-deep:   #1E3A8A;  /* hover en diepe nadruk */
  --blue-wash:   #EEF3FF;  /* zachte accentvlakken */
  --line:        #E7E9EF;  /* haarlijnen en borders */
  --line-strong: #D5D9E2;

  /* Typografie ---------------------------------------------------------- */
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;

  /* Type-schaal (mobile). Desktop schaalt via clamp in de utilities. */
  --t-xs:   0.8125rem;  /* 13px */
  --t-sm:   0.9375rem;  /* 15px */
  --t-base: 1.0625rem;  /* 17px */
  --t-md:   1.25rem;    /* 20px */
  --t-lg:   1.5rem;     /* 24px */
  --t-xl:   2rem;       /* 32px */
  --t-2xl:  2.75rem;    /* 44px */
  --t-3xl:  clamp(2.75rem, 9vw, 5rem); /* hero display */

  --leading-tight: 1.05;
  --leading-snug:  1.2;
  --leading-body:  1.6;

  /* Spacing op 8-grid (plus enkele 4-stappen) -------------------------- */
  --s-1:  0.25rem;  /* 4 */
  --s-2:  0.5rem;   /* 8 */
  --s-3:  0.75rem;  /* 12 */
  --s-4:  1rem;     /* 16 */
  --s-5:  1.5rem;   /* 24 */
  --s-6:  2rem;     /* 32 */
  --s-7:  3rem;     /* 48 */
  --s-8:  4rem;     /* 64 */
  --s-9:  6rem;     /* 96 */

  /* Vorm en diepte ------------------------------------------------------ */
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.04),
               0 2px 8px rgba(14, 17, 22, 0.04);
  --shadow-md: 0 8px 30px rgba(14, 17, 22, 0.08);
  --shadow-blue: 0 10px 30px rgba(47, 107, 255, 0.22);

  /* Maatvoering --------------------------------------------------------- */
  --maxw:    1120px;
  --gutter:  var(--s-5);

  /* Beweging ------------------------------------------------------------ */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.4s;
}

/* --------------------------------------------------------------------------
   2. RESET / BASIS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent; /* geen grijze flits bij tap, app-gevoel */
}

/* Vloeiende cross-fade tussen pagina's in browsers die het ondersteunen */
@view-transition { navigation: auto; }

body {
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

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

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

input, textarea, select { font: inherit; color: inherit; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-link voor toetsenbordgebruikers */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. LAYOUT-HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--s-8);
}

/* Laat ankers netjes onder de vaste header landen bij smooth-scrollen */
section[id],
[id="top"] {
  scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px));
}
@media (min-width: 768px) {
  .section { padding-block: var(--s-9); }
}

.section__head {
  max-width: 60ch;
  margin-bottom: var(--s-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue);
}

/* --------------------------------------------------------------------------
   4. TYPOGRAFIE-UTILITIES
   -------------------------------------------------------------------------- */
.h-display {
  font-size: var(--t-3xl);
  line-height: var(--leading-tight);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h-1 {
  font-size: clamp(1.9rem, 5vw, var(--t-2xl));
  line-height: var(--leading-snug);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.h-2 {
  font-size: var(--t-xl);
  line-height: var(--leading-snug);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h-3 {
  font-size: var(--t-md);
  line-height: var(--leading-snug);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lede {
  font-size: var(--t-md);
  color: var(--ink-soft);
  line-height: 1.5;
}
.muted { color: var(--ink-soft); }
.text-balance { text-wrap: balance; }

/* --------------------------------------------------------------------------
   5. KNOPPEN (één CTA-pad door de site)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;            /* tap-target ruim boven 44px */
  padding: 0 var(--s-5);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--t-base);
  letter-spacing: -0.01em;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn--block { width: 100%; }

.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. HEADER / NAVIGATIE
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.86); /* fallback als color-mix niet ondersteund is */
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px); /* respecteer de notch */
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: var(--t-md);
}
.brand .mark {
  width: 26px;
  height: 26px;
  flex: none;
}

/* Rechtergroep in de header: taalwisselaar + CTA */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

/* Taalwisselaar (NL / EN / FR), zichtbaar op mobiel en desktop */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.lang-switch button {
  min-width: 36px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button:active { transform: scale(0.94); }
.lang-switch button.is-active { background: var(--blue); color: #fff; }

/* Desktop-links verborgen op mobiel */
.nav__links { display: none; }
.nav__cta   { display: none; }

@media (min-width: 880px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: var(--s-6);
  }
  .nav__links a {
    position: relative;
    font-size: var(--t-sm);
    color: var(--ink-soft);
    font-weight: 500;
    transition: color var(--dur) var(--ease);
  }
  .nav__links a:hover { color: var(--ink); }
  /* Actieve sectie: blauw met een streepje dat openveegt */
  .nav__links a.is-active { color: var(--blue); }
  .nav__links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform-origin: left center;
    animation: nav-underline 0.32s var(--ease);
  }
  .nav__cta { display: inline-flex; }
}

@keyframes nav-underline {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* App-onderbalk (tab bar), alleen op mobiel. Zwevend, frosted, met
   safe-area voor toestellen met een notch. Duimvriendelijk onderaan. */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 34px rgba(14, 17, 22, 0.16);
  max-width: calc(100vw - 24px);
  user-select: none;
  /* Verborgen tot men begint te scrollen; komt dan van onder omhoog */
  transform: translate(-50%, calc(100% + 24px));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease),
              opacity 0.45s var(--ease),
              visibility 0.45s var(--ease);
}
.tabbar.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.tabbar__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 52px;
  height: 48px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease),
              background 0.3s var(--ease),
              transform 0.18s var(--ease);
}
.tabbar__item .icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--ease);
}
.tabbar__item:active { transform: scale(0.9); }
.tabbar__item.is-active { color: var(--blue); }
.tabbar__item.is-active .icon { transform: translateY(-1px); }

/* Primaire actie krijgt nadruk in de balk */
.tabbar__item--cta {
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.tabbar__item--cta.is-active { color: #fff; }
.tabbar__item--cta .icon { width: 20px; height: 20px; }

/* Heel smalle schermen: nog compacter zodat langere talen passen */
@media (max-width: 360px) {
  .tabbar { gap: 2px; padding: 5px; }
  .tabbar__item { min-width: 48px; padding: 0 4px; font-size: 10px; }
  .tabbar__item--cta { padding: 0 12px; }
}

@media (min-width: 880px) {
  .tabbar { display: none; }
}

/* --------------------------------------------------------------------------
   7. HERO  (signatuurelement: de "lens" / eerste-persoon focus)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: var(--s-5);
  padding-bottom: var(--s-8);
  overflow: hidden;
}

/* Subtiele, traag driftende gloed als achtergrond. Een hint van het
   premium gevoel uit de donkere "Waarom SEB" sectie, met blauw accent. */
.hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 0;
  background:
    radial-gradient(38% 38% at 18% 22%, rgba(47, 107, 255, 0.12), transparent 68%),
    radial-gradient(32% 32% at 86% 16%, rgba(47, 107, 255, 0.09), transparent 70%),
    radial-gradient(42% 42% at 72% 88%, rgba(30, 58, 138, 0.08), transparent 72%);
  pointer-events: none;
  animation: hero-aurora 20s ease-in-out infinite alternate;
}
@keyframes hero-aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, -2.5%, 0) scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 1; /* inhoud boven de gloed */
  display: grid;
  gap: var(--s-7);
}

/* Cirkel onder de herotekst */
.hero__visual { order: 0; }

.hero__title {
  margin-bottom: var(--s-5);
}
.hero__title .focus-word {
  position: relative;
  color: var(--blue);
}

.hero__sub {
  max-width: 46ch;
  margin-bottom: var(--s-6);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
/* Knoppen vullen de volle breedte op mobiel, zodat de rechterrand van
   "Bekijk mijn werk" gelijkloopt met de rechts uitgelijnde social-badges */
.hero__actions .btn { width: 100%; }
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; align-items: center; }
  .hero__actions .btn { width: auto; }
}

.hero__meta {
  margin-top: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}

/* Social-badges in de hero: donkere badge met het logo in eigen kleur,
   rechts uitgelijnd zodat ze opvallen */
.hero__socials {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-3);
  margin: 0 0 var(--s-6); /* zelfde tussenruimte als rond de CTA-knoppen */
}
.social-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--ink);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              filter var(--dur) var(--ease);
}
.social-badge svg { width: 22px; height: 22px; }
.social-badge--fb { color: #1877F2; } /* kleurt het "f"-logo via currentColor */
.social-badge:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: brightness(1.12);
}
.social-badge:active { transform: scale(0.96); }
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.16);
  flex: none;
}

/* De lens: één rustige cirkel die de POV-hoek vertelt.
   Bevat de vier diensten als "scherpstelpunten". CSS-only, geen media. */
.lens {
  position: relative;
  /* compacter op mobiel zodat de cirkel + een stuk titel meteen in beeld
     passen; de labels op de rand blijven binnen de pagina */
  width: min(62vw, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, var(--blue-wash), transparent 62%),
    conic-gradient(from 210deg, #fff, #f3f5fb, #fff);
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 6px 40px rgba(14, 17, 22, 0.05),
    var(--shadow-md);
  isolation: isolate;
}
.lens::before {
  /* binnenring = diafragma */
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, #fff, #fafbff);
  box-shadow: inset 0 2px 24px rgba(14,17,22,0.05);
  z-index: 1;
}

/* Zachte blauwe gloed die ademt rond de lens */
.lens__glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.26), transparent 64%);
  filter: blur(12px);
  animation: lens-glow 8s ease-in-out infinite;
}

/* Gerichte blauwe kegel die naar het actieve onderwerp wijst (boven = 0deg).
   JavaScript draait de beam in stappen van 90deg naar elke dienst. */
.lens__beam {
  position: absolute;
  inset: -4%;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -55deg,
    transparent 0deg,
    rgba(47, 107, 255, 0.12) 25deg,
    rgba(47, 107, 255, 0.55) 55deg,
    rgba(47, 107, 255, 0.12) 85deg,
    transparent 110deg
  );
  -webkit-mask: radial-gradient(circle closest-side, transparent 12%, #000 78%);
          mask: radial-gradient(circle closest-side, transparent 12%, #000 78%);
  filter: blur(6px);
  transform: rotate(0deg);
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes lens-glow {
  0%, 100% { opacity: 0.5;  transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.05); }
}
@keyframes lens-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -5px; }
}
@keyframes glasses-pulse {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(-2px); }
}
.lens__core {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--s-5);
}
.lens__pov {
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-2);
}
.lens__line {
  font-size: clamp(1.05rem, 5.5vw, var(--t-lg));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lens__glasses {
  width: 64px;
  margin: 0 auto var(--s-3);
  color: var(--blue);
  animation: glasses-pulse 4s ease-in-out infinite;
}

/* Diensten als labels op de ring */
.lens__tag {
  position: absolute;
  z-index: 3;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(14, 17, 22, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transition: background 0.3s var(--ease),
              color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              scale 0.3s var(--ease);
}

/* Actief onderwerp: het blauwe accent landt hier */
.lens__tag.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.14),
              0 10px 24px rgba(47, 107, 255, 0.42);
  scale: 1.12;
  z-index: 4;
  animation-play-state: paused; /* houdt het zweven even stil terwijl het actief is */
}

/* Hover maakt het effect nog prominenter op precies dat onderwerp */
.lens__tag:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 7px rgba(47, 107, 255, 0.18),
              0 12px 28px rgba(47, 107, 255, 0.5);
  scale: 1.2;
  z-index: 5;
  cursor: default;
}
/* zweven via de losse translate-eigenschap, zodat transform vrij blijft
   voor het centreren van tag 1 en 3 */
/* Elk label exact gecentreerd op een hoofdpunt van de cirkel (12/3/6/9 uur) */
.lens__tag--1 { top: 0;    left: 50%; transform: translate(-50%, -50%); animation: lens-float 5s ease-in-out infinite; }
.lens__tag--2 { top: 50%;  right: 0;  transform: translate(50%, -50%);  animation: lens-float 5s ease-in-out 0.6s infinite; }
.lens__tag--3 { bottom: 0; left: 50%; transform: translate(-50%, 50%);  animation: lens-float 5s ease-in-out 1.2s infinite; }
.lens__tag--4 { top: 50%;  left: 0;   transform: translate(-50%, -50%); animation: lens-float 5s ease-in-out 1.8s infinite; }

@media (min-width: 880px) {
  .hero { padding-top: var(--s-7); }
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--s-8);
  }
  .hero__visual { order: 0; } /* terug naast de tekst op desktop */
  .lens { width: min(38vw, 460px); }
}

/* --------------------------------------------------------------------------
   8. DIENSTEN
   -------------------------------------------------------------------------- */
/* Twee kolommen op mobiel: compacter, levendiger en app-achtig */
.services__grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
/* zacht blauw schijnsel dat opkomt bij hover */
.service-card::before {
  content: "";
  position: absolute;
  right: -40%;
  bottom: -55%;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, var(--blue-wash), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.service-card:hover::before { opacity: 1; }
.service-card:active { transform: scale(0.99); }

.service-card__num {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* icoon in een getint badge dat blauw wordt bij hover */
.service-card__icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  margin: 0;
  border-radius: 14px;
  background: var(--blue-wash);
  color: var(--blue);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}

.service-card h3 { position: relative; }
.service-card p  { position: relative; color: var(--ink-soft); font-size: var(--t-sm); }

/* Tablet: ruimere kaarten */
@media (min-width: 600px) {
  .services__grid { gap: var(--s-4); }
  .service-card { padding: var(--s-6); gap: var(--s-3); }
  .service-card__num { top: var(--s-6); right: var(--s-6); }
  .service-card__icon {
    width: 52px;
    height: 52px;
    padding: 13px;
    margin-bottom: var(--s-2);
    border-radius: 16px;
  }
}
/* Breed scherm: vier op een rij */
@media (min-width: 980px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   9. UITGELICHT WERK
   -------------------------------------------------------------------------- */
.featured__card {
  display: grid;
  gap: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--s-6);
}
@media (min-width: 880px) {
  .featured__card {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: var(--s-7);
    gap: var(--s-8);
  }
}

.featured__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-wash), #fff);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }

/* nette plekhouder zolang het echte beeld ontbreekt */
.media-placeholder {
  text-align: center;
  color: var(--ink-faint);
  font-size: var(--t-sm);
  padding: var(--s-5);
}
.media-placeholder strong { display: block; color: var(--ink-soft); }

.featured__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-wash);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-4);
}
.featured__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin: var(--s-5) 0;
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.stat__num {
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat__label { font-size: var(--t-xs); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   10. WAAROM SEB (signatuurverhaal: de bril / eerste persoon)
   -------------------------------------------------------------------------- */
.why {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-5);
}
@media (min-width: 880px) {
  .why { padding: var(--s-9) var(--s-8); }
}
.why .eyebrow { color: #8FB0FF; }
.why .eyebrow::before { background: #8FB0FF; }
.why h2 { color: #fff; }
.why p { color: rgba(255,255,255,0.72); }

.why__grid {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
@media (min-width: 760px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
.why__point {
  padding: var(--s-5);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.why__point h3 { color: #fff; margin-bottom: var(--s-2); }
.why__point .icon { width: 32px; height: 32px; color: #8FB0FF; margin-bottom: var(--s-4); }

/* --------------------------------------------------------------------------
   11. SOCIAL PROOF
   -------------------------------------------------------------------------- */
.quote {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(1.35rem, 4vw, var(--t-xl));
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.quote__mark {
  font-size: 3rem;
  color: var(--blue);
  line-height: 0.5;
  display: block;
  margin-bottom: var(--s-4);
}
.quote figcaption {
  margin-top: var(--s-5);
  color: var(--ink-soft);
  font-size: var(--t-sm);
}
.quote figcaption strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   12. CONTACT / FORMULIER
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 880px) {
  .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); }
}

.contact__aside .lede { margin: var(--s-4) 0 var(--s-6); }
.contact__list li {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.contact__list .icon { width: 20px; color: var(--blue); flex: none; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) {
  .form { padding: var(--s-7); }
}

.field { margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.field .req { color: var(--blue); }

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--blue-wash);
}

/* validatiestatus, gestuurd vanuit JS */
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #E0453B;
  box-shadow: 0 0 0 4px rgba(224, 69, 59, 0.12);
}
.field__error {
  display: none;
  margin-top: var(--s-2);
  font-size: var(--t-xs);
  color: #C2362D;
}
.field.is-invalid .field__error { display: block; }

.form__row { display: grid; gap: 0; }
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}

.form__foot {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.form__note { font-size: var(--t-xs); color: var(--ink-faint); }

/* honeypot: onzichtbaar veld tegen spam, niet voor mensen */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* bevestiging en foutmelding na verzenden */
.form__status {
  display: none;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--radius);
  font-size: var(--t-sm);
  margin-bottom: var(--s-5);
}
.form__status .icon { width: 22px; flex: none; margin-top: 2px; }
.form__status.is-visible { display: flex; }
.form__status--ok {
  background: #ECF8F0;
  border: 1px solid #BfE6CC;
  color: #1B6B3A;
}
.form__status--error {
  background: #FDECEA;
  border: 1px solid #F6C7C2;
  color: #B23A30;
}

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* --------------------------------------------------------------------------
   13. RUIMTE VOOR DE APP-ONDERBALK
   Zodat de zwevende balk onderaan niets afdekt op mobiel.
   -------------------------------------------------------------------------- */
@media (max-width: 879px) {
  .site-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 104px);
  }
}

/* --------------------------------------------------------------------------
   14. PORTFOLIO-PAGINA
   -------------------------------------------------------------------------- */
.portfolio-hero { padding-block: var(--s-8) var(--s-6); }

.filters {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}
.filter {
  min-height: 44px;
  padding: 0 var(--s-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter:active { transform: scale(0.94); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.work-grid {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 620px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-card:active { transform: scale(0.99); }
.work-card__media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--blue-wash), #fff);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.work-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.work-card__tags { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.tag {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-wash);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.work-card h3 { font-size: var(--t-md); }
.work-card p { font-size: var(--t-sm); color: var(--ink-soft); }
.work-card__link {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.empty-state {
  text-align: center;
  padding: var(--s-8) var(--s-4);
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   15. CTA-BLOK + FOOTER
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  background: linear-gradient(160deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-5);
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 48ch; margin: 0 auto var(--s-6); }
.cta-band .btn--primary {
  background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-md);
}
.cta-band .btn--primary:hover { background: #fff; color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-7);
  margin-top: var(--s-8);
}
.footer__grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
@media (min-width: 720px) {
  .footer__grid { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer__nav { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer__nav a { font-size: var(--t-sm); color: var(--ink-soft); }
.footer__nav a:hover { color: var(--ink); }
.footer__legal { font-size: var(--t-xs); color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   16. SCROLL-REVEAL (signatuur: "scherpstellen" van blur naar focus)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease),
              transform 0.7s var(--ease),
              filter 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Respecteer voorkeur voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}
