/* ─── Brand tokens ───────────────────────────────────────────────────────── */
:root {
  --ink:            #0D1B33;   /* midnight navy — text                        */
  --muted:          #5B6B7C;
  --primary:        #1B3A6B;   /* deep indigo — authority, legal weight       */
  --primary-hover:  #2755A8;
  --accent:         #00B99E;   /* teal — "instant", speed, digital            */
  --accent-hover:   #009982;
  --gold:           #C4960E;   /* certification seal — used sparingly         */
  --paper:          #ffffff;
  --soft:           #EDF4FB;
  --line:           #CFDEED;
  --warn:           #fff4da;
  --radius:         14px;
  --shadow:         0 18px 55px rgba(13, 27, 51, .12);
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
/* The top bar spans a wider track than the article content: the full nav row
   (brand + 7 links + lang switcher + 2 CTAs) is wider than 1160px in Dutch, so
   a 1160 cap forced it to overflow/wrap. The page body stays at 1160. */
.topbar .container { width: min(1280px, calc(100% - 40px)); }

/* ─── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}
.brand-name { font-size: 18px; color: var(--ink); }
.brand-tld  { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 16px; font-size: 14px; color: #40515f; flex-wrap: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Keep nav labels and buttons on a single line — the longer Dutch labels
   ("Hoe het werkt", "HAR-bestanden", "Bewijs aanmaken") were wrapping into
   stacked/vertical words when the row ran short on space. */
.nav-links a, .nav-actions .button, .lang-switcher, .brand-name { white-space: nowrap; }

/* Hamburger toggle — hidden on wide screens, shown once the inline links
   collapse (see the max-width:1180px block below). Injected by site.js. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.topbar.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.topbar.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.button.primary  { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(27,58,107,.24); }
.button.primary:hover { background: var(--primary-hover); }
.button.secondary { border-color: #b8d1e8; color: var(--primary); background: #fff; }
.button.secondary:hover { border-color: var(--primary); }
.button.accent   { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(0,185,158,.22); }
.button.accent:hover { background: var(--accent-hover); }
/* legacy alias */
.button.green    { background: var(--accent); color: #fff; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(0,185,158,.13), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(27,58,107,.14), transparent 36%),
    linear-gradient(180deg, #f4f8ff 0%, #fff 72%);
}
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center;
  padding: 58px 0 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #a0ddd4;
  background: #e0f7f3;
  color: #0a7060;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: .02em;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.045em;
  max-width: 820px;
}
.hero p {
  margin: 24px 0 0;
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 640px;
}
.metric {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  border-radius: 10px;
  padding: 12px 14px;
}
.metric strong { display: block; font-size: 15px; color: var(--primary); }
.metric span { color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 28px 48px rgba(13,27,51,.16)); }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 86px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; line-height: 1.6; }

/* ─── Persona cards ──────────────────────────────────────────────────────── */
.persona-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.persona {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.persona:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,185,158,.1); }
.persona-icon { font-size: 28px; margin-bottom: 12px; }
.persona h3   { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.persona p    { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }

/* ─── Service cards ──────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 26px rgba(13,27,51,.05);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: #e4eefa; color: var(--primary);
  font-weight: 900; margin-bottom: 18px;
}
.card h3 { font-size: 23px; }
.card p  { color: var(--muted); margin: 14px 0 0; }
.card .price { margin-top: 18px; font-weight: 900; color: var(--primary); }

/* ─── How it works ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.proof-list { display: grid; gap: 14px; }
.proof-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.check {
  width: 38px; height: 38px; border-radius: 50%;
  background: #e0f7f3; color: #0a7060;
  display: grid; place-items: center; font-weight: 900;
}
.proof-item strong { display: block; margin-bottom: 4px; }
.proof-item span   { color: var(--muted); }

/* ─── Use cases ──────────────────────────────────────────────────────────── */
.use-cases { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.case { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; min-height: 150px; }
.case strong { display: block; margin-bottom: 8px; font-size: 18px; }
.case span   { color: var(--muted); font-size: 14px; }

/* ─── Trust strip ────────────────────────────────────────────────────────── */
.trust-strip { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.trust {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  color: #40515f;
}
.trust.gold { border-color: #e6c87a; background: #fdfaee; color: var(--gold); }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 10px 26px rgba(13,27,51,.06);
}
.plan.popular { transform: translateY(-10px); border-color: #8ed9ca; box-shadow: var(--shadow); }
.ribbon {
  position: absolute; top: 20px; right: -42px;
  transform: rotate(45deg);
  width: 150px; text-align: center;
  background: var(--primary); color: #fff;
  padding: 7px; font-size: 13px; font-weight: 900;
}
.plan-head { background: var(--primary); color: #fff; padding: 22px; text-align: center; }
.plan-head h3 { font-size: 24px; }
.plan-head .price { display: block; margin-top: 10px; font-size: 34px; font-weight: 900; }
.plan-body { padding: 24px; }
.plan-body ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; color: #42515e; }
.plan-body li::before { content: "✓"; color: #0a7060; font-weight: 900; margin-right: 8px; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px 20px; }
.faq summary { font-weight: 900; cursor: pointer; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* ─── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border-radius: 24px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p  { color: rgba(255,255,255,.78); font-size: 18px; margin: 14px 0 0; max-width: 680px; }

/* ─── Footer & campaign ──────────────────────────────────────────────────── */
.footer { padding: 42px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.campaign {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: min(340px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 14px; padding: 16px;
}
.campaign button {
  position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: #6b7782;
}
.campaign strong { display: block; padding-right: 24px; }
.campaign p { margin: 8px 0 12px; color: var(--muted); font-size: 14px; }

/* ─── Content Pages ──────────────────────────────────────────────────────── */
.content-page { padding: 54px 0; }
.content-page h1 { font-size: 42px; margin: 0 0 8px; }
.content-page .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.content-page section { max-width: 900px; margin: 0 auto 42px; }
.content-page section h2 { font-size: 24px; margin-top: 32px; margin-bottom: 16px; }
.content-page section p { line-height: 1.7; color: #3d4a58; margin: 14px 0; }
.content-page section ul { margin: 14px 0; padding-left: 24px; }
.content-page section li { margin: 10px 0; color: #3d4a58; }
.content-page section a { color: var(--primary); text-decoration: none; }
.content-page section a:hover { text-decoration: underline; }

/* ─── Language Switcher ──────────────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lang-switcher a { color: #40515f; text-decoration: none; }
.lang-switcher a:hover { color: var(--primary); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .persona-grid  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust-strip   { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
/* Collapse the inline nav into a hamburger before the longer Dutch label set
   runs out of room. The full Dutch nav needs ~1180px of bar; below ~1240px
   viewport it no longer fits the widened header track, so switch to the
   dropdown. Above this the links sit inline. */
@media (max-width: 1260px) {
  .nav-links { display: none; }
  /* margin-right:auto keeps the hamburger on the LEFT (next to the brand) and
     pushes the lang switcher + CTAs to the right — otherwise space-between
     strands it dead-centre between brand and actions. */
  .nav-toggle { display: flex; margin-right: auto; }
  .topbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(15, 27, 51, .10);
    padding: 10px max(20px, calc((100% - 1160px) / 2 + 20px)) 16px;
  }
  .topbar.nav-open .nav-links a {
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .topbar.nav-open .nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 920px) {
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .cards, .pricing { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid { min-height: auto; padding-top: 42px; }
  .plan.popular { transform: none; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .persona-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-strip  { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  /* flex-wrap lets the stacked action buttons drop below the brand row —
     without it the nowrap brand + hamburger + actions force ~447px of layout
     and the whole page zooms out on phones. */
  .nav { height: auto; padding: 14px 0; align-items: flex-start; flex-wrap: wrap; }
  /* Compact wrapping row instead of a full-width vertical stack — the topbar
     is sticky, so a stacked 3-button column would cover most of the screen. */
  .nav-actions { flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
  .nav-actions .button { min-height: 38px; padding: 0 13px; font-size: 14px; }
  .use-cases, .persona-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ─── Large screens (1200px+) ─────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .hero-grid { min-height: 620px; }
  .hero { padding-top: 54px; padding-bottom: 54px; }
  .section { padding: 96px 0; }
  .persona-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 28px; }
  .cards { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
  .trust-strip { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; }
}

/* ─── Extra large screens (1600px+) ──────────────────────────────────────── */
@media (min-width: 1600px) {
  .container { width: min(1400px, calc(100% - 80px)); }
  .section { padding: 120px 0; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .hero-grid { min-height: 720px; }
  .cta-band { padding: 72px 54px; }
  h1 { font-size: clamp(48px, 6vw, 72px); }
  h2 { font-size: clamp(32px, 4vw, 52px); }
}

/* ─── Hero animation: capture → certify → archive ───────────────────────────
   A camera photographs the angled monitor, the photo lifts out of the screen,
   the scene rotates flat, the photo is hashed + stamped + badged, and a COPY
   files itself into the cabinet (we store the original; the user keeps the
   certificate). The CSS default below is the FINISHED still: certified photo
   front-centre, dim monitor behind, closed cabinet with its teal check.
   site.js only animates on the first visit per session. */
.ip-anim { position: relative; height: 460px; max-width: 540px; margin: 0 auto; perspective: 1100px; }
.ipa-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.ipa-monitor {
  position: absolute; left: 42%; top: 40%;
  transform: translate(-50%, -50%); width: 330px; opacity: .1;
}
.ipa-mframe { background: var(--primary); border-radius: 12px; padding: 10px; }
.ipa-screen {
  position: relative; background: #fff; border-radius: 6px;
  padding: 14px 16px 18px; overflow: hidden;
}
.ipa-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.ipa-bar span { width: 7px; height: 7px; border-radius: 50%; }
.ipa-bar span:nth-child(1) { background: #e24b4a; }
.ipa-bar span:nth-child(2) { background: #efb027; }
.ipa-bar span:nth-child(3) { background: #1d9e75; }
.ipa-line { height: 9px; border-radius: 3px; background: #e4ecf5; margin-bottom: 7px; }
.ipa-line.w72 { width: 72%; }
.ipa-line.w90 { width: 90%; }
.ipa-line.w58 { width: 58%; }
.ipa-line.w80 { width: 80%; margin-bottom: 0; }
.ipa-line.last { margin-bottom: 10px; }
.ipa-screenflash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.ipa-stand { width: 70px; height: 26px; margin: 0 auto; background: #15305a; clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.ipa-base { width: 130px; height: 7px; margin: 0 auto; background: #15305a; border-radius: 4px; }
.ipa-photo {
  position: absolute; left: 42%; top: 38%; width: 250px;
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px 14px;
  box-shadow: 0 22px 40px rgba(13,27,51,.18);
}
.ipa-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: #7c8aa0; white-space: nowrap;
}
.ipa-badge {
  position: absolute; right: -14px; bottom: -18px; width: 60px; height: 60px;
  filter: drop-shadow(0 8px 18px rgba(13,27,51,.28));
}
.ipa-badge svg { width: 100%; height: 100%; }
.ipa-camera { position: absolute; right: 2%; top: 20%; opacity: 0; pointer-events: none; }
.ipa-burst {
  position: absolute; left: 14px; top: 23px; width: 36px; height: 36px;
  border-radius: 50%; background: #fff; opacity: 0;
}
.ipa-stamp {
  position: absolute; left: 42%; top: 38%; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; opacity: 0; pointer-events: none;
}
.ipa-cabinet { position: absolute; right: 0; bottom: 2%; width: 124px; }
.ipa-cabbody {
  background: var(--primary); border-radius: 10px 10px 6px 6px;
  padding: 8px 8px 6px; box-shadow: 0 18px 32px rgba(13,27,51,.18);
}
.ipa-slot { height: 0; background: #0c1f3d; border-radius: 3px; margin-bottom: 0; }
.ipa-drawer { position: relative; height: 36px; background: var(--primary-hover); border-radius: 5px; margin-bottom: 6px; }
.ipa-cabbody .ipa-drawer:last-child { margin-bottom: 0; }
.ipa-handle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 6px; background: var(--primary); border-radius: 3px;
}
.ipa-lock {
  position: absolute; right: -9px; top: -9px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.ipa-feet { display: flex; justify-content: space-between; padding: 0 12px; }
.ipa-feet span { width: 10px; height: 8px; background: #15305a; border-radius: 0 0 3px 3px; }
@media (max-width: 920px) {
  .ip-anim { height: 400px; max-width: 440px; }
  .ipa-monitor { width: 270px; }
  .ipa-photo { width: 205px; }
  .ipa-hash { font-size: 9.5px; }
  .ipa-cabinet { width: 102px; }
  .ipa-drawer { height: 30px; }
}
