/* ============================================================
   STAGE – Theaterproduktionen
   (Variante A: Titel über Video, Untertitel darunter,
    Thumbnails unten in der Box, Beschreibung unter der Box)
============================================================ */

:root {
  --bg: #0d0d0d;
  --fg: #f5f5f5;
  --accent: #caa55f;
  --frame: #1a1a1a;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding-bottom: 4rem;
}

/* ---------- HEADER ---------- */

.stage-header {
  text-align: center;
  padding: 4rem 2rem 2.5rem;
}

.stage-header h1 {
  font-size: 2.4rem;
  margin: 0;
  letter-spacing: 0.14em;
}

.stage-header p {
  margin-top: 0.7rem;
  color: #aaa;
}

/* ---------- DETAIL-BEREICH / KARTE ---------- */

.detail-section {
  max-width: 1100px;
  margin-top: 6rem !important;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.placeholder {
  text-align: center;
  color: #777;
  font-size: 1.05rem;
}

.detail-card {
  background: var(--frame);
  border-radius: 8px;
  border: 1px solid #222;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* Titel über dem Video */
.detail-title {
  margin: 0 0 1.5rem;
  text-align: center;
  letter-spacing: 0.08em;
}

/* Video sauber einpassen */
.detail-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
}

/* Untertitel direkt unter dem Video */
.detail-subtitle {
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
  text-align: center;
  color: #ccc;
  font-size: 0.98rem;
}

/* ---------- THUMBNAIL-LEISTE (Produktionen) ---------- */

.stage-thumbs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.stage-thumb {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stage-thumb img {
  display: block;
  width: 140px;
  height: 90px;
  object-fit: cover;
}

.stage-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(202,165,95,0.35);
  border-color: var(--accent);
}

.stage-thumb.active {
  border: 2px solid var(--accent);
  box-shadow: 0 0 18px rgba(202,165,95,0.55);
}

/* ---------- HOVER-TITEL UNTER DEN THUMBNAILS ---------- */

.thumb-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thumb-title {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.thumb-wrapper:hover .thumb-title {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BESCHREIBUNG unter der Box ---------- */

.description-section {
  max-width: 900px;
  margin: 2.5rem auto 3.5rem;
  padding: 0 2rem;
}

.description-text {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.7;
}

/* ---------- BACK BUTTON ---------- */

.btn-back {
  display: block;
  width: fit-content;
  margin: 6rem auto 3.5rem;
  margin-top: 7rem;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-back:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 18px rgba(202,165,95,0.45);
}

/* ---------- MOBILE ---------- */

@media (max-width: 700px) {
  .detail-card {
    padding: 1.6rem 1.4rem 1.6rem;
  }

  .detail-title {
    font-size: 1.1rem;
  }

  .stage-thumb img {
    width: 120px;
    height: 78px;
  }

  .thumb-title {
    font-size: 0.65rem;
  }
}