/* Het trustcenter van Outdeliver, in de stijl van outdeliver.ai: Inter, inkt
   #16161a, papier #f6f5f3 en Delfts blauw #24478f als enige accent. Kop en
   voet hebben de maten van de site (zie "Kop, gelijk aan de homepage" en "Voet,
   gelijk aan de homepage" in style.css daar), met dezelfde taalkeuze en
   themaknop. Donker volgt de kleuren van de site. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-aanvulling.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+2011, U+2192;
}

:root {
  color-scheme: light;
  --ink: #16161a;
  --ink-soft: #55555f;
  --ink-faint: #6b6b75;
  --paper: #ffffff;
  --paper-rgb: 255, 255, 255;
  --paper-warm: #f6f5f3;
  --line: #e4e2de;
  --line-rgb: 22, 22, 26;
  --accent: #24478f;
  /* De knop is in beide thema's hetzelfde blauw, met witte tekst. */
  --knop: #24478f;
  --knop-hover: #1b3770;
  --kop-link: #4a4a55;
  --voet-tekst: #65656f;
  --voet-link: #4a4a55;
  --taal-actief: #ebebee;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --g: clamp(16px, 4vw, 48px);
  --section-gap: clamp(3.5rem, 6vw, 6rem);
  --lift: 0 1px 2px rgba(22, 22, 26, 0.04), 0 8px 24px rgba(22, 22, 26, 0.05);
  --radius: 8px;
}

/* Donker is een spiegel van licht, met de kleuren van outdeliver.ai. */
:root[data-thema="donker"] {
  color-scheme: dark;
  --ink: #ededf3;
  --ink-soft: #adadb8;
  --ink-faint: #95959f;
  --paper: #16161a;
  --paper-rgb: 22, 22, 26;
  --paper-warm: #232221;
  --line: #2c2b28;
  --line-rgb: 237, 237, 243;
  --accent: #a9bfea;
  --kop-link: #adadb8;
  --voet-tekst: #95959f;
  --voet-link: #adadb8;
  --taal-actief: #2c2c33;
  --lift: none;
}

/* --- Basis ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Een anker valt precies onder de kop: 76 pixels, op een telefoon 64. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (max-width: 720px) { html { scroll-padding-top: 64px; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Een link in lopende tekst is blauw en onderstreept. */
main :is(p, dd) a { color: var(--accent); text-decoration: underline 1px; text-underline-offset: 0.2em; }

.wrap { width: min(100% - 2 * var(--g), 1240px); margin-inline: auto; }

.naar-inhoud { position: absolute; left: -9999px; }
.naar-inhoud:focus { left: var(--g); top: 12px; z-index: 100; padding: 8px 14px; background: var(--paper); border-radius: 999px; }

/* Het woordmerk bestaat in licht en donker; het thema kiest welk zichtbaar is. */
.logo .logo-donker { display: none; }
:root[data-thema="donker"] .logo .logo-licht { display: none; }
:root[data-thema="donker"] .logo .logo-donker { display: block; }

/* --- Knoppen ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(36, 71, 143, 0.65);
  border-radius: 999px;
  background: var(--knop);
  box-shadow: 0 8px 24px -14px rgba(36, 71, 143, 0.7);
  color: #fff;
  font: 550 15.5px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--knop-hover); border-color: var(--accent); }
:root[data-thema="donker"] .btn:not(.btn-ghost) { border-color: rgba(169, 191, 234, 0.65); box-shadow: 0 10px 40px -12px rgba(36, 71, 143, 0.8); }
:root[data-thema="donker"] .btn:not(.btn-ghost):hover { background: #2f58a8; }
.btn-ghost, .btn-ghost:hover { background: none; box-shadow: none; color: var(--ink); }
.btn-ghost { border-color: rgba(var(--line-rgb), 0.2); }

/* --- Kop, gelijk aan de homepage -------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  font-feature-settings: "cv11";
  transition: background 0.3s, border-color 0.3s;
}
.top.scrolled,
body.menu-open .top {
  background: rgba(var(--paper-rgb), 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(var(--line-rgb), 0.1);
}
.top-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.top .brand { flex: none; }
.top .brand img { width: auto; height: 24px; }

/* Het enige verschil met de kop van de site: het label Trustcenter naast het
   woordmerk, achter een smalle grijze streep, zodat je ziet waar je bent. */
.top .label {
  margin-left: -12px;
  padding-left: 20px;
  border-left: 1px solid rgba(var(--line-rgb), 0.16);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}
.top .label:hover { color: var(--ink); }

.top .nav { display: flex; align-items: center; gap: 42px; margin-left: auto; }
.top .nav a:not(.btn) { color: var(--kop-link); font-size: 15px; font-weight: 450; text-decoration: none; }
.top .nav a:not(.btn):hover { color: var(--ink); }
.top .nav .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* De taalkeuze: NL en EN, de huidige taal licht gemarkeerd. */
.taalkeuze { display: inline-flex; flex: none; gap: 2px; margin-left: -12px; padding: 3px; border: 1px solid rgba(var(--line-rgb), 0.16); border-radius: 999px; }
.taalkeuze a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; line-height: 1; text-decoration: none; transition: background 0.15s; }
.taalkeuze a[aria-current] { background: var(--taal-actief); }

/* De themaknop: een maan in licht, een zon in donker. */
.thema-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -16px;
  margin-right: -13.5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.thema-knop:hover, .thema-knop:focus-visible { background: var(--paper-warm); color: var(--ink); }
:root[data-thema="donker"] .thema-knop:hover, :root[data-thema="donker"] .thema-knop:focus-visible { background: var(--line); }
.thema-knop svg { width: 17px; height: 17px; }
.thema-knop .thema-zon { display: none; }
:root[data-thema="donker"] .thema-knop .thema-maan { display: none; }
:root[data-thema="donker"] .thema-knop .thema-zon { display: block; }

/* Onder 1140 pixels: een ronde menuknop met het menu eronder. Daar staat de
   taalkeuze naast de knop Plan een gesprek. */
.top .menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(var(--line-rgb), 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.top .menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.25s; }
.top .menu-btn span:first-child { top: 17px; }
.top .menu-btn span:last-child { top: 25px; }
.top .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.top .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.top .menu { width: min(100% - 2 * var(--g), 1240px); margin-inline: auto; padding: 12px 0 28px; border-top: 1px solid rgba(var(--line-rgb), 0.1); }
.top .menu > a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(var(--line-rgb), 0.1); font-size: 22px; font-weight: 500; text-decoration: none; }
.menu-rij { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.menu-rij .btn { flex: 1; }
.menu-rij .taalkeuze { gap: 8px; margin-left: 0; }
.menu-rij .taalkeuze a { min-width: 44px; height: 44px; padding: 0 10px; font-size: 13px; }

@media (max-width: 1140px) {
  .top-in { gap: 8px; }
  .top .label { margin-left: 8px; padding-left: 16px; }
  .top .nav, .top-in > .taalkeuze { display: none; }
  .top .menu-btn { display: block; }
  .top .thema-knop { margin-left: 0; }
}
@media (max-width: 720px) {
  .top-in { height: 64px; }
  .top .brand img { height: 20px; }
  .top .label { margin-left: 4px; padding-left: 12px; font-size: 14px; }
}
/* Op een laag scherm, zoals een iPhone SE, iets compacter, zoals op de site. */
@media (max-height: 700px) {
  .top .menu > a { padding: 10px 0; font-size: 20px; }
  .menu-rij { margin-top: 18px; }
}

/* --- Hero ------------------------------------------------------------------- */

.eyebrow { color: var(--accent); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lede { color: var(--ink-soft); font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; text-wrap: pretty; }

.hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { max-width: calc(24 * 0.631em); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 660; }
.hero .lede { max-width: calc(42 * 0.631em); margin-top: 1.5rem; }

/* De ankers naar de onderdelen, als rij rustige pillen. */
.ankers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 2.25rem; }
.ankers a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(var(--line-rgb), 0.16);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s;
}
.ankers a:hover { border-color: var(--accent); }

/* De datum staat klein onder de ankers, zodat je meteen ziet hoe actueel de
   pagina is. */
.bijgewerkt { margin-top: 1.25rem; color: var(--ink-faint); font-size: 0.9rem; }

/* --- Secties ---------------------------------------------------------------- */

.section { padding-block: var(--section-gap); }
.section.warm { background: var(--paper-warm); }

.section-head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2rem, 4vw, 2.75rem); text-align: center; }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head h2 { max-width: calc(26 * 0.631em); }
.section-head .lede { max-width: calc(46 * 0.631em); margin-top: 1rem; font-size: clamp(1.05rem, 1.4vw, 1.15rem); }

/* Kale kaarten: alleen tekst en een haarlijn, zoals op de site. Twee bij twee,
   op een telefoon onder elkaar. */
.kaarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.kaart {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--lift);
}
.kaart p { color: var(--ink-soft); }

.kolommen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.kolommen h3 { margin-bottom: 1rem; }
.kolommen p { color: var(--ink-soft); }
.kolommen p + p { margin-top: 1rem; }

@media (max-width: 760px) {
  .kaarten, .kolommen { grid-template-columns: minmax(0, 1fr); }
}

/* Documenten: de naam links, het soort rechts. Online is een link naar het
   document; op aanvraag is gewone tekst, aanvragen gaat via het slot. Het
   label is een rustig woord, geen knop. */
.documenten { display: grid; margin: 0; padding: 0; list-style: none; }
.documenten li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.documenten li:last-child { border-bottom: 1px solid var(--line); }
.documenten a { text-decoration: underline 1px; text-underline-offset: 0.2em; }
.tag { flex: none; color: var(--ink-faint); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* Met wie je zaken doet: de gegevens als lijst van naam en waarde. */
.gegevens { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; margin: 0; }
.gegevens dt { color: var(--ink-faint); font-weight: 500; }
.gegevens dd { margin: 0; }

/* Het slot: een kop, één zin en twee knoppen. Document aanvragen opent een
   ingevulde mail. */
.slot .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.slot .lede { max-width: calc(42 * 0.631em); margin-top: 1rem; }
.knoppen { display: inline-grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 620px) { .knoppen { grid-auto-flow: row; } }

/* --- Voet, gelijk aan de homepage ------------------------------------------- */

.foot { padding: 48px 0 40px; border-top: 1px solid rgba(var(--line-rgb), 0.1); color: var(--voet-tekst); font-size: 14.5px; line-height: 1.6; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot .logo img { width: auto; height: 20px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--voet-link); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }

/* Op een telefoon minstens 14px en 44 pixels om te raken. */
@media (max-width: 720px) {
  .foot { font-size: 15px; }
  .foot a, .foot .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .tag { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
