/* ==========================================================================
   VfB 03 Hilden – Responsive: Tablet (<=900px) & Mobile (<=600px)
   ========================================================================== */

@media (max-width: 1200px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Burger-Navigation ersetzt Desktop-Navbar */
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }

  /* Sticky Header: kein backdrop-filter auf Mobile (fängt sonst den fixed Drawer im Containing Block) */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .grid--3,
  .grid--2,
  .grid--split { grid-template-columns: 1fr; grid-column: auto; }
  .grid--3 > *, .grid--2 > *, .grid--split > * { grid-column: auto; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }

  .hero { min-height: 88vh; min-height: 88dvh; }
  .hero__content { padding-block: 6.5rem 2.5rem; }
}

@media (min-width: 901px) {
  .site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .grid--services { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom ul { flex-wrap: wrap; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .hero__stats { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .slide { aspect-ratio: 4 / 5; min-height: 380px; }
  .slider__nav { display: none; }

  .site-logo__text small { display: none; }

  section.section { padding-block: 3rem; }
}

/* Sicherstellen: nie horizontales Scrollen */
html, body { max-width: 100%; overflow-x: hidden; }
