/* ====== KEIZERON ADVIES – Gedeeld design system ====== */

:root {
  --bg: #0b0f13;
  --bg-soft: #10161e;
  --card: #111826;
  --ink: #eaf1f7;
  --muted: #9fb1c2;
  --ink-dark: #1a2430;
  --light: #ffffff;
  --line: #1f2b3a;
  --accent: #8CC63F;
  --accent-hover: #7AB62F;
  --accent-muted: rgba(140,198,63,.25);
  --glow: 0 10px 30px rgba(140,198,63,.35), 0 4px 14px rgba(140,198,63,.25);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --header-h: 70px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #0a1016;
  letter-spacing: .2px;
  box-shadow: var(--glow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 18px 50px rgba(140,198,63,.45);
}
.btn.alt {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.btn.alt:hover {
  border-color: rgba(255,255,255,.28);
  transform: translateY(-2px);
  background: rgba(255,255,255,.04);
}

/* ====== ICONS (outline, industrial) ====== */
.icon-svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  stroke: currentColor;
}
.icon-svg.icon-lg { width: 2rem; height: 2rem; }
.icon-svg.icon-xl { width: 2.5rem; height: 2.5rem; }
.icon-svg.icon-2xl { width: 3rem; height: 3rem; }
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.icon-wrap.muted { color: var(--muted); }
.icon-wrap.light { color: var(--light); }
.icon-wrap.icon-sm .icon-svg { width: 1em; height: 1em; }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
}
.benefit-icon,
.value-icon,
.cat-icon,
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.benefit-icon .icon-svg,
.value-icon .icon-svg { width: 2rem; height: 2rem; }
.cat-icon .icon-svg { width: 2rem; height: 2rem; }
.info-icon .icon-svg { width: 2rem; height: 2rem; }
.question-icon { display: inline-flex; align-items: center; color: var(--accent); }
.question-icon .icon-svg { width: 1.1em; height: 1.1em; margin-right: 8px; }

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11,15,19,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: var(--header-h);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--light);
}
.site-logo img {
  height: 42px;
  width: auto;
}
.site-logo:hover {
  opacity: .95;
}

/* ====== NAV – Desktop ====== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > ul > li {
  position: relative;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  opacity: .9;
  border-radius: 10px;
  transition: color .2s, opacity .2s, background .2s;
}
.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  color: var(--accent);
}
.site-nav .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  opacity: .7;
}
.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  background: rgba(16,22,30,.98);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .dropdown a {
  padding: 12px 20px;
  font-size: .9rem;
  border-radius: 0;
  white-space: nowrap;
}
.site-nav .dropdown a:hover {
  background: rgba(140,198,63,.1);
  color: var(--accent);
}

/* ====== HAMBURGER – Mobile ====== */
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}
.menu-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #0a1016;
  border-color: var(--accent);
}

/* ====== MOBILE MENU ====== */
@media (max-width: 960px) {
  .menu-toggle {
    display: flex !important;
  }
  /* Override any nav{display:none} from inline styles – menu moet werken */
  nav.site-nav {
    display: flex !important;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 92vw);
    height: 100%;
    height: 100dvh;
    max-height: -webkit-fill-available;
    background: var(--bg-soft);
    border-left: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 16px) 20px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .35s var(--ease), box-shadow .35s;
    z-index: 99;
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .site-nav a {
    padding: 16px 18px;
    font-size: 1.05rem;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .site-nav .has-dropdown > a::after {
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform .25s;
  }
  .site-nav .has-dropdown.open > a::after {
    transform: rotate(180deg);
  }
  .site-nav .dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
    list-style: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: rgba(0,0,0,.2);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    transition: max-height .35s var(--ease);
  }
  .site-nav .has-dropdown.open .dropdown {
    max-height: 500px;
    padding: 4px 0 12px 0;
    margin: 0 0 8px 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav .dropdown li {
    display: block;
    width: 100%;
    border: none;
  }
  .site-nav .dropdown a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px 14px 36px;
    font-size: 1rem;
    min-height: 48px;
    white-space: normal;
    word-wrap: break-word;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 98;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

/* Header mobile – voldoende ruimte voor hamburger */
@media (max-width: 960px) {
  .header-inner {
    padding: 12px 0;
    min-height: 60px;
  }
  .site-logo img {
    height: 38px;
  }
}

/* ====== FOOTER ====== */
.site-footer {
  background: #0a0f14;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  text-align: center;
  padding: 28px 0;
  font-size: .95rem;
}
.site-footer a {
  color: var(--accent);
  font-weight: 600;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ====== WHATSAPP FLOAT ====== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #25D366;
  color: #fff;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
@media (max-width: 768px) {
  .wa-float {
    padding: 14px 18px;
    font-size: .9rem;
    bottom: 20px;
    right: 20px;
  }
}

/* ====== UTILITY ====== */
.highlight { color: var(--accent) !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
