/* --- ZENTRALES STYLESHEET (main.css) --- */
:root {
  --bg-color: #2D3851;
  --bg-gradient: #546E8B;
  --panel-bg: rgba(255, 255, 255, 0.05);
  --accent-color: #770000;
  --text-color: #e0e6ed;
  --text-muted: #9ab0c7;
  --link-color: #64b5f6;
  --border-radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(130deg, var(--bg-gradient), var(--bg-color));
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Header & Banner-Logo */
header {
  background: #660000 url('https://alt.kunst4life.net/ambient-art-lounge/images_design/top_blau.jpg') center/cover no-repeat;
  text-align: center;
  padding: 25px 10px;
  border-bottom: 2px solid var(--accent-color);
}

header a {
  display: inline-block;
}

header img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
  margin: 0 auto;
}

/* Haupt-Container */
.container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
}

.section-box {
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 6px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links allgemein */
a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 1. HTML5 Audio Player & Playlist */
.player-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: var(--border-radius);
}

audio {
  width: 100%;
  margin-bottom: 12px;
}

.playlist {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}

.playlist li {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.95rem;
}

.playlist li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.playlist li.active {
  background: var(--accent-color);
  color: #fff;
  font-weight: bold;
}

/* 2. Mitwirkende / Details GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.team-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 15px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
}

.team-card strong {
  display: block;
  text-transform: capitalize;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* 3. Fotos Slideshow */
.slideshow-container {
  position: relative;
  width: 100%;
  min-height: 400px; /* Erzwingt eine Mindesthöhe */
}

/* Alle Slides standardmäßig ausblenden */
.slide-item {
  display: none;
  width: 100%;
  text-align: center;
}

/* Bild-Skalierung begrenzen */
.slide-item img {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
}

/* Nur das aktive Bild anzeigen (falls per JS die Klasse 'active' gesetzt wird) */
.slide-item.active {
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 18px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  background: rgba(0,0,0,0.5);
  user-select: none;
  border: none;
  transition: background 0.2s;
}
.next { right: 0; }
.prev { left: 0; }
.prev:hover, .next:hover { background: var(--accent-color); }

.slide-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 8px;
  font-size: 0.85rem;
  text-align: center;
}

/* Video Embeds (YouTube) */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 30px;
}