/* Knoxec: kleurenpalet en typografie volgens blackbyt3.com (live uitgelezen) */
:root {
  --primary-dark: #000;
  --white: #f7fcff;
  --paragraph-gray: #bac3c7;
  --stroke: #434343;
  --primary: #f0000a;
  --primary-btn: #df000a;
  --white-20: #f7fcff33;
  --white-50: #f7fcff80;
  --transparent: #0000;
  --error: #eb2121;
  --primary-dark-70: #01030bb3;
  --dark-grey: #9b9b9b;
  --radius: 2px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --nav-h: 64px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  background: var(--primary-dark);
  color: var(--white);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--primary); color: var(--white); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

/* Typografie */
.h1 { font-size: clamp(40px, 6.2vw, 64px); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; letter-spacing: -.017em; font-weight: 500; }
.h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.big-number { color: var(--primary); font-size: 64px; line-height: 70.4px; letter-spacing: -1.28px; font-weight: 500; }
.sub { color: var(--paragraph-gray); margin-top: 8px; }
.muted { color: var(--paragraph-gray); font-weight: 500; }
.pill {
  display: inline-block; font-size: 14px; line-height: 21px; letter-spacing: -.24px;
  color: var(--paragraph-gray); background: #ffffff1a; border-radius: var(--radius); padding: 4px 10px;
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 500; font-size: 16px; line-height: 24px; letter-spacing: -.32px;
  padding: 14px 24px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn-primary { background: var(--primary-btn); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--primary-dark); }
.btn-ghost { background: var(--white-20); color: var(--white); }
.btn-ghost:hover { border-color: var(--white-50); }
.btn-sm { padding: 8px 20px; }
.btn .icon { transition: transform .15s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Navigatie */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--primary-dark); border-bottom: 1px solid var(--stroke);
  transition: background-color .15s var(--ease);
}
.nav.is-scrolled { background: var(--primary-dark-70); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { height: 34px; width: auto; }
.brand-word { height: 15px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-right: 12px; }
.nav-links a { font-size: 15px; line-height: 22.5px; padding: 10px 0; transition: color .15s var(--ease); }
.nav-links a:hover { color: var(--primary); }
.nav-links .only-mobile { display: none; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .i-close { display: none; }
.nav.menu-open .menu-btn .i-open { display: none; }
.nav.menu-open .menu-btn .i-close { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--stroke); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 70% at 78% 50%, #f0000a30, var(--transparent) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 72px; }
.hero .h1 { margin-top: 20px; max-width: 12.5em; }
.lead { color: var(--paragraph-gray); font-size: 18px; line-height: 1.6; font-weight: 500; max-width: 34em; margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--dark-grey); }

.dober { position: relative; width: min(100%, 380px); aspect-ratio: 502 / 830; margin-inline: auto; }
.dober > span {
  position: absolute; inset: 0;
  -webkit-mask: url(assets/knoxec-doberman.svg) center / contain no-repeat;
  mask: url(assets/knoxec-doberman.svg) center / contain no-repeat;
}
.dober-glow { background: var(--primary); filter: blur(22px); opacity: .6; animation: glow 5s ease-in-out infinite; }
.dober-line { background: var(--white); }
.dober-scan {
  background: linear-gradient(to bottom, #f0000a00 0%, var(--primary) 50%, #f0000a00 100%) 0 -30% / 100% 22% no-repeat;
  animation: scan 4.5s linear infinite;
}
@keyframes glow { 0%, 100% { opacity: .38; } 50% { opacity: .75; } }
@keyframes scan { from { background-position: 0 -30%; } to { background-position: 0 130%; } }

/* Secties */
.section { padding-block: 80px; border-bottom: 1px solid var(--stroke); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lockup {
  position: relative; border: 1px solid var(--stroke); font-size: clamp(9px, 1.4vw, 16px);
  display: flex; align-items: center; justify-content: center; padding: 4em 2em;
  background: radial-gradient(60% 60% at 70% 50%, #f0000a1f, var(--transparent) 72%);
}
.lockup .l-pattern { height: 14.7em; width: auto; opacity: .9; }
.lockup .l-bar { width: .5em; height: 15.75em; background: var(--white); margin-inline: 4em 3em; flex: none; }
.lockup .l-dober { height: 17em; width: auto; }
.about-copy { display: grid; gap: 20px; }
.about-copy .btn-row { margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 20px; padding: 40px 32px 48px; border-left: 1px solid var(--stroke); transition: background-color .15s var(--ease); }
.card:last-child { border-right: 1px solid var(--stroke); }
.card:hover { background: #f7fcff0a; }
.card .kw { font-size: 15px; line-height: 22.5px; }
.card p.muted { flex: 1; }
.link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid var(--stroke); transition: border-color .15s var(--ease), color .15s var(--ease); }
.link:hover { border-color: var(--primary); color: var(--primary); }

.rows { border-top: 1px solid var(--stroke); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--stroke); align-items: start; }

.steps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.steps-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.step { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--stroke); }
.step:last-child { border-bottom: 1px solid var(--stroke); }
.step .h3 { margin-bottom: 10px; }

.faq-wrap { max-width: 860px; }
.faq details { border-top: 1px solid var(--stroke); }
.faq details:last-child { border-bottom: 1px solid var(--stroke); }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer;
  font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .ico {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--stroke); border-radius: var(--radius); color: var(--primary);
  transition: transform .2s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.faq summary:hover .ico { border-color: var(--primary); }
.faq details[open] .ico { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: var(--white); }
.faq .ans { padding: 0 0 28px 44px; max-width: 46em; }

.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 90% 50%, #f0000a2b, var(--transparent) 70%); pointer-events: none; }
.cta-dober {
  position: absolute; right: -2%; top: 50%; height: 125%; aspect-ratio: 502 / 830; transform: translateY(-50%);
  background: var(--white); opacity: .06; pointer-events: none;
  -webkit-mask: url(assets/knoxec-doberman.svg) center / contain no-repeat;
  mask: url(assets/knoxec-doberman.svg) center / contain no-repeat;
}
.cta .container { position: relative; }
.cta .h1 { max-width: 11em; }
.cta .lead { margin-top: 20px; }
.cta .btn-row { margin-top: 36px; }

/* Footer */
.footer { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.footer .brand { margin-right: 0; margin-bottom: 20px; }
.footer h3 { font-size: 14px; line-height: 21px; letter-spacing: -.24px; font-weight: 500; color: var(--dark-grey); margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer li a { transition: color .15s var(--ease); }
.footer li a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--stroke); font-size: 14px; color: var(--dark-grey); }

/* Verschijnen bij scrollen */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.cards .card:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3) { transition-delay: .16s; }

/* Animaties: alleen transform en opacity, behalve waar het niet anders kan */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes word { from { transform: translateY(110%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.45); } 20% { opacity: .55; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }
@keyframes grid-drift { to { transform: translateY(56px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #f0000a66; } 70%, 100% { box-shadow: 0 0 0 16px #f0000a00; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sway { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-53%); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: var(--primary); box-shadow: 0 0 12px #f0000a99; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.nav { animation: fade .7s var(--ease) both; }

.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hero::before { animation: breathe 8s ease-in-out infinite; }
.grid-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: radial-gradient(60% 75% at 72% 45%, #000, transparent 78%); mask: radial-gradient(60% 75% at 72% 45%, #000, transparent 78%); }
.grid-bg::before { content: ""; position: absolute; left: 0; right: 0; top: -56px; bottom: 0; background-image: linear-gradient(to right, #f7fcff14 1px, transparent 1px), linear-gradient(to bottom, #f7fcff14 1px, transparent 1px); background-size: 56px 56px; animation: grid-drift 7s linear infinite; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation: none; }
.hero-copy > :nth-child(3) { animation-delay: .8s; }
.hero-copy > :nth-child(4) { animation-delay: .95s; }
.hero-copy > :nth-child(5) { animation-delay: 1.1s; }
.hero .h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero .h1 .w > span { display: inline-block; animation: word 1s var(--ease) both; }
.hero .h1 .w:nth-child(1) > span { animation-delay: .15s; }
.hero .h1 .w:nth-child(2) > span { animation-delay: .22s; }
.hero .h1 .w:nth-child(3) > span { animation-delay: .29s; }
.hero .h1 .w:nth-child(4) > span { animation-delay: .36s; }
.hero .h1 .w:nth-child(5) > span { animation-delay: .43s; }
.hero .h1 .w:nth-child(6) > span { animation-delay: .5s; }
.hero .h1 .w:nth-child(7) > span { animation-delay: .57s; }
.hero .h1 .w:nth-child(8) > span { animation-delay: .64s; }

.dober { animation: fade 1.4s var(--ease) .25s both, float 7s ease-in-out 1.6s infinite; transition: transform .5s var(--ease); }
.dober::before, .dober::after { content: ""; position: absolute; left: 50%; top: 50%; width: 125%; aspect-ratio: 1; border: 1px solid var(--primary); border-radius: 50%; opacity: 0; pointer-events: none; animation: ring 6s ease-out infinite; }
.dober::after { animation-delay: 3s; }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, #ffffff40, transparent); transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none; }
.btn-primary:hover::after { left: 130%; }
.hero .btn-primary { animation: pulse 3.4s ease-out 2.4s infinite; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--stroke); padding-block: 18px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; min-width: 100vw; justify-content: space-around; gap: 48px; }
.ticker-list li { display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paragraph-gray); white-space: nowrap; }
.ticker-list li::before { content: ""; width: 6px; height: 6px; background: var(--primary); box-shadow: 0 0 8px var(--primary); }

html.js .lockup .l-bar { transform: scaleY(0); transition: transform .9s var(--ease) .3s; }
html.js .lockup.is-in .l-bar { transform: scaleY(1); }
html.js .lockup .l-pattern { opacity: 0; transform: translateX(-24px); transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s; }
html.js .lockup.is-in .l-pattern { opacity: .9; transform: none; }
html.js .lockup .l-dober { opacity: 0; transform: translateX(24px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
html.js .lockup.is-in .l-dober { opacity: 1; transform: none; }

.card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), #f0000a22, transparent 70%); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.card:hover::after { opacity: 1; }
.card .big-number { transition: transform .45s var(--ease); }
.card:hover .big-number { transform: translateX(6px); }

.rows .row:nth-child(2), .steps .step:nth-child(2) { transition-delay: .08s; }
.rows .row:nth-child(3), .steps .step:nth-child(3) { transition-delay: .16s; }
.rows .row:nth-child(4), .steps .step:nth-child(4) { transition-delay: .24s; }

.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 1px; }
.steps::before { background: var(--stroke); }
.steps::after { background: var(--primary); box-shadow: 0 0 10px var(--primary); transform: scaleY(var(--fill, 0)); transform-origin: top; }

:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

.cta::before { animation: breathe 7s ease-in-out infinite; }
.cta-dober { animation: sway 12s ease-in-out infinite; }

/* Gidsen en artikelpagina's */
a.row { color: inherit; }
a.row h3 { transition: color .15s var(--ease); }
a.row:hover h3 { color: var(--primary); }
.more { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--white); font-weight: 500; white-space: nowrap; }
.more .icon { transition: transform .2s var(--ease); }
a.row:hover .more .icon { transform: translateX(4px); }
.inline { color: var(--white); border-bottom: 1px solid var(--stroke); transition: border-color .15s var(--ease), color .15s var(--ease); }
.inline:hover { color: var(--primary); border-color: var(--primary); }

.doc { position: relative; overflow: hidden; padding-block: 56px 72px; border-bottom: 1px solid var(--stroke); }
.doc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 88% 0%, #f0000a26, var(--transparent) 70%); pointer-events: none; }
.doc-wrap { position: relative; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 28px; font-size: 14px; color: var(--dark-grey); }
.crumbs a { transition: color .15s var(--ease); }
.crumbs a:hover { color: var(--primary); }
.doc-title { font-size: clamp(32px, 5vw, 48px); max-width: 17em; }
.doc .lead { margin-top: 24px; max-width: 38em; }
.doc-meta { margin-top: 20px; font-size: 14px; color: var(--dark-grey); }
.crumbs, .doc-title, .doc .lead, .doc-meta { animation: rise .8s var(--ease) both; }
.doc-title { animation-delay: .08s; }
.doc .lead { animation-delay: .16s; }
.doc-meta { animation-delay: .24s; }

.prose { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--stroke); }
.prose > h2 { margin-top: 48px; margin-bottom: 16px; font-size: clamp(24px, 3vw, 30px); }
.prose p, .prose li { color: var(--paragraph-gray); font-size: 17px; line-height: 1.7; font-weight: 500; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--white); font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 14px; margin: 20px 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--primary); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; counter-increment: n; padding-left: 60px; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -3px; color: var(--primary); font-size: 24px; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; }
.prose .note { margin-top: 32px; padding: 16px 20px; border-left: 2px solid var(--primary); background: #f7fcff0a; font-size: 15px; }
.prose .sources li { font-size: 15px; }

.doc-cta { display: grid; gap: 16px; margin-top: 56px; padding: 32px; border: 1px solid var(--stroke); background: radial-gradient(70% 120% at 100% 0%, #f0000a22, var(--transparent) 70%); }
.doc-cta .h2 { font-size: clamp(24px, 3vw, 30px); }
.related .rows { margin-top: 24px; }
.related .row { padding: 24px 0; }
.related .row .h3 { font-size: 22px; }

/* Plusjes, verloopbanden en toegankelijkheid */
@keyframes plus-turn { 0%, 55% { transform: rotate(0); } 80%, 100% { transform: rotate(90deg); } }
@keyframes plus-drift { to { transform: translateY(72px); } }
@keyframes plus-breathe { 0%, 100% { opacity: .12; } 50% { opacity: .24; } }
@keyframes twinkle { 0%, 100% { opacity: .06; } 50% { opacity: .55; } }

.skip { position: absolute; left: 12px; top: -120px; z-index: 100; padding: 12px 18px; background: var(--white); color: #000; font-weight: 600; border-radius: var(--radius); transition: top .15s var(--ease); }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.nav-links a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; }
.nav-links a:not(.btn)::before, .btn-primary::before {
  content: ""; flex: none; width: 9px; height: 9px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav-links a:not(.btn)::before { order: 2; opacity: .6; }
.nav-links a:not(.btn):hover::before, .nav-links a.is-active::before, .nav-links a[aria-current="page"]::before { transform: rotate(90deg); opacity: 1; }
.btn-primary::before { position: absolute; top: 7px; right: 7px; opacity: .9; }
.btn-primary:hover::before { transform: rotate(90deg); }
.hero .btn-primary::before { animation: plus-turn 5s var(--ease) 2s infinite; }

.grid-bg::after {
  content: ""; position: absolute; left: 0; right: 0; top: -56px; bottom: 0; background: var(--white); opacity: .24;
  -webkit-mask: url(/assets/plus.svg) -28px -28px / 56px 56px repeat; mask: url(/assets/plus.svg) -28px -28px / 56px 56px repeat;
  animation: grid-drift 7s linear infinite, plus-breathe 5s ease-in-out infinite;
}

.plus-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--white); }
.plus-field::before, .plus-field::after {
  content: ""; position: absolute; left: 0; right: 0; top: -72px; bottom: 0; background: currentColor;
  -webkit-mask: url(/assets/plus.svg) 0 0 / 72px 72px repeat; mask: url(/assets/plus.svg) 0 0 / 72px 72px repeat;
  animation: plus-drift 10s linear infinite;
}
.plus-field::before { opacity: .38; }
.plus-field::after { opacity: .2; -webkit-mask-position: 36px 36px; mask-position: 36px 36px; animation: plus-drift 10s linear infinite, twinkle 5s ease-in-out infinite; }

.band {
  position: relative; overflow: hidden; padding-block: 96px; border-bottom: 1px solid var(--stroke);
  background: radial-gradient(34% 70% at 100% 0%, #ff6b7099, #ff6b7000 70%), linear-gradient(100deg, #240002 0%, #9c0007 38%, #e0000a 70%, #c20008 100%);
}
.band .container { position: relative; }
.hero .pill, .band .pill { color: var(--white); }
.band .pill { background: #0000003d; }
.band-text { margin-top: 24px; max-width: 22em; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; color: var(--white); }

.cta { background: radial-gradient(34% 70% at 100% 0%, #ff6b7099, #ff6b7000 70%), linear-gradient(100deg, #240002 0%, #8f0006 40%, #e0000a 75%, #c20008 100%); }
.cta::before { content: none; animation: none; }
.cta-dober { opacity: .12; }
.cta .lead { color: var(--white); }
.cta .btn-primary { background: var(--white); color: #1a0002; }
.cta .btn-primary:hover { background: #000; color: var(--white); }
.cta .btn-ghost { background: #0000004d; }
.cta .btn-ghost:hover { border-color: var(--white-50); }
.band :focus-visible, .cta :focus-visible { outline-color: var(--white); }

.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a, .footer-bottom button { color: inherit; text-decoration: underline; text-decoration-color: var(--dark-grey); text-underline-offset: 3px; transition: color .15s var(--ease); }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--primary); }
.motion-toggle { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.motion-toggle[aria-pressed="true"] { color: var(--white); }

@media (max-width: 991px) {
  .band, .cta { background: linear-gradient(160deg, #240002 0%, #9c0007 45%, #e0000a 100%); }
}
@media (max-width: 1100px) {
  .nav-links a:not(.btn)::before { display: none; }
}
@media (max-width: 640px) {
  .band { padding-block: 64px; }
}

@media (max-width: 1199px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 22px; }
}

@media (max-width: 991px) {
  .steps::before, .steps::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 56px; }
  .dober { width: min(60%, 280px); order: -1; margin-inline: 0; }
  .hero { min-height: 0; }
  .about-grid, .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-head { position: static; }
  .cards { grid-template-columns: 1fr; }
  .card { border-left: 0; border-right: 0; border-top: 1px solid var(--stroke); padding: 36px 0 40px; }
  .card:first-child { border-top: 0; }
  .card:last-child { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 40; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--pad) 40px;
    background: var(--primary-dark); overflow-y: auto;
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; padding: 20px 0; border-bottom: 1px solid var(--stroke); }
  .nav-links .only-mobile { display: block; border-bottom: 0; margin-top: 28px; padding: 14px 24px; font-size: 16px; text-align: center; letter-spacing: -.32px; }
}

@media (max-width: 640px) {
  .doc { padding-block: 40px 56px; }
  .prose ol li { padding-left: 48px; }
  .prose p, .prose li { font-size: 16px; }
  .doc-cta { padding: 24px 20px; }
  .section { padding-block: 56px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .big-number { font-size: 48px; line-height: 52px; }
  .h3 { font-size: 22px; }
  .faq summary { font-size: 17px; }
  .faq .ans { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { width: 100%; }
  .lockup { padding: 3em 1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .dober-scan { display: none; }
  .progress { display: none; }
  .ticker { -webkit-mask: none; mask: none; }
  .ticker-track { width: auto; }
  .ticker-list { min-width: 0; flex-wrap: wrap; justify-content: center; }
  .ticker-list[aria-hidden="true"] { display: none; }
}

/* Door de bezoeker gekozen: animaties pauzeren (knop in de footer) */
html.no-motion { scroll-behavior: auto; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation: none !important; transition: none !important; }
html.js.no-motion .reveal { opacity: 1; transform: none; }
html.no-motion .dober-scan, html.no-motion .progress { display: none; }
html.no-motion .ticker { -webkit-mask: none; mask: none; }
html.no-motion .ticker-track { width: auto; }
html.no-motion .ticker-list { min-width: 0; flex-wrap: wrap; justify-content: center; }
html.no-motion .ticker-list[aria-hidden="true"] { display: none; }

/* Intro: het logo bouwt zich op bij het laden van de startpagina (script.js zet html.intro) */
.splash { display: none; }
html.intro { --wipe: cubic-bezier(.45, 0, .25, 1); }
html.intro:not(.intro-out) { overflow: hidden; }
html.intro .splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--primary-dark); overflow: hidden;
}
html.intro:not(.intro-out) .nav, html.intro:not(.intro-out) .nav *,
html.intro:not(.intro-out) main *, html.intro:not(.intro-out) main *::before, html.intro:not(.intro-out) main *::after { animation-play-state: paused !important; }
html.intro-out .splash { animation: splash-exit .55s var(--ease) forwards; }
html.intro-fast .splash { animation-duration: .25s; }
html.intro-out .splash-logo { animation: sp-lift .55s var(--ease) forwards; }
html.intro-fast .splash-logo { animation-duration: .25s; }
@keyframes splash-exit { to { opacity: 0; visibility: hidden; } }
@keyframes sp-lift { to { transform: scale(1.05); } }

.splash .plus-field { opacity: 0; -webkit-mask: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
html.intro-run .splash .plus-field { animation: sp-in 1.2s ease-out .1s forwards; }
.splash-glow { position: absolute; inset: 0; opacity: 0; background: radial-gradient(40% 50% at 60% 50%, #f0000a40, var(--transparent) 72%); }
html.intro-run .splash-glow { animation: sp-glow 2.4s ease-out forwards; }
@keyframes sp-in { to { opacity: 1; } }
@keyframes sp-glow { 0% { opacity: 0; } 70% { opacity: .75; } 80% { opacity: 1; } 100% { opacity: .7; } }

.splash-logo { position: relative; display: flex; align-items: center; font-size: min(2.2vh, 3.4vw, 20px); }
.sp-box { position: relative; }
.sp-clip { clip-path: inset(0 0 100% 0); }
.sp-clip img { display: block; width: auto; }
.sp-pattern .sp-clip img { height: 14.7em; opacity: .9; }
.sp-head .sp-clip img { height: 17em; }
.sp-bar { flex: none; width: .5em; height: 15.75em; margin-inline: 4em 3em; background: var(--white); transform: scaleY(0); transform-origin: 50% 0; }
.sp-scan { position: absolute; left: -1.4em; right: -1.4em; top: 0; height: 2px; margin-top: -1px; border-radius: 1px; opacity: 0; background: var(--primary); box-shadow: 0 0 14px 2px #f0000acc, 0 0 44px 8px #f0000a66; }

html.intro-run .sp-pattern .sp-clip { animation: sp-wipe .8s var(--wipe) .2s forwards; }
html.intro-run .sp-pattern .sp-scan { animation: sp-line-p .8s var(--wipe) .2s forwards, sp-line-fade .8s linear .2s forwards; }
html.intro-run .sp-bar { animation: sp-bar .7s var(--ease) .6s forwards; }
html.intro-run .sp-head .sp-clip { animation: sp-wipe 1s var(--wipe) .9s forwards; }
html.intro-run .sp-head .sp-scan { animation: sp-line-h 1s var(--wipe) .9s forwards, sp-line-fade 1s linear .9s forwards; }
html.intro-run .sp-head .sp-clip img { animation: sp-pulse .7s ease-out 1.95s; }
@keyframes sp-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes sp-bar { to { transform: scaleY(1); } }
@keyframes sp-line-p { to { transform: translateY(14.7em); } }
@keyframes sp-line-h { to { transform: translateY(17em); } }
@keyframes sp-line-fade { 0% { opacity: 0; } 10%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-pulse { 40% { filter: drop-shadow(0 0 16px #f0000acc); } }

html.no-motion .splash { display: none !important; }
@media (prefers-reduced-motion: reduce) { .splash { display: none !important; } html.intro { overflow: auto; } }
@media print { .splash { display: none !important; } }

/* Threat map: wereldbol op canvas, paneel en teaser op de startpagina */
.tm-head { padding-bottom: 40px; border-bottom: 0; }
.tm-stage { position: relative; overflow: hidden; padding-block: 24px 80px; border-bottom: 1px solid var(--stroke); }
.tm-stage .container { position: relative; }
.tm-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.tm-globe { margin: 0; }
.tm-canvas { display: block; width: 100%; max-width: 680px; height: auto; aspect-ratio: 1 / 1; margin-inline: auto; cursor: grab; touch-action: pan-y; }
.tm-canvas.is-grab { cursor: grabbing; }
.tm-canvas.is-empty { opacity: .3; }
.tm-canvas:focus-visible { outline-offset: 6px; }
.tm-note { margin-top: 14px; max-width: 34em; margin-inline: auto; text-align: center; font-size: 14px; line-height: 21px; color: var(--dark-grey); }
.tm-panel { display: grid; gap: 32px; min-width: 0; }
.tm-status { min-height: 48px; color: var(--paragraph-gray); font-size: 15px; line-height: 24px; font-weight: 500; }
.tm-old { padding: 12px 16px; border-left: 2px solid var(--primary); background: #f7fcff0a; font-size: 15px; color: var(--paragraph-gray); }
.tm-old[hidden], .tm-facts[hidden] { display: none; }

.tm-legend { min-width: 0; }
.tm-legend-title { margin: 0 0 10px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.tm-types { min-width: 0; margin: 0; padding: 0; list-style: none; }
.tm-type { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding-block: 10px; border-top: 1px solid var(--stroke); }
.tm-type:last-child { border-bottom: 1px solid var(--stroke); }
.tm-type-text { display: grid; gap: 2px; min-width: 0; }
.tm-type-name { font-weight: 600; }
.tm-type-sub { font-size: 14px; line-height: 20px; color: var(--dark-grey); font-weight: 500; }
.tm-type-count { font-size: 18px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.tm-sw { width: 14px; height: 14px; background: var(--c); }
.tm-sw-circle { border-radius: 50%; }
.tm-sw-ring { background: none; border: 2px solid var(--c); border-radius: 50%; }
.tm-sw-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.tm-sw-triangle { clip-path: polygon(50% 6%, 100% 94%, 0 94%); }
.tm-c-c2 { --c: #ff3b45; }
.tm-c-anon { --c: #f7fcff; }
.tm-c-web { --c: #ff9f43; }
.tm-c-intr { --c: #ffd166; }
.tm-c-mail { --c: #7aa7ff; }

.tm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tm-table caption { padding-bottom: 8px; text-align: left; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.tm-table th, .tm-table td { padding: 9px 0; border-top: 1px solid var(--stroke); text-align: left; font-weight: 500; }
.tm-table tr:last-child > * { border-bottom: 1px solid var(--stroke); }
.tm-table th { color: var(--white); }
.tm-table td { color: var(--paragraph-gray); }
.tm-table .tm-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-bar { display: inline-block; width: 84px; height: 4px; margin-right: 12px; vertical-align: middle; background: #f7fcff1f; }
.tm-bar i { display: block; height: 100%; background: var(--primary); }

.tm-teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.tm-teaser-copy { display: grid; gap: 20px; justify-items: start; }
.tm-teaser-copy .sub { margin-top: 0; max-width: 32em; }
.tm-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 4px 0; padding: 0; }
.tm-facts > div { display: grid; gap: 2px; }
.tm-facts dt { font-size: 14px; line-height: 21px; color: var(--dark-grey); font-weight: 500; }
.tm-facts dd { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.tm-teaser-globe .tm-canvas { max-width: 520px; cursor: default; touch-action: auto; }
.tm-teaser-copy .doc-meta { margin-top: 0; animation: none; }

@media (max-width: 991px) {
  .tm-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tm-canvas { max-width: 560px; }
  .tm-teaser-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .tm-stage { padding-bottom: 56px; }
  .tm-facts dd { font-size: 32px; }
  .tm-bar { width: 56px; }
}
.tm-stage .plus-field { -webkit-mask: radial-gradient(640px 540px at 30% 360px, #000 20%, transparent); mask: radial-gradient(640px 540px at 30% 360px, #000 20%, transparent); }
@media (min-width: 992px) {
  .tm-globe { position: sticky; top: calc(var(--nav-h) + 24px); }
}
@media (max-width: 991px) {
  .tm-stage .plus-field { -webkit-mask: radial-gradient(480px 340px at 50% 230px, #000 20%, transparent); mask: radial-gradient(480px 340px at 50% 230px, #000 20%, transparent); }
}
