/* ============================================================
   style.css — AITransparant.nl
   Gedeelde CSS voor alle pagina's.
   Includen via: <link rel="stylesheet" href="/assets/style.css">
   ============================================================

   INHOUDSOPGAVE
   ─────────────────────────────────────────────────────────────
   1.  Design tokens (CSS-variabelen)
   2.  Reset & basis
   3.  Typografie
   4.  Links & knoppen
   5.  Layout helpers (.c, .sec, grids)
   6.  Header & hamburgermenu
   7.  Desktop navigatie + dropdowns
   8.  Off-canvas mobiel menu
   9.  Hero-sectie
   10. Cards & badges
   11. USP-blok
   12. Quote / testimonial
   13. Tabellen
   14. FAQ-accordeon
   15. Breadcrumb
   16. Footer
   17. Sticky mobiele CTA-balk
   18. Cookie-banner
   19. Media queries (responsive)
   20. Toegankelijkheid / reduced-motion
   ============================================================ */


/* ──────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Kleuren */
  --bg:          #fff;
  --bg-alt:      #f5f7fb;
  --accent:      #003366;
  --accent-soft: #e1e8f5;
  --txt:         #111827;
  --muted:       #4b5563;
  --border:      #e5e7eb;
  --footer:      #020617;
  --footer-txt:  #e5e7eb;

  /* Layout */
  --mw: 1120px;   /* max breedte content */
  --hh:   64px;   /* header hoogte */
  --r:     6px;   /* basis border-radius */

  /* Effecten */
  --s: 0 10px 30px rgba(15, 23, 42, .08);

  /* Typografie */
  --f:         "Inter", system-ui, sans-serif;
  --f-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}


/* ──────────────────────────────────────────────────────────────
   2. RESET & BASIS
   ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--hh) + 8px);
}

/* CLS-reductie: fallback-font matcht Inter/Jakarta Sans */
body {
  font-size-adjust: 0.521;
  margin: 0;
  font-family: var(--f);
  color: var(--txt);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  min-height: calc(100vh - 220px);
}


/* ──────────────────────────────────────────────────────────────
   3. TYPOGRAFIE
   ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
}


/* ──────────────────────────────────────────────────────────────
   4. LINKS & KNOPPEN
   ────────────────────────────────────────────────────────────── */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* WCAG 1.4.1 — bodytekst-links altijd onderlijnd */
.sec p a:not(.btn),
.faq-item p a:not(.btn),
article a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:active {
  opacity: .75;
}

/* Skip-link (WCAG 2.1 AA) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4, 1rem);
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 6px 6px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s;
}

.skip-link:focus {
  top: 0;
}

/* Focus-ring (geldt voor alle interactieve elementen) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Knoppen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  border: none;
  box-shadow: var(--s);
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  opacity: .94;
}

.btn:active {
  transform: scale(.97);
  opacity: .88;
}

/* Knopvarianten */
.btn-o {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn-g {
  background: var(--bg-alt);
  color: var(--txt);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-txt {
  font-size: .9rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ──────────────────────────────────────────────────────────────
   5. LAYOUT HELPERS
   ────────────────────────────────────────────────────────────── */
/* Centered container */
.c {
  width: 100%;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Sectie-wrapper */
.sec {
  padding: 32px 0;
}

/* Sectie-header */
.sec-h  { margin-bottom: 18px; }
.sec-k  { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 4px; }
.sec-t  { font-size: 1.5rem; margin: 0 0 4px; }
.sec-i  { font-size: .94rem; color: var(--muted); max-width: 40rem; }

/* Grid-utilities */
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }


/* ──────────────────────────────────────────────────────────────
   6. HEADER & HAMBURGERMENU
   ────────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, .35);
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.h-i,
.n-w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hh);
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Hamburger */
.ham {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
  transition: background .18s, border-color .18s;
}

.ham:hover,
.ham:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Hamburger-animatie */
.ham[aria-expanded="true"] .ham-line-mid { opacity: 0; transform: scaleX(0); }
.ham[aria-expanded="true"] .ham-line-top { transform: translateY(6px) rotate(45deg); }
.ham[aria-expanded="true"] .ham-line-bot { transform: translateY(-6px) rotate(-45deg); }

.ham-lines {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.ham-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--txt);
  border-radius: 1px;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), opacity .15s;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--txt);
  line-height: 0;
}

.logo svg {
  display: block;
  flex-shrink: 0;
}

.logo-m { display: none; }


/* ──────────────────────────────────────────────────────────────
   7. DESKTOP NAVIGATIE + DROPDOWNS
   ────────────────────────────────────────────────────────────── */
nav.main-nav { display: none; }

.n-l {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .9rem;
}

.n-l > li {
  list-style: none;
  position: relative;
}

.n-l > li > a,
.n-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .9rem;
  transition: color .18s, background .18s;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.n-l > li > a:hover,
.n-btn:hover,
.n-l > li:hover > .n-btn {
  color: var(--txt);
  background: var(--accent-soft);
  text-decoration: none;
}

.n-l > li > a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.n-caret {
  display: inline-block;
  width: 14px;
  height: 14px;
  opacity: .55;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1);
  flex-shrink: 0;
}

.n-l > li.open > .n-btn .n-caret {
  transform: rotate(180deg);
}

/* Dropdown panel */
.n-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s cubic-bezier(.16, 1, .3, 1),
              transform .18s cubic-bezier(.16, 1, .3, 1);
  z-index: 200;
}

.n-l > li.open .n-drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.n-drop a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.35;
  transition: color .15s, background .15s;
  text-decoration: none;
}

.n-drop a:hover {
  color: var(--txt);
  background: var(--accent-soft);
}

.n-drop a strong {
  display: block;
  font-weight: 600;
  color: var(--txt);
  font-size: .88rem;
  line-height: 1.2;
}

.n-drop a small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.3;
  margin-top: 1px;
}

.n-drop a span { flex: 1; }

.n-drop a:hover strong,
.n-drop a:hover small { color: var(--accent); }

.n-drop-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: .55;
}

.n-drop-label {
  font-weight: 500;
  color: var(--txt);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 10px 4px;
  display: block;
}

.n-drop hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

.n-cta {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}


/* ──────────────────────────────────────────────────────────────
   8. OFF-CANVAS MOBIEL MENU
   ────────────────────────────────────────────────────────────── */
.oc {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
  pointer-events: none;
}

.oc.open {
  display: flex;
  pointer-events: auto;
}

/* Backdrop */
.oc-b {
  flex: 1;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .22s;
}

.oc.open .oc-b { opacity: 1; }

/* Paneel */
.oc-p {
  width: 300px;
  max-width: 86vw;
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: var(--s);
  transform: translateX(-100%);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}

.oc-p:focus { outline: none; }

.oc.open .oc-p { transform: translateX(0); }

/* Paneel-header */
.oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.oc-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: background .18s;
}

.oc-close-btn:hover { background: var(--accent-soft); }

.oc-body {
  padding: 8px 0 24px;
  flex: 1;
}

/* Accordion navigatie */
.oc-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oc-nav > li {
  border-bottom: 1px solid var(--border);
}

.oc-top-link,
.oc-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  color: var(--txt);
  font-size: .95rem;
  font-weight: 500;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.oc-top-link:hover,
.oc-acc-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

.oc-acc-btn:active,
.oc-top-link:active { background: var(--accent-soft); }

.oc-acc-btn .n-caret {
  transition: transform .22s cubic-bezier(.16, 1, .3, 1);
}

.oc-nav > li.open .oc-acc-btn .n-caret {
  transform: rotate(180deg);
}

/* Submenu */
.oc-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  background: var(--bg-alt);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.16, 1, .3, 1);
}

.oc-nav > li.open .oc-sub { max-height: 500px; }

.oc-sub a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 18px 10px 28px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.oc-sub a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* CTA in off-canvas */
.oc-cta {
  padding: 16px 18px 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.oc-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: .92rem;
}


/* ──────────────────────────────────────────────────────────────
   9. HERO-SECTIE
   ────────────────────────────────────────────────────────────── */
.hero {
  padding: 32px 0 40px;
  background: radial-gradient(circle at top left, var(--accent-soft), #fff 52%);
}

.hero-i {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 32px;
  align-items: center;
}

.hero-i > div    { order: 1; }
.hero-i > figure { order: 2; }

.hero-k {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-t {
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero-s {
  font-size: .98rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 18px;
}

.hero-a    { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-meta { font-size: .875rem; color: var(--muted); }
.hero-mini { font-size: .875rem; color: var(--muted); margin-top: 6px; }

/* Badge-rij (vertrouwenssignalen) */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: .82rem;
  color: var(--muted);
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}


/* ──────────────────────────────────────────────────────────────
   10. CARDS & BADGES
   ────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 14px 14px 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  font-size: .92rem;
}

.card-featured {
  background: var(--accent-soft);
  border-color: rgba(0, 51, 102, .25);
  box-shadow: 0 2px 8px rgba(0, 51, 102, .08);
}

.card-featured h3 { color: var(--accent); }

.card-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: .04em;
}

.card h2,
.card h3 { margin: 0 0 6px; font-size: 1rem; }

.card p { margin: 0 0 8px; color: var(--muted); }


/* ──────────────────────────────────────────────────────────────
   11. USP-BLOK
   ────────────────────────────────────────────────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.usp-item {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 14px;
  font-size: .9rem;
}

.usp-banner {
  border: 1px solid rgba(0, 51, 102, .18);
  background: var(--accent-soft);
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: .9rem;
  margin-bottom: 14px;
}


/* ──────────────────────────────────────────────────────────────
   12. QUOTE / TESTIMONIAL
   ────────────────────────────────────────────────────────────── */
.quote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}


/* ──────────────────────────────────────────────────────────────
   13. TABELLEN
   ────────────────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin: 10px 0 4px;
}

th, td {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}

th {
  background: var(--bg-alt);
  font-weight: 600;
}


/* ──────────────────────────────────────────────────────────────
   14. FAQ-ACCORDEON
   ────────────────────────────────────────────────────────────── */
.faq { margin-top: 8px; }

.faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--txt);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23003366" stroke-width="2.5" stroke-linecap="round"><polyline points="6 9 12 15 18 9"/></svg>') center / contain no-repeat;
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  font-size: .9rem;
  margin: 0 0 14px;
  color: var(--muted);
}


/* ──────────────────────────────────────────────────────────────
   15. BREADCRUMB
   ────────────────────────────────────────────────────────────── */
.breadcrumb-nav {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0 auto;
  padding: 0 16px;
  max-width: var(--mw);
  font-size: .82rem;
  color: var(--muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  opacity: .4;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--txt);
  font-weight: 500;
}


/* ──────────────────────────────────────────────────────────────
   16. FOOTER
   ────────────────────────────────────────────────────────────── */
footer {
  background: var(--footer);
  color: var(--footer-txt);
  padding: 24px 0 calc(16px + env(safe-area-inset-bottom));
  margin-top: 32px;
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.f-t {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .4);
  padding-bottom: 12px;
  margin-bottom: 10px;
  font-size: .86rem;
}

.f-l,
.f-s {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.f-l a {
  color: var(--footer-txt);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.f-s a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-txt);
  font-size: .8rem;
  transition: background .18s, border-color .18s;
}

.f-b {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .8rem;
  color: rgba(226, 232, 240, .8);
}

.f-b .f-l a {
  padding: 6px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}


/* ──────────────────────────────────────────────────────────────
   17. STICKY MOBIELE CTA-BALK
   ────────────────────────────────────────────────────────────── */
.sticky-cta { display: none; }


/* ──────────────────────────────────────────────────────────────
   18. COOKIE-BANNER
   ────────────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #fff;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
  padding: 20px 24px;
  font-size: .88rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

#cookie-banner.cb-show { transform: translateY(0); }

#cookie-banner h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--accent);
}

#cookie-banner p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 72ch;
}

/* Categorieën */
.cb-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cb-cat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #f9fafb;
}

.cb-cat label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--txt);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-cat p {
  font-size: .82rem;
  color: var(--muted);
  margin: 2px 0 0;
  max-width: none;
}

.cb-cat-info { flex: 1; }

/* Toggle-schakelaar */
.cb-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cb-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cb-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s;
}

.cb-toggle input:checked + .cb-toggle-slider { background: var(--accent); }

.cb-toggle-slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.cb-toggle input:checked + .cb-toggle-slider::before {
  transform: translateX(18px);
}

.cb-toggle input:disabled + .cb-toggle-slider {
  opacity: .5;
  cursor: not-allowed;
}

.cb-toggle input:focus-visible + .cb-toggle-slider {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Knoppen cookiebanner */
.cb-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cb-btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background .18s;
}

.cb-btn-accept:hover { background: #002244; }

.cb-btn-save {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 9px 18px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.cb-btn-save:hover { background: var(--accent-soft); }

.cb-btn-reject {
  background: none;
  color: var(--muted);
  border: none;
  padding: 9px 12px;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color .15s;
}

.cb-btn-reject:hover { color: var(--txt); }

.cb-link {
  color: var(--accent);
  text-decoration: underline;
  font-size: .82rem;
}


/* ──────────────────────────────────────────────────────────────
   19. MEDIA QUERIES (RESPONSIVE)
   ────────────────────────────────────────────────────────────── */
/* Tablet: ≤ 959px */
@media (max-width: 959px) {
  main         { padding-bottom: 74px; }
  .hero-i      { grid-template-columns: minmax(0, 1fr); }
  .g3          { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2          { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .usp-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav.main-nav { display: none !important; }
  .n-cta       { display: none !important; }

  /* Sticky CTA-balk activeren */
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
  }

  .sticky-cta .btn {
    flex: 1;
    justify-content: center;
    font-size: .88rem;
    padding: 11px 12px;
  }
}

/* Mobiel: ≤ 640px */
@media (max-width: 640px) {
  .g3, .g2, .usp-grid    { grid-template-columns: minmax(0, 1fr); }
  .h-i                    { padding: 0 10px; }
  .f-t, .f-b              { flex-direction: column; align-items: flex-start; }
  .hero                   { padding: 20px 0 28px; }
  .hero-s                 { max-width: 100%; }
  .hero-i > figure        { display: none; }
  .sec                    { padding: 24px 0; }
  .sec-t                  { font-size: 1.25rem; }
  .sec-i                  { max-width: 100%; }

  #cookie-banner          { padding: 16px; }
  .cb-btns                { flex-direction: column; align-items: stretch; }
  .cb-btn-accept,
  .cb-btn-save,
  .cb-btn-reject          { text-align: center; }
}

/* Desktop: ≥ 960px */
@media (min-width: 960px) {
  nav.main-nav { display: block; }
  .n-cta       { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
  .oc          { display: none !important; }
  .ham         { display: none !important; }
}


/* ──────────────────────────────────────────────────────────────
   20. TOEGANKELIJKHEID / REDUCED MOTION
   ────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:       .01ms !important;
    animation-iteration-count: 1    !important;
    transition-duration:      .01ms !important;
    scroll-behavior:          auto  !important;
  }
}
/* ──────────────────────────────────────────────────────────────
20. TOEGANKELIJKHEID / REDUCED MOTION
────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ──────────────────────────────────────────────────────────────
21. HEADER FIX OVERRIDE
Voegt een robuuste desktop-uitlijning toe na de include-refactor.
────────────────────────────────────────────────────────────── */
@media (min-width: 960px) {
  header .h-i,
  header .n-w {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
  }

  header .logo {
    display: flex;
    align-items: center;
    align-self: center;
    justify-self: start;
    flex-shrink: 0;
    min-width: max-content;
    line-height: 0;
  }

  header .logo svg {
    display: block;
    flex-shrink: 0;
  }

  header nav.main-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  header .n-l {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
  }

  header .n-cta {
    display: flex !important;
    align-items: center;
    justify-self: end;
    gap: 10px;
    margin-left: 0;
    flex-shrink: 0;
    min-width: max-content;
  }

  header .ham {
    display: none !important;
  }

  header .oc {
    display: none !important;
  }
}
/* ================================================================
   style-patch.css - AITransparant.nl
   Voeg toe aan het EINDE van /assets/style.css op de server.
   ================================================================

   WIJZIGINGEN:
   1. Hamburger: oc--open class (was: open)
   2. Dropdown minimumbreedte verhoogd (320px)
   3. n-drop--open class toegevoegd voor JS dropdown
   4. Cookie-banner: nieuw .cookie-banner--visible systeem
   5. Hero portret: responsive WebP-structuur
   6. FAQ details/summary verbetering
   7. USP banner + card badge
   8. Off-canvas oc-sub--open class
   ================================================================ */

/* 1. Hamburger FIX - oc--open uniform met JS */
.oc.oc--open { display:flex !important; pointer-events:auto; }
.oc.oc--open .oc-b { opacity:1; }
.oc.oc--open .oc-p { transform:translateX(0); }

/* 2. Off-canvas sub-menu */
.oc-sub.oc-sub--open { max-height:500px; }

/* 3. Desktop dropdown via n-drop--open */
.n-drop.n-drop--open {
  opacity:1 !important;
  pointer-events:auto !important;
  transform:translateY(0) !important;
  visibility:visible !important;
}

/* 4. Dropdown breedte FIX - AI-compliance kolom was te smal */
.n-drop { min-width:320px !important; }

/* 5. Cookie-banner (PHP cookie gestuurd, geen localStorage) */
.cookie-banner {
  display:none;
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:9998;
  background:#fff;
  border-top:2px solid var(--accent);
  box-shadow:0 -4px 24px rgba(0,0,0,.12);
  padding:16px 20px;
  font-size:.9rem;
  line-height:1.5;
}
.cookie-banner.cookie-banner--visible {
  display:block;
  animation:cbSlideUp .35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes cbSlideUp {
  from { transform:translateY(100%); opacity:0; }
  to   { transform:translateY(0); opacity:1; }
}
.cookie-i {
  max-width:var(--mw);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  justify-content:space-between;
}
.cookie-i p { margin:0; color:var(--muted); flex:1 1 300px; }
.cookie-a { display:flex; gap:8px; flex-wrap:wrap; align-items:center; flex-shrink:0; }

/* 6. Hero portret - responsive WebP (audit 2.2) */
.hero-portrait { display:flex; align-items:flex-start; justify-content:center; }
.hero-portrait-card { border-radius:8px; overflow:hidden; box-shadow:var(--s); width:100%; max-width:395px; }
.hero-portrait-card picture,
.hero-portrait-card img {
  display:block; width:100%; height:auto;
  aspect-ratio:4/3; object-fit:cover; object-position:top center;
}

/* 7. Skip-link */
.skip-link { position:absolute; top:-999px; left:4px; z-index:9999; background:var(--accent); color:#fff; padding:8px 14px; border-radius:0 0 6px 6px; font-size:.9rem; font-weight:600; text-decoration:none; transition:top .2s; }
.skip-link:focus { top:0; }

/* 8. Sticky CTA verbergen als hero-knop zichtbaar */
.sticky-cta--hidden { display:none !important; }

/* 9. FAQ details/summary */
.faq { display:flex; flex-direction:column; gap:0; border:1px solid var(--border); border-radius:var(--r); overflow:hidden; }
.faq-item { border-bottom:1px solid var(--border); background:var(--bg); }
.faq-item:last-child { border-bottom:none; }
.faq-item summary {
  padding:14px 18px; cursor:pointer; font-weight:600; font-size:.95rem;
  list-style:none; display:flex; justify-content:space-between; align-items:center;
  user-select:none; gap:12px; color:var(--txt); transition:background .15s;
}
.faq-item summary:hover { background:var(--accent-soft); }
.faq-item summary::after { content:'+'; font-size:1.2rem; font-weight:400; color:var(--accent); flex-shrink:0; line-height:1; }
.faq-item[open] summary::after { content:'-'; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item p { margin:0; padding:0 18px 14px; font-size:.9rem; color:var(--muted); }

/* 10. USP banner */
.usp-banner { border:1px solid rgba(0,51,102,.18); background:var(--accent-soft); padding:10px 14px; border-radius:var(--r); font-size:.9rem; margin-bottom:14px; border-left:4px solid var(--accent); }

/* 11. Card badge + featured */
.card-featured { border:2px solid var(--accent) !important; }
.card-badge { display:inline-block; background:var(--accent); color:#fff; font-size:.65rem; font-weight:700; padding:2px 8px; border-radius:999px; margin-bottom:8px; text-transform:uppercase; letter-spacing:.08em; }

/* 12. Hero portret mobiel altijd zichtbaar */
@media (max-width:640px) {
  .hero-i > .hero-visual,
  .hero-i > .hero-portrait { display:flex !important; }
  .hero-portrait-card { max-width:100%; }
}
/* 12. Hero portret mobiel altijd zichtbaar */
@media (max-width:640px) {
  .hero-i > .hero-visual,
  .hero-i > .hero-portrait { display:flex !important; }
  .hero-portrait-card { max-width:100%; }
}
/* 13. Mobiel menu open-state fix */
.oc.oc--open {
  display: flex !important;
  pointer-events: auto !important;
}

.oc.oc--open .oc-b {
  opacity: 1;
}

.oc.oc--open .oc-p {
  transform: translateX(0);
}