/* =========================
   Taxi Zwart - Template CSS
   Joomla 5
   Clean + consolidated (menu fix v2)
   ========================= */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.tz-body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #eaf2ff;
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(25,80,160,.45), transparent 55%),
    radial-gradient(1000px 700px at 80% 10%, rgba(0,160,200,.20), transparent 55%),
    #05070d;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .96; }

/* ---------- Layout container ---------- */
.tz-container{
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}
@media (max-width: 720px){
  .tz-container{ width: calc(100% - 28px); }
}

/* =========================
   Header + Menu
   ========================= */

.tz-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 8, 16, .62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 180, 255, .12);
}

.tz-header__inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

/* Menu always to the right */
.tz-nav{ margin-left: auto; }

/* Reset lists inside nav (prevents bullets/indent) */
.tz-nav ul,
.tz-nav ol{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- Joomla 5 MetisMenu duplicate rendering fix (your actual DOM) ----
   Your DOM currently shows:
     nav.tz-nav
       ul.mod-menu...
         li.metismenu-item (item-101)
           ul.nav-mm-collapse  -> contains Home + Bedrijfsgegevens
         li.metismenu-item (item-102)
           ul.nav-mm-collapse  -> contains the SAME links again

   So the duplicate is at the *metismenu-item* level.
   We keep only the FIRST metismenu-item and hide the rest.
*/
.tz-nav > ul.mod-menu > li.metismenu-item:not(:first-child){
  display: none !important;
}

/* Make sure the remaining nested UL is the visible menu row */
.tz-nav ul.nav-mm-collapse{
  display: flex !important;
  align-items: center;
  gap: 14px;
}

/* Pill styling for links in nav */
.tz-nav ul.nav-mm-collapse a{
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 750;
  color: rgba(234, 242, 255, .95);
  background: rgba(20, 40, 70, .32);
  border: 1px solid rgba(120, 180, 255, .16);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.tz-nav ul.nav-mm-collapse a:hover{
  background: rgba(35, 80, 140, .32);
  border-color: rgba(160, 220, 255, .26);
}

.tz-nav ul.nav-mm-collapse li.active > a,
.tz-nav ul.nav-mm-collapse a[aria-current="page"]{
  background: rgba(50, 120, 210, .32);
  border-color: rgba(190, 235, 255, .30);
}

/* =========================
   Buttons
   ========================= */

.tz-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 16px;
  font-weight: 850;
  color: rgba(234, 242, 255, .98);
  background: rgba(8, 18, 36, .55);
  border: 1px solid rgba(120, 180, 255, .18);
  box-shadow: 0 16px 36px rgba(0,0,0,.36);
}
.tz-btn:hover{
  background: rgba(35, 80, 140, .30);
  border-color: rgba(170, 225, 255, .30);
}
.tz-btn--primary{
  background: rgba(28, 98, 210, .36);
  border-color: rgba(190, 235, 255, .30);
}
.tz-btn--primary:hover{
  background: rgba(40, 140, 240, .34);
}

/* =========================
   HERO (Cassiopeia-like)
   ========================= */

.tz-hero{ padding: 26px 0 10px; }

/* Max width like before */
.tz-hero__wrap{
  width: min(1325px, calc(100% - 56px));
  margin-inline: auto;
}
@media (max-width: 720px){
  .tz-hero__wrap{ width: calc(100% - 28px); }
}

.tz-hero__inner{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(120, 180, 255, .14);
  background:
    radial-gradient(1000px 700px at 20% 20%, rgba(60,130,255,.22), transparent 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(0,255,220,.10), transparent 55%),
    rgba(8, 16, 32, .72);
  box-shadow: 0 46px 120px rgba(0,0,0,.58);
  padding: 34px;
  min-height: 780px;
  padding-bottom: 220px;
}

@media (max-width: 980px){
  .tz-hero__inner{
    padding: 24px;
    min-height: 820px;
    padding-bottom: 260px;
  }
}

/* Background glow layer (animated subtly) */
.tz-hero__inner::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 520px at 18% 40%, rgba(0,0,0,.58), transparent 60%),
    radial-gradient(900px 520px at 70% 20%, rgba(0,0,0,.35), transparent 60%),
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 30%, rgba(255,255,255,.04));
  opacity: .9;
  pointer-events:none;
  z-index: 1;
}

@keyframes tz-float {
  0%   { transform: translate3d(0,0,0) scale(1.02); }
  50%  { transform: translate3d(-14px, 8px, 0) scale(1.04); }
  100% { transform: translate3d(0,0,0) scale(1.02); }
}
.tz-hero__inner::before{
  animation: tz-float 18s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .tz-hero__inner::before{ animation: none; }
}

/* Hero image layer (your auto background / composite) */
.tz-hero__carblend{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background-image: url("/nieuwesite/images/auto/auto.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% 55%;

  opacity: 1;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.58));
}

@keyframes tz-hero-pan {
  0%   { background-position: 70% 55%; transform: translate3d(0,0,0) scale(1); }
  50%  { background-position: 73% 53%; transform: translate3d(-6px, 3px, 0) scale(1.01); }
  100% { background-position: 70% 55%; transform: translate3d(0,0,0) scale(1); }
}
.tz-hero__carblend{
  animation: tz-hero-pan 18s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .tz-hero__carblend{ animation: none; }
}

/* Logo overlay sits between content and car */
.hero-logo-wrap{
  position:absolute;
  left: 18%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: .18;
  filter: saturate(1.05) contrast(1.05);
  pointer-events:none;
}
.hero-logo{
  width: min(520px, 42vw);
  height: auto;
  display:block;
}

/* Content */
.tz-hero__content{
  position: relative;
  z-index: 6;
  max-width: 560px;
  padding-top: 16px;
}
.tz-hero__content h1{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: clamp(36px, 4.2vw, 56px);
  text-shadow: 0 16px 40px rgba(0,0,0,.65);
}
.tz-hero__content p{
  margin: 0 0 18px;
  max-width: 46ch;
  opacity: .90;
  line-height: 1.5;
  text-shadow: 0 16px 40px rgba(0,0,0,.65);
}
.tz-hero__buttons{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Feature cards pinned to the bottom */
.tz-hero__features{
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  z-index: 6;
}

@media (max-width: 980px){
  .tz-hero__features{
    left: 18px;
    right: 18px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }
}

.tz-feature{
  display:flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(6, 14, 28, .62);
  border: 1px solid rgba(120, 180, 255, .14);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
}
.tz-feature__icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(40, 110, 255, .18);
  border: 1px solid rgba(120, 180, 255, .16);
  flex: 0 0 auto;
}
.tz-feature__title{
  font-weight: 900;
  font-size: 15px;
}
.tz-feature__desc{
  margin-top: 4px;
  opacity: .86;
  font-size: 13px;
  line-height: 1.35;
}

/* =========================
   Main layout
   ========================= */

.tz-main{ padding: 22px 0 64px; }

.tz-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .tz-grid{ grid-template-columns: 1fr; }
}

.tz-content,
.tz-sidebar{
  border-radius: 24px;
  border: 1px solid rgba(120, 180, 255, .12);
  background: rgba(6, 14, 28, .56);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.tz-content{
  padding: 28px;
  min-height: 420px;
}
.tz-sidebar{ padding: 18px; }

.tz-content p{
  line-height: 1.55;
  color: rgba(234, 242, 255, .88);
}

/* =========================
   Footer
   ========================= */

.tz-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(120, 180, 255, .10);
  background: rgba(4, 8, 16, .55);
  backdrop-filter: blur(10px);
}
.tz-footer__copy{
  margin-top: 10px;
  opacity: .75;
  font-size: 14px;
}

/* =========================
   Fancy menu pills
   ========================= */

/* Zet het menu weer netjes op een rij */
.tz-nav ul.nav-mm-collapse{
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
}

/* De pills */
.tz-nav ul.nav-mm-collapse a{
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;

  color: rgba(234, 242, 255, .95);
  background: linear-gradient(180deg, rgba(34, 78, 135, .40), rgba(12, 26, 52, .55));
  border: 1px solid rgba(155, 210, 255, .22);

  box-shadow:
    0 10px 26px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.12);

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

/* Glow highlight randje */
.tz-nav ul.nav-mm-collapse a::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(120px 70px at 30% 20%, rgba(110, 220, 255, .35), transparent 60%);
  opacity: .0;
  filter: blur(6px);
  transition: opacity .18s ease;
  pointer-events: none;
}

/* Hover effect */
.tz-nav ul.nav-mm-collapse a:hover{
  transform: translateY(-1px);
  border-color: rgba(190, 235, 255, .34);
  background: linear-gradient(180deg, rgba(55, 140, 255, .35), rgba(12, 26, 52, .52));
  box-shadow:
    0 14px 34px rgba(0,0,0,.42),
    0 0 0 1px rgba(90, 190, 255, .10),
    inset 0 1px 0 rgba(255,255,255,.14);
}
.tz-nav ul.nav-mm-collapse a:hover::before{ opacity: 1; }

/* Actieve pagina */
.tz-nav ul.nav-mm-collapse li.active > a,
.tz-nav ul.nav-mm-collapse a[aria-current="page"]{
  background: linear-gradient(180deg, rgba(80, 165, 255, .45), rgba(18, 40, 72, .60));
  border-color: rgba(210, 245, 255, .40);
  box-shadow:
    0 18px 44px rgba(0,0,0,.48),
    0 0 26px rgba(70, 180, 255, .18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

/* Focus (toetsenbord) */
.tz-nav ul.nav-mm-collapse a:focus-visible{
  outline: none;
  box-shadow:
    0 18px 44px rgba(0,0,0,.48),
    0 0 0 3px rgba(120, 210, 255, .22),
    inset 0 1px 0 rgba(255,255,255,.16);
}

/* Mobile stack: mooi onder elkaar met wat lucht */
@media (max-width: 720px){
  .tz-nav ul.nav-mm-collapse{
    gap: 10px !important;
  }
  .tz-nav ul.nav-mm-collapse a{
    padding: 10px 16px;
  }
}

/* =========================
   Fancy menu pills (FORCED)
   + Shine sweep
   ========================= */

.tz-nav ul,
.tz-nav ol{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tz-nav ul.nav-mm-collapse{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Pills */
.tz-nav ul.nav-mm-collapse a{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 11px 18px !important;
  border-radius: 999px !important;

  font-weight: 850 !important;
  letter-spacing: .2px !important;

  color: rgba(234, 242, 255, .95) !important;

  background: linear-gradient(180deg, rgba(34, 78, 135, .40), rgba(12, 26, 52, .55)) !important;
  border: 1px solid rgba(155, 210, 255, .22) !important;

  box-shadow:
    0 10px 26px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.12) !important;

  text-decoration: none !important;
  overflow: hidden !important;

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

/* Soft outer glow on hover */
.tz-nav ul.nav-mm-collapse a::before{
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: inherit !important;
  background: radial-gradient(120px 70px at 30% 20%, rgba(110, 220, 255, .35), transparent 60%) !important;
  opacity: 0 !important;
  filter: blur(6px) !important;
  transition: opacity .18s ease !important;
  pointer-events: none !important;
}

/* Shine sweep layer */
.tz-nav ul.nav-mm-collapse a::after{
  content: "" !important;
  position: absolute !important;
  top: -35% !important;
  left: -60% !important;
  width: 55% !important;
  height: 170% !important;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.18) 35%,
    rgba(255,255,255,.05) 50%,
    transparent 70%
  ) !important;

  transform: skewX(-18deg) translateX(0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hover */
.tz-nav ul.nav-mm-collapse a:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(190, 235, 255, .34) !important;
  background: linear-gradient(180deg, rgba(55, 140, 255, .35), rgba(12, 26, 52, .52)) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.42),
    0 0 0 1px rgba(90, 190, 255, .10),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.tz-nav ul.nav-mm-collapse a:hover::before{
  opacity: 1 !important;
}

/* Shine animation on hover */
@keyframes tz-shine{
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: .75; }
  55%  { opacity: .45; }
  100% { left: 130%; opacity: 0; }
}

.tz-nav ul.nav-mm-collapse a:hover::after{
  opacity: 1 !important;
  animation: tz-shine 1.05s ease-in-out forwards !important;
}

/* Active page - always looks "selected" */
.tz-nav ul.nav-mm-collapse li.active > a,
.tz-nav ul.nav-mm-collapse a[aria-current="page"]{
  background: linear-gradient(180deg, rgba(80, 165, 255, .45), rgba(18, 40, 72, .60)) !important;
  border-color: rgba(210, 245, 255, .40) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.48),
    0 0 26px rgba(70, 180, 255, .18),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Optional: subtle periodic shine on active item */
@keyframes tz-shine-loop{
  0%   { left: -60%; opacity: 0; }
  8%   { opacity: .55; }
  28%  { opacity: .20; }
  40%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}
.tz-nav ul.nav-mm-collapse li.active > a::after,
.tz-nav ul.nav-mm-collapse a[aria-current="page"]::after{
  opacity: 1 !important;
  animation: tz-shine-loop 4.6s ease-in-out infinite !important;
}

/* Focus */
.tz-nav ul.nav-mm-collapse a:focus-visible{
  outline: none !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.48),
    0 0 0 3px rgba(120, 210, 255, .22),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Mobile tweak */
@media (max-width: 720px){
  .tz-nav ul.nav-mm-collapse{
    gap: 10px !important;
  }
  .tz-nav ul.nav-mm-collapse a{
    padding: 10px 16px !important;
  }
}


/* =========================
   NAV: FORCE pill buttons + shine
   Targets ALL anchors inside tz-nav
   ========================= */

.tz-nav,
.tz-nav * { box-sizing: border-box !important; }

.tz-nav ul,
.tz-nav ol{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Zet elke UL in de nav horizontaal (werkt ook als nav-mm-collapse ontbreekt) */
.tz-nav ul{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Pill buttons: ALLE links in tz-nav */
.tz-nav a{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 11px 18px !important;
  border-radius: 999px !important;

  font-weight: 850 !important;
  letter-spacing: .2px !important;

  color: rgba(234,242,255,.95) !important;
  text-decoration: none !important;

  background: linear-gradient(180deg, rgba(34,78,135,.42), rgba(12,26,52,.58)) !important;
  border: 1px solid rgba(155,210,255,.22) !important;

  box-shadow:
    0 10px 26px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.12) !important;

  overflow: hidden !important;

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease !important;
}

/* Glow */
.tz-nav a::before{
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: inherit !important;
  background: radial-gradient(120px 70px at 30% 20%, rgba(110,220,255,.35), transparent 60%) !important;
  opacity: 0 !important;
  filter: blur(6px) !important;
  transition: opacity .18s ease !important;
  pointer-events: none !important;
}

/* Shine sweep */
.tz-nav a::after{
  content: "" !important;
  position: absolute !important;
  top: -35% !important;
  left: -60% !important;
  width: 55% !important;
  height: 170% !important;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.18) 35%,
    rgba(255,255,255,.05) 50%,
    transparent 70%
  ) !important;
  transform: skewX(-18deg) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tz-nav a:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(190,235,255,.34) !important;
  background: linear-gradient(180deg, rgba(55,140,255,.36), rgba(12,26,52,.55)) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.42),
    0 0 0 1px rgba(90,190,255,.10),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}
.tz-nav a:hover::before{ opacity: 1 !important; }

@keyframes tz-shine{
  0%   { left: -60%; opacity: 0; }
  12%  { opacity: .75; }
  55%  { opacity: .35; }
  100% { left: 130%; opacity: 0; }
}
.tz-nav a:hover::after{
  opacity: 1 !important;
  animation: tz-shine 1.05s ease-in-out forwards !important;
}

/* Active */
.tz-nav li.active > a,
.tz-nav a[aria-current="page"]{
  background: linear-gradient(180deg, rgba(80,165,255,.48), rgba(18,40,72,.62)) !important;
  border-color: rgba(210,245,255,.42) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.48),
    0 0 26px rgba(70,180,255,.18),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Mobile */
@media (max-width: 720px){
  .tz-nav ul{ gap: 10px !important; }
  .tz-nav a{ padding: 10px 16px !important; }
}

/* =========================
   Subtle auto-shine on active menu item
   ========================= */

@keyframes tz-shine-loop {
  0%   { left: -60%; opacity: 0; }
  8%   { opacity: .6; }
  22%  { opacity: .25; }
  40%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* Alleen op actieve pagina */
.tz-nav li.active > a::after,
.tz-nav a[aria-current="page"]::after{
  opacity: 1 !important;
  animation: tz-shine-loop 4.8s ease-in-out infinite !important;
}

/* =========================
   Global background refinement
   Lighter, more premium feel
   ========================= */

body.tz-body{
  background:
    radial-gradient(1400px 900px at 20% -10%, rgba(40,90,160,.55), transparent 60%),
    radial-gradient(1200px 800px at 80% 10%, rgba(0,170,200,.22), transparent 55%),
    linear-gradient(
      to bottom,
      #05070d 0%,
      #070b14 18%,
      #0b1220 38%,
      #101a2b 65%,
      #142036 100%
    );
}
/* =========================
   Content blocks refinement
   ========================= */

.tz-content,
.tz-sidebar{
  background: rgba(12, 22, 40, .62) !important;
  border: 1px solid rgba(140, 190, 255, .16) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}


/* =========================
   Footer lighter & premium
   ========================= */

.tz-footer{
  background:
    linear-gradient(
      to bottom,
      rgba(12,20,36,.75),
      rgba(18,30,52,.85)
    ) !important;
  border-top: 1px solid rgba(160,210,255,.18) !important;
}


/* Binnenpagina’s: hero compact zodat content direct zichtbaar is */
body.tz-body:not(.is-home) .tz-hero__inner{
  min-height: 450px !important;
  padding-bottom: 28px !important;
  padding-top: 22px !important;
}

/* Features uit op binnenpagina’s (die trekken ‘m juist hoog) */
body.tz-body:not(.is-home) .tz-hero__features{
  display: none !important;
}

/* Auto/achtergrond subtieler op binnenpagina’s */
body.tz-body:not(.is-home) .tz-hero__carblend{
  opacity: .90 !important;
  filter: none !important;
  background-position: 75% 50% !important;
}

/* Logo ook wat kleiner/lichter */
body.tz-body:not(.is-home) .hero-logo-wrap{
  opacity: .20 !important;
  top: 52% !important;
  left: 75% !important;
}

/* AFBEELDINGEN PER PAGINA */
/* AFBEELDINGEN PER PAGINA */
/* AFBEELDINGEN PER PAGINA */

/* =====================================================
   AFBEELDINGEN PER PAGINA – HERO
   Alleen beeld & beweging, geen layout
   ===================================================== */

/* ---------- DEFAULT (fallback) ---------- */
.tz-hero__carblend{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 50%;
  will-change: transform;
}

/* ---------- HOME ---------- */
body.hero-home .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/home.jpg");
  background-position: center 50%;
}

/* ---------- BEDRIJF ---------- */
body.tz-body.hero-bedrijf:not(.is-home) .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/bedrijf.jpg") !important;
  background-size: cover !important;
  background-position: center 35% !important; /* meer bovenkant */
  animation: none !important;               /* als je pan/float niet wilt */
}


/* ---------- Solliciteren ---------- */
body.tz-body.hero-solliciteren:not(.is-home) .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/solliciteren.jpg") !important;
  background-size: cover !important;
  background-position: center 0% !important; /* meer bovenkant */
  animation: none !important;               /* als je pan/float niet wilt */
}



/* ---------- SCHIPHOL ---------- */
body.hero-schiphol .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/schiphol.jpg");
  background-position: center 40%;
}



/* ---------- ROLSTOELVERVOER ---------- */
body.hero-rolstoel .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/rolstoel.jpg") !important;

  /* focus iets hoger voor bus + rolstoel */
  background-position: center 10% !important;

  /* eigen animatie */
  animation: hero-rolstoel-float 18s ease-in-out infinite !important;
}

/* zachte verticale beweging */
@keyframes hero-rolstoel-float{
  0%{
    transform: translate3d(0,12px,0) scale(1.02);
  }
  50%{
    transform: translate3d(0,90px,0) scale(1.02);
  }
  100%{
    transform: translate3d(0,12px,0) scale(1.02);
  }
}

body.hero-rolstoel .tz-hero__carblend::before{
  content: "";
  position: absolute;

  /* meer ruimte boven dan onder */
  top: -170px;
  left: 0;
  right: 0;
  bottom: -40px;

  background: url("/nieuwesite/images/hero/rolstoel.jpg") center 10% / cover no-repeat;
  animation: hero-rolstoel-float 20s ease-in-out infinite;
  will-change: transform;
}



/* ---------- TK-KEUR ----------- */
body.hero-txkeur .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/txkeur.jpg");
  background-position: center 50%;
}

/* ---------- ZIEKENVERVOER ---------- */
body.hero-ziekenvervoer .tz-hero__carblend{
  background-image: url("/nieuwesite/images/hero/ziekenvervoer.jpg");
  background-position: center 40%;
}

/* --- Font Awesome emergency fix (overrides aggressive resets) --- */
.tz-body .fa,
.tz-body [class^="fa-"],
.tz-body [class*=" fa-"]{
  font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
  font-weight: var(--fa-style, 900) !important;
  display: inline-block !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Brands gebruiken een andere family */
.tz-body .fa-brands{
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Zorg dat ze zichtbaar zijn qua kleur */
.tz-feature__icon i,
.tz-btn i{
  color: rgba(234,242,255,.95) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Geef de iconen een fatsoenlijke maat */
.tz-feature__icon i{ font-size: 18px !important; }
.tz-btn i{ font-size: 18px !important; margin-right: 8px !important; }


/* =========================
   Font Awesome icons via CSS
   (works even if editor strips <i>/<span>)
   ========================= */

/* Zorg dat de icon containers geen rare whitespace tonen */
.tz-feature__icon{
  position: relative;
  display: grid;
  place-items: center;
}
.tz-feature__icon::before{
  font: var(--fa-font-solid);
  font-size: 18px;
  line-height: 1;
  color: rgba(234,242,255,.95);
  content: "";
}

/* Schiphol (plane) */
.tz-hero__features a.tz-feature[href*="/diensten/schiphol"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/schiphol"] .tz-feature__icon::before{
  content: "\f072"; /* fa-plane */
}

/* Zorgvervoer (hand-holding-heart) */
.tz-hero__features a.tz-feature[href*="/diensten/zorgvervoer"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/zorgvervoer"] .tz-feature__icon::before{
  content: "\f4c4"; /* fa-hand-holding-heart */
}

/* Rolstoelvervoer (wheelchair) */
.tz-hero__features a.tz-feature[href*="/diensten/rolstoelvervoer"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/rolstoelvervoer"] .tz-feature__icon::before{
  content: "\f193"; /* fa-wheelchair */
}

/* WhatsApp icoon vóór de tekst in de button */
.tz-hero__buttons a.tz-btn[href*="wa.me"]{
  position: relative;
}
.tz-hero__buttons a.tz-btn[href*="wa.me"]::before{
  content: "\f232"; /* fa-whatsapp */
  font: var(--fa-font-brands);
  font-size: 18px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -2px;
  color: rgba(234,242,255,.95);
}

.tz-feature__icon span,
.tz-btn span{
  display: inline-block;
  line-height: 1;
}
.tz-feature__icon span{ font-size: 18px; }
.tz-btn span{ font-size: 18px; margin-right: 8px; }

/* --- Font Awesome emergency fix (overrides aggressive resets) --- */
.tz-body .fa,
.tz-body [class^="fa-"],
.tz-body [class*=" fa-"]{
  font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
  font-weight: var(--fa-style, 900) !important;
  display: inline-block !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Brands gebruiken een andere family */
.tz-body .fa-brands{
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Zorg dat ze zichtbaar zijn qua kleur */
.tz-feature__icon i,
.tz-btn i{
  color: rgba(234,242,255,.95) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Geef de iconen een fatsoenlijke maat */
.tz-feature__icon i{ font-size: 18px !important; }
.tz-btn i{ font-size: 18px !important; margin-right: 8px !important; }


/* =========================
   Font Awesome icons via CSS
   (works even if editor strips <i>/<span>)
   ========================= */

/* Zorg dat de icon containers geen rare whitespace tonen */
.tz-feature__icon{
  position: relative;
  display: grid;
  place-items: center;
}
.tz-feature__icon::before{
  font: var(--fa-font-solid);
  font-size: 18px;
  line-height: 1;
  color: rgba(234,242,255,.95);
  content: "";
}

/* Schiphol (plane) */
.tz-hero__features a.tz-feature[href*="/diensten/schiphol"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/schiphol"] .tz-feature__icon::before{
  content: "\f072"; /* fa-plane */
}

/* Zorgvervoer (hand-holding-heart) */
.tz-hero__features a.tz-feature[href*="/diensten/zorgvervoer"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/zorgvervoer"] .tz-feature__icon::before{
  content: "\f0f8"; /* fa-hand-holding-heart */
}

/* Rolstoelvervoer (wheelchair) */
.tz-hero__features a.tz-feature[href*="/diensten/rolstoelvervoer"] .tz-feature__icon::before,
.tz-hero__features a.tz-feature[href*="diensten/rolstoelvervoer"] .tz-feature__icon::before{
  content: "\f193"; /* fa-wheelchair */
}

/* WhatsApp icoon vóór de tekst in de button */
.tz-hero__buttons a.tz-btn[href*="wa.me"]{
  position: relative;
}
.tz-hero__buttons a.tz-btn[href*="wa.me"]::before{
  content: "\f232"; /* fa-whatsapp */
  font: var(--fa-font-brands);
  font-size: 18px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -2px;
  color: rgba(234,242,255,.95);
}

/* Icon netjes exact in het midden van het vakje */
.tz-feature__icon{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.tz-feature__icon::before{
  display: block !important;
  line-height: 1 !important;
  margin: 0 !important;
  transform: translateY(0) !important;
}

/* Als het icoon door font-metrics nog nét niet perfect oogt:
   zet hier heel subtiel een nudge aan/uit. */
.tz-feature__icon::before{
  transform: translateY(0px) !important;  /* probeer 0px of 1px of -1px */
}
/* Optische horizontale correctie iconen */
.tz-feature__icon::before{
  transform: translate(2px, 1px) !important;
}
/* Telefoon icoon bij Bel direct */
.tz-hero__buttons a.tz-btn[href^="tel:"]{
  position: relative;
}

.tz-hero__buttons a.tz-btn[href^="tel:"]::before{
  content: "\f095"; /* fa-phone */
  font: var(--fa-font-solid);
  font-size: 18px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -2px;
  color: rgba(234,242,255,.95);
}
.tz-btn[href^="tel:"]::before{
  color: #9fd0ff;
  filter: drop-shadow(0 0 4px rgba(80,160,255,.6));
}
.tz-hero__note{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(234,242,255,.7);
  letter-spacing: .2px;
}
/* Buttons in hero netjes stapelen */
.tz-hero__buttons{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start; /* knoppen links uitlijnen */
  gap: 8px;
}

/* Knoppen zelf naast elkaar houden */
.tz-hero__buttons > a{
  display: inline-flex;
}

/* WhatsApp uitlegtekst – exact één keer */
.tz-hero__buttons::after{
  content: "WhatsApp is alleen voor berichten";
  margin-top: 6px;
  font-size: 13px;
  color: rgba(234,242,255,.7);
  letter-spacing: .2px;
  display: block;
}

/* Verberg eventuele handmatig geplaatste WhatsApp-tekst */
.tz-hero__buttons .tz-hero__note{
  display: none !important;
}

.footer-area-links{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
}
.footer-area-links a{
  font-size: 13px;
  opacity: .85;
}
.footer-area-links a:hover{
  opacity: 1;
}
/* =========================
   Footer layout
   ========================= */

.tz-footer .tz-container{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* Tablet */
@media (max-width: 1024px){
  .tz-footer .tz-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px){
  .tz-footer .tz-container{
    grid-template-columns: 1fr;
  }
}


.footer-area p{
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  margin-bottom: 10px;
}

.footer-area-mainlink{
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-area-links{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.footer-area-links a{
  font-size: 13px;
  opacity: .8;
}

.footer-area-links a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Alleen de hint onder de adreszoeker wit maken */
.adreszoeker-hint{
  color: #fff !important;
}

.formContainer .formValidation,
.formContainer .text-danger{
  color: #fff !important;
}

/* =========================
   Grid fix: geen sidebar = volle breedte
   ========================= */

/* Default: 2 kolommen */
.tz-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

/* Als er géén sidebar is → 1 kolom */
.tz-grid:not(:has(.tz-sidebar)){
  grid-template-columns: 1fr;
}

/* =========================
   MOBIEL MENU - VAN LINKS INSCHUIVEND
   ========================= */

/* Hamburger menu knop (alleen op mobiel) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: rgba(234, 242, 255, 0.95);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger transformeert naar X wanneer actief */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Donkere overlay achter het menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* =========================
   RESPONSIVE BREAKPOINT
   ========================= */

@media (max-width: 768px) {
  
  /* Toon hamburger knop */
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  /* Verstop de dubbele metismenu items (behoud je fix) */
  .tz-nav > ul.mod-menu > li.metismenu-item:not(:first-child) {
    display: none !important;
  }
  
  /* Navigatie wordt een sidebar van links */
  .tz-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    margin-left: 0 !important;
    
    background: linear-gradient(
      180deg,
      rgba(12, 26, 52, 0.98),
      rgba(8, 16, 32, 0.98)
    ) !important;
    
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(120, 180, 255, 0.2) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5) !important;
    
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
    
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
  }
  
  /* Menu actief = inschuiven van links */
  .tz-nav.active {
    left: 0 !important;
  }
  
  /* Menu items verticaal stapelen */
  .tz-nav ul.nav-mm-collapse {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  
  /* Volle breedte knoppen in mobiel menu */
  .tz-nav ul.nav-mm-collapse a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  
  /* Actieve item meer opvallend in mobiel menu */
  .tz-nav ul.nav-mm-collapse li.active > a,
  .tz-nav ul.nav-mm-collapse a[aria-current="page"] {
    background: linear-gradient(180deg, rgba(80, 165, 255, 0.55), rgba(18, 40, 72, 0.70)) !important;
    border-color: rgba(210, 245, 255, 0.50) !important;
    box-shadow: 
      0 8px 24px rgba(70, 180, 255, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
  }
  
  /* Voorkom scrollen van body wanneer menu open is */
  body.menu-open {
    overflow: hidden !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .tz-nav {
    width: 260px !important;
  }
}

/* =========================
   MOBIEL MENU FIX - Overschrijf alles
   ========================= */

@media (max-width: 768px) {
  
  /* Hamburger knop zichtbaar maken */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: rgba(234, 242, 255, 0.95);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  /* Hamburger naar X */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Overlay zonder waas effect */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .menu-overlay.active {
    display: block !important;
    opacity: 1 !important;
  }
  
  /* Navigatie sidebar - ALLE oude styles overschrijven */
  .tz-nav,
  .tz-nav * {
    backdrop-filter: none !important; /* Geen waas effect */
  }
  
  .tz-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    margin-left: 0 !important;
    
    background: linear-gradient(
      180deg,
      rgba(12, 26, 52, 1),
      rgba(8, 16, 32, 1)
    ) !important;
    
    border-right: 1px solid rgba(120, 180, 255, 0.3) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8) !important;
    
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
    
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
  }
  
  /* Menu actief */
  .tz-nav.active {
    left: 0 !important;
  }
  
  /* FORCEER verticaal menu - overschrijf ALLES */
  .tz-nav ul,
  .tz-nav ul.nav-mm-collapse,
  .tz-nav ul.mod-menu,
  .tz-nav > ul,
  .tz-nav li ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  
  /* Menu items - volle breedte en kleinere tekst */
  .tz-nav a,
  .tz-nav ul a,
  .tz-nav ul.nav-mm-collapse a {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
  
  /* Body scroll blokkeren */
  body.menu-open {
    overflow: hidden !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .tz-nav {
    width: 260px !important;
  }
}

/* =========================
   SIDEBAR RESPONSIVE FIX
   ========================= */

/* Tablet en kleiner - sidebar onder content */
@media (max-width: 980px) {
  .tz-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Sidebar komt onder de content */
  .tz-sidebar {
    order: 2;
  }
  
  .tz-content {
    order: 1;
  }
}

/* Mobiel - kleinere padding */
@media (max-width: 768px) {
  .tz-content,
  .tz-sidebar {
    padding: 20px !important;
  }
  
  .tz-main {
    padding: 16px 0 32px !important;
  }
}

/* Extra small - nog compacter */
@media (max-width: 480px) {
  .tz-content,
  .tz-sidebar {
    padding: 16px !important;
  }
  
  .tz-hero__inner {
    padding: 20px !important;
  }
}

/* =========================
   MOBIEL MENU - GEEN BLUR + DOORZICHTIGE OVERLAY
   Voeg dit toe aan het einde van template.css
   ========================= */

/* Hamburger knop */
.mobile-menu-toggle {
  display: none;
}

/* Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 999 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: none !important;
}

.menu-overlay.active {
  display: block !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: rgba(234, 242, 255, 0.95);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .tz-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    margin-left: 0 !important;
    background: #0c1a34 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-right: 1px solid rgba(120, 180, 255, 0.3) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8) !important;
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
    transition: left 0.4s ease !important;
    z-index: 1000 !important;
  }
  
  .tz-nav.active {
    left: 0 !important;
  }
  
  .tz-nav ul,
  .tz-nav ul.nav-mm-collapse {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .tz-nav a {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }
}

/* =========================
   MOBIEL MENU FIX - Z-INDEX CORRECTIE
   Vervang je huidige mobiele menu CSS met deze
   ========================= */

/* Hamburger knop */
.mobile-menu-toggle {
  display: none;
}

/* Overlay - MOET onder het menu zitten */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 900 !important; /* Lager dan menu (1000) */
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: none !important;
}

.menu-overlay.active {
  display: block !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001 !important; /* Boven menu */
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: rgba(234, 242, 255, 0.95);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Menu - boven overlay */
  .tz-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    margin-left: 0 !important;
    background: #0c1a34 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-right: 1px solid rgba(120, 180, 255, 0.3) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8) !important;
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
    transition: left 0.4s ease !important;
    z-index: 1000 !important; /* Boven overlay (900) */
  }
  
  .tz-nav.active {
    left: 0 !important;
  }
  
  .tz-nav ul,
  .tz-nav ul.nav-mm-collapse {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .tz-nav a {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }
}

@media (max-width: 768px) {
  
  /* Header mag niet boven overlay/menu uitsteken */
  .tz-header {
    z-index: 50 !important;
  }
  
  /* Hamburger knop blijft zichtbaar */
  .mobile-menu-toggle {
    z-index: 1001 !important;
    position: relative !important;
  }
  
  /* Overlay achter menu */
  .menu-overlay {
    z-index: 900 !important;
  }
  
  /* Menu voor overlay */
  .tz-nav {
    z-index: 1000 !important;
  }
  
  /* BELANGRIJK: zorg dat menu klikbaar is */
  .tz-nav,
  .tz-nav *,
  .tz-nav a {
    pointer-events: auto !important;
  }
  
  /* Overlay mag ook klikbaar zijn */
  .menu-overlay {
    pointer-events: auto !important;
  }
}

@media (max-width: 768px) {
  .tz-header {
    position: relative !important;
    z-index: auto !important;
  }
  
  .menu-overlay {
    position: fixed !important;
    z-index: 1 !important;
  }
  
  .tz-nav {
    position: fixed !important;
    z-index: 2 !important;
  }
  
  .mobile-menu-toggle {
    position: relative !important;
    z-index: 3 !important;
  }
}
/* =========================
   HERO MOBIEL: alles 350px
   ========================= */
@media (max-width: 768px){

  /* Alle hero's op mobiel */
  .tz-hero__inner{
    min-height: 350px !important;
    padding-bottom: 24px !important;
  }

  /* =========================
     HOME: carblend = 350px hoog
     features ONDER de afbeelding
     ========================= */

  /* Maak de carblend laag "kort": alleen bovenin 350px */
  body.hero-home .tz-hero__carblend{
    inset: 0 0 auto 0 !important;  /* top/right/bottom/left */
    height: 350px !important;
  }

  /* Features niet meer over de afbeelding heen plakken */
  body.hero-home .tz-hero__features{
    position: relative !important; /* uit absolute modus */
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    margin-top: 24px !important;   /* ruimte onder de 350px afbeelding */
    z-index: 6 !important;

    grid-template-columns: 1fr !important;
  }
}


/* =========================
   HERO MOBILE HARD OVERRIDE
   (PLAK HELEMAAL ONDERAAN)
   ========================= */
@media (max-width: 768px){

  /* 1) Alle hero's: vaste minimale hoogte (minder "inzoomen") */
  body.tz-body .tz-hero__inner{
    min-height: 350px !important;
    padding-bottom: 24px !important;
  }

  /* 2) HOME: features NIET door de afbeelding heen
        -> haal ze uit absolute "onderin vastgeplakt" modus */
  body.tz-body.is-home .tz-hero__features{
    display: grid !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    margin-top: 16px !important;
  }

  /* 3) Home carblend hoeft niet te "stretchen" onder die features */
  body.tz-body.is-home .tz-hero__carblend{
    position: absolute !important;
    inset: 0 !important;
  }
}

/* =========================
   HERO – MOBIEL FIX
   Features weg + hero's compact
   ========================= */
@media (max-width: 768px){

  /* 1) Features volledig uit op mobiel */
  body.tz-body .tz-hero__features{
    display: none !important;
  }

  /* 2) Alle hero's compacter op mobiel (ook binnenpagina's) */
  body.tz-body .tz-hero__inner{
    min-height: 350px !important;
    padding-bottom: 24px !important;
    padding-top: 22px !important;
  }

  /* 3) Extra safety: binnenpagina's nóg compacter (als je wilt) */
  body.tz-body:not(.is-home) .tz-hero__inner{
    min-height: 250px !important;
  }
}


/* =========================
   MOBIEL MENU: ALTIJD BOVEN HERO (overlay zit in header)
   ========================= */
@media (max-width: 768px){

  /* Header mag niet de stacking context kapot maken */
  .tz-header{
    position: sticky !important;  /* of: fixed; maar sticky past bij jouw setup */
    top: 0 !important;
    z-index: 9999 !important;
  }

  /* Overlay altijd boven content/hero */
  .tz-header .menu-overlay{
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
  }

  /* Menu zelf boven overlay */
  .tz-header .tz-nav{
    position: fixed !important;
    z-index: 9999 !important;
  }

  /* Hamburger altijd klikbaar boven alles */
  .tz-header .mobile-menu-toggle{
    position: relative !important;
    z-index: 10000 !important;
  }

  /* Hero expliciet onder het menu houden */
  .tz-hero,
  .tz-hero__inner,
  .tz-hero__carblend{
    z-index: 0 !important;
  }
}

/* =========================
   FINAL MOBILE OVERRIDES
   - menu altijd boven
   - features ALTIJD weg
   (PLAK HELEMAAL ONDERAAN)
   ========================= */
@media (max-width: 768px){

  /* --- MENU boven alles --- */
  .tz-header{
    position: sticky !important; /* wil je fixed? vervang sticky -> fixed */
    top: 0 !important;
    z-index: 9999 !important;
  }
  .tz-header .menu-overlay{
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
  }
  .tz-header .tz-nav{
    position: fixed !important;
    z-index: 9999 !important;
  }
  .tz-header .mobile-menu-toggle{
    position: relative !important;
    z-index: 10000 !important;
  }

  /* --- FEATURES: KLAAR. WEG. DOOD. --- */
  body .tz-hero__features,
  body.tz-body .tz-hero__features,
  body.tz-body.is-home .tz-hero__features,
  body.tz-body.hero-home .tz-hero__features,
  body.tz-body:not(.is-home) .tz-hero__features{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  /* Extra: als er toch children “blijven hangen” door rare layout */
  body .tz-hero__features *{
    display: none !important;
  }
}

