/* Update-Verwaltung – Design „Risser“ (Farben, Radien und Schatten aus dem Risser-Design; liegt über verwaltung.css).
   Schrift: Open Sans, wenn auf dem Gerät vorhanden, sonst Segoe UI / Systemschrift – es wird nichts von außen geladen. */
:root {
  --brand-dark: #0c041b; --brand-cyan: #48d3e5; --brand-mint: #1deda7;
  --brand-gradient: linear-gradient(135deg, #0c041b 0%, #48d3e5 100%);
  --hg: #f9fafb; --karte: #fff; --text: #1f2937; --heading: #111827; --leise: #6b7280; --rand: #e5e7eb;
  --akzent: #147d8b; --akzent-dunkel: #106570; --akzent-text: #0f616b; --akzent-hell: #edfbfc; --fokus: rgba(72, 211, 229, .25);
  --neg: #b91c1c; --ok-farbe: #086948;
  --radius: 8px; --schatten: 0 1px 3px rgba(12, 4, 27, .05), 0 4px 20px rgba(12, 4, 27, .07);
  --schrift: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hg: #12151b; --karte: #1a1e26; --text: #d3d7de; --heading: #eaedf2; --leise: #979da8; --rand: #2e333f;
    --akzent: #48d3e5; --akzent-dunkel: #7fe3f0; --akzent-text: #48d3e5; --akzent-hell: rgba(72, 211, 229, .14);
    --neg: #ff7b7b; --ok-farbe: #1deda7; --schatten: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 20px rgba(0, 0, 0, .34);
  }
}
body { font-family: var(--schrift); }
h1, h2, h3 { font-family: var(--schrift); color: var(--heading); }
h3 { color: var(--leise); }
h2.produkt { border-bottom-color: var(--brand-cyan); }
a { color: var(--akzent-text); }

/* Kopfzeile: dunkler Farbverlauf mit feinem Punktmuster */
header {
  background: var(--brand-gradient); border-bottom: 0; color: #fff;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px), var(--brand-gradient); background-size: 22px 22px, auto;
  box-shadow: 0 4px 24px rgba(12, 4, 27, .18);
}
header h1 { color: #fff; letter-spacing: .02em; }
header a { color: #fff; }
nav a { padding: .25rem .7rem; border-radius: 20px; opacity: .9; }
nav a:hover { background: rgba(12, 4, 27, .35); opacity: 1; }
nav a.aktiv { background: rgba(12, 4, 27, .45); border: 1px solid rgba(255, 255, 255, .3); text-decoration: none; opacity: 1; }

/* Karten und Tabellen */
.tabelle, .karte, .meldung { border-radius: var(--radius); box-shadow: var(--schatten); }
.tabelle, .karte { border-color: var(--rand); }
th { background: var(--akzent-hell); color: var(--akzent-text); font-weight: 600; }
tr:hover td { background: var(--akzent-hell); }
.meldung { border-left-color: var(--brand-mint); }

/* Eingaben und Knöpfe */
input, select { border-radius: var(--radius); background: var(--karte); }
input:focus, select:focus { outline: 0; border-color: var(--brand-cyan); box-shadow: 0 0 0 3px var(--fokus); }
button { background: var(--akzent); border-color: var(--akzent); border-radius: var(--radius); font-family: var(--schrift); font-weight: 600;
  box-shadow: 0 4px 14px rgba(20, 125, 139, .28); transition: background .18s ease, transform .18s ease; }
button:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); }
button.klein { background: transparent; color: var(--akzent-text); box-shadow: none; }
button.klein:hover { background: var(--akzent-hell); }
@media (prefers-color-scheme: dark) { button { color: #0c041b; } button.klein { color: var(--akzent-text); } }
.neg { color: var(--neg); } .ok { color: var(--ok-farbe); }
nav.gruppen { border-bottom-color: var(--rand); }
nav.gruppen a { color: var(--akzent-text); border-radius: 0; background: transparent; border-width: 0 0 3px; opacity: 1; }
nav.gruppen a:hover { background: var(--akzent-hell); }
nav.gruppen a.aktiv { color: var(--heading); background: transparent; border-color: transparent; border-bottom-color: var(--brand-cyan); }
.hinweis { border-radius: var(--radius); }
