/* ============================================
   WolfWash Mobile Styles
   Geldt voor alle pagina's via <link> in <head>
   Breakpoints: 768px (tablet), 480px (phone)
   ============================================ */

/* === HAMBURGER KNOP === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: var(--sand); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === MOBILE MENU OVERLAY === */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bone);
  z-index: 99;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.nav-mobile-menu.open {
  display: flex;
}
.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-line);
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1;
}
.nav-mobile-logo { height: 36px; width: auto; }
.nav-mobile-close {
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-close svg { width: 20px; height: 20px; }
.nav-mobile-links {
  list-style: none;
  padding: 16px 20px;
  flex: 1;
}
.nav-mobile-links li {
  border-bottom: 1px solid var(--grey-line);
}
.nav-mobile-links li:last-child {
  border-bottom: none;
  margin-top: 16px;
}
.nav-mobile-links a {
  display: block;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-links a:hover,
.nav-mobile-links a.active { color: var(--green); }
.nav-mobile-links .btn-mobile-cta {
  display: block;
  text-align: center;
  background: var(--gradient);
  color: white !important;
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
}
.nav-mobile-contact {
  padding: 24px 20px 40px;
  border-top: 1px solid var(--grey-line);
}
.nav-mobile-contact p {
  font-size: 13px;
  color: var(--grey-soft);
  margin-bottom: 12px;
}
.nav-mobile-contact a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* === MOBILE BREAKPOINTS === */
@media (max-width: 768px) {

  /* Nav — verberg desktop links, toon hamburger */
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .nav-inner { padding: 12px 20px; }

  /* Hero */
  .hero { padding: 40px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .hero-visual {
    aspect-ratio: 16/10 !important;
    order: -1;
  }
  .hero-stats {
    gap: 24px !important;
    flex-wrap: wrap;
  }
  .hero-stats > div {
    min-width: 80px;
  }
  .stat-num { font-size: 28px !important; }

  /* Dual paths / cards */
  .paths-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Postcode sectie */
  .postcode-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .postcode-form {
    flex-direction: column !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }
  .postcode-form input {
    padding: 16px 16px !important;
    font-size: 16px !important;
  }
  .postcode-form button {
    border-radius: 12px !important;
    padding: 16px 20px !important;
    width: 100%;
  }
  .postcode-wrapper { min-width: 0 !important; width: 100% !important; }

  /* Voor/na slider */
  .compare-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Werkwijze stappen */
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Nieuws teaser grid */
  .news-teaser-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Pricing teaser */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Eco strip */
  .eco-inner {
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center;
  }
  .eco-points {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Testimonials */
  .testimonial-slide {
    grid-template-columns: 1fr !important;
    padding: 0 8px !important;
    gap: 16px !important;
  }

  /* Newsletter form */
  .newsletter-form {
    flex-direction: column !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }
  .newsletter-form input { padding: 14px 16px !important; }
  .newsletter-form button {
    border-radius: 12px !important;
    padding: 16px 20px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Sectie padding verkleinen */
  section { padding: 60px 0 !important; }
  .container { padding: 0 20px !important; }

  /* Headings verkleinen */
  h1 { font-size: clamp(36px, 9vw, 56px) !important; }

  /* Buttons fullwidth op phone */
  .hero-cta {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Page headers */
  .page-header { padding: 48px 0 32px !important; }

  /* Sector grid bedrijven */
  .sectors-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Pricing cards */
  .pricing-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* FAQ layout */
  .faq-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .faq-sidebar { display: none !important; }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* News grid */
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* === TABLET (768px - 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links { gap: 16px !important; }
  .nav-links li:nth-child(-n+2) { display: none !important; }

  .hero-grid { gap: 40px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr) !important; }
}

/* === KLEINE PHONES (max 380px) === */
@media (max-width: 380px) {
  .nav-inner { padding: 10px 16px; }
  .logo-img { height: 36px; }
  .container { padding: 0 16px !important; }
  .eco-points { grid-template-columns: 1fr !important; }
}

/* === PREVENT BODY SCROLL WHEN MENU OPEN === */
body.menu-open {
  overflow: hidden;
}
