/* Gesamtes Layout */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #121212; /* Dunkler Hintergrund, wie vorher */
  color: #fff;
}

/* Header */
header {
  padding: 20px;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
h1.logo {
  font-size: 1.8em;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* Hero Sektion */
section.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #444, #222);
}
    
section.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
section.hero p {
  font-size: 1.2em;
}

/* Neuheiten Slider */
#latest-news {
  overflow: hidden;
  padding: 20px 0;
  background-color: #181818;
}
.slider-container {
  width: 100%;
  overflow: hidden;
}
#news-slider {
  display: flex;
  /* Größe dynamisch, Animation durch JS */
}
.news-card {
  flex: 0 0 auto;
  width: 300px;
  margin: 0 10px;
  background-color: #222;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff inset;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-card h4 {
  margin: 10px 0 5px 0;
}
.news-card p {
  font-size: 0.9em;
  margin-bottom: 10px;
}
.news-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.news-card:hover {
  animation: glitter 2s infinite;
  box-shadow: 0 0 20px #ff0, 0 0 40px #ff0 inset, 0 0 10px #0ff, 0 0 20px #0ff inset;
  transform: scale(1.05);
}

@keyframes glitter {
  0%, 100% {
    box-shadow: 0 0 20px #ff0, 0 0 40px #ff0 inset;
    filter: brightness(1.2);
  }
  50% {
    box-shadow: 0 0 40px #f0f, 0 0 80px #f0f inset;
    filter: brightness(1.5);
  }
}

/* Stream Section */
#stream-section {
  padding: 30px 20px;
  background-color: #222;
}
#stream-section h3 {
  text-align: center;
  margin-bottom: 20px;
}
iframe {
  display: block;
  width: 100%;
  max-height: 350px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px #0ff;
}