/* =============================================
   MOBILE.CSS — Advieskantoor A'dam
   Professionele mobiele versie voor alle pagina's
   ============================================= */

/* =========================================
   900px — Tablet & grote telefoon
   ========================================= */
@media (max-width: 900px) {

  /* Un-trap position:fixed children by removing backdrop-filter on mobile header */
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }

  .nav-links {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    background: #ffffff !important;
    z-index: 9999 !important;
  }
  .nav-links.open { display: flex !important; }

  /* Hero: geen lege ruimte, content direct bovenaan */
  .hero {
    min-height: auto !important;
    align-items: flex-start !important;
  }
  .hero-content {
    padding-top: 52px !important;
    padding-bottom: 60px !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Page hero sub-pagina's */
  .page-hero { padding: 72px 0 44px; }
  .page-hero h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); margin-bottom: 12px; }
  .page-hero p  { font-size: 1rem; margin-bottom: 24px; max-width: 100%; }
  .page-hero-actions { gap: 12px; }

  /* Stats */
  .stats-grid { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stat-item  { flex-direction: column; text-align: center; gap: 6px; }
  .stat-divider { display: none; }

  /* Contact cards (CTA-sectie) */
  .contact-card  { min-width: unset; width: 100%; }
  .contact-cards { flex-direction: column; }

  /* Filter tabs */
  .filter-tab  { padding: 7px 14px; font-size: 0.8125rem; }

  /* CTA box */
  .cta-title { font-size: clamp(1.375rem, 4vw, 1.75rem); }
  .cta-sub   { font-size: 0.9375rem; margin-bottom: 24px; }

  /* Section */
  .section-header { margin-bottom: 40px; }
}


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

  /* Pricing: geen zoom op mobiel */
  .pricing-card.featured { transform: none !important; margin-top: 0; }
  .pricing-grid { gap: 18px; }

  /* Check grid: 1 kolom */
  .check-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Trust grid: 2 kolommen */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-card { padding: 22px 16px; }

  /* Info box */
  .info-box { padding: 20px 20px; }

  /* Aanbod */
  .aanbod-img { height: 185px; }
}


/* =========================================
   600px — Grote smartphone
   ========================================= */
@media (max-width: 600px) {

  :root { --gutter: 16px; --section-pad-sm: 48px; }

  /* Navigatie */
  .nav-inner { height: 62px !important; }
  .nav-links  { top: 62px !important; height: calc(100vh - 62px) !important; height: calc(100dvh - 62px) !important; }
  .brand { font-size: 0.9375rem; }

  /* Hero */
  .hero-content {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }
  .hero-title { font-size: clamp(1.5rem, 6vw, 1.875rem) !important; line-height: 1.2; margin-bottom: 24px; }
  .hero-services { gap: 10px; margin-bottom: 32px; }
  .hero-service-label { font-size: 0.9375rem; }
  .hero-num   { width: 38px; height: 38px; font-size: 0.9375rem; }
  .chip       { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 16px; }
  .hero-scroll-indicator { display: none !important; }

  /* Page hero */
  .page-hero { padding: 60px 0 36px !important; }
  .page-hero h1 { font-size: clamp(1.375rem, 6vw, 1.75rem) !important; }
  .page-hero p  { font-size: 0.9375rem; }
  .page-hero-actions { flex-direction: column; gap: 10px; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }

  /* Typografie */
  .section-title    { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  .section-subtitle { font-size: 0.9375rem; }
  .section-header   { margin-bottom: 32px; }

  /* Service cards */
  .service-card { padding: 22px; }
  .service-icon-wrap { width: 46px; height: 46px; font-size: 1.375rem; margin-bottom: 12px; }
  .service-title { font-size: 1.0625rem; }

  /* Feature cards */
  .feature-card { padding: 22px; }

  /* Pricing */
  .pricing-card { padding: 28px 22px; }
  .plan-price .amount { font-size: 1.875rem; }

  /* Aanbod: scrollbare filter tabs */
  .aanbod-body  { padding: 18px; }
  .aanbod-title { font-size: 1rem; }
  .aanbod-img   { height: 175px; }
  .filter-tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; white-space: nowrap; }

  /* Contact */
  .form-row     { grid-template-columns: 1fr !important; gap: 14px; }
  .contact-form { gap: 14px; }
  .info-box     { padding: 16px; }

  /* CTA */
  .cta-box { padding: 32px 18px; border-radius: var(--r-lg); }
  .social-links { flex-wrap: wrap; gap: 10px; justify-content: center; }

  /* Stats */
  .stats-bar   { padding: 20px 0; }
  .stat-number { font-size: 1.375rem; }
  .stat-icon   { width: 38px; height: 38px; font-size: 1.125rem; }

  /* Footer */
  .footer { padding-top: 44px; }
  .footer-grid { gap: 24px; }

  /* Trust bar */
  .trust-bar-inner { gap: 14px; flex-direction: column; align-items: center; text-align: center; }

  /* Images */
  .portrait-img { height: 260px !important; }
  .rounded-img  { height: 220px !important; }

  /* Floating badge: verbergen op mobiel */
  .floating-badge { display: none !important; }

  /* WhatsApp FAB */
  .whatsapp-fab { width: 50px; height: 50px; bottom: 18px; right: 14px; }
  .fab-tooltip  { display: none !important; }

  /* Trust grid: 1 kolom */
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 18px; }

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


/* =========================================
   480px — Kleine smartphone
   ========================================= */
@media (max-width: 480px) {

  :root { --gutter: 14px; --section-pad-sm: 40px; }

  /* Hero compacter */
  .hero-content {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
  .hero-title { font-size: 1.375rem !important; }
  .hero-num   { width: 34px; height: 34px; font-size: 0.875rem; }

  /* Page hero */
  .page-hero { padding: 52px 0 30px !important; }
  .page-hero h1 { font-size: 1.375rem !important; }

  /* Knoppen */
  .btn    { padding: 11px 18px; font-size: 0.875rem; }
  .btn-lg { padding: 12px 22px; font-size: 0.9375rem; }
  .btn-sm { padding: 7px 12px;  font-size: 0.8rem; }

  /* Cards */
  .service-card { padding: 18px; }
  .pricing-card { padding: 22px 16px; }
  .feature-card { padding: 18px; }

  /* Aanbod */
  .aanbod-img  { height: 165px; }
  .aanbod-body { padding: 14px; }

  /* Contact (CTA) */
  .contact-card { padding: 14px 16px; gap: 10px; }
  .contact-value { font-size: 0.9375rem; }

  /* Nav */
  .nav-inner { height: 58px !important; }
  .nav-links  { top: 58px !important; height: calc(100vh - 58px) !important; height: calc(100dvh - 58px) !important; }
  .brand { font-size: 0.875rem; }

  /* Formulier */
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 10px 12px; font-size: 0.875rem; }

  /* Sectie */
  .section-title { font-size: 1.25rem !important; }
}


/* =========================================
   360px — Zeer kleine schermen
   ========================================= */
@media (max-width: 360px) {

  :root { --gutter: 12px; }

  .hero-title    { font-size: 1.25rem !important; }
  .section-title { font-size: 1.125rem !important; }
  .page-hero h1  { font-size: 1.25rem !important; }

  .btn    { padding: 10px 14px; font-size: 0.8125rem; }
  .btn-lg { padding: 11px 18px; font-size: 0.875rem; }

  .stats-grid { flex-direction: column; align-items: center; gap: 16px; }

  .brand { font-size: 0.8125rem; }
}


/* =========================================
   Touch apparaten — Aanraakoptimalisatie
   ========================================= */
@media (hover: none) and (pointer: coarse) {

  /* Minimale touch targets */
  .btn, .filter-tab, .faq-question { min-height: 44px; }
  .social-link  { width: 48px; height: 48px; }
  .whatsapp-fab { width: 54px !important; height: 54px !important; }

  /* Hover-animaties uitschakelen op touch */
  .service-card:hover,
  .feature-card:hover,
  .aanbod-card:hover,
  .trust-card:hover,
  .contact-card:hover,
  .pricing-card:hover { transform: none !important; box-shadow: var(--shadow-sm); }

  .btn-primary:hover,
  .btn-secondary:hover { transform: none !important; }
  .aanbod-card:hover .aanbod-img img { transform: none; }
  .rounded-img:hover { transform: none; }
}
