/* ═══════════════════════════════════════════════════════
   CONSULENS — GEDEELDE STIJLEN
   Geladen op alle pagina's via <link rel="stylesheet">
   ═══════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── DESIGN TOKENS ─── */
:root {
  --bg:           #07111e;
  --bg2:          #0b1929;
  --surface:      #0f2035;
  --surface2:     #13283f;
  --accent:       #4d9fd6;
  --accent2:      #3a7db8;
  --accent-dim:   rgba(77,159,214,0.12);
  --accent-glow:  rgba(77,159,214,0.25);
  --text:         #dce8f4;
  --text-dim:     #7090a8;
  --text-muted:   #3d566a;
  --border:       rgba(77,159,214,0.2);
  --border-dim:   rgba(255,255,255,0.07);
  --green:        #6aaa72;
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── GRID OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,159,214,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,159,214,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
  transition: padding 0.3s;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links > li > a,
.nav-link-parent {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}
.nav-links > li > a:hover,
.nav-link-parent:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  padding: 9px 22px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--bg); }

/* ─── DROPDOWN ─── */
.nav-item-dropdown { position: relative; }

.nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-chevron {
  transition: transform 0.25s ease;
  opacity: 0.6;
  flex-shrink: 0;
}
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  min-width: 248px;
  list-style: none;
  background: rgba(7,17,30,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-dim);
  border-top: 2px solid var(--accent);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

/* Brug zodat dropdown open blijft bij muisbeweging van link naar dropdown */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown li > a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-dropdown-featured-item {
  border-top: 1px solid var(--border-dim);
  margin-top: 4px;
  padding-top: 4px;
}
.nav-dropdown-featured {
  color: var(--accent) !important;
  font-weight: 500 !important;
}
.nav-dropdown-featured:hover {
  background: var(--accent-dim) !important;
}

/* ─── MOBIELE CTA IN MENU ─── */
.nav-mobile-cta { display: none; }
.nav-mobile-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg) !important;
  font-family: var(--font-body);
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-mobile-cta a:hover { background: #22f0be; }

/* ─── HAMBURGER ─── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border-dim);
  padding: 40px 60px 32px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
a.footer-contact-item:hover { color: var(--accent); }
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ─── SECTIELABEL ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}

/* ─── KNOPPEN ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #22f0be; transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }

/* ─── SERVICE CARD (gedeeld index + diensten) ─── */
.service-card {
  background: var(--surface);
  padding: 44px 36px;
  border: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { border-color: var(--border); background: var(--surface2); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.service-icon {
  width: 42px; height: 42px;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.service-items {
  margin-top: 24px;
  list-style: none;
}
.service-items li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-items li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── ANIMATIES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); }

/* ─── VERMINDERDE BEWEGING (WCAG 2.1) ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── RESPONSIVE: NAV ─── */
@media (max-width: 900px) {
  nav { padding: 18px 28px; }

  .nav-mobile-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,17,30,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }

  .nav-links > li > a,
  .nav-link-parent { font-size: 1.2rem; }

  .nav-cta { display: none; }
  .nav-mobile-cta { display: list-item; }

  /* Mobiel dropdown */
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: none;
    border: none;
    border-top: 1px solid var(--border-dim);
    padding: 8px 0 0;
    min-width: auto;
    backdrop-filter: none;
    display: none;
  }
  .nav-item-dropdown::after { display: none; }
  .nav-item-dropdown.mobile-open .nav-dropdown {
    display: flex;
    flex-direction: column;
  }
  .nav-item-dropdown.mobile-open .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }
  .nav-dropdown li > a {
    font-size: 1rem;
    padding: 8px 0;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: normal;
  }
  .nav-dropdown-featured { font-size: 0.9rem !important; }

  /* Footer mobiel */
  footer { padding: 32px 28px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 550px) {
  nav { padding: 16px 20px; }
  footer { padding: 28px 20px; }
}
