/* Prevent layout shift between pages with/without scrollbar */
html { scrollbar-gutter: stable; }

/* Fallback for browsers without scrollbar-gutter */
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

:root {
  /* Brand colors */
  --yellow: #ffd60a;
  --dark: #111827;
  --gray: #4b5563;
  --light: #f9fafb;
  --accent: #0f766e;

  /* UI */
  --card-border: #e5e7eb;
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-hero: 0 20px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--light);
  color: #111827;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =========================
   LAYOUT
   ========================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main { background-color: var(--light); }

.section { padding: 3rem 0; }

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-lead {
  font-size: 1rem;
  max-width: 44rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* =========================
   HEADER & HERO
   ========================= */

.site-header {
  /* Keep the hero image looking identical across pages:
     - fixed zoom based on width (100% auto)
     - fixed crop anchor (top center)
     - taller pages reveal *more* of the image (no extra zoom) */
  background-image:
    linear-gradient(to right, #000000c0, #00000080),
    url("hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-color: #0b1220;

  color: white;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

/* NAV BAR */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px; /* voorkomt dat menu te snel “drukt” */
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== MENU FIX (no jumping underline, long labels stable) ===== */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  flex-wrap: wrap;
}

/* Links must be stable + underline must be predictable */
nav ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;               /* underline spacing */
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;          /* ✅ prevents splitting “Taxi Fare Calculator” */
}

/* Underline (default hidden) */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background-color: var(--yellow);
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* Hover & active show underline */
nav ul li a:hover::after { opacity: 0.6; }
nav ul li a.active::after { opacity: 1; }

/* Language switch: slightly softer */
nav ul li.lang-switch a {
  opacity: 0.9;
  font-size: 0.92rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--yellow);
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background-color: #ffe65e;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: white;
}

.btn-outline:hover { background-color: #111827; }

/* HERO GRID */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text h1 span { color: var(--yellow); }

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.25rem;
  color: #e5e7eb;
}

.hero-phone {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-phone a { color: white; }

.hero-phone-small {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-badges span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  background-color: rgba(15, 23, 42, 0.48);
}

.hero-card {
  background-color: rgba(17, 24, 39, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.hero-card p {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin: 0.75rem 0 1rem;
}

.hero-card-list li { margin-bottom: 0.3rem; }

.hero-card-footnote {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* =========================
   TABLES / LISTS
   ========================= */

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.tariff-table th,
.tariff-table td {
  padding: 0.45rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.tariff-table th {
  font-weight: 600;
  background-color: #f3f4f6;
}

.tariff-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.usp-list {
  list-style: none;
  font-size: 0.95rem;
  color: var(--gray);
}

.usp-list li { margin-bottom: 0.4rem; }

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* =========================
   FAQ – DARK SECTION
   ========================= */

.faq-section {
  max-width: 960px;
  margin: 4rem auto 5rem;
  padding: 2.5rem 1.75rem;
  background: #111111;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #ffd400;
  text-align: left;
}

.faq-intro {
  margin-bottom: 1.75rem;
  color: #f1f1f1;
  line-height: 1.6;
}

.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.9rem 2.5rem 0.9rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

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

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd400;
  transition: transform 0.25s ease, color 0.25s ease;
}

details[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  will-change: max-height, opacity;
}

details[open] .faq-answer {
  max-height: 450px;
  opacity: 1;
}

.faq-answer p {
  margin: 0.35rem 0 0.9rem;
  line-height: 1.7;
  font-size: 0.97rem;
  color: #f1f1f1;
}

.faq-answer a {
  color: #ffd400;
  text-decoration: underline;
}

.faq-answer a:hover { text-decoration: none; }

/* =========================
   FAQ LINK (FUTURE-PROOF)
   Works on white cards AND dark sections without conflicts
   ========================= */

/* Default (light background) */
.faq-link-top {
  display: block;
  max-width: 900px;
  margin: 40px auto 10px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: #111827;
}

.faq-link-top a {
  color: #facc15;
  font-weight: 700;
  text-decoration: underline;
}

.faq-link-top a:hover { color: #eab308; }

/* Dark context (when placed inside the FAQ section) */
.faq-section .faq-link-top {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
}

.faq-section .faq-link-top a {
  color: #ffd400;
}

.faq-section .faq-link-top a:hover {
  color: #ffffff;
}

/* =========================
   CTA STRIP
   ========================= */

.cta-strip {
  background-color: #111827;
  color: #e5e7eb;
  padding: 1.5rem 0;
}

.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-strip h2 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.cta-strip p {
  font-size: 0.95rem;
  color: #e5e7eb;
  max-width: 34rem;
}

.cta-phone {
  color: var(--yellow);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background-color: #030712;
  color: #9ca3af;
  padding: 2rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #e5e7eb;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a { color: #9ca3af; }

.footer-bottom {
  border-top: 1px solid #111827;
  padding-top: 1.2rem;
  margin-top: 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  font-size: 0.875rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-col {
  display: flex;
  align-items: center;
}

.footer-center {
  justify-content: center;
  flex: 1;
  text-align: center;
}

.footer-left { text-align: left; }
.footer-right { text-align: right; }

.footer-right a { margin-left: 0.35rem; }

.footer-credit { font-size: 0.85rem; opacity: 0.85; }
.footer-credit a { margin-left: 4px; font-weight: 500; }
.footer-credit a:hover { opacity: 1; text-decoration: underline; }

/* =========================
   COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 900px;
  width: calc(100% - 2rem);
  background-color: #0b1120;
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.5);
  padding: 1rem 1.25rem;
  z-index: 9999;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-text {
  font-size: 0.9rem;
  max-width: 550px;
}

.cookie-banner-text a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-cookie {
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
}

.cookie-banner-hide {
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* =========================
   FACTS & MYTHS / TAXI WIKI (kept from your file, cleaned)
   ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.badge-feit { background-color: #16a34a; color: #f9fafb; }
.badge-fabel { background-color: #dc2626; color: #f9fafb; }
.badge-weetje { background-color: #facc15; color: #111827; }

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.facts-card {
  position: relative;
  border-radius: 0.9rem;
  background: #020617;
  border: 1px solid rgba(248, 250, 252, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.12s ease, border-color 0.2s ease;
  margin-bottom: 1rem;
}

.facts-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 3px solid #facc15;
  pointer-events: none;
}

.facts-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
  border-color: rgba(250, 204, 21, 0.65);
}

.facts-card[open] { border-color: rgba(250, 204, 21, 0.85); }

.facts-header {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
}

.facts-header::-webkit-details-marker { display: none; }

.facts-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #facc15, 0 0 12px rgba(250, 204, 21, 0.7);
}

.facts-icon-inner { font-size: 1.1rem; line-height: 1; }

.facts-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.facts-toggle {
  font-size: 1.15rem;
  color: #9ca3af;
  transition: transform 0.2s ease, color 0.2s ease;
}

.facts-card[open] .facts-toggle {
  transform: rotate(90deg);
  color: #facc15;
}

.facts-body {
  padding: 0 1.2rem 1rem 1.2rem;
  font-size: 0.9rem;
  color: #d1d5db;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.facts-body p + p { margin-top: 0.5rem; }

.facts-body a {
  color: #facc15;
  text-decoration: underline;
}

/* Taxi Wiki card */
.taxi-wiki-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: 24px;
  padding: 2.2rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(248, 250, 252, 0.05);
}

.taxi-wiki-main h2 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.taxi-wiki-main p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
  color: #e5e7eb;
}

.taxi-wiki-side {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.taxi-wiki-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  width: 100%;
}

.taxi-wiki-pill span:first-child {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 1);
  font-size: 1.1rem;
}

.taxi-wiki-pill span:last-child {
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: normal;
  color: #e5e7eb;
}

.taxi-wiki-cta {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
}

.btn-sm {
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
}

.taxi-wiki-description {
  color: #fff;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 25px;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Mobile nav + general stacking */
@media (max-width: 900px) {
  .nav-bar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .logo {
    justify-content: center;
    text-align: center;
  }

  .nav-bar nav { width: 100%; }

  nav ul {
    justify-content: center;
    gap: 10px 12px;
  }

  nav ul li a {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.1;
    border-radius: 999px;
  }

  /* Lang switch netjes gecentreerd */
  nav ul li.lang-switch {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Stack common 2-col layouts */
  .grid-2,
  .two-col,
  .columns-2 {
    grid-template-columns: 1fr !important;
  }

  .grid-2 { display: grid !important; }
}

/* Small phones */
@media (max-width: 520px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li a {
    width: 100%;
    text-align: center;
  }
}

/* Hero stacks on mobile */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .hero-text { order: 1; }
  .hero-card { order: 2; width: 100%; }
}

/* FAQ mobile */
@media (max-width: 768px) {
  .faq-section {
    margin: 3rem 1rem 4rem;
    padding: 1.75rem 1.25rem;
  }

  .faq-section h2 { font-size: 1.6rem; }

  .faq-question {
    font-size: 0.98rem;
    padding-right: 2.1rem;
  }

  .faq-answer p { font-size: 0.94rem; }

  /* Footer mobile */
  .footer-bottom {
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-left, .footer-center, .footer-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Footer grid on mobile: 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }

  footer { font-size: 12px; }

  .footer-grid a,
  .footer-grid p,
  .footer-grid li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Smaller wiki card */
@media (max-width: 900px) {
  .taxi-wiki-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.4rem 1.2rem;
  }
}

/* Airport headings safety */
@media (max-width: 480px) {
  .airports-card h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    word-break: break-word;
  }
}

.page-hero-text h1 span,
.hero-fulltext h1 span {
  color: var(--yellow);
}

/* Accent color for hero title */
.page-hero-text h1 span,
.hero-fulltext h1 span {
  color: var(--yellow);
}

/* Keep the yellow accent in hero titles */
.page-hero-text h1 span,
.hero-fulltext h1 span {
  color: var(--yellow);
}


/* =========================
   PAGE HERO (Facts & Myths)
   ========================= */
.page-hero {
  padding: 2.75rem 0 2.25rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

/* Text side */
.page-hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.12;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.02em;
}

.page-hero-text .page-subtitle {
  margin: 0.85rem 0 0 0;
  max-width: 62ch;
  color: #e5e7eb;
  opacity: 0.95;
  line-height: 1.6;
}

.page-hero-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Card side */
.page-hero-card {
  width: 100%;
}

/* Mobile / smaller screens: stack */
@media (max-width: 980px) {
  .page-hero {
    padding: 2.25rem 0 2rem;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-card {
    margin-top: 1.25rem;
  }
}

/* Facts & Myths: fix HERO spacing in a clean way */
.page-hero--facts .page-hero-text h1 {
  margin-bottom: 0.75rem;   /* ruimte onder de titel */
}

.page-hero--facts .page-hero-text .page-subtitle {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.page-hero--facts .page-hero-text .hero-cta {
  margin-top: 1.6rem;       /* ruimte tussen tekst en knoppen */
}

/* ✅ This is the key: space between the hero row and the Taxi Wiki block */
.page-hero--facts .page-hero-grid {
  row-gap: 2rem;            /* ruimte tussen knoppen (boven) en Taxi Wiki (onder) */
}

/* Safety: ensure Taxi Wiki card never “sticks” to the row above */
.page-hero--facts .page-hero-card {
  margin-top: 0.5rem;
}

/* Secondary dark button (for white/light backgrounds) */
.btn-dark {
  background-color: #0b1220; /* diep donkerblauw / bijna zwart */
  color: #ffffff;
  border: 2px solid #0b1220;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-dark:hover {
  background-color: #111827; /* iets lichter bij hover */
  border-color: #111827;
  color: #ffffff;
}

/* ==========================================================
   ULTIMATE HERO + FACTS FIX (Paste at very end of style.css)
   - Same hero crop everywhere (NL + EN)
   - Use the "EN homepage" look via consistent zoom
   - Fix Facts/Fabels hero buttons + layout stability
   ========================================================== */

/* 1) One consistent hero crop + consistent zoom everywhere */
:root {
  --hero-zoom: 1.14;          /* tweak: 1.10 - 1.20 (EN homepage vibe) */
  --hero-pos-x: 50%;
  --hero-pos-y: 0%;           /* top */
}

/* Make sure site-header background behaves identical on ALL pages */
.site-header {
  background-repeat: no-repeat !important;
  background-position: var(--hero-pos-x) var(--hero-pos-y) !important;

  /* 🔥 Consistent zoom (NOT cover) = same crop on every page */
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* If some pages set background via shorthand, force it too */
.site-header[style*="background"] {
  background-repeat: no-repeat !important;
  background-position: var(--hero-pos-x) var(--hero-pos-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* 2) Facts/Fabels: keep the 2-column hero stable on desktop */
@media (min-width: 992px) {
  .page-hero--facts .page-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
    gap: 2.2rem !important;
    align-items: start !important;
  }
}

/* 3) Facts/Fabels: fix CTA buttons (no blob, no weird width, correct text) */
.page-hero--facts .cta-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.9rem !important;
  align-items: center !important;
}

.page-hero--facts .cta-buttons .btn {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: 999px !important;
  font-size: 1rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

/* Hard enforce readable button colors inside facts page */
.page-hero--facts .cta-buttons .btn-primary {
  background: var(--yellow) !important;
  color: #000 !important;
}

.page-hero--facts .cta-buttons .btn-outline {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  color: #fff !important;
}

/* 4) Facts/Fabels: keep text/buttons above backgrounds/cards */
.page-hero--facts .page-hero-text,
.page-hero--facts .cta-buttons {
  position: relative !important;
  z-index: 5 !important;
}

/* 5) Mobile: allow a bit more vertical breathing room */
@media (max-width: 768px) {
  :root { --hero-zoom: 1.18; } /* slightly stronger on mobile often looks better */

  .page-hero--facts .page-hero-grid {
    gap: 1.2rem !important;
  }

  .page-hero--facts .cta-buttons .btn {
    width: auto !important;
    padding: 0.8rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================
   HERO CONSISTENCY (NL + EN) — bulletproof override
   ========================================================== */
:root{
  --hero-zoom: 1.14;  /* set 1.10–1.20 (you like EN homepage look) */
  --hero-x: 50%;
  --hero-y: 0%;
}

.site-header,
.hero,
.page-hero,
.header-hero,
.hero-section,
.hero-banner{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* Catch inline background on any of these */
.site-header[style*="background"],
.hero[style*="background"],
.page-hero[style*="background"],
.header-hero[style*="background"],
.hero-section[style*="background"],
.hero-banner[style*="background"],
header[style*="background"]{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* Facts/Fabels + Facts/Myths: make Taxi-Wiki panel wider */
@media (min-width: 992px){
  .page-hero--facts .page-hero-grid{
    grid-template-columns: minmax(0, 1.20fr) minmax(0, 1.30fr) !important;
  }
}

/* ==========================================================
   HERO CONSISTENCY — force same crop/zoom everywhere (NL + EN)
   Includes pseudo-elements (:before) used for hero backgrounds
   ========================================================== */

:root{
  --hero-zoom: 1.14;  /* tweak 1.10–1.20 */
  --hero-x: 50%;
  --hero-y: 0%;
}

/* Background on main hero containers */
.site-header,
.hero,
.page-hero,
.header-hero,
.hero-section,
.hero-banner{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* Background set on pseudo element (common on some pages) */
.site-header::before,
.hero::before,
.page-hero::before,
.header-hero::before,
.hero-section::before,
.hero-banner::before{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* If any page sets background inline, override it too */
.site-header[style*="background"],
.hero[style*="background"],
.page-hero[style*="background"],
header[style*="background"]{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

/* Facts pages: make links clearly visible like NL */
.page-hero--facts a:not(.btn),
.page-hero--facts p a,
.page-hero--facts li a{
  color: var(--yellow) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 500;
}

@media (min-width: 992px){
  .page-hero--facts .page-hero-grid{
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) !important;
    gap: 2.5rem !important;
  }
}

/* ==========================================================
   PATCH: Force SAME hero crop on ALL pages (NL + EN)
   ========================================================== */
:root{
  --hero-zoom: 1.14; /* tweak 1.10–1.20 */
  --hero-x: 50%;
  --hero-y: 0%;
}

/* Force the background rendering on the actual background holder */
.site-header{
  background-repeat: no-repeat !important;
  background-position: var(--hero-x) var(--hero-y) !important;
  /* This removes the "cover zoom changes per page height" issue */
  background-size: calc(100% * var(--hero-zoom)) auto !important;
}

@media (min-width: 992px){
  .page-hero--facts .page-hero-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) !important;
    gap: 2.5rem !important;
    align-items: start !important;
  }

  /* maak de card echt breed */
  .page-hero--facts .page-hero-card{
    width: 100% !important;
    max-width: 640px !important;
  }
}

.page-hero--facts a:not(.btn){
  color: var(--yellow) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

:root {
  /* Brand colors */
  --yellow: #ffd60a;
  --dark: #111827;
  --gray: #4b5563;
  --light: #f9fafb;
  --accent: #0f766e;

  /* UI */
  --card-border: #e5e7eb;
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-hero: 0 20px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;

  /* Mobile appbar */
  --appbar-h: 64px;
  --appbar-bg: rgba(10, 14, 22, 0.40);
  --appbar-bg-scrolled: rgba(10, 14, 22, 0.90);
  --appbar-blur: 14px;

  /* Mobile hero zoom */
  --hero-zoom-mobile: 1.70;     /* tune 1.40–1.70 */
  --hero-pos-x-mobile: 50%;
  --hero-pos-y-mobile: 85%;     /* tune 65–85% */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--light);
  color: #111827;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
main { background-color: var(--light); }
.section { padding: 3rem 0; }
.section h2 { font-size: 1.9rem; margin-bottom: 1.5rem; text-align: left; }
.section-lead { font-size: 1rem; max-width: 44rem; color: var(--gray); margin-bottom: 2rem; }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--gray); }

/* =========================
   HEADER & HERO
   ========================= */

.site-header {
  background-image:
    linear-gradient(to right, #000000c0, #00000080),
    url("hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-color: #0b1220;

  color: white;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

/* Desktop nav baseline (blijft zoals het was) */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}
.logo img { height: 68px; width: auto; }
.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-brand { display: none; }
.hamburger { display: none; }

.main-nav ul{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.main-nav ul li a{
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav ul li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-0.2rem;
  width:100%;
  height:2px;
  background-color: var(--yellow);
  opacity:0;
  transition: opacity 0.18s ease;
}
.main-nav ul li a:hover::after{ opacity: 0.6; }
.main-nav ul li a.active::after{ opacity: 1; }
.main-nav ul li.lang-switch a{ opacity: 0.9; font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--yellow);
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background-color: #ffe65e;
}
.btn-outline {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: white;
}
.btn-outline:hover { background-color: #111827; }

/* HERO GRID */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-text h1 span { color: var(--yellow); }

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.25rem;
  color: #e5e7eb;
}
.hero-phone { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; }
.hero-phone a { color: white; }
.hero-phone-small { font-size: 0.95rem; margin-bottom: 1.5rem; opacity: 0.9; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}
.hero-badges span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  background-color: rgba(15, 23, 42, 0.48);
}
.hero-card {
  background-color: rgba(17, 24, 39, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(8px);
}
.hero-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.hero-card p { font-size: 0.95rem; color: #e5e7eb; margin-bottom: 0.5rem; }
.hero-card-list { list-style: none; font-size: 0.9rem; color: #e5e7eb; margin: 0.75rem 0 1rem; }
.hero-card-list li { margin-bottom: 0.3rem; }
.hero-card-footnote { font-size: 0.8rem; color: #9ca3af; }

/* =========================
   MOBILE APPBAR + OVERLAY MENU + CONSISTENT HERO (ONE BLOCK)
   ========================= */
@media (max-width: 980px){

  /* Fixed appbar: logo (left) | title (center) | hamburger (right) */
  .site-header .nav-bar{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;

    height: var(--appbar-h);
    width: 100%;

    display: grid !important;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;

    padding: 10px 12px !important;
    margin: 0 !important;

    background: var(--appbar-bg);
    backdrop-filter: blur(var(--appbar-blur));
    -webkit-backdrop-filter: blur(var(--appbar-blur));
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }

  body.scrolled .site-header .nav-bar{
    background: var(--appbar-bg-scrolled);
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  }

  /* Left: logo only */
  .site-header .logo{
    min-width: unset !important;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .site-header .logo img{
    height: 40px !important;
    width: auto;
  }
  .site-header .logo .logo-text{
    display: none !important;
  }

  /* Center: title (2 lines) */
  .mobile-brand{
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    font-size: clamp(10px, 3.2vw, 13px);
    line-height: 1.05;
    padding: 0 6px;

    white-space: normal;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* Right: hamburger (stacked lines) */
  .hamburger{
    display: flex;
    flex-direction: column;
    gap: 5px;

    appearance: none;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.20);
    border-radius: 14px;

    width: 54px;
    height: 42px;

    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;
  }
  .hamburger span{
    display: block;
    width: 28px;
    height: 3px;
    background: var(--yellow);
    border-radius: 999px;
    transition: transform .22s ease, opacity .18s ease;
  }
  body.nav-open .hamburger span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2){ opacity: 0; }
  body.nav-open .hamburger span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  /* ✅ CONSISTENT MOBILE HERO BACKGROUND (TOP/SIDES FIXED, BOTTOM CAN GROW)
     - Uses pre-zoomed image: /img/hero-mobile.jpg
     - TOP stays the same; if header grows, more of the bottom becomes visible
  */
  .site-header{
    position: relative;
    min-height: 100svh;               /* stable viewport height on mobile */
    overflow: hidden;

    /* IMPORTANT: don’t use background: shorthand here */
    background-image: url("/img/hero-mobile.jpg") !important;
    background-repeat: no-repeat !important;

    /* KEY BEHAVIOR */
    background-position: top center !important;  /* top fixed */
    background-size: 100% auto !important;       /* sides fixed, height expands naturally */

    /* fallback color if content grows beyond image height */
    background-color: #070b12;
  }

  /* Dark overlay (separate layer so it doesn't reset background settings) */
  .site-header::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.30),
      rgba(0,0,0,0.78)
    );
  }

  .site-header > *{
    position: relative;
    z-index: 1;
  }

  /* ✅ Hero: always stacked */
  .site-header .hero{
    min-height: calc(100svh - var(--appbar-h));
    padding-top: calc(var(--appbar-h) + 18px) !important;
    padding-bottom: 28px;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: start !important;
  }

  .site-header .hero > *{
    width: 100% !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header .hero-card{
    margin-top: 18px;
    width: 100%;
  }

  /* Lock page scroll when menu open */
  body.nav-open{
    overflow: hidden;
    touch-action: none;
  }

  /* Fullscreen overlay menu with blur */
  .site-header .main-nav{
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: calc(var(--appbar-h) + 10px);

    background: rgba(8, 12, 20, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  body.nav-open .site-header .main-nav{
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .main-nav .menu-panel{
    width: min(560px, 92vw);
    max-height: calc(100dvh - var(--appbar-h) - 30px);
    overflow: auto;

    background: rgba(10, 14, 22, 0.40);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 18px 14px;

    box-shadow: 0 22px 50px rgba(0,0,0,0.45);
  }

  .site-header .main-nav ul{
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;

    list-style: none;
    padding: 6px 0;
    margin: 0;
  }

  .site-header .main-nav a{
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
  }

  .site-header .main-nav a.active{
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--yellow);
  }

  .site-header .main-nav .lang-switch a{
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 8px;
  }

  /* Floating call button */
  .call-fab{
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 54px;
    padding: 0 16px;
    border-radius: 999px;

    background: var(--yellow);
    color: #000;
    font-weight: 900;
    text-decoration: none;

    transform: translateY(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  }

  .call-fab::before{
    content: "☎";        /* zwart/monochroom symbool */
    font-size: 20px;
    line-height: 1;
    color: #000;
  }

  body.show-call .call-fab{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* =========================================================
   FINAL DESKTOP NORMALIZATION (CENTER MENU + LEFT LOGO)
   Desktop only: logo left, menu centered, hero aligned
   ========================================================= */
@media (min-width: 901px) {

  /* 0) Desktop: hide mobile-only brand text */
  .mobile-brand { display: none !important; }

  /* 1) Make sure header content stays inside container width */
  .site-header .container {
    position: relative;
  }

  /* 2) Appbar: 3-column grid (logo | centered menu | right spacer/hamburger) */
  .site-header .nav-bar {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    column-gap: 16px !important;

    padding: 18px 0 10px 0 !important;
    position: static !important;
  }

  /* 3) Logo locked left */
  .site-header .logo {
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* 4) Hamburger not needed on desktop (menu is visible) */
  .site-header .hamburger {
    display: none !important;
  }

  /* 5) Desktop menu bar: force it to look/behave as a centered horizontal menu */
  .site-header .main-nav {
    position: static !important;
    display: block !important;

    margin: 0 !important;
    padding: 0 0 18px 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
  }

  /* Remove overlay panel behavior on desktop */
  .site-header .main-nav .menu-panel {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;

    transform: none !important;
  }

  /* Center the <ul> horizontally */
  .site-header .main-nav ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 22px !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* Ensure menu items don't inherit mobile sizing weirdness */
  .site-header .main-nav li { margin: 0 !important; }
  .site-header .main-nav a  { display: inline-block !important; }

  /* 6) Hero/tekstblokken should start below menu and follow normal flow */
  .site-header .hero {
    padding-top: 18px !important;
    margin-top: 0 !important;
  }

  /* 7) Facts/Fabels: any hero side cards must not overlap the menu area */
  .site-header .hero-card,
  .site-header .hero-panel,
  .site-header .facts-panel,
  .site-header .wiki-card,
  .site-header .glass-card {
    z-index: 0 !important;
  }

  /* 8) Safety: prevent any accidental absolute positioning from earlier CSS */
  .site-header .nav-bar,
  .site-header .main-nav {
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

/* =========================================================
   FINAL DESKTOP NORMALIZATION v2.1 (micro-shift killer)
   Keeps v2 behavior, but forces identical container + header spacing
   ========================================================= */
@media (min-width: 901px) {

  /* 1) Force identical container width & padding across all pages */
  .site-header .container {
    max-width: 1200px !important;   /* kies 1200/1240/1280 wat je site nu gebruikt */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* 2) Force identical header spacing so pages can't “push” the top */
  .site-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .site-header .nav-bar {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
    margin: 0 !important;
  }

  .site-header .main-nav {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
    margin: 0 !important;
  }

  /* 3) Normalize menu typography so line-height can't differ per page */
  .site-header .main-nav a {
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* 4) Ensure hero always starts same distance below menu */
  .site-header .hero {
    margin-top: 0 !important;
    padding-top: 18px !important;
  }
}

/* =========================================================
   EN MENU MICRO-SHIFT FIX (desktop)
   Keeps center identical even when label length changes
   ========================================================= */
@media (min-width: 901px) {

  /* Menu bar always uses full available width */
  .site-header .main-nav,
  .site-header .main-nav .menu-panel,
  .site-header .main-nav ul {
    width: 100% !important;
  }

  /* Prevent wrap on desktop (wrap causes tiny reflow/center shift) */
  .site-header .main-nav ul {
    flex-wrap: nowrap !important;
  }

  /* Keep items on one line */
  .site-header .main-nav a {
    white-space: nowrap !important;
  }
}

/* =========================================================
   FACTS PAGES: match hero spacing to the rest (desktop)
   Add to <body>: class="tight-hero"
   ========================================================= */
@media (min-width: 901px) {
  body.tight-hero .site-header .hero {
    padding-top: 18px !important;  /* zelfde als de rest */
    margin-top: 0 !important;
  }

  body.tight-hero .site-header .hero-text {
    margin-top: 0 !important;
  }
}

/* =========================================================
   FINAL FIX: Menu always centered on desktop (no micro shift)
   ========================================================= */
@media (min-width: 901px) {

  /* Center the NAV itself */
  header.site-header nav#mobileMenu.main-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Remove any inner offsets that can push the menu */
  header.site-header nav#mobileMenu.main-nav > .menu-panel {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Center the UL */
  header.site-header nav#mobileMenu.main-nav > .menu-panel > ul {
    display: inline-flex !important;         /* key: inline-flex prevents weird width math */
    justify-content: center !important;
    align-items: center !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    white-space: nowrap !important;          /* prevents tiny reflow shifts */
  }

  /* Ensure links don’t cause different heights */
  header.site-header nav#mobileMenu.main-nav a {
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   FINAL FIX: Facts pages hero spacing = same as others
   ========================================================= */
@media (min-width: 901px) {

  /* If hero contains a right-side info card, tighten spacing */
  .site-header .hero:has(.hero-card),
  .site-header .hero:has(.wiki-card),
  .site-header .hero:has(.glass-card) {
    padding-top: 18px !important;
    margin-top: 0 !important;
  }

  /* Extra safety: some pages add margin on hero-text */
  .site-header .hero:has(.hero-card) .hero-text,
  .site-header .hero:has(.wiki-card) .hero-text,
  .site-header .hero:has(.glass-card) .hero-text {
    margin-top: 0 !important;
  }
}

/* =========================================================
   FINAL: Kill EN micro menu shift (desktop)
   Centers the menu as a fixed-width block
   ========================================================= */
@media (min-width: 901px) {

  /* Center nav contents */
  header.site-header nav#mobileMenu.main-nav {
    display: flex !important;
    justify-content: center !important;
  }

  /* Make panel neutral */
  header.site-header nav#mobileMenu.main-nav > .menu-panel {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* UL becomes fixed-width block (no more tiny shift) */
  header.site-header nav#mobileMenu.main-nav > .menu-panel > ul {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 22px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  header.site-header nav#mobileMenu.main-nav a {
    white-space: nowrap !important;
  }
}

/* =========================================================
   FINAL: Facts pages tighten space under menu (desktop)
   ========================================================= */
@media (min-width: 901px) {

  /* Facts pages have a right-side wiki/glass card */
  .site-header .hero:has(.wiki-card),
  .site-header .hero:has(.glass-card),
  .site-header .hero:has(.hero-card) {
    padding-top: 8px !important;   /* was 18px -> iets strakker */
    margin-top: 0 !important;
  }

  /* Also remove any accidental extra margin on hero text */
  .site-header .hero:has(.wiki-card) .hero-text,
  .site-header .hero:has(.glass-card) .hero-text,
  .site-header .hero:has(.hero-card) .hero-text {
    margin-top: 0 !important;
  }
}

/* =========================================================
   FINAL FIX: Desktop menu centering - structure-proof
   Works whether .menu-panel exists or not
   ========================================================= */
@media (min-width: 901px) {

  /* nav always centers its first content block */
  header.site-header nav#mobileMenu.main-nav{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* If menu-panel exists: make it neutral */
  header.site-header nav#mobileMenu.main-nav .menu-panel{
    position: static !important;
    inset: auto !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  /* UL: center as fixed-width block (no micro-shifts) */
  header.site-header nav#mobileMenu.main-nav ul{
    display: inline-flex !important;   /* key */
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 22px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* Avoid line breaks in menu items */
  header.site-header nav#mobileMenu.main-nav a{
    white-space: nowrap !important;
  }
}

/* =========================================================
   FINAL DESKTOP NORMALIZATION v3 (no active-width shift + equal spacing)
   Plak HELEMAAL onderaan style.css
   ========================================================= */
@media (min-width: 901px) {

  /* 1) Container altijd exact gelijk op elke pagina */
  .site-header .container{
    width: min(1200px, 100%) !important;
    margin-inline: auto !important;
    padding-inline: 24px !important;
    box-sizing: border-box !important;
  }

  /* 2) Menu-items niet laten “groeien” door active/bold */
  .site-header .main-nav a{
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    position: relative !important;
  }
  .site-header .main-nav a.active{
    font-weight: 500 !important; /* <- dus NIET bold */
  }

  /* underline zonder layout shift (geen border/padding changes) */
  .site-header .main-nav a.active::after{
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -10px !important;
    height: 3px !important;
    background: var(--yellow) !important;
    border-radius: 999px !important;
  }

  /* 3) Facts-myths extra ruimte fix: hero spacing hard normaliseren */
  .site-header .hero{
    margin-top: 0 !important;
    padding-top: 18px !important; /* zelfde op elke pagina */
  }
}
