/* Öffentliche Serverseite - eigenständiges Design, unabhängig vom Panel.
   Keine externen Schriften oder Bibliotheken: die Sicherheitsrichtlinie des
   Panels erlaubt nur Dateien von der eigenen Adresse. */

:root {
  --akzent: #7c5cff;
  --akzent-tief: #4b34c9;
  --discord: #5865f2;

  --grund: #0a0c11;
  --grund-hell: #11141c;
  --karte: #151925;
  --karte-hoch: #1b2030;
  --rand: #262c3d;
  --rand-hell: #333c52;

  --text: #eef1f7;
  --text-leise: #9aa4bb;
  --gruen: #46d17a;
  --rot: #f8615a;
  --gold: #ffcc4d;

  --radius: 16px;
  --radius-klein: 10px;
  --breite: 1180px;
}

* { box-sizing: border-box; }

/* Muss ganz nach oben und mit !important: Das Attribut "hidden" entspricht
   display:none, verliert aber gegen jede Klassenregel mit eigenem display.
   Ohne diese Zeile bleibt etwa die Bild-Grossansicht (.lupe { display:grid })
   dauerhaft offen und legt einen schwarzen Schleier über die ganze Seite. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.huelle { width: min(var(--breite), 92vw); margin: 0 auto; }
.klein { font-size: 14px; }

/* ------------------------------------------------------------- Kopfleiste */
.kopfleiste {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.kopfleiste.gescrollt {
  background: rgba(10, 12, 17, .94);
  border-bottom-color: var(--rand);
}
.leiste-inhalt {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
  min-width: 0;
}

.marke { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; }
.marke-zeichen {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--akzent), var(--akzent-tief));
  font-size: 18px; font-weight: 800;
  box-shadow: 0 6px 20px rgba(124, 92, 255, .38);
}
.marke-logo {
  width: 40px; height: 40px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.marke-text { font-size: 17px; letter-spacing: -.01em; }

.leiste-nav { display: flex; gap: 4px; margin-left: auto; }
.leiste-nav a {
  padding: 8px 14px;
  border-radius: 99px;
  text-decoration: none;
  color: var(--text-leise);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.leiste-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.leiste-knoepfe { display: flex; align-items: center; gap: 10px; }

.status-pille {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--rand);
  border-radius: 99px;
  font-size: 14px;
  color: var(--text-leise);
  background: rgba(255, 255, 255, .02);
}
.punkt {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--text-leise);
}
.punkt.an { background: var(--gruen); box-shadow: 0 0 0 4px rgba(70, 209, 122, .16); }
.punkt.aus { background: var(--rot); box-shadow: 0 0 0 4px rgba(248, 97, 90, .14); }

/* ----------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  background: linear-gradient(140deg, var(--akzent), var(--akzent-tief));
  color: #fff;
  border-radius: 12px;
  padding: 13px 24px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .15s;
  box-shadow: 0 10px 30px rgba(124, 92, 255, .25);
}
.knopf:hover { transform: translateY(-2px); filter: brightness(1.1); }
.knopf.klein { padding: 8px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.knopf.gross { padding: 15px 30px; font-size: 17px; }
.knopf.leise {
  background: rgba(255, 255, 255, .05);
  border-color: var(--rand-hell);
  box-shadow: none;
}
.knopf.discord { background: var(--discord); box-shadow: 0 10px 30px rgba(88, 101, 242, .28); }
.knopf.klein.discord { box-shadow: none; }

/* ------------------------------------------------------------------- Held */
.held {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
  overflow: hidden;
  margin-top: -68px;
  padding-top: 158px;
}
.held-bild {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  /* Ohne eigenes Titelbild bleibt ein ruhiger Farbverlauf statt eines Lochs */
  background-image:
    radial-gradient(1100px 620px at 72% 12%, rgba(124, 92, 255, .38), transparent 62%),
    radial-gradient(900px 520px at 12% 88%, rgba(70, 130, 255, .22), transparent 60%),
    linear-gradient(160deg, #12162a 0%, #0a0c11 70%);
}
.held-schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 17, .55) 0%, rgba(10, 12, 17, .35) 40%, var(--grund) 96%);
}
.held-inhalt { position: relative; z-index: 2; }

.augenbraue {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: var(--akzent);
}
.held h1 {
  font-size: clamp(40px, 7.4vw, 84px);
  font-weight: 800;
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}
.held-text {
  margin: 20px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  color: #c8cfdf;
  max-width: 62ch;
}

.held-kennzahlen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.kennzahl {
  display: flex; flex-direction: column;
  padding: 12px 22px;
  border: 1px solid var(--rand);
  border-radius: 14px;
  background: rgba(12, 15, 22, .62);
  backdrop-filter: blur(6px);
  min-width: 108px;
}
.kennzahl strong { font-size: 24px; font-weight: 700; line-height: 1.2; }
.kennzahl span { font-size: 13px; color: var(--text-leise); }

.held-aktionen { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 34px; }
.held-aktionen.mitte { justify-content: center; align-items: center; }

.beitreten-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-leise);
  margin-bottom: 7px;
}
.beitreten-feld {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(12, 15, 22, .8);
  border: 1px dashed var(--rand-hell);
  border-radius: 12px;
  padding: 13px 20px;
  color: var(--text);
  font: inherit;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 17px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.beitreten-feld:hover { border-color: var(--akzent); background: rgba(124, 92, 255, .09); }
.kopie-hinweis {
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-leise);
}
.beitreten-feld.fertig { border-color: var(--gruen); }
.beitreten-feld.fertig .kopie-hinweis { color: var(--gruen); }

.runter {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-decoration: none;
  color: var(--text-leise);
  font-size: 26px;
  animation: wippen 2.4s ease-in-out infinite;
}
@keyframes wippen {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ------------------------------------------------------------------ Bänder */
.band { padding: 92px 0; }
.band.gedimmt { background: var(--grund-hell); border-block: 1px solid var(--rand); }
.band-kopf { margin-bottom: 42px; max-width: 70ch; }
.band-kopf h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.band-kopf p { margin: 12px 0 0; color: var(--text-leise); font-size: 17px; }

/* Sanft einblenden beim Scrollen */
.aufblende { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.aufblende.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aufblende { opacity: 1; transform: none; transition: none; }
  .runter { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------- News */
.news-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-karte {
  display: flex;
  flex-direction: column;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.news-karte:hover {
  transform: translateY(-4px);
  border-color: var(--rand-hell);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .42);
}
.news-bild { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--karte-hoch); }
.news-text { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.marke-band {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(124, 92, 255, .16);
  color: #b9a6ff;
  border: 1px solid rgba(124, 92, 255, .3);
}
.news-datum { font-size: 13px; color: var(--text-leise); }
.news-karte h3 { font-size: 20px; font-weight: 700; }
.news-inhalt { margin: 0; color: var(--text-leise); white-space: pre-wrap; }
.news-mehr {
  margin-top: auto;
  color: var(--akzent);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.news-mehr:hover { text-decoration: underline; }

/* -------------------------------------------------------------- Abschnitte */
.karten-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.info-karte {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.info-karte:hover { transform: translateY(-3px); border-color: var(--rand-hell); }
.info-symbol {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(124, 92, 255, .14);
  border: 1px solid rgba(124, 92, 255, .28);
  font-size: 26px;
  margin-bottom: 18px;
}
.info-karte h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.info-karte p { margin: 0; color: var(--text-leise); white-space: pre-wrap; }

/* ------------------------------------------------------------ Bestenliste */
.podest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
}
.podest-platz {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.podest-platz .krone { font-size: 26px; }
.podest-platz .name { font-weight: 700; font-size: 18px; margin-top: 8px; word-break: break-word; }
.podest-platz .zeit { color: var(--text-leise); font-size: 15px; }
.podest-platz.eins {
  border-color: rgba(255, 204, 77, .45);
  background: linear-gradient(180deg, rgba(255, 204, 77, .12), var(--karte) 60%);
  padding-block: 34px;
}
.podest-platz.zwei { border-color: rgba(207, 214, 228, .3); }
.podest-platz.drei { border-color: rgba(214, 154, 92, .32); }

.rangliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rangliste li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius-klein);
}
.rangliste .platz { text-align: center; font-weight: 700; color: var(--text-leise); }
.rangliste .zeit { color: var(--text-leise); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Galerie */
.galerie-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.galerie-raster button {
  padding: 0;
  border: 1px solid var(--rand);
  border-radius: var(--radius-klein);
  overflow: hidden;
  background: var(--karte);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.galerie-raster button:hover { transform: scale(1.02); border-color: var(--akzent); }
.galerie-raster img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.lupe {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 6, 10, .92);
  display: grid; place-items: center;
  padding: 30px;
}
.lupe img { max-height: 88vh; max-width: 94vw; border-radius: 12px; }
.lupe-schliessen {
  position: absolute; top: 20px; right: 26px;
  background: none; border: none; color: var(--text);
  font-size: 38px; line-height: 1; cursor: pointer;
}

/* ------------------------------------------------------------------- CTA */
.aufruf {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(124, 92, 255, .2), transparent 68%),
    var(--grund);
  border-top: 1px solid var(--rand);
}
.aufruf h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.aufruf p { color: var(--text-leise); margin: 14px 0 0; font-size: 18px; }

/* ------------------------------------------------------------------- Fuss */
.fuss { border-top: 1px solid var(--rand); padding: 30px 0 44px; color: var(--text-leise); }
.fuss-inhalt { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fuss p { margin: 0; }
.fuss a { color: var(--text-leise); text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* ------------------------------------------------------------------ Handy */
@media (max-width: 860px) {
  .leiste-nav { display: none; }
  .leiste-knoepfe { margin-left: auto; flex-shrink: 0; }
  .held { min-height: auto; padding-top: 132px; padding-bottom: 76px; }
  .band { padding: 64px 0; }
  .podest { grid-template-columns: 1fr; align-items: stretch; }
  .podest-platz.eins { padding-block: 24px; }
  .beitreten-feld { width: 100%; justify-content: space-between; font-size: 15px; }
  .beitreten { width: 100%; }
  .knopf.gross { width: 100%; }
}

/* Auf schmalen Geräten passen Servername, Statuspille und zwei Knöpfe nicht
   nebeneinander - der Status steht ohnehin gross im Kopfbereich. */
@media (max-width: 560px) {
  .status-pille { display: none; }
  /* Der Anmelde-Knopf interessiert Besucher nicht - im Fuss steht er weiter */
  #adminLink { display: none; }
  .marke-text {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .knopf.klein { padding: 7px 13px; font-size: 13px; }
  .leiste-inhalt { gap: 10px; }
}

/* ==========================================================================
   Unterseiten, Roadmap, Votes und Effekte
   ========================================================================== */

/* Nur die aktive Seite steht im Dokument sichtbar - der Wechsel läuft über
   die History-API, ohne dass etwas neu geladen wird. */
.seite { animation: seiteRein .35s ease; }
@keyframes seiteRein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.leiste-nav a.aktiv { color: var(--text); background: rgba(255, 255, 255, .08); }

/* -------------------------------------------------------- Menü auf Handy */
.menue-knopf {
  display: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--rand-hell);
  color: var(--text);
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  padding: 9px 13px;
  cursor: pointer;
}
.handy-nav {
  border-top: 1px solid var(--rand);
  background: rgba(10, 12, 17, .98);
  padding: 8px 0;
}
.handy-nav a {
  display: block;
  padding: 13px 6vw;
  text-decoration: none;
  color: var(--text-leise);
  font-weight: 500;
}
.handy-nav a.aktiv, .handy-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

/* ------------------------------------------------------------- Effekte */
/* Das Logo im Kopfbereich schwebt - dezent, nicht albern. */
.held-logo {
  width: clamp(90px, 13vw, 148px);
  height: auto;
  border-radius: 22px;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6));
}
.schwebt { animation: schweben 5.5s ease-in-out infinite; }
@keyframes schweben {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-14px) rotate(.6deg); }
}

/* Schimmer über den Hauptknöpfen */
.knopf:not(.leise):not(.klein)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 46%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.knopf:not(.leise):not(.klein) { position: relative; overflow: hidden; }
.knopf:not(.leise):not(.klein):hover::after { animation: schimmer .85s ease; }
@keyframes schimmer { to { transform: translateX(120%); } }

@media (prefers-reduced-motion: reduce) {
  .schwebt { animation: none; }
  .seite { animation: none; }
  .knopf::after { display: none; }
}

/* ------------------------------------------------------------ Unterkopf */
.unterkopf {
  padding: 132px 0 54px;
  border-bottom: 1px solid var(--rand);
  background:
    radial-gradient(900px 380px at 20% -10%, rgba(124, 92, 255, .22), transparent 65%),
    var(--grund-hell);
}
.unterkopf h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
.unterkopf p { margin: 12px 0 0; color: var(--text-leise); font-size: 17px; }

.band-kopf.reihe { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.leer { color: var(--text-leise); text-align: center; padding: 40px 0; }
.t-leise { color: var(--text-leise); }

/* ------------------------------------------------------------- Roadmap */
.zeitstrahl { position: relative; padding-left: 42px; }
.zeitstrahl::before {
  content: '';
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--akzent), transparent);
}
.meilenstein {
  position: relative;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 18px;
  transition: transform .2s, border-color .2s;
}
.meilenstein:hover { transform: translateX(4px); border-color: var(--rand-hell); }
.meilenstein::before {
  content: '';
  position: absolute;
  left: -34px; top: 30px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grund);
  border: 3px solid var(--rand-hell);
}
.meilenstein.fertig::before { border-color: var(--gruen); background: var(--gruen); }
.meilenstein.laeuft::before { border-color: var(--akzent); background: var(--akzent); box-shadow: 0 0 0 6px rgba(124, 92, 255, .16); }
.meilenstein-kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.meilenstein h3 { font-size: 20px; font-weight: 700; }
.meilenstein p { margin: 0; color: var(--text-leise); white-space: pre-wrap; }
.meilenstein .symbol { font-size: 22px; }

.stand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 11px;
  border-radius: 99px;
  border: 1px solid var(--rand-hell);
  color: var(--text-leise);
}
.stand.fertig { color: var(--gruen); border-color: rgba(70, 209, 122, .4); background: rgba(70, 209, 122, .1); }
.stand.laeuft { color: #b9a6ff; border-color: rgba(124, 92, 255, .4); background: rgba(124, 92, 255, .12); }
.stand.geplant { color: var(--gold); border-color: rgba(255, 204, 77, .32); background: rgba(255, 204, 77, .08); }
.zeitraum { margin-left: auto; color: var(--text-leise); font-size: 14px; }

/* ---------------------------------------------------------------- Join */
.beitreten-gross { margin-bottom: 40px; }
.schritte { list-style: none; counter-reset: schritt; margin: 0 0 44px; padding: 0; display: grid; gap: 18px; }
.schritte li {
  counter-increment: schritt;
  position: relative;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 24px 26px 24px 84px;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 24px; top: 24px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--akzent), var(--akzent-tief));
  font-weight: 800;
  font-size: 17px;
}
.schritte h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.schritte p { margin: 0; color: var(--text-leise); white-space: pre-wrap; }

.aufruf-klein {
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  background: var(--grund-hell);
}
.aufruf-klein h3 { font-size: 21px; font-weight: 700; }
.aufruf-klein p { color: var(--text-leise); margin: 8px 0 20px; }

/* --------------------------------------------------------------- Votes */
.vote-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.vote-karte {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vote-karte:hover {
  transform: translateY(-4px);
  border-color: var(--akzent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.vote-karte h3 { font-size: 20px; font-weight: 700; }
.vote-karte p { margin: 0; color: var(--text-leise); }
.vote-karte .pfeil { margin-top: auto; color: var(--akzent); font-weight: 600; }

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .unterkopf { padding: 108px 0 42px; }
  .zeitstrahl { padding-left: 30px; }
  .zeitstrahl::before { left: 9px; }
  .meilenstein::before { left: -28px; }
  .schritte li { padding: 22px 20px 22px 20px; }
  .schritte li::before { position: static; margin-bottom: 12px; }
}

/* ==========================================================================
   Bewegung im Kopfbereich - auch ohne eigenes Titelbild
   ========================================================================== */

/* Langsam wandernder Nebel aus zwei Farbwolken. Liegt über dem Titelbild
   (oder dem Verlauf) und unter dem Schleier. */
.nebel {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--akzent) 34%, transparent), transparent 70%) 18% 26% / 58% 58% no-repeat,
    radial-gradient(closest-side, rgba(70, 130, 255, .22), transparent 70%) 78% 68% / 52% 52% no-repeat;
  filter: blur(14px);
  animation: nebelziehen 26s ease-in-out infinite alternate;
  opacity: .85;
}
@keyframes nebelziehen {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.03); }
}

/* Lichtpunkte, die nach oben treiben. Die Zahl der Punkte setzt app.js. */
.funken { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.funke {
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--akzent);
  opacity: 0;
  box-shadow: 0 0 12px 2px color-mix(in srgb, var(--akzent) 60%, transparent);
  animation: funkenflug linear infinite;
}
@keyframes funkenflug {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  75%  { opacity: .55; }
  100% { transform: translateY(-88vh) scale(1.1); opacity: 0; }
}

/* Ohne eigenes Logo steht der Anfangsbuchstabe gross im Kopfbereich - damit
   die Seite auch am ersten Tag nicht leer wirkt. */
.held-zeichen {
  width: clamp(84px, 11vw, 124px);
  height: clamp(84px, 11vw, 124px);
  display: grid;
  place-items: center;
  border-radius: 28px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  background: linear-gradient(140deg, var(--akzent), var(--akzent-tief));
  box-shadow: 0 22px 50px color-mix(in srgb, var(--akzent) 35%, transparent);
}

/* Der Titel bekommt einen wandernden Glanz */
.held h1 {
  background: linear-gradient(100deg, var(--text) 30%, color-mix(in srgb, var(--akzent) 70%, white) 50%, var(--text) 70%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titelglanz 7s ease-in-out infinite;
}
@keyframes titelglanz {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

/* Kennzahlen zählen beim ersten Erscheinen kurz hoch (siehe app.js) und
   heben sich beim Überfahren leicht an. */
.kennzahl { transition: transform .2s, border-color .2s; }
.kennzahl:hover { transform: translateY(-3px); border-color: var(--rand-hell); }

.status-pille .punkt.an { animation: pulsen 2.4s ease-in-out infinite; }
@keyframes pulsen {
  0%, 100% { box-shadow: 0 0 0 4px rgba(70, 209, 122, .16); }
  50% { box-shadow: 0 0 0 8px rgba(70, 209, 122, .05); }
}

@media (prefers-reduced-motion: reduce) {
  .nebel, .funke, .held h1, .status-pille .punkt.an { animation: none; }
  .held h1 { color: var(--text); -webkit-text-fill-color: currentColor; }
}

/* ==========================================================================
   Neuigkeiten nach Herkunft getrennt
   ========================================================================== */

.news-gruppe { margin-bottom: 58px; }
.news-gruppe:last-of-type { margin-bottom: 0; }

.gruppen-kopf {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rand);
}
.gruppen-kopf h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.gruppen-kopf p { margin: 4px 0 0; color: var(--text-leise); font-size: 15px; }

.gruppen-zeichen {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 21px;
}
/* Eigene Meldungen tragen die Farbe des Servers ... */
.gruppen-zeichen.server {
  background: color-mix(in srgb, var(--akzent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--akzent) 40%, transparent);
  color: color-mix(in srgb, var(--akzent) 75%, white);
}
/* ... Meldungen von Hytale ein neutrales Blau, damit man sie nicht verwechselt */
.gruppen-zeichen.hytale {
  background: rgba(78, 160, 255, .14);
  border: 1px solid rgba(78, 160, 255, .38);
  color: #8ec5ff;
}

/* Schildchen auf den Karten in derselben Logik */
.marke-band.hytale {
  background: rgba(78, 160, 255, .14);
  border-color: rgba(78, 160, 255, .34);
  color: #8ec5ff;
}
.news-karte.hytale { border-color: rgba(78, 160, 255, .22); }
.news-karte.hytale:hover { border-color: rgba(78, 160, 255, .5); }

@media (max-width: 560px) {
  .gruppen-kopf { gap: 12px; }
  .gruppen-zeichen { width: 38px; height: 38px; font-size: 17px; }
}
