/* Gemeinsame Grundlagen für ALLE Seiten und Tools: Farben, Schrift, Kopfzeile, Fußzeile */
/* ============ Design-Tokens (hier zentral ändern) ============ */
:root {
  --bg:        #070B14;   /* Tiefe */
  --panel:     #0D1424;   /* Karten */
  --panel-hi:  #121C33;   /* Karten bei Hover */
  --line:      #1E2A45;   /* Linien */
  --text:      #E6ECF8;   /* Haupttext */
  --muted:     #8392B3;   /* Nebentext */
  --accent:    #5EEAD4;   /* Leuchtfarbe */
  --accent-dim:#5EEAD41F;
  --warn:      #FBBF24;
  --radius:    14px;
  --font: "Segoe UI Variable Display", "SF Pro Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { color-scheme: dark; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Feines Raster im Hintergrund, nach unten ausblendend */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ============ Kopfzeile ============ */
header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .02em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 0 18px var(--accent-dim), inset 0 0 10px var(--accent-dim);
}
.brand-mark::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.clock { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

footer { margin: 80px 0 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }


@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
