/* style.css, Aevo Media
   Bron: DESIGN-SYSTEM.md en ONTWERPPLAN.md.
   Stap 3 uit BRIEF.md hoofdstuk 11: tokens, reset, typeschaal,
   container en raster, knoppen, focus, header, footer.
   Secties van de homepage (hero, cijferbalk, slider, diensten,
   werkwijze, cases, reviews, formulier, FAQ) volgen in stap 4. */

/* =========================================================
   1. Tokens
   ========================================================= */

:root {
  /* kleur, DESIGN-SYSTEM 1 */
  --paper: #FFFFFF;
  --stone: #F2F1EF;
  --ink: #16181A;
  --ink-soft: #5A5E63;
  --aubergine: #2E1A47;
  --aubergine-d: #1D1030;
  --mint: #00C08B;
  --line: #D6D3CE;
  --line-dark: #4A3A5E;

  /* afgeleid: 8% donkerder voor hover, vaste hex omdat er geen build is */
  --mint-hover: #00B180;
  --aubergine-hover: #2A1841;

  /* op verzoek van de eigenaar, ONTWERPPLAN 8 en 10 */
  --error: #B3261E;
  --whatsapp: #25D366;

  /* typeschaal, DESIGN-SYSTEM 2 */
  --t-display: clamp(36px, 7.5vw, 84px);
  --t-h1: clamp(30px, 4.6vw, 52px);
  --t-h2: clamp(24px, 3vw, 36px);
  --t-h3: 20px;
  --t-lead: clamp(17px, 1.4vw, 20px);
  --t-body: 16px;
  --t-small: 15px;
  --t-micro: 13px;
  --t-footer: 14px;

  /* ruimte, DESIGN-SYSTEM 3 */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* lay-out, mobiel als basis, desktop vanaf 900px */
  --container: 1240px;
  --gutter: var(--s5);
  --gap: var(--s5);
  --section: var(--s7);
  --section-big: var(--s7);
  --header-h: 56px;
  --wa-size: 56px;

  /* beweging en schaduw */
  --dur: 180ms;
  --ease: ease-out;
  --shadow-dropdown: 0 8px 24px rgba(22, 24, 26, .08);
  --shadow-panel: -8px 0 24px rgba(22, 24, 26, .16);
  --shadow-float: 0 4px 16px rgba(22, 24, 26, .18);
}

@media (min-width: 900px) {
  :root {
    --t-body: 17px;
    --gutter: var(--s7);
    --gap: var(--s6);
    --section: var(--s9);
    --section-big: var(--s10);
    --header-h: 72px;
  }
}

/* =========================================================
   2. Reset
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
  overflow-x: clip;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness var(--dur) var(--ease);
}

a:hover {
  text-decoration-thickness: 2px;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

[role="list"],
.list-plain {
  list-style: none;
  padding: 0;
}

[hidden] {
  display: none !important;
}

/* =========================================================
   3. Typografie
   ========================================================= */

h1,
h2,
h3,
.h1,
.h2,
.h3,
.display {
  font-weight: 700;
  text-wrap: balance;
  hyphens: auto;
}

.display {
  font-size: var(--t-display);
  font-variation-settings: 'wdth' 118;
  letter-spacing: -0.035em;
  line-height: 1;
  max-inline-size: 18ch;
}

h1,
.h1 {
  font-size: var(--t-h1);
  font-variation-settings: 'wdth' 105;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-inline-size: 18ch;
}

h2,
.h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-inline-size: 24ch;
}

h3,
.h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p,
li,
dd {
  max-inline-size: 68ch;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
}

.small {
  font-size: var(--t-small);
  line-height: 1.5;
}

.micro {
  font-size: var(--t-micro);
  line-height: 1.5;
}

.soft {
  color: var(--ink-soft);
}

.on-dark .soft {
  color: inherit;
}

/* kop naar tekst --s4, tekstblok naar knop --s6 */
.stack > * + * {
  margin-block-start: var(--s4);
}

.stack > .btn,
.stack > .btn-row {
  margin-block-start: var(--s6);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
}

/* =========================================================
   4. Lay-out
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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


.bg-stone {
  background: var(--stone);
}

.on-dark {
  background: var(--aubergine);
  color: var(--paper);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.grid > * {
  grid-column: span 12;
  min-width: 0;
}

@media (min-width: 640px) {
  .sm-6 { grid-column: span 6; }
}

@media (min-width: 900px) {
  .md-3 { grid-column: span 3; }
  .md-4 { grid-column: span 4; }
  .md-5 { grid-column: span 5; }
  .md-6 { grid-column: span 6; }
  .md-7 { grid-column: span 7; }
  .md-8 { grid-column: span 8; }
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
}

.on-dark .rule {
  border-top-color: var(--line-dark);
}

/* alleen voor schermlezers */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--s4);
  left: var(--s4);
  z-index: 110;
  padding: var(--s3) var(--s4);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

/* =========================================================
   5. Knoppen, DESIGN-SYSTEM 5
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform 80ms var(--ease);
}

.btn:active {
  transform: scale(.96);
}

.btn[aria-busy="true"] {
  cursor: progress;
}

.btn--primary {
  background: var(--mint);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--mint-hover);
}

.btn--secondary {
  background: var(--aubergine);
  color: var(--paper);
}

.btn--secondary:hover {
  background: var(--aubergine-hover);
}

.btn--quiet {
  justify-content: flex-start;
  padding-inline: 0;
  background: transparent;
  color: var(--ink);
  line-height: 1.4;
  text-align: start;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    text-decoration-thickness var(--dur) var(--ease),
    transform 80ms var(--ease);
}

.btn--quiet:hover {
  text-decoration-thickness: 2px;
}

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

/* op aubergine: primair blijft mint met ink, secundair wordt een
   mintrand met minttekst, stil wordt paper met paper onderlijn */
.on-dark .btn--secondary {
  background: transparent;
  border-color: var(--mint);
  color: var(--mint);
}

.on-dark .btn--secondary:hover {
  border-color: var(--mint-hover);
  color: var(--mint-hover);
}

.on-dark .btn--quiet {
  color: var(--paper);
}

/* =========================================================
   6. Focus, DESIGN-SYSTEM 5
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--aubergine);
  outline-offset: 2px;
}

.on-dark :focus-visible {
  outline-color: var(--mint);
}

/* =========================================================
   7. Plus en kruis, getekend met pseudo-elementen
   ========================================================= */

.plus {
  position: relative;
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.plus::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
}

.plus::after {
  left: 5px;
  top: 0;
  width: 2px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

/* open: de verticale balk draait op de horizontale, de plus wordt een min */
[aria-expanded="true"] .plus::after,
.is-open > .plus::after,
details[open] > summary .plus::after {
  transform: rotate(90deg);
}

.cross {
  position: relative;
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
}

.cross::before,
.cross::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 6px;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.cross::before {
  transform: rotate(45deg);
}

.cross::after {
  transform: rotate(-45deg);
}

/* =========================================================
   8. Header en navigatie, DESIGN-SYSTEM 5, ONTWERPPLAN 5
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--aubergine);
  color: var(--paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  height: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--t-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo img {
  height: 26px;
  width: auto;
}

/* hamburger: drie balken van 2px uit een span en twee pseudo-elementen */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  margin-inline-end: calc(-1 * var(--s3));
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--paper);
}

.nav-toggle__bars {
  top: 21px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.site-nav,
.site-header__cta {
  display: none;
}

@media (min-width: 900px) {
  .site-logo img {
    height: 30px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s6);
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--s2);
    list-style: none;
    padding: 0;
  }

  .site-nav__item {
    position: relative;
  }

  .site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    min-height: 44px;
    padding: 0 var(--s3);
    color: var(--paper);
    font-size: var(--t-small);
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav__link:hover,
  .site-nav__item.is-open > .site-nav__link {
    color: var(--mint);
  }

  .site-nav__link[aria-current="page"]::after,
  .site-nav__item.is-current > .site-nav__link::after {
    content: "";
    position: absolute;
    left: var(--s3);
    right: var(--s3);
    bottom: 4px;
    height: 2px;
    background: var(--mint);
  }

  /* dropdown: wit paneel, 1px rand, radius 0, de enige schaduw in de header */
  .site-nav__menu {
    position: absolute;
    top: calc(100% + var(--s2));
    left: 0;
    z-index: 45;
    display: none;
    min-width: 260px;
    padding: var(--s2);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-dropdown);
    list-style: none;
  }

  /* onzichtbare brug over de --s2 lucht, zodat hover niet wegvalt */
  .site-nav__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * var(--s2) - 1px);
    height: calc(var(--s2) + 1px);
  }

  .site-nav__item.is-open > .site-nav__menu,
  html:not(.js) .site-nav__item:focus-within > .site-nav__menu {
    display: block;
  }

  /* zonder JS opent hover via CSS; met JS doet JS het, zodat aria-expanded klopt */
  @media (hover: hover) and (pointer: fine) {
    html:not(.js) .site-nav__item:hover > .site-nav__menu {
      display: block;
    }
  }

  .site-nav__menu li + li {
    margin-block-start: var(--s2);
  }

  .site-nav__menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--s3);
    font-size: var(--t-small);
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav__menu a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }

  .site-nav__menu a {
    border-left: 2px solid transparent;
  }

  .site-nav__menu a[aria-current="page"] {
    font-weight: 600;
    border-left-color: var(--aubergine);
  }

  .site-header__cta {
    display: inline-flex;
  }
}

/* =========================================================
   9. Mobiel menupaneel, BRIEF 8, DESIGN-SYSTEM 5
   ========================================================= */

.menu-dim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(22, 24, 26, .5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms var(--ease),
    visibility 0s linear 220ms;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  width: 88%;
  max-width: 400px;
  padding: var(--s4) var(--s5) var(--s7);
  padding-inline-end: calc(var(--s5) + env(safe-area-inset-right));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-panel);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 220ms var(--ease),
    visibility 0s linear 220ms;
}

.menu-open .menu-dim {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.menu-open .menu-panel {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

html.menu-open,
.menu-open body {
  overflow: hidden;
}

.menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 0 var(--s2);
  margin-inline-end: calc(-1 * var(--s2));
  font-weight: 600;
}

/* Contact, Bellen, WhatsApp: gestapeld, volle breedte, 8px ertussen */
.menu-panel__actions {
  display: grid;
  gap: var(--s2);
}

.menu-panel__list {
  display: grid;
  gap: var(--s2);
  list-style: none;
  padding: 0;
}

.menu-panel__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s3);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.menu-panel__list .is-hub > a {
  font-weight: 600;
}

.menu-panel__list .is-sub > a {
  padding-inline-start: calc(var(--s3) + var(--s5));
}

.menu-panel__list a[aria-current="page"] {
  font-weight: 700;
  border-left-color: var(--aubergine);
}

/* zonder JS staat het paneel gewoon onder de header, niets verborgen */
html:not(.js) .menu-panel {
  position: static;
  width: auto;
  max-width: none;
  box-shadow: none;
  transform: none;
  visibility: visible;
  border-bottom: 1px solid var(--line);
}

html:not(.js) .menu-panel__head,
html:not(.js) .nav-toggle {
  display: none;
}

@media (min-width: 900px) {
  .menu-dim,
  .menu-panel,
  html:not(.js) .menu-panel {
    display: none;
  }
}

/* =========================================================
   10. Footer, BRIEF 5.12 en 8, ONTWERPPLAN 5
   ========================================================= */

.site-footer {
  background: var(--aubergine);
  color: var(--paper);
  font-size: var(--t-footer);
  line-height: 1.5;
  /* onder: ruimte voor de zwevende knop, 56 plus tweemaal 16 */
  padding-block: var(--s7) calc(var(--wa-size) + var(--s6) + env(safe-area-inset-bottom));
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-end: var(--s5);
  font-size: var(--t-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__logo img {
  height: 30px;
  width: auto;
}

.site-footer__cols {
  display: grid;
  gap: var(--s2);
}

.site-footer__col {
  border-top: 1px solid var(--line-dark);
}

.site-footer__col > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-weight: 600;
}

.site-footer__list {
  display: grid;
  gap: var(--s2);
  list-style: none;
  padding: 0;
  margin-block-end: var(--s3);
}

.site-footer__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s5);
  margin-block-start: var(--s6);
  padding-block-start: var(--s4);
  border-top: 1px solid var(--line-dark);
}

.site-footer__legal > * {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-inline-size: none;
}

.site-footer__copy {
  flex-basis: 100%;
  min-height: auto;
  margin-block-start: var(--s2);
  font-size: var(--t-micro);
}

@media (min-width: 900px) {
  .site-footer__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
  }

  /* op desktop altijd open: JS zet open, CSS haalt de summary uit de bediening */
  .site-footer__col > summary {
    pointer-events: none;
  }

  .site-footer__col > summary .plus {
    display: none;
  }
}

/* =========================================================
   11. Zwevende WhatsApp-knop, BRIEF 8, ONTWERPPLAN 10.9
   ========================================================= */

.wa-float {
  position: fixed;
  right: var(--s4);
  bottom: calc(var(--s4) + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: var(--wa-size);
  height: var(--wa-size);
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--paper);
  box-shadow: var(--shadow-float);
  text-decoration: none;
}

.wa-float img,
.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float.is-missing img {
  visibility: hidden;
}

/* =========================================================
   12. Beeld: gereserveerde ruimte, bestandsnaam als het beeld ontbreekt
   ========================================================= */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--line);
}

.media--16-10 {
  aspect-ratio: 16 / 10;
}

.media--1-1 {
  aspect-ratio: 1 / 1;
}

.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__naam {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: var(--s4);
  color: var(--ink);
  font-size: var(--t-small);
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.media.is-missing img {
  visibility: hidden;
}

/* =========================================================
   13. Hero kort en de drie lijnen, v2 richting Werk voorop
   ========================================================= */

.hero-kort__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  min-width: 0;
  padding-block: var(--section) var(--section);
  text-align: center;
}

.hero-kort__inner > * {
  min-width: 0;
  max-width: 100%;
}

.hero__titel {
  max-inline-size: 14ch;
  margin-inline: auto;
  text-wrap: balance;
  hyphens: manual;
}

.hero__lead {
  max-inline-size: 44ch;
}

.hero-kort .btn-row {
  justify-content: center;
  margin-block-start: var(--s2);
}

/* laadmoment: drie stappen, samen onder 700ms, alleen opacity en transform */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__titel,
.hero__lead,
.hero-kort .btn-row {
  animation: hero-in 300ms var(--ease) both;
}

.hero__lead {
  animation-delay: 120ms;
}

.hero-kort .btn-row {
  animation-delay: 240ms;
}

/* de drie lijnen: paper, stone en aubergine, gescheiden door de 2px lijn */
.lijnen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.lijn {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-width: 0;
  min-height: 240px;
  padding: var(--s7) var(--gutter);
  color: var(--ink);
  text-decoration: none;
}

.lijn:focus-visible {
  outline-offset: -4px;
}

.lijn h2 {
  max-inline-size: 14ch;
}

.lijn p {
  max-inline-size: 42ch;
}

.lijn .btn {
  align-self: flex-start;
  margin-block-start: auto;
}

.lijn--websites {
  background: var(--paper);
}

.lijn--webshops {
  background: var(--stone);
  border-block-start: 2px solid var(--aubergine);
}

.lijn--seo-advertenties {
  background: var(--aubergine);
  color: var(--paper);
  border-block-start: 2px solid var(--aubergine);
}

.lijn:hover h2 {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

@media (min-width: 900px) {
  .lijnen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lijn {
    padding: var(--s8) var(--s6);
    min-height: 320px;
  }

  .lijn--webshops,
  .lijn--seo-advertenties {
    border-block-start: 0;
    border-inline-start: 2px solid var(--aubergine);
  }

  .lijn--websites {
    padding-inline-start: max(var(--s6), calc((100vw - var(--container)) / 2 + var(--gutter)));
  }

  .lijn--seo-advertenties {
    padding-inline-end: max(var(--s6), calc((100vw - var(--container)) / 2 + var(--gutter)));
  }
}

/* =========================================================
   17. Diensten, zes gelijke blokken zonder beeld, BRIEF 5.6, besluit eigenaar 2026-09-13
   ========================================================= */

.diensten h2 {
  margin-block-end: var(--s6);
}

.dienst {
  padding-block-start: var(--s4);
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.dienst p {
  margin-block-start: var(--s2);
}

a.dienst:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* =========================================================
   18. Werkwijze, BRIEF 5.7
   ========================================================= */

.werkwijze h2 {
  margin-block-end: var(--s6);
}

.stappen {
  position: relative;
  display: grid;
  gap: var(--s5);
  list-style: none;
  padding: 0;
}

.stappen::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--line);
}

.stap {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s4);
  align-items: baseline;
  max-inline-size: none;
}

.stap__nr {
  position: relative;
  padding-block: 2px;
  background: var(--paper);
  color: var(--aubergine);
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-align: center;
}

.stap__titel {
  font-weight: 600;
  line-height: 1.4;
  hyphens: auto;
}

@media (min-width: 1200px) {
  .stappen {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--s4);
  }

  .stappen::before {
    top: calc(var(--t-h2) * 1.12 / 2 + 2px);
    bottom: auto;
    left: 0;
    width: auto;
    right: 0;
    height: 1px;
  }

  .stap {
    display: block;
  }

  .stap__nr {
    display: inline-block;
    margin-inline-start: calc(-1 * var(--s2));
    padding-inline: var(--s2);
    text-align: start;
  }

  .stap__titel {
    display: block;
    margin-block-start: var(--s3);
    font-size: var(--t-small);
  }
}

/* =========================================================
   19. Cases, een lijst die meegroeit: 1 of 2 blokken over de
   volle breedte onder elkaar, vanaf 3 een raster van 2 kolommen
   ========================================================= */

.cases h2:not(.vh) {
  margin-block-end: var(--s6);
}

/* homepage: de casesectie begint op de 1px lijn, de kop is gecentreerd */
.cases--kop {
  padding-block-start: 0;
}

.cases__intro {
  border-block-start: 1px solid var(--line);
  padding-block-start: var(--s5);
  margin-block-end: var(--s5);
  text-align: center;
}

.cases__intro h2 {
  margin-block-end: 0;
  margin-inline: auto;
}

.cases__intro .small {
  margin-block-start: var(--s2);
  margin-inline: auto;
}

.caselijst {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s7);
}

.caseblok h3 {
  margin-block-start: var(--s4);
}

.caseblok .small {
  margin-block-start: var(--s1);
}

@media (min-width: 900px) {
  .caselijst:has(> :nth-child(3)),
  .caselijst--naast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s8) var(--gap);
  }
}

/* =========================================================
   20. Gratis concept, formulier, BRIEF 5.10 en 8, DESIGN-SYSTEM 5
   ========================================================= */

.cta__tekst {
  margin-block-end: var(--s6);
}

.concept {
  display: grid;
  gap: var(--s5);
  max-width: 560px;
}

.concept__honeypot {
  position: absolute;
  left: -9999px;
}

.concept__voortgang {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}

.concept__voortgang span {
  height: 8px;
  background: var(--line-dark);
}

.concept__voortgang .is-done {
  background: var(--mint);
}

.concept fieldset {
  display: grid;
  gap: var(--s4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.concept__legend {
  margin-block-end: var(--s2);
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.veld {
  display: grid;
  gap: var(--s2);
}

.veld label,
.veld__label {
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.5;
}

.veld__label {
  padding: 0;
  margin-block-end: var(--s2);
}

.veld input[type="text"],
.veld input[type="url"],
.veld input[type="tel"],
.veld input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px var(--s3);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.veld.is-fout input {
  padding: 9px calc(var(--s3) - 1px);
  border: 2px solid var(--error);
}

/* vaste regelhoogte, zodat een melding het formulier niet verschuift */
.veld__fout {
  min-height: calc(var(--t-small) * 1.5);
  color: var(--error);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.5;
}

.on-dark .veld__fout {
  color: var(--paper);
}

.keuze__opties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}

.keuze__optie {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.veld .keuze__optie {
  font-size: 16px;
}

.keuze__optie input {
  font-size: 16px;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.keuze__optie:has(input:checked) {
  background: var(--mint);
  border-color: var(--mint);
}

.keuze__optie:has(input:focus-visible) {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.keuze.is-fout .keuze__optie {
  border: 2px solid var(--error);
  padding: 13px 23px;
}

.concept__knoppen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.concept__knoppen > .btn--primary:only-child {
  margin-inline-start: auto;
}

.concept__status {
  font-weight: 600;
  max-inline-size: none;
}

.concept__status:empty {
  display: none;
}

.concept__succes {
  display: none;
  max-width: 560px;
  padding-block: var(--s4);
}

.concept__succes:target,
.concept__succes.is-zichtbaar {
  display: block;
}

.concept__succes p {
  margin-block-start: var(--s3);
}

.concept__bellen {
  margin-block-start: var(--s7);
  font-weight: 600;
}

.concept__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* zonder JS: alle stappen in beeld, alleen de verzendknop */
html:not(.js) [data-volgende],
html:not(.js) [data-vorige],
html:not(.js) .concept__voortgang {
  display: none;
}

/* =========================================================
   21. FAQ, BRIEF 5.11, DESIGN-SYSTEM 5
   ========================================================= */

.faq h2 {
  margin-block-end: var(--s5);
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  margin-block: var(--s1);
  padding-block: var(--s3);
}

.faq__vraag {
  max-inline-size: none;
}

.faq__antwoord {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 220ms var(--ease);
}

@starting-style {
  .faq__item[open] > .faq__antwoord {
    grid-template-rows: 0fr;
  }
}

.faq__item.is-closing > .faq__antwoord {
  grid-template-rows: 0fr;
}

.faq__inhoud {
  min-height: 0;
  overflow: hidden;
}

.faq__inhoud > p {
  padding-block-end: var(--s5);
}

.faq__cta {
  margin-block-start: var(--s6);
  max-inline-size: none;
}

/* =========================================================
   22. Scroll-reveal, alleen de cases, DESIGN-SYSTEM 6
   ========================================================= */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 320ms cubic-bezier(.2, .6, .3, 1),
    transform 320ms cubic-bezier(.2, .6, .3, 1);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   23. Beweging, DESIGN-SYSTEM 6
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
