/* === Grundlayout === */
body {
  background-color: #0a0a0a;
  font-family: 'Helvetica Neue', sans-serif;
  color: #ddd;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 2rem;
}

h1, h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
}

a {
  color: #28a3bc;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

/* === Footer === */
.footer {
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 5rem;
}

.footer a {
  display: inline-block;
  margin: 0.5rem 1rem;
  color: #aaa;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer a i {
  margin-right: 0.5rem;
  color: #28a3bc;
}

.footer a:hover {
  color: #fff;
}

/* === Responsives Layout === */
@media (max-width: 600px) {
  .footer a {
    display: block;
    margin: 0.5rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* === Carousel === */
.about-title {
  font-size: 1.6rem;
  text-align: center;
  color: #fff;
  margin-top: 4rem;
}

.carousel-container {
  max-width: 800px;
  width: 100%;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin: 1rem auto -3rem;
   overflow-x: hidden; /* ← NEU */
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.card {
  position: absolute;
  width: 240px;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  outline: none;
  transition: all 0.8s ease;
  cursor: pointer;
  background-color: transparent;
  border: none; 
  padding: 0;
  box-shadow: none; 

}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
  border: none;
}

.card.center {
  z-index: 10;
  transform: scale(1.1) translateZ(0);
}

.card.left-2 {
  z-index: 1;
  transform: translateX(-400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.right-1 {
  z-index: 5;
  transform: translateX(200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.right-2 {
  z-index: 1;
  transform: translateX(400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}



.card.hidden {
  opacity: 0;
  pointer-events: none;
}

/* === Poster Info === */
.poster-info {
  text-align: center;
  margin-top: 1rem;
}

.poster-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 0.4px;

}

/* === Navigation Dots === */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #28a3bc;
  transform: scale(1.2);
}

/* === Pfeile === */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(40, 163, 188, 0.6);
  color: white;
  width: 40px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1.5rem;
  border: none;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.impressions-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.impression {
  flex: 0 1 calc((100% - 2rem) / 3);
  max-width: calc((100% - 2rem) / 3);
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.impression:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 400px) {
  .impression {
    flex: 0 1 100%;
    max-width: 100%;
  }
}
