/* verzendkosten.com: stijl
   Moderne CSS zonder build-stap: cascade layers, nesting, oklch, light-dark(), container queries, :has(),
   scroll-gedreven animaties (met fallback), view transitions en @property. Alles respecteert prefers-reduced-motion. */

@layer reset, tokens, basis, layout, componenten, animaties;

/* ───────────── Lettertype ───────────── */
@font-face {
  font-family: "Allo";
  src: url("../fonts/allo-variabel.woff2") format("woff2-variations"), url("../fonts/allo-variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Rondheid (ROND-as van Allo) als animeerbare eigenschap */
@property --rond { syntax: "<number>"; inherits: true; initial-value: 50; }
@property --getal { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --hoek { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@view-transition { navigation: auto; }

/* ───────────── Reset ───────────── */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; interpolate-size: allow-keywords; }
  img, svg { display: block; max-width: 100%; }
  input, button, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
  a { color: inherit; }
}

/* ───────────── Tokens ───────────── */
@layer tokens {
  :root {
    color-scheme: light dark;

    /* Merkkleuren */
    --tape: oklch(68% 0.21 40);          /* oranje plakband */
    --tape-diep: oklch(60% 0.2 38);
    --kraft: oklch(81% 0.09 70);         /* karton */
    --kraft-diep: oklch(66% 0.11 62);
    --munt: oklch(72% 0.13 180);         /* frisse tweede kleur */

    /* Thema (licht / donker) */
    --papier: light-dark(oklch(98.2% 0.008 80), oklch(17% 0.03 255));
    --oppervlak: light-dark(oklch(100% 0 0), oklch(21.5% 0.032 255));
    --oppervlak-2: light-dark(oklch(95.5% 0.014 75), oklch(25% 0.035 255));
    --inkt: light-dark(oklch(22% 0.04 255), oklch(95% 0.01 250));
    --inkt-zacht: light-dark(oklch(45% 0.03 255), oklch(76% 0.025 250));
    --lijn: light-dark(oklch(22% 0.04 255 / 0.1), oklch(95% 0.01 250 / 0.12));
    --gratis-bg: light-dark(oklch(94% 0.06 165), oklch(72% 0.13 170 / 0.16));
    --gratis-tekst: light-dark(oklch(42% 0.1 165), oklch(85% 0.12 170));
    --kosten-bg: light-dark(oklch(95% 0.04 50), oklch(68% 0.21 40 / 0.16));
    --kosten-tekst: light-dark(oklch(48% 0.15 40), oklch(84% 0.12 50));
    --schaduw: light-dark(oklch(22% 0.04 255 / 0.08), oklch(0% 0 0 / 0.45));

    /* Maten */
    --breedte: 1200px;
    --rand: clamp(16px, 4vw, 40px);
    --radius: 22px;
    --radius-s: 12px;
    --ease-veer: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-uit: cubic-bezier(0.22, 1, 0.36, 1);
  }
  :root[data-thema="licht"] { color-scheme: light; }
  :root[data-thema="donker"] { color-scheme: dark; }
}

/* ───────────── Basis ───────────── */
@layer basis {
  body {
    font-family: "Allo", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    font-variation-settings: "ROND" var(--rond);
    font-optical-sizing: auto;
    color: var(--inkt);
    background: var(--papier);
    -webkit-font-smoothing: antialiased;
  }
  /* ROND per element toepassen: font-variation-settings erft als berekende waarde, --rond niet vanzelf */
  :where(*) { font-variation-settings: "ROND" var(--rond); }
  h1, h2, h3 {
    line-height: 1.05;
    letter-spacing: -0.022em;
    font-weight: 820;
    text-wrap: balance;
    --rond: 80;
  }
  h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
  h3 { font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 720; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--tape); color: oklch(22% 0.04 255); }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .overslaan {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--inkt); color: var(--papier); padding: .6rem 1rem; border-radius: 10px;
    &:focus { top: 1rem; }
  }
  .getal-tab { font-variant-numeric: tabular-nums; }
}

/* ───────────── Layout ───────────── */
@layer layout {
  .wrap { width: min(100% - 2 * var(--rand), var(--breedte)); margin-inline: auto; }
  section { padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: 80px; }
  .sectiekop {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 2rem;
    margin-bottom: clamp(28px, 4vw, 48px);
    & p { color: var(--inkt-zacht); max-width: 46ch; }
  }
  .bovenkop {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--tape-diep); margin-bottom: .8rem;
    &::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
  }
}

/* ───────────── Componenten ───────────── */
@layer componenten {

  /* Prototype-lint */
  .prototype {
    background: repeating-linear-gradient(-45deg, var(--tape) 0 14px, var(--tape-diep) 14px 28px);
    color: oklch(20% 0.04 255);
    font-size: .82rem; font-weight: 700; text-align: center; padding: .4rem var(--rand);
  }

  /* Kop */
  .kop {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklch, var(--papier) 78%, transparent);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid transparent;
    & .wrap { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
  }
  .logo {
    display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
    font-weight: 850; font-size: 1.28rem; letter-spacing: -0.04em; --rond: 100;
    transition: --rond .5s var(--ease-uit);
    & svg { width: 46px; height: auto; overflow: visible; }
    & .com { color: var(--tape-diep); font-weight: 600; }
    &:hover { --rond: 0; }
  }
  .nav {
    display: flex; gap: .3rem; margin-left: auto;
    & a {
      text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--inkt-zacht);
      padding: .5rem .85rem; border-radius: 999px; transition: background .2s, color .2s;
      &:hover { background: var(--oppervlak-2); color: var(--inkt); }
    }
  }
  .thema-knop {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--lijn); background: var(--oppervlak);
    & svg { width: 20px; height: 20px; }
  }
  @media (max-width: 760px) { .nav { display: none; } .thema-knop { margin-left: auto; } }

  /* Hero */
  .hero {
    position: relative; overflow: clip; isolation: isolate;
    padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
  }
  .hero-bg {
    position: absolute; inset: -20% -10% auto; height: 140%; z-index: -1; pointer-events: none;
    background:
      radial-gradient(40% 45% at 15% 20%, color-mix(in oklch, var(--kraft) 55%, transparent), transparent 70%),
      radial-gradient(35% 40% at 85% 15%, color-mix(in oklch, var(--tape) 30%, transparent), transparent 70%),
      radial-gradient(40% 45% at 70% 80%, color-mix(in oklch, var(--munt) 28%, transparent), transparent 70%);
    filter: blur(10px);
  }
  .hero-bg::after { /* korrel */
    content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .hero-grid {
    display: grid; gap: clamp(40px, 6vw, 72px); align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
  @media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
  .hero-grid > * { min-width: 0; }

  .pil {
    display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap;
    padding: .4rem .9rem .4rem .45rem; border-radius: 999px;
    background: var(--oppervlak); border: 1px solid var(--lijn);
    font-size: .88rem; color: var(--inkt-zacht); box-shadow: 0 4px 14px var(--schaduw);
    & .stip {
      width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
      background: var(--gratis-bg); color: var(--gratis-tekst);
    }
    & .stip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
    & strong { color: var(--inkt); font-weight: 700; }
    & .tel { display: inline-flex; gap: .55rem; }
    & .tel::before { content: "·"; }
    @media (max-width: 420px) { & .tel::before { content: none; } }
  }
  .hero h1 {
    font-size: clamp(2.7rem, 7vw, 5.6rem); margin-block: 1.3rem 1.2rem; letter-spacing: -0.03em;
    font-weight: 860; --rond: 100;
  }
  .accent {
    position: relative; display: inline-block; color: var(--tape-diep); white-space: nowrap;
    & svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
    & path { stroke: var(--tape); stroke-width: 7; fill: none; stroke-linecap: round; }
  }
  .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--inkt-zacht); max-width: 40ch; }

  /* Zoeken */
  .zoek {
    position: relative; margin-top: 2rem; max-width: 560px;
    & label { display: block; }
    & .veld {
      display: flex; align-items: center; gap: .6rem;
      background: var(--oppervlak); border: 1.5px solid var(--lijn); border-radius: 18px;
      padding: .5rem .5rem .5rem 1.1rem; box-shadow: 0 10px 30px var(--schaduw);
      transition: border-color .2s, box-shadow .2s;
      &:focus-within { border-color: var(--tape); box-shadow: 0 0 0 5px color-mix(in oklch, var(--tape) 20%, transparent), 0 10px 30px var(--schaduw); }
      & svg { width: 22px; height: 22px; flex: none; color: var(--inkt-zacht); }
    }
    & input {
      flex: 1; min-width: 0; border: 0; background: none; padding: .55rem 0; font-size: 1.08rem; outline: none;
      &::placeholder { color: var(--inkt-zacht); opacity: .8; }
    }
  }
  .knop {
    display: inline-flex; align-items: center; gap: .5rem; border: 0; text-decoration: none;
    background: var(--tape); color: oklch(20% 0.04 255); font-weight: 750;
    padding: .75rem 1.15rem; border-radius: 13px; --rond: 100;
    transition: transform .25s var(--ease-veer), background .2s;
    &:hover { transform: translateY(-2px); background: color-mix(in oklch, var(--tape) 88%, white); }
    &:active { transform: translateY(0) scale(.98); }
    & svg { width: 18px; height: 18px; }
  }
  .suggesties {
    position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 20; list-style: none; padding: .4rem;
    background: var(--oppervlak); border: 1px solid var(--lijn); border-radius: 16px;
    box-shadow: 0 20px 50px var(--schaduw);
    &[hidden] { display: none; }
    & li a {
      display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; border-radius: 10px;
      text-decoration: none; font-weight: 600;
      & span { color: var(--inkt-zacht); font-weight: 500; font-size: .92rem; }
    }
    & li a:hover, & li a[aria-selected="true"] { background: var(--oppervlak-2); }
  }

  /* Twee ingangen */
  .keuzes {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1.8rem; max-width: 560px;
    @media (max-width: 480px) { grid-template-columns: 1fr; }
  }
  .keuze {
    --rand-kleur: var(--lijn);
    position: relative; display: grid; gap: .25rem; padding: 1.1rem 1.15rem 1.15rem; text-decoration: none;
    border-radius: var(--radius); background: var(--oppervlak);
    border: 1.5px solid var(--rand-kleur); box-shadow: 0 6px 20px var(--schaduw);
    transition: transform .35s var(--ease-veer), box-shadow .3s, border-color .3s;
    & .icoon {
      width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: .45rem;
      background: var(--kosten-bg); color: var(--tape-diep);
      transition: transform .45s var(--ease-veer);
      & svg { width: 24px; height: 24px; }
    }
    &.versturen .icoon { background: var(--gratis-bg); color: var(--gratis-tekst); }
    & strong { font-size: 1.12rem; letter-spacing: -0.02em; --rond: 100; }
    & span { color: var(--inkt-zacht); font-size: .93rem; line-height: 1.4; }
    & .pijl { position: absolute; right: 1rem; top: 1.1rem; width: 20px; height: 20px; color: var(--inkt-zacht); transition: transform .3s var(--ease-uit); }
    &:hover {
      transform: translateY(-4px); --rand-kleur: var(--tape); box-shadow: 0 18px 40px var(--schaduw);
      & .icoon { transform: rotate(-8deg) scale(1.08); }
      & .pijl { transform: translate(3px, -3px); color: var(--tape-diep); }
    }
  }

  /* Ingang in de hero: twee tabs (bestellen / versturen) met elk een paneel */
  .ingang {
    margin-top: 1.8rem; max-width: 580px; padding: 8px; border-radius: calc(var(--radius) + 4px);
    background: var(--oppervlak); border: 1px solid var(--lijn); box-shadow: 0 14px 40px var(--schaduw);
  }
  .tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: var(--radius);
    background: var(--oppervlak-2);
  }
  .tab {
    position: relative; display: flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .75rem .6rem; border-radius: calc(var(--radius) - 6px); cursor: pointer;
    font-weight: 750; font-size: 1rem; letter-spacing: -0.01em; color: var(--inkt-zacht); --rond: 100;
    transition: background .25s, color .25s, box-shadow .25s;
    & input { position: absolute; opacity: 0; pointer-events: none; }
    & .icoon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; }
    & .icoon svg { width: 18px; height: 18px; }
    &.bestel .icoon { background: var(--kosten-bg); color: var(--tape-diep); }
    &.verstuur .icoon { background: var(--gratis-bg); color: var(--gratis-tekst); }
    &:has(input:checked) { background: var(--oppervlak); color: var(--inkt); box-shadow: 0 4px 14px var(--schaduw); }
    &:has(input:focus-visible) { outline: 3px solid var(--tape); outline-offset: 2px; }
    @media (max-width: 420px) { font-size: .92rem; gap: .4rem; & .icoon { width: 26px; height: 26px; } }
  }
  .paneel { display: none; padding: 1rem .6rem .5rem; }
  .ingang:has(input[value="bestel"]:checked) .paneel-bestel,
  .ingang:has(input[value="verstuur"]:checked) .paneel-verstuur { display: block; }
  @media (prefers-reduced-motion: no-preference) { .paneel { animation: omhoog .35s var(--ease-uit); } }
  .ingang .zoek { margin-top: 0; max-width: none; }
  .ingang .zoek .veld { box-shadow: none; }
  .paneel-sub { margin-top: .7rem; font-size: .9rem; color: var(--inkt-zacht); & a { color: var(--tape-diep); font-weight: 650; } }
  .paneel-tekst { margin-bottom: .8rem; color: var(--inkt-zacht); }
  .snelknoppen {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
    & a {
      padding: .75rem .9rem; border-radius: 13px; text-decoration: none; font-weight: 700; text-align: center;
      background: var(--oppervlak-2); border: 1.5px solid var(--lijn); transition: border-color .2s, transform .25s var(--ease-veer);
      &:hover { border-color: var(--tape); transform: translateY(-2px); }
    }
  }

  /* Pakketlabel in de hero */
  .label-stapel { position: relative; justify-self: center; width: min(100%, 420px); }
  .route { position: absolute; inset: -12% -8% -10% -16%; z-index: 0; color: var(--inkt-zacht); opacity: .55; }
  .route path.spoor { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
  .pakketlabel {
    position: relative; z-index: 1; rotate: -3deg;
    background: var(--oppervlak); border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem;
    border: 1px solid var(--lijn);
    box-shadow: 0 1px 0 var(--lijn), 0 30px 60px -10px var(--schaduw), 0 12px 24px var(--schaduw);
    font-variant-numeric: tabular-nums;
    &::before { /* plakband */
      content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; translate: -50% 0; rotate: 4deg;
      background: color-mix(in oklch, var(--tape) 78%, transparent); border-radius: 3px;
      mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
    }
    & .label-kop {
      display: flex; justify-content: space-between; align-items: start; gap: 1rem;
      padding-bottom: .9rem; border-bottom: 2px dashed var(--lijn);
    }
    & .van { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--inkt-zacht); font-weight: 700; }
    & .shopnaam { font-size: 1.5rem; font-weight: 850; letter-spacing: -0.03em; --rond: 100; }
    & .stempel {
      font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center;
      color: var(--gratis-tekst); border: 2px solid currentColor; border-radius: 10px; padding: .3rem .5rem; rotate: 8deg;
      line-height: 1.2;
    }
    & dl { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; padding-block: 1rem; margin: 0; }
    & dt { color: var(--inkt-zacht); }
    & dd { margin: 0; font-weight: 750; text-align: right; }
    & .streepjescode {
      height: 46px; border-radius: 4px; opacity: .85;
      background: repeating-linear-gradient(90deg, var(--inkt) 0 2px, transparent 2px 4px, var(--inkt) 4px 7px, transparent 7px 9px, var(--inkt) 9px 10px, transparent 10px 14px);
    }
    & .label-voet { display: flex; justify-content: space-between; margin-top: .55rem; font-size: .78rem; color: var(--inkt-zacht); letter-spacing: .08em; }
  }
  .label-achter {
    position: absolute; inset: 6% -4% -4% 8%; z-index: 0; rotate: 5deg; border-radius: 18px;
    background: linear-gradient(135deg, var(--kraft), var(--kraft-diep));
    box-shadow: 0 20px 40px var(--schaduw);
  }

  .badge {
    display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 750;
    padding: .18rem .55rem; border-radius: 999px; white-space: nowrap;
    &.gratis { background: var(--gratis-bg); color: var(--gratis-tekst); }
    &.kosten { background: var(--kosten-bg); color: var(--kosten-tekst); }
  }

  /* Ticker met wijzigingen */
  .ticker {
    border-block: 1px solid var(--lijn); background: var(--oppervlak); padding-block: 0;
    & .wrap { display: flex; align-items: center; gap: 1.2rem; height: 64px; }
    & .ticker-label { flex: none; font-weight: 800; font-size: .85rem; display: inline-flex; gap: .5rem; align-items: center; & small { font-weight: 500; color: var(--inkt-zacht); } }
    & .ticker-label .live { width: 9px; height: 9px; border-radius: 50%; background: var(--tape); box-shadow: 0 0 0 0 var(--tape); }
    & .baan {
      flex: 1; overflow: hidden;
      mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    & ul { display: flex; gap: 2.5rem; width: max-content; list-style: none; padding: 0; }
    & li { white-space: nowrap; color: var(--inkt-zacht); font-size: .95rem; }
    & li strong { color: var(--inkt); }
    & .oud { text-decoration: line-through; opacity: .7; }
  }

  /* Webshops */
  .filters {
    display: flex; flex-wrap: wrap; gap: .45rem; border: 0; padding: 0; flex-basis: 100%; min-width: 0;
    & label { display: inline-flex; align-items: center; gap: .45rem; }
    & .aantal {
      display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .4rem; border-radius: 999px;
      font-size: .75rem; font-weight: 750; font-variant-numeric: tabular-nums;
      background: var(--oppervlak-2); color: var(--inkt-zacht);
    }
    & label:has(input:checked) .aantal { background: color-mix(in oklch, var(--papier) 22%, transparent); color: var(--papier); }
    @media (max-width: 700px) {
      flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; margin-inline: calc(var(--rand) * -1);
      padding-inline: var(--rand); scroll-padding-inline: var(--rand);
      mask: linear-gradient(90deg, transparent, #000 var(--rand), #000 calc(100% - var(--rand)), transparent);
      &::-webkit-scrollbar { display: none; }
      & label { flex: none; }
    }
    & label {
      position: relative; padding: .45rem .9rem; border-radius: 999px; font-weight: 650; font-size: .92rem;
      border: 1.5px solid var(--lijn); background: var(--oppervlak); cursor: pointer; transition: all .2s;
      &:hover { border-color: var(--inkt-zacht); }
      &:has(input:checked) { background: var(--inkt); color: var(--papier); border-color: var(--inkt); }
      &:has(input:focus-visible) { outline: 3px solid var(--tape); outline-offset: 2px; }
    }
    & input { position: absolute; opacity: 0; pointer-events: none; }
  }
  .shops {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 16px;
    list-style: none; padding: 0;
  }
  /* Filteren zonder JavaScript, met :has(): de regels per branche genereert scripts/bouw.py in de <head> */
  .shop {
    container-type: inline-size;
    & > :is(button, a) {
      display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; font: inherit; color: inherit;
      text-decoration: none;
      background: var(--oppervlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 1.15rem;
      transition: transform .35s var(--ease-veer), box-shadow .3s, border-color .3s;
      &:hover { transform: translateY(-5px); box-shadow: 0 22px 44px var(--schaduw); border-color: color-mix(in oklch, var(--tape) 45%, var(--lijn)); }
    }
    & .shop-kop { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
    & .shop-kop > div { min-width: 0; }
    & .shop-kop h3 { overflow-wrap: break-word; hyphens: auto; }  /* lange namen (Gereedschapspecialist.nl) binnen de kaart */
    & .mono {
      width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
      font-weight: 850; font-size: 1.1rem; color: white; --rond: 100;
      background: linear-gradient(135deg, oklch(62% 0.17 var(--tint, 40)), oklch(48% 0.16 calc(var(--tint, 40) + 30)));
    }
    & .branche { font-size: .82rem; color: var(--inkt-zacht); }
    & dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem .8rem; margin: 0 0 1rem; align-items: center; }
    & dt { color: var(--inkt-zacht); font-size: .93rem; }
    & dd { margin: 0; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
    & .gecontroleerd {
      margin-top: auto; display: flex; align-items: center; gap: .4rem; padding-top: .85rem;
      border-top: 1px solid var(--lijn); font-size: .8rem; color: var(--inkt-zacht);
      & svg { width: 15px; height: 15px; color: var(--gratis-tekst); }
      & .meer { margin-left: auto; font-weight: 700; color: var(--tape-diep); }
      &.nog-niet { font-style: italic; }
    }
  }
  .onbekend { color: var(--inkt-zacht); font-weight: 500; font-style: italic; }
  .leeg { color: var(--inkt-zacht); }

  /* Detailvenster (native <dialog>) */
  .detail {
    width: min(100% - 32px, 760px); max-height: min(88dvh, 900px); margin: auto; padding: 0;
    border: 1px solid var(--lijn); border-radius: calc(var(--radius) + 4px);
    background: var(--oppervlak); color: var(--inkt); box-shadow: 0 40px 100px -20px oklch(0% 0 0 / .45);
    overflow: auto; overscroll-behavior: contain;
    opacity: 1; translate: 0 0; scale: 1;
    transition: opacity .3s var(--ease-uit), translate .45s var(--ease-veer), scale .45s var(--ease-veer),
                display .3s allow-discrete, overlay .3s allow-discrete;
    &:not([open]) { opacity: 0; translate: 0 24px; scale: .96; }
    @starting-style { &[open] { opacity: 0; translate: 0 24px; scale: .96; } }
    &::backdrop {
      background: oklch(15% 0.03 255 / .45); backdrop-filter: blur(6px);
      transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete; opacity: 1;
    }
    &:not([open])::backdrop { opacity: 0; }
    @starting-style { &[open]::backdrop { opacity: 0; } }
    & .sluit {
      position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2;
      width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
      border: 1px solid var(--lijn); background: var(--oppervlak);
      & svg { width: 18px; height: 18px; }
    }
    & .detail-inhoud { padding: clamp(22px, 4vw, 36px); }
    & .detail-kop {
      display: flex; gap: 1rem; align-items: center; margin-bottom: 1.6rem;
      & h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
      & p { color: var(--inkt-zacht); }
    }
    & .mono {
      width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center;
      font-weight: 850; font-size: 1.4rem; color: white; --rond: 100;
      background: linear-gradient(135deg, oklch(62% 0.17 var(--tint, 40)), oklch(48% 0.16 calc(var(--tint, 40) + 30)));
    }
    & .detail-grid {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
      @media (max-width: 600px) { grid-template-columns: 1fr; }
      & section { padding: 1.2rem; border-radius: var(--radius-s); background: var(--oppervlak-2); }
    }
    & h3 { margin-bottom: .8rem; }
    & dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; }
    & dt { color: var(--inkt-zacht); }
    & dd { margin: 0; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
    & .opties {
      list-style: none; padding: .8rem 0 0; margin-top: .8rem; border-top: 1px dashed var(--lijn); display: grid; gap: .45rem;
      & li { display: flex; justify-content: space-between; gap: 1rem; }
      & small { display: block; color: var(--inkt-zacht); font-size: .82rem; }
      & b { font-variant-numeric: tabular-nums; white-space: nowrap; }
    }
    & .noot { margin-top: .8rem; font-size: .9rem; color: var(--inkt-zacht); }
    & .bronnen-kop { margin-top: 1.8rem; }
    & .bron {
      margin: 0 0 .8rem; padding: 1rem 1.1rem; border-left: 4px solid var(--kraft-diep);
      background: var(--oppervlak-2); border-radius: 0 var(--radius-s) var(--radius-s) 0;
      & figcaption { font-size: .8rem; font-weight: 700; color: var(--inkt-zacht); text-transform: uppercase; letter-spacing: .06em; }
      & blockquote { margin: .4rem 0; font-size: .95rem; }
      & a { font-size: .85rem; color: var(--tape-diep); word-break: break-all; }
    }
    & .detail-voet { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; & small { color: var(--inkt-zacht); } }
  }
  /* Smalle kaart (container query): labels kleiner zodat bedragen naast het label passen */
  @container (max-width: 250px) { .shop dt { font-size: .85rem; } }

  /* Calculator */
  .reken {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0;
    background: var(--oppervlak); border: 1px solid var(--lijn); border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 30px 70px -20px var(--schaduw); overflow: hidden;
    @media (max-width: 860px) { grid-template-columns: 1fr; }
  }
  .reken-invoer {
    padding: clamp(22px, 3.5vw, 40px); background: var(--oppervlak-2);
    display: grid; gap: 1.5rem; align-content: start;
    & fieldset { border: 0; padding: 0; display: grid; gap: .6rem; }
    & legend, & .veldnaam { font-weight: 750; margin-bottom: .6rem; display: block; }
    & select {
      width: 100%; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--lijn); background: var(--oppervlak);
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
    }
  }
  .formaten {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem;
    & label {
      position: relative; display: grid; gap: .1rem; padding: .8rem .9rem; border-radius: 14px; cursor: pointer;
      background: var(--oppervlak); border: 1.5px solid var(--lijn); transition: border-color .2s, transform .25s var(--ease-veer);
      & b { font-weight: 750; }
      & small { color: var(--inkt-zacht); font-size: .8rem; }
      &:hover { transform: translateY(-2px); }
      &:has(input:checked) { border-color: var(--tape); box-shadow: 0 0 0 4px color-mix(in oklch, var(--tape) 18%, transparent); }
      &:has(input:focus-visible) { outline: 3px solid var(--tape); outline-offset: 2px; }
    }
    & input { position: absolute; opacity: 0; pointer-events: none; }
  }
  .schakel {
    display: flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 600;
    & input {
      appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--lijn); position: relative;
      transition: background .25s; flex: none; cursor: pointer;
      &::after {
        content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
        background: white; box-shadow: 0 2px 6px oklch(0% 0 0 / .25); transition: translate .3s var(--ease-veer);
      }
      &:checked { background: var(--munt); }
      &:checked::after { translate: 18px 0; }
    }
  }
  .snelkeuze {
    display: flex; flex-wrap: wrap; gap: .45rem;
    & button {
      padding: .5rem .9rem; border-radius: 999px; font-weight: 650; font-size: .92rem;
      border: 1.5px solid var(--lijn); background: var(--oppervlak); transition: all .2s;
      &:hover { border-color: var(--inkt-zacht); }
      &[aria-pressed="true"] { background: var(--inkt); color: var(--papier); border-color: var(--inkt); }
    }
  }
  .maten {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem;
    @media (max-width: 480px) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 650; color: var(--inkt-zacht); }
  }
  .eenheid {
    display: flex; align-items: center; gap: .35rem; padding: .55rem .7rem; border-radius: 12px;
    border: 1.5px solid var(--lijn); background: var(--oppervlak); color: var(--inkt-zacht); font-size: .85rem;
    transition: border-color .2s, box-shadow .2s;
    &:focus-within { border-color: var(--tape); box-shadow: 0 0 0 4px color-mix(in oklch, var(--tape) 18%, transparent); }
    & input {
      width: 100%; min-width: 0; border: 0; background: none; outline: none; padding: 0;
      font-size: 1.05rem; font-weight: 750; color: var(--inkt); font-variant-numeric: tabular-nums;
      -moz-appearance: textfield;
      &::-webkit-inner-spin-button, &::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
      &:invalid { color: var(--tape-diep); }
    }
  }
  .segment {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px;
    background: var(--oppervlak); border: 1.5px solid var(--lijn);
    & label {
      position: relative; text-align: center; padding: .55rem .4rem; border-radius: 10px; font-weight: 650;
      cursor: pointer; transition: background .2s, color .2s;
      &:has(input:checked) { background: var(--inkt); color: var(--papier); }
      &:has(input:focus-visible) { outline: 3px solid var(--tape); outline-offset: 2px; }
    }
    & input { position: absolute; opacity: 0; pointer-events: none; }
  }
  .brievenbus {
    margin-top: .7rem; font-size: .88rem; font-weight: 650; display: flex; gap: .45rem; align-items: start;
    &:empty { display: none; }
    &.ja { color: var(--gratis-tekst); }
    &.nee { color: var(--inkt-zacht); }
    &.ja::before { content: "✓"; }
    &.nee::before { content: "✕"; }
  }
  .tarieven .details a { color: var(--tape-diep); font-weight: 650; }
  .tarieven .leeg { border: 0; padding: .5rem 0; color: var(--inkt-zacht); }
  .verpakking {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px);
    margin-top: 1.5rem; padding: clamp(22px, 3.5vw, 36px); border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(135deg, color-mix(in oklch, var(--kraft) 30%, var(--oppervlak)), var(--oppervlak));
    border: 1px solid var(--lijn);
    @media (max-width: 800px) { grid-template-columns: 1fr; }
    & h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: .7rem 0 .5rem; }
    & #verpakking-tekst { color: var(--inkt-zacht); margin-bottom: 1rem; }
    & .vinklijst li { font-weight: 500; font-size: .95rem; }
    & h4 { margin-bottom: .8rem; }
  }
  .winkels {
    list-style: none; padding: 0; display: grid; gap: .6rem;
    & a {
      display: grid; gap: .15rem; padding: .9rem 1rem; border-radius: 14px; text-decoration: none;
      background: var(--oppervlak); border: 1.5px solid var(--lijn); transition: transform .25s var(--ease-veer), border-color .2s;
      &:hover { transform: translateY(-2px); border-color: var(--tape); }
      & span { font-size: .85rem; color: var(--inkt-zacht); }
    }
    & .noot, & .leeg { font-size: .8rem; color: var(--inkt-zacht); }
  }

  .alle-tarieven {
    margin-top: 1.5rem; border-radius: var(--radius); background: var(--oppervlak); border: 1px solid var(--lijn);
    & summary {
      cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 750; list-style: none; display: flex; justify-content: space-between;
      &::-webkit-details-marker { display: none; }
      &::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--tape-diep); transition: rotate .3s var(--ease-uit); }
    }
    &[open] summary::after { rotate: 45deg; }
    &::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-uit), content-visibility .4s allow-discrete; }
    &[open]::details-content { block-size: auto; }
  }
  .tarieftabellen {
    display: grid; gap: 1.6rem; padding: 0 1.4rem 1.4rem;
    & section { padding-block: 0; }
    & h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
    & h3 small { font-size: .8rem; font-weight: 600; color: var(--inkt-zacht); letter-spacing: 0; }
    & .tabel { overflow-x: auto; }
    & table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
    & th, & td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--lijn); vertical-align: top; }
    & th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--inkt-zacht); }
    & td.bedrag { text-align: right; white-space: nowrap; font-weight: 700; }
    & th.bedrag { text-align: right; }
    & .bron { margin-top: .6rem; font-size: .85rem; color: var(--inkt-zacht); }
    & .bron a { color: var(--tape-diep); word-break: break-all; }
  }

  .reken-uitkomst {
    padding: clamp(22px, 3.5vw, 40px);
    & .uitkomst-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
    & .uitkomst-kop small { color: var(--inkt-zacht); }
  }
  .tarieven {
    list-style: none; padding: 0; display: grid; gap: .65rem;
    & li {
      position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem;
      padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--lijn); overflow: hidden;
      transition: opacity .3s, border-color .3s;
    }
    & li[data-past="nee"] { opacity: .45; }
    & .naam { font-weight: 750; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
    & .prijs { font-weight: 850; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
    & .balk {
      grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--oppervlak-2); overflow: hidden;
      & i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--kraft-diep); transition: width .7s var(--ease-uit); }
    }
    & li.goedkoopst {
      border-color: var(--munt); background: color-mix(in oklch, var(--munt) 8%, transparent);
      & .balk i { background: var(--munt); }
    }
    & .details { grid-column: 1 / -1; font-size: .83rem; color: var(--inkt-zacht); }
  }
  .voetnoot { margin-top: 1rem; font-size: .82rem; color: var(--inkt-zacht); }

  /* Cijfers (bento) */
  .bento {
    display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto);
    @media (max-width: 900px) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    @media (max-width: 520px) { grid-template-columns: 1fr; }
  }
  .tegel {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 1.4rem;
    background: var(--oppervlak); border: 1px solid var(--lijn); display: flex; flex-direction: column; gap: .4rem;
    & .groot {
      font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 870; letter-spacing: -0.035em; line-height: 1; --rond: 100;
      font-variant-numeric: tabular-nums; margin-top: auto;
    }
    & p { color: var(--inkt-zacht); font-size: .95rem; line-height: 1.45; }
    &.breed { grid-column: span 2; }
    &.hoog { grid-row: span 2; }
    &.donker { background: var(--inkt); color: var(--papier); border-color: transparent; & p { color: color-mix(in oklch, var(--papier) 70%, transparent); } }
    &.oranje { background: var(--tape); color: oklch(20% 0.04 255); border-color: transparent; & p { color: oklch(25% 0.05 40); } }
    @media (max-width: 520px) { &.breed { grid-column: auto; } }
  }
  .teller { counter-reset: n var(--getal); }
  .teller::after { content: counter(n); }
  .staven {
    display: grid; gap: .7rem; margin-top: 1rem;
    & div { display: grid; grid-template-columns: 7.5rem 1fr 3.2rem; align-items: center; gap: .7rem; font-size: .9rem; }
    & span:last-child { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
    & .staaf { height: 12px; border-radius: 999px; background: var(--oppervlak-2); overflow: hidden; }
    & .staaf i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--kraft), var(--tape)); transform-origin: left; }
  }

  /* Logo's van webshops (lokaal opgeslagen pictogrammen); valt terug op de gekleurde letter */
  .mono.logo {
    background: #fff; overflow: hidden; padding: 0; box-shadow: inset 0 0 0 1px oklch(22% 0.04 255 / 0.08);
    & img { width: 100%; height: 100%; object-fit: contain; display: block; }
  }

  /* "Bijgewerkt"-pil alleen op grotere schermen */
  @media (max-width: 600px) { .hero .pil { display: none; } .hero h1 { margin-top: .2rem; } }

  .tekstpagina { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); max-width: 760px;
    & h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .4rem 0 1.2rem; }
    & h2 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
    & p, & li { color: var(--inkt-zacht); margin-bottom: .6rem; }
    & a { color: var(--tape-diep); }
  }

  /* FAQ (homepage en shoppagina's) */
  .faq { display: grid; gap: .6rem; }
  .faq-item {
    border-radius: var(--radius-s); background: var(--oppervlak); border: 1px solid var(--lijn);
    & summary {
      cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem;
      &::-webkit-details-marker { display: none; }
      &::after { content: "+"; color: var(--tape-diep); font-size: 1.3rem; line-height: 1; transition: rotate .3s var(--ease-uit); }
    }
    &[open] summary::after { rotate: 45deg; }
    & p { padding: 0 1.2rem 1.1rem; color: var(--inkt-zacht); }
  }

  /* Pagina per webshop */
  .shoppagina {
    padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px);
    & section { padding-block: 0; scroll-margin-top: 90px; }
    & h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1rem; }
    & .kruimel {
      display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--inkt-zacht); margin-bottom: 1.6rem;
      & a { color: var(--inkt-zacht); } & [aria-current] { color: var(--inkt); font-weight: 650; }
    }
    & .shop-hero {
      display: flex; gap: clamp(14px, 2.5vw, 24px); align-items: flex-start; margin-bottom: 1.6rem;
      & h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .8rem; --rond: 100; }
      & .samenvatting { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--inkt-zacht); max-width: 62ch; }
      & .bovenkop { margin-bottom: .5rem; }
    }
    & .mono {
      width: 64px; height: 64px; border-radius: 18px; flex: none; display: grid; place-items: center;
      font-weight: 850; font-size: 1.6rem; color: white; --rond: 100;
      background: linear-gradient(135deg, oklch(62% 0.17 var(--tint, 40)), oklch(48% 0.16 calc(var(--tint, 40) + 30)));
    }
    & .kerncijfers {
      display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px;
      @media (max-width: 760px) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    & .kerncijfer {
      display: grid; gap: .3rem; padding: 1rem 1.1rem; border-radius: var(--radius-s); background: var(--oppervlak); border: 1px solid var(--lijn);
      & span { font-size: .85rem; color: var(--inkt-zacht); }
      & strong { font-size: 1.35rem; font-weight: 820; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
    }
    & .detail-grid {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 2.4rem;
      @media (max-width: 700px) { grid-template-columns: 1fr; }
      & > section { padding: 1.3rem; border-radius: var(--radius-s); background: var(--oppervlak); border: 1px solid var(--lijn); }
      & h2 { font-size: 1.2rem; }
    }
    & dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; }
    & dt { color: var(--inkt-zacht); }
    & dd { margin: 0; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
    & .opties {
      list-style: none; padding: .8rem 0 0; margin-top: .8rem; border-top: 1px dashed var(--lijn); display: grid; gap: .45rem;
      & li { display: flex; justify-content: space-between; gap: 1rem; }
      & small { display: block; color: var(--inkt-zacht); font-size: .82rem; }
      & b { font-variant-numeric: tabular-nums; white-space: nowrap; }
    }
    & .noot { margin-top: .8rem; font-size: .9rem; color: var(--inkt-zacht); }
    & .faq, & .bronnen { margin-bottom: 2.4rem; }
    & .bron {
      margin: 0 0 .8rem; padding: 1rem 1.1rem; border-left: 4px solid var(--kraft-diep);
      background: var(--oppervlak); border-radius: 0 var(--radius-s) var(--radius-s) 0;
      & figcaption { font-size: .8rem; font-weight: 700; color: var(--inkt-zacht); text-transform: uppercase; letter-spacing: .06em; }
      & blockquote { margin: .4rem 0; font-size: .95rem; }
      & a { font-size: .85rem; color: var(--tape-diep); word-break: break-all; }
    }
    & .detail-voet { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2.4rem; & small { color: var(--inkt-zacht); } }
  }

  /* Binnenkort: pakketcalculator */
  .binnenkort {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
    padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 6px);
    background: var(--oppervlak); border: 1px solid var(--lijn); box-shadow: 0 30px 70px -30px var(--schaduw);
    @media (max-width: 760px) { grid-template-columns: 1fr; }
    & h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .8rem 0 .6rem; }
    & p { color: var(--inkt-zacht); }
  }
  .vinklijst {
    list-style: none; padding: 0; display: grid; gap: .7rem;
    & li { display: flex; gap: .7rem; align-items: start; font-weight: 600; }
    & li::before {
      content: ""; flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: .05rem;
      background: var(--gratis-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a383' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
    }
  }
  .tegel .groot small { font-size: .4em; letter-spacing: 0; font-weight: 700; }
  .tegel .klein { font-size: .8rem; opacity: .85; margin-top: .3rem; }
  .bento { align-items: start; }
  .bento .tegel:not(.hoog) { min-height: 190px; }
  .staven div { grid-template-columns: 7.5rem 1fr 2rem; }

  /* Uitleg / werkwijze */
  .artikelen {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; list-style: none; padding: 0;
    & > li > :is(a, .kaart) {
      display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.4rem; text-decoration: none;
      border-radius: var(--radius); background: var(--oppervlak); border: 1px solid var(--lijn);
      transition: transform .35s var(--ease-veer), box-shadow .3s;
      &:is(a):hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--schaduw); }
      &:hover .lees svg { transform: translateX(5px); }
    }
    & .kaart p a { color: var(--tape-diep); font-weight: 650; text-decoration: underline; word-break: break-word; }
    & .tag { align-self: start; font-size: .78rem; font-weight: 750; padding: .2rem .6rem; border-radius: 999px; background: var(--oppervlak-2); }
    & h3 { font-size: 1.22rem; }
    & p { color: var(--inkt-zacht); font-size: .95rem; }
    & .lees { margin-top: auto; display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--tape-diep); font-size: .92rem; }
    & .lees svg { width: 18px; height: 18px; transition: transform .3s var(--ease-uit); }
  }

  /* Voet */
  .voet {
    background: var(--inkt); color: color-mix(in oklch, var(--papier) 78%, transparent);
    padding-block: clamp(48px, 7vw, 80px) 2rem;
    & .logo { color: var(--papier); }
    & .voet-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
    @media (max-width: 760px) {
      & .voet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1rem; }
      & .voet-grid > :first-child { grid-column: 1 / -1; }
      & ul { font-size: .92rem; }
    }
    @media (max-width: 420px) { & .voet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    & h4 { color: var(--papier); font-size: .95rem; margin-bottom: .8rem; }
    & ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
    & a { text-decoration: none; &:hover { color: var(--papier); text-decoration: underline; } }
    & .klein { font-size: .9rem; max-width: 38ch; margin-top: 1rem; & a { color: var(--papier); text-decoration: underline; } }
    & .onderlijn {
      display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem;
      border-top: 1px solid color-mix(in oklch, var(--papier) 15%, transparent); font-size: .85rem;
    }
  }
}

/* ───────────── Animaties ───────────── */
@layer animaties {
  @media (prefers-reduced-motion: no-preference) {

    /* Logo: doos landt bij het laden, wipt bij hover */
    .logo .doos { transform-box: fill-box; transform-origin: 50% 100%; animation: landen .9s var(--ease-veer) .15s both; }
    .logo .lijnen line { animation: zoef .7s var(--ease-uit) both; }
    .logo .lijnen line:nth-child(2) { animation-delay: .08s; }
    .logo .lijnen line:nth-child(3) { animation-delay: .16s; }
    .logo:hover .doos { animation: wip .6s var(--ease-veer); }
    .logo:hover .lijnen line { animation: zoef .5s var(--ease-uit) both; }

    /* Onderstreping van "écht" tekent zichzelf */
    .accent path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: teken 1.1s var(--ease-uit) .5s forwards; }

    /* Hero-elementen komen binnen */
    .hero .in { animation: omhoog .8s var(--ease-uit) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
    .hero-bg { animation: drijven 18s ease-in-out infinite alternate; }
    .pakketlabel { animation: zweven 6s ease-in-out infinite alternate; }
    .route path.spoor { animation: mieren 1.6s linear infinite; }

    /* Ticker */
    .ticker ul { animation: loop 45s linear infinite; }
    .ticker .baan:hover ul { animation-play-state: paused; }
    .ticker .live { animation: puls 2s ease-out infinite; }

    /* Kop krijgt een lijn en schaduw zodra je scrolt */
    @supports (animation-timeline: scroll()) {
      .kop { animation: kop-schaduw linear both; animation-timeline: scroll(); animation-range: 0 120px; }
    }

    /* Onthullen bij scrollen */
    @supports (animation-timeline: view()) {
      .onthul { animation: onthul linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
      .staven .staaf i { animation: groei linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
      .teller { animation: tel linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    }
    @supports not (animation-timeline: view()) {
      .teller { animation: tel 1.6s var(--ease-uit) both; }
    }
  }

  @keyframes landen { 0% { transform: translateY(-40%) scale(.9); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
  @keyframes wip { 0%, 100% { transform: none; } 40% { transform: translateY(-14%) rotate(-4deg); } 70% { transform: translateY(2%) scaleY(.96); } }
  @keyframes zoef { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
  @keyframes teken { to { stroke-dashoffset: 0; } }
  @keyframes omhoog { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes drijven { to { transform: translate3d(3%, 4%, 0) scale(1.06); } }
  @keyframes zweven { from { translate: 0 0; } to { translate: 0 -10px; } }
  @keyframes mieren { to { stroke-dashoffset: -22; } }
  @keyframes loop { to { transform: translateX(-50%); } }
  @keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--tape) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
  @keyframes kop-schaduw { to { border-bottom-color: var(--lijn); box-shadow: 0 8px 30px -12px var(--schaduw); } }
  @keyframes onthul { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes groei { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes tel { from { --getal: 0; } to { --getal: var(--doel); } }

  /* Zonder animatie: tellers tonen meteen hun eindwaarde */
  @media (prefers-reduced-motion: reduce) {
    .teller { --getal: var(--doel); }
    .ticker .baan { overflow-x: auto; }
  }
}
