/* ==========================================================================
   Zenit City
   Statisches Stylesheet, kein Build-Schritt. Wird von Apache direkt geliefert.

   Farbsystem: die Seite ist bewusst nur dunkel. Das Logo ist ein magenta
   Neon-Schriftzug auf Schwarz und das Bildmaterial sind Nachtaufnahmen aus
   dem Spiel. Eine helle Variante wuerde beides zerlegen.

   Radien: eine Skala, 4 / 10 / 18. Kein gemischtes System.
   ========================================================================== */

/* ---------- Schriften ---------------------------------------------------- */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token ------------------------------------------------------- */

:root {
  color-scheme: dark;

  --bg:            #1a1424;
  --bg-raise:      #221a2e;
  --surface:       #271e35;
  --surface-high:  #322542;
  --line:          rgb(255 255 255 / .12);
  --line-strong:   rgb(255 255 255 / .24);

  --text:          #f3eef8;
  --text-dim:      #c3b8d1;
  --text-faint:    #9c90aa;

  /* Markenfarbe, aus dem Logo abgegriffen (#c00ccc dominant).
     --accent traegt weisse Schrift (5.5:1), --accent-press ist der dunklere
     Hover, --accent-hot steht nur als Textfarbe auf dunklem Grund (6.1:1).
     Weisse Schrift auf --accent-hot waere 3.3:1 und faellt durch AA, deshalb
     wird auf Hover abgedunkelt statt aufgehellt. */
  --accent:        #b415c0;
  --accent-press:  #9c11a8;
  --accent-hot:    #e93cf5;
  --accent-deep:   #4d0755;
  --on-accent:     #ffffff;

  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  18px;

  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --wrap:  1240px;
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);

  --ease:  cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Grundlagen -------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  /* Sprungziele nicht unter die klebende Kopfzeile schieben */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden. hidden macht den Body zur Scroll-Box, was
     position:sticky in manchen Browsern aushebelt. Gemessen war Chrome
     hier unauffaellig, clip hat aber denselben Nutzen ohne das Risiko. */
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  margin: 0;
}

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

strong, b { font-weight: 600; color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-hot);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Kopfzeile --------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(26 20 36 / .74);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.hdr[data-stuck='true'] {
  background: rgb(26 20 36 / .94);
  border-bottom-color: var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .hdr { background: #1a1424; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand span {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.6vw, 1.7rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav a {
  text-decoration: none;
  font-size: .795rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  padding: .35rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent-hot);
  transition: right .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }

.hdr .btn { flex: none; }

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .nav { display: none; }
  .hdr .hdr__cta { display: none; }
  .burger { display: flex; }
}

/* Schublade fuer Mobil */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(20 15 28 / .98);
  display: grid;
  align-content: start;
  padding: 1.1rem var(--pad-x) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.drawer[data-open='true'] { opacity: 1; visibility: visible; transform: none; }

.drawer__top { display: flex; align-items: center; height: 46px; margin-bottom: 1.5rem; }
.drawer__top button {
  margin-left: auto;
  background: none; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); color: var(--text);
  width: 44px; height: 44px; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.drawer ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer li + li { border-top: 1px solid var(--line); }
.drawer ul a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* ---------- Knoepfe ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease);
}
.btn .ico { font-size: 1.05em; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover { background: var(--accent-press); }

.btn--ghost {
  background: rgb(255 255 255 / .05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgb(255 255 255 / .11); border-color: var(--accent-hot); }

.btn--head { padding: .6rem 1.05rem; font-size: .78rem; }

.btn--wide { padding: .95rem 1.8rem; font-size: .9rem; }

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

.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.sec__title {
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  max-width: 18ch;
}
.sec__lead {
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 1.35rem;
  font-size: 1.06em;
}

/* Ein duenner Verlauf trennt die Abschnitte, statt einer harten Linie. */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent);
}

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

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  padding-block: 7rem 4.5rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgb(26 20 36 / .58) 45%, rgb(26 20 36 / .3) 100%),
    linear-gradient(to right, rgb(26 20 36 / .84), rgb(26 20 36 / .14) 62%);
}
.hero__in { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-size: clamp(2.9rem, 9.5vw, 7rem);
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-hot);
}
.hero p {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, .95rem + .45vw, 1.28rem);
  color: #e7dfee;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* ---------- Laufzeit-Zaehler -------------------------------------------- */

.uptime {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(180 21 192 / .09), transparent 70%);
}
.uptime__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding-block: 1.9rem;
}
.uptime__label {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--text-faint);
  max-width: 8ch;
  line-height: 1.15;
}
.uptime__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 3vw, 2.6rem);
  flex: 1 1 380px;
}
.uptime__cell { text-align: left; }
.uptime__cell b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.uptime__cell span {
  display: block;
  margin-top: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Bento: Server / TeamSpeak / Discord ------------------------- */

.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: 'a b' 'a c';
}
.bento > * { min-width: 0; }
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }

@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: 'a' 'b' 'c'; }
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  isolation: isolate;
}
.tile--lead { min-height: 480px; }

.tile__bg { position: absolute; inset: 0; z-index: -2; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(22 17 31 / .95) 12%, rgb(22 17 31 / .74) 48%, rgb(22 17 31 / .38));
}
.tile:hover .tile__bg img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) {
  .tile__bg img { transition: none; }
  .tile:hover .tile__bg img { transform: none; }
}

.tile h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  margin-bottom: .75rem;
}
.tile p { color: #ded5e7; font-size: .985em; max-width: 52ch; }
.tile .btn { align-self: flex-start; margin-top: 1.4rem; }

/* ---------- Philosophie -------------------------------------------------- */

.band {
  position: relative;
  height: clamp(220px, 34vw, 420px);
  overflow: hidden;
}
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg), rgb(26 20 36 / .28) 42%, rgb(26 20 36 / .48) 62%, var(--bg));
}

.prose {
  max-width: 66ch;
  color: var(--text-dim);
}
.prose p + p { margin-top: 0; }

.philo__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 899px) {
  .philo__grid { grid-template-columns: 1fr; }
}
.philo__grid > * { min-width: 0; }
.philo__grid > div:first-child { position: sticky; top: 7rem; }
@media (max-width: 899px) {
  .philo__grid > div:first-child { position: static; }
}

/* ---------- Regelwerk (Bild + Text) ------------------------------------- */

.split > * { min-width: 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Zeitleiste --------------------------------------------------- */

.tl { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }

.tl__item > * { min-width: 0; }
.tl__item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 767px) { .tl__item { grid-template-columns: 1fr; } }

.tl__pic { position: relative; min-height: 190px; }
.tl__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl__pic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(39 30 53 / .1), var(--surface) 96%);
}
@media (max-width: 767px) {
  .tl__pic { min-height: 150px; }
  .tl__pic::after { background: linear-gradient(180deg, rgb(39 30 53 / .1), var(--surface) 96%); }
}

.tl__body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.tl__date {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-hot);
}
.tl__body h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: .6rem 0 .35rem; }
.tl__kicker {
  font-weight: 600;
  color: #fff;
  margin-bottom: .9rem;
}
.tl__body p { color: var(--text-dim); font-size: .97em; }
.tl__body .btn { margin-top: 1.3rem; }

.tl__facts { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .3rem; }
.tl__facts li { color: var(--text-dim); }

/* ---------- Sozial / Streamer -------------------------------------------- */

.social__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 899px) { .social__grid { grid-template-columns: 1fr; } }
.social__grid > * { min-width: 0; }

.chan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .7rem;
  margin-top: 2rem;
}
.chan a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.chan a:hover { border-color: var(--accent); background: var(--surface-high); transform: translateY(-2px); }
.chan .ico { font-size: 1.35rem; }
.chan a:hover .ico { color: var(--accent-hot); }
@media (prefers-reduced-motion: reduce) { .chan a:hover { transform: none; } }

.qr {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  padding: 1rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
  justify-self: center;
}
.qr img { border-radius: var(--r-md); width: 100%; }
.qr h3 { font-size: 1.1rem; margin-top: .9rem; letter-spacing: .1em; }

/* Einzigartig: Text plus Video-Karte */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } }
.feature > * { min-width: 0; }

.vidcard {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  text-decoration: none;
}
.vidcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vidcard:hover img { transform: scale(1.04); }
.vidcard__mask {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem;
  background: rgb(22 17 31 / .5);
  transition: background-color .3s var(--ease);
}
.vidcard:hover .vidcard__mask { background: rgb(22 17 31 / .34); }
.vidcard__play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  font-size: 1.5rem;
  padding-left: .18rem;
}
.vidcard__mask span {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) { .vidcard:hover img { transform: none; } }

/* Streamer: zwei Portraits plus eine breite Einladung */
.streamers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 767px) { .streamers { grid-template-columns: 1fr; } }
/* Rasterkinder duerfen sonst ueber ihre Spur hinauswachsen (min-width:auto). */
.streamers > *, .scard > div, .invite > * { min-width: 0; }

.scard {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.scard:hover { border-color: var(--accent); background: var(--surface-high); }
.scard img {
  width: 84px; height: 84px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex: none;
  background: var(--bg-raise);
}
.scard h3 { font-size: 1.2rem; letter-spacing: .04em; }
.scard b { display: block; margin: .5rem 0 .35rem; font-size: .95rem; }
.scard p { color: var(--text-dim); font-size: .93rem; }
.scard__handle {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-hot);
}

.invite {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: 1rem;
  isolation: isolate;
}
@media (max-width: 767px) { .invite { grid-template-columns: 1fr; } }
.invite__body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.invite h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.invite b { display: block; margin: .75rem 0 .4rem; color: #fff; }
.invite p { color: var(--text-dim); max-width: 46ch; }
.invite__pic { align-self: stretch; position: relative; min-height: 220px; }
.invite__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.invite__pic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--surface), rgb(39 30 53 / .15) 55%);
}
@media (max-width: 767px) {
  .invite__pic::after { background: linear-gradient(180deg, var(--surface), rgb(39 30 53 / .15) 55%); }
}
.invite { background: var(--surface); }

/* ---------- Aufruf-Band -------------------------------------------------- */

.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 8% 0%, rgb(180 21 192 / .32), transparent 58%),
    var(--surface);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
@media (max-width: 767px) { .callout { grid-template-columns: 1fr; } }
.callout > * { min-width: 0; }
.callout h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.callout p { color: var(--text-dim); margin-top: .9rem; max-width: 58ch; }

/* ---------- Day One ------------------------------------------------------ */

.dayone { position: relative; overflow: hidden; }
.dayone__bg { position: absolute; inset: 0; z-index: 0; }
.dayone__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.dayone__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg), rgb(26 20 36 / .62) 40%, var(--bg));
}
.dayone .wrap { position: relative; z-index: 1; }

.crew {
  display: flex;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  /* am Rand ausbrechen, damit die Reihe randlos wirkt */
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
}
.crew::-webkit-scrollbar { height: 6px; }
.crew::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }
.crew::-webkit-scrollbar-track { background: rgb(255 255 255 / .06); border-radius: 99px; }

.crew figure {
  flex: none;
  width: clamp(140px, 20vw, 190px);
  margin: 0;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-high), var(--surface));
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.crew figure:hover { border-color: var(--accent); }
.crew img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: 50% 100%;
  padding: .6rem .6rem 0;
}
.crew figcaption {
  padding: .7rem .8rem .85rem;
  border-top: 1px solid var(--line);
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .05em;
  text-align: center;
}

/* ---------- Fusszeile ---------------------------------------------------- */

.ft {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}
.ft__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 767px) { .ft__grid { grid-template-columns: 1fr; } }
.ft__grid > * { min-width: 0; }

.ft h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.ft h3 {
  font-size: .8rem;
  letter-spacing: .16em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
/* Tippziel mindestens 24px hoch, WCAG 2.2 Zielgroesse */
.ft ul a { display: inline-block; padding-block: .35rem; }
.ft a { color: var(--text-dim); text-decoration: none; transition: color .2s var(--ease); }
.ft a:hover { color: var(--accent-hot); }
.ft__soc { display: flex; gap: .55rem; margin-top: 1.6rem; flex-wrap: wrap; }
.ft__soc a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 1.15rem;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.ft__soc a:hover { border-color: var(--accent); background: var(--surface-high); color: var(--accent-hot); }

.ft__base {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
  font-size: .84rem;
  color: var(--text-faint);
}
.ft__base nav { display: flex; gap: 1.4rem; margin-left: auto; flex-wrap: wrap; }
.ft__base nav a { display: inline-block; padding-block: .35rem; }

/* ---------- Unterseiten -------------------------------------------------- */

.page { padding-block: clamp(3rem, 7vw, 5rem) var(--sec-y); }
.page__back {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  margin-bottom: 2.2rem;
}
.page__back:hover { color: var(--accent-hot); }
.page__back .ico { transform: rotate(180deg); }

.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

.steps { counter-reset: s; display: grid; gap: 1rem; margin-top: 2.2rem; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step::before {
  counter-increment: s;
  content: counter(s);
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-hot);
  width: 2.2rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .45rem; letter-spacing: .04em; }
.step p { color: var(--text-dim); font-size: .96em; }

.legal { max-width: 74ch; }
.legal h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-family: 'Outfit', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 1.9rem;
  margin-bottom: .5rem;
  color: #fff;
}
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .3rem; }
.legal a { color: var(--accent-hot); }

.addr {
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.6rem 1.8rem;
  margin-top: 1.8rem;
  color: var(--text-dim);
  line-height: 1.85;
}
.addr strong { display: block; font-size: 1.15rem; margin-bottom: .5rem; }

/* ---------- Bewegung ----------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* Ohne JavaScript darf nichts unsichtbar bleiben. */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Regelwerk ---------------------------------------------------- */

.rlpage {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 949px) { .rlpage { grid-template-columns: 1fr; } }
.rlpage > * { min-width: 0; }
/* Kurze Regelwerke bekommen kein Inhaltsverzeichnis. Dann faellt die
   Randspalte weg, statt den Text in 260px zu quetschen. */
.rlpage--solo { grid-template-columns: minmax(0, 1fr); }
.rlpage--solo .rltext { max-width: 72ch; }

/* Seitliches Inhaltsverzeichnis. Es ist laenger als der Bildschirm, deshalb
   bekommt es eine eigene Bildlaufleiste statt unten abgeschnitten zu werden. */
.toc {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100svh - 8.5rem);
  overflow-y: auto;
  /* Kein overscroll-behavior: contain. Sonst bleibt die Seite stehen, sobald
     das Verzeichnis unter dem Mauszeiger am Ende angekommen ist, und das
     fuehlt sich an, als haenge das Scrollen fest. */
  padding-right: .4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.toc::-webkit-scrollbar { width: 6px; }
.toc::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }
.toc::-webkit-scrollbar-track { background: rgb(255 255 255 / .06); border-radius: 99px; }
@media (max-width: 949px) {
  .toc {
    position: static;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.2rem 1.4rem;
    background: var(--surface);
  }
}
.toc h2 {
  font-size: .78rem; letter-spacing: .16em; color: var(--text-faint); margin-bottom: .9rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a {
  display: block;
  padding: .4rem .7rem;
  border-left: 2px solid var(--line);
  color: var(--text-dim);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.toc a:hover { color: var(--text); border-left-color: var(--accent-hot); background: rgb(255 255 255 / .04); }

/* Suchfeld */
.rlfind { margin-bottom: 2rem; }
.rlfind label {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .5rem;
}
.rlfind input {
  width: 100%;
  padding: .85rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.rlfind input::placeholder { color: var(--text-faint); }
.rlfind input:focus-visible { border-color: var(--accent-hot); }
.rlfind p { margin: .6rem 0 0; font-size: .88rem; color: var(--text-faint); }

/* Regeltext */
.rltext h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  margin-top: 3.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.rltext h2:first-child { margin-top: 0; }
.rltext h3 {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  margin-top: 2.6rem;
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
}
.rl__sec { color: var(--accent-hot); }
.rltext > p { color: var(--text-dim); max-width: 68ch; margin-top: 1rem; }
.rl__lead { color: #fff !important; font-weight: 600; margin-top: 1.6rem !important; }

.rl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.rl:target { background: rgb(180 21 192 / .12); border-radius: var(--r-md); padding-inline: .9rem; }
.rl__no {
  font-family: 'Anton', sans-serif;
  font-size: .95rem;
  letter-spacing: .03em;
  color: var(--accent-hot);
  text-decoration: none;
  min-width: 3.6rem;
  padding-top: .12rem;
  white-space: nowrap;
}
.rl__no:hover { text-decoration: underline; }
.rl__txt { margin: 0; color: var(--text-dim); }

.rl__para {
  font-family: 'Outfit', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.45;
  color: #fff;
  margin-top: 2.2rem;
  margin-bottom: .55rem;
  scroll-margin-top: 6rem;
}
.rl__para a { color: var(--accent-hot); text-decoration: none; }
.rl__para a:hover { text-decoration: underline; }
.rl__para:target { background: rgb(180 21 192 / .12); border-radius: var(--r-md); padding: .35rem .7rem; margin-left: -.7rem; }
.rl__abs { color: var(--text-dim); margin: 0 0 .45rem; padding-left: 1rem; border-left: 2px solid var(--line); }
.rl__abs b { color: var(--text); font-weight: 600; }

.rl__bullets { list-style: none; margin: .9rem 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.rl__bullets li { color: var(--text-dim); padding-left: 1.4rem; position: relative; }
.rl__bullets li::before {
  content: '';
  position: absolute; left: .2rem; top: .72em;
  width: 6px; height: 6px;
  background: var(--accent-hot);
  border-radius: 50%;
}

.rlempty { display: none; color: var(--text-dim); padding: 2rem 0; }
.is-empty .rlempty { display: block; }

/* Kachelübersicht der Regelwerke. Feste Spaltenzahl statt auto-fit, damit
   die letzte Zeile nicht halb leer bleibt. Fünf Kacheln gehen auf, wenn die
   erste zwei Spalten belegt, sechs gehen ohnehin auf. */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}
.card--lead { grid-column: span 2; }
@media (max-width: 899px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cards { grid-template-columns: 1fr; }
  .card--lead { grid-column: auto; }
}
.cards > * { min-width: 0; }
.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--accent); background: var(--surface-high); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { color: var(--text-dim); font-size: .95rem; }
.card__go {
  margin-top: auto;
  padding-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-hot);
}
.card--wide { grid-column: 1 / -1; }

/* Brotkrumen */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem; color: var(--text-faint);
  margin-bottom: 1.6rem;
  list-style: none; padding: 0;
}
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent-hot); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--text-faint); }

/* ---------- Hinweise auf den Rechtsseiten -------------------------------- */

.notice {
  border: 1px solid rgb(255 176 32 / .45);
  border-left-width: 4px;
  border-radius: var(--r-md);
  background: rgb(255 176 32 / .09);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0 2.4rem;
}
.notice p { margin: 0; color: #f4e2c4; }
.notice strong { color: #ffd18a; }

mark.todo {
  background: rgb(255 92 92 / .18);
  color: #ffb3b3;
  border: 1px dashed rgb(255 92 92 / .5);
  border-radius: var(--r-sm);
  padding: .05em .45em;
  font-style: italic;
}

.legal code {
  background: var(--surface-high);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .1em .4em;
  font-size: .92em;
}

/* Zwei Knöpfe in einer Kachel */
.tile__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}
.tile__cta .btn { margin-top: 0; }
