/* Design-System: Neo-Gaming — Farben aus config (--color-*) bleiben nutzbar */
:root {
  --font-display: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --surface-deep: var(--color-bg, #030308);
  --surface-mid: #0a0a12;
  --surface-elevated: rgba(14, 16, 28, 0.85);
  --glass: rgba(10, 12, 22, 0.65);
  --glass-border: rgba(0, 255, 136, 0.18);
  --neon-mint: #00ff9d;
  --neon-fuchsia: #e040fb;
  --neon-cyan: #00e5ff;
  --glow-accent: 0 0 24px color-mix(in srgb, var(--color-accent, #00ff9d) 45%, transparent);
  --radius-ui: 16px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg, var(--surface-deep));
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -25%, rgba(0, 255, 157, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 110% 20%, rgba(224, 64, 251, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at -10% 90%, rgba(0, 229, 255, 0.06), transparent),
    linear-gradient(180deg, var(--color-bg, #030308) 0%, #07070f 40%, var(--color-bg, #030308) 100%);
  color: var(--color-text, #e8eaef);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 157, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 20%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  z-index: 10000;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  clip: auto;
  width: auto;
  height: auto;
  padding: 0.75rem 1.1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-ui);
  color: var(--color-text, #e8eaef);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  outline: none;
  box-shadow: var(--glow-accent);
  white-space: normal;
}

.skip-link:focus-visible {
  outline: 2px solid var(--color-accent, #00ff9d);
  outline-offset: 3px;
}

h1,
h2,
h3,
.brand,
.hero__crest-title,
.server-hero__crest-title,
.section-block__title,
.server-card__title,
.flex-section__heading,
.global-footer__col-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

::selection {
  background: color-mix(in srgb, var(--color-accent, #00ff9d) 35%, transparent);
  color: #fff;
}

a {
  color: var(--color-accent, var(--neon-mint));
  text-decoration: none;
  transition: color 0.2s var(--ease-out-expo), filter 0.2s;
}

a:hover {
  text-decoration: none;
  filter: brightness(1.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header-height, 76px);
  padding: var(--header-padding-y, 1rem) 1.35rem;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 16, 0.92) 0%,
    rgba(4, 6, 12, 0.78) 100%
  );
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid rgba(0, 255, 157, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(0, 255, 157, 0.08) inset;
  overflow: visible;
}

.site-header.is-not-sticky {
  position: relative;
}

/* dezenter Bogen + Schriftzug im Hintergrund */
.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 255, 157, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0, 255, 157, 0.16);
  opacity: var(--header-circle-opacity, 0.1);
  pointer-events: none;
  z-index: 0;
}

.site-header::after {
  content: attr(data-bg-word);
  font-family: var(--font-display);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.6rem, 14vw, 6.4rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.14em;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-accent, #00ff9d) 0%, var(--color-purple, #e040fb) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: var(--header-bg-word-opacity, 0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.site-header__brand {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.site-header__brand:empty,
.site-header__brand[hidden] {
  display: none !important;
}

.site-header__nav {
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}

.site-header.site-header--no-brand,
.site-header:not(:has(#nav-brand:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

.site-header.site-header--no-brand .site-header__nav,
.site-header:not(:has(#nav-brand:not([hidden]))) .site-header__nav {
  grid-column: 1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}

.site-header.site-header--no-brand .nav-links,
.site-header:not(:has(#nav-brand:not([hidden]))) .nav-links {
  width: 100%;
  max-width: none;
  justify-content: flex-end;
}

.brand {
  font-size: var(--header-brand-size, 1.4rem);
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(
    135deg,
    var(--color-accent, #00ff9d) 0%,
    #5cffc5 40%,
    var(--color-accent, #00ff9d) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.08em;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(0, 255, 157, 0.45));
  transition: filter 0.3s var(--ease-out-expo);
}

.brand:hover {
  filter: drop-shadow(0 0 26px rgba(0, 255, 157, 0.65));
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.45rem 0.55rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.nav-links a {
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  color: rgba(232, 234, 239, 0.88);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    border-color 0.25s var(--ease-out-expo),
    color 0.25s,
    background 0.25s,
    box-shadow 0.25s,
    transform 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-accent, #00ff9d);
  text-decoration: none;
  border-color: rgba(0, 255, 157, 0.25);
  background: rgba(0, 255, 157, 0.06);
  transform: translateY(-1px);
}

.nav-links a.is-active {
  border-color: color-mix(in srgb, var(--color-accent, #00ff9d) 65%, transparent);
  color: var(--color-accent, #00ff9d);
  background: linear-gradient(
    145deg,
    rgba(0, 255, 157, 0.12) 0%,
    rgba(224, 64, 251, 0.08) 100%
  );
  box-shadow:
    0 0 20px rgba(0, 255, 157, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-item--flyout > a.is-active {
  border-color: transparent;
  color: rgba(232, 234, 239, 0.88);
  background: none;
  box-shadow: none;
}

.nav-item--flyout > a.is-active:hover,
.nav-item--flyout > a.is-active:focus-visible {
  color: var(--color-accent, #00ff9d);
  border-color: rgba(0, 255, 157, 0.25);
  background: rgba(0, 255, 157, 0.06);
  box-shadow: none;
  transform: translateY(-1px);
}

.nav-flyout {
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 9.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 157, 0.28);
  background: rgba(6, 10, 18, 0.96);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(0, 255, 157, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
  z-index: 40;
}

.nav-flyout::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.nav-flyout a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(232, 234, 239, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.nav-flyout a:hover,
.nav-flyout a:focus-visible {
  color: var(--color-accent, #00ff9d);
  background: rgba(0, 255, 157, 0.1);
}

.nav-flyout a.is-active {
  color: #041018;
  background: var(--color-accent, #00ff9d);
}

.nav-item--flyout:hover .nav-flyout,
.nav-item--flyout:focus-within .nav-flyout,
.nav-item--flyout.is-open .nav-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: none), (max-width: 768px) {
  .nav-item--flyout .nav-flyout {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.25rem);
    transform: translateX(-50%) translateY(4px);
    min-width: 10rem;
    width: max-content;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
    z-index: 50;
  }

  .nav-item--flyout.is-open .nav-flyout {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-item--flyout > a::after {
    content: "▾";
    margin-left: 0.35rem;
    font-size: 0.65rem;
    opacity: 0.75;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.65rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    overflow: visible;
  }

  .site-header__brand {
    grid-column: 1;
    justify-self: start;
  }

  .site-header__nav {
    grid-column: 2;
    justify-self: end;
    width: auto;
    min-width: 0;
  }

  .site-header.site-header--no-brand,
  .site-header:not(:has(#nav-brand:not([hidden]))) {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header.site-header--no-brand .site-header__nav,
  .site-header:not(:has(#nav-brand:not([hidden]))) .site-header__nav {
    grid-column: 1;
    width: 100%;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-end;
    max-width: none;
    gap: 0.3rem;
  }

  .nav-links > .nav-item > a,
  .nav-links > li > a {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.76rem;
  }
}

/* Kompakte Mobile-Navigation (alle Seiten) */
@media (max-width: 768px) {
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.55rem 0.7rem 0.65rem;
    row-gap: 0.35rem;
  }

  .site-header__brand,
  .site-header__nav {
    grid-column: 1;
    justify-self: center;
  }

  .site-header::before {
    width: min(160vw, 640px);
    height: min(160vw, 640px);
    opacity: 0.07;
  }

  .site-header::after {
    font-size: clamp(1.8rem, 12vw, 3.2rem);
    opacity: 0.08;
  }

  .brand {
    font-size: clamp(1.05rem, 4.8vw, 1.25rem);
    letter-spacing: 0.06em;
  }

  .site-header__nav {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 22.5rem;
    margin: 0 auto;
    gap: 0.4rem;
    padding: 0.05rem 0.1rem;
    overflow: visible;
  }

  .nav-item {
    width: 100%;
    min-width: 0;
  }

  .nav-links > .nav-item > a,
  .nav-links > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }

  .nav-flyout a {
    min-height: 42px;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
  }
}

@media (max-width: 560px) {
  .hero__crest {
    width: min(94vw, var(--hero-crest-width, 680px));
  }

  .hero__crest-inner {
    padding-inline: max(14px, calc(var(--hero-crest-padding-x, 38px) * 0.55));
  }

  .hero__crest-title {
    font-size: clamp(1rem, 6.2vw, var(--hero-crest-title-size, 34px));
    letter-spacing: calc(var(--hero-crest-letter-spacing, 0.13em) * 0.55);
  }
}

/* Hero + Parallax */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 7vw, 5rem) 1.25rem clamp(1.5rem, 4vw, 2.75rem);
  overflow: hidden;
}

/* Startseite: voller Hero aus site.json (Markenkasten, Intro, Features, Buttons, Karten). */
body[data-active-page="home"] .hero__content {
  margin-top: 0.35rem;
  max-width: 980px;
}

body[data-active-page="home"] .content-sections {
  padding-top: 1.6rem;
}

body[data-active-page="home"] .home-extras {
  max-width: none;
  margin: 0;
  padding: 0.6rem max(1rem, calc((100vw - 1100px) / 2)) 2rem;
  background: var(--color-bg, #030308);
}

.hero__parallax-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__parallax {
  position: absolute;
  left: -5%;
  width: 110%;
  top: -15%;
  height: 130%;
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
}

.hero__parallax-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 85% 55% at 50% 40%,
      rgba(3, 3, 10, 0.15) 0%,
      rgba(3, 3, 12, 0.88) 65%,
      rgba(2, 2, 8, 0.96) 100%
    ),
    linear-gradient(
      195deg,
      rgba(0, 255, 157, 0.06) 0%,
      transparent 42%,
      rgba(224, 64, 251, 0.05) 100%
    ),
    linear-gradient(180deg, rgba(3, 3, 8, 0.55) 0%, rgba(3, 3, 10, 0.97) 100%);
  pointer-events: none;
}

.hero__crest {
  position: relative;
  z-index: 1;
  width: min(92vw, var(--hero-crest-width, 680px));
  margin: 0 0 1.1rem;
  text-align: center;
  filter: drop-shadow(0 0 42px rgba(0, 255, 157, 0.36));
  filter: drop-shadow(
    0 0 42px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) calc(var(--hero-crest-glow-strength, 0.36) * 100%), transparent)
  );
}

.hero__crest-inner {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: var(--hero-crest-padding-y, 22px) var(--hero-crest-padding-x, 34px);
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.14) 0%, rgba(12, 14, 28, 0.72) 44%, rgba(3, 5, 12, 0.96) 100%);
  background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--hero-crest-border, #00ff9d) 18%, transparent) 0%,
      rgba(12, 14, 28, var(--hero-crest-bg-opacity, 0.72)) 44%,
      rgba(3, 5, 12, 0.96) 100%
    ),
    radial-gradient(
      circle at 50% 0%,
      color-mix(in srgb, var(--hero-crest-glow, #00ff9d) 24%, transparent),
      transparent 58%
  );
  border: 1px solid rgba(0, 255, 157, 0.52);
  border: 1px solid color-mix(in srgb, var(--hero-crest-border, #00ff9d) 52%, transparent);
  border-radius: var(--hero-crest-radius, 18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px rgba(0, 255, 157, 0.24),
    0 0 82px rgba(0, 255, 157, 0.18),
    0 24px 72px rgba(0, 0, 0, 0.58),
    inset 0 0 100px rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) calc(var(--hero-crest-glow-strength, 0.36) * 70%), transparent),
    0 0 82px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) calc(var(--hero-crest-glow-strength, 0.36) * 50%), transparent),
    0 24px 72px rgba(0, 0, 0, 0.58),
    inset 0 0 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transform: perspective(900px) rotateX(1.5deg);
}

.hero__crest-inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--hero-crest-radius, 18px) - 2px);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 5px
    );
  opacity: 0.55;
}

.hero__crest-inner::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--hero-crest-border, #00ff9d) 80%, transparent),
    transparent
  );
  box-shadow: 0 0 18px var(--hero-crest-glow, #00ff9d);
}

.hero__crest-title {
  margin: 0;
  font-size: clamp(1.25rem, 4.2vw, var(--hero-crest-title-size, 34px));
  font-weight: 900;
  letter-spacing: var(--hero-crest-letter-spacing, 0.16em);
  background: linear-gradient(
    180deg,
    var(--hero-crest-title-to, #7dffc8) 0%,
    var(--hero-crest-title-from, #00ff9d) 50%,
    color-mix(in srgb, var(--hero-crest-title-from, #00ff9d) 55%, #02040a) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  text-shadow:
    0 0 14px rgba(0, 255, 157, 0.6),
    0 0 34px rgba(0, 255, 157, 0.38);
  text-shadow:
    0 0 14px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) 60%, transparent),
    0 0 34px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) 38%, transparent);
  filter: drop-shadow(0 0 24px color-mix(in srgb, var(--hero-crest-glow, #00ff9d) 35%, transparent));
}

.hero__center-img-wrap {
  position: relative;
  z-index: 2;
  margin: 0 0 1.25rem;
  filter: drop-shadow(0 0 36px rgba(0, 255, 157, 0.35));
}

.hero__center-img {
  display: block;
  max-width: min(420px, 88vw);
  height: auto;
  margin: 0 auto;
  opacity: 1 !important;
  border-radius: 50%;
  clip-path: circle(49.5% at 50% 50%);
  -webkit-clip-path: circle(49.5% at 50% 50%);
  mask-image: none;
  -webkit-mask-image: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  text-align: center;
}

.hero__headline {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 800;
  background: linear-gradient(
    90deg,
    var(--color-accent, #00ff9d) 0%,
    #7dffc8 50%,
    var(--color-accent, #00ff9d) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(0, 255, 157, 0.35));
}

.hero__intro p {
  margin: 0 0 1rem;
}

.hero__features-title {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text, #f5f5f5);
}

.hero__features {
  text-align: left;
  display: inline-block;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.hero__features li {
  margin-bottom: 0.35rem;
}

.hero__closing p:last-child {
  margin-bottom: 0;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out-expo),
    box-shadow 0.25s,
    filter 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-purple, #a855f7) 0%,
    var(--color-purple-dark, #7c3aed) 50%,
    #9333ea 100%
  );
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 20px rgba(168, 85, 247, 0.45),
    0 0 40px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  color: #fff;
  box-shadow:
    0 8px 32px rgba(168, 85, 247, 0.55),
    0 0 56px rgba(168, 85, 247, 0.25);
}

.btn--outline {
  background: rgba(10, 12, 22, 0.6);
  color: var(--color-purple, #d8b4fe);
  border-color: color-mix(in srgb, var(--color-purple, #a855f7) 55%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn--outline:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--color-purple, #c084fc);
}

/* Wechsel-Sektionen */
.content-sections {
  position: relative;
  z-index: 5;
  padding: 3.5rem 1.25rem 4.5rem;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 10, 0.98) 0%,
    rgba(6, 8, 18, 1) 50%,
    rgba(3, 3, 10, 1) 100%
  );
  border-top: 1px solid rgba(0, 255, 157, 0.08);
}

.section-block {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius-ui);
  background: linear-gradient(
    145deg,
    rgba(14, 16, 28, 0.5) 0%,
    rgba(8, 10, 20, 0.35) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.3s var(--ease-out-expo),
    box-shadow 0.3s;
  position: relative;
}

.section-block__rules-badge,
.section-block__discord-badge,
.section-block__link-badge {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: min(48%, 15.5rem);
  white-space: normal;
  text-wrap: balance;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.section-block__badge-row {
  position: absolute;
  top: 0.65rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: calc(100% - 1.3rem);
  pointer-events: none;
}

.section-block__badge-row--start {
  left: 0.65rem;
  right: auto;
  justify-content: flex-start;
}

.section-block__badge-row--end {
  right: 0.65rem;
  left: auto;
  justify-content: flex-end;
}

.section-block__badge-row .section-block__rules-badge,
.section-block__badge-row .section-block__discord-badge,
.section-block__badge-row .section-block__link-badge {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  max-width: min(46vw, 14rem);
  pointer-events: auto;
}

.section-block__rules-badge {
  top: 0.65rem;
  background: linear-gradient(180deg, #e53935 0%, #b71c1c 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(183, 28, 28, 0.45);
}

.section-block__link-badge {
  top: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(
    180deg,
    var(--link-btn-color, #1dd6a5) 0%,
    color-mix(in srgb, var(--link-btn-color, #1dd6a5) 72%, #000) 100%
  );
  color: var(--link-btn-text, #fff);
  text-decoration: none;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--link-btn-color, #1dd6a5) 45%, transparent);
}

.section-block__link-badge::after {
  content: "";
  flex: 0 0 auto;
  width: 0.85em;
  height: 0.85em;
  background: currentColor;
  opacity: 0.92;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.section-block__discord-badge {
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.45);
}

.section-block__discord-badge::before {
  content: "";
  flex: 0 0 auto;
  width: 0.95em;
  height: 0.95em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.3 4.4A17.2 17.2 0 0 0 15.9 3a12 12 0 0 0-.6 1.2 15.9 15.9 0 0 0-4.6 0A11.8 11.8 0 0 0 10.1 3a17.1 17.1 0 0 0-4.4 1.4C2.5 8.5 1.4 12.4 1.9 16.2a17.2 17.2 0 0 0 5.2 2.6c.4-.6.8-1.2 1.1-1.8a11.1 11.1 0 0 1-1.8-.9c.2-.1.3-.2.5-.3 3.4 1.6 7.1 1.6 10.4 0l.5.3c-.6.3-1.2.6-1.8.9.3.6.7 1.2 1.1 1.8a17.1 17.1 0 0 0 5.2-2.6c.6-4.4-.6-8.3-3.3-11.8ZM8.7 13.6c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Zm6.6 0c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.3 4.4A17.2 17.2 0 0 0 15.9 3a12 12 0 0 0-.6 1.2 15.9 15.9 0 0 0-4.6 0A11.8 11.8 0 0 0 10.1 3a17.1 17.1 0 0 0-4.4 1.4C2.5 8.5 1.4 12.4 1.9 16.2a17.2 17.2 0 0 0 5.2 2.6c.4-.6.8-1.2 1.1-1.8a11.1 11.1 0 0 1-1.8-.9c.2-.1.3-.2.5-.3 3.4 1.6 7.1 1.6 10.4 0l.5.3c-.6.3-1.2.6-1.8.9.3.6.7 1.2 1.1 1.8a17.1 17.1 0 0 0 5.2-2.6c.6-4.4-.6-8.3-3.3-11.8ZM8.7 13.6c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Zm6.6 0c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.section-block__discord-badge-label {
  min-width: 0;
}

.section-block__rules-badge:hover,
.section-block__rules-badge:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(229, 57, 53, 0.55);
  outline: none;
}

.section-block__link-badge:hover,
.section-block__link-badge:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--link-btn-color, #1dd6a5) 55%, transparent);
  color: var(--link-btn-text, #fff);
  outline: none;
}

.section-block__link-badge-label {
  min-width: 0;
}

.section-block__rules-badge--corner-start,
.section-block__link-badge--corner-start {
  left: 0.65rem;
}

.section-block__rules-badge--corner-end,
.section-block__link-badge--corner-end {
  right: 0.65rem;
}

.section-block__discord-badge:hover,
.section-block__discord-badge:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.6);
  color: #fff;
  outline: none;
}

.section-block.has-server-rules .section-block__media,
.section-block.has-server-rules .section-block__text {
  scroll-margin-top: 2rem;
}

/* Absolut positionierte Badges brauchen Freiraum — sonst liegt der Button über dem Text */
.section-block.has-server-rules,
.section-block.has-top-badges {
  padding-top: 3.35rem;
}

.section-block.has-top-badges--pair {
  padding-top: 3.7rem;
}

.section-block.has-top-badges--triple {
  padding-top: 3.9rem;
}

.section-block.has-top-badges--many {
  padding-top: 5.1rem;
}

.section-block__discord-badge--corner-start {
  left: 0.65rem;
}

.section-block__discord-badge--corner-end {
  right: 0.65rem;
}

.rules-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.rules-modal[hidden] {
  display: none !important;
}

.rules-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(4px);
}

.rules-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 96vw);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(229, 57, 53, 0.45);
  background: linear-gradient(160deg, rgba(18, 10, 14, 0.98) 0%, rgba(10, 12, 22, 0.98) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.rules-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  color: rgba(232, 234, 239, 0.85);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.rules-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 255, 157, 0.85);
}

.rules-modal__title {
  margin: 0 0 0.85rem;
  padding-right: 1.75rem;
  font-size: 1.35rem;
  color: #fff;
}

.rules-modal__body {
  color: rgba(232, 234, 239, 0.92);
  line-height: 1.55;
  font-size: 0.95rem;
}

.rules-modal__body--plain {
  white-space: pre-wrap;
}

.rules-content__h {
  margin: 0;
  font-family: var(--font-display, "Orbitron", sans-serif);
  letter-spacing: 0.02em;
}

.rules-content__h--main {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
  color: #fff;
}

.rules-modal__body h3.rules-content__h {
  margin: 1rem 0 0.45rem;
  font-size: 0.98rem;
  color: rgba(0, 255, 157, 0.95);
}

.rules-modal__body h4.rules-content__h {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.9rem;
  color: rgba(232, 234, 239, 0.88);
}

.rules-modal__body p {
  margin: 0 0 0.55rem;
}

.rules-modal__body p:last-child {
  margin-bottom: 0;
}

.rules-modal__body ul.rules-content__list,
.rules-modal__body ol {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
}

.rules-modal__body li {
  margin-bottom: 0.3rem;
}

.rules-modal__body li:last-child {
  margin-bottom: 0;
}

.rules-modal__body strong {
  color: #fff;
  font-weight: 700;
}

.rules-modal__body em,
.section-block__body--rich em,
.rich-text--formatted em {
  font-style: italic;
  color: rgba(232, 234, 239, 0.96);
}

.rules-modal__body strong em,
.rules-modal__body em strong,
.section-block__body--rich strong em,
.section-block__body--rich em strong,
.rich-text--formatted strong em,
.rich-text--formatted em strong {
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.rules-modal__body ul,
.rules-modal__body ol {
  padding-left: 1.2rem;
}

.rules-modal__share {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-modal__share-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: rgba(232, 234, 239, 0.65);
}

.rules-modal__share-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.rules-modal__share-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 157, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(232, 234, 239, 0.92);
  font-size: 0.82rem;
}

.rules-modal__copy {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.rules-modal__copy:hover,
.rules-modal__copy:focus-visible {
  background: rgba(0, 255, 157, 0.22);
  outline: none;
}

.rules-modal--error .rules-modal__panel {
  border-color: rgba(255, 120, 120, 0.45);
}

body.rules-direct-link .flex-page__intro {
  opacity: 0.85;
}

body.rules-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .rules-modal__share-row {
    flex-direction: column;
  }

  .section-block__rules-badge,
  .section-block__discord-badge,
  .section-block__link-badge {
    font-size: 0.66rem;
    padding: 0.32rem 0.55rem;
    max-width: calc(100% - 1.3rem);
    text-align: center;
  }

  .section-block__badge-row {
    flex-wrap: wrap;
  }

  .section-block__badge-row .section-block__rules-badge,
  .section-block__badge-row .section-block__discord-badge,
  .section-block__badge-row .section-block__link-badge {
    max-width: min(42vw, 12rem);
  }

  .section-block.has-top-badges--pair {
    padding-top: 4.4rem;
  }

  .section-block.has-top-badges--triple {
    padding-top: 5.2rem;
  }

  .section-block.has-top-badges--many {
    padding-top: 6.4rem;
  }
}

.section-block:hover {
  border-color: rgba(0, 255, 157, 0.2);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 255, 157, 0.06) inset;
}

.section-block--right .section-block__media {
  order: 2;
}

.section-block--right .section-block__text {
  order: 1;
}

@media (min-width: 800px) {
  .section-block {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.section-block__visual {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-self: center;
  min-width: 0;
  width: 100%;
}

.section-image-promo {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 16px;
  overflow: hidden;
  color: #fff8e7;
  background:
    linear-gradient(135deg, rgba(255, 196, 64, 0.22), rgba(0, 255, 157, 0.1) 45%, rgba(12, 18, 28, 0.95)),
    #0b1218;
  border: 1px solid rgba(255, 196, 64, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 255, 157, 0.12) inset,
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 180, 40, 0.22);
  animation: promo-pulse 2.4s ease-in-out infinite;
}

.section-image-promo__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 210, 90, 0.35), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: promo-shine 3.2s linear infinite;
}

.section-image-promo__kicker,
.section-image-promo__code,
.section-image-promo__deal {
  position: relative;
  z-index: 1;
}

.section-image-promo__kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe29a;
}

.section-image-promo__code {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0.1rem 0;
  padding: 0.45rem 1.1rem 0.5rem;
  border: 1px dashed rgba(255, 220, 140, 0.75);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.section-image-promo__code:hover,
.section-image-promo__code:focus-visible {
  transform: translateY(-1px) scale(1.02);
  border-color: #00ff9d;
  box-shadow: 0 0 18px rgba(0, 255, 157, 0.28);
  outline: none;
}

.section-image-promo__code.is-copied {
  border-color: #00ff9d;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.35);
}

.section-image-promo__code-text {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #00ff9d;
  text-shadow: 0 0 18px rgba(0, 255, 157, 0.45);
}

.section-image-promo__copy {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 231, 0.72);
}

.section-image-promo__deal {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #101418;
  background: linear-gradient(90deg, #ffd56a, #00ff9d 70%);
  box-shadow: 0 6px 18px rgba(255, 196, 64, 0.25);
}

@keyframes promo-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 255, 157, 0.12) inset,
      0 14px 36px rgba(0, 0, 0, 0.45),
      0 0 22px rgba(255, 180, 40, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 255, 157, 0.2) inset,
      0 16px 40px rgba(0, 0, 0, 0.5),
      0 0 34px rgba(255, 180, 40, 0.34);
  }
}

@keyframes promo-shine {
  0% {
    transform: translateX(-18%) rotate(8deg);
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-image-promo,
  .section-image-promo__glow {
    animation: none;
  }
}

.section-block__media {
  align-self: center;
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.section-block__media--border {
  border: 1px solid rgba(0, 255, 157, 0.18);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(0, 255, 157, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.section-block__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.section-block__media.is-image-missing,
.server-card__logo.is-image-missing,
.image-slider__figure.is-image-missing {
  min-height: 160px;
  border: 1px dashed rgba(255, 101, 122, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 101, 122, 0.1), rgba(0, 255, 157, 0.04)),
    rgba(6, 8, 16, 0.78);
}

img.is-image-missing {
  display: none !important;
}

.section-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-accent, #00ff9d);
  text-shadow: 0 0 24px rgba(0, 255, 157, 0.2);
}

.section-block__body {
  color: rgba(245, 245, 245, 0.92);
  white-space: pre-line;
}

.section-block__body--rich,
.rich-text--formatted {
  white-space: normal;
}

.section-block__body--rich .rules-content__h--main,
.rich-text--formatted .rules-content__h--main {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #fff;
  font-family: var(--font-display, "Orbitron", sans-serif);
}

.section-block__body--rich h3.rules-content__h,
.rich-text--formatted h3.rules-content__h {
  margin: 1rem 0 0.45rem;
  font-size: 0.98rem;
  color: rgba(0, 255, 157, 0.95);
  font-family: var(--font-display, "Orbitron", sans-serif);
}

.section-block__body--rich ul.rules-content__list,
.rich-text--formatted ul.rules-content__list {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
}

.section-block__body--rich p,
.rich-text--formatted p {
  margin: 0 0 0.55rem;
  line-height: 1.65;
}

.section-block__body ul,
.section-block__body ol {
  white-space: normal;
}

.section-block__body p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.section-block__body p:first-child {
  margin-top: 0;
}

.gameserver-copy {
  display: block;
}

.gameserver-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
}

.gameserver-list li {
  line-height: 1.65;
}

.section-block__body code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: rgba(0, 255, 157, 0.12);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 157, 0.15);
  font-family: ui-monospace, monospace;
}

/* ——— Server-Übersicht (server.html) ——— */
.server-page-body {
  min-height: 100vh;
}

.server-hero {
  position: relative;
  min-height: clamp(1160px, 132vh, 1440px);
  padding: 1.5rem 1rem clamp(7rem, 10vw, 10rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.server-hero__parallax-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.server-hero__parallax {
  position: absolute;
  left: -4%;
  width: 108%;
  top: -8%;
  height: 118%;
  background-size: cover;
  background-position: center 58%;
  will-change: transform;
}

.server-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 90% 60% at 50% 38%,
      rgba(3, 3, 12, 0.12) 0%,
      rgba(3, 3, 14, 0.9) 100%
    ),
    linear-gradient(
      200deg,
      rgba(0, 255, 157, 0.07) 0%,
      transparent 50%,
      rgba(224, 64, 251, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(3, 3, 10, 0.34) 0%, rgba(2, 2, 8, 0.78) 100%);
  pointer-events: none;
}

.server-hero__crest {
  display: none;
}

.server-hero__crest-inner {
  display: inline-block;
  padding: 1.25rem 1.75rem 2.5rem;
  background: linear-gradient(
    165deg,
    rgba(0, 255, 157, 0.07) 0%,
    rgba(12, 14, 28, 0.82) 50%,
    rgba(4, 6, 14, 0.96) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 50% 50% 12px 12px / 28% 28% 12px 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 48px rgba(0, 255, 157, 0.1),
    inset 0 0 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.server-hero__crest-title {
  margin: 0;
  font-size: clamp(1.35rem, 4.5vw, 2.75rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.12em;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 157, 0.5) 0%,
    rgba(0, 180, 120, 0.18) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  line-height: 1.05;
  filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.2));
}

.server-hero__center-img-wrap {
  position: absolute;
  z-index: 6;
  top: clamp(4.8rem, 6.5vw, 6.6rem);
  right: clamp(3rem, 7vw, 8rem);
  margin: 0;
  padding: clamp(0.35rem, 0.8vw, 0.7rem);
  background: rgba(3, 5, 12, 0.34);
  border: 1px solid rgba(0, 255, 157, 0.22);
  border-radius: 22px;
  box-shadow:
    0 0 36px rgba(0, 255, 157, 0.18),
    0 16px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.server-hero__center-img {
  display: block;
  width: clamp(132px, 11vw, 210px);
  max-width: none;
  height: auto;
  margin: 0;
  opacity: 0.96;
}

.server-hero__center-img-hit {
  position: relative;
  display: block;
  line-height: 0;
}

.server-hero__ring-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.server-hero__ring-map path {
  pointer-events: auto;
  cursor: pointer;
  fill: transparent;
  stroke: none;
}

.server-hero__ring-map path:hover,
.server-hero__ring-map path:focus-visible {
  fill: rgba(0, 255, 157, 0.2);
}

.server-hero__ring-map path:focus {
  outline: none;
}

.server-hero__headline {
  position: relative;
  z-index: 3;
  margin: clamp(1rem, 2vw, 2rem) 0 0;
  padding: 0 0.75rem;
  max-width: 980px;
  text-align: center;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 800;
  background: linear-gradient(
    100deg,
    var(--color-accent, #00ff9d),
    #7dffc8,
    var(--color-accent, #00ff9d)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 255, 157, 0.3));
}

.server-page__error {
  color: #ff6b6b;
  text-align: center;
  margin: 1rem;
}

/* Karussell */
.server-carousel {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: min(1080px, 100vw);
  margin: clamp(9.5rem, 13.5vw, 12.5rem) auto 0;
  padding: 0 clamp(2.8rem, 8vw, 5rem) clamp(5.5rem, 9vw, 8rem);
}

@media (max-width: 1180px) {
  .server-hero__center-img-wrap {
    right: clamp(1.5rem, 4vw, 3rem);
  }

  .server-hero__center-img {
    width: clamp(104px, 12vw, 136px);
  }
}

@media (max-width: 820px) {
  .server-hero {
    min-height: auto;
    padding: 0.65rem 0.6rem 2.25rem;
    overflow-x: clip;
    overflow-y: visible;
  }

  .server-hero__center-img-wrap {
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    margin: 0.55rem auto 0;
    padding: 0.4rem;
    border-radius: 18px;
  }

  .server-hero__center-img {
    width: min(168px, 44vw);
    max-width: none;
  }

  .server-hero__headline {
    margin-top: 0.9rem;
    margin-bottom: 0;
    font-size: clamp(1.15rem, 5.4vw, 1.55rem);
    line-height: 1.25;
    padding: 0 0.4rem;
  }

  .server-carousel {
    margin-top: 1.15rem;
    max-width: 100%;
    padding-bottom: 2.75rem;
  }
}

.carousel__viewport {
  --n: 1;
  --i: 0;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.carousel__track {
  display: flex;
  width: calc(var(--n, 1) * 100%);
  transform: translateX(calc(-100% * var(--i, 0) / var(--n, 1)));
  transition: transform 0.76s var(--ease-out-expo);
  will-change: transform;
}

.carousel--orbit .carousel__viewport {
  min-height: clamp(520px, 58vw, 680px);
  perspective: 1450px;
  perspective-origin: 50% 44%;
}

.carousel--orbit .carousel__track {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(520px, 58vw, 680px);
  transform: none;
  transition: none;
  transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track,
  .carousel__slide {
    transition: none;
  }
}

.carousel__slide {
  flex: 0 0 calc(100% / var(--n, 1));
  min-width: 0;
  padding: 0 0.55rem;
  box-sizing: border-box;
  opacity: 0.55;
  transform: scale(0.94) translateY(8px);
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.76s var(--ease-out-expo);
  will-change: opacity, transform;
}

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.carousel--orbit .carousel__slide {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(390px, 76vw);
  padding: 0;
  opacity: var(--orbit-opacity, 0.74);
  cursor: pointer;
  pointer-events: auto;
  transform:
    translate3d(
      calc(-50% + var(--orbit-x, 0px)),
      calc(-50% + var(--orbit-y, 0px)),
      var(--orbit-z, 0px)
    )
    rotateY(var(--orbit-rotate, 0deg))
    scale(var(--orbit-scale, 0.75));
  transform-origin: 50% 50%;
  transition:
    transform var(--carousel-transition-ms, 760ms) var(--ease-out-expo),
    opacity 0.45s var(--ease-out-expo),
    filter 0.45s var(--ease-out-expo);
}

.carousel--orbit .carousel__slide:not(.is-active) {
  filter: saturate(0.88) brightness(0.84) blur(0.1px);
}

.carousel--orbit .carousel__slide.is-active {
  cursor: default;
  pointer-events: auto;
  filter: saturate(1.1) brightness(1.05);
}

.server-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    165deg,
    rgba(16, 18, 32, 0.95) 0%,
    rgba(6, 8, 16, 0.98) 50%,
    rgba(4, 6, 14, 1) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.22);
  border-radius: 16px;
  padding: 1.35rem 1.15rem 1.6rem;
  text-align: center;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(0, 255, 157, 0.1),
    inset 0 -1px 0 rgba(224, 64, 251, 0.05);
  min-height: 300px;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s,
    border-color 0.35s;
}

.carousel--orbit .server-card {
  min-height: 330px;
  border-color: transparent;
}

.carousel--orbit .carousel__slide.is-active .server-card {
  border-color: transparent;
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.68),
    0 0 58px rgba(0, 255, 157, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.carousel--orbit .carousel__slide:not(.is-active) .server-card {
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.56),
    0 0 32px rgba(0, 255, 157, 0.06);
}

.server-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 157, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 48px rgba(0, 255, 157, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.carousel--orbit .server-card:hover {
  border-color: transparent;
}

.server-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--color-accent, #00ff9d),
    #b4ffe0
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.25;
  filter: drop-shadow(0 0 12px rgba(0, 255, 157, 0.25));
}

.server-card__logo {
  margin: 0 auto 0.65rem;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 157, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.server-card__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.server-card__warning {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #ff6b6b;
}

.server-card__warning:empty,
.server-card__warning[hidden] {
  display: none;
}

.server-card__desc {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: rgba(245, 245, 245, 0.92);
}

.server-card__desc p {
  margin: 0 0 0.4rem;
}

.server-card__games {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
  display: inline-block;
  text-align: center;
}

.server-card__games li {
  position: relative;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  color: var(--color-text, #f5f5f5);
}

.server-card__actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
}

/* Social-Buttons (Karten + Footer) */
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.2s var(--ease-out-expo),
    box-shadow 0.25s,
    filter 0.2s;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.btn-social:hover {
  transform: translateY(-2px);
  text-decoration: none;
  filter: brightness(1.1) saturate(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-social:focus-visible {
  outline: 2px solid var(--color-accent, #00ff9d);
  outline-offset: 2px;
}

.btn-social__emoji {
  font-size: 1rem;
  line-height: 1;
}

.btn-social--discord {
  background: #5865f2;
  border-color: #4752c4;
}
.btn-social--twitch {
  background: #9146ff;
  border-color: #772ce8;
}
.btn-social--youtube {
  background: #ff0000;
  border-color: #cc0000;
}
.btn-social--twitter,
.btn-social--x {
  background: #000;
  border-color: #333;
}
.btn-social--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}
.btn-social--facebook {
  background: #1877f2;
  border-color: #166fe5;
}
.btn-social--steam {
  background: linear-gradient(180deg, #1b2838 0%, #2a475e 100%);
  border-color: #66c0f4;
}
.btn-social--tiktok {
  background: #000;
  border-color: #25f4ee;
  box-shadow: 0 0 0 1px #fe2c55 inset;
}
.btn-social--github {
  background: #24292f;
  border-color: #30363d;
}
.btn-social--reddit {
  background: #ff4500;
  border-color: #d93a00;
}
.btn-social--telegram {
  background: #26a5e4;
  border-color: #0088cc;
}
.btn-social--whatsapp {
  background: #25d366;
  border-color: #128c7e;
}
.btn-social--snapchat {
  background: #fffc00;
  border-color: #e6e000;
  color: #000;
}
.btn-social--generic {
  background: rgba(40, 40, 40, 0.95);
  border-color: rgba(57, 255, 20, 0.35);
  color: var(--color-text, #f5f5f5);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1400;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 157, 0.82);
  background:
    radial-gradient(circle at 35% 30%, rgba(0, 255, 157, 0.28), transparent 55%),
    linear-gradient(160deg, rgba(10, 16, 26, 0.96) 0%, rgba(4, 8, 14, 0.98) 100%);
  color: #00ff9d;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.2s,
    color 0.2s;
  box-shadow:
    0 0 0 3px rgba(0, 255, 157, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.58),
    0 0 32px rgba(0, 255, 157, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  text-shadow: 0 0 14px rgba(0, 255, 157, 0.55);
  -webkit-tap-highlight-color: transparent;
}

.carousel__btn:hover {
  background:
    radial-gradient(circle at 35% 30%, rgba(0, 255, 157, 0.4), transparent 55%),
    linear-gradient(160deg, rgba(12, 22, 28, 0.98) 0%, rgba(6, 12, 18, 1) 100%);
  border-color: #00ff9d;
  color: #b8ffe0;
  transform: translateY(-50%) scale(1.07);
  box-shadow:
    0 0 0 4px rgba(0, 255, 157, 0.2),
    0 18px 42px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(0, 255, 157, 0.42);
}

.carousel__btn:active {
  transform: translateY(-50%) scale(0.97);
}

.carousel__btn--prev {
  left: clamp(0.2rem, 2.4vw, 1.6rem);
}

.carousel__btn--next {
  right: clamp(0.2rem, 2.4vw, 1.6rem);
}

.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.carousel--orbit .carousel__dots {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .carousel--orbit .carousel__slide {
    transition: none;
  }
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.45);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel__dot.is-active {
  background: linear-gradient(
    135deg,
    var(--color-accent, #00ff9d),
    #5cffc5
  );
  border-color: transparent;
  transform: scale(1.2);
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.5);
}

.carousel--single .carousel__btn,
.carousel--single .carousel__dots {
  display: none;
}

/* Mobile: volle Server-Seite — eine Karte, große Pfeile, natürliche Höhe */
@media (max-width: 820px) {
  .server-carousel {
    padding-left: 3.15rem;
    padding-right: 3.15rem;
    padding-bottom: 2.5rem;
    margin-top: 1.15rem;
  }

  .carousel--orbit .carousel__viewport {
    min-height: 0;
    max-width: 100%;
    perspective: none;
    overflow: visible;
  }

  .carousel--orbit .carousel__track {
    position: relative;
    min-height: 0;
    height: auto;
    transform-style: flat;
  }

  .carousel--orbit .carousel__slide {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(100%, 360px);
    padding: 0;
    transform: translate3d(-50%, 0, 0) !important;
    filter: none;
  }

  .carousel--orbit .carousel__slide:not(.is-active) {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
  }

  .carousel--orbit .carousel__slide.is-active {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible;
    filter: none;
    z-index: 2;
  }

  .carousel--orbit .server-card,
  .carousel--orbit .carousel__slide.is-active .server-card {
    min-height: 0;
    padding: 1.15rem 1rem 1.25rem;
  }

  .server-card__logo {
    max-width: min(200px, 70%);
  }

  .server-card__title {
    font-size: 1.05rem;
  }

  .server-card__games li {
    font-size: 0.92rem;
    padding: 0.28rem 0;
  }

  .server-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    padding-top: 1.1rem;
  }

  .server-card__actions .btn-social {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }

  .carousel__btn {
    top: auto;
    bottom: 0.35rem;
    transform: none;
    width: 3.35rem;
    height: 3.35rem;
    font-size: 1.85rem;
    border-width: 2.5px;
    background:
      radial-gradient(circle at 35% 30%, rgba(0, 255, 157, 0.42), transparent 55%),
      linear-gradient(160deg, rgba(8, 14, 22, 0.98) 0%, rgba(2, 6, 12, 1) 100%);
    box-shadow:
      0 0 0 3px rgba(0, 255, 157, 0.28),
      0 12px 28px rgba(0, 0, 0, 0.7),
      0 0 40px rgba(0, 255, 157, 0.48);
  }

  .carousel__btn:hover {
    transform: scale(1.05);
  }

  .carousel__btn:active {
    transform: scale(0.97);
  }

  .carousel__btn--prev {
    left: 0.2rem;
  }

  .carousel__btn--next {
    right: 0.2rem;
  }

  .carousel--orbit .carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0.75rem auto 3.55rem;
    padding: 0.4rem 0.95rem;
    min-width: 4.5rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 157, 0.45);
    background: rgba(6, 10, 18, 0.88);
    color: #b8ffe0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  }

  .server-extras {
    padding: 0 0.85rem 2.25rem;
  }

  .site-footer {
    min-height: auto;
    overflow: visible;
    padding: 1.65rem 0.85rem 1.85rem;
  }

  .global-footer__content {
    padding: 0 0.15rem;
  }

  .global-footer__intro {
    padding: 0.75rem 0.85rem;
  }

  .global-footer__tagline {
    font-size: 0.88rem;
  }

  .global-footer__col-title {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
  }

  .global-footer__links {
    gap: 0.15rem;
  }

  .global-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.88rem;
  }

  .global-footer__legal {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .global-footer__copyright {
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .server-carousel {
    padding-left: 2.95rem;
    padding-right: 2.95rem;
  }

  .carousel__btn {
    width: 3.1rem;
    height: 3.1rem;
  }

  .server-hero__center-img {
    width: min(148px, 46vw);
  }
}

/* ——— Globaler Footer ——— */
.global-footer__content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0.85rem;
}

.global-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  .global-footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.global-footer__intro {
  grid-column: 1 / -1;
  margin-bottom: 0.05rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 157, 0.06) 0%,
    rgba(14, 16, 28, 0.5) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.1);
}

.global-footer__tagline {
  margin: 0;
  color: rgba(232, 234, 239, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
}

.global-footer__col-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(
    90deg,
    var(--color-accent, #00ff9d),
    rgba(224, 64, 251, 0.9)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.global-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.global-footer__links a {
  color: rgba(232, 234, 239, 0.82);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: normal;
  transition: color 0.2s, transform 0.2s;
}

.global-footer__links a:hover {
  color: var(--color-accent, #00ff9d);
  transform: translateX(3px);
}

.global-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.global-footer__social-icon {
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 0.95em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.global-footer__social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.global-footer__legal {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 255, 157, 0.1);
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(180, 186, 198, 0.65);
}

.fine-print {
  margin: 0;
}

.global-footer__copyright {
  grid-column: 1 / -1;
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: rgba(140, 148, 160, 0.55);
  text-align: center;
  letter-spacing: 0.04em;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(var(--footer-min-height, 220px), 240px);
  overflow: hidden;
  padding: 1.45rem 1rem 1.15rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(180, 188, 200, 0.65);
  background: linear-gradient(180deg, rgba(3, 3, 10, 0.5), #010106);
  border-top: 1px solid rgba(0, 255, 157, 0.08);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--footer-bg-image, none);
  background-position: var(--footer-bg-position, center 72%);
  background-repeat: no-repeat;
  background-size: var(--footer-bg-size, cover);
  opacity: var(--footer-bg-opacity, 0);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 75% at 50% 35%, rgba(3, 3, 10, 0.3), rgba(3, 3, 10, 0.86) 72%),
    linear-gradient(180deg, rgba(3, 3, 10, 0.72), #010106);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ——— Flexible Seite + optionale Blöcke (Start / Server) ——— */
.flex-page {
  padding: 1.5rem 1rem 3rem;
  min-height: 40vh;
}

.flex-page__sections {
  max-width: 1100px;
  margin: 0 auto;
}

.flex-page__sections--subtabs .flex-page__header {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 255, 157, 0.14);
}

.flex-page__sections--subtabs .flex-page__header .section-block {
  margin-bottom: 0;
}

.flex-page__subtabs-panels {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0.35rem;
  scroll-margin-top: calc(var(--header-height, 76px) + 1.25rem);
}

.flex-page__subtab-panel {
  scroll-margin-top: calc(var(--header-height, 76px) + 1.25rem);
}

.flex-page__subheading {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent, #00ff9d);
}

.flex-page__subheading:first-child {
  margin-top: 0;
}

.flex-page__header .section-block__body {
  white-space: normal;
}

.flex-page__intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  color: rgba(245, 245, 245, 0.9);
}

.flex-page__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.flex-page__eyebrow {
  display: inline-block;
  margin: 0 auto 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.08);
  color: rgba(0, 255, 157, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flex-page__header {
  margin-bottom: 1.5rem;
}

.flex-page__subtabs-nav {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  margin: 0 auto 2rem;
  max-width: 980px;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background:
    linear-gradient(180deg, rgba(0, 255, 157, 0.1), rgba(6, 10, 18, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.flex-page__subtabs-nav-label {
  margin: 0;
  color: var(--color-accent, #00ff9d);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flex-page__subtabs-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  width: 100%;
}

.flex-page__subtab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(232, 234, 239, 0.92);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.flex-page__subtab-link:hover,
.flex-page__subtab-link:focus-visible {
  color: #fff;
  border-color: rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.08);
}

.flex-page__subtab-link.is-active {
  color: #041018;
  border-color: var(--color-accent, #00ff9d);
  background: var(--color-accent, #00ff9d);
}

.flex-page__subtabs-panels .section-block {
  margin-bottom: 2rem;
}

.flex-page__subtab-panel--inactive {
  display: none !important;
}

.flex-page__empty-tab {
  margin: 2rem auto;
  max-width: 42rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px dashed rgba(0, 255, 157, 0.28);
  background: rgba(0, 255, 157, 0.04);
  color: rgba(232, 234, 239, 0.82);
  text-align: center;
  line-height: 1.6;
}

.flex-page__subtab-panel[hidden] {
  display: none !important;
}

.flex-page__error {
  color: #ff6b6b;
  text-align: center;
}

.flex-page__loading {
  margin: 2rem auto;
  text-align: center;
  color: rgba(245, 245, 245, 0.72);
}

.flex-section {
  margin-bottom: 2.5rem;
}

.flex-section__heading {
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(
    90deg,
    var(--color-accent, #00ff9d),
    #c4fff0,
    var(--color-accent, #00ff9d)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flex-section--embed .server-carousel,
.flex-section--embed .image-slider {
  margin-left: auto;
  margin-right: auto;
}

.partner-banner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.partner-banner__disclosure {
  margin: 0 0 0.45rem;
  color: rgba(232, 234, 239, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-banner__frame {
  position: relative;
  width: min(100%, var(--partner-banner-width, 728px));
  aspect-ratio: var(--partner-banner-ratio, 728 / 90);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(6, 8, 18, 0.82);
}

.partner-banner__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-extras,
.server-extras {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.section-block--text-only {
  grid-template-columns: 1fr !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Laufband (links → rechts) */
.marquee {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--marquee-border, rgba(0, 255, 157, 0.18));
  border-radius: var(--marquee-radius, 14px);
  background: linear-gradient(135deg, rgba(12, 14, 26, 0.9) 0%, var(--marquee-bg, rgba(6, 8, 18, 0.95)) 100%);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--marquee-bg, #060812) 82%, rgba(255, 255, 255, 0.08)) 0%,
    var(--marquee-bg, rgba(6, 8, 18, 0.95)) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 34px rgba(0, 255, 157, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 34px color-mix(in srgb, var(--marquee-border, #00ff9d) calc(var(--marquee-glow-strength, 0.22) * 100%), transparent);
}

.marquee__row {
  display: inline-flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
  animation-direction: var(--marquee-direction, normal);
  padding: var(--marquee-padding-y, 10px) 0;
}

.marquee__group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

.marquee--pause-hover:hover .marquee__row {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__row {
    animation: none;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.35rem;
  font-size: var(--marquee-font-size, 15px);
  color: var(--marquee-text, var(--color-text, #e8eaef));
  font-weight: 500;
}

.marquee__emoji {
  font-size: 1.1rem;
}

.marquee__sep {
  opacity: 0.45;
  padding: 0 0.15rem;
}

/* Bild-Slider */
.image-slider {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 0 2.75rem 2rem;
}

.image-slider__viewport {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 157, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.image-slider__figure {
  margin: 0;
}

.image-slider__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 55vh);
  object-fit: cover;
}

.image-slider__caption {
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(245, 245, 245, 0.95);
}

/* ——— Rechtstexte (Impressum / Datenschutz) ——— */
.legal-page {
  padding: 2rem 1.15rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page__article {
  background: linear-gradient(
    165deg,
    rgba(12, 14, 26, 0.55) 0%,
    rgba(6, 8, 16, 0.85) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.12);
  border-radius: var(--radius-ui);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem;
  background: linear-gradient(90deg, var(--color-accent, #00ff9d), #b4ffe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-page__lead {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(232, 234, 239, 0.88);
}

.legal-page__section {
  margin-bottom: 1.75rem;
}

.legal-page__section h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent, #00ff9d);
  margin: 0 0 0.65rem;
}

.legal-page__section p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(220, 224, 232, 0.92);
}

.legal-page__section a {
  color: var(--color-accent, #00ff9d);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__hint {
  font-size: 0.82rem !important;
  color: rgba(255, 200, 120, 0.9) !important;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 160, 60, 0.08);
  border: 1px solid rgba(255, 180, 80, 0.2);
}

/* Tastatur-Fokus sichtbar */
.brand:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible,
.btn-social:focus-visible,
.carousel__btn:focus-visible,
.carousel__dot:focus-visible,
.global-footer__links a:focus-visible {
  outline: 2px solid var(--color-accent, #00ff9d);
  outline-offset: 3px;
}

/* Weniger Bewegung bei Systemeinstellung */
@media (prefers-reduced-motion: reduce) {
  .brand:hover,
  .nav-links a:hover,
  .btn:hover,
  .btn-social:hover,
  .section-block:hover,
  .server-card:hover {
    transform: none !important;
  }

  .marquee--pause-hover:hover .marquee__row {
    animation-play-state: paused;
  }
}

/* —— Consent Gate (Cookies + AGB + Datenschutz) —— */
html.fg-consent-locked,
html.fg-consent-locked body,
body.fg-consent-locked {
  overflow: hidden;
}

html.fg-consent-locked body > :not(#fg-consent-gate):not(script):not(style),
body.fg-consent-locked > :not(#fg-consent-gate):not(script):not(style) {
  pointer-events: none;
  user-select: none;
}

.fg-consent-gate__panel:focus {
  outline: 2px solid rgba(0, 255, 157, 0.55);
  outline-offset: 2px;
}

.fg-consent-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.fg-consent-gate[hidden] {
  display: none !important;
}

/* Nach bestätigter Einwilligung nie Banner/Modal einblenden (Anti-Flash). */
html.fg-consent-known #fg-consent-gate,
html.fg-consent-known #fg-consent-legal-banner {
  display: none !important;
}

.fg-consent-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.88);
  backdrop-filter: blur(6px);
}

.fg-consent-gate__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border: 1px solid rgba(0, 255, 157, 0.28);
  border-radius: 18px;
  background: linear-gradient(165deg, #0d1118 0%, #080a10 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  padding: 1.5rem 1.4rem 1.25rem;
  color: var(--color-text, #e8eaef);
}

.fg-consent-gate__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 255, 157, 0.85);
}

.fg-consent-gate__title {
  margin: 0 0 0.75rem;
  font-family: Orbitron, sans-serif;
  font-size: 1.35rem;
}

.fg-consent-gate__text,
.fg-consent-gate__versions,
.fg-consent-gate__hint {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(232, 234, 239, 0.9);
}

.fg-consent-gate__versions {
  font-size: 0.8rem;
  color: rgba(232, 234, 239, 0.65);
}

.fg-consent-gate__renew {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.fg-consent-gate__renew[hidden] {
  display: none !important;
}

.fg-consent-gate__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.fg-consent-gate__check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.fg-consent-gate__check a {
  color: #7dd3fc;
}

.fg-consent-gate__error {
  margin: 0.5rem 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.88rem;
}

.fg-consent-gate__actions {
  margin-top: 1rem;
}

.fg-consent-gate__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #00ff9d, #22d3ee);
  color: #041016;
}

.fg-consent-gate__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fg-consent-legal-banner {
  position: sticky;
  top: 0;
  z-index: 10040;
  background: rgba(8, 20, 16, 0.95);
  border-bottom: 1px solid rgba(0, 255, 157, 0.35);
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.fg-consent-legal-banner[hidden] {
  display: none !important;
}

.fg-consent-legal-banner__btn {
  margin-left: 0.5rem;
  border: 1px solid rgba(0, 255, 157, 0.5);
  background: transparent;
  color: #00ff9d;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.global-footer__withdraw {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Öffentlicher Bild-Zoom */
.image-slider__figure img,
.server-card__logo img,
.hero__center-img,
.server-hero__center-img,
.section-block__body img {
  cursor: zoom-in;
}

.fg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.4rem 4.2rem 3rem;
  background: rgba(3, 6, 10, 0.9);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fg-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fg-lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.fg-lightbox__image {
  display: block;
  max-width: min(92vw, 100%);
  max-height: min(84vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.fg-lightbox.is-zoomed .fg-lightbox__image {
  cursor: grab;
}

.fg-lightbox.is-dragging .fg-lightbox__image {
  cursor: grabbing;
}

.fg-lightbox__close,
.fg-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(8, 12, 18, 0.92);
  color: #e8eaef;
  cursor: pointer;
}

.fg-lightbox__close {
  top: 0.75rem;
  right: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
}

.fg-lightbox__nav {
  top: 50%;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 1.45rem;
  color: #00ff9d;
}

.fg-lightbox__nav--prev { left: 0.75rem; }
.fg-lightbox__nav--next { right: 0.75rem; }

.fg-lightbox__close:hover,
.fg-lightbox__nav:hover {
  border-color: #00ff9d;
  color: #00ff9d;
}

.fg-lightbox__nav[hidden],
.fg-lightbox__counter[hidden] {
  display: none !important;
}

.fg-lightbox__counter,
.fg-lightbox__hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(232, 234, 239, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.fg-lightbox__counter { bottom: 2.05rem; }
.fg-lightbox__hint { bottom: 0.7rem; }

body.fg-lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .fg-lightbox {
    transition: none;
  }
}
