/* --- Grundlayout --- */
body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

h2, h3, h4 {
  text-align: center;
}

.center {
  text-align: center;
}

/* --- Header & Logo --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 75px;
  margin-right: 20px;
}

/* --- Desktop Menü --- */
.desktop-menu {
  display: flex;
  gap: 8px;
}

.desktop-menu a {
  color: #fff;
  text-decoration: none;
  padding: 5px 8px;
}

.desktop-menu a:hover {
  background: #800020;
  border-radius: 5px;
}

/* --- Mobile Menü --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 10px 0;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
}

.mobile-menu a:hover {
  background: #800020;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* --- Video Header --- */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Vollbildhöhe für modernen Look */
  overflow: hidden;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Füllt den Bildschirm schön aus */
  display: block;
  background-color: #000;
}

/* --- Mobile Video Fix: Safari/iOS --- */
@supports (-webkit-touch-callout: none) {
  .video-container video {
    transform: translateZ(0); /* iOS-Rendering-Fix */
    -webkit-transform: translateZ(0);
    will-change: transform;
  }
}

/* --- Sound Button --- */
.sound-button {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.sound-button:hover {
  background: #800020;
  transform: scale(1.1);
}

/* --- Sections & Grids --- */
section {
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section:nth-of-type(odd) {
  background: #f5f5f5;
  color: #000;
}

section:nth-of-type(even) {
  background: #222;
  color: #fff;
}

#theaterstücke {
  background: #f5f5f5 !important;
  color: #000 !important;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.grid-item {
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.stückbild {
  width: 100%;
  border-radius: 8px;
}

.leseprobe {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #800020;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.leseprobe:hover {
  background: #a52a3d;
}

/* --- Autor --- */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.autorbild {
  display: block;
  margin: 20px auto;
  border-radius: 50%;
  width: 300px;
}

/* --- Ansichtsexemplare --- */
#ansicht {
  padding-left: 10%;
  padding-right: 10%;
}

/* --- Regie --- */
#regie {
  background-color: rgba(128, 0, 32, 0.1);
  padding: 60px 20px;
  color: #333;
  text-align: center;
}

.regie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.regie-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.regie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.regie-card img {
  width: 100%;
  border-radius: 8px;
}

.regie-year {
  font-weight: bold;
  color: #800020;
  margin: 10px 0 5px 0;
}

.regie-card h3 {
  margin: 5px 0;
  font-size: 1.1rem;
}

.regie-place {
  font-size: 0.9rem;
  font-style: italic;
}

.regie-seminar {
  margin-top: 15px;
  font-style: italic;
}

/* --- Footer --- */
footer {
  text-align: center;
  background: #000;
  color: #fff;
  padding: 15px 0;
}

/* --- Galerie --- */
#gallery {
  background: #222;
  color: #fff;
  text-align: center;
}

.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-main {
  margin-bottom: 20px;
  position: relative;
}

.gallery-main img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.gallery-main img.fade-out {
  opacity: 0;
}

/* --- Moderne Galerie-Pfeile --- */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.gallery-arrow:hover {
  background: rgba(128, 0, 32, 0.85);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

#prevBtn {
  left: 20px;
}

#nextBtn {
  right: 20px;
}

/* --- Galerie Text unter Bild --- */
.gallery-info {
  margin: 15px 0 20px 0;
  color: #fff;
  text-align: center;
}

.gallery-info h3 {
  margin: 5px 0;
  font-size: 1.3rem;
}

.gallery-info p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.8;
}

/* --- Galerie Thumbnails --- */
.gallery-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-thumbs img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  border: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-thumbs img:hover {
  transform: scale(1.05);
  border-color: #800020;
}

/* --- Mobile Galerie Fix --- */
@media (max-width: 768px) {
  .gallery-main img {
    max-height: 400px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
  }

  #prevBtn {
    left: 10px;
  }

  #nextBtn {
    right: 10px;
  }

  /* Mobile Video-Höhe etwas kleiner, um Text sichtbar zu lassen */
  .video-container {
    height: 70vh;
  }
}

/* --- Pressestimmen --- */
#pressestimmen {
  background-color: rgba(128, 0, 32, 0.1);
  color: #333;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.testimonial {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 320px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial .author {
  font-weight: bold;
  color: #800020;
}

.pdf-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pdf-button {
  display: inline-block;
  background: #800020;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.pdf-button:hover {
  background: #a52a3d;
}
