/* EK-Media — design system (2026)
   Kleuren afgeleid van het logo (blauw #4767af, grijs #a19e9c).
*/

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrainsmono-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15213a;
  --ink-soft: #46536b;
  --koelgang: #eef2f7;
  --surface: #ffffff;
  --line: #d6dde8;
  --line-strong: #b9c3d3;
  --ek-blue: #4767af;
  --ek-blue-deep: #2c4683;
  --ek-blue-tint: #e3e9f6;
  --kabelgrijs: #a19e9c;
  --rack: #1b2436;
  --rack-2: #253049;
  --rack-line: #36425e;
  --danger: #b4233a;
  --success: #1f7a4d;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Archivo", Arial, Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.75rem);

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(21, 33, 58, .06), 0 8px 24px -12px rgba(21, 33, 58, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--koelgang);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--ek-blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ek-blue); }
:focus-visible { outline: 3px solid var(--ek-blue); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
address { font-style: normal; }
strong, b { font-weight: 650; }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; } }
h1 { font-size: var(--step-4); font-stretch: 118%; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-stretch: 108%; }
h4 { font-size: var(--step-1); font-stretch: 104%; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

/* Mono-labels: eyebrows, U-nummers, specificaties, prijzen */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ek-blue);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--ek-blue); box-shadow: -13px 0 0 var(--kabelgrijs); margin-left: 13px; flex: none; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem;
  font: 650 1rem/1.2 var(--font-body); font-stretch: 104%;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--primary { background: var(--ek-blue); color: #fff; }
.btn--primary:hover { background: var(--ek-blue-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ek-blue-tint); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: .5rem .9rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.arrow-link { font-weight: 650; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 161px; height: 48px; }
.nav { margin-left: auto; }
.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem;
  padding: .55rem .75rem; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; font-stretch: 104%; white-space: nowrap;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--ek-blue-deep); background: var(--ek-blue-tint); }
.nav__toggle { display: none; }
.nav__item--has-sub > .nav__link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.nav__sub {
  position: absolute; left: 0; top: 100%; min-width: 260px; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub .nav__link { font-weight: 500; font-size: .95rem; padding: .5rem .7rem; }
.nav__sub .nav__sub { left: 100%; top: -.5rem; }
.nav__sub .nav__item--has-sub > .nav__link::after { transform: rotate(-45deg); margin-left: auto; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.menu-button { display: none; }

@media (max-width: 1120px) {
  .site-header__inner { gap: .75rem; }
  .header-actions .btn { display: none; }
  .menu-button {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    min-height: 44px; padding: .5rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
    background: #fff; color: var(--ink); font: 600 .95rem var(--font-body); cursor: pointer;
  }
  .menu-button__bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-button__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; overflow-y: auto;
    background: var(--surface); padding: 1rem var(--gutter) 2rem; border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item > .nav__link { flex: 1; padding: .9rem .25rem; font-size: 1.05rem; background: none; }
  .nav__item--has-sub > .nav__link::after { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius);
  }
  .nav__toggle::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .nav__toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
  .nav__sub, .nav__sub .nav__sub {
    position: static; width: 100%; min-width: 0; padding: 0 0 .5rem .75rem; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__sub.is-open { display: block; }
  .nav__sub .nav__item { border-bottom: 0; }
  .nav__sub .nav__link { padding: .6rem .25rem; }
  .nav__mobile-cta { display: grid; gap: .75rem; margin-top: 1.5rem; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1121px) { .nav__mobile-cta { display: none; } }

/* ---------- Broodkruimel ---------- */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; margin: 0; padding: .6rem 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-family: var(--font-mono); font-size: .78rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; color: var(--kabelgrijs); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ek-blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Secties ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--rack); color: #dfe5f0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #bcd0ff; }
.section--dark .eyebrow { color: #9fb6ec; }
.section--dark .eyebrow::before { background: #9fb6ec; }
.section__head { max-width: 760px; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section__head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; margin: 0; }
.section--dark .section__head p { color: #b8c3d8; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* Pagina-kop (binnenpagina's) */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 4rem) 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-head__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-head h1 { margin-bottom: .4em; }
.page-head .lead { margin-bottom: 0; }
.page-head__media { position: relative; }
.page-head__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.page-head__media::before { /* rackrail met U-markeringen */
  content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 6px; border-radius: 2px;
  background: repeating-linear-gradient(to bottom, var(--kabelgrijs) 0 2px, transparent 2px 14px);
  opacity: .7;
}
@media (max-width: 860px) {
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__media::before { display: none; }
}

/* Twee kolommen */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.split--center { align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

/* Lopende tekst */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }

/* Lijst met vierkante logo-bullets */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.4rem; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--ek-blue); }
.section--dark .ticks li::before { background: #9fb6ec; }

/* Stappen: alleen voor echte volgordes */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1em; display: grid; gap: .9rem; }
.steps li { counter-increment: step; position: relative; padding: .1rem 0 0 3rem; min-height: 2.2rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  font: 600 .85rem var(--font-mono); color: #fff; background: var(--ek-blue); border-radius: var(--radius);
}

/* ---------- Kaarten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card--link:hover { transform: translateY(-3px); }
.card__media { aspect-ratio: 3 / 2; background: var(--ek-blue-tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--contain img { object-fit: contain; padding: 1.25rem; }
.card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body > :last-child { margin-bottom: 0; }
.card__title { font-size: var(--step-1); font-stretch: 108%; margin-bottom: .45em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* hele kaart klikbaar als .card--link */
.card--link { position: relative; }
.card__body p { color: var(--ink-soft); font-size: .98rem; }
.card__body .ticks { font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: .75rem; }
.card--plain { padding: 1.5rem; }

/* ---------- Pakketten ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--ek-blue); }
.plan__name { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ek-blue); margin: 0 0 .5rem; }
.plan__price { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2rem; line-height: 1.1; margin: 0; }
.plan__price small { font: 500 .85rem var(--font-body); color: var(--ink-soft); display: block; margin-top: .25rem; }
.plan .ticks { margin: 1.1rem 0 1.25rem; font-size: .95rem; }
.plan .btn { margin-top: auto; }

/* ---------- Prijstabellen (zelfde stijl als de SLA-vergelijking) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0 0 1.75rem; }
.price-table { width: 100%; min-width: 640px; font-size: .95rem; border-collapse: separate; border-spacing: 0; }
.price-table caption { caption-side: top; text-align: left; padding: .6rem 1.25rem; background: var(--koelgang); border-bottom: 1px solid var(--line); font: 600 .74rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.price-table th, .price-table td { padding: .95rem 1.25rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.price-table thead th { vertical-align: bottom; padding-top: 1.15rem; padding-bottom: 1rem; font-weight: 700; font-stretch: 106%; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.price-table thead th:first-child { font: 600 .74rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table small { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-soft); margin-top: .1rem; }
.price-table .price { font-family: var(--font-mono); font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-table .price small { font-family: var(--font-body); margin: 0 0 .1rem; }
.price-table td.actions { white-space: nowrap; }
.price-table .yes, .price-table .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; overflow: hidden; color: transparent; font-size: 0; }
.price-table .yes { background: var(--ek-blue); }
.price-table .yes::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-table .no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; border-radius: 1px; background: var(--line-strong); }
.price-table .badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: var(--ek-blue-tint); color: var(--ek-blue-deep); font: 600 .8rem var(--font-body); }
.table-note { font-size: .85rem; color: var(--ink-soft); margin: -.75rem 0 1.75rem; }
@media (max-width: 760px) {
  .price-table { font-size: .9rem; }
  .price-table th, .price-table td { padding: .8rem .9rem; }
  .price-table tbody th, .price-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .price-table caption { position: sticky; left: 0; }
}

/* ---------- Vergelijkingstabel (SLA) ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare__label-col { width: 34%; }
.compare th, .compare td { padding: .95rem 1.25rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody + tbody .compare__group th { border-top: 1px solid var(--line); }
.compare thead th { vertical-align: top; padding-top: 1.5rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-strong); }
.compare__name { display: block; font: 600 .78rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ek-blue); }
.compare__price { display: block; margin-top: .35rem; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.85rem; line-height: 1.1; color: var(--ink); }
.compare__per { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; font-weight: 400; }
.compare thead .btn { margin-top: 1rem; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody th small, .compare td small { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-soft); margin-top: .1rem; }
.compare__amount { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.compare__group th { background: var(--koelgang); padding-top: .6rem; padding-bottom: .6rem; font: 600 .74rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.compare .is-featured { background: #f3f6fc; }
.compare thead th.is-featured { background: var(--ek-blue-tint); box-shadow: inset 0 3px 0 var(--ek-blue); }
.compare__yes, .compare__no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.compare__yes { background: var(--ek-blue); }
.compare__yes::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare__no { background: transparent; }
.compare__no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; border-radius: 1px; background: var(--line-strong); }
.compare__fn { font: 600 .68rem var(--font-mono); margin-left: .2rem; vertical-align: super; line-height: 0; }
.compare__fn a { text-decoration: none; color: var(--ek-blue); }
.compare-notes { margin: 1rem 0 0; padding-left: 1.4rem; font-size: .85rem; color: var(--ink-soft); display: grid; gap: .25rem; }
.compare-notes li::marker { font-family: var(--font-mono); font-weight: 600; color: var(--ek-blue); }
.compare-notes li:target { color: var(--ink); }
@media (max-width: 760px) {
  .compare th[scope="row"], .compare .compare__corner { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .compare th, .compare td { padding: .8rem .9rem; }
  .compare { min-width: 600px; font-size: .9rem; }
  .compare__label-col { width: 132px; }
  .compare th[scope="row"] { font-size: .84rem; }
  .compare__group th span { position: sticky; left: .9rem; }
  .compare__price { font-size: 1.5rem; }
}

/* ---------- Feitenstrip (patchpanel-labels) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); overflow: hidden; }
.fact { padding: 1.1rem 1.25rem; background: var(--surface); }
.fact__value { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--ink); }
.fact__label { display: block; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } .fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Klantlogo's ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logos li { background: var(--surface); display: grid; place-items: center; padding: 1.25rem; min-height: 110px; }
.logos img { max-height: 54px; width: auto; max-width: 100%; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Ervaringen (spotlight met tabs) ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.reviews__tabs { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.reviews__tab {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 1rem 0 1rem 1.25rem; margin-left: -1px;
  border-left: 3px solid transparent; color: var(--ink-soft); font: inherit; transition: color .15s, border-color .15s;
}
.reviews__tab::after { /* voortgang tot de volgende ervaring */
  content: ""; position: absolute; left: -3px; top: 0; width: 3px; height: 100%; background: var(--ek-blue);
  transform: scaleY(0); transform-origin: top;
}
.reviews__service { display: block; font-weight: 700; font-stretch: 106%; font-size: 1.05rem; line-height: 1.3; }
.reviews__context { display: block; font-size: .86rem; margin-top: .15rem; }
.reviews__tab:hover { color: var(--ink); }
.reviews__tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--ek-blue-tint); }
.reviews__tab[aria-selected="true"] .reviews__service { color: var(--ek-blue-deep); }
.reviews.is-manual .reviews__tab[aria-selected="true"] { border-left-color: var(--ek-blue); }
.reviews:not(.is-manual) .reviews__tab[aria-selected="true"]::after { animation: review-progress var(--review-duration, 8s) linear forwards; }
.reviews.is-paused .reviews__tab::after { animation-play-state: paused !important; }
@keyframes review-progress { to { transform: scaleY(1); } }

.reviews__stage { position: relative; background: var(--koelgang); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3.25rem); min-height: 100%; }
.reviews__stage::before { /* groot aanhalingsteken */
  content: "\201C"; position: absolute; top: clamp(.25rem, 1vw, .75rem); left: clamp(1rem, 3vw, 2.25rem);
  font: 800 clamp(6rem, 10vw, 9rem)/1 var(--font-display); color: var(--ek-blue); opacity: .18; pointer-events: none;
}
.reviews__panel { position: relative; margin: 0; display: flex; flex-direction: column; gap: 1.75rem; height: 100%; }
.reviews__panel[hidden] { display: none; }
.reviews__panel:focus-visible { outline-offset: 8px; }
.reviews__panel blockquote { margin: 0; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.reviews__panel blockquote p { margin: 0; font-family: var(--font-display); font-stretch: 102%; font-weight: 500; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.reviews__panel figcaption { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.reviews__who { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.js .reviews__panel:not([hidden]) { animation: review-in .45s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes review-in { from { opacity: 0; transform: translateY(8px); } }

/* Zonder JavaScript: alle ervaringen onder elkaar */
.no-js .reviews { grid-template-columns: 1fr; }
.no-js .reviews__tabs { display: none; }
.no-js .reviews__panel + .reviews__panel { margin-top: 2.5rem; }

@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; gap: 1rem; }
  .reviews__tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .reviews__tabs::-webkit-scrollbar { display: none; }
  .reviews__tab { flex: none; width: auto; padding: .75rem 1rem .85rem; margin: 0 0 -1px; border-left: 0; border-bottom: 3px solid transparent; }
  .reviews__tab[aria-selected="true"] { border-bottom-color: var(--ek-blue-tint); }
  .reviews.is-manual .reviews__tab[aria-selected="true"] { border-bottom-color: var(--ek-blue); }
  .reviews__tab::after { left: 0; top: auto; bottom: -1px; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; }
  .reviews__context { display: none; }
  @keyframes review-progress { to { transform: scaleX(1); } }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; font-weight: 650; font-stretch: 104%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font: 600 1.25rem var(--font-mono); color: var(--ek-blue); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Notitie / callout ---------- */
.note { background: var(--ek-blue-tint); border-left: 4px solid var(--ek-blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.note > :last-child { margin-bottom: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { font-size: var(--step-1); }

/* ---------- CTA-band ---------- */
.cta-band { background: linear-gradient(115deg, var(--ek-blue-deep) 0%, #34529a 55%, var(--ek-blue) 100%); color: #e6ecfa; padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.cta-band::after { /* twee logo-vierkanten als stille echo */
  content: ""; position: absolute; right: clamp(-40px, 2vw, 40px); bottom: -30px; width: 120px; height: 120px; border-radius: 12px;
  background: rgba(255,255,255,.07); box-shadow: -136px 0 0 rgba(255,255,255,.04);
}
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: .35em; }
.cta-band p { max-width: 60ch; margin: 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; z-index: 1; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 1rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { font-weight: 650; padding: 0; margin-bottom: .5rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field__label { font-weight: 600; font-size: .92rem; }
.field__hint { font-size: .82rem; color: var(--ink-soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: 400 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ek-blue); box-shadow: 0 0 0 3px rgba(71, 103, 175, .2); }
.form input:disabled { background: var(--koelgang); color: var(--ink-soft); }
.form .errorBorder, .form .error:not(label) { border-color: var(--danger) !important; }
.form label.error { color: var(--danger); font-size: .82rem; font-weight: 500; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ek-blue); flex: none; }
.captcha { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.captcha__sum { font-family: var(--font-mono); font-weight: 600; background: var(--koelgang); border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .8rem; }
.captcha input { max-width: 120px; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; margin: 0 0 1rem; }
.alert--success { background: #e3f4ea; color: var(--success); border: 1px solid #b9e2c9; }
.alert--error { background: #fbe6ea; color: var(--danger); border: 1px solid #f0bcc6; }
/* Aliassen voor bestaande PHP-meldingen */
.text-success { color: var(--success); }
.text-red { color: var(--danger); }

/* ---------- Contactgegevens ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.contact-list strong { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.dl-grid { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 0; }
.dl-grid dt { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); padding-top: .15rem; }
.dl-grid dd { margin: 0; }

/* ---------- Bedrijfsgegevens (over ons) ---------- */
.company-card h2 { margin-bottom: 1.25rem; }
.company-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.company-card__grid > div { background: var(--surface); padding: 1rem 1.1rem; }
.company-card__grid dt { font: 600 .72rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem; }
.company-card__grid dd { margin: 0; line-height: 1.5; }
.company-card__grid address { font-style: normal; }
@media (max-width: 480px) { .company-card__grid { grid-template-columns: 1fr; } }

/* ---------- Video (klik-om-te-laden) ---------- */
.video-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--rack); color: #fff; text-align: left;
}
.video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .2s, transform .4s; }
.video-btn:hover img { opacity: .75; transform: scale(1.02); }
.video-btn__label { position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; display: flex; align-items: center; gap: 1rem; font-weight: 650; font-size: 1.1rem; }
.video-btn__label small { display: block; font-weight: 400; font-size: .85rem; opacity: .85; }
.video-btn__play { width: 64px; height: 64px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.video-btn__play::before { content: ""; border-left: 18px solid var(--ek-blue-deep); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.ek-video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); }

/* ---------- Homepage-hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.02; margin-bottom: .45em; }
.hero .lead { margin-bottom: 0; }
.hero__meta { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .92rem; color: var(--ink-soft); }
.hero__meta li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ek-blue); }
.hero__media { position: relative; isolation: isolate; }
.hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.hero__media::before, .hero__media::after { /* de twee logo-vierkanten als merkaccent */
  content: ""; position: absolute; z-index: -1; border-radius: 12px;
}
.hero__media::before { width: 34%; aspect-ratio: 1; left: -22px; top: -22px; background: #dcdad8; }
.hero__media::after { width: 46%; aspect-ratio: 1; right: -22px; bottom: -22px; background: var(--ek-blue); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 3 / 2; }
}

/* Dienstenindex onder de hero */
.service-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.service-index a { display: block; padding: 1.25rem 1.25rem 1.4rem 0; text-decoration: none; color: var(--ink); border-top: 3px solid transparent; margin-top: -2px; transition: border-color .15s, color .15s; }
.service-index a + a { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.service-index strong { display: block; font-weight: 700; font-stretch: 106%; font-size: 1rem; line-height: 1.3; }
.service-index span { display: block; font-size: .86rem; color: var(--ink-soft); margin-top: .2rem; }
.service-index a:hover, .service-index a:focus-visible { border-top-color: var(--ek-blue); color: var(--ek-blue-deep); }
@media (max-width: 1080px) {
  .service-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-index a:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .service-index a:nth-child(n + 4) { border-top-color: var(--line); border-top-width: 1px; margin-top: 0; }
}
@media (max-width: 560px) {
  .service-index { grid-template-columns: 1fr 1fr; }
  .service-index a, .service-index a + a { padding: 1rem .75rem 1.1rem 0; }
  .service-index a:nth-child(3n + 1) { padding-left: .75rem; border-left: 1px solid var(--line); }
  .service-index a:nth-child(odd) { padding-left: 0; border-left: 0; }
  .service-index a:nth-child(even) { padding-left: .75rem; border-left: 1px solid var(--line); }
  .service-index a:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 0; }
  .service-index a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--rack); color: #b8c3d8; font-size: .95rem; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.site-footer__title { font: 600 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #8a97b3; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer__brand img { width: 161px; height: 48px; background: #fff; padding: 8px 10px; border-radius: var(--radius); box-sizing: content-box; }
.site-footer__brand p { margin-top: 1rem; max-width: 34ch; }
.site-footer__title--spaced { margin-top: 1.5rem; }
.site-footer__bottom { border-top: 1px solid var(--rack-line); padding: 1.1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-family: var(--font-mono); font-size: .76rem; color: #8a97b3; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Cookie-melding (ids uit analytics-consent.js) ---------- */
.analytics-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(21,33,58,.45); padding: 1.1rem 1.25rem; }
.analytics-consent[hidden] { display: none; }
.analytics-consent__content { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.analytics-consent__text { flex: 1 1 320px; font-size: .92rem; }
.analytics-consent__text p { margin: .25rem 0 0; color: var(--ink-soft); }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.analytics-consent__button { min-height: 44px; padding: .55rem 1rem; border-radius: var(--radius); font: 600 .92rem var(--font-body); cursor: pointer; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); }
.analytics-consent__button--primary { background: var(--ek-blue); border-color: var(--ek-blue); color: #fff; }

/* ---------- 404 ---------- */
.error-page { text-align: center; max-width: 640px; margin: 0 auto; }
.error-page__code { font: 600 .85rem var(--font-mono); letter-spacing: .1em; color: var(--ek-blue); }

/* ---------- Domeinnamen (whois) en compacte tabellen ---------- */
/* Domeinnamen: zoekbalk naast knop */
.domain-search { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin: 0 0 2rem; max-width: 640px; }
.domain-search .field { flex: 1 1 260px; margin: 0; }

/* Domeinnamen: laad-overlay die whois.js met jQuery in- en uitfadet */
.loading { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(21, 33, 58, .6); }
.loading img { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: #fff; padding: 8px; }

/* Tabellen die naast elkaar staan hoeven niet 640px breed te zijn */
.price-table--compact { min-width: 0; }

/* ---------- Beweging (alleen met JS en zonder reduced motion) ---------- */
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 6px 24px -14px rgba(21, 33, 58, .35); }

.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(27, 36, 54, .97) 0%, rgba(27, 36, 54, .9) 45%, rgba(27, 36, 54, .72) 100%), url("/images/ek/svc-backup-800.webp") center / cover no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); transition-delay: var(--reveal-delay, 0ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .js .hero__media::before { animation: hero-square .9s cubic-bezier(.2, .7, .3, 1) .2s both; }
  .js .hero__media::after { animation: hero-square-b .9s cubic-bezier(.2, .7, .3, 1) .4s both; }
}
@keyframes hero-square { from { opacity: 0; transform: translate(14px, 14px); } }
@keyframes hero-square-b { from { opacity: 0; transform: translate(-14px, -14px); } }

/* ---------- Hulpklassen ---------- */
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.code-box { background: var(--rack); color: #e9eef8; font-family: var(--font-mono); font-size: .85rem; padding: 1rem; border-radius: var(--radius); overflow-x: auto; }

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