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

:root {
  --blauw: #2a4270;
  --blauw-dark: #122047;
  --oranje: #f97316;
  --oranje-dark: #ea580c;
  --wit: #ffffff;
  --lichtgrijs: #f8f9fa;
  --grijs: #e5e7eb;
  --tekst: #111111;
  --tekst-zacht: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,47,94,0.10);
  --shadow-lg: 0 8px 40px rgba(26,47,94,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--tekst);
  background: var(--wit);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Alleen voor schermlezers — visueel verborgen, wel voorleesbaar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== KNOPPEN ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--oranje);
  color: var(--wit);
  border-color: var(--oranje);
}
.btn-primary:hover { background: var(--oranje-dark); border-color: var(--oranje-dark); }

.btn-outline {
  background: transparent;
  color: var(--blauw);
  border-color: var(--blauw);
}
.btn-outline:hover { background: var(--blauw); color: var(--wit); }

.btn-wit {
  background: var(--wit);
  color: var(--blauw);
  border-color: var(--wit);
}
.btn-wit:hover { background: var(--lichtgrijs); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 16px 36px; font-size: 17px; border-radius: 10px; }

/* ===== HEADER ===== */
.header {
  background: var(--blauw);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  height: 90px;
  overflow: hidden;
}

/* Leaflet's eigen panes (zoomcontrols, markers, tegels) hebben interne z-indexen tot 1000 —
   ruim boven de sticky .header (z-index: 100) hierboven. Zonder deze regel schuift de kaart
   bij het scrollen zichtbaar over de header heen, want .leaflet-container heeft van Leaflet
   zelf al position:relative maar geen eigen z-index, dus die interne panes stapelen gewoon mee
   in dezelfde stacking context als de header. z-index:0 hier sluit ze allemaal daaronder op. */
.leaflet-container {
  z-index: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo { text-decoration: none; font-size: 24px; font-weight: 900; display: flex; align-items: center; opacity: 0; transition: opacity .2s ease; }
.logo-img { height: 200px; width: auto; max-width: 500px; object-fit: contain; object-position: left center; display: block; }
.logo-transport { color: var(--wit); }
.logo-desk { color: var(--oranje); }
.logo-nl { color: var(--wit); opacity: 0.7; font-size: 18px; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover { color: var(--wit); }
.nav .btn-outline {
  color: var(--wit);
  border-color: rgba(255,255,255,0.5);
}
.nav .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--wit); }

/* ===== HERO ===== */
.hero {
  background-color: var(--blauw);
  background-image: linear-gradient(135deg, var(--blauw) 0%, #1e3a8a 60%, #1e3570 100%);
  background-size: cover;
  background-position: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Subtiele overlay — alleen onderaan voor leesbaarheid tekst */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,20,50,0.55) 0%,
    rgba(10,20,50,0.20) 60%,
    rgba(10,20,50,0.05) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
  width: 100%;
}

.hero-content {
  max-width: 660px;
}

/* Golfvorm onderaan */
.hero-golf {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: var(--oranje);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(189,84,13,0.45);
  letter-spacing: 0.2px;
  text-align: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--wit);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-title .accent { color: var(--oranje); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  margin-bottom: 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ===== TWEE WERELDEN ===== */
.twee-werelden {
  padding: 80px 0;
  background: var(--wit);
}

.sectie-titel {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--blauw);
  margin-bottom: 48px;
}

.werelden-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wereld-kaart {
  background: var(--lichtgrijs);
  border: 2px solid var(--grijs);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.wereld-kaart:hover {
  border-color: var(--oranje);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.wereld-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(189,84,13,0.1);
  color: var(--oranje);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wereld-icon svg {
  width: 30px;
  height: 30px;
}

.wereld-kaart h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--blauw);
  margin-bottom: 12px;
}

.wereld-kaart p {
  color: var(--tekst-zacht);
  margin-bottom: 24px;
  line-height: 1.6;
}

.wereld-lijst {
  list-style: none;
  margin-bottom: 32px;
}

.wereld-lijst li {
  padding: 6px 0;
  font-weight: 500;
  color: var(--tekst);
}

.wereld-knoppen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ===== USPS ===== */
.usps {
  background: var(--blauw);
  padding: 72px 0;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.usp { text-align: center; }

.usp-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--oranje);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.usp-icon svg {
  width: 26px;
  height: 26px;
}

.usp h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--wit);
  margin-bottom: 8px;
}

.usp p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===== HOE WERKT HET ===== */
.hoe-werkt-het {
  padding: 80px 0;
  background: var(--lichtgrijs);
}

.stappen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.stap {
  text-align: center;
  padding: 32px 24px;
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stap-nr {
  width: 52px;
  height: 52px;
  background: var(--oranje);
  color: var(--wit);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 16px;
}

.stap h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blauw);
  margin-bottom: 8px;
}

.stap p {
  font-size: 14px;
  color: var(--tekst-zacht);
  line-height: 1.6;
}

/* ===== CTA SECTIE ===== */
.cta-sectie {
  background: linear-gradient(135deg, var(--oranje) 0%, #fb923c 100%);
  padding: 80px 0;
}

.cta-inner { text-align: center; }

.cta-sectie h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--wit);
  margin-bottom: 16px;
}

.cta-sectie p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}

.cta-knoppen {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--blauw);
  padding: 28px 0 20px;
}

.footer-inner { text-align: center; }

.footer-logo {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity .2s ease;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--oranje); color: var(--wit); }
.footer-social svg { width: 18px; height: 18px; }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--wit); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ===== WERKGEVERS LOPENDE BAND ===== */
.hero-acties { display: flex; gap: 16px; flex-wrap: wrap; }

.statistieken-sectie { padding: 48px 0; background: var(--blauw); }
#statistieken-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.statistiek-getal { font-size: 48px; font-weight: 900; color: var(--wit); }
.statistiek-label { color: rgba(255,255,255,0.8); font-size: 15px; margin-top: 4px; }

/* Verkooppraatje "waarom Transportdesk" — gedeeld tussen homepage en prijzenpagina */
.waarom-sectie { padding: 64px 0; background: var(--wit); }
.waarom-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.waarom-badge {
  display: inline-block;
  background: rgba(42,66,112,0.08);
  color: var(--blauw);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.waarom-inner h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 900; color: var(--blauw); margin-bottom: 16px; }
.waarom-inner p { font-size: 16.5px; color: var(--tekst-zacht); line-height: 1.8; }

.extra-blokken-padding { padding: 24px 0; }

.populaire-steden-sectie { padding: 24px 0; background: #f8f9fa; }
.populaire-steden-inner { text-align: center; font-size: 14px; }
.populaire-steden-link, .populaire-steden-link:link, .populaire-steden-link:visited { color: var(--tekst-zacht, #94a3b8); }

.werkgevers-band-sectie {
  background: var(--lichtgrijs, #f8f9fa);
  padding: 40px 0;
  overflow: hidden;
  display: none;
}

.werkgevers-band-titel {
  text-align: center;
  color: var(--tekst-zacht, #6b7280);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.werkgevers-band-track-wrap {
  overflow: hidden;
  width: 100%;
}

.werkgevers-band-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: werkgevers-band-scroll 35s linear infinite;
}

.werkgevers-band-track:hover {
  animation-play-state: paused;
}

.werkgevers-band-logo {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.85;
  flex-shrink: 0;
}

@keyframes werkgevers-band-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.servicegids-band-sectie {
  background: var(--blauw);
  padding: 36px 0;
  overflow: hidden;
  display: none;
}

.servicegids-band-track-wrap {
  overflow: hidden;
  width: 100%;
}

.servicegids-band-titel {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}

.servicegids-band-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: werkgevers-band-scroll 40s linear infinite;
}

.servicegids-band-track:hover {
  animation-play-state: paused;
}

.servicegids-band-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 10px 20px 10px 12px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: white;
}

.servicegids-band-item:hover {
  background: rgba(255,255,255,0.2);
}

.servicegids-band-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.servicegids-band-icoon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.servicegids-band-naam {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.servicegids-band-cat {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

/* ===== HAMBURGER MENU ===== */
.hamburger-knop {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}
.hamburger-knop span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger-knop.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-knop.open span:nth-child(2) { opacity: 0; }
.hamburger-knop.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobiel-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blauw);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 100px 0 40px;
}
.mobiel-menu.open { display: flex; }
.mobiel-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  padding: 18px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobiel-menu a:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.mobiel-menu a:hover { color: var(--oranje); }
.mobiel-menu .mobiel-knoppen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  width: 80%;
}
.mobiel-menu .mobiel-knoppen a {
  font-size: 16px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  text-align: center;
  font-weight: 700;
}
.mobiel-menu .mobiel-knoppen .btn-primary { background: var(--oranje); color: #fff; }
.mobiel-menu .mobiel-knoppen .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .werelden-grid { grid-template-columns: 1fr; }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .stappen-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .hamburger-knop { display: flex; }
  .header { overflow: visible; }
  .logo-img { height: 110px; }
  .hero-title { font-size: clamp(26px, 7vw, 56px); }
  .hero-badge { font-size: 13px; padding: 10px 16px; max-width: 90%; }
  .hero-sub { font-size: 16px; }
  .cta-knoppen { gap: 10px; }
}

@media (max-width: 600px) {
  .usps-grid { grid-template-columns: 1fr; }
  .stappen-grid { grid-template-columns: 1fr; }
  .cta-knoppen { flex-direction: column; align-items: stretch; }
  .cta-knoppen .btn { text-align: center; }
  .hero { padding: 40px 0 60px; min-height: unset; }
  .zoek-sectie h1 { font-size: clamp(22px, 6vw, 36px); }
  .zoek-filters { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== INFO-TOOLTIP (bijv. uitleg rijbewijscategorieën) ===== */
.info-tip-houder {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}
.info-tip-knop {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tekst-zacht);
  padding: 0;
  line-height: 1;
  display: inline-flex;
  vertical-align: middle;
}

.info-tip-knop svg { width: 15px; height: 15px; }
.info-tip-tekst {
  display: none;
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 0;
  width: 280px;
  background: white;
  color: var(--tekst, #333);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border: 1px solid #eee;
}
.info-tip-houder.open .info-tip-tekst {
  display: block;
}

/* ===== COOKIEBANNER ===== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--blauw-dark);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-tekst {
  flex: 1 1 420px;
  color: var(--wit);
  font-size: 14px;
  line-height: 1.6;
}
.cookie-banner-tekst a {
  color: var(--wit);
  text-decoration: underline;
}
.cookie-banner-knoppen {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
#cookie-weigeren.btn-outline {
  color: var(--wit);
  border-color: rgba(255,255,255,0.5);
}
#cookie-weigeren.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--wit);
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-knoppen { justify-content: stretch; }
  .cookie-banner-knoppen .btn { flex: 1; text-align: center; }
}
