:root {
  --gold: #cdc29e;
  --gold-hover: #e2dcc2;
  --gold-light: #f5eed6;
  --menu-bg: rgba(24,24,27,0.97);
  --text-light: #f5f5f5;
  --text-dark: #1a1a1a;
  --bg-blur: blur(2px) brightness(0.55) saturate(1.1);
}

/* Grundlayout */
body, html {
  margin: 0; padding: 0;
  height: 100%; width: 100vw;
  overflow: hidden;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #18181b;
  color: var(--text-dark);
}

/* Hintergrundbild */
#background {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: background-image 1s ease-in-out;
  filter: var(--bg-blur);
}

/* Haupt-Container */
#container {
  position: absolute;
  z-index: 2;
  top: 0; left: 0;
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Story-Anzeige (links) */
#story-viewer {
  width: 70vw;
  height: 100vh;
  padding: 3vw 3vw 3vw 4vw;
  background: rgba(245, 245, 245, 0.83);
  overflow-y: auto;
  box-sizing: border-box;
  color: var(--text-dark);
  border-top-left-radius: 2vw;
  border-bottom-left-radius: 2vw;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

#story-viewer h1,
#story-viewer h2,
#story-viewer h3 {
  color: var(--gold);
  font-family: 'Segoe UI Semibold', 'Segoe UI', 'Arial', sans-serif;
  margin-top: 0;
  margin-bottom: 1vw;
  text-shadow: 0 2px 10px rgba(205,194,158,0.13);
}
#story-viewer p {
  font-size: 1.08em;
  line-height: 1.6;
  margin-bottom: 1.7em;
}

/* Menü (rechts) */
#menu {
  width: 30vw;
  height: 100vh;
  background: var(--menu-bg);
  overflow-y: auto;
  padding: 2vw;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  z-index: 10;
  position: relative;
  box-shadow: -8px 0 32px rgba(0,0,0,0.45);
}

/* Menü-Titel */
#menu h2 {
  color: var(--gold);
  letter-spacing: 0.05em;
  font-size: 1.45em;
  font-weight: bold;
  margin-bottom: 2vw;
  text-shadow: 0 2px 10px rgba(205,194,158,0.13);
}

/* Menü-Einträge */
.menu-item {
  margin-bottom: 2vw;
  cursor: pointer;
  padding: 1vw 1vw 1vw 0.8vw;
  border-radius: 1vw;
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}
.menu-item:hover, .menu-item.active {
  background: rgba(205,194,158,0.11);
  box-shadow: 0 0 8px #cdc29e50;
}

/* Menü-Link */
.menu-item a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.11em;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.menu-item:hover a, .menu-item.active a {
  color: var(--gold-hover);
}

/* Menü-Teaser */
.menu-item span {
  color: var(--gold-light);
  font-size: 0.96em;
  font-style: italic;
}

/* Menü-Button für Mobilgeräte */
#menu-toggle {
  display: none;
  position: fixed;
  top: 2vw;
  right: 2vw;
  z-index: 20;
  font-size: 2.3em;
  background: var(--menu-bg);
  color: var(--gold);
  border: none;
  border-radius: 0.6em;
  padding: 0.25em 0.7em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.32);
}

/* Responsive: Menü als Overlay */
@media (max-width: 900px) {
  #container {
    flex-direction: column;
  }
  #story-viewer {
    width: 100vw;
    padding: 7vw 6vw 24vw 6vw;
    height: auto;
    min-height: 70vh;
    border-radius: 0 0 2vw 2vw;
  }
  #menu {
    width: 90vw;
    height: 100vh;
    padding-top: 8vw;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    box-shadow: -8px 0 32px rgba(0,0,0,0.32);
  }
  #menu.open {
    transform: translateX(0%);
  }
  #menu-toggle {
    display: block;
  }
}

/* Verhindert Scrollen bei offenem Overlay-Menü */
body.menu-open {
  overflow: hidden;
}
#video-player-section {
  width: 100%;
  background: rgba(255,255,255,0.92);
  padding: 1.5vw 2vw 1vw 2vw;
  border-top-left-radius: 2vw;
  border-top-right-radius: 2vw;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  z-index: 2;
  position: relative;
}
#video-player {
  display: block;
  margin: 0 auto 1vw auto;
  max-width: 700px;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1vw;
  box-shadow: 0 2px 8px #cdc29e33;
}
#video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: center;
}
.video-list-item {
  cursor: pointer;
  background: var(--gold-light);
  border-radius: 0.5vw;
  padding: 0.5vw 1vw;
  font-size: 1em;
  margin-bottom: 0.5vw;
  border: 1px solid var(--gold);
  transition: background 0.18s;
}
.video-list-item.active,
.video-list-item:hover {
  background: var(--gold-hover);
  color: var(--text-dark);
  font-weight: bold;
}

