/* ============================================================
   home-mobile.css — homepage (NL / EN / FR) · 2026-09-29
   Soften phone/tablet layout without redesign.
   Keeps pine / gold / ink / papier. No nav/script changes.
   ============================================================ */

/* Safety: no sideways scroll from full-bleed bands or long CTAs.
   NIET op html/body: overflow-x anders dan visible maakt op sommige
   browsers een scroll-containing-block die het vaste menu-paneel kan
   clippen of touch-scroll in het paneel storen. Scope = editorial. */
#homepage-editorial-v0 {
  overflow-x: clip;
  max-width: 100%;
}

/* Full-bleed olive bands: avoid classic 100vw + scrollbar overflow */
#homepage-editorial-v0 .hp-olive,
#homepage-editorial-v0 .hp-sluit {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* tablet.css targets .hero for aanbod; homepage uses the same class
   for the full-bleed photo hero — keep it edge-to-edge. */
@media (min-width: 700px) and (max-width: 1100px) {
  body[data-kop="foto"] section.hero#hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Touch-friendly primary actions (homepage scope) */
body[data-kop="foto"] .sd-cta {
  min-height: 44px;
  align-items: center;
}
body[data-kop="foto"] .sd-meer {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}
#homepage-editorial-v0 .hp-pill {
  min-height: 44px;
  box-sizing: border-box;
}

/* ── Tablet / small laptop portrait ───────────────────────── */
@media (max-width: 900px) {
  body[data-kop="foto"] section.hero#hero {
    width: 100% !important;
    max-width: none !important;
  }

  .hero-text {
    left: 6%;
    right: 6%;
    max-width: none;
  }

  .hero-book {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    letter-spacing: 0.22em;
  }

  .hero-book-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: normal;
    max-width: 100%;
    line-height: 1.45;
  }

  .hero-sub {
    max-width: 100%;
  }

  #homepage-editorial-v0 .hp-wrap {
    padding-left: clamp(18px, 4.5vw, 40px);
    padding-right: clamp(18px, 4.5vw, 40px);
  }

  #homepage-editorial-v0 .hp-diensten-head {
    align-items: flex-start;
  }

  #homepage-editorial-v0 .hp-featured-body p,
  #homepage-editorial-v0 .hp-asym p {
    max-width: none;
  }
}

/* ── Phone ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body[data-kop="foto"] section.hero#hero {
    width: 100% !important;
    height: 100svh !important;
    min-height: 520px !important;
    max-height: none !important;
  }

  .hero-text {
    left: 5% !important;
    right: 5% !important;
    bottom: max(20px, env(safe-area-inset-bottom, 12px)) !important;
    max-width: none !important;
    gap: 0;
  }

  .hero-text h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
    overflow-wrap: anywhere;
  }

  .hero-text .tagline {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .hero-sub {
    font-size: 15px !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }

  .hero-book {
    width: auto;
    max-width: 100%;
    min-height: 48px !important;
    padding: 14px 22px !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 8px !important;
  }

  .hero-book-secondary {
    font-size: 12px;
    letter-spacing: 0.04em;
    margin-top: 8px;
    padding: 8px 0;
  }

  .hero-trust {
    max-width: 100%;
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .hero-meta {
    font-size: 9px;
    letter-spacing: 0.18em;
    left: 5%;
    right: auto;
    max-width: 90%;
  }

  /* Editorial sections */
  #homepage-editorial-v0 .hp-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  #homepage-editorial-v0 .hp-asym {
    padding: 40px 0;
  }

  #homepage-editorial-v0 .hp-asym h2,
  #homepage-editorial-v0 .hp-diensten h2,
  #homepage-editorial-v0 .hp-portfolio h2,
  #homepage-editorial-v0 .hp-ervaringen h2,
  #homepage-editorial-v0 .hp-sluit h2 {
    overflow-wrap: anywhere;
  }

  #homepage-editorial-v0 .hp-asym p,
  #homepage-editorial-v0 .hp-featured-body p,
  #homepage-editorial-v0 .hp-werk-lijst {
    font-size: 15px;
    max-width: none;
  }

  #homepage-editorial-v0 .hp-asym .hp-frame34 {
    max-width: 100%;
    width: 100%;
  }

  #homepage-editorial-v0 .hp-diensten-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }

  #homepage-editorial-v0 .hp-diensten-head .hp-pill,
  #homepage-editorial-v0 .hp-portfolio-head .hp-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #homepage-editorial-v0 .hp-pill {
    min-height: 48px;
    padding: 12px 18px;
    letter-spacing: 0.12em;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  #homepage-editorial-v0 .hp-featured {
    gap: 18px;
  }

  #homepage-editorial-v0 .hp-featured-row {
    max-width: none;
    width: 100%;
  }

  #homepage-editorial-v0 .hp-featured-photo {
    max-width: none;
    width: 100%;
  }

  #homepage-editorial-v0 .hp-featured-body {
    margin-top: -22px;
    padding: 18px 16px 20px;
  }

  #homepage-editorial-v0 .hp-featured-body .hp-pill {
    width: 100%;
  }

  #homepage-editorial-v0 .hp-portfolio-head {
    flex-direction: column;
    align-items: stretch;
  }

  #homepage-editorial-v0 .hp-portfolio-grid {
    gap: 8px;
  }

  #homepage-editorial-v0 .hp-trust {
    gap: 8px;
    margin-bottom: 28px;
  }

  #homepage-editorial-v0 .hp-trust .trust-text {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-align: center;
  }

  #homepage-editorial-v0 .hp-quote blockquote {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }

  #homepage-editorial-v0 .hp-sluit {
    padding: 48px 18px;
  }

  #homepage-editorial-v0 .hp-sluit p {
    max-width: none;
    font-size: 15px;
  }

  #homepage-editorial-v0 .hp-sluit .hp-pill {
    width: 100%;
    max-width: 360px;
  }

  /* Header CTA stays tappable on narrow bars */
  body[data-kop="foto"] .sd-cta {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  /* Footer: no clipped long copy line */
  body[data-kop="foto"] .site-footer {
    padding-left: 18px;
    padding-right: 18px;
    gap: 18px;
  }

  body[data-kop="foto"] .site-footer .copy {
    white-space: normal;
    overflow-wrap: anywhere;
    letter-spacing: 0.16em;
    line-height: 1.65;
    font-size: 9px;
  }

  body[data-kop="foto"] .site-footer nav ul {
    gap: 12px 16px;
    font-size: 10px;
  }

  body[data-kop="foto"] .site-footer .socials a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── Small phone ──────────────────────────────────────────── */
@media (max-width: 420px) {
  body[data-kop="foto"] section.hero#hero {
    min-height: 480px !important;
  }

  .hero-text h1 {
    font-size: 32px !important;
  }

  .hero-book {
    width: 100%;
    padding: 13px 16px !important;
    letter-spacing: 0.12em !important;
  }

  #homepage-editorial-v0 .hp-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  #homepage-editorial-v0 .hp-featured-body {
    padding: 16px 14px 18px;
  }

  #homepage-editorial-v0 .hp-featured-body h3 {
    font-size: 1.35rem;
  }

  #homepage-editorial-v0 .hp-sluit {
    padding: 40px 14px;
  }
}
