
.img-fluid2 {
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 400px; /* Einheitliche Höhe für alle Bilder */
    object-fit: cover; /* Damit das Bild innerhalb des Containers bleibt */
}

.img-fluid2:hover {
    transform: scale(1.05);
}

.darken-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2) !important;
    z-index: 1;
}

.darken-image {
    display: block;
    width: 100%;
    position: relative;
    z-index: 0;
}

.full-screen-carousel {
    height: 100vh;
}

.full-screen-carousel .carousel-inner,
.full-screen-carousel .carousel-item,
.full-screen-carousel .carousel-item img {
    height: 100vh;
}

.full-screen-carousel .carousel-item img {
    object-fit: cover;
}

/* .carousel-caption-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
} */

.carousel-caption-middle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%); /* nur vertikal mittig */
    text-align: center;
    z-index: 10;
    pointer-events: none;
    background-color: #ffffffa8 !important;
    padding: 50px;
}

.carousel-caption-middle .content {
    display: inline-block;   /* sorgt dafür, dass es mittig bleibt */
    max-width: 800px;        /* Begrenzung, damit es nicht zu breit wird */
    width: 100%;
    pointer-events: auto;    /* erlaubt Klicks im Content */
}

.carousel-caption-middle img{
    max-height: 150px;
    max-width: 100%;
    height: auto;
    width: auto;
}

p {
    color: #4d4d4d;
    font-size: 1rem;
}

.container.my-5 {
    margin-top: 5rem !important;
}

#textHeader {
    font-size: 50px;
}

.bg-info.text-white p {
    color: #ffffff;
    font-size: large;
}

.modal-footer {
    position: relative;
    z-index: 1050; /* Sollte höher sein als das Overlay */
}

#prev-modal-btn, #next-modal-btn {
    position: relative;
    z-index: 1060; /* Sollte höher sein als der Footer */
    pointer-events: auto; /* Sicherstellen, dass die Buttons klickbar sind */
}



#pathway{
    padding-top: 50px;
}

#modal-img{
    height: 40vh;
}

.team-img {
    max-height: 200px;     /* gleiche Höhe */
    object-fit: cover;     /* Bilder gleichmäßig zuschneiden */
    cursor: pointer;
    border-radius: .25rem;
    transition: transform .15s ease;
  }
  .team-img:hover {
    transform: scale(1.03);
  }


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%; /* größer darstellen */
  filter: invert(33%) sepia(96%) saturate(319%) hue-rotate(75deg) brightness(85%) contrast(95%);
  width: 5rem;
  height: 5rem;
}

@media (max-width: 768px) {
  .first-sentence {
    display: none;
  }
}

.instagram-media {
      width: 100% !important;
      margin: 0 auto 24px auto !important;
      box-shadow: 0 4px 14px rgba(0,0,0,0.08);
      border-radius: 8px;
    }