/* Netceed Forum – "KI/Space"-Design: tiefes All, Aurora-Nebel, Glas-Karten,
   Neon-Verläufe. Animationen werden bei prefers-reduced-motion abgeschaltet. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --all: #05060f;
  --all-2: #0a0d1f;
  --glas: rgba(18, 22, 48, 0.55);
  --glas-hell: rgba(32, 38, 78, 0.6);
  --rand: rgba(140, 160, 255, 0.14);
  --rand-hell: rgba(140, 200, 255, 0.35);
  --text: #e7ebff;
  --leise: #8d96c2;
  --cyan: #22e3ff;
  --violett: #8b5cff;
  --magenta: #ff3cac;
  --gruen: #2dffb3;
  --gelb: #ffd166;
  --rot: #ff5c7a;
  --verlauf: linear-gradient(120deg, var(--cyan), var(--violett) 55%, var(--magenta));
  --radius: 16px;
  --schrift: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--all); }

body {
  font-family: var(--schrift);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139, 92, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(34, 227, 255, 0.18), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 60, 172, 0.14), transparent 60%),
    var(--all);
  overflow-x: hidden;
  position: relative;
}

/* Sternenfeld (zwei Ebenen, driften langsam) */
body::before, body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: -1;
  background-repeat: repeat;
}
body::before {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, #9feaff, transparent),
    radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 380px 220px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60px 260px, #d4bfff, transparent);
  background-size: 420px 320px;
  opacity: 0.55;
  animation: drift 160s linear infinite;
}
body::after {
  background-image:
    radial-gradient(1px 1px at 50px 100px, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 250px 20px, rgba(159,234,255,.6), transparent),
    radial-gradient(2px 2px at 150px 200px, rgba(255,60,172,.5), transparent);
  background-size: 300px 260px;
  opacity: 0.4;
  animation: drift 90s linear infinite reverse;
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-300px, -200px, 0); } }

/* Aurora-Nebel hinter dem Inhalt */
.aurora {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden;
}
.aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.22; mix-blend-mode: screen;
  animation: schweben 28s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: var(--violett); top: -20vmax; left: -10vmax; }
.aurora span:nth-child(2) { background: var(--cyan); top: 20vmax; right: -25vmax; animation-duration: 34s; }
.aurora span:nth-child(3) { background: var(--magenta); bottom: -30vmax; left: 20vmax; animation-duration: 40s; opacity: 0.14; }
@keyframes schweben {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vmax, 6vmax) scale(1.15); }
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-shadow: 0 0 12px rgba(34, 227, 255, 0.7); }
::selection { background: rgba(139, 92, 255, 0.5); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.85rem 1.5rem;
  background: rgba(5, 6, 15, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--rand);
}
.kopf::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--verlauf); opacity: 0.6;
}
.marke {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.marke:hover { text-shadow: none; }
.marke .kern {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 40%, var(--violett));
  box-shadow: 0 0 12px var(--cyan), 0 0 28px var(--violett);
  animation: puls 2.8s ease-in-out infinite;
}
.marke .verlauf-text { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.75; } }

.kopf nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.kopf nav a, .kopf nav button {
  color: var(--leise); background: none; border: 1px solid transparent; border-radius: 999px;
  padding: 0.35rem 0.85rem; font: inherit; font-size: 0.92rem; cursor: pointer; transition: all 0.2s;
}
.kopf nav a:hover, .kopf nav button:hover { color: var(--text); border-color: var(--rand-hell); text-shadow: none; }
.kopf nav a.hier { color: var(--text); background: var(--glas-hell); border-color: var(--rand-hell); box-shadow: 0 0 18px rgba(34, 227, 255, 0.15); }
.kopf .wer { color: var(--leise); font-size: 0.85rem; padding: 0 0.5rem; }

/* ---------- Layout ---------- */
.inhalt { max-width: 1120px; margin: 2rem auto 4rem; padding: 0 1.25rem; position: relative; }
.schmal { max-width: 440px; margin: 9vh auto; padding: 0 1rem; position: relative; }

h1 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
h1.verlauf, .verlauf-text { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; }
.leise { color: var(--leise); font-size: 0.88rem; }
.text { white-space: pre-wrap; word-wrap: break-word; }
.mono, code { font-family: var(--mono); font-size: 0.85em; }
.nr { font-family: var(--mono); color: var(--leise); font-size: 0.85em; margin-right: 0.35rem; }

.zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.aktionen { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ---------- Glas-Karten ---------- */
.karte {
  position: relative;
  background: var(--glas);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: auftauchen 0.5s ease both;
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.karte.klickbar { cursor: pointer; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.karte.klickbar::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--verlauf); opacity: 0; transition: opacity 0.25s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.karte.klickbar:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 92, 255, 0.18); }
.karte.klickbar:hover::before { opacity: 1; }
.karte.ausgeblendet { opacity: 0.5; border-style: dashed; }

/* Leuchtender Rand links je Beitragsart / Zustand */
.karte.art-anmerkung { border-left: 3px solid var(--rot); box-shadow: -6px 0 24px -12px var(--rot), 0 10px 40px rgba(0,0,0,.35); }
.karte.art-umsetzung { border-left: 3px solid var(--violett); box-shadow: -6px 0 24px -12px var(--violett), 0 10px 40px rgba(0,0,0,.35); }
.karte.art-publish   { border-left: 3px solid var(--cyan); box-shadow: -6px 0 24px -12px var(--cyan), 0 10px 40px rgba(0,0,0,.35); }
.karte.art-abnahme   { border-left: 3px solid var(--gruen); box-shadow: -6px 0 24px -12px var(--gruen), 0 10px 40px rgba(0,0,0,.35); }
.karte.art-duplikat  { border-left: 3px solid var(--leise); }
.art-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-right: 0.5rem; }
.art-anmerkung .art-label { color: var(--rot); }
.art-umsetzung .art-label { color: var(--violett); }
.art-publish .art-label   { color: var(--cyan); }
.art-abnahme .art-label   { color: var(--gruen); }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 500; font-size: 0.88rem; color: var(--leise); margin: 0.85rem 0 0.35rem; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rand);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: rgba(5, 8, 24, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s;
}
select option { background: var(--all-2); color: var(--text); }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5b6390; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 227, 255, 0.15), 0 0 24px rgba(34, 227, 255, 0.12);
}
.check { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 400; }
input[type=checkbox], input[type=radio] { accent-color: var(--cyan); }

/* ---------- Knöpfe ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; border-radius: 999px; border: none;
  background: var(--verlauf); background-size: 200% 100%;
  color: #05060f; font: inherit; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 0 20px rgba(139, 92, 255, 0.35);
  transition: background-position 0.5s, transform 0.15s, box-shadow 0.25s;
}
.btn:hover { background-position: 100% 0; box-shadow: 0 0 32px rgba(34, 227, 255, 0.5); transform: translateY(-1px); text-shadow: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn.zweit {
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  border: 1px solid var(--rand-hell); box-shadow: none;
}
.btn.zweit:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 227, 255, 0.25); }
.btn.klein { padding: 0.32rem 0.8rem; font-size: 0.82rem; }
select.btn { appearance: none; width: auto; padding-right: 1.6rem; }

/* ---------- Filter-Chips ---------- */
.filter { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.filter button {
  border: 1px solid var(--rand); background: rgba(255, 255, 255, 0.02); color: var(--leise);
  border-radius: 999px; padding: 0.35rem 0.95rem; cursor: pointer; font: inherit; font-size: 0.88rem; transition: all 0.2s;
}
.filter button:hover { color: var(--text); border-color: var(--rand-hell); }
.filter button.aktiv {
  color: var(--text); border-color: transparent;
  background: linear-gradient(var(--all-2), var(--all-2)) padding-box, var(--verlauf) border-box;
  border: 1px solid transparent; box-shadow: 0 0 18px rgba(139, 92, 255, 0.3);
}
.filter .zahl { font-family: var(--mono); font-size: 0.78em; opacity: 0.8; margin-left: 0.3rem; }

/* ---------- Badges / Status-Pillen ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem; vertical-align: middle;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.15rem 0.6rem; border-radius: 999px; margin-left: 0.35rem;
  background: rgba(139, 160, 255, 0.12); color: #b9c3ff; border: 1px solid rgba(139, 160, 255, 0.2);
}
.badge.team { background: rgba(139, 92, 255, 0.2); color: #d2c2ff; border-color: rgba(139, 92, 255, 0.45); }
.badge.warn { background: rgba(255, 209, 102, 0.12); color: var(--gelb); border-color: rgba(255, 209, 102, 0.35); }
.badge.grau { background: rgba(255, 255, 255, 0.05); color: var(--leise); border-color: var(--rand); }

.pille {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.76rem; font-weight: 600; padding: 0.18rem 0.65rem 0.18rem 0.5rem; border-radius: 999px;
  border: 1px solid currentColor; background: rgba(0, 0, 0, 0.25); white-space: nowrap;
}
.pille::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pille .wer { color: var(--leise); font-weight: 500; }
.pille.ld2-offen         { color: var(--magenta); }
.pille.ld2-programmiert  { color: var(--violett); }
.pille.ld2-published     { color: var(--cyan); }
.pille.kunde-warten      { color: #6b7399; }
.pille.kunde-zu_testen   { color: var(--gelb); }
.pille.kunde-zu_testen::before, .pille.ld2-offen::before { animation: blink 1.6s ease-in-out infinite; }
.pille.kunde-ok          { color: var(--gruen); }
.pille.kunde-zurueck     { color: var(--rot); }
@keyframes blink { 50% { opacity: 0.25; } }
.status-paar { display: inline-flex; gap: 0.4rem; flex-wrap: wrap; }

.prio { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.1rem 0.5rem; border-radius: 6px; }
.prio.hoch    { color: #05060f; background: linear-gradient(90deg, var(--magenta), var(--rot)); box-shadow: 0 0 14px rgba(255, 60, 172, 0.45); }
.prio.niedrig { color: var(--leise); border: 1px solid var(--rand); }

.dran { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dran.ld2    { color: var(--magenta); }
.dran.kunde  { color: var(--gelb); }
.dran.fertig { color: var(--gruen); }

/* ---------- Meldungen ---------- */
.meldung { padding: 0.75rem 1rem; border-radius: 10px; margin: 0.75rem 0; border: 1px solid; }
.meldung.fehler { background: rgba(255, 92, 122, 0.1); color: #ffb3c1; border-color: rgba(255, 92, 122, 0.35); }
.meldung.ok { background: rgba(45, 255, 179, 0.08); color: #a8ffdf; border-color: rgba(45, 255, 179, 0.3); }

/* ---------- Übersicht / Fortschritt ---------- */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.kachel {
  background: var(--glas); border: 1px solid var(--rand); border-radius: 14px; padding: 0.9rem 1rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; transition: all 0.2s;
  animation: auftauchen 0.5s ease both;
}
.kachel:hover { border-color: var(--rand-hell); transform: translateY(-2px); }
.kachel .wert { font-size: 2rem; font-weight: 700; font-family: var(--mono); line-height: 1.1; }
.kachel .titel { color: var(--leise); font-size: 0.82rem; }
.kachel.ld2 .wert    { color: var(--magenta); text-shadow: 0 0 18px rgba(255, 60, 172, 0.5); }
.kachel.prog .wert   { color: var(--violett); text-shadow: 0 0 18px rgba(139, 92, 255, 0.6); }
.kachel.kunde .wert  { color: var(--gelb); text-shadow: 0 0 18px rgba(255, 209, 102, 0.45); }
.kachel.fertig .wert { color: var(--gruen); text-shadow: 0 0 18px rgba(45, 255, 179, 0.45); }
.kachel.zurueck .wert{ color: var(--rot); text-shadow: 0 0 18px rgba(255, 92, 122, 0.45); }

.fortschritt { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; position: relative; border: 1px solid var(--rand); }
.fortschritt .balken {
  height: 100%; border-radius: inherit; background: var(--verlauf); background-size: 200% 100%;
  box-shadow: 0 0 20px rgba(34, 227, 255, 0.6); transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
  animation: fliessen 3s linear infinite;
}
.fortschritt .balken::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%); animation: glanz 2.4s ease-in-out infinite;
}
@keyframes fliessen { to { background-position: 200% 0; } }
@keyframes glanz { to { transform: translateX(100%); } }
.fortschritt-zahl { font-family: var(--mono); font-size: 2.4rem; font-weight: 700; }

/* ---------- Reaktionen ---------- */
.reaktionen { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.reaktion {
  border: 1px solid var(--rand); background: rgba(255, 255, 255, 0.02); color: var(--leise);
  border-radius: 999px; padding: 0.22rem 0.8rem; cursor: pointer; font: inherit; font-size: 0.85rem; transition: all 0.2s;
}
.reaktion:hover { color: var(--text); border-color: var(--rand-hell); }
.reaktion.an { color: #05060f; background: var(--verlauf); border-color: transparent; box-shadow: 0 0 14px rgba(139, 92, 255, 0.45); }

/* ---------- Bilder ---------- */
.bilder { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.bilder img {
  width: 170px; height: 115px; object-fit: cover; cursor: zoom-in;
  border: 1px solid var(--rand); border-radius: 10px; background: #0b0f26; transition: all 0.25s;
}
.bilder img:hover { border-color: var(--cyan); box-shadow: 0 0 22px rgba(34, 227, 255, 0.35); transform: scale(1.03); }
.vorschau { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0; }
.vorschau div { position: relative; }
.vorschau img { width: 120px; height: 80px; object-fit: cover; border: 1px solid var(--rand-hell); border-radius: 10px; }
.vorschau button {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: var(--magenta); color: #fff; cursor: pointer; font-size: 0.72rem; box-shadow: 0 0 10px var(--magenta);
}
.lightbox {
  position: fixed; inset: 0; z-index: 100; cursor: zoom-out;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 4, 12, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: auftauchen 0.25s ease both;
}
.lightbox img { max-width: 95vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 0 60px rgba(139, 92, 255, 0.35); background: #fff; }

/* ---------- Tabellen ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--rand); vertical-align: top; }
th { color: var(--leise); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
tr:hover td { background: rgba(255, 255, 255, 0.015); }
.tabelle-scroll { overflow-x: auto; }

.link-box { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.link-box input { font-family: var(--mono); font-size: 0.82rem; }

/* ---------- Verlauf / Arbeitsablauf ---------- */
.commit {
  font-family: var(--mono); font-size: 0.82rem; padding: 0.15rem 0.55rem; border-radius: 6px;
  background: rgba(139, 92, 255, 0.12); color: #cdbdff; border: 1px solid rgba(139, 92, 255, 0.3);
}
.status-wechsel { font-size: 0.82rem; color: var(--leise); margin-top: 0.5rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.status-hinweis {
  margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 12px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--rand);
}
.status-hinweis.dran-ld2    { border-color: rgba(255, 60, 172, 0.35); }
.status-hinweis.dran-kunde  { border-color: rgba(255, 209, 102, 0.4); box-shadow: 0 0 24px -8px rgba(255, 209, 102, 0.4); }
.status-hinweis.dran-fertig { border-color: rgba(45, 255, 179, 0.4); box-shadow: 0 0 24px -8px rgba(45, 255, 179, 0.4); }

.arten { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.arten label {
  margin: 0; display: flex; gap: 0.45rem; align-items: center; cursor: pointer;
  color: var(--text); font-weight: 500; padding: 0.5rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--rand); background: rgba(255, 255, 255, 0.02); transition: all 0.2s;
}
.arten label:hover { border-color: var(--rand-hell); }
.arten label:has(input:checked) {
  background: linear-gradient(rgba(10, 13, 31, 0.9), rgba(10, 13, 31, 0.9)) padding-box, var(--verlauf) border-box;
  border: 1px solid transparent; box-shadow: 0 0 20px rgba(139, 92, 255, 0.3);
}

/* Ablauf-Leiste auf der Punkt-Seite */
.ablauf { display: flex; align-items: center; gap: 0; margin: 1.25rem 0 0.25rem; flex-wrap: wrap; row-gap: 0.5rem; }
.ablauf .schritt {
  display: flex; align-items: center; gap: 0.45rem; color: #4d5480; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ablauf .schritt i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; display: inline-block; }
.ablauf .schritt.erreicht { color: var(--cyan); }
.ablauf .schritt.erreicht i { background: currentColor; box-shadow: 0 0 10px currentColor; }
.ablauf .schritt.aktuell { color: var(--text); }
.ablauf .schritt.aktuell i { background: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 14px var(--magenta); animation: puls 2s infinite; }
.ablauf .linie { flex: 1; min-width: 24px; height: 2px; margin: 0 0.6rem; background: #1d2246; border-radius: 2px; }
.ablauf .linie.erreicht { background: var(--verlauf); box-shadow: 0 0 10px rgba(34, 227, 255, 0.5); }

/* Login-Karte mit leuchtendem Rand */
.schmal .karte { padding: 2rem; }
.schmal .karte::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--verlauf); opacity: 0.7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.logo-gross { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.5rem; }
.logo-gross .kern { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 40%, var(--violett)); box-shadow: 0 0 18px var(--cyan), 0 0 40px var(--violett); animation: puls 2.8s ease-in-out infinite; }
.logo-gross b { font-size: 1.35rem; letter-spacing: 0.14em; text-transform: uppercase; }

.versteckt { display: none !important; }

@media (max-width: 640px) {
  .karte { padding: 1rem; }
  .bilder img { width: 44vw; height: 30vw; }
  h1 { font-size: 1.5rem; }
  .kopf { padding: 0.7rem 1rem; }
}

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