/* 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: #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(--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, #030308 0%, #07070f 40%, #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: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 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: hidden;
}

/* 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.1);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0, 255, 157, 0.06);
  pointer-events: none;
  z-index: 0;
}

.site-header::after {
  content: "ABEND";
  font-family: var(--font-display);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: clamp(3rem, 18vw, 7rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.12em;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 157, 0.12) 0%,
    rgba(224, 64, 251, 0.05) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  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__nav {
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.brand {
  font-size: clamp(1.05rem, 2.5vw, 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: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.55rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: min(72vw, 28rem);
}

.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);
}

/* Hero + Parallax */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
  overflow: hidden;
}

.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(96vw, 1100px);
  margin-bottom: -2rem;
  text-align: center;
}

.hero__crest-inner {
  display: inline-block;
  padding: 1.5rem 2rem 3rem;
  background: linear-gradient(
    165deg,
    rgba(0, 255, 157, 0.08) 0%,
    rgba(12, 14, 28, 0.75) 45%,
    rgba(4, 6, 14, 0.95) 100%
  );
  border: 1px solid rgba(0, 255, 157, 0.22);
  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.12),
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 0 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.hero__crest-title {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 157, 0.55) 0%,
    rgba(0, 200, 120, 0.2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  line-height: 1.1;
  filter: drop-shadow(0 0 24px rgba(0, 255, 157, 0.25));
}

.hero__center-img-wrap {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  margin-bottom: 0.5rem;
  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: 0.92;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 40%,
    transparent 100%
  );
}

.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;
}

.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;
}

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

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

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

.section-block__media {
  border-radius: 14px;
  overflow: hidden;
  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);
}

.section-block__media img {
  display: block;
  width: 100%;
  height: auto;
}

.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);
}

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

.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: min(100vh, 980px);
  padding: 1.5rem 1rem 3rem;
  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: -5%;
  width: 110%;
  top: -15%;
  height: 130%;
  background-size: cover;
  background-position: center 40%;
  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.4) 0%, rgba(2, 2, 8, 0.97) 100%);
  pointer-events: none;
}

.server-hero__crest {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  margin-bottom: -1.5rem;
  text-align: center;
}

.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: relative;
  z-index: 2;
  margin-top: -2.5rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 28px rgba(57, 255, 20, 0.22));
}

.server-hero__center-img {
  display: block;
  max-width: min(400px, 85vw);
  height: auto;
  margin: 0 auto;
  opacity: 0.88;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 42%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    ellipse 72% 72% at 50% 50%,
    black 42%,
    transparent 100%
  );
}

.server-hero__headline {
  position: relative;
  z-index: 3;
  margin: 0.75rem 0 1.75rem;
  padding: 0 0.75rem;
  max-width: 900px;
  text-align: center;
  font-size: clamp(1.35rem, 3.8vw, 2.05rem);
  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: 560px;
  margin: 0 auto;
  padding: 0 2.75rem 2.5rem;
}

.carousel__viewport {
  --n: 1;
  --i: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 157, 0.15);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 157, 0.06);
}

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

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

.carousel__slide {
  flex: 0 0 calc(100% / var(--n, 1));
  min-width: 0;
  padding: 0 0.35rem;
  box-sizing: border-box;
}

.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;
}

.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);
}

.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: 5;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: linear-gradient(
    145deg,
    rgba(12, 14, 24, 0.92) 0%,
    rgba(6, 8, 16, 0.95) 100%
  );
  color: var(--color-accent, #00ff9d);
  font-size: 1.45rem;
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.carousel__btn:hover {
  background: rgba(0, 255, 157, 0.12);
  border-color: var(--color-accent, #00ff9d);
  box-shadow: 0 0 24px rgba(0, 255, 157, 0.2);
}

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

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

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

.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;
}

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

  .carousel__btn {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.25rem;
  }
}

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

.global-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  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.35rem;
  padding: 1rem 1.15rem;
  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.92rem;
  line-height: 1.5;
}

.global-footer__col-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  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.5rem;
}

.global-footer__links a {
  color: rgba(232, 234, 239, 0.82);
  font-size: 0.88rem;
  transition: color 0.2s, transform 0.2s;
}

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

.global-footer__links .btn-social {
  align-self: flex-start;
}

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

.fine-print {
  margin: 0;
}

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

.site-footer {
  padding: 2.75rem 1rem 2.25rem;
  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);
}

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

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

.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__error {
  color: #ff6b6b;
  text-align: center;
}

.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;
}

.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 rgba(0, 255, 157, 0.18);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(12, 14, 26, 0.9) 0%,
    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);
}

.marquee__row {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
  animation-direction: var(--marquee-direction, normal);
  padding: 0.65rem 0;
}

.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: 0.95rem;
  color: 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;
  }
}
