/* ==========================================================================
   landing.css - Startseite im Galaxy-Look
   Dunkler Weltraum wie im Rest der Seite: Grundton #101010, Teal als Akzent,
   Gold nur als feiner Zweitklang. Klare Flächen, 6px Radius, ruhige Linien.
   ========================================================================== */

:root {
  --bg-deep: #0d0d0d;
  --bg: #101010;
  --nav: #0d0d0d;
  --surface: #151515;
  --surface-2: #1b1b1b;
  --line: #262626;
  --line-soft: #1e1e1e;
  --text: #ececec;
  --text-soft: #c4c4c4;
  --text-muted: #8a8a8a;
  --accent: #1684A2;
  --accent-bright: #1a9ac2;
  --accent-ink: #ffffff;
  --gold: #f0af31;
  --gold-bright: #ffc04d;
  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --container: 1120px;
  --ease: 0.18s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1200px 620px at 50% -8%, rgba(22, 132, 162, 0.18), transparent 60%),
    radial-gradient(900px 520px at 88% 6%, rgba(26, 154, 194, 0.10), transparent 55%),
    radial-gradient(1000px 720px at 6% 84%, rgba(240, 175, 49, 0.05), transparent 60%),
    radial-gradient(1.4px 1.4px at 22px 30px, rgba(255, 255, 255, 0.70), transparent),
    radial-gradient(1px 1px at 140px 96px, rgba(255, 255, 255, 0.50), transparent),
    radial-gradient(1.2px 1.2px at 82px 190px, rgba(220, 228, 255, 0.42), transparent),
    radial-gradient(1px 1px at 206px 150px, rgba(255, 255, 255, 0.38), transparent);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, repeat;
  background-size: auto, auto, auto, 220px 220px, 260px 260px, 300px 300px, 240px 240px;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* feiner Filmkorn über allen Flächen (unter Nav und Fenstern) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

code {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-size: 0.92em;
  color: var(--gold-bright);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1px 7px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 600;
  transition: top var(--ease);
}
.skip-link:focus { top: 12px; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease),
    box-shadow var(--ease), transform var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(22, 132, 162, 0.30);
}
.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 12px 30px rgba(22, 132, 162, 0.42);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
}
.btn-quiet:hover { border-color: var(--accent-bright); color: #fff; }

.btn-block { width: 100%; }
.g-logo { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Kopfleiste mit Menü und Anmeldung
   -------------------------------------------------------------------------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav, #0d0d0d);
  border-bottom: 1px solid var(--line);
}

.topnav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--text);
}
.brand img { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

/* „Mehr“-Menü: erscheint nur, wenn die Einträge nicht in eine Reihe passen */
.nav-more { position: relative; flex: none; }
.nav-more[hidden] { display: none; }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 210px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
}
.nav-more-menu[hidden] { display: none; }
.nav-more-menu a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-more-menu a:hover { color: var(--text); background: var(--bg-deep); }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav-user { color: var(--text-soft); font-size: 0.9rem; }
.nav-user b { color: var(--text); }

.btn-sm { padding: 8px 14px; font-size: 0.88rem; }

.ban-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    radial-gradient(800px 460px at 50% 0, rgba(22, 132, 162, .2), transparent 68%),
    radial-gradient(600px 420px at 100% 100%, rgba(240, 175, 49, .08), transparent 70%),
    rgba(5, 8, 15, .97);
  backdrop-filter: blur(12px);
}
.ban-screen-language {
  position: absolute;
  top: 16px;
  right: 16px;
}
.ban-screen-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
  background: linear-gradient(155deg, rgba(20, 33, 48, .98), rgba(11, 16, 26, .98));
  border: 1px solid rgba(119, 204, 241, .24);
  border-radius: 18px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55), 0 0 80px rgba(22, 132, 162, .1);
}
.ban-screen-card > img { margin: 0 auto 18px; border-radius: 14px; }
.ban-screen-eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.ban-screen-card h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 4.3rem);
  line-height: 1.05;
}
.ban-screen-intro { color: var(--text-soft); font-size: 1.05rem; }
.ban-screen-reason {
  margin: 28px 0 16px;
  padding: 20px;
  text-align: left;
  background: rgba(3, 10, 17, .7);
  border: 1px solid rgba(119, 204, 241, .18);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}
.ban-screen-reason strong { color: var(--gold-bright); }
.ban-screen-reason p { margin: 8px 0 0; color: #fff; overflow-wrap: anywhere; }
.ban-screen-duration { color: var(--text-muted); font-size: .9rem; }
.ban-screen-actions { margin-top: 26px; }
.ban-screen-actions .btn { min-height: 46px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 92px 0 84px;
  background: radial-gradient(900px 460px at 42% -14%, rgba(22, 132, 162, 0.20), transparent 62%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5.2vw, 3.6rem);
  line-height: 1.06;
}

.lead {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 1.12rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Fakten-Panel */

.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.panel h2 {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}

.facts { margin: 0 0 22px; }

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.facts > div:last-child { border-bottom: 0; }

.facts dt {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.facts-note {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex: none;
}
.dot.online { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */

.section { border-bottom: 1px solid var(--line); padding: 78px 0; }
.section-alt { background: var(--bg); }

.section h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.cols {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.prose p { color: var(--text-soft); max-width: 42em; }

/* List-Variante statt Karten-Reihe */

.list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.list li {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 64px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.list h3 { margin: 0; font-size: 1.15rem; }
.list p { margin: 0; color: var(--text-soft); max-width: 42em; }

/* Schritte */

.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--text-soft); max-width: 40em; }

/* Hinweis-Band */

.band {
  padding: 68px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 85% -30%, rgba(22, 132, 162, 0.18), transparent 60%),
    var(--bg-deep);
}
.band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.band h2 { margin: 0 0 6px; font-size: 1.55rem; }
.band p { margin: 0; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 62px 0 34px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; max-width: 30em; }

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-soft); font-size: 0.95rem; transition: color var(--ease); }
.footer-col a:hover { color: var(--accent-bright); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 11000;
  padding: 12px 20px;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.92rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Einblenden beim Scrollen
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Anmeldefenster (Auth-Dialog mit Google-Einstieg)
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1a1c1f 0%, var(--surface) 58%);
  border: 1px solid #2a2d31;
  border-radius: 18px;
  padding: 34px 30px 26px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 90px rgba(22, 132, 162, 0.14);
}

/* sanfter Auftritt beim Öffnen: hidden->sichtbar triggert die Animation neu */
.modal:not([hidden]) .modal-card { animation: auth-in 0.28s ease; }
@keyframes auth-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.auth-card.err-shake { animation: auth-shake 0.45s; }

.modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.modal-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.modal-card h2 { margin: 0 0 6px; font-size: 1.4rem; }
.modal-sub { margin: 0 0 20px; color: var(--text-muted); font-size: 0.92rem; }

/* Logo mit Teal-Ring + weichem Glow */
.auth-head { position: relative; text-align: center; margin-bottom: 22px; }
.auth-head::before {
  content: "";
  position: absolute;
  inset: -34px -30px auto -30px;
  height: 170px;
  background: radial-gradient(60% 100% at 50% 0, rgba(26, 154, 194, 0.22), transparent 72%);
  pointer-events: none;
}
.auth-logo-ring {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(26, 154, 194, 0.55), rgba(240, 175, 49, 0.35));
  box-shadow: 0 12px 34px rgba(22, 132, 162, 0.35);
}
.auth-logo {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--bg-deep);
  object-fit: cover;
}

/* Google-Button im offiziellen Google-Look (heller Kontrast zum dunklen Dialog) */
.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 13px 18px;
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow var(--ease), background var(--ease), transform var(--ease), border-color var(--ease);
}
.google-btn:hover {
  background: #f8faff;
  border-color: #c6dafc;
  box-shadow: 0 6px 18px rgba(66, 133, 244, 0.28);
}
.google-btn:active { transform: translateY(1px); }
.google-btn .g-logo { transition: opacity var(--ease); }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.google-btn.loading { pointer-events: none; background: #f1f3f4; border-color: #e8eaed; box-shadow: none; }
.google-btn.loading .g-logo { opacity: 0.3; }
.google-btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(60, 64, 67, 0.25);
  border-top-color: #3c4043;
  animation: auth-spin 0.7s linear infinite;
}

/* Eingabefelder: weicherer Fokus-Glow */
.field { display: block; margin-bottom: 14px; }
.field[hidden] { display: none; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}
.field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.field input::placeholder { color: #5c5c5c; }
.field input:focus {
  border-color: var(--accent-bright);
  outline: none;
  background: #111416;
  box-shadow: 0 0 0 3px rgba(26, 154, 194, 0.18);
}

/* Passwort mit Sichtbarkeits-Schalter */
.pw-wrap { position: relative; margin-bottom: 14px; }
.pw-wrap .field { margin-bottom: 0; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--ease), background var(--ease);
}
.pw-toggle:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* Stärke-Anzeige (nur im Registrier-Modus) */
.pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 12px;
}
.pw-strength[hidden] { display: none; }
.pw-strength-bar { display: flex; gap: 4px; flex: none; }
.pw-strength-bar i {
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  transition: background 0.2s ease;
}
.pw-strength-bar.s1 i:nth-child(1) { background: #e06c6c; }
.pw-strength-bar.s2 i:nth-child(-n+2) { background: #e0a64d; }
.pw-strength-bar.s3 i:nth-child(-n+3) { background: #9ecf6a; }
.pw-strength-bar.s4 i { background: #4dc98f; }
.pw-strength-label { font-size: 0.78rem; color: var(--text-muted); }

.modal-msg { min-height: 1.2em; margin: 2px 0 12px; font-size: 0.88rem; color: var(--text-muted); }
.modal-msg.err { color: #f08a8a; }

.auth-submit {
  border-radius: 11px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
}
.auth-submit:hover { box-shadow: 0 14px 34px rgba(22, 132, 162, 0.45); }
@keyframes auth-btn-spin { to { transform: rotate(360deg); } }
.auth-submit.loading { pointer-events: none; opacity: 0.85; }
.auth-submit.loading::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: auth-btn-spin 0.7s linear infinite;
}

.modal-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.modal-sep::before,
.modal-sep::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.modal-toggle { margin: 18px 0 0; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.modal-toggle a { color: var(--accent-bright); font-weight: 600; cursor: pointer; }
.modal-toggle a:hover { text-decoration: underline; }

.auth-legal {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.auth-legal a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-legal a:hover { color: var(--accent-bright); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .hero { padding: 68px 0 60px; }
  .hero-grid,
  .cols,
  .list li,
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .list li { gap: 8px; }
  .section { padding: 58px 0; }
}

@media (max-width: 760px) {
  .brand span { display: none; }
}

@media (max-width: 560px) {
  .modal-card { padding: 28px 20px 22px; border-radius: 16px; }
  .auth-head::before { inset: -28px -20px auto -20px; }
  .auth-logo-ring { width: 68px; height: 68px; border-radius: 21px; }
  .auth-logo { width: 46px; height: 46px; border-radius: 15px; }
}

/* ==========================================================================
   GALAXY UPGRADE - aufgepepptes Weltraum-Design
   ========================================================================== */

/* Inhalt ueber dem Canvas-Hintergrund */
header.topnav { position: relative; z-index: 1000; }
main#main, footer.footer { position: relative; z-index: 1; }

/* Tiefere Space-Farbpalette */
:root {
  --bg-deep: #05060f;
  --bg: #080a18;
  --nav: rgba(5, 6, 15, 0.72);
  --surface: rgba(14, 18, 40, 0.55);
  --surface-2: rgba(22, 28, 58, 0.62);
  --line: rgba(99, 120, 200, 0.18);
  --line-soft: rgba(99, 120, 200, 0.10);
  --text: #eef2ff;
  --text-soft: #c9d2f0;
  --text-muted: #8a96c4;
  --accent: #3dd6ff;
  --accent-bright: #7be8ff;
  --accent-ink: #05060f;
  --gold: #ffd36b;
  --gold-bright: #ffe29a;
}

/* Glas-Navigation mit Blur */
.topnav {
  background: var(--nav, rgba(5,6,15,0.72));
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

/* Body-Hintergrund transparenter, Canvas zeigt durch */
body {
  background-color: #05060f;
  background-image:
    radial-gradient(1200px 700px at 50% -10%, rgba(61, 214, 255, 0.14), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(168, 85, 247, 0.16), transparent 55%),
    radial-gradient(1000px 700px at 8% 90%, rgba(255, 211, 107, 0.08), transparent 60%);
  background-attachment: fixed;
}

/* Hero: groesser, glühender */
.hero {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1000px 500px at 50% -5%, rgba(61, 214, 255, 0.22), transparent 60%),
    radial-gradient(700px 400px at 15% 30%, rgba(168, 85, 247, 0.14), transparent 60%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,0.7), transparent);
  background-size: 260px 260px, 320px 320px, 400px 400px, 280px 280px;
  animation: starDrift 60s linear infinite;
  opacity: 0.7;
  pointer-events: none;
}
@keyframes starDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.02;
  background: linear-gradient(120deg, #ffffff 0%, #7be8ff 40%, #a855f7 75%, #ffd36b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(61, 214, 255, 0.35);
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.35));
  letter-spacing: -0.02em;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-shadow: 0 0 14px rgba(255, 211, 107, 0.4);
}

.lead { color: var(--text-soft); max-width: 36em; font-size: 1.18rem; }

/* Buttons: Glow + Shimmer */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary, .btn-accent {
  background: linear-gradient(135deg, #3dd6ff 0%, #a855f7 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 34px rgba(61, 214, 255, 0.35), 0 0 0 1px rgba(255,255,255,0.08);
}
.btn-primary:hover, .btn-accent:hover {
  box-shadow: 0 16px 44px rgba(168, 85, 247, 0.45), 0 0 0 1px rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-quiet {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-bright); }

/* Panel: Glassmorphism mit Glow */
.panel {
  background: linear-gradient(180deg, rgba(20,26,55,0.7), rgba(10,14,32,0.55));
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(61,214,255,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.panel h2 { border-bottom-color: var(--line); }

/* Sektionen: Glas-Karten */
.section { border-bottom: 1px solid var(--line); }
.section-alt { background: rgba(8, 10, 24, 0.4); }

.section h2 {
  background: linear-gradient(90deg, #ffffff, #7be8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.cols, .list, .steps { color: var(--text-soft); }

.list li {
  border-bottom-color: var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.list li:hover {
  background: rgba(61,214,255,0.04);
  transform: translateX(6px);
}
.list h3 { color: var(--text); }
.list p { color: var(--text-soft); }

.steps li { border-bottom-color: var(--line); }
.steps li::before {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 211, 107, 0.5);
  font-size: 2rem;
}

/* Hinweis-Band */
.band {
  background:
    radial-gradient(700px 320px at 85% -30%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(600px 300px at 10% 120%, rgba(61, 214, 255, 0.16), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
}
.band h2 {
  background: linear-gradient(90deg, #ffffff, #ffd36b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer */
.footer {
  background: rgba(5, 6, 15, 0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.footer-brand a { color: var(--text); }
.footer-col a { color: var(--text-soft); transition: color 0.2s ease, transform 0.2s ease; }
.footer-col a:hover { color: var(--accent-bright); transform: translateX(3px); }
.footer-col h4 { color: var(--text-muted); }

/* Brand logo glow */
.brand { filter: drop-shadow(0 0 8px rgba(61, 214, 255, 0.4)); }
.brand img { filter: drop-shadow(0 0 6px rgba(61, 214, 255, 0.6)); }

/* Reveal animation enhancement */
.reveal { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Floating glow orbs */
main#main::before {
  content: "";
  position: fixed;
  top: 30%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(168,85,247,0.12), transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 18s ease-in-out infinite;
}
main#main::after {
  content: "";
  position: fixed;
  bottom: 10%;
  right: -8%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(61,214,255,0.10), transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

/* Modal: Galaxy look */
.modal-backdrop { background: rgba(3, 4, 12, 0.78); backdrop-filter: blur(18px) saturate(1.2); }
.modal-card {
  background: linear-gradient(180deg, rgba(20,26,55,0.85), rgba(10,14,32,0.75));
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(61,214,255,0.1), 0 0 60px rgba(168,85,247,0.15);
}

/* Toast */
.toast {
  background: rgba(14,18,40,0.85);
  border: 1px solid var(--accent);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(61,214,255,0.2);
}

/* „Mehr"-Menü vorgehoben */
.nav-more-menu:not([hidden]) {
  z-index: 1001 !important;
  background: linear-gradient(180deg, rgba(20,26,55,0.92), rgba(10,14,32,0.88)) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.65),
    0 0 0 1px rgba(61,214,255,0.18),
    0 0 36px rgba(61,214,255,0.22),
    0 0 60px rgba(168,85,247,0.18) !important;
  padding: 10px !important;
  animation: moreIn 0.18s ease !important;
  transform-origin: top right;
}
@keyframes moreIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nav-more-menu:not([hidden]) a {
  border-radius: 10px;
  padding: 10px 14px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav-more-menu:not([hidden]) a:hover {
  background: rgba(61,214,255,0.12);
  color: var(--accent-bright);
  transform: translateX(4px);
}
.nav-more[aria-expanded="true"] #navMoreBtn {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(61,214,255,0.35);
}
.nav-more[aria-expanded="true"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 12, 0.45);
  backdrop-filter: blur(2px);
  z-index: 999;
  pointer-events: none;
}

/* Status dot pulse */
.dot.online { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0.32); }
}

/* Responsive tweaks */
@media (max-width: 860px) {
  .hero { padding: 90px 0 80px; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); }
}
