/* dispolotse.de · LIVE page without long scrolling (lane RD-KARTE-SEITE-V2, 07.10.2026)
   Marco 07.10.: „das ist noch echt scrollerei" · „eine zahl dort würde vollkommen ausreichen" · no sideways tab bars.
   ① the map takes the whole width; under it ONE count line (karte.js .lk-zahlzeile) instead of the trip-list panel
   ② dealer tabs wrap (never a sideways strip, also on the phone)
   ③ each dealer tab = count tiles + the luxury scene(s) (live-szenen.js); works: picker + a ≤ 6-row sheet
   ④ „Wie reich ist der Händler?" sits at the bottom of the section (live.html order) */

/* ① */
.live-seite .live-blick { grid-template-columns: minmax(0, 1fr); }
.live-seite .live-blick > .lk-fl.lk-zahlzeile,
.live-seite .lk-fl.lk-zahlzeile { margin: 0; padding: 10px 16px; max-height: none; background: transparent; border: 0; box-shadow: none; }
.lk-zahlzeile p { margin: 0; font-size: 15px; color: var(--matt); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lk-zahlzeile b { color: var(--text); font-size: 18px; font-variant-numeric: tabular-nums; }

/* ② */
.live-seite .live-reiter { flex-wrap: wrap; overflow: visible; }
@media (max-width: 760px) {
  .live-seite .live-reiter { flex-wrap: wrap; overflow: visible; gap: 5px; }
  .live-seite .live-reiter button { padding: 6px 10px; font-size: 13px; gap: 6px; }
}

/* ③ */
.lsz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--ab-normal, 16px); align-items: center;
       padding: var(--ab-normal, 16px); border: 1px solid var(--rand); border-radius: var(--rd-karte, 14px); background: var(--karte); }
.lsz-links { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lsz-zahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.lsz-kachel { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--rand); border-radius: 10px; background: var(--mulde); min-width: 0; }
.lsz-kachel b { font-size: 24px; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.lsz-kachel span { font-size: 12.5px; color: var(--matt); line-height: 1.25; }
.lsz-kachel.lsz-haupt { border-color: var(--ton); }
.lsz-kachel.lsz-haupt b { color: var(--ton); font-size: 30px; }
.lsz-bilder { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.lsz-bild { min-height: 160px; display: flex; align-items: center; justify-content: center; }
.lsz-bild .sz-bild { width: 100%; max-height: 330px; }
.lsz-bild:not(.da) { border-radius: 12px; background: var(--mulde); }

/* works: one button per plant (wraps) + the detail sheet */
.lsz-wahl { display: flex; flex-wrap: wrap; gap: 6px; }
.lsz-wahl button { font: inherit; font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rand); background: var(--grund); color: var(--text); cursor: pointer; }
.lsz-wahl button small { color: var(--matt); font-size: 11.5px; }
.lsz-wahl button b { font-variant-numeric: tabular-nums; margin-left: 2px; }
.lsz-wahl button[aria-pressed="true"] { border-color: var(--ton); background: var(--tonhauch, rgba(240,160,42,.15)); }
.lsz-wahl button:focus-visible, .lsz-blatt button:focus-visible { outline: 2px solid var(--ton); outline-offset: 2px; }
.lsz-blatt { border: 1px solid var(--ton); border-radius: 12px; padding: 10px 12px; background: var(--grund); }
.lsz-blatt-kopf { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lsz-blatt-kopf span { color: var(--matt); font-size: 13px; }
.lsz-blatt-kopf .lsz-zu { margin-left: auto; }
.lsz-blatt button { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--rand); background: var(--mulde); color: var(--text); cursor: pointer; }
.lsz-blatt button[disabled] { opacity: .45; cursor: default; }
.lsz-zeilen { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lsz-zeilen li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; gap: 2px 8px; font-size: 13.5px; padding: 4px 0; border-top: 1px solid var(--naht, var(--rand)); }
.lsz-z-kopf { color: var(--matt); }
.lsz-z-text { min-width: 0; overflow-wrap: anywhere; }
.lsz-z-pz { font-variant-numeric: tabular-nums; color: var(--ton); text-align: right; }
.lsz-z-rest { grid-column: 2 / 4; color: var(--matt); font-size: 12px; }
.lsz-z-rest:empty { display: none; }
.lsz-balken { display: block; height: 4px; border-radius: 2px; background: var(--rand); margin-top: 3px; overflow: hidden; }
.lsz-balken > i { display: block; height: 100%; width: 0; background: var(--ton); }
.lsz-seiten { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--matt); }
.lsz-leer { margin: 8px 0 0; color: var(--matt); font-size: 13.5px; }

@media (max-width: 760px) {
  .lsz { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .lsz-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsz-kachel { padding: 8px 10px; }
  .lsz-kachel b { font-size: 20px; }
  .lsz-kachel.lsz-haupt b { font-size: 24px; }
  .lsz-bild { min-height: 120px; }
  .lsz-bild .sz-bild { max-height: 230px; }
  .lsz-bilder.lsz-n2 { grid-auto-flow: row; grid-auto-columns: auto; }
  .lsz-bilder.lsz-n2 .sz-bild { max-height: 190px; }
  .lsz-mit-blatt .lsz-bilder { display: none; }   /* phone: an open plant sheet replaces the picture (height) */
}
