/* =========================================================================
   Destiny City – öffentliche Website
   Nachtviolett, Chrom und Kinobalken. Farben kommen teils aus den Einstellungen.
   ========================================================================= */

/* Schrift: Montserrat – dieselbe wie in nova_base und auf euren Bannern */
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Bold.woff) format("woff"); font-weight: 700 900; font-display: swap; }

:root {
  /* Farben 1:1 aus nova_base/nui/_design/design.css – damit Website und Spiel-UIs gleich aussehen */
  --bg: #0a0616;          /* --dc-bg */
  --bg-2: #130828;        /* --dc-bg-2 */
  --bg-3: #1c0838;        /* --dc-bg-3 */
  --bg-raise: rgba(255, 255, 255, 0.04);
  --bg-hover: rgba(255, 255, 255, 0.07);
  --bg-solid: #120a25;
  --bg-sunk: #070410;
  --line: rgba(255, 255, 255, 0.08);       /* --dc-border */
  --line-soft: rgba(255, 255, 255, 0.05);
  --ink: #f7f8ff;                          /* --dc-text */
  --ink-2: rgba(226, 224, 245, 0.78);
  --muted: rgba(226, 224, 245, 0.56);      /* --dc-muted */
  --brand: #8b5cf6;        /* --dc-accent (kann im Panel überschrieben werden) */
  --brand-2: #c084fc;      /* --dc-accent-light */
  --brand-deep: #6d28d9;   /* --dc-accent-deep */
  --brand-dark: #2b0864;   /* --dc-accent-dark */
  --brand-pale: #c9b5ff;   /* --dc-accent-pale */
  --good: #7bffb0; --bad: #ff5d7a; --warn: #f2c14e; --gold: #ffd47a;
  --button: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--brand-2));
  --panel: linear-gradient(165deg, rgba(10, 6, 22, .98) 0%, rgba(19, 8, 40, .97) 50%, rgba(28, 8, 56, .97) 100%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4d7ff 36%, #8a84a6 52%, #c9c6dc 66%, #f7f8ff 100%);
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --text: "Montserrat", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar: clamp(56px, 9vh, 88px);
  --radius-lg: 20px; --radius: 14px; --radius-sm: 9px;   /* Radien der Base */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg) linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg-3) 100%) fixed; color: var(--ink);
  font: 400 1rem/1.7 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 72ch; }
.measure-wide { max-width: 960px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line);
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 600 .95rem/1 var(--text); color: var(--ink); text-decoration: none;
  padding: .85em 1.3em; border-radius: var(--radius-sm); border: 1px solid var(--b); background: transparent;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { color: #fff; border-color: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--button); border-color: transparent; color: #fff; box-shadow: 0 0 22px rgba(139, 92, 246, .35), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { filter: brightness(1.12); border-color: transparent; color: #fff; }
.btn--ghost { background: rgba(10,6,22,.45); border-color: rgba(201,181,255,.32); backdrop-filter: blur(6px); }
.btn--discord { background: rgba(139,92,246,.16); border-color: rgba(139,92,246,.45); color: var(--brand-pale); }
.btn--discord:hover { background: var(--button); border-color: transparent; color: #fff; }
.btn--small { font-size: .85rem; padding: .65em 1em; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.6em; }

/* ---------- Kopfzeile ---------- */
.announce { background: var(--button); color: #fff; text-align: center; font-size: .9rem; padding: .5em var(--gutter); }
.announce a { color: #fff; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(10,6,22,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .3s, border-color .3s; }
.has-hero .site-head { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; }
.has-hero .site-head.is-scrolled { background: rgba(10,6,22,.88); border-color: var(--line-soft); backdrop-filter: blur(14px); }
.site-head__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  font: 800 1.05rem/1 var(--display); letter-spacing: -.02em;
  background: linear-gradient(160deg, rgba(109,40,217,.6), rgba(139,92,246,.22)); color: #fff;
  border: 1px solid rgba(139,92,246,.4); box-shadow: 0 0 22px rgba(139,92,246,.35), inset 0 1px 0 rgba(255,255,255,.15);
}
.brand__logo { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(139,92,246,.45); box-shadow: 0 0 22px rgba(139,92,246,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.brand__name { font: 800 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; font: 500 .95rem/1 var(--text); background: none; border: 0; cursor: pointer;
}
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__group.is-active > .nav__link { color: #fff; }
.nav__link[aria-current="page"], .nav__group.is-active > .nav__link { box-shadow: inset 0 -2px 0 var(--brand-2); border-radius: 0; }
.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 220px; list-style: none; margin: 0; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.05);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s;
}
.nav__menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__toggle svg, .nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: rgba(139,92,246,.16); color: #fff; }
.nav-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.nav-btn svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-btn { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--bg-raise); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px;
    max-height: calc(100dvh - 72px); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__link { width: 100%; padding: 12px 8px; font-size: 1.05rem; justify-content: space-between; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand-2); padding-left: 14px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; }
  .nav__group.is-open .nav__menu { display: block; }
  .has-hero .site-head.nav-open { background: var(--bg-raise); }
}

/* ---------- Startbild: Kinobalken öffnen sich ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding-block: calc(var(--bar) + 80px) calc(var(--bar) + 48px); isolation: isolate; overflow: hidden; background: var(--bg-sunk);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: saturate(1.1) contrast(1.05); transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 15% 85%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(10,6,22,.2) 0%, rgba(19,8,40,.4) 45%, rgba(10,6,22,.94) 100%);
}
/* die beiden Kinobalken */
.hero > .status, .hero-bar-top {
  position: absolute; left: 0; right: 0; height: var(--bar); background: var(--bg-sunk); z-index: 2;
}
.hero-bar-top { top: 0; transform-origin: top; }
.hero > .status { bottom: 0; transform-origin: bottom; }
.hero__inner { position: relative; z-index: 3; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.hero__t1, .hero__t2 { display: inline; font-size: clamp(2.3rem, 9.2vw, 8.6rem); padding-bottom: .08em; }
.hero__t1 {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 62%, #3b0f8a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px color-mix(in srgb, var(--brand) 60%, transparent));
}
.hero__t2 { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 46ch; margin: 28px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Ladeanimation: Balken öffnen sich wie im Kino, danach erscheint der Titel */
@media (prefers-reduced-motion: no-preference) {
  .hero-bar-top, .hero > .status { animation: bar-open 1.4s cubic-bezier(.7,0,.2,1) both; }
  .hero__t1, .hero__t2, .hero__sub, .hero__actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__t1 { animation-delay: .9s; }
  .hero__t2 { animation-delay: 1.02s; }
  .hero__sub { animation-delay: 1.18s; }
  .hero__actions { animation-delay: 1.3s; }
  .hero__media img { animation: settle 2.6s cubic-bezier(.2,.7,.2,1) both; }
  .status__inner { animation: fade .6s 1.4s both; }
}
@keyframes bar-open { from { height: 50.5svh; } to { height: var(--bar); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1.04); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Statusleiste im unteren Balken */
.status { display: flex; align-items: center; color: var(--ink-2); font-size: .92rem; }
.status__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status__state { margin: 0; display: flex; align-items: center; gap: 10px; }
.status__state strong { color: #fff; font: 800 1.1rem/1 var(--display); }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-online .status__dot { background: var(--good); box-shadow: 0 0 0 0 rgba(123,255,176,.6); animation: pulse 2s infinite; }
.status.is-offline .status__dot { background: var(--bad); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(123,255,176,0); } 100% { box-shadow: 0 0 0 0 rgba(123,255,176,0); } }
.status__connect {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(139,92,246,.25); color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; font: inherit;
}
.status__connect code { font: 500 .88rem/1 ui-monospace, "Cascadia Code", Consolas, monospace; }
.status__connect svg { width: 16px; height: 16px; }
.status__connect:hover { border-color: var(--brand-2); color: #fff; }
.status__connect.is-copied { border-color: var(--good); color: var(--good); }
@media (max-width: 640px) { .status__connect code { display: none; } .status__connect::before { content: "Connect kopieren"; } }

/* ---------- Seitenkopf ---------- */
.phead { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-soft); overflow: hidden; isolation: isolate; }
.phead::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 90% at 0% 0%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%);
}
.phead--img .phead__media { position: absolute; inset: 0; z-index: -2; }
.phead--img .phead__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.phead__kicker { margin: 0 0 10px; color: var(--brand-2); font-weight: 600; font-size: 1rem; }
.phead__title { margin: 0; font: 800 clamp(2rem, 5.6vw, 4.4rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.phead__sub { max-width: 60ch; margin: 20px 0 0; color: var(--ink-2); font-size: 1.1rem; }
.draft-note { margin-top: 16px; padding: 12px 16px; border: 1px dashed var(--warn); color: var(--warn); border-radius: 10px; font-size: .95rem; }

/* ---------- Allgemeine Blöcke ---------- */
.block { padding-block: clamp(56px, 8vw, 104px); }
.block + .block { padding-top: 0; }
.phead + .block { padding-top: clamp(40px, 5vw, 64px); }
.bhead { margin-bottom: clamp(28px, 4vw, 48px); max-width: 64ch; }
.h2 { margin: 0 0 .45em; font: 800 clamp(1.6rem, 3.6vw, 2.7rem)/1.08 var(--display); text-transform: uppercase; letter-spacing: -.025em; }
.bhead__intro { margin: 0; color: var(--ink-2); font-size: 1.1rem; }
.spacer--s { height: 24px; } .spacer--m { height: 64px; } .spacer--l { height: 128px; }

/* Rich-Text */
.rich > :first-child { margin-top: 0; }
.rich p, .rich ul, .rich ol { margin: 0 0 1em; }
.rich h3 { font: 800 1.3rem/1.2 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
.rich h4 { font: 700 1.05rem/1.3 var(--text); color: #fff; margin: 1.6em 0 .6em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin: .35em 0; }
.rich li::marker { color: var(--brand-2); }
.rich mark { background: color-mix(in srgb, var(--brand) 32%, transparent); color: #fff; padding: .05em .25em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.rich blockquote { margin: 1.2em 0; padding-left: 1em; border-left: 3px solid var(--brand); color: var(--ink-2); }
.rich img { border-radius: 10px; border: 1px solid var(--line); margin: 1em 0; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.rich code { background: var(--bg-raise); padding: .1em .4em; border-radius: 5px; font-size: .9em; }
.rich strong { color: #fff; }

/* Features: zweispaltige Liste */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 56px; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; font-size: 1.7rem; border-radius: 14px; background: var(--bg-raise); border: 1px solid var(--line); }
.feature__title { margin: 4px 0 6px; font: 700 1.15rem/1.3 var(--text); }
.feature p { margin: 0; color: var(--ink-2); }

/* Fraktions-Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card {
  --c: var(--brand); position: relative; display: block; padding: 28px 24px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, var(--bg-raise)), var(--bg-raise) 60%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); color: var(--ink); text-decoration: none; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: color-mix(in srgb, var(--c) 22%, transparent); flex: none; }
.card__icon img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.card__title { margin: 0; font: 800 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
a.card:hover { border-color: var(--c); color: var(--ink); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 96px; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: -4px;
  font: 800 4.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand-2) 70%, transparent);
}
.step__title { margin: 0 0 8px; font: 700 1.25rem/1.3 var(--text); }
.step p { margin: 0 0 16px; color: var(--ink-2); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--line); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; }
.stat dt { color: var(--muted); }

/* Zitat */
.quote { margin: 0 auto; max-width: 900px; text-align: center; }
.quote blockquote { margin: 0; font: 700 clamp(1.3rem, 2.6vw, 2rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.quote blockquote::before { content: "„"; color: var(--brand-2); }
.quote blockquote::after { content: "“"; color: var(--brand-2); }
.quote figcaption { margin-top: 16px; color: var(--muted); }
.quote figcaption::before { content: "– "; }

/* Bild + Text */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* CTA-Band */
.cta { position: relative; padding-block: clamp(72px, 10vw, 140px); overflow: hidden; isolation: isolate; border-top: 1px solid var(--line-soft); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 120% at 100% 100%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 65%),
    radial-gradient(ellipse 40% 80% at 0% 0%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 70%);
}
.cta__title { margin: 0; max-width: 16ch; font: 800 clamp(2rem, 4.6vw, 3.6rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.cta__text { margin: 20px 0 32px; color: var(--ink-2); font-size: 1.15rem; }

/* ---------- Regelwerk ---------- */
.rules { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rules--plain { grid-template-columns: minmax(0, 1fr); }
.rules--plain .rules__body { max-width: 78ch; }
.rules__index { position: sticky; top: 92px; max-height: calc(100vh - 112px); display: flex; flex-direction: column; }
.rules__search { position: relative; }
.rules__search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.rules__search input {
  width: 100%; padding: 13px 14px 13px 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-raise);
  color: var(--ink); font: inherit; font-size: .98rem;
}
.rules__search input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }
.rules__hits { margin: 8px 2px 0; min-height: 1.4em; font-size: .85rem; color: var(--muted); }
.toc { list-style: none; margin: 8px 0 0; padding: 0 6px 0 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toc a { display: grid; grid-template-columns: 44px 1fr; gap: 4px; padding: 7px 10px 7px 8px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35; border-left: 2px solid transparent; }
.rules:not(.rules--numbered) .toc a { grid-template-columns: 1fr; }
.toc a:hover { color: #fff; background: var(--bg-hover); }
.toc a.is-current { color: #fff; border-left-color: var(--brand-2); background: color-mix(in srgb, var(--brand) 14%, transparent); border-radius: 0 8px 8px 0; }
.toc a.is-dim { opacity: .3; }
.toc__n { font: 700 .9rem/1.45 var(--display); color: var(--brand-2); }
.rules__intro { margin-bottom: 40px; color: var(--ink-2); max-width: 72ch; }
.rules__empty { color: var(--muted); padding: 40px 0; }

.para { padding: 40px 0 32px; border-top: 1px solid var(--line); counter-reset: item; }
.para:first-of-type { border-top: 0; padding-top: 0; }
.para__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.para__num {
  flex: none; min-width: 2.2ch; font: 800 clamp(2.4rem, 4vw, 3.2rem)/.9 var(--display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--brand-2);
}
.para__title { margin: 0; font: 800 clamp(1.2rem, 2.2vw, 1.65rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: -.015em; flex: 1; }
.para__link {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent;
  background: none; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s;
}
.para__link svg { width: 18px; height: 18px; }
.para:hover .para__link, .para__link:focus-visible { opacity: 1; }
.para__link:hover { color: #fff; border-color: var(--line); }
.para__link.is-copied { color: var(--good); opacity: 1; }
@media (hover: none) { .para__link { opacity: .7; } }
.para__content { max-width: 78ch; }
.para__content > ul, .para__content > ol { list-style: none; padding: 0; }
.para__content > ul > li, .para__content > ol > li {
  counter-increment: item; position: relative; padding: 10px 0 10px 3.4rem; margin: 0;
  border-bottom: 1px solid var(--line-soft);
}
.para__content > ul > li:last-child, .para__content > ol > li:last-child { border-bottom: 0; }
.para__content > ul > li::before, .para__content > ol > li::before {
  content: attr(data-n); position: absolute; left: 0; top: 10px;
  font: 700 .85rem/1.9 var(--text); font-variant-numeric: tabular-nums; color: var(--muted);
}
.para.is-hidden, .faq__item.is-hidden { display: none; }
.para__content li.is-hidden, .para__content p.is-hidden { display: none; }
.rich mark.hit, .hit { background: var(--warn); color: #1a1200; border-radius: 3px; padding: 0 .1em; }
.para:target .para__title { color: var(--brand-2); }

@media (max-width: 960px) {
  .rules { grid-template-columns: 1fr; }
  .rules__index { position: sticky; top: 72px; z-index: 5; max-height: none; background: var(--bg); padding: 12px 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line-soft); }
  .rules__index nav { display: none; }
  .rules__hits:empty { display: none; }
  .para__content > ul > li, .para__content > ol > li { padding-left: 2.8rem; }
}

/* ---------- Wiki / FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__search { margin-bottom: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.faq__item[open] { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.faq__item summary { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 700 1.1rem/1.35 var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { flex: 1; }
.faq__item summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; background: var(--brand-2); transition: transform .2s; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__content { padding: 0 22px 22px; color: var(--ink-2); }
.faq__content img { max-width: min(100%, 560px); }

/* ---------- Changelog ---------- */
.changelog { list-style: none; margin: 0; padding: 0; }
.change { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.change p { margin: 0; }
.change__meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.change__meta time { color: var(--muted); font-size: .9rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tag--added { background: rgba(123,255,176,.12); color: var(--good); }
.tag--changed { background: rgba(242,193,78,.13); color: var(--warn); }
.tag--removed { background: rgba(255,93,122,.13); color: var(--bad); }
@media (max-width: 600px) { .change { grid-template-columns: 1fr; gap: 8px; } .change__meta { flex-direction: row; align-items: center; } }

/* ---------- Download ---------- */
.download { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); max-width: 900px; flex-wrap: wrap; }
.download__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 25%, transparent); color: var(--brand-2); flex: none; }
.download__icon svg { width: 30px; height: 30px; }
.download__text { flex: 1; min-width: 200px; }
.download__text h3 { margin: 0 0 6px; font: 800 1.25rem/1.15 var(--display); text-transform: uppercase; }
.download__text p { margin: 0; color: var(--ink-2); }

/* ---------- Team / Galerie / Video ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.member__avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-raise); border: 2px solid var(--line); font: 800 1.9rem/1 var(--display); color: var(--brand-2); margin-bottom: 10px; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-weight: 700; }
.member__role { color: var(--muted); font-size: .92rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.gallery figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 40%, var(--bg)), var(--bg-sunk)); border: 1px solid var(--line); display: grid; place-items: center; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { display: inline-flex; align-items: center; gap: 10px; background: var(--button); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 14px 22px; font: 700 1rem/1 var(--text); cursor: pointer; }
.video__play svg { width: 20px; height: 20px; }
.video__note { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Fußzeile ---------- */
.site-foot { margin-top: 0; border-top: 1px solid var(--line-soft); padding: 56px 0 32px; background: rgba(7,4,16,.75); overflow: hidden; }
.site-foot__word {
  margin: 0 0 40px; font: 800 clamp(2.2rem, 8.6vw, 7.4rem)/.95 var(--display); text-transform: uppercase; white-space: nowrap; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(139,92,246,.28);
}
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot__text { margin: 0 0 18px; color: var(--ink-2); max-width: 44ch; }
.site-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.site-foot__links a { color: var(--ink-2); text-decoration: none; }
.site-foot__links a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); }
.socials a:hover { color: #fff; border-color: var(--brand-2); }
.socials svg { width: 20px; height: 20px; }
.site-foot__disclaimer { margin: 40px 0 0; color: var(--muted); font-size: .88rem; max-width: 90ch; }
.site-foot__copy { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__grid > :first-child { grid-column: 1 / -1; } }

.edit-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; background: var(--button); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); }
.edit-fab:hover { background: var(--brand-2); color: #fff; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--bg-2); color: var(--ink); border: 1px solid rgba(139,92,246,.4); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; transition: .25s; z-index: 90; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

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

/* Schimmer-Rahmen wie die Fenster der nova_base */
.card, .faq__item, .download, .feature__icon, .member__avatar { position: relative; }
.faq__item, .download { background: var(--panel); border-radius: var(--radius); }
.card::after, .faq__item::after, .download::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,0) 26%, rgba(255,255,255,0) 74%, rgba(139,92,246,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.feature__icon { background: linear-gradient(160deg, rgba(109,40,217,.45), rgba(139,92,246,.12)); border-color: rgba(139,92,246,.35); box-shadow: 0 0 22px rgba(139,92,246,.2); }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(139,92,246,.55), rgba(109,40,217,.55)); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

/* =========================================================================
   Marken-Bausteine: Banner, Video-Band, Logo-Animation, Status, Tasten,
   Hall of Shame, Neuigkeiten
   ========================================================================= */

/* Logo-Animation rechts im Startbild */
.hero__side { display: none; }
@media (min-width: 1100px) {
  .hero--side .hero__t1, .hero--side .hero__t2 { font-size: clamp(2rem, 5.4vw, 5.4rem); }
  .hero__side {
    display: block; position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    top: 50%; transform: translateY(-46%); width: min(34vw, 470px); aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(139,92,246,.35); border: 1px solid rgba(201,181,255,.25);
  }
  .hero__side video, .hero__side img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero__side::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
    background: linear-gradient(140deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(192,132,252,.6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .hero__side { animation: side-in 1.1s 1.25s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes side-in { from { opacity: 0; transform: translateY(-40%) scale(.94); } to { opacity: 1; transform: translateY(-46%); } }

/* Banner-Grafik als Seitenkopf */
.banner { padding: clamp(20px, 3vw, 36px) 0 0; position: relative; isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0 0 -40% 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 30% 0%, rgba(139,92,246,.28), transparent 70%); pointer-events: none; }
.banner__frame { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(201,181,255,.18); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 50px rgba(139,92,246,.18); background: var(--bg-sunk); }
.banner__frame img { width: 100%; height: auto; display: block; }
.banner__frame a { display: block; }
.banner__frame a:hover img { filter: brightness(1.08); }
.banner__sub { margin: 22px 0 0; max-width: 64ch; color: var(--ink-2); font-size: 1.12rem; }
.banner__title-edit { margin: 10px 0 0; font: 600 .9rem/1.4 var(--text); color: var(--muted); }
.banner + .block, .banner + .block.rules { padding-top: clamp(36px, 5vw, 64px); }

/* Video-Band */
.ticker { position: relative; overflow: hidden; background: var(--bg-sunk); border-block: 1px solid rgba(139,92,246,.25); }
.ticker video, .ticker img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticker--s { height: 56px; } .ticker--m { height: clamp(64px, 7vw, 108px); } .ticker--l { height: clamp(96px, 12vw, 180px); }
.ticker::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg-sunk), transparent 12%, transparent 88%, var(--bg-sunk)); }

/* Bewerbungsphase / Status */
.statuscard {
  --s: var(--warn);
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--s) 35%, transparent); box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.statuscard::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--s) 22%, transparent), transparent); pointer-events: none; }
.statuscard--open { --s: var(--good); }
.statuscard--closed { --s: var(--bad); }
.statuscard > * { position: relative; }
.statuscard__pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--s); background: color-mix(in srgb, var(--s) 12%, transparent); border: 1px solid color-mix(in srgb, var(--s) 35%, transparent); }
.statuscard__pill span { width: 9px; height: 9px; border-radius: 50%; background: var(--s); box-shadow: 0 0 12px var(--s); }
.statuscard--open .statuscard__pill span { animation: pulse 2s infinite; }
.statuscard__title { margin: 0 0 12px; font: 800 clamp(1.7rem, 3.6vw, 2.8rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.025em; }
.statuscard__text { margin: 0 0 18px; color: var(--ink-2); max-width: 52ch; }
.statuscard__dates { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 22px; color: var(--muted); }
.statuscard__dates b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.statuscard__count { text-align: center; }
.statuscard__count-label { margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.countdown { display: flex; justify-content: center; gap: 10px; }
.countdown span { display: grid; min-width: 86px; padding: 14px 8px 10px; border-radius: var(--radius); background: rgba(7,4,16,.55); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.countdown b { font: 800 2.3rem/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .statuscard { grid-template-columns: 1fr; } .countdown span { min-width: 72px; } }

/* Tastenbelegung im Stil der Keybind-Grafik */
.keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px 18px; }
.key { display: flex; align-items: stretch; gap: 10px; }
.key__cap {
  flex: none; display: grid; place-items: center; min-width: 64px; padding: 0 10px; border-radius: 12px;
  font: 800 1.35rem/1 var(--display); color: #eef0f6; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 2px 8px rgba(0,0,0,.6);
  background: linear-gradient(180deg, #2a1d4a, #120a25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.4);
}
.key__text { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 16px; border-radius: 12px; background: rgba(7,4,16,.55); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--brand); }
.key__text b { font: 800 1.1rem/1.1 var(--display); text-transform: uppercase; color: var(--brand-2); letter-spacing: -.01em; }
.key__text small { color: var(--ink-2); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; }

/* Hall of Shame */
.shame { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.shame__card { position: relative; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid rgba(255,93,122,.22); }
.shame__top { display: flex; align-items: center; gap: 14px; }
.shame__top > div { flex: 1; min-width: 0; }
.shame__avatar { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex: none; display: grid; place-items: center; background: rgba(255,93,122,.12); color: var(--bad); font: 800 1.3rem/1 var(--display); filter: grayscale(.4); }
.shame__avatar img { width: 100%; height: 100%; object-fit: cover; }
.shame__name { margin: 0 0 2px; font: 800 1.15rem/1.15 var(--display); text-transform: uppercase; }
.shame__top time { color: var(--muted); font-size: .85rem; }
.shame__stamp { flex: none; padding: 5px 10px; border: 2px solid var(--bad); color: var(--bad); border-radius: 6px; font: 800 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; transform: rotate(-4deg); }
.shame__reason { margin: 14px 0 0; color: var(--ink-2); }

/* Neuigkeiten */
.bhead--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.bhead--row .h2 { margin: 0; }
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.news__item { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.news__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; color: var(--muted); font-size: .88rem; }
.news__text { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Changelog: Filter, Version */
.cl-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cl-filter button { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-raise); color: var(--ink-2); font: 600 .9rem/1 var(--text); cursor: pointer; }
.cl-filter button span { color: var(--muted); font-weight: 500; }
.cl-filter button:hover { border-color: var(--brand-2); color: #fff; }
.cl-filter button.is-on { background: rgba(139,92,246,.2); border-color: rgba(139,92,246,.55); color: #fff; }
.change.is-filtered { display: none; }
.change__body { display: flex; gap: 12px; align-items: flex-start; }
.change__body .tag { flex: none; margin-top: 2px; }
.change__ver { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(139,92,246,.14); color: var(--brand-pale); font-size: .78rem; font-weight: 600; }
@media (max-width: 600px) { .change__body { flex-direction: column; gap: 6px; } }

/* CTA mit Bild */
.cta--img .cta__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(201,181,255,.2); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 50px rgba(139,92,246,.25); }
.cta__media img { width: 100%; display: block; transition: transform .4s ease; }
.cta__media a:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .cta--img .cta__inner { grid-template-columns: 1fr; } }
.hero__side:not(:has(video, img)) { display: none !important; }
