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

body, html {
  height: 100%;
  background-color: #0b0c10;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #cbd5e1;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
  overflow-y: visible !important;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px; /* Höhe für 140x140 Logo */
  background: linear-gradient(90deg, #0b0c10, #1a1f36);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 10px #0099ff,
    0 0 20px #00bfff,
    0 0 30px #00ccff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 4000;
}

/* Logo Link */
#logo-link {
  height: 140px;
  display: flex;
  align-items: center;
}

#logo-link img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* Navigation */
nav {
  position: fixed;
  top: 160px; /* unter Header */
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0b0c10, #1a1f36);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 8px #0099ff,
    0 0 15px #00bfff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  overflow: visible; /* wichtig */
  z-index: 4500;
  color: #00bfff;
  font-weight: 600;
  font-size: 1rem;
}

/* Menü Basis */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  position: relative;
}

.nav-menu > li {
  position: relative;
}

/* Links Styling */
.nav-menu a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow:
    0 0 5px #00bfff,
    0 0 10px #0099ff;
  transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: block;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #fff;
  background: linear-gradient(90deg, #00bfff, #fff);
  box-shadow:
    0 0 10px #00bfff,
    0 0 20px #00ccff,
    0 0 30px #0099ff;
  outline: none;
}

/* Dropdown Styling */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #111624, #0b0c10);
  border: 2px solid #0099ff;
  border-radius: 12px;
  box-shadow:
    0 0 8px #0099ff,
    0 0 15px #00bfff;
  display: none;
  flex-direction: column;
  min-width: 150px;
  padding: 0.5rem 0;
  z-index: 5000;
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  padding: 8px 16px;
  font-weight: 500;
  box-shadow: none;
  border-radius: 0;
}

.dropdown li a:hover,
.dropdown li a:focus {
  background: linear-gradient(90deg, #00bfff, #fff);
  color: #000;
  box-shadow: none;
}

.nav-menu > li:hover > .dropdown,
.nav-menu > li:focus-within > .dropdown {
  display: flex;
}

/* Main Content */
main {
  position: relative;
  z-index: 1;
  margin-top: 210px; /* Header + Nav Höhe */
  padding: 1.5rem;
  min-height: calc(100vh - 210px);
  border-radius: 12px;
  background: linear-gradient(135deg, #111624, #0b0c10);
  box-shadow:
    inset 0 0 15px #003366,
    0 0 30px #0055cc;
  overflow: visible !important;
}

/* Scrollbar für Nav */
nav::-webkit-scrollbar {
  height: 6px;
}

nav::-webkit-scrollbar-track {
  background: #0b0c10;
  border-radius: 3px;
}

nav::-webkit-scrollbar-thumb {
  background: #0099ff;
  border-radius: 3px;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  header {
    height: 110px;
    padding: 0 1rem;
    justify-content: center;
  }

  #logo-link {
    height: 100px;
  }

  #logo-link img {
    width: 100px;
    height: 100px;
  }

  nav {
    top: 110px;
    height: auto;
    font-size: 0.9rem;
    justify-content: flex-start;
    padding: 0 1rem;
  }

  main {
    margin-top: 150px;
    padding: 1rem;
  }
}

#iframe-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

#iframe-section iframe {
  width: 100vw;
  height: 600px;
  border-radius: 12px;
  border: 2px solid #0099ff;
  box-shadow:
    0 0 10px #00bfff,
    0 0 20px #0099ff;
  display: block;
}

#three-columns-section {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1700px;
  margin: 2rem auto;
  box-sizing: border-box;
}

#three-columns-section .column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

#three-columns-section .column a img {
  width: 540px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 8px;
}

#three-columns-section .column {
  width: 540px;
  height: 640px;
  background: linear-gradient(135deg, #111624, #0b0c10);
  border: 2px solid #0099ff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow:
    0 0 10px #0099ff,
    0 0 20px #00bfff;
  color: #cbd5e1;
  overflow: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #three-columns-section {
    flex-direction: column;
    align-items: center;
  }
  #three-columns-section .column {
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
  }
}

#webplayer-button {
  background-color: #007BFF;
  color: #fff;
  border: 2px solid #007BFF;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 10px transparent;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  user-select: none;
}

#webplayer-button:active {
  box-shadow:
    0 0 15px #00bfff,
    0 0 30px #00ccff;
  background-color: #0056b3;
  border-color: #00bfff;
}

.neon-divider {
  border: none;
  height: 2px;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  background: linear-gradient(90deg, #00bfff, #ffffff, #00bfff);
  box-shadow:
    0 0 8px #00bfff,
    0 0 15px #0099ff;
  border-radius: 12px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

#localplayer-button {
  background-color: #007BFF;
  color: #fff;
  border: 2px solid #007BFF;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 10px transparent;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  user-select: none;
}

#localplayer-button:active {
  box-shadow:
    0 0 15px #00bfff,
    0 0 30px #00ccff;
  background-color: #0056b3;
  border-color: #00bfff;
}

/* Umrandeter Content-Container mit Neon-Stil */
.content-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, #0b0c10, #111624);
  border: 3px solid #0099ff;
  border-radius: 15px;
  box-shadow:
    0 0 20px #0099ff,
    inset 0 0 15px #003366;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Überschriften mit Neon-Gradient */
.content-wrapper h1,
.content-wrapper h2 {
  background: linear-gradient(90deg, #00bfff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px #00bfff,
    0 0 15px #0099ff;
  margin-bottom: 1rem;
}

.content-wrapper h1 {
  font-size: 2rem;
}

.content-wrapper h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
  .content-wrapper {
    padding: 1rem;
    margin: 1rem;
  }
}

/* --- Sendeplan Section --- */
.info-section {
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.3);
  color: cyan;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.info-section h2 {
  font-size: 28px;
  font-weight: bold;
  text-shadow:
    0 0 5px cyan,
    0 0 10px cyan,
    0 0 20px cyan,
    0 0 40px cyan;
  margin-bottom: 20px;
}

.info-section > div {
  width: 100%;
  max-width: 100%;   /* Wichtig für Zentrierung */
  margin: 0 auto;      /* Horizontales Zentrieren */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #00bfff;
  border-radius: 16px;
  box-shadow: 0 0 15px #00bfff;
  box-sizing: border-box;
}

.info-section iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 0 10px #00bfff;
  display: block;
}

/* --- Social Section --- */
.social-section {
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.social-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: cyan;
  text-shadow:
    0 0 5px cyan,
    0 0 10px cyan,
    0 0 20px cyan;
  margin-bottom: 30px;
}

.social-section > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  border: 2px solid #00bfff;
  border-radius: 16px;
  box-shadow: 0 0 15px #00bfff;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
}

.social-section a {
  width: 200px;
  height: 100px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px #00bfff;
  transition: transform 0.3s ease;
}

.social-section a:hover {
  transform: scale(1.05);
}

.social-section a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cookie-popup-overlay {
  display: none; /* standardmäßig versteckt */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.cookie-popup-overlay.active {
  display: flex; /* sichtbar wenn aktiv */
}
.cookie-popup {
  background-color: #111;
  color: cyan;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px #00bfff;
  max-width: 400px;
  text-align: center;
}
.cookie-button {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  background-color: #00bfff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
}
.cookie-button:hover {
  background-color: #0099ff;
}
