/* CSS Reset & Variables */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors based on logo */
  --primary: #00e5ff;
  --primary-dark: #00b8cc;
  --secondary: #ff00aa;
  --secondary-dark: #cc0088;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));

  /* Neutral colors */
  --black: #000000;
  --dark: #0a0a0a;
  --dark-gray: #121212;
  --medium-gray: #1e1e1e;
  --light-gray: #333333;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-light: #cccccc;

  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Orbitron", monospace;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.4);
  --glow: 0 0 20px rgba(0, 229, 255, 0.3);
  --glow-secondary: 0 0 20px rgba(255, 0, 170, 0.3);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  min-height: 48px; /* Touch-friendly */
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--black);
}

.btn-discord {
  background: #5865f2;
  color: var(--white);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
  height: 60px;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-right: auto;
}

.nav-logo {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle:hover span {
  background: var(--primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-menu.active {
  right: 0;
}

.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-menu-logo {
  height: 40px;
  width: auto;
}

.nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.nav-close:hover {
  background: rgba(255, 0, 170, 0.1);
  color: var(--secondary);
}

.nav-list {
  list-style: none;
  padding: var(--space-lg);
  flex: 1;
}

.nav-list li {
  margin-bottom: var(--space-sm);
}

.nav-link {
  display: block;
  padding: var(--space-sm) 0;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-social {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: var(--black);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop Navigation Styles */
@media (min-width: 1024px) {
  .nav-container {
    height: 60px;
    padding: 0 var(--space-xl);
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    flex-direction: row;
    align-items: center;
    border: none;
    right: auto;
    display: flex;
    margin-left: auto;
  }

  .nav-menu-header {
    display: none;
  }

  .nav-list {
    display: none; /* Verstecke die Navigation auf Desktop */
  }

  .nav-social {
    display: none;
  }

  .nav-overlay {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(60px + var(--space-xl)) var(--space-sm) var(--space-xl);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 229, 255, 0.1) 0%,
    rgba(255, 0, 170, 0.05) 50%,
    transparent 100%
  );
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 0, 170, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo-container {
  margin-bottom: var(--space-xl);
}

.hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(var(--glow));
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* About Section */
.about {
  padding: var(--space-3xl) 0;
  background: var(--dark-gray);
}

.about-content {
  display: grid;
  gap: var(--space-3xl);
  grid-template-columns: 1fr;
}

.timeline-section {
  order: 1;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(7) {
  animation-delay: 0.7s;
}
.timeline-item:nth-child(8) {
  animation-delay: 0.8s;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + var(--space-xl));
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + var(--space-xl));
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--dark-gray);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  z-index: 2;
}

.timeline-year {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-gray);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  z-index: 3;
}

.timeline-content {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--medium-gray);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  top: 25px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--medium-gray);
}

.timeline-content:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.2);
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.timeline-content p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.stats-showcase {
  order: 2;
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

.stat-card {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}
.stat-card:nth-child(5) {
  animation-delay: 0.5s;
}
.stat-card:nth-child(6) {
  animation-delay: 0.6s;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.25);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.stat-card:nth-child(even) .stat-icon {
  animation-delay: 1s;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Features Section */
.features {
  padding: var(--space-3xl) 0;
  background: var(--dark);
}

.features-grid {
  display: grid;
  gap: var(--space-lg);
}

.feature-card {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Community Section */
.community {
  padding: var(--space-3xl) 0;
  background: var(--dark-gray);
}

.community-content {
  display: grid;
  gap: var(--space-xl);
}

.community-text {
  text-align: center;
}

.community-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.community-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.community-card {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.card-content {
  flex: 1;
  margin-bottom: var(--space-lg);
}

.card-footer {
  margin-top: auto;
  text-align: center;
}

.community-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.instagram-icon {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-icon {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
}

.forum-icon {
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
}

.tiktok-icon {
  background: rgba(255, 0, 170, 0.1);
  color: var(--secondary);
}

.card-header h3 {
  color: var(--primary);
  margin: 0;
  text-align: left;
  flex: 1;
}

.community-card p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  text-align: left;
  width: 100%;
}

.community-card .btn {
  align-self: flex-start;
}

/* Join Section */
.join {
  padding: var(--space-3xl) 0;
  background: var(--dark);
}

.join-content {
  display: grid;
  gap: var(--space-3xl);
}

.join-steps {
  display: grid;
  gap: var(--space-lg);
}

.step-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.step-content p {
  color: var(--text-muted);
  margin: 0;
}

.join-cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.cta-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.cta-card p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.cta-actions {
  display: grid;
  gap: var(--space-sm);
}

/* Whitelist Info Box */
.whitelist-info {
  margin-bottom: var(--space-3xl);
}

.info-card {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.info-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.info-header h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.info-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.info-item {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border-top: 3px solid transparent;
}

.info-item.success {
  border-top-color: var(--success);
}

.info-item.primary {
  border-top-color: var(--primary);
}

.info-item.warning {
  border-top-color: var(--warning);
}

.info-status {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.info-item.success .info-status {
  color: var(--success);
}

.info-item.primary .info-status {
  color: var(--primary);
}

.info-item.warning .info-status {
  color: var(--warning);
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto var(--space-sm);
}

.footer-brand h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  display: grid;
  gap: var(--space-lg);
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  color: var(--primary);
  font-weight: 500;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .stats-grid-large {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
  .hero-logo {
    height: 150px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .timeline-section {
    order: 1;
    margin-bottom: var(--space-3xl);
  }

  .stats-showcase {
    order: 2;
  }

  .timeline-container {
    max-width: 1000px;
  }

  .stats-grid-large {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
  }

  .community-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .join-content {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: var(--space-3xl);
  }

  .footer-content {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-logo {
    margin: 0 0 var(--space-sm) 0;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-details {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-card {
    padding: var(--space-2xl);
  }

  .info-header h3 {
    font-size: 1.8rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .hero-title {
    font-size: 6rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    animation: none;
  }

  .hero-pattern {
    animation: none;
  }
}


/* Regelwerk-spezifische Styles - Diese zu style.css hinzufügen */

/* Regelwerk Header */
.regelwerk-header {
  padding: calc(60px + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.regelwerk-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 229, 255, 0.05) 0%,
    rgba(255, 0, 170, 0.02) 50%,
    transparent 100%
  );
}

.regelwerk-hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.regelwerk-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
}

.regelwerk-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.regelwerk-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.regelwerk-info {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: inline-block;
}

.regelwerk-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Regelwerk Content */
.regelwerk-content {
  padding: var(--space-3xl) 0;
  background: var(--dark);
}

/* Table of Contents */
.regelwerk-toc {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-3xl);
  position: sticky;
  top: 80px;
  z-index: 10;
}

.regelwerk-toc h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}

.toc-list li a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 500;
}

.toc-list li a:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}

/* Regelwerk Sections */
.regelwerk-sections {
  display: grid;
  gap: var(--space-3xl);
}

.regel-section {
  background: var(--medium-gray);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.regel-section:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.regel-header {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 0, 170, 0.05));
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.regel-header h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.regel-content {
  padding: var(--space-lg);
}

.regel-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border-left: 3px solid rgba(0, 229, 255, 0.3);
  transition: var(--transition);
}

.regel-item:last-child {
  margin-bottom: 0;
}

.regel-item:hover {
  background: rgba(0, 0, 0, 0.3);
  border-left-color: var(--primary);
}

.regel-item.important {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, 0.05);
}

.regel-item.important:hover {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.regel-number {
  flex-shrink: 0;
  width: 50px;
  height: 30px;
  background: var(--primary);
  color: var(--black);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-display);
}

.regel-item.important .regel-number {
  background: var(--warning);
}

.regel-text {
  flex: 1;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.regel-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* Back to Top */
.back-to-top {
  text-align: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Active Navigation Link */
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Design */
@media (min-width: 768px) {
  .regelwerk-title {
    font-size: 4rem;
  }

  .toc-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .regel-item {
    padding: var(--space-lg);
  }

  .regel-number {
    width: 60px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .regelwerk-title {
    font-size: 5rem;
  }

  .toc-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .regelwerk-toc {
    position: static;
  }

  .regel-content {
    padding: var(--space-2xl);
  }
}

/* Smooth Scrolling for Anchor Links */
html {
  scroll-padding-top: 100px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .regelwerk-toc {
    display: none;
  }

  .regelwerk-content {
    padding: 0;
  }

  .regel-section {
    break-inside: avoid;
    margin-bottom: 2rem;
  }
}

/* Anpassung für das Inhaltsverzeichnis auf Mobilgeräten */
@media (max-width: 1023px) {
  /* Greift für Tablets und Mobilgeräte */
  .regelwerk-toc {
    position: static; /* Entfernt die sticky Positionierung */
    top: auto; /* Setzt top zurück */
    margin-bottom: var(--space-2xl); /* Fügt etwas Abstand nach unten hinzu */
    width: 100%; /* Nimmt die volle Breite ein */
  }

  .toc-list {
    grid-template-columns: 1fr; /* Stellt sicher, dass die Liste einspaltig ist */
  }
}

/* Stelle sicher, dass der nav-brand Link korrekt gestylt ist */
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none; /* Entfernt Unterstreichung vom Link */
  margin-right: auto; /* Behält die Positionierung bei */
}


/* Smooth Scrolling for Anchor Links */
html {
  scroll-padding-top: 100px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .regelwerk-toc {
    display: none;
  }

  .regelwerk-content {
    padding: 0;
  }

  .regel-section {
    break-inside: avoid;
    margin-bottom: 2rem;
  }
}

/*
 * =============================================
 * Styles exklusiv für die Gesetzbuch-Seite
 * =============================================
 */

/* Entfernt den Hintergrund der Header-Box für einen saubereren Look */
.gesetzbuch-content .regel-section .regel-header {
  background: none;
  padding: 0;
  border-bottom: none;
}

/* Haupt-Abschnittstitel (I, II, ...) - Komplett neues Design */
.main-section-title {
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
  margin: var(--space-2xl) 0 var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 0, 170, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.main-section-title {
  position: relative;
  z-index: 1;
}

/* Titel für Straftat-Kategorien (1. Gewalt..., 2. Besitz...) - Verbessertes Design */
.straftat-kategorie-title {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.3rem;
  margin: var(--space-xl) 0 var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
}

/* Anpassungen für die einzelnen Gesetzes-Items */
.gesetz-item {
  align-items: flex-start; /* WICHTIG: Verhindert vertikales Zentrieren */
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.gesetz-item .regel-number {
  margin-top: 5px; /* Bessere Ausrichtung mit der ersten Textzeile */
  flex-shrink: 0;
}

.gesetz-item .regel-text {
  display: flex;
  flex-direction: column; /* Stellt sicher, dass alles untereinander angeordnet wird */
  align-items: flex-start;
  width: 100%;
}

/* Titel des Gesetzes (z.B. "Geltungsbereich") */
.gesetz-item .regel-text strong {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  display: block;
  line-height: 1.4;
}

/* Unterpunkte ((1), (2), ...) */
.sub-paragraph {
  display: block;
  width: 100%;
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Anzeige der Strafen */
.strafe {
  display: block;
  width: 100%;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(255, 0, 0, 0.1);
  border-left: 3px solid var(--error);
  color: var(--text-light);
  font-size: 0.95em;
  border-radius: var(--radius-md);
  line-height: 1.5;
}

/* Abstand zwischen mehreren Strafen im selben Paragraphen */
.strafe + .strafe {
  margin-top: var(--space-xs);
}


@media (max-width: 767px) {
  /* Regelwerk Header Mobile */
  .regelwerk-header {
    padding: calc(60px + var(--space-lg)) 0 var(--space-lg);
  }

  .regelwerk-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .regelwerk-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .regelwerk-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
  }

  /* Content Spacing Mobile */
  .regelwerk-content {
    padding: var(--space-xl) 0;
  }

  /* Table of Contents Mobile */
  .regelwerk-toc {
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
    position: static;
    top: auto;
  }

  .regelwerk-toc h2 {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
  }

  .toc-list {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .toc-list li a {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
  }

  /* Regel Sections Mobile */
  .regelwerk-sections {
    gap: var(--space-xl);
  }

  .regel-section {
    margin-bottom: var(--space-lg);
  }

  .regel-header {
    padding: var(--space-md);
  }

  .regel-header h2 {
    font-size: 1.2rem;
  }

  .regel-content {
    padding: var(--space-md);
  }

  /* Regel Items Mobile */
  .regel-item {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
  }

  .regel-number {
    width: auto;
    height: auto;
    padding: var(--space-xs) var(--space-sm);
    align-self: flex-start;
    font-size: 0.8rem;
  }

  .regel-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Gesetzbuch Mobile Anpassungen */
  .main-section-title {
    font-size: 1.4rem;
    padding: var(--space-md);
    margin: var(--space-lg) 0 var(--space-md) 0;
  }

  .straftat-kategorie-title {
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0 var(--space-sm) 0;
  }

  /* Gesetz Items Mobile */
  .gesetz-item {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm);
  }

  .gesetz-item .regel-number {
    align-self: flex-start;
    margin-top: 0;
  }

  .gesetz-item .regel-text strong {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .sub-paragraph {
    padding-left: var(--space-sm);
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
  }

  .strafe {
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-sm);
    margin-top: var(--space-xs);
  }

  /* Back to Top Mobile */
  .back-to-top {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
  }

  /* Navigation Mobile Fixes */
  .nav-menu {
    max-width: 100%;
  }

  .nav-list {
    padding: var(--space-md);
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
  .regelwerk-title {
    font-size: 2rem;
  }

  .main-section-title {
    font-size: 1.2rem;
    padding: var(--space-sm);
  }

  .straftat-kategorie-title {
    font-size: 1rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .regel-item,
  .gesetz-item {
    padding: var(--space-xs);
  }

  .regel-text,
  .gesetz-item .regel-text {
    font-size: 0.85rem;
  }

  .sub-paragraph {
    font-size: 0.8rem;
  }

  .strafe {
    font-size: 0.8rem;
  }

  .container {
    padding: 0 var(--space-xs);
  }
}

/* Landscape Mobile Anpassungen */
@media (max-width: 767px) and (orientation: landscape) {
  .regelwerk-header {
    padding: calc(60px + var(--space-md)) 0 var(--space-md);
  }

  .regelwerk-title {
    font-size: 2.2rem;
  }

  .regelwerk-content {
    padding: var(--space-lg) 0;
  }
}