/* ============================================================
   COOPER: telefoonweergave (alleen schermen tot 600 px breed)
   Wordt als laatste stijlblad geladen, zodat het de paginastijlen
   overschrijft. Desktop en tablet blijven ongewijzigd.
   ============================================================ */
@media (max-width: 600px) {

  html, body { overflow-x: hidden; }

  /* ---------- Koppen: kleiner en altijd binnen het scherm ---------- */
  h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
  .hero-home__title { font-size: 46px !important; max-width: none !important; }
  .cpr-hero__title, .idx-featured__title { font-size: 44px !important; }
  .werkveld__title { font-size: 44px !important; }
  h2.fill-text, .cpr-cta__inner h2, .home-cta__inner h2, .idx-cta__inner h2,
  .o-waarden__left h2, .o-groep__head h2, .w-dag__head h2, .d-faq__head h2,
  .c-faq__intro h2, .c-form-intro h2, .vac-dialog__title,
  .svc-process__head h2, .svc-faq__head h2, .section-head h2 { font-size: 34px !important; line-height: 1.02 !important; }
  .c-locatie__side h3 { font-size: 30px !important; }
  .o-verhaal__lead, .w-intro__lead, .home-intro__lead, .d-intro__lead { font-size: 28px !important; line-height: 1.12 !important; }
  .stat__num, .feit__num { font-size: 44px !important; }
  section h2 { max-width: 100%; }

  /* ---------- Home: hero (rustige verhouding kop, tekst, knoppen) ---------- */
  .hero-home { height: auto !important; min-height: 100svh !important; }
  .hero-home__inner { padding-top: 120px !important; padding-bottom: 32px !important; }
  .hero-home__inner::before {
    content: ''; position: absolute; inset: auto 0 0 0; height: 75%; z-index: -1; pointer-events: none;
    background: linear-gradient(to top, rgba(10,20,30,0.82), rgba(10,20,30,0.45) 60%, rgba(10,20,30,0));
  }
  .hero-home__title { font-size: 40px !important; line-height: 0.98 !important; margin-bottom: 20px !important; }
  .hero-home__row { grid-template-columns: 1fr !important; gap: 22px !important; padding-top: 18px !important; }
  .hero-home__lead { font-size: 16px !important; line-height: 1.6 !important; color: rgba(255,255,255,0.92) !important; max-width: 34ch !important; }
  .hero-home__actions { justify-self: stretch !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
  .hero-home__actions .h-btn { min-width: 0; }
  .hero-home__actions .h-btn { flex-wrap: nowrap !important; justify-content: space-between; padding: 12px 14px 12px 18px; font-size: 13px; white-space: nowrap; }
  @media (max-width: 400px) { .hero-home__actions { grid-template-columns: 1fr !important; } }

  /* ---------- Te smalle tweekoloms blokken naar één kolom ---------- */
  .dienst-grid, .proces, .tijdlijn, .proc-steps { grid-template-columns: 1fr !important; }
  .dienst { min-width: 0; }
  .tijdlijn__step { padding-left: 0 !important; padding-right: 0 !important; border-right: none !important; }
  .schedule__row { grid-template-columns: 72px 1fr !important; gap: 12px !important; }

  /* ---------- Knoppen: niet afsnijden, mogen afbreken ---------- */
  .proj-feat-foot { flex-wrap: wrap; }
  .proj-feat-foot { gap: 16px; }

  /* ---------- Voettekst projecten: links mogen afbreken ---------- */
  .idx-foot { flex-wrap: wrap; gap: 12px; }
  .idx-foot span { white-space: normal; }

  /* ---------- Privacy: inhoud en tabel binnen het scherm ---------- */
  .lgl > * { min-width: 0; }
  .lgl-table { display: block; overflow-x: auto; font-size: 13px; }
  .lgl-table th, .lgl-table td { padding: 10px 8px; }
  .lgl-card { grid-template-columns: 1fr !important; }

  /* ---------- Contact: kaart binnen kolom ---------- */
  .c-locatie__map { max-width: 100%; }
}
