h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 48px;
}

.header {
  position: relative;
  text-align: center;
  /*background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(112,0,255,1) 100%);*/
  color: white;
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }
}

/* Alle Fotos mit abgerundeten Ecken */
img {
  border-radius: 25px !important;
}

/* Buttons mit abgerundeten Ecken */
.btn {
  border-radius: 50px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Carousel Card Container */
.carousel-card-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.carousel-card {
  border-radius: 25px;
  overflow: visible;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.322);
  height: 500px;
  position: relative;
}

.carousel-card .carousel-inner {
  overflow: hidden;
  border-radius: 25px;
  height: 100%;
}

/* Carousel Items mit Bild-Hintergrund und Text-Overlay */
.carousel-card .carousel-item {
  position: relative;
  overflow: visible;
  height: 100%;
}

.carousel-card .carousel-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
}

.carousel-card .carousel-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 30px;
  padding-top: 25px;
  background: none;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  z-index: 5;
}

/* Glossy Effekt entfernt */
.carousel-card .carousel-text-overlay::before {
  display: none;
}

.carousel-card .carousel-text-overlay h2,
.carousel-card .carousel-text-overlay p,
.carousel-card .carousel-text-overlay .btn {
  position: relative;
  z-index: 2;
}

.carousel-card .carousel-text-overlay h2,
.carousel-card .carousel-text-overlay p {
  color: rgb(70, 70, 70) !important;
  text-shadow: none;
}

/* Element-spezifische Farbtöne für Blur-Overlay */
.carousel-card .carousel-text-overlay.overlay-wasser {
  background: none;
}

.carousel-card .carousel-text-overlay.overlay-erde {
  background: none;
}

.carousel-card .carousel-text-overlay.overlay-feuer {
  background: none;
}

.carousel-card .carousel-text-overlay.overlay-luft {
  background: none;
}

/* Weißer Button im Carousel */
.carousel-card .carousel-text-overlay .btn {
  background: white;
  border-color: white;
  color: rgb(70, 70, 70);
}

.carousel-card .carousel-text-overlay .btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
  color: rgb(70, 70, 70);
}

.carousel-card .carousel-indicators button {
  background-color: rgb(70, 70, 70) !important;
  opacity: 0.4;
}

.carousel-card .carousel-indicators button.active {
  opacity: 1;
}

