/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --rv-bg:          #0a0a0a;
  --rv-bg-2:        #111111;
  --rv-bg-3:        #181818;
  --rv-panel:       #141414;
  --rv-rust:        #c0392b;
  --rv-rust-light:  #e74c3c;
  --rv-rust-glow:   rgba(192, 57, 43, 0.35);
  --rv-orange:      #e67e22;
  --rv-gold:        #f39c12;
  --rv-text:        #e8e0d8;
  --rv-muted:       #7a7068;
  --rv-border:      rgba(192, 57, 43, 0.25);
  --rv-font-display: 'Bebas Neue', 'Impact', sans-serif;
  --rv-font-body:    'Barlow', 'Helvetica Neue', sans-serif;
  --rv-font-mono:    'Share Tech Mono', 'Courier New', monospace;
  --rv-radius:       4px;
  --rv-transition:   0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--rv-bg);
  color: var(--rv-text);
  font-family: var(--rv-font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(192,57,43,0.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a { color: var(--rv-rust-light); text-decoration: none; transition: color var(--rv-transition); }
a:hover { color: var(--rv-gold); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rv-font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--rv-text);
  margin-bottom: 0.25em;
}

.section-title span {
  color: var(--rv-rust-light);
  text-shadow: 0 0 30px var(--rv-rust-glow);
}

.section-subtitle {
  font-family: var(--rv-font-body);
  font-size: 1rem;
  color: var(--rv-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rv-border);
  transition: box-shadow var(--rv-transition);
}

#masthead.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--rv-rust);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rv-font-display);
  font-size: 18px;
  color: #fff;
}

.site-title {
  font-family: var(--rv-font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--rv-text);
  text-transform: uppercase;
}

.site-title span { color: var(--rv-rust-light); }

#primary-navigation ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

#primary-navigation a {
  font-family: var(--rv-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rv-muted);
  padding: 6px 14px;
  border-radius: var(--rv-radius);
  transition: color var(--rv-transition), background var(--rv-transition);
}

#primary-navigation a:hover,
#primary-navigation .current-menu-item a {
  color: var(--rv-text);
  background: rgba(255,255,255,0.05);
}

#primary-navigation .menu-item-vote a,
#primary-navigation .menu-item-shop a {
  color: var(--rv-rust-light);
  border: 1px solid var(--rv-border);
}

#primary-navigation .menu-item-shop a {
  background: var(--rv-rust);
  color: #fff;
  border-color: var(--rv-rust);
}

#primary-navigation .menu-item-shop a:hover {
  background: var(--rv-rust-light);
}

.nav-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rv-border);
  color: var(--rv-muted);
  font-size: 0.75rem;
  transition: all var(--rv-transition);
}

.nav-social a:hover {
  border-color: var(--rv-rust-light);
  color: var(--rv-rust-light);
  background: var(--rv-rust-glow);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rv-border);
  color: var(--rv-text);
  padding: 8px 12px;
  border-radius: var(--rv-radius);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Bild-URL wird per PHP inline-style gesetzt (siehe front-page.php) */
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Kein ::before – nur ein kombinierter Overlay+Gradient via ::after */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65)  0%,
    rgba(0, 0, 0, 0.60) 35%,
    rgba(0, 0, 0, 0.88) 68%,
    #0a0a0a             100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* muss über ::after liegen */
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--rv-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--rv-rust-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 6px 18px;
  border: 1px solid var(--rv-border);
  border-radius: 100px;
  background: rgba(192,57,43,0.1);
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 9rem);
  color: #fff;
  text-shadow:
    0 0 60px rgba(192,57,43,0.4),
    0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 0.2em;
  animation: heroReveal 1s ease both;
}

.hero-title .accent { color: var(--rv-rust-light); }

.hero-subtitle {
  font-family: var(--rv-font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(232,224,216,0.75);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  animation: heroReveal 1s 0.2s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroReveal 1s 0.4s ease both;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--rv-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--rv-radius);
  transition: all var(--rv-transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--rv-rust);
  color: #fff;
  box-shadow: 0 0 30px rgba(192,57,43,0.4);
}

.btn-primary:hover {
  background: var(--rv-rust-light);
  color: #fff;
  box-shadow: 0 0 50px rgba(231,76,60,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--rv-text);
  border: 1px solid rgba(232,224,216,0.3);
}

.btn-outline:hover {
  border-color: var(--rv-text);
  color: var(--rv-text);
  background: rgba(232,224,216,0.05);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS GENERAL
   ============================================================ */
.rv-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.rv-section--alt {
  background: var(--rv-bg-2);
}

.rv-section--darker {
  background: var(--rv-panel);
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rv-border), transparent);
  margin: 0;
}

/* ============================================================
   SERVER / GAMESERVER SECTION
   ============================================================ */
.server-card {
  background: var(--rv-panel);
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.server-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rv-rust), var(--rv-orange));
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  font-family: var(--rv-font-mono);
  font-size: 0.8rem;
  color: var(--rv-muted);
  letter-spacing: 0.1em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.server-name {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.server-tag {
  padding: 4px 12px;
  background: rgba(192,57,43,0.15);
  border: 1px solid var(--rv-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--rv-font-mono);
  color: var(--rv-rust-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.connect-box {
  background: var(--rv-bg);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  padding: 20px 24px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.connect-label {
  font-family: var(--rv-font-mono);
  font-size: 0.75rem;
  color: var(--rv-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.connect-cmd {
  font-family: var(--rv-font-mono);
  font-size: 1rem;
  color: var(--rv-rust-light);
}

.copy-btn {
  background: rgba(192,57,43,0.2);
  border: 1px solid var(--rv-border);
  color: var(--rv-rust-light);
  padding: 8px 16px;
  border-radius: var(--rv-radius);
  font-size: 0.75rem;
  font-family: var(--rv-font-mono);
  cursor: pointer;
  transition: all var(--rv-transition);
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--rv-rust);
  color: #fff;
  border-color: var(--rv-rust);
}

.server-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--rv-bg);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
}

.stat-value {
  font-family: var(--rv-font-display);
  font-size: 2.5rem;
  color: var(--rv-rust-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--rv-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================================
   DISCORD SECTION
   ============================================================ */
.discord-banner {
  background: linear-gradient(135deg, #23272a 0%, #1a1d21 100%);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discord-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(88,101,242,0.08) 0%, transparent 60%);
}

.discord-logo {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.discord-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--rv-font-display);
  color: #fff;
  margin-bottom: 0.5rem;
}

/* .discord-sub is defined further below with correct spacing */

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 0 30px rgba(88,101,242,0.4);
}

.btn-discord:hover {
  background: #4752c4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(88,101,242,0.6);
}

/* ============================================================
   REGELN / RULES SECTION
   ============================================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.rule-card {
  background: var(--rv-panel);
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transition: border-color var(--rv-transition), transform var(--rv-transition);
}

.rule-card:hover {
  border-color: rgba(192,57,43,0.5);
  transform: translateY(-4px);
}

.rule-number {
  font-family: var(--rv-font-display);
  font-size: 4rem;
  color: rgba(192,57,43,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.rule-title {
  font-size: 1.1rem;
  color: var(--rv-text);
  margin-bottom: 0.75rem;
  font-family: var(--rv-font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.rule-text {
  color: var(--rv-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   STAFF SECTION
   ============================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.staff-card {
  background: var(--rv-panel);
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--rv-transition);
  position: relative;
  overflow: hidden;
}

.staff-card:hover {
  border-color: var(--rv-rust-light);
  transform: translateY(-4px);
}

.staff-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rv-rust), var(--rv-orange));
  transform: scaleX(0);
  transition: transform var(--rv-transition);
}

.staff-card:hover::after {
  transform: scaleX(1);
}

.staff-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--rv-bg);
  border: 2px solid var(--rv-border);
  margin: 0 auto 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.staff-name {
  font-family: var(--rv-font-display);
  font-size: 1.2rem;
  color: var(--rv-text);
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.75rem;
  color: var(--rv-rust-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--rv-font-mono);
}

/* ============================================================
   VOTE SECTION
   ============================================================ */
.vote-section {
  background: linear-gradient(135deg, var(--rv-bg-3), var(--rv-panel));
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
}

.vote-stars {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: #050505;
  border-top: 1px solid var(--rv-border);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--rv-muted);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.8;
}

.footer-heading {
  font-family: var(--rv-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--rv-muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--rv-muted);
  transition: color var(--rv-transition);
}

.footer-links a:hover { color: var(--rv-text); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--rv-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  font-size: 0.8rem;
  color: var(--rv-muted);
  transition: color var(--rv-transition);
}

.footer-social a:hover { color: var(--rv-rust-light); }

/* ============================================================
   WIDGETS & WP ELEMENTS
   ============================================================ */
.wp-block-image img { border-radius: var(--rv-radius); }
.wp-block-quote {
  border-left: 3px solid var(--rv-rust);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--rv-muted);
}

/* WP Alignment */
.aligncenter { margin: 0 auto; display: block; }
.alignleft  { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #primary-navigation { display: none; }
  #primary-navigation.open { display: block; }
  #primary-navigation.open ul {
    flex-direction: column;
    padding: 16px 0;
    background: var(--rv-panel);
    border-top: 1px solid var(--rv-border);
    position: absolute;
    top: 68px; left: 0; right: 0;
  }
  .menu-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .connect-box { flex-direction: column; align-items: flex-start; }
  .server-card { padding: 24px; }
  .discord-banner { padding: 40px 24px; }
  .vote-section { padding: 40px 24px; }
}

/* ============================================================
   LOGO (direkte Theme-Bilddatei + WordPress Custom Logo)
   ============================================================ */
.site-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 42px;
  width: auto;
  display: block;
  /* Leichter Drop-Shadow damit das Logo auf dunklem Header gut absticht */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-logo-img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* WordPress Custom Logo (Customizer-Upload hat Vorrang) */
.site-branding .custom-logo-link {
  display: flex;
  align-items: center;
}

.site-branding .custom-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

/* Footer */
.site-footer .site-logo-img,
.site-footer .custom-logo {
  height: 28px !important;
  width: auto !important;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .site-logo-img,
  .site-branding .custom-logo {
    height: 34px;
  }
}

/* ============================================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================================ */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rv-border);
  color: var(--rv-text);
  padding: 10px 12px;
  border-radius: var(--rv-radius);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rv-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO STATUS EYEBROW
   ============================================================ */
.status-dot-small {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulse 2s infinite;
  vertical-align: middle;
  margin-right: 6px;
}

.status-dot-small.dot-offline {
  background: #e74c3c;
  box-shadow: 0 0 8px #e74c3c;
  animation: none;
}

/* ============================================================
   REGELN – Zeilenbasiertes Layout (statt Karten-Grid)
   ============================================================ */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  overflow: hidden;
}

.rule-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rv-border);
  transition: background var(--rv-transition);
}

.rule-row:last-child { border-bottom: none; }

.rule-row:hover { background: rgba(192, 57, 43, 0.04); }

.rule-row-num {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  font-family: var(--rv-font-display);
  font-size: 1.6rem;
  color: rgba(192, 57, 43, 0.35);
  border-right: 1px solid var(--rv-border);
  background: rgba(0,0,0,0.15);
  line-height: 1;
}

.rule-row-body {
  padding: 24px 28px;
  flex: 1;
}

.rule-row-title {
  font-family: var(--rv-font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--rv-text);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.rule-row-text {
  color: var(--rv-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   DISCORD – Zweispaltiges Layout mit Widget
   ============================================================ */
.discord-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 48px;
  align-items: start;
}

.discord-info {
  background: linear-gradient(135deg, #23272a 0%, #1a1d21 100%);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 8px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.discord-info::before {
  content: '';
  position: absolute;
  top: -60%; left: -30%;
  width: 160%; height: 160%;
  background: radial-gradient(circle at 40% 40%, rgba(88,101,242,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.discord-logo-icon {
  margin-bottom: 1.5rem;
}

.discord-text {
  font-family: var(--rv-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.discord-sub {
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.discord-widget-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(88,101,242,0.25);
  background: #2f3136;
  margin-top: 0;
}

.discord-info .btn-discord {
  margin-top: 2rem;
  margin-bottom: 0;
}

.discord-sub {
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.discord-widget-wrap iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}

.discord-widget-placeholder {
  background: #23272a;
  border: 1px dashed rgba(88,101,242,0.4);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE UPDATES
   ============================================================ */
@media (max-width: 1024px) {
  .discord-layout {
    grid-template-columns: 1fr;
  }
  .discord-widget-wrap iframe {
    height: 400px;
  }
}

@media (max-width: 900px) {
  #primary-navigation { display: none; }
  #primary-navigation.open {
    display: block;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--rv-border);
    padding: 8px 0 16px;
    z-index: 999;
  }
  #primary-navigation.open ul {
    flex-direction: column;
    padding: 0 16px;
  }
  #primary-navigation.open li a {
    display: block;
    padding: 12px 16px;
  }
  .menu-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .rule-row-num { width: 48px; font-size: 1.2rem; padding: 20px 10px; }
  .rule-row-body { padding: 18px 20px; }
  .discord-info { padding: 32px 24px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .connect-box { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REGEL-LISTE (Aufzählungspunkte innerhalb der Paragraphen)
   ============================================================ */
.rule-row-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: rule-counter;
}

.rule-row-list li {
  color: var(--rv-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 2rem;
  position: relative;
  counter-increment: rule-counter;
}

.rules-list .rule-row-list li::before {
  content: counter(rule-counter) '.';
  position: absolute;
  left: 0;
  color: var(--rv-rust-light);
  font-family: var(--rv-font-mono);
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 1.5rem;
  top: 0.15em;
}

.rule-row-list a {
  color: var(--rv-rust-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rule-row-list a:hover {
  color: var(--rv-gold);
}

/* ============================================================
   STAFF – Zuständigkeits-Zeile
   ============================================================ */
.staff-scope {
  font-size: 0.72rem;
  color: var(--rv-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-family: var(--rv-font-mono);
}

/* Staff Avatar – Bild korrekt zentriert und zugeschnitten */
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ============================================================
   FOOTER BOTTOM – Impressum-Link
   ============================================================ */
.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--rv-muted);
  transition: color var(--rv-transition);
}

.footer-legal a:hover {
  color: var(--rv-rust-light);
}

/* ============================================================
   IMPRESSUM SEITE
   ============================================================ */
.impressum-content {
  max-width: 760px;
  margin: 0 auto;
}

.impressum-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.impressum-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rv-border);
}

.impressum-block:last-child {
  border-bottom: none;
}

.impressum-block h2 {
  font-family: var(--rv-font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--rv-rust-light);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.impressum-block p,
.impressum-block address {
  color: var(--rv-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: normal;
}

.impressum-block a {
  color: var(--rv-rust-light);
}

.impressum-block a:hover {
  color: var(--rv-gold);
}

/* ── Hero: alle Bullet-Quellen sperren ───────────────────────── */
.hero-eyebrow,
.hero-eyebrow *,
.hero-content ul,
.hero-content li {
  list-style: none !important;
}

.hero-eyebrow::before,
.hero-eyebrow::after,
.hero-eyebrow::marker,
.hero-content li::before,
.hero-content li::marker {
  content: none !important;
  display: none !important;
}

/* ── Gameserver Info-Karten ──────────────────────────────────── */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 2rem;
}

.server-info-card {
    background: var(--rv-bg);
    border: 1px solid var(--rv-border);
    border-left: 3px solid var(--rv-rust);
    border-radius: var(--rv-radius);
    padding: 20px 24px;
}

.server-info-title {
    font-family: var(--rv-font-display);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rv-text);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rv-border);
}

.server-info-text {
    color: var(--rv-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.server-info-text code {
    font-family: var(--rv-font-mono);
    color: var(--rv-rust-light);
    background: rgba(192,57,43,0.12);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
}
