/* ==========================================================================
   Rebex Logistics – v2 "Global Freight Control"
   Donker, premium; accenten uit het logo (blauw → groen)
   ========================================================================== */

:root {
  --ink: #050d18;
  --navy: #081628;
  --panel: #0d1f35;
  --line: rgba(160, 190, 230, .13);
  --text: #e9eff7;
  --muted: #93a6bf;
  --blue: #3d8fe6;
  --green: #5fc463;
  --green-deep: #38763a;
  --paper: #f3f1ec;
  --paper-ink: #0b1626;
  --grad: linear-gradient(100deg, #3d8fe6 0%, #4fb0a8 50%, #5fc463 100%);
  --radius: 22px;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1280px, 100% - 3rem); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 2rem); } }

.skip-link { position: absolute; left: -9999px; z-index: 300; background: var(--green); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typografische bouwstenen ---------------------------------------------- */
.label {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 14px var(--green); }

.title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .92; letter-spacing: .005em;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 900px; }
.head__text { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 1.5rem; }
.head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; max-width: none; }
.head--split .head__text { margin: 0; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; gap: 1rem; } }

.mono { font-family: var(--mono); font-size: .85em; }

/* Buttons --------------------------------------------------------------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: var(--h); padding: 0 1.7rem; border-radius: 999px;
  font: 700 .98rem/1 var(--body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--grad { background: var(--grad); color: #04111f; box-shadow: 0 10px 30px -10px rgba(95, 196, 99, .6); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(61, 143, 230, .7); }
.btn--glass { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.12); }
.btn--line { --h: 50px; background: transparent; color: var(--text); border: 1px solid var(--line); padding: 0 1.4rem; }
.btn--line:hover { border-color: var(--green); color: var(--green); }
.btn--sm { --h: 44px; padding: 0 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.2; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header: zwevende pil --------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 1.5rem 0; pointer-events: none; }
.bar {
  pointer-events: auto;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 70px; padding: 0 .6rem 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, height .4s;
}
.site-header.is-scrolled .bar {
  background: rgba(8, 22, 40, .72); border-color: var(--line);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.8); height: 62px;
}
.bar__brand img { height: 54px; width: auto; }
.bar__nav { display: flex; align-items: center; gap: 2rem; }
.bar__nav > a:not(.btn) { font-size: .93rem; font-weight: 600; text-decoration: none; color: rgba(233,239,247,.82); position: relative; }
.bar__nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar__nav > a:not(.btn):hover, .bar__nav > a.is-active { color: #fff; }
.bar__nav > a:not(.btn):hover::after, .bar__nav > a.is-active::after { transform: scaleX(1); }

.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.lang a { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-decoration: none; color: var(--muted); padding: .5rem .6rem; border-radius: 999px; transition: color .2s, background .2s; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { background: var(--text); color: var(--ink); }

.bar__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; position: relative; flex: 0 0 auto; }
.bar__toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.bar__toggle span:first-child { top: 19px; }
.bar__toggle span:last-child { top: 27px; }
.bar__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.bar__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1020px) {
  .site-header { padding: 12px .75rem 0; }
  .bar { background: rgba(8, 22, 40, .8); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); height: 62px; }
  .site-header.is-scrolled .bar { height: 62px; }
  .bar__brand img { height: 40px; }
  .bar__toggle { display: block; }
  .bar__nav {
    position: fixed; top: 86px; left: .75rem; right: .75rem; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.5rem; border-radius: 26px;
    background: rgba(8, 22, 40, .97); border: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .bar__nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .bar__nav > a:not(.btn) { font-family: var(--display); font-size: 2rem; text-transform: uppercase; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .bar__nav > a:not(.btn)::after { display: none; }
  .lang { align-self: flex-start; margin: 1.25rem 0; }
  .bar__nav .btn { --h: 54px; }
}

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; align-items: center;
  padding: 140px 0 110px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 75% 40%, #0f2a4d 0%, transparent 60%), var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
picture { display: contents; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6) contrast(1.1); animation: kenburns 30s ease-in-out infinite alternate; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(5,13,24,.7) 50%, rgba(5,13,24,.55) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 35%); }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translateX(-2%); } }

.hero__map { position: absolute; z-index: -2; right: -6%; bottom: 3%; width: min(1000px, 70vw); aspect-ratio: 1229 / 662; }
.hero__map > img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .32; }
.hero__map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .22s); }
.route__end { fill: var(--blue); opacity: 0; animation: pop .5s var(--ease) forwards; animation-delay: calc(2.4s + var(--i) * .22s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
.hub { fill: var(--green); }
.hub__pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.hub__pulse--2 { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.hub__label {
  position: absolute; transform: translate(16px, 30%);
  font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--green); padding: .4rem .55rem; border-radius: 4px; white-space: nowrap;
}

.hero__inner { width: min(1280px, 100% - 3rem); margin: 0 auto; position: relative; }
@media (max-width: 600px) { .hero__inner { width: calc(100% - 2rem); } }
.kicker { display: inline-flex; align-items: center; gap: .7rem; font: 500 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: .6rem 1rem .6rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(6px); margin-bottom: 2rem; }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blip 2s infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(95,196,99,.7); } 70% { box-shadow: 0 0 0 10px rgba(95,196,99,0); } 100% { box-shadow: 0 0 0 0 rgba(95,196,99,0); } }

.hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: .86; letter-spacing: -.005em; margin-bottom: 2rem; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__in { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.line:nth-child(2) .line__in { animation-delay: .12s; }
.line__in[data-accent] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }

.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(233,239,247,.8); max-width: 54ch; opacity: 0; animation: fade 1s .5s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.4rem 0 4rem; opacity: 0; animation: fade 1s .7s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 920px; border-top: 1px solid var(--line); opacity: 0; animation: fade 1s .9s forwards; }
.hero__stats li { padding: 1.4rem 1.2rem 0 0; border-right: 1px solid var(--line); margin-right: 1.2rem; }
.hero__stats li:last-child { border-right: 0; margin-right: 0; }
.hero__stats strong { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; }
.hero__stats em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin-left: .2rem; color: var(--green); }
.hero__stats span { display: block; font-size: .82rem; color: var(--muted); margin-top: .4rem; line-height: 1.4; }
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(2) { border-right: 0; margin-right: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.2rem; }
}

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--green); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero__map { right: auto; bottom: auto; left: -10%; width: 125vw; top: 90px; opacity: .45; }
  .hub__label { display: none; }
  .hero__scroll { display: none; }
}

/* Marquee --------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--navy); padding: 1.6rem 0; }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.6rem); text-transform: uppercase; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(233,239,247,.45); white-space: nowrap; }
.marquee span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { font-style: normal; color: var(--green); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro ----------------------------------------------------------------- */
.intro { padding: clamp(6rem, 13vw, 11rem) 0 clamp(5rem, 10vw, 8rem); }
.statement { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; max-width: 24ch; margin: 0 0 clamp(4rem, 8vw, 6rem); color: rgba(233,239,247,.4); }
.statement mark { background: none; color: var(--text); position: relative; }
.statement mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s; }
.statement.is-visible mark::after, .no-js .statement mark::after { transform: scaleX(1); }

.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 2rem 2rem 0 0; position: relative; }
.pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillar__nr { font: 500 .78rem/1 var(--mono); color: var(--green); letter-spacing: .1em; }
.pillar h3 { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; margin: 1rem 0 .8rem; }
.pillar p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2rem; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar, .pillar:nth-child(3) { padding: 1.75rem 0 0; border-left: 0; margin-top: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); margin-top: 1.75rem; }
}

/* Diensten: modaliteit-switcher ----------------------------------------- */
.services { padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--ink), var(--navy) 30%, var(--navy)); }
.modes { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.modes__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: 110px; }
.no-js .modes__list { display: none; }
.no-js .modes { grid-template-columns: 1fr; }
.mode {
  display: grid; grid-template-columns: 2.2rem 34px 1fr auto; align-items: center; gap: 1rem;
  width: 100%; padding: 1.05rem .5rem 1.05rem 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--muted); text-align: left; cursor: pointer; font: inherit; position: relative;
  transition: color .3s, padding .4s var(--ease), background-color .3s;
}
.mode::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.mode__nr { font: 500 .75rem/1 var(--mono); }
.mode img { width: 34px; height: 34px; filter: brightness(0) invert(1); opacity: .45; transition: opacity .3s; }
.mode__name { font-family: var(--display); font-weight: 700; font-size: 1.55rem; text-transform: uppercase; line-height: 1; }
.mode__arrow { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); color: var(--green); }
.mode:hover, .mode[aria-selected="true"] { color: var(--text); }
.mode:hover img, .mode[aria-selected="true"] img { opacity: 1; }
.mode[aria-selected="true"] { padding-left: .75rem; }
.mode[aria-selected="true"]::before { transform: scaleX(1); }
.mode[aria-selected="true"] .mode__arrow { opacity: 1; transform: none; }

.modes__stage { position: relative; min-width: 0; }
.panel { display: grid; gap: 2rem; }
.js .panel { display: none; }
.js .panel.is-active { display: grid; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.no-js .panel + .panel { margin-top: 4rem; }
.panel__media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.js .panel.is-active .panel__media img { animation: zoomOut 1.4s var(--ease); }
@keyframes zoomOut { from { transform: scale(1.12); } to { transform: none; } }
.panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,13,24,.85)); }
.panel__media figcaption { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 1; display: flex; gap: 1rem; align-items: center; font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.panel__media figcaption span { color: var(--green); }
.panel__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; align-items: start; }
.panel__body h3 { grid-column: 1 / -1; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; }
.panel__body p { color: var(--muted); margin: 0; }
.panel__body .panel__lead { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.panel__body .btn { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }

@media (max-width: 900px) {
  .modes { grid-template-columns: 1fr; }
  .modes__list { position: static; flex-direction: row; overflow-x: auto; gap: .5rem; border: 0; padding: 0 1rem .5rem; margin-inline: -1rem; scrollbar-width: none; }
  .modes__list::-webkit-scrollbar { display: none; }
  .mode { grid-template-columns: auto auto; gap: .5rem; width: auto; flex: 0 0 auto; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
  .mode::before, .mode__nr, .mode__arrow { display: none; }
  .mode img { width: 22px; height: 22px; }
  .mode__name { font-size: 1.15rem; white-space: nowrap; }
  .mode[aria-selected="true"] { padding-left: 1rem; background: var(--text); color: var(--ink); border-color: var(--text); }
  .mode[aria-selected="true"] img { filter: none; }
  .panel__body { grid-template-columns: 1fr; }
}

/* Slogan: foto in de letters -------------------------------------------- */
.slogan { padding: clamp(6rem, 12vw, 10rem) 1.5rem; text-align: center; background: var(--ink); overflow: hidden; position: relative; isolation: isolate; }
.slogan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 55%, rgba(61,143,230,.18), transparent 70%); }
.slogan__small { font: 500 .85rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-bottom: 1.5rem; }
.slogan__big {
  margin: 0 auto;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 13vw, 12.5rem); line-height: .84; letter-spacing: -.01em;
  background-color: #4fb0a8; background-size: cover; background-position: center 40%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pan 22s ease-in-out infinite alternate;
}
@keyframes pan { from { background-position: center 20%; } to { background-position: center 80%; } }
.slogan__sub { color: var(--muted); font-size: 1.15rem; margin: 2rem auto 0; max-width: 46ch; }

/* Werkwijze (licht contrastblok) ---------------------------------------- */
.process { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); color: var(--paper-ink); }
.process .label { color: var(--green-deep); }
.process .head__text { color: #4b5a6c; }
.process .title .grad { background: linear-gradient(100deg, #1f5b94, #38763a); -webkit-background-clip: text; background-clip: text; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 10px; right: 0; top: 9px; height: 2px; }
.steps::before { background: rgba(11,22,38,.12); }
.steps::after { background: linear-gradient(90deg, #1f5b94, #38763a); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .2s; }
.steps.is-visible::after, .no-js .steps::after { transform: scaleX(1); }
.step { position: relative; padding-top: 3rem; }
.step__dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid #1f5b94; z-index: 1; }
.step:nth-child(even) .step__dot { border-color: #38763a; }
.step__nr { font-family: var(--display); font-weight: 900; font-size: 5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(11,22,38,.28); display: block; margin-bottom: 1rem; }
.step h3 { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; margin-bottom: .75rem; }
.step p { color: #4b5a6c; font-size: .98rem; margin: 0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Over ons -------------------------------------------------------------- */
.about { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; } }
.about__main .title { margin-bottom: 2rem; }
.about__lead { font-size: 1.3rem; line-height: 1.55; font-weight: 500; color: var(--text); }
.about__main > p:not(.label):not(.about__lead) { color: var(--muted); }
.link { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; text-decoration: none; color: var(--green); border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: .5rem; }
.link:hover { color: #fff; }
.facts { margin: 3rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fact { background: var(--navy); padding: 1.4rem 1.5rem; }
.fact dt { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.fact dd { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

.about__side { display: grid; gap: 2rem; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 5 / 4; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,13,24,.85)); }
.about__photo figcaption { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 1; font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.tl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.tl__title { font: 500 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 1.5rem; }
.tl ol { list-style: none; margin: 0; padding: 0; position: relative; }
.tl ol::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--green)); opacity: .5; }
.tl li { position: relative; padding: 0 0 1.4rem 2rem; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); border: 2px solid var(--blue); }
.tl li:last-child::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 14px var(--green); }
.tl__when { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl h4 { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; margin: .35rem 0 .25rem; }
.tl p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Contact --------------------------------------------------------------- */
.contact { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; background: radial-gradient(900px 500px at 15% 20%, rgba(61,143,230,.16), transparent 60%), radial-gradient(800px 500px at 90% 90%, rgba(95,196,99,.12), transparent 60%), var(--navy); overflow: hidden; isolation: isolate; }
.contact__map { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; opacity: .1; }
.contact__map img { width: 120%; max-width: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__text { color: var(--muted); max-width: 48ch; margin: 1.75rem 0 2.5rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 520px) { .contact__cards { grid-template-columns: 1fr; } }
.ccard { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem 1.4rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-decoration: none; transition: border-color .3s, background .3s, transform .35s var(--ease); }
a.ccard:hover { border-color: rgba(95,196,99,.6); background: rgba(95,196,99,.06); transform: translateY(-3px); }
.ccard__k { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard__v { font-weight: 700; font-size: 1.08rem; line-height: 1.35; overflow-wrap: anywhere; }

.formcard { border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.75rem); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); position: relative; }
.formcard__title { font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* Zwevende labels */
.field { position: relative; margin-bottom: .9rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 1.55rem 1rem .6rem; border-radius: 14px;
  background-color: rgba(5,13,24,.55); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; display: block; }
.field label { position: absolute; left: 1rem; top: 1.05rem; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-.62rem) scale(.74); color: var(--green); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background-color: rgba(5,13,24,.8); box-shadow: 0 0 0 4px rgba(95,196,99,.14); }
.field--select select { cursor: pointer; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393a6bf' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field--select select option { background: var(--navy); color: var(--text); }
.field__hint { display: block; font-size: .8rem; color: var(--muted); margin-top: .4rem; padding-left: .25rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7a6b; }
.field__error { display: block; color: #ff9d91; font-size: .82rem; margin-top: .35rem; padding-left: .25rem; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: .6rem 0 1.4rem; cursor: pointer; }
.form__turnstile { margin: 0 0 1.4rem; min-height: 65px; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: 0 0 auto; }
.check.is-invalid { color: #ff9d91; }
.check .linkbtn { color: var(--text); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 1rem 0 0; font-size: .92rem; min-height: 1.4em; }
.form__status.is-error { color: #ff9d91; }
.form__success { text-align: center; padding: 3rem 0; }
.form__success svg { width: 72px; height: 72px; margin: 0 auto 1.5rem; }
.form__success h3 { font-family: var(--display); font-size: 2.4rem; text-transform: uppercase; margin-bottom: 1rem; }
.form__success p { color: var(--muted); }

/* Footer ---------------------------------------------------------------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 4.5rem; color: var(--muted); font-size: .93rem; overflow: hidden; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 64px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 36ch; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__h { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: .6rem; }
.footer__word { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 27vw, 24rem); line-height: .78; margin: 3rem 0 0; text-align: center; letter-spacing: -.01em; background: linear-gradient(180deg, rgba(233,239,247,.14), rgba(233,239,247,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__legal { border-top: 1px solid var(--line); padding: 1.75rem 0 2.25rem; font-size: .8rem; text-align: center; }
.footer__legal > p:first-child { max-width: 95ch; margin-left: auto; margin-right: auto; }
.footer__legal a { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; margin: 0; color: rgba(147,166,191,.75); }

/* Modal ----------------------------------------------------------------- */
.modal { width: min(860px, 100% - 2rem); max-height: 86vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); color: var(--text); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9); }
.modal::backdrop { background: rgba(2,7,14,.75); backdrop-filter: blur(6px); }
.modal__inner { padding: clamp(1.5rem, 4vw, 3rem); overflow-y: auto; max-height: 86vh; }
.modal h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; padding-right: 3rem; margin-bottom: 1.5rem; }
.modal h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--green); margin: 2rem 0 .75rem; }
.modal p, .modal li { font-size: .95rem; color: var(--muted); }
.modal a { color: var(--green); }
.modal__close { position: sticky; top: 0; float: right; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal__close:hover { border-color: var(--green); color: var(--green); }

/* Reveal ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
