/* ============================================================
   HOSTNER — RESPONSIVE
   Alle media queries voor layout.css + sections.css
   Volgorde: tablet (≤1024px) → mobiel (≤768px)
   ============================================================ */

/* ============================================================
   TABLET — max 1024px
   ============================================================ */
@media (max-width: 1024px) {

  /* Nav */
  /* (nav houdt desktop-layout tot 768px) */

  /* Sections: hero + grids naar 1 kolom */
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-visual { order: -1; }
  .split-section { grid-template-columns: 1fr; }
  .split-text { border-right: none; border-bottom: 1px solid var(--border); padding: 56px 24px; }

  /* Feature grid: max 3 kolommen op tablet */
  .feature-grid--4,
  .feature-grid--5,
  .feature-grid--6 { grid-template-columns: repeat(3, 1fr); }

  .pricing-grid,
  .payment-grid { grid-template-columns: 1fr; }

  /* Footer grid: 2 kolommen */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ============================================================
   MOBIEL — max 768px
   ============================================================ */
@media (max-width: 768px) {

  /* --- Nav --- */
  .site-nav { padding: 0 20px; }
  .site-nav .nav-menu,
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* --- Sections --- */
  .section { padding: 56px 20px; }
  .hero { padding: 56px 20px; }
  .cta-band { padding: 64px 20px; }
  .product-hero { padding: 48px 20px; }

  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .stat + .stat { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 16px; }

  .email-form { flex-direction: column; }
  .specs-table { display: block; overflow-x: auto; }

  /* --- Stats blok mobiel --- */
  .stats-grid--3,
  .stats-grid--4,
  .stats-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .stats-tag-wrap { padding: 32px 20px 0; }
  .stats-item { padding: 28px 16px; }

  /* Feature grid: 1 kolom op mobiel */
  .feature-grid--1,
  .feature-grid--2,
  .feature-grid--3,
  .feature-grid--4,
  .feature-grid--5,
  .feature-grid--6 { grid-template-columns: 1fr; }

  /* --- Hero mobiel --- */
  .hero-sub { max-width: 100%; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; text-align: center; box-sizing: border-box; }

  /* Stats: volledige breedte, borders over de hele breedte */
  .hero-stats {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border);
    gap: 0;
    padding-top: 0;
  }
  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .stat + .stat {
    border-left: none;
    padding-left: 0;
  }

  /* --- Footer grid --- */
  .site-footer { padding: 48px 20px 32px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .footer-brand { margin-bottom: 32px; }

  /* Footer logo gecentreerd */
  .footer-logo { display: block; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .nav-logo--footer { justify-content: center; }

  /* Footer tagline: volledige breedte */
  .footer-tagline { max-width: 100%; }

  /* Footer social gecentreerd */
  .footer-social { justify-content: center; }

  /* --- Accordion: mobiel --- */
  .footer-col { border-bottom: 1px solid var(--border); }

  .footer-col-toggle {
    cursor: pointer;
    pointer-events: auto;
    padding: 16px 0;
    margin-bottom: 0;
  }
  .footer-col-arrow { display: block; }

  .footer-col-content {
    display: none;
    padding-bottom: 16px;
  }
  .footer-col.is-open .footer-col-content { display: block; }
  .footer-col.is-open .footer-col-arrow { transform: rotate(180deg); }

  /* --- Footer bottom: gecentreerd, geen border --- */
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
    border-top: none;
    padding-top: 0;
    justify-items: center;
    text-align: center;
  }
  .footer-bottom-left { text-align: center; }
  .footer-bottom-middle {
    justify-content: center;
  }
  .footer-bottom-middle img,
  .footer-bottom-img,
  .footer-bottom-img-link img {
    height: 50px;
  }
  .footer-bottom-right { justify-content: center; text-align: center; }
  .footer-bottom-menu { justify-content: center; }
}
