:root {
  font-size: 16px;
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;

  --color-bg: #050816;
  --color-bg-elevated: #0b1024;
  --color-surface: rgba(5, 8, 22, 0.96);
  --color-surface-soft: rgba(8, 12, 30, 0.96);
  --color-border: #303656;

  --color-text: #f5f7ff;
  --color-text-muted: #d1d6f5;
  --color-text-soft: #a8b0dd;

  --color-accent: #4a90e2;
  --color-accent-soft: #283a6b;

  --color-status-ok: #15b67a;
  --color-status-warn: #f1c40f;
  --color-status-bad: #e74c3c;

  --color-panel-header-bg: rgba(0, 0, 0, 0.55);
  --color-panel-footer-bg: rgba(0, 0, 0, 0.85);

  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.35);

  --input-bg: #070b1b;
  --input-border: #434b72;
  --input-border-focus: #6b8cff;
  --input-text: #f5f7ff;

  --btn-bg: #1a213b;
  --btn-bg-hover: #242d50;
  --btn-border: #3b456e;
  --btn-text: #f5f7ff;

  --badge-bg: #141a33;
  --badge-border: #3b456e;

  --chart-bg: #050915;

  --alarm-bg: #8b0000;
  --alarm-border: #ff5555;
  --alarm-text: #ffffff;
}

/* Light Theme */
body.theme-light,
body[data-theme="light"] {
  --color-bg: #f5f7ff;
  --color-bg-elevated: #e0e5ff;
  --color-surface: #ffffff;
  --color-surface-soft: #ffffff;
  --color-border: #c0c4dd;

  --color-text: #111322;
  --color-text-muted: #33374a;
  --color-text-soft: #3a3a3a;

  --color-accent: #234f9b;
  --color-accent-soft: #dce3ff;

  --color-panel-header-bg: #ffffff;
  --color-panel-footer-bg: #ffffff;

  --input-bg: #ffffff;
  --input-border: #a4aad0;
  --input-border-focus: #234f9b;
  --input-text: #111322;

  --btn-bg: #edf1ff;
  --btn-bg-hover: #dce3ff;
  --btn-border: #a4aad0;
  --btn-text: #111322;

  --badge-bg: #e4e8ff;
  --badge-border: #a4aad0;

  --chart-bg: #eef1ff;

  --alarm-bg: #b30000;
  --alarm-border: #ff5555;
  --alarm-text: #ffffff;
}

/* Dark Theme explicit */
body.theme-dark,
body[data-theme="dark"] {
  --color-bg: #050816;
  --color-bg-elevated: #0b1024;
  --color-surface: rgba(5, 8, 22, 0.96);
  --color-surface-soft: rgba(8, 12, 30, 0.96);
  --color-border: #303656;

  --color-text: #f5f7ff;
  --color-text-muted: #d1d6f5;
  --color-text-soft: #a8b0dd;

  --color-accent: #4a90e2;
  --color-accent-soft: #283a6b;

  --color-panel-header-bg: rgba(0, 0, 0, 0.7);
  --color-panel-footer-bg: rgba(0, 0, 0, 0.85);

  --input-bg: #070b1b;
  --input-border: #434b72;
  --input-border-focus: #6b8cff;
  --input-text: #f5f7ff;

  --btn-bg: #1a213b;
  --btn-bg-hover: #242d50;
  --btn-border: #3b456e;
  --btn-text: #f5f7ff;

  --badge-bg: #141a33;
  --badge-border: #3b456e;

  --chart-bg: #050915;

  --alarm-bg: #8b0000;
  --alarm-border: #ff5555;
  --alarm-text: #ffffff;
}

/* BODY / LAYOUT */

body {
  margin: 20px;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
}

@media (max-width: 600px) {
  body {
    margin: 10px;
  }
}

/* Hintergrund-Ebene */

.bg-layer {
  position: fixed;
  inset: 0;
  background: url("/images/background.jpg") no-repeat center center fixed;
  background-size: cover;
  opacity: 0.35;
  z-index: -1;
}

body.theme-light .bg-layer,
body[data-theme="light"] .bg-layer {
  opacity: 0.15;
}

/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  background: var(--color-panel-header-bg);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.admin-session {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

@media (max-width: 720px) {
  .header-right {
    align-items: flex-start;
    width: 100%;
  }
}

/* Service-Control Button */

.btn-row-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-group-left,
.btn-group-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-group-right .danger {
  background-color: #a30000;
  border-color: #a30000;
  color: #ffffff;
}

.btn-group-right .danger:hover {
  background-color: #c00000;
  border-color: #c00000;
  color: #ffffff;
}

/* LANGUAGE & THEME TOGGLE */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-base);
}

.lang-switch button {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  cursor: pointer;
  font-size: var(--font-size-base);
}

.lang-switch button.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-size-base);
  color: var(--color-text-soft);
}

.theme-toggle button {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  cursor: pointer;
  font-size: var(--font-size-base);
}

.theme-toggle button.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

/* =======================
   WEATHER SPLIT (Admin)
   ======================= */

.weather-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.weather-config,
.admin-weather-view {
  min-width: 0;
}

@media (max-width: 980px) {
  .weather-split {
    grid-template-columns: 1fr;
  }
}

/* TYPOGRAPHIE */

h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

p {
  margin: 0.2rem 0;
  font-size: var(--font-size-base);
}

/* BUTTONS & INPUTS */

button {
  margin: 0.2rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--font-size-base);
  line-height: 1.2;
}

button:hover {
  background: var(--btn-bg-hover);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--font-size-base);
}

a:hover {
  text-decoration: underline;
}

input[type="password"],
.input-text,
select {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--input-text);
  font-size: 0.95rem;
  min-width: 220px;
}

select {
  min-width: 260px;
}

/* LAYOUT / PANELS */

.section {
  margin-bottom: 1.5rem;
}

.panel {
  border-radius: 10px;
  border: 1px solid var(--color-border);
  padding: 0.9rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
}

.label {
  font-size: var(--font-size-base);
  color: var(--color-text-soft);
  margin-bottom: 0.2rem;
}

.value {
  font-size: var(--font-size-base);
  margin-bottom: 0.4rem;
  word-break: break-word;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0;
}

/* STATUS DOTS */

.status-dot {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.status-ok {
  background: var(--color-status-ok);
}

.status-bad {
  background: var(--color-status-bad);
}

.status-warn {
  background: var(--color-status-warn);
}

/* ALARM */

.alarm-banner {
  margin-top: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  background: var(--alarm-bg);
  color: var(--alarm-text);
  border: 1px solid var(--alarm-border);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

.alarm-hidden {
  display: none;
}

/* MISC */

.small {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

pre {
  background: var(--color-surface-soft);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  padding: 0.7rem;
  max-height: 320px;
  overflow: auto;
  font-size: 0.85rem;
  white-space: pre-wrap;
}

/* DANGER BUTTON — unified style */

.danger {
  background-color: #a30000;
  border-color: #a30000;
  color: #ffffff;
}

.danger:hover {
  background-color: #c00000;
  border-color: #c00000;
  color: #ffffff;
}

/* ===== SYSTEM PANEL (OS + DASHBOARD + RUNTIME) ===== */

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 900px) {
  .system-grid {
    grid-template-columns: 1fr;
  }
}

.system-col {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

/* ===== Runtime monitor (read-only eye-candy) ===== */
.runtime-caption {
  font-size: 12px;
  opacity: 0.75;
  margin-top: -2px;
  margin-bottom: 10px;
}

.runtime-lines {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.runtime-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 3px 0;
}

.runtime-label {
  opacity: 0.9;
}

.runtime-bars {
  letter-spacing: 1px;
  opacity: 0.9;
  transition: opacity 400ms ease;
}

.runtime-footer {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* FOOTER */

.footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding: 0.8rem 1rem 1rem;
  background: var(--color-panel-footer-bg);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.footer p,
.footer-partners {
  font-size: 0.9rem;
  margin: 0;
}

.footer-partners {
  margin-bottom: 0.6rem;
}

.footer-logos {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: center;
  align-items: center;
}

/* Basis-Styles für Logos */
.footer-logos img {
  max-height: 32px;
  height: auto;
  width: auto;
}

/* Dark/Light-Switch für Logo-Varianten */
.footer-logo-dark,
.footer-logo-light {
  max-height: 32px;
  height: auto;
  width: auto;
}

/* Default: Dark-Theme → dunkle Logos sichtbar */
.footer-logo-dark {
  display: inline-block;
}
.footer-logo-light {
  display: none;
}

/* Light-Theme → helle Logos */
body.theme-light .footer-logo-dark,
body[data-theme="light"] .footer-logo-dark {
  display: none;
}

body.theme-light .footer-logo-light,
body[data-theme="light"] .footer-logo-light {
  display: inline-block;
}

.footer-tagline {
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-tagline span {
  display: block;
}

.footer-meta-row-center {
  display: flex;
  justify-content: center;
  margin-top: 0.3rem;
}

.footer-meta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.footer-bottom-row-center {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  justify-content: center;
  align-items: center;
}

.version-button {
  /* reset vs global button{} */
  margin: 0;
  padding: 0.25rem 0.6rem;
  line-height: normal;

  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);

  font-size: var(--font-size-base);
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}


.version-button:hover {
  background: var(--btn-bg-hover);
}

@media (max-width: 720px) {
  .footer-logos img {
    max-height: 28px;
  }
}

/* === Admin Maintenance Button Alignment Fix === */

/* === Admin Maintenance Button: force identical rendering === */
#maintenance-run-btn.version-button {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--font-size-base);
  cursor: pointer;

  /* kill platform default differences */
  appearance: none;
  -webkit-appearance: none;

  /* avoid layout quirks */
  line-height: normal;
  display: inline-block;
  box-shadow: none;
}
#maintenance-run-btn.version-button:hover {
  background: var(--btn-bg-hover);
}


/* Status-Text optisch angleichen */
#maintenance-status {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* VERSION MODAL */

.version-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.version-modal[hidden] {
  display: none;
}

.version-modal-content {
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  background: var(--color-surface);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  font-size: var(--font-size-base);
}

.version-modal-content h3 {
  font-size: var(--font-size-lg);
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.version-modal-content p,
.version-modal-content li {
  font-size: var(--font-size-base);
}

.version-modal-close {
  margin-top: 0.6rem;
  display: inline-flex;
  justify-content: center;
}

.version-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

/* ===== Header: Dashboard Logo left (only when enabled via class) ===== */
.brand.brand-with-logo {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.brand.brand-with-logo .dashboard-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
}

.brand.brand-with-logo .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem; /* passt zu deinem bestehenden spacing */
}

@media (max-width: 720px) {
  .brand-with-logo {
    align-items: flex-start;
  }
}

/* --- Sicherheits-Sperre für Admin-Elemente --- */

/* Buttons im gesperrten Zustand */
button:disabled, 
select:disabled,
input:disabled:not(#sudo-password) {
    cursor: not-allowed !important;
    filter: grayscale(0.8) brightness(0.7);
    opacity: 0.5 !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Spezialfall: Wenn wir pointer-events auf 'none' setzen, 
   sieht man den Cursor nicht. Wir nutzen 'auto' für den Container, 
   aber 'none' für die Klicks, damit das Verbotsschild erscheint. */
.panel button:disabled {
    pointer-events: none; /* Verhindert Klicks */
}

/* Der Logout-Button soll auch im eingeloggten Zustand 
   immer als 'aktiv' erkennbar sein */
#btn-logout:not(:disabled) {
    border-color: var(--secondary-color);
}

/* System Info Bar - Korrigiert auf deine CSS-Variablen */
.system-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 10px;

    /* Korrektur: Nutzt jetzt deine Variablen aus der admin.css */
    background: var(--color-surface); 
    border: 1px solid var(--color-border);
    border-radius: 10px; /* Exakt wie deine .panel Klasse */
    color: var(--color-text);
    
    font-family: var(--font-family-base);
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(4px);
}

.system-info-bar strong {
    /* Nutzt dein Blau für die Werte */
    color: var(--color-accent); 
}

/* Einheitliches NIS-2 & KRITIS Badge (High Contrast) */
.nis2-badge {
  display: inline-block;
  background-color: #008744; /* Sattes Sicherheits-Grün */
  color: #ffffff !important;   /* Weiß für Lesbarkeit */
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #005f30;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  white-space: nowrap; /* Verhindert unschöne Zeilenumbrüche im Badge */
}

.nis2-badge:hover {
  background-color: #00a854; /* Interaktion: Helleres Grün */
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  transform: translateY(-1px); /* Minimaler Lift-Effekt */
}

/* =========================================================
   Admin – Sensor Registry Table (theme-solid, non-transparent)
   ========================================================= */

.admin-table-container {
  border-radius: 6px;
  padding: 10px;
  overflow-x: auto;
}

/* ---------- DARK THEME ---------- */
body[data-theme="dark"] .admin-table-container {
  background: #0b1220; /* satt, nicht transparent */
}

body[data-theme="dark"] .admin-table {
  color: #ffffff;
}

/* ---------- LIGHT THEME ---------- */
body[data-theme="light"] .admin-table-container {
  background: #ffffff; /* sauber weiß */
}

body[data-theme="light"] .admin-table {
  color: #111111;
}

/* ---------- TABLE BASICS ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
}

.admin-table thead th {
  padding: 8px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body[data-theme="dark"] .admin-table thead th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-table tbody td {
  padding: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-theme="dark"] .admin-table tbody td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.04);
}

body[data-theme="dark"] .admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Enabled column emphasis */
.admin-table td:last-child {
  text-align: center;
  font-weight: 600;
}

/* ===== Runtime activity labels only (scoped) ===== */

.system-col .value .rt-bar {
  margin-top: 4px;
}

.system-col .value .rt-bar::before {
  content: attr(data-label);
  display: block;
  font-size: 12px;
  letter-spacing: 0.3px;
  opacity: 0.8;
  margin-bottom: 4px;
}

/* ===== Runtime bars: force solid fill ===== */
.rt-bar {
  height: 6px;
  padding: 0;
}

.rt-fill {
  display: block;
  height: 100%;
  min-height: 6px;   /* falls irgendwo height überschrieben wird */
  border-radius: 4px;
}

/* ===== Runtime activity – canonical bars (stable) ===== */

.rt-bar{
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.12);
  border-radius: 4px;
  margin: 4px 0 12px 0;
  overflow: hidden;
}

.rt-fill{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;              /* <- garantiert volle Balkenhöhe */
  width: 0%;              /* <- JS setzt Breite */
  background: rgba(0,0,0,0.75);
  border-radius: 4px;
  transition: width 600ms ease;
}

/* ===== Runtime activity – per-bar colors ===== */

/* buffer writes – data blue */
#rt-bw {
  background: linear-gradient(
    90deg,
    rgba(40, 90, 160, 0.9),
    rgba(40, 90, 160, 0.6)
  );
}

/* cache turnover – system green */
#rt-ct {
  background: linear-gradient(
    90deg,
    rgba(60, 140, 90, 0.9),
    rgba(60, 140, 90, 0.6)
  );
}

/* state sampling – analysis violet */
#rt-ss {
  background: linear-gradient(
    90deg,
    rgba(110, 80, 160, 0.9),
    rgba(110, 80, 160, 0.6)
  );
}

/* uptime variance – activity orange */
#rt-uv {
  background: linear-gradient(
    90deg,
    rgba(180, 110, 40, 0.9),
    rgba(180, 110, 40, 0.6)
  );
}

/* =========================================================
   ✅ MOBILE OPTIMIZATION (Fix für Ameisenschrift)
   ========================================================= */

@media (max-width: 600px) {
  /* 1. Abstände optimieren */
  body {
    margin: 10px;
    font-size: 14px; /* Etwas kleiner für Mobile, aber lesbar */
  }

  /* 2. Header stapeln */
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .header-right {
    align-items: center;
    margin-top: 10px;
  }

  /* 3. Grids in Stapel verwandeln */
  .system-grid, 
  .weather-split,
  .panel-row {
    grid-template-columns: 1fr !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* 4. Inputs & Buttons auf volle Breite */
  input[type="password"],
  .input-text,
  select,
  button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 5px 0;
    box-sizing: border-box;
    height: 44px; /* Besser für Daumen-Bedienung */
  }

  .btn-row, .btn-row-split {
    flex-direction: column;
    gap: 5px;
  }

  .btn-group-left, .btn-group-right {
    flex-direction: column;
    width: 100%;
  }

  /* 5. Die Tabelle scrollbar machen, ohne das Layout zu sprengen */
  .admin-table-container {
    margin: 0 -10px; /* Nutzt den vollen Rand des Handys */
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table {
    min-width: 500px; /* Tabelle bleibt breit, man wischt seitlich */
  }

  /* 6. System Info Bar (Footer) stapeln */
  .system-info-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* 7. Logos kleiner für Mobile */
  .footer-logos img {
    max-height: 22px;
  }
}
