/* TOXIVA — huisstijl */
:root {
  --navy: #0C2E56;
  --navy-900: #071a33;
  --navy-800: #0a2447;
  --blue: #0099F4;
  --blue-600: #0f6fd1;
  --blue-50: #eaf5fe;
  --ink: #0f1f33;
  --muted: #55657a;
  --line: #dde5ee;
  --tint: #f4f7fb;
  --white: #fff;
  --clean: #bfe3fb;
  --lock: #ffffff;
  --dirty: #f6b7b0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12, 46, 86, .06), 0 8px 24px rgba(12, 46, 86, .08);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.kicker { font: 600 .78rem/1.2 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.kicker-light { color: var(--blue); }
.body-lg { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: var(--white); font: 600 .98rem/1 var(--head); text-decoration: none; padding: 16px 26px; border-radius: 999px; border: 2px solid var(--blue); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; min-height: 48px; }
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: 11px 20px; min-height: 42px; font-size: .9rem; }
.btn-block { width: 100%; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 150px; height: auto; }
.logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; white-space: nowrap; font: 500 .94rem var(--body); opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { opacity: 1; color: var(--white); }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font: 600 .85rem var(--head); letter-spacing: .08em; padding: 8px 12px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; min-height: 40px; }
.lang svg { width: 17px; height: 17px; }
.lang:hover { border-color: currentColor; }
.menu-btn { display: none; }

.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(12,46,86,.06); backdrop-filter: blur(8px); }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .nav a:not(.btn), .site-header.scrolled .lang { color: var(--navy); }
.site-header.scrolled .lang { border-color: var(--line); }

/* hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: var(--white); background: var(--navy-900); overflow: hidden; padding: 130px 0 90px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,26,51,.95) 0%, rgba(7,26,51,.82) 40%, rgba(7,26,51,.25) 75%, rgba(7,26,51,.1) 100%), linear-gradient(0deg, rgba(7,26,51,.6), transparent 40%); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem); font-weight: 800; max-width: 15ch; margin-bottom: 24px; }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: rgba(255,255,255,.85); max-width: 56ch; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; font-weight: 500; color: rgba(255,255,255,.9); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 20px; height: 20px; color: var(--blue); stroke-width: 2.4; }

.viz-tag { position: absolute; right: 14px; bottom: 12px; z-index: 3; font: 600 .66rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(7,26,51,.55); padding: 6px 9px; border-radius: 6px; backdrop-filter: blur(4px); }

/* sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .body-lg { color: rgba(255,255,255,.72); }
.head { max-width: 760px; margin-bottom: 52px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

.ico { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.section-dark .ico { background: rgba(0,153,244,.14); color: var(--blue); }

.risk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.risk-list li { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.risk-list p { margin: 0; color: var(--muted); font-size: .98rem; }

.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12,46,86,.06), 0 16px 36px rgba(12,46,86,.12); } }
.card .ico { margin-bottom: 20px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* werkwijze */
.section-dark::after { content: ""; position: absolute; width: 680px; height: 680px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,153,244,.18), transparent 65%); pointer-events: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; z-index: 1; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: var(--blue); opacity: .6; }
.step-no { display: block; font: 800 2.2rem/1 var(--head); color: var(--blue); margin-bottom: 18px; }
.steps p { margin: 0; font-size: .96rem; color: rgba(255,255,255,.7); }
.gate { position: relative; z-index: 1; display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 0; padding: 26px 30px; border-left: 3px solid var(--blue); background: rgba(0,153,244,.08); border-radius: 0 var(--radius) var(--radius) 0; }
.gate svg { color: var(--blue); margin-top: 2px; }
.gate p { margin: 0; font: 600 1.08rem/1.5 var(--head); color: var(--white); }

/* mobiele unit */
.unit-photo, .wide-photo { position: relative; margin: 0 0 40px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.unit-photo img, .wide-photo img { width: 100%; }
.wide-photo { margin: 48px 0 0; }
.wide-photo img { aspect-ratio: 3 / 1; object-fit: cover; }
.unit-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.unit-plan { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.unit-plan a { position: relative; display: block; border-radius: 10px; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--head); color: var(--white); background: var(--navy); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.zoom-hint svg { width: 16px; height: 16px; }
.unit-plan a:hover .zoom-hint { background: var(--blue-600); }
.zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.zones li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.zones p { margin: 0; color: var(--muted); }
.z-dot { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; margin-top: 2px; border: 1.5px solid rgba(12,46,86,.25); }
.z-clean .z-dot { background: var(--clean); }
.z-lock .z-dot { background: var(--lock); }
.z-dirty .z-dot { background: var(--dirty); }

/* toepassingen */
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sector h3 { overflow-wrap: break-word; hyphens: manual; }
.sector { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.sector svg { width: 34px; height: 34px; color: var(--blue-600); margin-bottom: 16px; stroke-width: 1.6; }
.sector h3 { margin-bottom: 6px; }
.sector p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* technologie */
.split-tech { align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #ffd27a; border: 1px solid rgba(255,210,122,.45); padding: 7px 12px; border-radius: 999px; margin-bottom: 22px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffd27a; }
.tech-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.tech-list li { display: flex; gap: 18px; }
.tech-list p { margin: 0; color: rgba(255,255,255,.7); font-size: .97rem; }
.tech-visual { position: relative; z-index: 1; }
.tech-visual figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.tech-visual figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% center; }
.tech-visual .heads { margin-top: 16px; background: var(--white); padding: 14px 18px; }
.tech-visual .heads img { aspect-ratio: auto; }
.note { margin: 14px 0 0; font-size: .84rem; color: rgba(255,255,255,.55); }

/* over */
.bv { border-top: 4px solid var(--blue); }
.bv-later { border-top-color: #9bb3cc; }
.bv-s { display: block; font: 600 .74rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.bv-later .bv-s { color: #6c819a; }
.values { list-style: none; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.values li { display: flex; align-items: center; gap: 12px; font: 700 1rem var(--head); color: var(--navy); letter-spacing: .06em; text-transform: uppercase; }
.values svg { color: var(--blue-600); width: 28px; height: 28px; }

/* contact */
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list svg { color: var(--blue); width: 20px; height: 20px; stroke-width: 2.4; }
.contact-details { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-details h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.contact-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.contact-details dt { color: rgba(255,255,255,.6); }
.contact-details dd { margin: 0; color: var(--white); font-weight: 500; }
.contact-details dd.tbd { color: rgba(255,255,255,.45); font-style: italic; font-weight: 400; }
.form { position: relative; z-index: 1; background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font: 600 .9rem var(--body); color: var(--navy); }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); width: 100%; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,153,244,.18); }
.privacy { margin: 0; font-size: .84rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 64px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-inner img { width: 240px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.footer-nav a { text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* bedankt-pagina */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: rgba(255,255,255,.8); padding: 40px 20px; }
.thanks img { width: 220px; margin: 0 auto 40px; }
.thanks h1 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.thanks .ok { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,153,244,.15); color: var(--blue); }


/* ---------- beweging ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,210,122,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,210,122,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,122,0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

.js-motion .hero-bg { animation: kenburns 16s cubic-bezier(.2,.7,.2,1) both; }
.js-motion .hero-content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.js-motion .hero-content > :nth-child(1) { animation-delay: .15s; }
.js-motion .hero-content > :nth-child(2) { animation-delay: .3s; }
.js-motion .hero-content > :nth-child(3) { animation-delay: .5s; }
.js-motion .hero-content > :nth-child(4) { animation-delay: .65s; }
.js-motion .hero-content > :nth-child(5) { animation-delay: .8s; }
.badge::before { animation: pulse 2.2s ease-out infinite; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 2s ease-in-out infinite; }
.js-motion .scroll-cue { animation: rise .9s 1.2s both; }

/* elementen verschijnen bij scrollen (klasse .in komt van main.js) */
.js-motion :is(.section .head, .split > div:first-child, .risk-list li, .cards .card, .steps li, .gate, .unit-photo, .unit-plan, .zones li, .sector, .wide-photo, .tech-list li, .tech-visual figure, .tech-visual .note, .values li, .form, .check-list li):not(.done) {
  transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s);
}
.js-motion :is(.section .head, .split > div:first-child, .risk-list li, .cards .card, .steps li, .gate, .unit-photo, .unit-plan, .zones li, .sector, .wide-photo, .tech-list li, .tech-visual figure, .tech-visual .note, .values li, .form, .check-list li):not(.in) {
  opacity: 0; transform: translateY(28px);
}
.js-motion :is(.unit-photo, .wide-photo, .tech-visual figure) img { transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.js-motion :is(.unit-photo, .wide-photo, .tech-visual figure):not(.in) img { transform: scale(1.08); }
.js-motion .steps li::after { transform-origin: left; transition: transform .6s ease .5s; }
.js-motion .steps li:not(.in)::after { transform: scaleX(0); }
.sector svg, .card .ico { transition: transform .3s ease; }
.sector { transition: border-color .2s, box-shadow .2s; }
@media (hover: hover) {
  .sector:hover svg, .card:hover .ico { transform: translateY(-3px) scale(1.06); }
  .sector:hover { border-color: #b9d8f3; box-shadow: var(--shadow); }
}

/* responsive */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .sectors { display: flex; flex-wrap: wrap; justify-content: center; }
  .sector { flex: 0 1 calc((100% - 32px) / 3); }
}
@media (max-width: 1100px) {
  .menu-btn { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s; }
  .site-header.scrolled .menu-btn span, .site-header.open .menu-btn span { background: var(--navy); }
  .site-header.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-inner { gap: 12px; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px 20px 24px; box-shadow: 0 20px 40px rgba(12,46,86,.15); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav a:not(.btn) { color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; }
  .site-header.open { background: var(--white); }
  .site-header.open .logo-light { display: none; }
  .site-header.open .logo-dark { display: block; }
  .site-header.open .lang { color: var(--navy); border-color: var(--line); }
  .site-header.open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 920px) {
  .split, .unit-grid { grid-template-columns: 1fr; }
  .unit-plan { max-width: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 128px; }
  .cards-4, .cards-3, .steps { grid-template-columns: 1fr; gap: 12px; }
  .cards-4 .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .cards-4 .card .ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .card:hover { transform: none; }
  .steps li { padding: 22px 20px; }
  .step-no { font-size: 1.6rem; margin-bottom: 10px; }
  .risk-list li { padding: 20px; gap: 16px; }
  .zones li { padding: 18px 20px; }
  .head { margin-bottom: 36px; }
  .sectors { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .sector { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 20px; }
  .sector svg { grid-row: span 2; margin: 2px 0 0; }
  .form .row { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 64px; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(7,26,51,.55) 0%, rgba(7,26,51,.78) 45%, rgba(7,26,51,.94) 100%); }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .values { justify-content: flex-start; }
  .values li { flex: 1 1 40%; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .wide-photo img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
