.custom-parallax-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 50px;
}

.custom-parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: background-size 0.3s ease-out;
}

.custom-parallax-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Mobile Anpassung */

@media (max-width: 768px) {
  .custom-parallax-bg {
    background-attachment: scroll;
    background-size: 100% auto;
  }
}

@media (max-width: 768px) {
  .custom-parallax-container {
    aspect-ratio: 16 / 10;
  }
}

