/* HydraServers — site.css
   Licht, redactioneel ontwerp: papier, inkt en één roestkleurig accent.
   Maten en kleuren komen uit het ontwerp (HydraServers.html). Mobiel eerst; de
   meeste rasters schikken zich met auto-fit vanzelf naar de schermbreedte. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F6F6F6;
  --grey: #ECECEC;
  --white: #FFFFFF;
  --ink: #161616;
  --text-2: #3D3D3D;
  --muted: #5C5C5C;
  --line: #DCDCDC;
  --line-2: #CACACA;
  --chip: #D0D0D0;
  --rust: #B4441F;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 75px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------- basis */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--paper);
}
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 { font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
main:focus { outline: none; }

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

.sr-only {
  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: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.band--grey { background: var(--grey); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink a { color: var(--paper); }
.band--ink a:hover { color: #E3876A; }

/* -------------------------------------------------------------- typografie */

.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; }
.h2--m { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; }
.h2--xl { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.04em; }
.h2--xxl { font-size: clamp(48px, 6.4vw, 96px); line-height: .92; letter-spacing: -.045em; max-width: 10ch; }
.h3 { font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.035em; }
.h4 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 44ch; }
.body-l { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.fine { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 42ch; }
.kicker { font-size: 14px; color: var(--text-2); }

/* Kop links, toelichting rechts; smal onder elkaar. */
.split-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px);
}

/* ------------------------------------------------------------------ knoppen */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[target="_blank"]:hover .arrow { transform: translate(2px, -2px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--rust); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.band--ink .btn--light { background: var(--paper); color: var(--ink); }
.band--ink .btn--light:hover { background: var(--rust); color: #fff; }
.band--ink .btn--outline-light { border-color: var(--paper); color: var(--paper); }
.band--ink .btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 15px; font-weight: 500; border-width: 0; }
.btn--block { width: 100%; padding-block: 17px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link { font-weight: 600; font-size: 15px; }
.text-link .arrow { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions--project { gap: 24px; margin-top: 8px; }
.actions--project .btn { padding: 14px 22px; font-size: 15px; }
@media (max-width: 26em) { .hero .actions .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
/* De vervaging zit op een eigen laag: met backdrop-filter op de header zelf tekent
   Chrome het vaste menupaneel op mobiel niet altijd. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 246, 246, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 18px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo__mark {
  position: relative; display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  font-weight: 800; font-size: 20px; letter-spacing: -.04em;
}
.logo__mark span { position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }

/* Mobiel: een pilknop met twee streepjes die een kruis worden. */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
@media (hover: hover) { .nav-toggle:hover { background: var(--ink); color: var(--paper); } }
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 12px; }
.nav-toggle__bars i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle__bars i:first-child { top: 1px; }
.nav-toggle__bars i:last-child { top: 9px; }
.nav-open .nav-toggle__bars i { top: 5px; }
.nav-open .nav-toggle__bars i:first-child { transform: rotate(45deg); }
.nav-open .nav-toggle__bars i:last-child { transform: rotate(-45deg); }

/* Mobiel: het paneel schuift onder de balk open. Zonder javascript staat het gewoon open. */
.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; grid-template-rows: 0fr;
  background: var(--paper); visibility: hidden;
  transition: grid-template-rows .45s var(--ease), box-shadow .45s var(--ease), visibility 0s .45s;
}
.nav-open .nav {
  grid-template-rows: 1fr; visibility: visible;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .3);
  transition: grid-template-rows .45s var(--ease), box-shadow .45s var(--ease);
}
.nav__clip { overflow: hidden; min-height: 0; }
.nav__inner { display: flex; flex-direction: column; padding-block: 4px 24px; border-top: 1px solid var(--line); }
.nav__list a {
  display: block; padding: 12px 0;
  font-size: 28px; font-weight: 800; letter-spacing: -.035em; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__list a[aria-current="true"] { color: var(--rust); }
.nav__cta { margin-top: 22px; width: 100%; padding: 16px 24px; font-size: 17px; font-weight: 600; }
.nav__contact { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 15px; }
.nav__contact a { font-weight: 600; }

/* De onderdelen komen een voor een binnen. */
.nav__list li, .nav__cta, .nav__contact {
  opacity: 0; transform: translateY(-10px);
  transition: opacity .35s ease, transform .45s var(--ease), background-color .2s, color .2s;
}
.nav-open .nav__list li, .nav-open .nav__cta, .nav-open .nav__contact { opacity: 1; transform: none; }
.nav-open .nav__list li:nth-child(1) { transition-delay: 60ms; }
.nav-open .nav__list li:nth-child(2) { transition-delay: 100ms; }
.nav-open .nav__list li:nth-child(3) { transition-delay: 140ms; }
.nav-open .nav__list li:nth-child(4) { transition-delay: 180ms; }
.nav-open .nav__cta { transition-delay: 220ms; }
.nav-open .nav__contact { transition-delay: 260ms; transform: none; }

.no-js .nav { position: static; visibility: visible; grid-template-rows: 1fr; flex-basis: 100%; }
.no-js .nav__list li, .no-js .nav__cta, .no-js .nav__contact { opacity: 1; transform: none; }
.no-js .nav__inner { padding-inline: 0; }
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }

@media (min-width: 52em) {
  .nav-toggle { display: none; }
  .nav, .no-js .nav {
    position: static; display: block; visibility: visible; flex-basis: auto;
    background: none; box-shadow: none; transition: none;
  }
  .nav__clip { overflow: visible; }
  .nav__inner {
    flex-direction: row; align-items: center; gap: clamp(16px, 2.5vw, 32px);
    padding: 0; border: 0; max-width: none;
  }
  .nav__list { display: flex; gap: clamp(16px, 2.5vw, 32px); }
  .nav__list a { padding: 0; border: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; }
  .nav__list li, .nav__cta, .nav__contact { opacity: 1; transform: none; transition: none; }
  .nav__cta { margin: 0; width: auto; padding: 10px 18px; font-size: 15px; font-weight: 500; }
  .nav__cta .arrow, .nav__contact { display: none; }
  .no-js .site-header__inner { flex-wrap: nowrap; }
}

/* --------------------------------------------------------------------- hero */

.hero { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero__title { font-size: clamp(52px, 9.6vw, 148px); line-height: .92; letter-spacing: -.045em; max-width: 12ch; }
.hero__row {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px; align-items: end;
}
.hero__lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--text-2); max-width: 30ch; }
.trust {
  margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--text-2);
}
.slash { color: var(--rust); }
@media (max-width: 40em) {
  /* Het langste woord moet op elke telefoon passen, ook op 320px. */
  .hero__title { font-size: 12.2vw; }
  /* Onder elkaar, met de schuine streep ervoor: breekt nergens halverwege af. */
  .trust { flex-direction: column; gap: 8px; }
  .trust .slash { display: none; }
  .trust span:not(.slash)::before { content: "/"; color: var(--rust); margin-right: 10px; }
}

/* ---------------------------------------------------------------- projecten */

.section--projects { padding-bottom: 0; }
.project {
  border-top: 1.5px solid var(--ink);
  padding: 28px 0 clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px;
}
.project__body { display: flex; flex-direction: column; gap: 20px; }
.project__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; }
.status--live { color: #1F6B45; }
.status--live .dot { background: #1F8A55; }
.status--development { color: #8A5A12; }
.status--development .dot { background: #C98A1E; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 7px 13px; border: 1px solid var(--chip); border-radius: 999px; }

/* Browservenster met een telefoon ervoor. */
.devices { position: relative; padding: 0 9% 10% 0; align-self: start; }
.browser {
  border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .28);
  transition: transform .5s var(--ease);
}
.browser__bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #E6E6E6; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6D6D6; flex: none; }
.browser__url {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: 0 auto;
  background: #F1F1F1; border-radius: 6px; padding: 4px 14px;
  font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__lock { width: 11px; height: 11px; flex: none; }
.browser__end { width: 42px; flex: none; }
.browser__screen { aspect-ratio: 16 / 10; overflow: hidden; background: #EDEDED; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 24%;
  aspect-ratio: 500 / 1082; border-radius: 22px; border: 6px solid var(--ink);
  overflow: hidden; background: #EDEDED;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .35);
  transition: transform .5s var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 30em) { .phone { border-width: 4px; border-radius: 16px; } }
.project:hover .browser { transform: translateY(-4px); }
.project:hover .phone { transform: translateY(-8px); }

/* ------------------------------------------------------- diensten & prijzen */

#diensten { margin-top: clamp(40px, 6vw, 80px); }
.service {
  border-top: 1px solid var(--line-2); padding: 32px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 40px;
}
.service:first-child { border-top: 1.5px solid var(--ink); }
.service__title { font-size: 32px; letter-spacing: -.03em; line-height: 1.1; }
.service__price { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.service__price strong { font-size: 22px; color: var(--ink); }
.service__price:has(s) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 17px; }
.service__price:has(s) strong { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.service__price s { font-size: 17px; color: var(--muted); text-decoration-thickness: 1.5px; }
.service__off {
  padding: 4px 12px; border: 1.5px solid var(--rust); border-radius: 999px;
  color: var(--rust); font-size: 15px; font-weight: 700;
}
.service__spots { margin-top: 18px; max-width: 360px; }
.service__bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.service__bars i { height: 5px; border-radius: 3px; background: var(--line-2); }
.service__bars i.is-free { background: var(--rust); }
.service__spots p { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.service__main { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.service__main p { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.service__items { font-size: 15px; line-height: 1.8; color: var(--text-2); }
.price-note { margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 70ch; }
.price-note strong { color: var(--ink); }

/* ---------------------------------------------------------- hosting & beheer */

.hosting {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 56px; align-items: center;
  border-radius: 20px; padding: clamp(28px, 4vw, 44px);
}
.hosting__price { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hosting__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 17px; color: #BBBBBB; }
.hosting__amount strong { font-size: clamp(72px, 9vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--paper); }
.hosting__label { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.hosting__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); column-gap: 32px; }
.hosting__list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid #333; font-size: 17px; }
.hosting__list li::before { content: "/"; position: absolute; left: 0; color: #E3876A; }

.hosting__sub { margin: clamp(48px, 6vw, 72px) 0 24px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 40px; }
.term { border-top: 3px solid var(--ink); padding-top: 16px; }
.term__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.term h4 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.term__tag { flex: none; padding: 3px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.term p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.term--rust { border-top-color: var(--rust); }
.term--rust .term__tag { border-color: var(--rust); color: var(--rust); }
.term--grey { border-top-color: var(--line-2); }
.term--grey .term__tag { border-color: #9A9A9A; color: var(--muted); }

.hosting__leave {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px;
  margin-top: clamp(40px, 5vw, 56px); padding: 22px 0; border-block: 1px solid var(--line-2);
  font-size: 17px; color: var(--text-2);
}
.hosting__leave strong { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hosting__leave strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rust); }

/* ---------------------------------------------------------------- werkwijze */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 40px 32px; }
.step { border-top: 1.5px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step__nr { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--rust); }
.step p { font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* ------------------------------------------------------------------ over mij */

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text p { font-size: 19px; line-height: 1.6; color: #D4D4D4; max-width: 46ch; }
.about__text .about__name { font-size: 16px; color: #BBBBBB; }
.about__photo { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.about__mail { font-weight: 600; font-size: 18px; align-self: flex-start; }
.about__why { display: flex; flex-direction: column; gap: 20px; }
.about__why > p { font-size: 16px; line-height: 1.55; color: #D4D4D4; margin-bottom: 8px; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 32px; }
.why > div { border-top: 1px solid #424242; padding: 18px 0; }
.why h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why p { font-size: 15px; line-height: 1.55; color: #BBBBBB; }

/* ---------------------------------------------------------- betrouwbaarheid */

.reliability { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; }
.reliability__intro { display: flex; flex-direction: column; gap: 20px; }
.reliability__intro .lead { max-width: 42ch; }
.rows > div {
  display: grid; grid-template-columns: minmax(140px, .6fr) minmax(0, 1fr); gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--line-2);
}
.rows > div:first-child { border-top: 1.5px solid var(--ink); }
.rows dt { font-weight: 700; font-size: 17px; }
.rows dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 30em) { .rows > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------------------------------------------------------------------- faq */

.faq { display: flex; flex-direction: column; gap: 40px; }
.faq__title { text-align: center; }
.faq__list { border-bottom: 1px solid var(--line-2); }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; transition: color .15s; }
.faq__item summary:hover h3 { color: var(--rust); }
.faq__plus { font-size: 26px; font-weight: 400; line-height: 1; color: var(--rust); transition: transform .2s; flex: none; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__a p { margin-bottom: 22px; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 60ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------------ contact */

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: center; }
.contact__intro { display: flex; flex-direction: column; gap: 28px; }
.contact__intro .lead { font-size: 19px; max-width: 40ch; }
.contact__rows { max-width: 460px; font-size: 16px; border-bottom: 1px solid var(--line-2); }
.contact__rows > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.contact__rows > div:first-child { border-top: 1.5px solid var(--ink); }
.contact__rows dt { color: var(--muted); }
.contact__rows dd { margin: 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
@media (min-width: 64em) { .contact__intro { padding-bottom: 140px; } }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide, .form__privacy, .form .btn, .form__status { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 50px;
  border: 1px solid var(--chip); border-radius: 10px; background: var(--paper);
  font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field textarea::placeholder { color: #6B6B6B; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(180, 68, 31, .18);
}
.field__error { font-size: 14px; color: #A3261B; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #A3261B; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: 13px; line-height: 1.55; color: var(--muted); }
.form__privacy a { color: var(--muted); }
.form__status { padding: 12px 14px; border-radius: 10px; background: #FBEAE5; color: #7A2A12; font-size: 15px; }
.form__status a { color: inherit; font-weight: 600; }
.form-success { padding: 24px 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success__mark {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 26px; font-weight: 700;
}
.form-success h3 { margin-top: 18px; }
.form-success p:last-child { margin: 10px auto 0; max-width: 32ch; color: var(--text-2); }

/* ------------------------------------------------------------------- footer */

.site-footer { border-top: 1.5px solid var(--ink); }
.site-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 36px; padding-block: 48px 32px; font-size: 15px;
}
.site-footer__grid > * { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer__brand { gap: 12px; }
.site-footer__brand p { color: var(--text-2); line-height: 1.5; }
.site-footer h2 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.site-footer a { text-decoration: none; padding-block: 2px; }
.site-footer__bottom { padding-bottom: 32px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- subpagina's */

.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.page-hero__title { font-size: clamp(44px, 7vw, 104px); line-height: .94; letter-spacing: -.045em; max-width: 14ch; }
.page-hero .lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 52ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rust); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rust); }

.case-top .actions { margin-bottom: clamp(28px, 4vw, 48px); }
.case__devices .devices { padding-right: 7%; }
.case__devices .phone { width: 18%; }
.case { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; }
.case__intro { display: flex; flex-direction: column; gap: 16px; }
.rows--facts > div { grid-template-columns: minmax(110px, .5fr) minmax(0, 1fr); }
.case-bottom { padding-bottom: var(--section-y); }
.case__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px 48px; }
.case__group { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.case__group ul { margin-top: 16px; }
.case__group li { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 16px; color: var(--text-2); }
.case__group li:first-child { border-top: 0; }
.case__figure { margin-top: clamp(48px, 6vw, 80px); }
.case__figure figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }

.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; align-items: end; }
.cta p { font-size: 19px; line-height: 1.55; color: #D4D4D4; max-width: 42ch; margin-bottom: 28px; }

/* Juridische pagina's: kop en tekst in één gecentreerde leeskolom. */
.page-hero--center { align-items: center; text-align: center; }
.page-hero--center .page-hero__title { max-width: 16ch; }
.page-hero--center .lead { margin-inline: auto; }
.page-actions { padding-bottom: var(--section-y); }

.legal { max-width: calc(760px + 2 * var(--pad-x)); padding-bottom: var(--section-y); }
.legal__updated { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: clamp(32px, 4vw, 48px); }
.legal p { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal a { font-weight: 500; }
.legal__intro { padding-bottom: 32px; }

.legal__toc { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); padding: 20px 0 24px; margin-bottom: 16px; }
.legal__toc h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.legal__toc ol { columns: 2 16rem; column-gap: 40px; }
.legal__toc li { break-inside: avoid; }
.legal__toc a { display: flex; gap: 12px; padding: 5px 0; font-size: 15px; text-decoration: none; color: var(--text-2); }
.legal__toc a span { min-width: 1.5em; color: var(--rust); font-weight: 600; }
.legal__toc a:hover { color: var(--rust); }

.legal__article { padding-block: 32px; }
.legal__article + .legal__article { border-top: 1px solid var(--line-2); }
.legal__article h2 { font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.legal__nr { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.legal__clauses { list-style: none; padding: 0; display: grid; gap: 12px; }
.legal__clauses li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 4px; }
.legal__cl { font-size: 15px; line-height: 1.75; font-weight: 600; color: var(--muted); }
.legal__clauses p { margin: 0; }
.legal__article:target h2 { color: var(--rust); }
.legal__num { color: var(--rust); }

.legal__summary { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 32px; }
.legal__summary h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.legal__summary ul { display: grid; gap: 8px; }
.legal__summary li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.legal__summary li::before { content: "/"; position: absolute; left: 0; color: var(--rust); font-weight: 600; }

.legal__rows { margin: 4px 0 0; border-top: 1.5px solid var(--ink); }
.legal__rows > div { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.legal__rows dt { font-weight: 700; font-size: 16px; line-height: 1.55; }
.legal__rows dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 36em) { .legal__rows > div { grid-template-columns: 1fr; gap: 2px; } }

.legal__items { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal__items li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.legal__items li::before { content: "/"; position: absolute; left: 0; color: var(--rust); font-weight: 600; }
.legal__rows + p, .legal__items + p { margin-top: 16px; }
@media (max-width: 30em) { .legal__clauses li { grid-template-columns: 2.4em minmax(0, 1fr); } }

/* ------------------------------------------------------------------ beweging */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.anim { animation: rise .8s var(--ease) both; }
.anim--2 { animation-delay: .08s; }
.anim--3 { animation-delay: .16s; }

/* Scroll-animaties. De klassen hieronder zet site.js pas als alles klaarstaat;
   zonder javascript of bij een fout blijft alle inhoud gewoon zichtbaar. */
.sa, .sa-line, .sa-word > span {
  transition:
    opacity .7s ease var(--d, 0s),
    transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s),
    background-size 1.1s cubic-bezier(.7, 0, .2, 1) var(--d, 0s);
}
.sa { opacity: 0; transform: translateY(28px); }
.sa.sa-in { opacity: 1; transform: none; }

/* Zwarte lijnen van 1,5px tekenen zich van links naar rechts. */
.sa-line {
  border-top-color: transparent !important;
  background-image: linear-gradient(#161616, #161616);
  background-origin: border-box; background-position: 0 0; background-repeat: no-repeat;
  background-size: 0% 1.5px;
}
.sa-line.sa-in { background-size: 100% 1.5px; }

/* Grote koppen komen per woord omhoog. */
.sa-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.sa-word > span { display: inline-block; transform: translateY(105%); transition-duration: 0s, .8s, 0s; }
.sa-in .sa-word > span { transform: none; }

.sa-count { font-variant-numeric: tabular-nums; display: inline-block; }
.sa-para .browser, .sa-para .phone { will-change: transform; transition: none; }

/* Vangnet bij een fout: alles direct zichtbaar. */
.sa-off .sa, .sa-off .sa-word > span { opacity: 1 !important; transform: none !important; transition: none !important; }
.sa-off .sa-line { background-size: 100% 1.5px !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .project:hover .browser, .project:hover .phone { transform: none; }
}

@media print {
  .site-header, .form-card { display: none !important; }
  .band--ink { background: #fff; color: #000; }
}
