/* Status-Farben und -Symbole für Hinweis- und Meldungsboxen
   (Bestellformular, Bestätigung, Admin, Login, Setup, Debug) — eine Quelle
   statt hartkodierter Werte je Seite.

   Boxen: getönter Hintergrund, 1-px-Rahmen rundum und ein gezeichnetes
   Symbol statt farbigem Randstreifen — der Status hängt so nicht allein an
   der Farbe. Symbol als Maske auf einem ::before mit background-color, z. B.
     -webkit-mask: var(--symbol-ok) center / contain no-repeat;
             mask: var(--symbol-ok) center / contain no-repeat; */
:root {
    --status-ok-bg:     #e9f7f0;  --status-ok-rand:   #b9e3cf;  --status-ok-text:   #0a6640;  --status-ok:   #00794f;
    --status-err-bg:    #fdecea;  --status-err-rand:  #f3c0c6;  --status-err-text:  #8a1018;  --status-err:  #c70021;
    --status-warn-bg:   #fff8e0;  --status-warn-rand: #f1dc94;  --status-warn-text: #6b5200;  --status-warn: #946f00;

    --symbol-ok:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E");
    --symbol-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5M12 7.5h.01'/%3E%3C/svg%3E");
    --symbol-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5L2.5 20h19z'/%3E%3Cpath d='M12 10v4.5M12 17.2h.01'/%3E%3C/svg%3E");
    --symbol-err:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
}

/* Kontrastmodus (Windows „Hoher Kontrast"): Hintergrundfarben werden dort
   auf Canvas gezwungen — die Masken-Symbole wären unsichtbar. Systemfarbe
   setzen und das Erzwingen für genau diese Pseudo-Elemente abschalten.
   Gilt für alle Seiten, die diese Datei einbinden. */
@media (forced-colors: active) {
    .hinweis::before, .karte-hinweis::before, .flash::before, .msg::before, .danger::before,
    .err::before, .info::before, .kpi .label::before {
        forced-color-adjust: none;
        background-color: CanvasText !important;
    }
}
