/* „Wo ist meine Bestellung?“ (2026-11-01) – /bestellung (privat/seiten/bestellung.php). Formular wie die Widerrufsfunktion (widerruf.css,
   Klassen wr-*), dazu Kopf, Termin, Schrittleiste, Sendung und Artikel. Handy zuerst (375 px); Zustand jedes Schritts steht als Text da,
   Farbe und Symbol helfen nur zusätzlich. Farben aus shop.css/farben.css (Werkstatt). */
@import url("/static/shop/css/widerruf.css");

/* Chat (Crisp) lädt auf dieser Seite nicht (eigene CSP ohne fremde Adressen) – den Knopf dafür gar nicht erst zeigen */
.frag-weg[data-frag="chat"], [data-frag="chat-hinweis"] { display: none !important; }

.bst-form { max-width: 560px; }
.bst-klein { margin: 10px 0 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Martin mit einer Zeile */
.bst-martin { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px !important; font-size: 15px; color: var(--ink-2); }
.bst-martin .martin-kopf img { display: block; border-radius: 50%; }

/* Kopf mit dem aktuellen Stand */
.bst-kopf { margin: 0 0 14px; padding: 16px 18px; border-radius: var(--r); background: var(--petrol-l); border-left: 5px solid var(--petrol); }
.bst-kopf.bst-fertig { background: #e8f5ec; border-left-color: #2e7d4f; }
.bst-kopf.bst-storniert { background: var(--bg-2); border-left-color: var(--muted); }
.bst-hallo { margin: 0 0 4px !important; font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.bst-nr { white-space: nowrap; color: var(--ink); }
.bst-fn { white-space: nowrap; color: var(--muted); }
.rechtstext .bst-stand, .bst-stand { margin: 2px 0 6px; font: 800 22px/1.25 var(--titel); color: var(--ink); }
.bst-satz { margin: 0 !important; font-size: 16px; }

/* Termin */
.bst-termin { margin: 0 0 6px !important; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); font-size: 15.5px; }
.bst-termin-titel { font-weight: 700; }
.bst-termin-spaet { background: #fff4e5; border-left: 4px solid #b26a00; color: #4a2c00; }

/* Schrittleiste: senkrecht (Handy und PC) – gut lesbar, Datum je Schritt */
.rechtstext h2.bst-unter, .bst-unter { margin: 22px 0 10px; font: 700 17px/1.3 var(--titel); color: var(--ink); }
.bst-schritte { list-style: none; margin: 0; padding: 0; }
.bst-schritt { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0 !important; padding: 0 0 16px; }
.bst-schritt:last-child { padding-bottom: 0; }
/* Linie zwischen den Punkten */
.bst-schritt:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 3px; border-radius: 2px; background: var(--line); }
.bst-erledigt:not(:last-child)::before { background: var(--petrol); }
.bst-punkt { flex: none; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 3px solid var(--line); background: #fff; color: #fff; }
.bst-erledigt .bst-punkt { border-color: var(--petrol); background: var(--petrol); }
.bst-aktuell .bst-punkt { border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-l); }
.bst-aktuell .bst-punkt::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--petrol); }
.bst-schritt-text { display: flex; flex-direction: column; padding-top: 3px; }
.bst-schritt-titel { font: 700 16px/1.3 var(--titel); color: var(--ink); }
.bst-offen .bst-schritt-titel { font-weight: 600; color: var(--muted); }
.bst-schritt-zeit { font-size: 14px; color: var(--ink-2); }
.bst-offen .bst-schritt-zeit { color: var(--muted); }
.bst-aktuell .bst-schritt-zeit { font-weight: 600; color: var(--petrol-d); }

/* Sendung */
.bst-sendung { margin: 18px 0 0; padding: 4px 18px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--papier, #fff); }
.bst-sendung p { margin: 8px 0 !important; }
.bst-sn { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; overflow-wrap: anywhere; }
.rechtstext a.bst-dhl { width: 100%; justify-content: center; color: #fff; text-decoration: none; }

.bst-hinweis { margin: 16px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: var(--petrol-l); }
.bst-artikel { margin: 0; padding-left: 0; list-style: none; }
.bst-artikel li { margin: 0 !important; padding: 8px 0; border-top: 1px solid var(--line); }
.bst-artikel li:first-child { border-top: 0; }
.bst-menge { display: inline-block; min-width: 2.6em; font-weight: 700; color: var(--ink-2); }

@media (min-width: 641px) {
  .bst-kopf { padding: 20px 24px; }
  .rechtstext .bst-stand, .bst-stand { font-size: 26px; }
  .rechtstext a.bst-dhl { width: auto; min-width: 260px; }
}
@media print {
  .bst-dhl, .bst-martin { display: none !important; }
  .bst-kopf, .bst-termin { border: 1px solid #999; }
}
