/* ===========================
   Box3: Vorschau Sendeplan (Neon-Glas-Look)
   =========================== */
#box3.neo-box {
  max-width: 700px;
  margin: 32px auto;
  background: linear-gradient(135deg, rgb(47 47 47 / 65%) 60%, rgba(160, 59, 68, 0.18) 100%);
  border-radius: var(--box-radius);
  box-shadow:
    0 4px 24px 0 rgba(20,77,59,0.18),
    0 0 0 1.5px rgba(200,214,229,0.12) inset,
    0 1.5px 24px 0 rgba(160,59,68,0.10) inset;
  padding: 24px 20px;
  color: var(--foreground);
  font-family: var(--font-family);
  text-align: center;
  border: none; /* Border entfällt, da Neon-Rahmen */
  overflow: hidden;
  user-select: none;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px) saturate(1.2);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

#box3.neo-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(20,77,59,0.3),
    0 0 0 2px rgba(200,214,229,0.2) inset,
    0 3px 36px 0 rgba(160,59,68,0.15) inset;
}

/* Neon-Rahmen: animierte Linien oben, unten, links, rechts */
#box3.neo-box::before,
#box3.neo-box::after,
#box3.neo-box > .neon-left,
#box3.neo-box > .neon-right {
  position: absolute;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--primary));
  border-radius: 2px;
  filter: blur(1.5px) brightness(1.3);
  opacity: 0.85;
  animation: neon-move 3s linear infinite alternate;
  content: "";
  z-index: 2;
  pointer-events: none;
}

/* Oben */
#box3.neo-box::before {
  top: 0; left: 10%; right: 10%; height: 4px;
  animation-name: neon-move-horizontal;
}

/* Unten */
#box3.neo-box::after {
  bottom: 0; left: 10%; right: 10%; height: 4px;
  animation-name: neon-move-horizontal;
  animation-direction: reverse;
}

/* Links */
#box3.neo-box > .neon-left {
  top: 10%; bottom: 10%; left: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-light), var(--primary));
  animation-name: neon-move-vertical;
}

/* Rechts */
#box3.neo-box > .neon-right {
  top: 10%; bottom: 10%; right: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-light), var(--primary));
  animation-name: neon-move-vertical;
  animation-direction: reverse;
}

@keyframes neon-move-horizontal {
  0% { left: 10%; right: 10%; }
  100% { left: 0; right: 0; }
}

@keyframes neon-move-vertical {
  0% { top: 10%; bottom: 10%; }
  100% { top: 0; bottom: 0; }
}

/* ===========================
   Box3: Vorschau Sendeplan Inhalt
   =========================== */
#box3 h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--primary-light);
  font-weight: 700;
  text-shadow:
    0 0 5px rgba(200, 214, 229, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

#box3 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#box3 li {
  display: flex;
  align-items: center;
  background: rgba(160, 59, 68, 0.15);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 14px;
  color: var(--foreground);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(160, 59, 68, 0.15);
  transition: background 0.3s ease;
}

#box3 li:last-child {
  margin-bottom: 0;
}

#box3 li:hover {
  background: rgba(160, 59, 68, 0.3);
}

.schedule-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid var(--primary);
  background: var(--background);
  object-fit: cover;
}

.schedule-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  border-radius: 6px;
  transition: color 0.3s ease;
  cursor: pointer;
  padding: 4px 8px;
}

.schedule-link:hover,
.schedule-link:focus-visible {
  color: var(--accent);
  background: rgba(160, 59, 68, 0.2);
  text-decoration: none;
  outline: none;
}

/* Responsive */
@media (max-width: 600px) {
  #box3.neo-box {
    max-width: 98vw;
    padding: 16px 10px;
  }
  #box3 h2 {
    font-size: 1.2rem;
  }
  #box3 li {
    font-size: 0.95rem;
    padding: 8px 8px;
  }
  .schedule-avatar {
    width: 36px;
    height: 36px;
    margin-right: 6px;
  }
  .schedule-link {
    font-size: 0.95rem;
    padding: 3px 6px;
  }
}