@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background-color: #0d0d18; /* Grundfarbe */
  background-image:
    url("assets/noise.png"), /* Noise-Overlay */
    radial-gradient(circle at top left, #0a0a14 0%, #0d0d18 60%, #1a0024 100%);
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}




header {
  background: #11001a;
  padding: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.8rem;
  background: linear-gradient(90deg, #ff08f0, #08f0ff);
  -webkit-background-clip: text;
  color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
  background: linear-gradient(-45deg, #ff08f0, #08f0ff, #ff08f0);
  background-size: 300% 300%;
  animation: neonGradient 8s ease infinite;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 10px #ff08f0, 0 0 20px #08f0ff;
  border-radius: 8px;
}

main {
  padding-top: 120px;
}

.hero {
  background: transparent; /* kein schwarzer Balken */
  padding: 4rem 0;         /* optional Platz nach oben/unten */
  text-align: center;
}


.hero h1,
.hero h2 {
  position: relative;
  font-size: 2.5rem;
  text-align: center;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  background: linear-gradient(-45deg, #ff08f0, #08f0ff, #ff08f0);
  background-size: 300% 300%;
  animation: neonGradient 6s ease infinite;
  box-shadow: 0 0 10px #08f0ff, 0 0 20px #ff08f0;
  transition: transform 0.2s ease;
}

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

footer {
  background: #11001a;
  padding: 20px;
  text-align: center;
  color: #888;
  margin-top: 40px;
}

@keyframes neonGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.neon-text {
  font-size: 2.5em;
  text-align: center;
  background: linear-gradient(270deg, #00f0ff, #7d3ff0, #ff00d4, #00f0ff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 8s ease infinite;
  margin: 20px 0;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.news-item {
  margin-bottom: 40px;
}

.news-item h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.news-item .date {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 10px;
}


/* ------------------------------------------ */
/* Responsive Anpassungen für Mobilgeräte     */
/* ------------------------------------------ */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 15px;
  }

  .container {
    padding: 0 10px;
  }

  header nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .menu li {
    display: block;
    width: 100%;
  }

  .menu li a {
    display: block;
    padding: 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn, button, input[type="submit"] {
    width: 100%;
    font-size: 1rem;
  }

  input, textarea, select {
    width: 100% !important;
    font-size: 1rem;
  }

  .news-card img,
  .form-container img {
    max-width: 100%;
    height: auto;
  }

  .footer-content {
    font-size: 14px;
    padding: 10px;
  }
}


/* ------------------------------------------ */
/* Animierte Buttons                          */
/* ------------------------------------------ */
.btn, button, input[type="submit"] {
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  background-color: #6a00ff;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(106, 0, 255, 0.6);
}
