/* ============================================================
   GLOBAL VARIABLES — Farben, Schrift
============================================================ */
:root {
  /* Grundlayout */
  --bg: #0d0d0d;          /* Hintergrund */
  --fg: #f5f5f5;          /* Standard-Textfarbe */
  --white: #f5f5f5;
  --gray: #999999;
  --accent: #caa55f;      /* Goldgelb */
  --line: #2a2a2a;        /* feine Linienfarbe */

 /* Dot-Farben für Colorbar */
    --gold:  #d8b05a;
    --green: #3bb34a;
    --white-dot: #dddddd;
    --red:   #c44336;
    --blue:  #3f71d8;

 /* Optional (falls später benötigt) */
    --black: #000000;
/* Fonts  */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}


/* ============================================================
   GLOBAL BASE
============================================================ */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  margin: 0;
  line-height: 1.6;
}

/* Globale Linkfarben */
a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ============================================================
   GLOBAL SPACING SYSTEM (section / tight / loose)
   → Stellschrauben für Abstände oben/unten
============================================================ */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 2rem;      /* Standard */
}

.section-tight {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem;        /* kompakter */
}

.section-loose {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;        /* großzügiger */
}

/* ============================================================
   HEADER (einheitlich für alle Unterseiten)
============================================================ */
header {
  text-align: center;
  padding: 5vh 2rem 2rem;
  /*border-bottom: 2px solid var(--line);*/
}

header h1 {
  font-size: 2rem;
  letter-spacing: 0.12em;
  margin: 1;
  color: var(--white);
}

header p {
  color: #aaa;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* EINHEITLICHER DIVIDER unterhalb des Headers */
  header::after {
  content: "";
  display: block;
  width: 100%;              /* GANZE SEITENBREITE */
  height: 1px;              /* immer 1px, nie 2px */
  background: var(--line);  /* #2a2a2a */
  margin: 2rem auto 0 auto;
} 

/* Zusätzliche Unterzeile unter dem Divider (für alle Seiten nutzbar) */
.header-subline {
    text-align: center;
    color: #ccc;
    margin-top: 1.2rem;
    margin-bottom: 2.4rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   SUBNAV (Paintings • Movements • Words • Stage)
============================================================ */
.subnav {
  text-align: center;
  color: #ccc;
  margin-top: 2.8rem;
  margin-bottom: 2rem;
}

.subnav a {
  color: var(--accent);
  pointer-events: none;     /* keine Links */
  padding: 0 0.6rem;
}


/* ============================================================
   BANNER (Startseite) — Fade In/Out rotierend
============================================================ */
.banner-container {
  position: relative;
  max-width: 1000px;
  margin: 2.5rem auto 3rem auto;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #000;
}

.banner {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.banner.active {
  opacity: 1;
}


/* ============================================================
   GRID BOXES (Paintings / Movements / Words – Startseite)
============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}

.box {
  background: #1a1a1a;
  padding: 1.5rem;
  border: 1px solid #222;
  text-align: center;
  transition: .2s;
}

.box:hover {
  background: #222;
  color: var(--accent);
}


/* ============================================================
   DIVIDER — dünne elegante Linie
============================================================ */
.divider {
  width: 70%;
  height: 1px;
  background: var(--line);
  margin: 3rem auto;
}


/* ============================================================
   STAGE IMAGE (Antifaust auf der Startseite)
============================================================ */
.stage-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 4rem auto;
  border: 1px solid #222;
}


/* ============================================================
   FOOTER
============================================================ */
footer {
  border-top: 1px solid #222;
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: .9rem;
}

footer a {
  color: var(--accent);
}

footer a:hover {
  text-decoration: underline;
}



/* ============================================================
   BACK BUTTON (alle Unterseiten)
============================================================ */
.back-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  z-index: 9999;
  transition: background 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background: var(--accent);
  color: #000;
}


/* ============================================================
   WORDS — THOUGHT TEXT FRAGMENTS
   (einzigartig für words.html)
============================================================ */
.thought {
  position: absolute;
  white-space: normal;
  max-width: 40vw;
  line-height: 1.4;
  opacity: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  transition: opacity 2s ease;
  pointer-events: none;
  color: var(--fg);
}


/* ============================================================
   VIDEO-GRID (für Movements.html)
============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 Spalten */
  gap: 2.5rem;
  margin-top: 3rem;
}

.video-box {
  background: #1a1a1a;
  padding: 1.2rem;
  border: 1px solid #222;
  text-align: center;
}

/* ------------------------------------------------------------
   VIDEOTITEL (Movements – DEZENT, HELLGRAU)
------------------------------------------------------------ */
.video-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #aaa;          /* hellgrau statt weiß */
  font-size: 1rem;
  font-weight: 400;    /* normal */
  letter-spacing: 0.02em;
}

/* Untertitel */
.video-box p {
  margin-top: 0.7rem;
  color: #aaa;
  font-size: 0.9rem;
}

/* Video selbst */
.video-box video {
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid #333;
}


/* ============================================================
   MOVEMENTS — Bereichstitel (nur Movements.html)
============================================================ */
.mov-section-title {
  font-size: 1.3rem;        /* eleganter, nicht fett */
  font-weight: 400;
  color: var(--accent);
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 0.01em;
}

/* =======================================================
   MOVEMENTS – Video-Größen
======================================================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 0 auto;
    width: 90%;
    max-width: 1600px;
}

.video-box {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    text-align: center;
}

.video-box video {
    width: 100%;
    border-radius: 6px;
}

/* Wenn NUR 1 Video im Block ist → trotzdem nicht fullscreen */
.video-grid.single-video video {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   STAGE – Theatergedächtnis Layout
============================================================ */

.stage-block {
  border-top: 1px solid #222;
  padding: 3rem 0;
}

.stage-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.stage-video {
  flex: 1 1 380px;
  max-width: 640px;
}

.stage-video video {
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid #333;
}

.stage-text {
  flex: 1 1 260px;
  max-width: 480px;
}

.stage-text h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.stage-text h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #ccc;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stage-text p {
  margin: 0;
  color: #ddd;
  font-size: 0.95rem;
}

/* Stills-Galerie unter dem Block */

.stage-stills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.stage-stills img {
  height: 120px;
  width: auto;
  border: 1px solid #333;
  object-fit: cover;
}

/* Mobile */

@media (max-width: 768px) {
  .stage-main {
    flex-direction: column;
  }
}