/* ============================================================
   GABI REINIGUNGSSERVICE — mobile.css
   Alle Anpassungen ≤ 968px — sauber getrennt von style.css
   ============================================================ */

@media (max-width: 968px) {

  :root { --nav-h: 68px; --ribbon-h: 44px; }

  /* ---------- Navigation — Dock schrumpft auf Logo + Hamburger ---------- */
  .nav-links,
  .nav-cta,
  .nav-phone,
  .dock-sep { display: none; }

  .nav-dock {
    padding: 6px 10px;
    border-radius: 30px;
    background: rgba(6, 14, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-toggle { display: flex; }

  /* Safe-Area oben (iPhone Notch) */
  .site-header { top: max(16px, env(safe-area-inset-top, 16px)); }

  /* Bessere Touch-Targets im Dropdown */
  .nav-mobile a {
    padding: 13px 14px;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-mobile .btn { min-height: 48px; }

  /* ---------- Hero ---------- */
  .hero-content { padding: calc(var(--nav-h) + 1.5rem) 1.25rem calc(var(--ribbon-h) + 100px); }
  .hero-title { font-size: clamp(2.3rem, 9vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 0.85rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 0.55rem; }
  .hero-trust-item { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
  .hero-media img { object-position: 82% center; }

  /* ---------- Standort-Ticker ---------- */
  .hero-locations { padding: 0.85rem 0; }
  .hero-locations-track { gap: 1.7rem; animation-duration: 26s; }
  .hero-locations-item { font-size: 0.7rem; letter-spacing: 0.1em; }

  /* ---------- Fakten & Vertrauen — Achsenwechsel: horizontale statt
     vertikale Trennlinien, Icon + Text als Zeile statt gestapelt ---------- */
  .facts-bar { flex-direction: column; }
  .facts-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.1rem;
    padding: 1.35rem 1.4rem;
  }
  .facts-item:not(:last-child)::after {
    top: auto; bottom: 0; right: auto;
    left: 5%; width: auto; height: 1px;
  }
  .facts-icon { width: 44px; height: 44px; flex-shrink: 0; }
  .facts-icon svg { width: 21px; height: 21px; }
  .facts-text { align-items: flex-start; text-align: left; gap: 0.25rem; }
  .facts-value { font-size: 1.25rem; justify-content: flex-start; }
  .facts-value--text { font-size: 1.05rem; }

  /* ---------- Leistungen ---------- */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card-head { padding: 1.2rem; gap: 0.85rem; }
  .service-icon { width: 44px; height: 44px; }
  .service-icon svg { width: 20px; height: 20px; }
  .service-title { font-size: 1rem; }
  .service-teaser { font-size: 0.82rem; }
  .service-count { display: none; }
  .service-list { padding: 0 1.2rem 1.2rem; }

  /* ---------- Vorher / Nachher ---------- */
  .compare-tabs { gap: 0.5rem; }
  .compare-tab { padding: 0.55rem 1.05rem; font-size: 0.8rem; }
  .compare-media { aspect-ratio: 4 / 5; }
  .compare-handle { width: 40px; height: 40px; }
  .compare-badge { font-size: 0.66rem; padding: 0.35rem 0.75rem; }

  /* ---------- Über uns ---------- */
  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-story { order: 2; }
  .about-story p { font-size: 1rem; }
  .about-perks { order: 1; }
  .about-perks-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
  }
  .about-perks-list li { font-size: 0.86rem; line-height: 1.35; }
  .brand-strip-inner { flex-direction: column; padding: 2rem 1.5rem; }
  .brand-medal-img { height: 108px; }
  .brand-connector { width: 2px; min-width: 0; height: 44px; max-width: none; flex: none; }
  .brand-connector-line { transform-origin: top; }
  .about-cta { flex-direction: column; gap: 1.2rem; }

  /* ---------- Ablauf ---------- */
  .process-timeline { flex-direction: column; gap: 2.2rem; }
  .process-track {
    top: 32px; bottom: 32px;
    left: 32px; right: auto;
    width: 2px; height: auto;
  }
  .process-track-fill { width: 100%; height: 0%; }
  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.1rem;
  }
  .process-step-text p { max-width: none; }

  /* ---------- FAQ ---------- */
  .faq-tabs { gap: 0.5rem; }
  .faq-tab { padding: 0.55rem 1.05rem; font-size: 0.8rem; }
  .faq-item-head { padding: 1.15rem 0.1rem; font-size: 0.96rem; gap: 0.75rem; }
  .faq-item-body p { padding: 0 0.5rem 1.15rem 0.1rem; font-size: 0.9rem; }

  /* ---------- Anfrage ---------- */
  .closing { min-height: 52vh; padding-top: calc(var(--nav-h) + 2rem); }
  .closing-actions { width: 100%; }
  .closing-actions .btn { width: 100%; justify-content: center; }

  /* ---------- Footer ---------- (Referenz: eminabi-transporte — Marke/Spalten bleiben
     linksbündig gestapelt, nur die unterste Zeile (Copyright/Credit) wird zentriert) */
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
}

/* ---------- Sehr kurze Displays (iPhone SE & Co.) ----------
   Eigener Block statt Verlass auf Cascade-Reihenfolge mit style.css —
   garantiert überschneidungsfreie Darstellung auf kleinsten Höhen. */
@media (max-width: 968px) and (max-height: 720px) {
  :root { --ribbon-h: 38px; }

  .hero-content { padding: calc(var(--nav-h) + 0.75rem) 1.1rem calc(var(--ribbon-h) + 84px); }
  .hero-badge { margin-bottom: 0.9rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 0.8rem; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 1.2rem; }
  .hero-actions { gap: 0.6rem; margin-bottom: 1.2rem; }
  .hero-trust { gap: 0.4rem; }
  .hero-trust-item { padding: 0.4rem 0.7rem; font-size: 0.72rem; }
  .hero-locations { padding: 0.55rem 0; }
  .hero-locations-item { font-size: 0.65rem; }
}

/* ---------- Mobile Sticky-CTA-Bar ----------
   Referenz: eminabi-transporte. Nutzt exakt dieselbe dunkle
   Navy-Glas-Optik wie die Dock-Nav (rgba(8,18,36,.7) + Blur) —
   entsteht ein bewusster dunkler Rahmen oben/unten um den hellen
   Content, statt eine dritte Farbsprache einzuführen. */
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 890;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 18, 36, 0.85);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -12px 40px rgba(4, 10, 22, 0.45);
    gap: 0.6rem;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
  }
  .mobile-cta-bar.visible { transform: translateY(0); }
  .mobile-cta-bar.hidden-by-contact { transform: translateY(100%); }

  .mobile-cta-bar__primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--shadow-accent);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
  }
  .mobile-cta-bar__primary:active { opacity: 0.88; transform: scale(0.98); }

  .mobile-cta-bar__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
  }
  .mobile-cta-bar__phone:active { background: rgba(255, 255, 255, 0.16); transform: scale(0.96); }
  .mobile-cta-bar__phone svg { width: 20px; height: 20px; }

  @media (prefers-reduced-motion: reduce) {
    .mobile-cta-bar { transition: none; }
  }
}
