/* ==========================================================================
   ITSWEBER Gameserver, Theme-Stylesheet
   Dunkel ist Standard, Hell wird über data-dark-mode="false" am html-Element gesetzt.
   Schriften liegen lokal unter ../fonts. Alle eigenen Klassen tragen den Präfix gs-,
   die Klassen des gemeinsamen Header- und Footer-Renderers (site-header, nav-list,
   footer-grid und andere) werden hier gestaltet.
   ========================================================================== */

/* ---- Schriften ---- */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-semi-condensed/barlow-semi-condensed-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-semi-condensed/barlow-semi-condensed-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans/open-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/open-sans/open-sans-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans/open-sans-latin-700.woff2") format("woff2"); }

/* ---- Pflicht-Tokens des CMS (Scheme-System), dunkler Standard ---- */
:root, :root[data-dark-mode="true"] {
  --scheme-primary-bg: #0a0e13;  --scheme-primary-text: #eef2f6;  --scheme-primary-muted: #aeb8c4;
  --scheme-alt-bg: #101620;      --scheme-alt-text: #eef2f6;
  --scheme-dark-bg: #06090d;     --scheme-dark-text: #f3f6f9;     --scheme-dark-muted: #bac4cf;

  /* eigene Theme-Tokens */
  --color-primary: #2ee6c8;  --color-accent: #45c8ff;  --on-primary: #04130f;
  --color-ens: #e3ad57;
  --surface: #121922;  --surface-2: #18212c;  --line: #253142;  --line-2: #1b2532;  --ink-3: #8f9bab;
  --warn: #fbbf24;  --bad: #f87171;
  --primary-soft: rgba(46, 230, 200, .13);  --accent-soft: rgba(69, 200, 255, .13);
  --logo-filter: none;  --bar-bg: rgba(10, 14, 19, .9);
  --shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
:root[data-dark-mode="false"] {
  --scheme-primary-bg: #f3f1ea;  --scheme-primary-text: #0f1620;  --scheme-primary-muted: #4a5565;
  --scheme-alt-bg: #e9e6dc;      --scheme-alt-text: #0f1620;
  --scheme-dark-bg: #0b1118;     --scheme-dark-text: #f3f6f9;     --scheme-dark-muted: #bac4cf;

  --color-primary: #0b7a6d;  --color-accent: #0369a1;  --on-primary: #ffffff;
  --color-ens: #8a5a0b;
  --surface: #ffffff;  --surface-2: #f8f6f1;  --line: #d6d2c5;  --line-2: #e6e3d8;  --ink-3: #566170;
  --warn: #b45309;  --bad: #b91c1c;
  --primary-soft: rgba(11, 122, 109, .10);  --accent-soft: rgba(3, 105, 161, .10);
  --logo-filter: brightness(0);  --bar-bg: rgba(243, 241, 234, .94);
  --shadow: 0 10px 26px -16px rgba(15, 22, 32, .35);
  color-scheme: light;
}
:root {
  /* Zuordnung auf die Namen, die Core-Stylesheets und Plugins erwarten */
  --color-bg: var(--scheme-primary-bg);
  --color-bg-alt: var(--scheme-alt-bg);
  --color-text: var(--scheme-primary-text);
  --color-text-light: var(--scheme-primary-muted);
  --color-border: var(--line);
  --theme-primary: var(--color-primary);
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-sans: var(--font-body);
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, monospace;
  --section-padding: clamp(3rem, 7vw, 5.5rem);
  --radius: 8px;
  --radius-lg: 12px;
  --ink: var(--scheme-primary-text);
  --ink-2: var(--scheme-primary-muted);
}

/* ---- Grundlagen ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--scheme-primary-bg); color: var(--scheme-primary-text); font-family: var(--font-body);
  font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0; }
[hidden] { display: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-primary); color: var(--on-primary); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.gs-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gs-ic--lg { width: 24px; height: 24px; }
.gs-ic--sm { width: 14px; height: 14px; }
.gs-mono { font-family: var(--font-mono); }
.gs-muted { color: var(--ink-3); }
.gs-accent { color: var(--color-primary); }

/* ---- Section Color Schemes (token-driven), Regelblock unverändert aus dem CMS ---- */
.section--scheme-primary { background: var(--scheme-primary-bg); color: var(--scheme-primary-text); }
.section--scheme-primary .section-subtitle,
.section--scheme-primary .testimonial-author-role,
.section--scheme-primary p { color: var(--scheme-primary-muted, var(--scheme-primary-text)); }

.section--scheme-alt { background: var(--scheme-alt-bg); color: var(--scheme-alt-text); }

.section--scheme-dark { background: var(--scheme-dark-bg); color: var(--scheme-dark-text); }
.section--scheme-dark .section-subtitle,
.section--scheme-dark p { color: var(--scheme-dark-muted, var(--scheme-dark-text)); }

/* ---- Kopf (Renderer render_theme_header) ---- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bar-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .header-inner { padding-top: .55rem; padding-bottom: .55rem; }
.site-header .container { max-width: 1200px; }
.site-logo { display: flex; align-items: center; gap: .75rem; color: var(--ink); min-width: 0; }
.site-logo:hover { text-decoration: none; }
.site-logo img { height: 30px; width: auto; filter: var(--logo-filter); }
.site-logo .logo-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-logo img + .logo-text { font-size: .9rem; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: .75rem; }
.site-header.theme-customizable-header .theme-header__nav-center { justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list > .nav-item { position: relative; }
.nav-list > .nav-item > a { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); font-weight: 600; font-size: .92rem;
  padding: .5rem .85rem; border-radius: var(--radius); white-space: nowrap; text-decoration: none; }
.nav-list > .nav-item > a:hover { background: var(--primary-soft); color: var(--ink); }
.nav-list > .nav-item > a.active { color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-primary); border-radius: 0; }
.nav-chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sub-menu { display: none; list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.nav-item.is-open > .sub-menu { display: block; }
.sub-menu a { display: block; padding: .5rem .75rem; color: var(--ink-2); font-weight: 600; font-size: .92rem; border-radius: 6px; white-space: nowrap; }
.sub-menu a:hover { background: var(--primary-soft); color: var(--ink); text-decoration: none; }
.nav-toggle, .theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: var(--radius);
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); line-height: 0; }
.nav-toggle:hover, .theme-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.nav-toggle { display: none; }
.nav-toggle .nav-toggle-cross { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-cross { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-dark-mode="false"] .theme-toggle .icon-sun { display: none; }
:root[data-dark-mode="false"] .theme-toggle .icon-moon { display: block; }
.header-search { display: none; }

/* ---- Schaltflächen ---- */
.gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.3rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  border: 2px solid transparent; text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.gs-btn:hover { transform: translateY(-2px); text-decoration: none; }
.gs-btn--primary { background: var(--color-primary); color: var(--on-primary); }
.gs-btn--primary:hover { background: var(--color-accent); color: var(--on-primary); }
.gs-btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.gs-btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.gs-btn--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; }
.gs-btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, .18); color: #fff; }
.gs-btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.gs-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.gs-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- Typografie-Bausteine ---- */
.gs-eyebrow { display: inline-block; font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-primary); }
.gs-eyebrow--warm { color: var(--color-ens); }
.gs-eyebrow--mint { color: #7ff0dc; }
.gs-h1 { font-size: clamp(2.6rem, 6.8vw, 4.9rem); line-height: 1; letter-spacing: .01em; }
.gs-h1--page { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
.gs-h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.gs-h2--sm { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.gs-h3 { font-size: 1.3rem; }
.gs-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch; }
.gs-sec { padding: var(--section-padding) 0; }
.gs-sec-head { display: grid; gap: .8rem; margin-bottom: 2rem; max-width: 60ch; }
.gs-tag { display: inline-block; font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 4px; background: var(--primary-soft); color: var(--color-primary); }

/* Status-Punkt */
.gs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); flex: none; display: inline-block; }
.gs-dot--warn { background: var(--warn); }
.gs-dot--bad { background: var(--bad); }
.gs-dot--idle { background: var(--ink-3); }

/* Karten und Raster */
.gs-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; min-width: 0; }
.gs-card .gs-h3 { margin-bottom: .9rem; }
.gs-card p { color: var(--ink-2); }
.gs-grid { display: grid; gap: 1.1rem; }
.gs-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.gs-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gs-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gs-stack { display: grid; gap: 1.1rem; min-width: 0; align-content: start; }
.gs-ic-wrap { width: 42px; height: 42px; border-radius: var(--radius); background: var(--primary-soft); color: var(--color-primary); display: grid; place-items: center; flex: none; }
.gs-chip { width: 44px; height: 44px; border-radius: var(--radius); background: #0b0f14; display: grid; place-items: center; flex: none; border: 1px solid rgba(255, 255, 255, .14); }
.gs-chip img { width: 26px; height: 26px; object-fit: contain; }
.gs-chip--px img { image-rendering: pixelated; width: 28px; height: 28px; border-radius: 3px; }
.gs-callout { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--primary-soft);
  border-left: 4px solid var(--color-primary); color: var(--ink); font-size: .94rem; }
.gs-callout .gs-ic { color: var(--color-primary); margin-top: .2rem; }

/* Live-Hinweis, wenn die API nicht erreichbar ist */
.gs-live-note { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; padding: .7rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 4px solid var(--warn); background: var(--surface); color: var(--ink-2); font-size: .92rem; }
.gs-live-note[hidden] { display: none; }
.gs-live-note--hero { margin: .6rem 0 0; background: rgba(6, 9, 13, .72); color: #d6dee7; border-color: rgba(255, 255, 255, .2); border-left-color: var(--warn); }

/* Kopieren-Zeile */
.gs-addr-row { display: grid; gap: .6rem; width: 100%; max-width: 30rem; }
.gs-addr-row--wide { max-width: none; }
.gs-addr { display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .55rem .5rem .9rem; min-width: 0; }
.gs-addr__lbl { font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); width: 6.2rem; flex: none; }
.gs-addr code { font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.gs-copy { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: transparent; border-radius: 6px;
  padding: .3rem .65rem; font-size: .8rem; font-weight: 700; color: var(--ink-2); flex: none; }
.gs-copy:hover, .gs-copy.is-done { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- Hero ---- */
.gs-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(600px, 86vh, 780px); background: #06090d; }
.gs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; z-index: 0; max-width: none; }
.gs-hero--center .gs-hero__bg { object-position: 50% 50%; }
.gs-hero--left .gs-hero__bg { object-position: 30% 50%; }
.gs-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 9, 13, .92) 0%, rgba(6, 9, 13, .7) 38%, rgba(6, 9, 13, .12) 72%), linear-gradient(0deg, rgba(6, 9, 13, .92) 0%, rgba(6, 9, 13, 0) 42%); }
.gs-hero > .container { position: relative; z-index: 2; width: 100%; }
.gs-hero__copy { display: grid; gap: 1.4rem; justify-items: start; max-width: 46rem; padding: 3rem 0 2rem; }
.gs-hero__copy p { color: #d6dee7; }
.gs-hero .gs-accent, .gs-banner .gs-accent, .gs-cta .gs-accent, .gs-error .gs-accent { color: #2ee6c8; }
.gs-hero .gs-eyebrow { color: #7ff0dc; }
.gs-hero .gs-addr { background: rgba(6, 9, 13, .72); border-color: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gs-hero .gs-addr__lbl { color: #9fb0c2; }
.gs-hero .gs-addr code { color: #fff; }
.gs-hero .gs-copy { border-color: rgba(255, 255, 255, .3); color: #e4ebf2; }
.gs-hero .gs-copy:hover, .gs-hero .gs-copy.is-done { border-color: #2ee6c8; color: #2ee6c8; }
.gs-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); position: relative; z-index: 2; }
.gs-stat { padding: 1rem 1.2rem 1.1rem 0; display: grid; gap: .1rem; }
.gs-stat + .gs-stat { padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.gs-stat__num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; color: #fff; }
.gs-stat__num small { font-size: 1rem; color: #9fb0c2; font-weight: 600; }
.gs-stat__lbl { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c2; }
.gs-hero .gs-live-note--hero { margin-bottom: 1rem; }

/* ---- Seitenkopf mit Bild ---- */
.gs-banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #06090d; }
.gs-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; max-width: none; }
.gs-banner::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 9, 13, .92) 0%, rgba(6, 9, 13, .7) 50%, rgba(6, 9, 13, .25) 100%), linear-gradient(0deg, rgba(6, 9, 13, .6), rgba(6, 9, 13, 0) 50%); }
.gs-banner__in { display: grid; gap: 1rem; max-width: 62ch; padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2rem, 4vw, 3rem); }
.gs-banner__in p { color: #d3dce6; }
.gs-crumb { font-family: var(--font-head); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: #aab6c3; }
.gs-crumb a { color: #aab6c3; }
.gs-crumb--plain, .gs-crumb--plain a { color: var(--ink-3); }

/* ---- Serverkarten ---- */
.gs-game { display: block; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease; min-width: 0; }
.gs-game:hover { transform: translateY(-3px); border-color: var(--color-primary); text-decoration: none; }
.gs-game__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #06090d; }
.gs-game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gs-game:hover .gs-game__media img { transform: scale(1.05); }
.gs-game__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 9, 13, .55), rgba(6, 9, 13, 0) 55%); }
.gs-game__status { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; background: rgba(6, 9, 13, .82);
  color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 6px; }
.gs-game__body { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 1rem; }
.gs-game__title { display: flex; align-items: center; gap: .9rem; }
.gs-game__title .gs-h3 { font-size: 1.6rem; margin: 0 0 .1rem; }
.gs-game__title .gs-mono { font-size: .85rem; color: var(--ink-3); }
.gs-more { color: var(--color-primary); font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; display: inline-flex; gap: .4rem; align-items: center; }
.gs-meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.gs-meter i { display: block; height: 100%; width: 0; background: var(--color-primary); transition: width .6s ease; }
.gs-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .9rem 1.2rem; margin: 0; }
.gs-kv > div { display: grid; gap: .1rem; min-width: 0; }
.gs-kv dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.gs-kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.gs-kv--one { grid-template-columns: 1fr; }
.gs-row-between { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; margin-bottom: .4rem; }
.gs-row-between > span + span { color: var(--ink-3); }

/* ---- Lobby-Band und Modi ---- */
.gs-lobby { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gs-lobby:not(:has(.gs-lobby__media)) { grid-template-columns: minmax(0, 1fr); }
.gs-lobby__media { position: relative; min-height: 280px; }
.gs-lobby__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-lobby__text { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; align-content: center; justify-items: start; }
.gs-lobby__text p { color: var(--ink-2); }
.gs-path { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gs-path > span { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }
.gs-path > .gs-path__hot { border-color: var(--color-primary); color: var(--color-primary); }
.gs-path .gs-ic { color: var(--ink-3); }
.gs-band--split + .gs-cards { padding-top: 0; }
.gs-mode { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #06090d; color: #fff; border: 1px solid var(--line); }
.gs-mode:hover { text-decoration: none; }
.gs-mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gs-mode:hover img { transform: scale(1.05); }
.gs-mode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 9, 13, .94) 0%, rgba(6, 9, 13, .55) 36%, rgba(6, 9, 13, 0) 62%); }
.gs-mode--noimg { aspect-ratio: auto; min-height: 160px; background: var(--surface); color: var(--ink); }
.gs-mode--noimg::after { display: none; }
.gs-mode__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem; z-index: 2; display: grid; gap: .4rem; }
.gs-mode--noimg .gs-mode__over { position: static; }
.gs-mode__over .gs-h3 { font-size: 2rem; margin: 0; color: inherit; }
.gs-mode__over p { color: #d3dce6; font-size: .95rem; }
.gs-mode--noimg .gs-mode__over p { color: var(--ink-2); }

/* ---- Szene (Enshrouded) ---- */
.gs-band--scene { position: relative; overflow: hidden; isolation: isolate; padding: var(--section-padding) 0; }
.gs-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; max-width: none; }
.gs-band--scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 9, 13, .93) 0%, rgba(6, 9, 13, .75) 45%, rgba(6, 9, 13, .35) 100%); }
.gs-scene { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.gs-scene:not(:has(.gs-scene__shots)) { grid-template-columns: minmax(0, 1fr); }
.gs-scene__copy { display: grid; gap: 1.1rem; justify-items: start; }
.gs-scene__logo { width: min(280px, 70%); height: auto; }
.gs-h2--on-dark { color: #fff; }
.gs-band--scene .gs-accent { color: #f0c27a; }
.gs-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0; padding: 0; list-style: none; font-weight: 700; color: #fff; }
.gs-facts li { display: grid; line-height: 1.25; }
.gs-facts small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #aeb9c6; font-weight: 700; }
.gs-scene__shots { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gs-scene__shots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .18); }
.gs-scene__shots img:nth-child(2) { margin-top: 2rem; }

/* ---- Schritte ---- */
.gs-steps-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: s; list-style: none; margin: 0; padding: 0; }
.gs-step { position: relative; padding-top: 4rem; counter-increment: s; }
.gs-step::before { content: counter(s, decimal-leading-zero); position: absolute; top: 1rem; left: 1.5rem; font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.gs-step .gs-h3 { font-size: 1.4rem; margin-bottom: .4rem; }

/* ---- Aufruf mit Bild ---- */
.gs-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.gs-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; max-width: none; }
.gs-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 9, 13, .78); }
.gs-cta .container { display: grid; gap: .9rem; justify-items: start; }
.gs-cta p { max-width: 52ch; margin-bottom: .7rem; }

/* ---- Umschalter ---- */
.gs-seg { display: inline-flex; max-width: 100%; padding: 4px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); gap: 2px; overflow-x: auto; margin-bottom: 1.4rem; }
.gs-seg button { border: 0; background: transparent; border-radius: 6px; padding: .55rem 1.1rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; color: var(--ink-2); white-space: nowrap; }
.gs-seg button[aria-selected="true"] { background: var(--color-primary); color: var(--on-primary); }
.gs-seg button:not([aria-selected="true"]):hover { color: var(--color-primary); }
.gs-seg + .gs-live-note { margin-top: -.2rem; }

/* ---- Detail-Layout ---- */
.gs-detail-sec, .gs-join-sec, .gs-status-sec, .gs-antrag-sec, .gs-rules-sec { padding-top: 1.8rem; padding-bottom: 3.5rem; }
.gs-detail, .gs-join { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.gs-join { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 1.5rem; }
.gs-srv { display: grid; gap: 1.1rem; }
.gs-srv__top { display: flex; gap: .9rem; align-items: center; }
.gs-srv__top .gs-h3 { font-size: 1.7rem; margin: 0 0 .1rem; }
.gs-srv__st { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.gs-players { display: flex; flex-wrap: wrap; gap: .5rem; }
.gs-player { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px; padding: .25rem .75rem .25rem .3rem; font-size: .85rem; font-weight: 600; }
.gs-player i { width: 24px; height: 24px; border-radius: 4px; background: var(--color-primary); display: grid; place-items: center; color: var(--on-primary); font-style: normal; font-size: .72rem; font-weight: 800; }
.gs-spark { width: 100%; height: 90px; display: block; }
.gs-spark-wrap { min-height: 90px; }
.gs-worlds { display: grid; gap: .6rem; }
.gs-world { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; padding: .5rem .9rem .5rem .5rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface-2); }
.gs-world--noimg { grid-template-columns: 1fr; padding-left: .9rem; }
.gs-world img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.gs-world b { display: block; line-height: 1.3; }
.gs-world__s { font-size: .85rem; color: var(--ink-3); }
.gs-side-img { padding: 0; overflow: hidden; }
.gs-side-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gs-side-img > div { padding: 1rem 1.2rem 1.2rem; display: grid; }
.gs-side-img b { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.gs-side-img span { color: var(--ink-2); font-size: .92rem; }
.gs-bars-lbl { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-3); font-family: var(--font-mono); margin-top: .4rem; }

/* ---- Statusseite ---- */
.gs-status { display: grid; gap: 1.1rem; }
.gs-status-banner { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.gs-status-banner .gs-h3 { margin: 0; font-size: 1.5rem; }
.gs-status-banner__when { margin-left: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); }
.gs-sys { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.gs-sys:empty { display: none; }
.gs-sys .gs-card { display: grid; gap: .7rem; align-content: start; }
.gs-sys__top { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.gs-sys__val { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.gs-sys__val small { font-size: .95rem; color: var(--ink-3); font-weight: 600; }
.gs-sys__sub { font-size: .85rem; color: var(--ink-3); }
.gs-sys .gs-spark { height: 52px; }
.gs-svc { display: grid; gap: .6rem; padding: 1rem 0; border-top: 1px solid var(--line-2); }
.gs-svc:first-child { border-top: 0; padding-top: 0; }
.gs-svc__top { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.gs-svc__top b { font-size: 1.02rem; }
.gs-svc__u { margin-left: auto; font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gs-bars { display: flex; gap: 2px; height: 26px; }
.gs-bars i { flex: 1; min-width: 0; border-radius: 2px; background: var(--color-primary); opacity: .85; }
.gs-bars i.is-w { background: var(--warn); opacity: 1; }
.gs-bars i.is-d { background: var(--bad); opacity: 1; }
.gs-bars i.is-n { background: var(--line); opacity: 1; }

/* ---- Formular ---- */
.gs-form { display: grid; gap: 1.3rem; }
.gs-field { display: grid; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.gs-label { font-weight: 700; font-size: .92rem; padding: 0; }
.gs-hint { font-size: .84rem; color: var(--ink-3); }
.gs-in { width: 100%; background: var(--scheme-primary-bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; min-height: 46px; color: var(--ink); }
.gs-in:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.gs-in { min-height: 110px; resize: vertical; }
.gs-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .6rem; }
.gs-opt { position: relative; }
.gs-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.gs-opt span { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--scheme-primary-bg); font-weight: 600; min-height: 46px; }
.gs-opt input:checked + span { border-color: var(--color-primary); background: var(--primary-soft); color: var(--ink); }
.gs-opt input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gs-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.gs-check input { margin-top: .3rem; accent-color: var(--color-primary); width: 18px; height: 18px; flex: none; }
.gs-err { color: var(--bad); font-size: .85rem; font-weight: 600; }
.gs-field.is-bad .gs-in { border-color: var(--bad); }
.gs-form__error { padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--bad); background: var(--surface-2); color: var(--ink); font-size: .94rem; }
.gs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gs-done { display: grid; gap: 1rem; justify-items: start; }
.gs-done[hidden], .gs-detail[hidden], .gs-join[hidden], .gs-form[hidden] { display: none; }
.gs-done p { color: var(--ink-2); }

/* ---- Regeln ---- */
.gs-rules { display: grid; gap: .8rem; counter-reset: r; padding: 0; margin: 0; list-style: none; align-content: start; }
.gs-rules li { counter-increment: r; display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gs-rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--color-primary); line-height: 1.1; }
.gs-rules .gs-h3 { margin-bottom: .25rem; }
.gs-rules p { color: var(--ink-2); font-size: .96rem; }

/* ---- Beitritt ---- */
.gs-join__media { margin: -1.4rem -1.5rem 1.2rem; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: #06090d; }
.gs-join__media img { width: 100%; height: 100%; object-fit: cover; }
.gs-list-steps { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; counter-reset: j; }
.gs-list-steps li { counter-increment: j; display: grid; grid-template-columns: auto 1fr; gap: .9rem; }
.gs-list-steps li::before { content: counter(j); width: 30px; height: 30px; border-radius: 6px; background: var(--color-primary); color: var(--on-primary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-top: .1rem; }
.gs-list-steps b { display: block; margin-bottom: .15rem; }
.gs-list-steps span { color: var(--ink-2); font-size: .95rem; }
.gs-faq details { border-top: 1px solid var(--line-2); padding: .9rem 0; }
.gs-faq .gs-h3 + details { border-top: 0; }
.gs-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.gs-faq summary::-webkit-details-marker { display: none; }
.gs-faq summary::after { content: "+"; font-weight: 700; color: var(--color-primary); font-size: 1.2rem; line-height: 1; }
.gs-faq details[open] summary::after { content: "\2212"; }
.gs-faq details p { margin-top: .5rem; font-size: .95rem; }

/* ---- Textseiten (Impressum, Datenschutz) ---- */
.gs-textpage__head { display: grid; gap: .8rem; margin-bottom: 2rem; }
.gs-prose { color: var(--ink-2); font-size: 1.02rem; }
.gs-prose h2, .gs-prose h3, .gs-prose h4 { color: var(--ink); margin: 2rem 0 .7rem; }
.gs-prose h2 { font-size: 1.9rem; }
.gs-prose h3 { font-size: 1.45rem; }
.gs-prose h4 { font-size: 1.15rem; }
.gs-prose p, .gs-prose ul, .gs-prose ol { margin: 0 0 1rem; }
.gs-prose ul, .gs-prose ol { padding-left: 1.4rem; }
.gs-prose li { margin-bottom: .3rem; }
.gs-prose a { text-decoration: underline; text-underline-offset: 3px; }
.gs-prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.gs-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.gs-prose th, .gs-prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); }
.gs-error .container { display: grid; gap: 1.2rem; justify-items: start; }
.gs-error { min-height: 55vh; display: flex; align-items: center; }

/* ---- Fuß (Renderer-Klassen) ---- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; background: var(--scheme-alt-bg); color: var(--scheme-alt-text); }
.site-footer .footer-grid { display: grid; gap: 2rem; }
.site-footer .footer-brand-logo { display: inline-block; }
.site-footer .footer-brand-logo img { height: 28px; width: auto; filter: var(--logo-filter); }
.site-footer .footer-brand-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.site-footer .footer-col-title { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7rem; }
.site-footer .footer-nav { display: grid; gap: .35rem; }
.site-footer .footer-nav a, .site-footer .footer-contact-line a, .site-footer .footer-social a { color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.site-footer .footer-tagline, .site-footer .footer-richtext, .site-footer .footer-contact-line { color: var(--ink-3); font-size: .9rem; margin: .8rem 0 0; max-width: 40ch; }
.site-footer .footer-richtext p { margin: 0 0 .6rem; }
.gs-disclaimer { margin-top: 2rem; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.2rem; display: grid; gap: .4rem; }
.gs-disclaimer b { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.gs-disclaimer p { color: var(--ink-2); font-size: .88rem; }
.gs-disclaimer a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.site-footer .footer-bottom__left { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; }
.site-footer .footer-copyright, .site-footer .footer-powered { margin: 0; color: var(--ink-3); }
.gs-legal { display: flex; gap: 1.2rem; }
.gs-legal a, .site-footer .footer-bottom a { color: var(--ink-2); font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; order: 3; }
  .site-header .theme-header__nav { position: static; }
  .site-header .theme-header__nav-center { position: static; flex: 0 0 0; min-width: 0; }
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 1.25rem .8rem;
    background: var(--scheme-primary-bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: var(--shadow); }
  .nav-list.open { display: flex; }
  .nav-list > .nav-item > a { display: flex; padding: .8rem 1rem; }
  .nav-list > .nav-item > a.active { box-shadow: none; background: var(--primary-soft); border-radius: var(--radius); }
  .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
  .site-header.theme-customizable-header .header-cta { display: inline-flex; }
  .gs-detail, .gs-join, .gs-scene, .gs-lobby { grid-template-columns: minmax(0, 1fr); }
  .gs-lobby__media { min-height: 200px; }
  .gs-scene__shots { max-width: 420px; }
}
@media (max-width: 640px) {
  .gs-hero { min-height: 0; }
  .gs-hero__bg { object-position: 72% 50%; }
  .gs-hero::after { background: linear-gradient(0deg, rgba(6, 9, 13, .97) 0%, rgba(6, 9, 13, .84) 55%, rgba(6, 9, 13, .6) 100%); }
  .gs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .gs-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .site-logo img + .logo-text { display: none; }
  .site-header.theme-customizable-header .header-cta { padding: .45rem .7rem; font-size: .82rem; }
  .gs-addr__lbl { display: none; }
  .gs-status-banner__when { margin-left: 0; width: 100%; }
  .gs-svc__u { margin-left: 0; width: 100%; }
  .gs-rules li { padding: 1rem; }
  .gs-card { padding: 1.2rem 1.15rem; }
  .gs-step { padding-top: 4rem; }
  .gs-step::before { left: 1.15rem; }
  .gs-join__media { margin: -1.2rem -1.15rem 1.1rem; }
  .gs-mode { aspect-ratio: 16 / 11; }
  .gs-scene__shots img:nth-child(2) { margin-top: 1rem; }
  .gs-srv__top { flex-wrap: wrap; }
  .gs-srv__st { margin-left: 0; width: 100%; }
}

/* ---- Bewegung nur, wenn erlaubt ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gs-btn, .gs-game, .gs-game__media img, .gs-mode img, .gs-meter i { transition: none; }
}
