/* ============================================================
   merson.ch — Handy-Schicht
   Liegt ÜBER dem gebauten CSS der Seite und greift nur auf schmalen
   Schirmen. Der gebaute Seitencode bleibt unangetastet.
   ============================================================ */

@media (max-width: 700px) {

  /* ---------- 1. Lange Kartenstapel werden zu Wisch-Karussells ----------
     Auf dem Handy stand jede Karte untereinander: die Seite war rund
     36 Bildschirme lang. Jetzt eine Karte pro Zeile, seitlich wischen,
     die nächste Karte schaut am Rand hervor. */
  .community-mosaic,
  .video-grid,
  .format-grid,
  .press-grid,
  .event-chapter-grid:not(.event-chapter-grid-single) {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bis an den Bildschirmrand, damit man sieht: da geht es weiter */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4px 18px 8px;
    scroll-padding-inline: 18px;
  }
  .community-mosaic::-webkit-scrollbar,
  .video-grid::-webkit-scrollbar,
  .format-grid::-webkit-scrollbar,
  .press-grid::-webkit-scrollbar,
  .event-chapter-grid::-webkit-scrollbar { display: none; }

  .community-mosaic > *,
  .video-grid > *,
  .format-grid > *,
  .event-chapter-grid:not(.event-chapter-grid-single) > * {
    flex: 0 0 84%;
    max-width: 84%;
    scroll-snap-align: start;
    margin: 0 !important;
  }
  /* Presse-Kacheln sind klein — zwei pro Blick */
  .press-grid > * {
    flex: 0 0 62%;
    max-width: 62%;
    scroll-snap-align: start;
    margin: 0 !important;
  }

  /* Anzeige unter jedem Karussell (von mobil.js eingesetzt) */
  .mk-zaehler {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 0;
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
  }
  .mk-punkte { display: flex; gap: 6px; }
  .mk-punkte i {
    width: 7px; height: 7px; border-radius: 50%;
    background: currentColor; opacity: .3;
    transition: opacity .2s, transform .2s;
  }
  .mk-punkte i[data-aktiv] { opacity: 1; transform: scale(1.25); }

  /* ---------- 2. Lesbare Schrift ----------
     Fliesstext stand teils bei 12–13 px, Hinweise bei 8–10 px. */
  .hero-subline { font-size: 16px !important; line-height: 1.45 !important; }
  .hero-pill { font-size: 11px !important; }
  .hero-video-intro span,
  .hero-video-intro small { font-size: 11px !important; }
  .community-note,
  .stat-note,
  .embed-note,
  .ref-note,
  .crowd figcaption,
  .audience-ages p { font-size: 15px !important; line-height: 1.5 !important; }
  .community-credit,
  .community-note small { font-size: 11px !important; }
  .ref-logo .wordmark small { font-size: 10px !important; }

  /* ---------- 3. Daumenfreundliche Knöpfe (mind. 44 px) ---------- */
  .btn,
  .contact-pill,
  .hero-video-start,
  .community-reel-launch,
  .community-links a,
  .community-clip-copy a,
  .community-clip-outbound,
  .origin-card a,
  .format-link,
  .video-caption a,
  .press-feature-copy a,
  .apprenticeship-copy a,
  .community-readmore a,
  .community-footer a,
  .community-proof-grid a {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    font-size: 13px !important;
  }
  .hero-video-source { font-size: 13px !important; padding: 10px 0; display: inline-block; }
  .form-submit { min-height: 52px; width: 100%; font-size: 15px !important; }

  /* Social-Icons oben: 35 → 42 px */
  header nav a[aria-label^="Steve Merson auf"] {
    width: 42px !important; height: 42px !important;
  }

  /* Formularfelder: 16 px verhindert, dass das iPhone beim Tippen hineinzoomt */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px !important; min-height: 48px; }

  /* Footer-Links waren nur 27 px hoch */
  .footer-links a { display: inline-flex !important; align-items: center; min-height: 44px; }
  /* zwei Hinweistexte standen noch bei 13,6 px */
  .form-hint, .parody-gallery p, .press-parody p { font-size: 15px !important; line-height: 1.45 !important; }

  /* Platz für die feste Leiste unten, damit sie den Footer nicht verdeckt */
  body { padding-bottom: 76px; }
}

/* ---------- 4. Feste "Anfragen"-Leiste unten ---------- */
.mk-leiste { display: none; }
@media (max-width: 700px) {
  .mk-leiste {
    display: flex;
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 50;
    gap: 8px;
    transform: translateY(140%);
    transition: transform .3s ease;
  }
  .mk-leiste[data-sichtbar] { transform: none; }
  .mk-leiste a {
    flex: 1;
    min-height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: #111; color: #fff;
    border: 2px solid #111;
    font: 900 14px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .mk-leiste a.mk-leiste__zweit {
    flex: 0 0 52px;
    background: #ffcf19; color: #111;
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk-leiste { transition: none; }
}

/* ---------- Media-Kit-Download (alle Bildschirmgrössen) ---------- */
.mk-download {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin: 28px 0 0;
}
.mk-download span {
  font: 700 13px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .04em; text-transform: uppercase; opacity: .65;
}
.mk-download--kontakt { margin-top: 18px; }
.mk-download--kontakt a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 900 14px/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase; letter-spacing: .03em;
  color: inherit; text-decoration: underline; text-underline-offset: 4px;
}
/* Steht im schwarzen Zahlen-Block: gelb statt schwarz, sonst unsichtbar */
.mk-download .btn {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
  min-height: 48px; display: inline-flex; align-items: center;
}
