/* Allgemeine Stile */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #e3dddd;
}

/* Stile für den Header mit Navigation */
.header-nav {
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Halbtransparentes Schwarz für die Navigation */
  position: relative;
  z-index: 100;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo img {
  width: 100px;
}

.nav {
  position: relative;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav li {
  position: relative;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 15px;
  display: block;
}

.nav a:hover {
  text-decoration: underline;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  list-style: none;
}

.submenu li {
  width: 200px;
}

.nav .has-submenu > a::after {
  content: " ▼";
}

.nav .has-submenu:hover .submenu,
.nav .has-submenu:focus-within .submenu {
  display: block;
}

/* Slider-Sektion */
.slider-section {
  padding: 0; /* Entfernt das Padding, um den Slider direkt unter der Navigation zu platzieren */
  margin-top: 0;
}

.slider-section .swiper-container {
  width: 100%;
  height: 20vh; /* Nimmt 80% der Höhe des Viewports ein */
  position: relative;
}

.slider-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-section .slide-text {
  margin-top: 20px;
  font-size: 20px;
  color: #0f0f10;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); /* Schattierung für besseren Kontrast */
}

.slider-section .swiper-button-next,
.slider-section .swiper-button-prev {
  color: #ffffff;
  position: absolute;
  top: 50%;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  display: block;
}

/* Video-Sektion */
.video-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.video-text-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-text {
  flex: 1;
  padding-right: 20px;
}

.video-container {
  flex: 1;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Interview-Sektion */
.interview-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  background-image: url("images/Komposition-0003_background.png");
  background-size: cover;
  background-position: center;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex-item {
  flex: 1;
  margin-right: 20px;
}

.flex-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container {
  flex: 1;
}

.text-columns {
  column-count: 2;
  column-gap: 20px;
}

.text-container h3 {
  margin-top: 0;
  font-size: 1.8em;
}

/* Galerie-Sektion */
.gallery-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  position: relative;
  transition: transform 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.card:hover .back {
  opacity: 1;
}

/* Footer-Sektion */
.footer {
  background-color: #333;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  width: 100px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .nav ul {
    flex-direction: column;
    display: none;
  }

  .nav ul.show {
    display: flex;
  }

  .submenu {
    position: static;
  }

  .hamburger {
    display: block;
  }

  .video-text-container {
    flex-direction: column;
  }

  .flex-container {
    flex-direction: column;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
