/* Handyfassung der Stadtdomains sprinklertank-<stadt>.de (02.12.2026), gleiches Prinzip wie
   sprinklertank-inspektion.de: eine Seite, ein HTML. Bis 760 px: Karten → Zeilen, Nebenblöcke hinter
   „Alle Details anzeigen“ (body.m-alles), feste Leiste Anrufen/Anfrage. Bewertung A–F bleibt vollständig. */
.m-leiste, .m-details { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .m-leiste { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--farbe-dunkel, #1b2427); box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
  .m-leiste a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; }
  .m-leiste-tel { background: var(--farbe-lime, #d5f578); color: #111; }
  .m-leiste-anfrage { color: #fff; border: 2px solid #fff; }
  .wp-widget { bottom: 84px; }
  .wp-widget:not(.wp-open) { display: none; }
  .bs { padding-block: 40px !important; }

  /* Stufe 3: hinter „Alle Details“ */
  #schmerz, #quiz-abschnitt, #leitfaden, #bericht, #wasser { display: none !important; }
  body.m-alles #schmerz, body.m-alles #quiz-abschnitt, body.m-alles #leitfaden, body.m-alles #bericht, body.m-alles #wasser { display: block !important; }
  .m-details { display: block; padding: 22px 16px; text-align: center; }
  .m-details button { font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 10px; border: 2px solid #111; background: #fff; color: #111; width: 100%; }
  body.m-alles .m-details { display: none; }

  /* Hero: H1, drei Häkchen; Knöpfe stecken in der Leiste */
  .bs-typ-hero .bs-hero-lead, .bs-typ-hero .bs-knoepfe { display: none !important; }
  /* Hero wie auf der Hauptseite: ohne Foto, Text unten, 28 px über der Kante */
  .bs-typ-hero { min-height: 66svh !important; display: flex !important; flex-direction: column; justify-content: flex-end; padding-bottom: 0 !important; }
  .bs-typ-hero .sd-hero-bild { display: none !important; }
  .bs-typ-hero .bs-hero-text { margin-top: auto !important; padding-bottom: 28px !important; min-height: 0 !important; }
  .bs-typ-hero .bs-hero-text > div > :last-child { margin-bottom: 0 !important; }
  .sd-hero-haken li:nth-child(n+4) { display: none; }

  /* Kunden: drei sichtbar, alle rollen senkrecht durch */
  .sd-kunden ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-rows: 56px; row-gap: 0 !important; column-gap: 10px; height: 56px; overflow: hidden; }
  .sd-kunden ul > li { display: flex !important; align-items: center; justify-content: center; height: 56px; margin: 0 !important; }

  /* Pflicht: drei Zeilen */
  #pflicht .bs-einleitung, .sd-intervall p, .sd-intervall .sd-chip, .sd-merksatz { display: none !important; }
  .sd-intervalle { display: block !important; }
  .sd-intervall { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; padding: 12px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--linie, #e3e6e4) !important; border-radius: 0 !important; background: none !important; }
  .sd-intervall h3 { margin: 0 !important; font-size: 1.05rem; }
  .sd-intervall .sd-jahre { flex: 0 0 110px; margin: 0 !important; font-size: 30px; }

  /* Lösung: nur „Mit Unterwasserdrohne“ als Häkchenliste */
  .sd-methoden { display: block !important; }
  .sd-methode:not(.sd-gut), .sd-methode-kopf, .sd-zeilen small { display: none !important; }
  .sd-methode { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
  .sd-zeilen li { padding: 6px 0 !important; }

  /* Musterbericht: Überschrift + Knopf */
  #musterbericht .wpb-bild, #musterbericht .wpb-lead, #musterbericht ul { display: none; }

  /* Leistungen nach der Inspektion: Liste */
  #leistungen .bs-einleitung, #leistungen .bs-karte p, #leistungen .bs-karte .bs-link { display: none !important; }
  #leistungen .karten { display: block !important; }
  #leistungen .bs-karte { display: flex !important; flex-direction: row !important; text-align: left !important; justify-content: flex-start !important; align-items: center; gap: 12px; padding: 10px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--linie, #e3e6e4) !important; border-radius: 0 !important; }
  #leistungen .bs-karte h3 { margin: 0 !important; font-size: 1rem; }

  /* Team: Gesichter in einer Reihe */
  .sd-team { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: center; gap: 0 !important; margin: 18px 0 !important; }
  .sd-team li { width: auto !important; margin: 0 -6px !important; }
  .sd-team li strong, .sd-team li span { display: none !important; }
  .sd-team img { width: 64px !important; height: 64px !important; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }

  /* FAQ: sechs Fragen */
  #fragen .bs-faq details:nth-of-type(n+7) { display: none; }
  body.m-alles #fragen .bs-faq details { display: block; }

  /* Fuß: Stadt- und Themenlisten zu (bleiben im HTML) */
  .sd-fuss .sd-fuss-links { display: none !important; }

  /* Kontakt: Knöpfe stecken in der Leiste */
  #kontakt .aufrufe { display: none !important; }
}
