/* ==========================================================================
   Logisent — base.css
   Ontwerptokens, reset, typografie en lay-outprimitieven.
   ========================================================================== */

:root {
  /* Merkkleuren -------------------------------------------------------- */
  --blue-900: #0E3A6B;
  --blue-800: #16529A;
  --blue-700: #1C63B7;
  --blue-600: #2A79D6;
  --blue-100: #E3EEFA;
  --blue-050: #F2F7FD;

  --green-700: #3F8A1B;
  --green-600: #549E27;
  --green-500: #66C430;
  --green-300: #8FE05A;

  /* Het groen van de app-kopbalk en de e-mailhandtekening */
  --app-green: #76B72A;
  --app-green-1: #ECF4E2;
  --app-green-2: #C0DD9C;
  --app-green-3: #7DBB34;
  --green-050: #EEF8E6;

  --red-500: #ED1C24;
  --red-600: #D2141B;

  /* Het geel uit de app en de commerciële presentatie */
  --yellow-500: #F4C842;
  --yellow-400: #FDD835;

  --navy-900: #101823;
  --navy-800: #1A2433;
  --navy-700: #233140;
  --navy-600: #2E3D4E;

  --ink: #16202C;
  --muted: #5B6B7E;
  --muted-dark: #A9BDD1;
  --line: #DCE5EE;
  --line-dark: #2C3A4B;
  --surface: #F5F8FB;
  --surface-2: #EDF3F8;
  --white: #ffffff;

  /* Typografie --------------------------------------------------------- */
  --font-display: "Manrope", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Calibri", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-micro: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.75vw, 2.875rem);
  --fs-h1: clamp(2.3rem, 1.55rem + 3.3vw, 4.25rem);
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  /* Ritme -------------------------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 35, .05), 0 2px 8px rgba(16, 24, 35, .04);
  --shadow: 0 2px 6px rgba(16, 24, 35, .06), 0 14px 34px rgba(16, 24, 35, .08);
  --shadow-lg: 0 10px 24px rgba(16, 24, 35, .10), 0 32px 64px rgba(16, 24, 35, .14);

  --container: 1200px;
  --gutter: clamp(1.25rem, 1rem + 2vw, 3rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  overflow-wrap: break-word;
  hyphens: auto;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--navy-800);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; overflow-wrap: break-word; }
li, dd, figcaption, summary { overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }

strong, b { font-weight: 700; color: inherit; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.1em; }
li { margin-bottom: .4em; }
li::marker { color: var(--green-600); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-7) 0;
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--green-500); color: #fff; }

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

.container--narrow { max-width: 880px; }

.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.section--surface { background: var(--surface); }
.section--line-top { border-top: 1px solid var(--line); }

.section--dark {
  background: var(--navy-800);
  color: #D9E4F0;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark a { color: var(--green-300); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

.stack > * + * { margin-top: var(--space-4); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
}

/* Hulpklassen ---------------------------------------------------------- */
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}
.section--dark .lead { color: var(--muted-dark); }

/* De groene regel boven elke kop is de kern van dat onderdeel. Hij moet
   gelezen worden, dus is hij groter dan een gewoon bovenkopje en staat er
   geen streepje meer voor dat de aandacht wegtrekt. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-050);
  border: 1px solid rgba(84, 158, 39, .22);
  border-radius: 999px;
  padding: .44em .95em;
  max-width: 100%;
  margin: 0 0 var(--space-3);
}
.section--dark .eyebrow {
  color: var(--green-300);
  background: rgba(118, 183, 42, .15);
  border-color: rgba(143, 224, 90, .3);
}

.measure { max-width: 62ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure { margin-inline: auto; }

.muted { color: var(--muted); }
.section--dark .muted { color: var(--muted-dark); }

.small { font-size: var(--fs-small); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Beweging ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

@media print {
  .site-header, .site-footer, .cta-band, .to-top { display: none !important; }
  body { color: #000; }
}
