* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 70px;
  border-bottom: 1px solid rgba(255,0,0,.3);
  transition: all .4s;
  z-index: 1000;
}

header.scrolled {
  background: rgba(0,0,0,.9);
  padding: 5px 20px;
}

header img {
  height: 85px;
  transition: transform .3s;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
  transition: all .2s;
}

nav a:hover {
  color: #ff3333;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ff3333;
  transition: .4s;
}

nav a:hover::after {
  width: 100%;
}


/* Hamburger Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.9rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.nav-toggle:hover {
  transform: scale(1.15);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 90%;
  object-fit: cover;
  filter: brightness(.3) saturate(1.3);
  z-index: -1;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(255,0,0,.6);
  animation: fadeInDown 1.5s;
}

.hero p {
  font-size: 1.3rem;
  margin-top: 25px;
  color: #dcdcdc;
  max-width: 700px;
  animation: fadeInUp 2s;
}

.hero button {
  margin-top: 40px;
  padding: 15px 45px;
  background: linear-gradient(90deg,#ff0000,#b80000);
  border: none; color: #fff;
  font-size: 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all .3s ease;
}

.hero button:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255,0,0,.6);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Generic section animation */
section {
  padding: 120px 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}


/* Info */
.info {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.info img {
  width: 420px;
  border-radius: 25px;
  box-shadow: 0 0 50px rgba(255,0,0,.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.info h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #ff3333;
  text-shadow: 0 0 15px rgba(255,0,0,.3);
}

.info p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 15px;
}


/* Join */
.join {
  text-align: center;
  background: linear-gradient(180deg, rgba(255,0,0,0.1) 0%, rgba(0,0,0,1) 100%);
  padding: 120px 40px;
  border-top: 2px solid red;
  border-bottom: 2px solid red;
}

.join h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: red;
  text-shadow: 0 0 20px rgba(255,0,0,.8);
}

.join p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

.join .server-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.join input{
  display: none;
}

.join .card {
  background: rgba(255,255,255,.05);
  border-radius: 15px;
  padding: 30px;
  padding-bottom: 10px;
  min-width: 250px;
  transition: transform .4s, box-shadow .4s;
}

.join .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255,0,0,.6);
}

.join button {
  background: red;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255,0,0,.5);
  transition: all .3s ease;
}

.join button:hover {
  background: #fff;
  color: red;
  box-shadow: 0 0 40px rgba(255,0,0,1);
}

.discord {
  margin-top: 40px;
  font-size: 1.1rem;
}

.discord a {
  color: red;
  text-decoration: none;
  transition: all .3s ease;
  font-weight: bold;
}

.discord a:hover { color: #fff; }

/* Navbar CTA (Bewerbung) */
nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  margin-left: 14px;
  background: linear-gradient(90deg, #ff0000, #b80000);
  border: 1px solid rgba(255, 51, 51, 0.35);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.18);
  letter-spacing: 0.2px;
  color: #fff !important;
}

nav a.nav-cta::after {
  display: none;
}

nav a.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 0, 0, 0.26);
}

nav a.nav-cta i {
  font-size: 1.05rem;
}


/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.gallery div {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255,0,0,.2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.gallery div:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* Team (enhanced) */
.team {
  background: linear-gradient(300deg, rgba(255,0,0,0.1) 0%, rgba(0,0,0,1) 100%);
  border-top: 1px solid rgba(255,0,0,0.08);
  border-bottom: 1px solid rgba(255,0,0,0.08);
}

/* Titel & Beschreibung */
.team h2 {
  color: #ff6666;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(255,0,0,0.2);
}

.team p.lead {
  text-align: center;
  color: #d9d9d9;
  max-width: 900px;
  margin: 0 auto 18px;
}

/* Team-Grid */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

/* Einzelne Teamkarte */
.member {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,0,0,.06);
  position: relative;
  overflow: hidden;
  transform: translateY(0) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  will-change: transform, box-shadow;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(255,0,0,.25);
}


/* Avatar-Bild */
.avatar {
  width: 84px;
  min-width: 84px;
  aspect-ratio: 1 / 1;
  flex: 0 0 84px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #2b0000, #5a0000);
  border: 3px solid rgba(255,0,0,0.12);
  display: inline-block;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Meta-Informationen */
.meta h3 {
  color: #ffdede;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.meta p {
  color: #d5d5d5;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 6px 0;
}

/* Rollen-Badge */
.member .role {
  background: rgba(255,0,0,0.08);
  color: #ffbdbd;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,0,0,0.06);
}

/* Kontakt-Buttons */
.member .contacts {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.member .contacts a {
  background: rgba(255,255,255,0.02);
  color: #fff;
  border: 1px solid rgba(255,0,0,0.04);
  border-radius: 999px;
  padding: 6px 10px;
  text-decoration: none;
  transition: 0.2s;
}

/* Hover-Effekt für Kontakte */
.member .contacts a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(255,0,0,0.08);
}

/* Badge (z. B. Teamrolle oder Rang) */
.member .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(255,0,0,0.12);
}

/* Kleine Zusatztexte oder Tooltips */
.hint {
  font-size: 0.82rem;
  color: #ffdddd;
  opacity: 0.9;
}

/* SOCIAL MEDIA SECTION (Advanced) */
.socials {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(255,0,0,0.08), rgba(0,0,0,1) 80%);
  padding: 140px 30px;
  text-align: center;
  border-top: 1px solid rgba(255,0,0,.2);
  border-bottom: 1px solid rgba(255,0,0,.2);
  perspective: 1000px;
}

.socials .container {
  position: relative;
  z-index: 3;
}

.social-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,0,0,0.06), transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes pulseGlow {
  from { opacity: .3; transform: scale(1); }
  to { opacity: .6; transform: scale(1.1); }
}

.socials h2 {
  color: #ff6666;
  font-size: 2.6rem;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255,0,0,.3);
}

.socials .lead {
  color: #d9d9d9;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.6;
}

/* GRID */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* CARD */
.social {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,0,0,.15);
  border-radius: 24px;
  padding: 40px 30px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .4s ease, box-shadow .4s ease, border .4s ease;
  box-shadow: 0 0 25px rgba(255,0,0,0.05);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

.social i {
  font-size: 2.8rem;
  transition: transform .35s ease, text-shadow .35s ease;
}

.social span {
  font-size: 1rem;
  letter-spacing: .4px;
}

.social:hover {
  transform: translateY(-14px) rotateX(8deg);
  box-shadow: 0 0 35px rgba(255,0,0,.5);
  border: 1px solid rgba(255,0,0,.4);
}

.social:hover i {
  transform: scale(1.3);
  text-shadow: 0 0 25px rgba(255,0,0,.9);
}

.social-grid.enhanced {
  gap: 28px;
}

/* Social Card */
.social-card {
  width: 260px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,0,0,0.08);
  box-shadow: 0 8px 30px rgba(255,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease, border .35s ease;
}

.social-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 50px rgba(255,0,0,0.15);
  border: 1px solid rgba(255,0,0,0.28);
}

.social-card .icon {
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  color: #ff0000;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  width: 74px;
  height: 74px;
  transition: transform .3s ease;
}

.social-card .platform {
  font-weight: 900;
  color: #ff0000;
  letter-spacing: .5px;
  font-size: 20px;
}

.social-card .followers {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
}

.social-card .platform-desc {
  color: #ffffff;
  font-size: .95rem;
  text-align: center;
  line-height: 1.3;
  margin-top: 6px;
  min-height: 44px;
}

.social-card .cta {
  margin-top: 10px;
  background: linear-gradient(90deg,#ff2b2b,#c90000);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.social-card .cta.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}


@media(max-width:720px){
  .social-card { width: 100%; max-width: 420px; }
}


/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  border-top: 1px solid rgba(255,0,0,.3);
}

footer a {
  color: #ff3333;
  text-decoration: none;
}

footer a:hover { color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  animation: lightboxIn 0.3s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255,0,0,0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,0,0,0.1);
  border: 1px solid rgba(255,0,0,0.2);
  color: #fff;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,0,0,0.2);
  transform: scale(1.1);
}

.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .lightbox-close {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* Responsive */
@media(max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }

  header img {
    height: 70px;
    margin-bottom: 5px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  nav a {
    margin: 6px 10px;
    font-size: 0.95rem;
  }

  .hero {
    height: 90vh;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .hero button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  section {
    padding: 70px 20px;
  }

  .info {
    flex-direction: column;
    text-align: center;
  }

  .info img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 20px;
  }

  .join .server-info {
    flex-direction: column;
    gap: 20px;
  }

  .join .card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .gallery img {
    width: 200px;
  }

  .team .members {
    grid-template-columns: 1fr;
  }

  .member {
    flex-direction: column;
    text-align: left;
    padding: 20px;
  }

  .avatar {
    width: 85px;
    min-width: 70px;
  }

  .social-grid.enhanced {
    grid-template-columns: 1fr;
  }

  .social-card {
    width: 100%;
    max-width: 360px;
  }

  footer {
    padding: 40px 15px;
    font-size: 0.9rem;
  }
}

@media(max-width: 480px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .join h2 {
    font-size: 1.8rem;
  }

  .join p, .info p {
    font-size: 1rem;
  }

  .social-card .platform {
    font-size: 1.1rem;
  }

  .social-card .icon {
    font-size: 2.4rem;
    width: 60px;
    height: 60px;
  }
}

/* --- Mobile Styles --- */
@media (max-width: 900px) {
  header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 25px !important;
    position: relative !important;
    z-index: 100 !important;
  }
  /* --- Hamburger sichtbar --- */
  .nav-toggle {
    display: block !important;
    position: relative !important;
    z-index: 120 !important;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.15);
  }

  /* --- Desktop-Navi ausblenden --- */
  header nav {
    display: none !important;
    position: static !important;
  }

  /* --- Slide-in Menü von rechts --- */
  nav.show {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 85% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: linear-gradient(145deg, rgba(25,25,25,0.95), rgba(15,15,15,0.98)) !important;
    backdrop-filter: blur(15px) !important;
    padding: 120px 25px 40px !important;
    z-index: 110 !important;
    border-left: 1px solid rgba(255,0,0,0.15);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* Menülinks */
  nav.show a {
    width: 100% !important;
    padding: 16px 24px !important;
    margin: 8px 0 !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,0,0,0.1);
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
  }

  /* Link Hover Effects */
  nav.show a:hover {
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.3);
    transform: translateX(8px);
    color: #ff3333 !important;
  }

  /* Active Link Style */
  nav.show a.active {
    background: linear-gradient(90deg, rgba(255,0,0,0.15), transparent);
    border-color: rgba(255,0,0,0.4);
    color: #ff4444 !important;
  }

  /* Link Decoration */
  nav.show a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #ff3333;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }

  nav.show a:hover::before {
    transform: scaleY(1);
  }

  /* Hamburger Button */
  .nav-toggle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: rgba(255,0,0,0.1) !important;
    border: 1px solid rgba(255,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 120 !important;
  }

  .nav-toggle:hover {
    background: rgba(255,0,0,0.15) !important;
    transform: scale(1.05);
  }

  .nav-toggle i {
    color: #ff3333;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
  }

  /* CTA im Mobile-Menü */
  nav.show a.nav-cta {
    background: linear-gradient(90deg, rgba(255,0,0,0.85), rgba(184,0,0,0.85)) !important;
    border-color: rgba(255, 51, 51, 0.55) !important;
    color: #fff !important;
    justify-content: center !important;
    font-weight: 700 !important;
  }

  nav.show a.nav-cta::before { display: none; }

  nav.show a.nav-cta:hover {
    transform: none !important;
    background: linear-gradient(90deg, rgba(255,0,0,0.95), rgba(184,0,0,0.95)) !important;
    color: #fff !important;
  }


  /* Menu Overlay */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1;
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Slide Animations */
  nav.slide-in {
    animation: slideIn 0.4s ease forwards;
  }

  nav.slide-out {
    animation: slideOut 0.4s ease forwards;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
}

/* Füge diese Animationen nach den bestehenden @keyframes hinzu */
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeOutOverlay {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Ändere die nav.show Regel */
nav.show {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 75% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.97), rgba(40, 40, 40, 0.97)) !important;
  backdrop-filter: blur(12px) !important;
  padding: 100px 30px 30px 30px !important;
  gap: 28px !important;
  z-index: 110 !important;
  border-left: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

/* Füge diese neuen Klassen hinzu */
nav.slide-in {
  animation: slideInRight 0.35s forwards ease;
}

nav.slide-out {
  animation: slideOutRight 0.35s forwards ease;
}

body.overlay-fade-out::before {
  animation: fadeOutOverlay 0.3s ease forwards;
}

@media (max-width: 900px) {
  /* Header fixieren */
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(10,10,10,.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2) !important;
  }

  /* Scrolled Zustand */
  header.scrolled {
    background: rgba(0,0,0,.98) !important;
    padding: 10px 25px !important;
  }

  /* Anpassung der Logo-Größe */
  header.scrolled img {
    height: 55px !important;
  }
}

/* =========================
   BETA PAGE
========================= */

.beta-hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 80px 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,0,0,.12), transparent 35%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.beta-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.35), rgba(25,0,0,.18)),
    radial-gradient(circle at 20% 20%, rgba(255,0,0,.10), transparent 25%);
  pointer-events: none;
}

.beta-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,0,0,.08);
  border: 1px solid rgba(255,0,0,.18);
  color: #ffd0d0;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.beta-copy h1 {
  font-size: 5.3rem;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 22px rgba(255,0,0,.26);
}

.beta-copy h1 span {
  color: #ff3333;
}

.beta-copy p {
  font-size: 1.2rem;
  color: #d9d9d9;
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.beta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.beta-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,0,0,.08);
  border-radius: 999px;
  padding: 12px 18px;
  color: #f0f0f0;
}

.beta-point i {
  color: #ff3333;
}

.beta-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,0,0,.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 0 28px rgba(255,0,0,.08);
  backdrop-filter: blur(8px);
}

.beta-panel h2 {
  color: #ff6666;
  font-size: 2rem;
  margin-bottom: 10px;
}

.beta-panel p {
  color: #d2d2d2;
  line-height: 1.6;
  margin-bottom: 18px;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.beta-form input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,0,0,.10);
  color: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  outline: none;
  transition: .25s ease;
}

.beta-form input:focus {
  border-color: rgba(255,0,0,.35);
  box-shadow: 0 0 0 4px rgba(255,0,0,.08);
}

.beta-form button,
.beta-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff0000, #b80000);
  border: none;
  color: #fff;
  padding: 15px 24px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255,0,0,.35);
  transition: all .3s ease;
}

.beta-form button:hover,
.beta-copy-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(255,0,0,.55);
}

.beta-panel-note {
  margin-top: 14px;
  font-size: .92rem;
  color: #aaa;
  line-height: 1.5;
}

.beta-info {
  padding-top: 80px;
  padding-bottom: 100px;
}

.beta-info h2 {
  text-align: center;
  color: #ff4d4d;
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.beta-info-lead {
  text-align: center;
  color: #d0d0d0;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
}

.beta-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.beta-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255,0,0,.08);
  box-shadow: 0 10px 30px rgba(255,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease;
}

.beta-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(255,0,0,.16);
}

.beta-info-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff2222;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.beta-info-card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.beta-info-card p {
  color: #cfcfcf;
  line-height: 1.65;
}

.beta-result-section {
  padding-top: 0;
}

.beta-result-card {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid rgba(255,0,0,.10);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(255,0,0,.08);
}

.beta-result-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.beta-result-label {
  color: #ff6666;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.beta-result-top h2 {
  font-size: 2.1rem;
  color: #fff;
}

.beta-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}

.beta-status-pill.ok {
  background: rgba(0,255,100,.10);
  color: #8bffb0;
  border: 1px solid rgba(0,255,100,.14);
}

.beta-status-pill.warn {
  background: rgba(255,120,120,.10);
  color: #ffb7b7;
  border: 1px solid rgba(255,120,120,.14);
}

.beta-code-box {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,0,0,.10);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  margin-bottom: 22px;
}

.beta-code-box #beta-code {
  font-size: 3.4rem;
  font-weight: 800;
  color: #7dffab;
  letter-spacing: 6px;
  text-shadow: 0 0 14px rgba(0,255,100,.15);
}

.beta-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.beta-meta {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,0,0,.06);
  border-radius: 18px;
  padding: 18px;
}

.beta-meta span {
  display: block;
  color: #ff6d6d;
  font-size: .88rem;
  margin-bottom: 8px;
}

.beta-meta strong {
  color: #fff;
  font-size: 1.1rem;
}

.beta-actions {
  margin-top: 20px;
}

.beta-copy-status {
  margin-top: 14px;
  color: #bdbdbd;
  min-height: 22px;
}

.beta-error-text {
  color: #ffd0d0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

@media (max-width: 1000px) {
  .beta-hero {
    padding: 150px 24px 70px;
  }

  .beta-hero-inner {
    grid-template-columns: 1fr;
  }

  .beta-copy h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .beta-copy h1 {
    font-size: 3rem;
  }

  .beta-copy p {
    font-size: 1rem;
  }

  .beta-meta-grid {
    grid-template-columns: 1fr;
  }

  .beta-result-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .beta-code-box #beta-code {
    font-size: 2.3rem;
    letter-spacing: 3px;
  }
}

#beta-result {
  scroll-margin-top: 120px;
}

/* =========================
   BETA MODAL
========================= */

.beta-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.beta-modal-overlay.active {
  display: flex;
}

.beta-modal-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, rgba(18,18,22,.96), rgba(10,10,12,.98));
  border: 1px solid rgba(255,0,0,.14);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 30px rgba(255,0,0,.10);
  animation: betaModalIn .25s ease;
}

@keyframes betaModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.beta-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #fff;
  cursor: pointer;
  transition: .2s ease;
}

.beta-modal-close:hover {
  background: rgba(255,0,0,.18);
}

.beta-modal-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.beta-modal-status.success {
  background: rgba(0,255,100,.10);
  color: #8bffb0;
  border: 1px solid rgba(0,255,100,.14);
}

.beta-modal-status.warn {
  background: rgba(255,120,120,.10);
  color: #ffb7b7;
  border: 1px solid rgba(255,120,120,.14);
}

.beta-modal-card h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #fff;
}

.beta-modal-text {
  color: #d2d2d2;
  line-height: 1.6;
  margin-bottom: 22px;
}

.beta-modal-code-box {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,0,0,.10);
  border-radius: 22px;
  padding: 26px;
  text-align: center;
  margin-bottom: 20px;
}

.beta-modal-code-label {
  color: #ff7a7a;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.beta-modal-code-box #beta-code {
  font-size: 3.4rem;
  font-weight: 800;
  color: #7dffab;
  letter-spacing: 6px;
  text-shadow: 0 0 14px rgba(0,255,100,.15);
}

.beta-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.beta-modal-meta-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,0,0,.06);
  border-radius: 18px;
  padding: 18px;
}

.beta-modal-meta-card span {
  display: block;
  color: #ff6d6d;
  font-size: .88rem;
  margin-bottom: 8px;
}

.beta-modal-meta-card strong {
  color: #fff;
  font-size: 1.08rem;
  word-break: break-word;
}

.beta-modal-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.beta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  padding: 15px 24px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: .25s ease;
}

.beta-secondary-btn:hover {
  background: rgba(255,255,255,.09);
}

@media (max-width: 768px) {
  .beta-modal-card {
    padding: 22px;
    border-radius: 22px;
  }

  .beta-modal-card h2 {
    font-size: 1.7rem;
  }

  .beta-modal-code-box #beta-code {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .beta-modal-meta {
    grid-template-columns: 1fr;
  }
}

/* ===== HEADER BETA BADGE V2 ===== */

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.beta-badge-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 14px 8px 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;

  background:
    linear-gradient(135deg, rgba(255, 20, 20, 0.14), rgba(120, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 0, 0, 0.18);
  box-shadow:
    0 10px 24px rgba(255, 0, 0, 0.10),
    0 10px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    min-height .22s ease,
    padding .22s ease;
}

.beta-badge-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3333, transparent 72%);
  opacity: 0.9;
}

.beta-badge-header:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.28);
  box-shadow:
    0 14px 28px rgba(255, 0, 0, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.beta-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 34, 34, 0.92), rgba(180, 0, 0, 0.92));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
}

.beta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.65);
  flex-shrink: 0;
  animation: betaBadgePulse 1.8s infinite;
}

.beta-badge-live-text {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.beta-badge-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.beta-badge-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-sub {
  color: #ffb8b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: transform .22s ease, background .22s ease;
}

.beta-badge-header:hover .beta-badge-arrow {
  transform: translateX(2px);
  background: rgba(255,255,255,0.08);
}

@keyframes betaBadgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.82;
  }
}

/* scrolled kompakter */
header.scrolled .beta-badge-header {
  min-height: 42px;
  padding: 5px 10px 5px 8px;
  gap: 8px;
}

header.scrolled .beta-badge-live {
  padding: 6px 9px;
}

header.scrolled .beta-badge-live-text {
  font-size: 0.66rem;
}

header.scrolled .beta-badge-title {
  font-size: 0.82rem;
}

header.scrolled .beta-badge-sub {
  display: none;
}

header.scrolled .beta-badge-arrow {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 900px) {
  .brand-wrap {
    gap: 10px;
    min-width: 0;
  }

  .beta-badge-header {
    min-height: 42px;
    padding: 5px 10px 5px 8px;
    gap: 8px;
    max-width: 220px;
  }

  .beta-badge-live {
    padding: 6px 8px;
  }

  .beta-badge-live-text {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .beta-badge-title {
    font-size: 0.8rem;
  }

  .beta-badge-sub {
    display: none;
  }

  .beta-badge-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .beta-badge-header {
    max-width: 160px;
  }

  .beta-badge-copy {
    display: none;
  }

  .beta-badge-header {
    padding-right: 8px;
  }
}