/* ── FONTS ─────────────────────────────── */
@font-face {
  font-family: 'TBJ Artnik';
  src: url('fonts/TBJArtnik-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Heuvel Grotesk';
  src: url('fonts/HeuvelGrotesk-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ── RESET & TOKENS ────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #00072C;
  --text:    #FFFFFF;
  --muted:   rgba(255,255,255,.78);
  --surf:    rgba(47,58,86,.48);
  --surf-hv: rgba(47,58,86,.72);
  --bdr:     rgba(255,255,255,.10);
  --bdr-hv:  rgba(255,255,255,.22);
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { height: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Heuvel Grotesk', system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

/* ── ENTRANCE RINGS ────────────────────── */
.ring {
  position: fixed; top: 50%; left: 50%;
  width: 90vmax; height: 90vmax;
  border-radius: 50%;
  border: 1.5px solid rgba(60,120,255,.65);
  transform: translate(-50%,-50%) scale(0);
  pointer-events: none; z-index: 30;
  will-change: transform, opacity;
}
.ring-1 { animation: ring-expand 1.4s var(--ease) .05s forwards; }
.ring-2 { animation: ring-expand 1.4s var(--ease) .22s forwards; }
@keyframes ring-expand {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; border-width: 2px; }
  60%  { opacity: .35; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; border-width: .5px; }
}

/* ── BACKGROUND ────────────────────────── */
.bg {
  position: fixed; inset: 0;
  z-index: 0; overflow: hidden; pointer-events: none;
}
.bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 36px 36px;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0;
  transition: opacity 1.4s ease;
}
.orb.lit { opacity: 1; }
.orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(40,85,255,.38) 0%, transparent 65%);
  top: -280px; left: 50%; transform: translateX(-50%);
  animation: orb-a 13s ease-in-out infinite;
}
.orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(15,40,200,.26) 0%, transparent 65%);
  bottom: -60px; right: -60px;
  animation: orb-b 16s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(100,55,250,.16) 0%, transparent 65%);
  bottom: 60px; left: -50px;
  animation: orb-a 11s ease-in-out infinite reverse;
}
@keyframes orb-a {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-44px); }
}
@keyframes orb-b {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-28px); }
}

/* ── PAGE SHELL ────────────────────────── */
.page {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(32px,5vh,56px) 24px clamp(24px,4vh,40px);
  text-align: center;
}

/* ── REVEAL SYSTEM ─────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .6s var(--ease);
}
.reveal[data-from="top"]   { transform: translateY(-40px) scale(1.06); filter: blur(8px); }
.reveal[data-from="scale"] { transform: scaleX(0); transform-origin: center; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1) scaleX(1); filter: blur(0); }

/* ── LOGO ──────────────────────────────── */
.logo {
  width: clamp(180px, 28vw, 260px);
  margin-bottom: clamp(16px,2vh,24px);
}
.logo img { width: 100%; height: auto; display: block; }

/* ── BADGE ─────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surf); border: 1px solid var(--bdr);
  padding: 5px 15px; border-radius: 100px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(14px,1.8vh,22px);
  backdrop-filter: blur(16px);
  line-height: 1;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80; border-radius: 50%; flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%      { opacity: .4; box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* ── HEADLINE ──────────────────────────── */
.headline {
  font-family: 'TBJ Artnik', system-ui, sans-serif;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: clamp(8px,1.2vh,14px);
}
.headline .dim { color: var(--muted); }

/* ── SUBTEXT ───────────────────────────── */
.sub {
  font-size: clamp(13px,1.2vw,15px);
  color: var(--muted); max-width: 400px;
  line-height: 1.7;
  margin-bottom: clamp(18px,2.2vh,30px);
}

/* ── SERVICES ──────────────────────────── */
.services {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(20px,2.6vh,36px);
}

.pill-wrap { position: relative; display: inline-flex; }

.service-pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(47,58,86,.65);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px; font-weight: 500;
  letter-spacing: .01em; line-height: 1;
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  cursor: default;
  transition: color .25s ease, background .25s ease,
              border-color .25s ease, transform .28s var(--ease),
              box-shadow .28s ease;
}
.service-pill::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110,170,255,.18) 35%,
    rgba(160,110,255,.32) 50%,
    rgba(110,170,255,.18) 65%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}
.pill-wrap:nth-child(2) .service-pill::before { animation-delay: -1.10s; }
.pill-wrap:nth-child(3) .service-pill::before { animation-delay: -2.20s; }
.pill-wrap:nth-child(4) .service-pill::before { animation-delay: -3.30s; }
.pill-wrap:nth-child(5) .service-pill::before { animation-delay: -4.40s; }
@keyframes shimmer {
  0%        { transform: translateX(-100%); }
  45%, 100% { transform: translateX(160%); }
}
.pill-wrap:hover .service-pill {
  color: #fff;
  background: rgba(50,90,240,.26);
  border-color: rgba(130,175,255,.45);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 32px rgba(40,85,255,.26);
}

/* ── TOOLTIP ───────────────────────────── */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes beam-spin { to { --beam-angle: 360deg; } }

.pill-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 218px;
  background: #040C2E;
  border-radius: 14px;
  padding: 15px 16px 14px;
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
/* Border beam */
.pill-tooltip::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: conic-gradient(
    from var(--beam-angle) at 50% 50%,
    rgba(110,170,255,0)    0%,
    rgba(110,170,255,.95) 12%,
    rgba(180,120,255,.95) 22%,
    rgba(110,170,255,0)   35%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beam-spin 2.8s linear infinite;
  pointer-events: none;
}
/* Arrow: rotated square whose exposed sides match the beam colour */
.pill-tooltip::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  bottom: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  background: #040C2E;
  border-right: 1px solid rgba(130,175,255,.42);
  border-bottom: 1px solid rgba(130,175,255,.42);
}
.pill-wrap:hover .pill-tooltip,
.pill-wrap.open  .pill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.tooltip-icon {
  display: flex; justify-content: center;
  margin-bottom: 11px;
}
.tooltip-icon svg {
  width: 38px; height: 38px;
  filter:
    drop-shadow(0 0 2px rgba(160,205,255,1))
    drop-shadow(0 0 7px rgba(140,185,255,.70))
    drop-shadow(0 0 14px rgba(120,170,255,.40));
}
.tooltip-text {
  font-family: 'Heuvel Grotesk', system-ui, sans-serif;
  font-size: 13.5px; line-height: 1.6;
  color: #fff;
  text-align: center;
}

/* Mobile: tooltip appears below the pill, arrow points up */
@media (max-width: 600px) {
  .pill-tooltip {
    bottom: auto;
    top: calc(100% + 14px);
    transform: translateX(-50%) translateY(-8px);
    width: 200px;
    padding: 15px 16px 14px;
  }
  .pill-tooltip::after {
    bottom: auto;
    top: -6px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(130,175,255,.42);
    border-top: 1px solid rgba(130,175,255,.42);
  }
  .pill-wrap:hover .pill-tooltip,
  .pill-wrap.open  .pill-tooltip {
    transform: translateX(-50%) translateY(0);
  }
}

/* ── DIVIDER ───────────────────────────── */
.divider {
  width: 36px; height: 1px;
  background: var(--bdr);
  margin: 0 auto clamp(14px,2vh,28px);
}

/* ── BRAND TICKER ──────────────────────── */
.ticker-section {
  width: 100vw;
  overflow: hidden;
  margin-bottom: clamp(18px,2.4vh,32px);
}
.ticker-section::before,
.ticker-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.ticker-section::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-section::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
@media (max-width: 480px) {
  .ticker-section::before,
  .ticker-section::after { display: none; }
}

.ticker-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255,255,255,.60);
  margin-bottom: 14px;
  text-align: center;
}

.ticker-track {
  display: flex; align-items: center;
  width: max-content;
  will-change: transform;
}

.brand-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 44px; height: 52px; flex-shrink: 0;
}
.brand-item img {
  height: 30px; width: auto; max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .40;
  transition: opacity .3s ease;
}
.ticker-track:hover .brand-item img { opacity: .65; }

/* ── CONTACT ───────────────────────────── */
.contact {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  max-width: 660px; font-style: normal;
  margin-bottom: clamp(14px,1.8vh,24px);
}
.card {
  display: flex; align-items: center; gap: 9px;
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: 11px; padding: 10px 16px;
  text-decoration: none; color: rgba(255,255,255,.82);
  font-size: 13px; font-weight: 500; line-height: 1;
  backdrop-filter: blur(16px); cursor: default;
  transition: color .22s ease, background .22s ease,
              border-color .22s ease, transform .22s ease;
}
a.card { cursor: pointer; }
a.card:hover, .card:hover {
  color: var(--text); background: var(--surf-hv);
  border-color: var(--bdr-hv); transform: translateY(-2px);
}
.card svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .70; transition: opacity .22s; }
a.card:hover svg { opacity: .95; }

/* ── FOOTER ────────────────────────────── */
.footer {
  font-size: 11px;
  color: rgba(255,255,255,.60);
  letter-spacing: .3px;
  line-height: 1;
}

/* ── ACCESSIBILITY BAR ─────────────────── */
.a11y-bar {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 200;
}
.a11y-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 100px;
  padding: 7px 14px 7px 10px;
  color: rgba(255,255,255,.88);
  font-family: 'Heuvel Grotesk', system-ui, sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: .4px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.a11y-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.a11y-btn:hover { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.55); color: #fff; }
.a11y-btn.on   { color: #fff; background: rgba(50,90,200,.55); border-color: rgba(120,175,255,.70); }

/* ── HIGH CONTRAST MODE ────────────────── */
body.colorblind-mode {
  --muted: rgba(255,255,255,.95);
  --bdr:   rgba(255,255,255,.32);
  --surf:  rgba(47,58,86,.85);
}
body.colorblind-mode .footer        { color: rgba(255,255,255,.82); }
body.colorblind-mode .ticker-label  { color: rgba(255,255,255,.82); }
body.colorblind-mode .card          { color: rgba(255,255,255,.95); }
body.colorblind-mode .brand-item img{ opacity: .65; }
body.colorblind-mode .service-pill  { color: #fff; border-color: rgba(255,255,255,.30); }
body.colorblind-mode .service-pill::before { display: none; }

/* ── MOBILE ────────────────────────────── */
@media (max-width: 480px) {
  .page { padding: 44px 20px 32px; justify-content: flex-start; }
  .card { width: 100%; justify-content: center; }
  .brand-item { padding: 0 24px; }
}

/* ── COOKIEFIRST — banner + modal ──────── */
/*
  Specificiteit strategie:
  CookieFirst gebruikt dubbele class-selectors (.cfXxx.cfYyy) = (0,2,0).
  Door twee attribute-selectors + element-selectors te combineren halen
  we (0,2,2) en winnen we altijd, ook als beide !important hebben.
  Banner-widget heeft altijd dir="ltr"; modal heeft data-cookiefirst-outline-accent-color.
*/

/* ── Knop-tokens (cascaden via inline vars op de buttons) ── */
html body [data-cookiefirst-widget="box"][dir],
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] {
  --banner-btn-primary-bg:                  #3354E8 !important;
  --banner-btn-primary-text:                #ffffff !important;
  --banner-btn-primary-border-color:        transparent !important;
  --banner-btn-primary-border-radius:       100px !important;
  --banner-btn-primary-hover-bg:            #4A68FF !important;
  --banner-btn-primary-hover-text:          #ffffff !important;
  --banner-btn-primary-hover-border-color:  transparent !important;
  --banner-btn-primary-hover-border-radius: 100px !important;

  --banner-btn-secondary-bg:                  rgba(47,58,86,.55) !important;
  --banner-btn-secondary-text:                rgba(255,255,255,.82) !important;
  --banner-btn-secondary-border-color:        rgba(110,170,255,.25) !important;
  --banner-btn-secondary-border-radius:       100px !important;
  --banner-btn-secondary-hover-bg:            rgba(47,58,86,.88) !important;
  --banner-btn-secondary-hover-text:          #ffffff !important;
  --banner-btn-secondary-hover-border-color:  rgba(130,175,255,.50) !important;
  --banner-btn-secondary-hover-border-radius: 100px !important;

  --banner-btn-link-bg:                  transparent !important;
  --banner-btn-link-text:                rgba(255,255,255,.82) !important;
  --banner-btn-link-border-color:        transparent !important;
  --banner-btn-link-border-radius:       6px !important;
  --banner-btn-link-hover-bg:            rgba(255,255,255,.06) !important;
  --banner-btn-link-hover-text:          #ffffff !important;
  --banner-btn-link-hover-border-color:  transparent !important;
  --banner-btn-link-hover-border-radius: 6px !important;
}

/* ── Banner ── */
html body [data-cookiefirst-widget="box"][dir] {
  position:      relative !important;
  overflow:      hidden !important;
  /* Duidelijk lichter dan paginaachtergrond (#00072C) zodat de banner op mobiel opvalt */
  background:    linear-gradient(145deg, rgba(22,46,128,.98) 0%, rgba(10,24,76,.99) 52%, rgba(14,32,90,.98) 100%) !important;
  border:        1px solid rgba(110,170,255,.38) !important;
  border-radius: 14px !important;
  color:         rgba(255,255,255,.82) !important;
  font-family:   'Heuvel Grotesk', system-ui, sans-serif !important;
  box-shadow:
    0 0 0 1px rgba(110,170,255,.22),
    0 0 32px rgba(60,100,255,.32),
    0 0 80px rgba(70,110,255,.18),
    0 20px 60px rgba(0,0,0,.82) !important;
  backdrop-filter: blur(20px) !important;
}
/*
  Aurora border: de volledige rand kleurt mee als een gloeiende ring.
  Een conic-gradient met meerdere kleurstops (blauw→paars→blauw) draait
  langzaam rond — heel anders dan de enkelvoudige lichtspot op de tooltips.
*/
@property --aurora-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes aurora-spin { to { --aurora-angle: 360deg; } }

html body [data-cookiefirst-widget="box"][dir]::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 15px !important;
  padding: 1px !important;
  background: conic-gradient(
    from var(--aurora-angle, 0deg) at 50% 50%,
    rgba(90,155,255,.80)   0%,
    rgba(170,100,255,.95)  22%,
    rgba(80,145,255,.60)  44%,
    rgba(190,120,255,.90) 66%,
    rgba(90,155,255,.80)  88%,
    rgba(170,100,255,.85) 100%
  ) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  animation: aurora-spin 7s linear infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
html body [data-cookiefirst-widget="box"][dir] h2 { color: #ffffff !important; font-size: 17px !important; letter-spacing: -.01em !important; }
html body [data-cookiefirst-widget="box"][dir] p  { color: rgba(255,255,255,.78) !important; }
html body [data-cookiefirst-widget="box"][dir] span { color: rgba(255,255,255,.78) !important; }
html body [data-cookiefirst-widget="box"][dir] a  { color: rgba(130,175,255,.90) !important; }

/* ── Modal overlay + paneel ── */
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] {
  background: rgba(0,4,22,.80) !important;
}
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] > div {
  background:    #040C2E !important;
  border:        1px solid rgba(110,170,255,.22) !important;
  border-radius: 14px !important;
  color:         rgba(255,255,255,.82) !important;
  font-family:   'Heuvel Grotesk', system-ui, sans-serif !important;
  box-shadow:    0 16px 60px rgba(0,0,0,.75) !important;
}
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] h2 { color: #ffffff !important; font-size: 17px !important; letter-spacing: -.01em !important; }
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] h3 { color: rgba(255,255,255,.88) !important; font-size: 14px !important; }
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] p  { color: rgba(255,255,255,.72) !important; font-size: 13px !important; line-height: 1.65 !important; }
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] span { color: rgba(255,255,255,.72) !important; }
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] a  { color: rgba(130,175,255,.90) !important; }
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] hr  { border-color: rgba(255,255,255,.08) !important; }

/* Tabs */
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] [role="tab"] {
  color: rgba(255,255,255,.55) !important; background: transparent !important;
}
html body [data-cookiefirst-widget="modal"][data-cookiefirst-outline-accent-color] [role="tab"][aria-selected="true"] {
  color: #ffffff !important;
}

/* Categorie-blokken */
html body [data-cookiefirst-corner-style="true"][class] {
  background:    rgba(255,255,255,.04) !important;
  border:        1px solid rgba(110,170,255,.14) !important;
  border-radius: 10px !important;
}

/* Toggle-schakelaar */
html body [data-testid="categorySwitch"][aria-checked] {
  background: rgba(47,58,86,.80) !important;
}
html body [data-testid="categorySwitch"][aria-checked="true"] {
  background: #3354E8 !important;
}

/* Sluitknop */
html body [data-testid="closeButton"][class] {
  color: rgba(255,255,255,.55) !important; background: transparent !important;
}

/* "Aangedreven door" footer */
html body [data-testid="poweredBy"][class] {
  color: rgba(255,255,255,.35) !important;
}
