/* Hero-Bereich */
.hero-image {
  position: relative; /* Für korrekte Positionierung der Buttons */
  object-fit: cover;
  width: 100%;
  height: 60vh;
  overflow: hidden; /* Verhindert Überlauf */
}

/* Hintergrundbild */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
}

/* Overlay für Inhalt */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Inhalt im Overlay */
.hero-content {
  text-align: center;
  background: #0000006c;
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Überschrift */
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Beschreibungstext */
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Button im Hero */
.hero-content .btn {
  background-color: #4FA5DF;
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.hero-content .btn:hover,
.hero-content .btn:focus {
  background-color: #005fa3;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.4);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Carousel-Buttons */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  z-index: 1;
  background-color: #0077cc;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #fff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
  outline: 2px solid #005fa3;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.4);
}

.carousel-control-prev {
  left: 10%;
}

.carousel-control-next {
  right: 10%;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: auto;
    margin-bottom: 20px;
  }

  .hero-image {
    text-align: center; /* Zentriert die Buttons */
  }
}