.startseite-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.grid-links,
.grid-rechts {
    width: 100%;

}

/*******************/
/*****MOBILE********/
/*******************/


@media (min-width: 768px) {
    .grid-links, .grid-rechts {
        width: 50%;
    }



}


@media (max-width: 768px) {
  .startseite-grid-wrapper {
    /* flex-direction: column !important; */
    display: flex;
  }

  .startseite-grid-wrapper .grid-links.video-variant,
  .startseite-grid-wrapper .grid-rechts.video-variant {
    width: 100% !important;
  }

  .grid-links.video-variant a {
    width: 100% !important;
    height: auto !important;
  }

  .grid-links.video-variant a img {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  .grid-rechts.video-variant {
    min-height: auto !important;
    height: auto !important;
  }

  .grid-rechts.video-variant video {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

.infinite-mobile-header .infinite-logo-inner {
    margin-right: 10px!important;
}
}

/*******************/
/*****MOBILE********/
/*******************/



.grid-links .swiper-slide .image-wrapper,
.grid-rechts .image-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
}

.grid-rechts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
    padding-left: 10px;
    min-height: 350px;
}


.rechts-box {
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.rechts-box.half {
    width: calc(50% - 5px);
    height: 350px;
}

.rechts-box.full {
    width: 100%;
    height: 350px;
}

.grid-links .title-overlay {
      position: fixed;
}

.title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / 90%);
    color: #253E88;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    z-index: 2;
        font-size: 25px;
}

.title-overlay.center {
    justify-content: center;
    gap: 0.5rem;
}

.title-overlay.with-controls {
    justify-content: space-between;
}

.title-overlay.with-controls .title-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: #253E88;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.title-overlay img.icon-img {
    height: 35px;
    width: 35px;
    object-fit: contain;
}

.image-wrapper img.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-wrapper:hover img.bg-image {
    transform: scale(1.05);
}


.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.grid-links {
    height: 710px;
    overflow: hidden;
}

.grid-links .swiper {
    height: 100%;
}

.grid-links .swiper-slide {
    height: 100%;
}

.grid-links .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-links .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-rechts .video-variant {
    background-color: #253E88;
}






@media only screen and (min-width:768px) {
    /* .startseite-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 10px;
    }
    .grid-links {
        height: 100%;
    }
    .grid-links .standorte-swiper {
        height: 100%;
    }
    .grid-rechts {
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        height: 100%;
        gap: 10px;
    }
    .grid-rechts .rechts-box.half {
        height: 100%;
    }
    .grid-rechts .rechts-box.full {
        grid-column: 1 / -1;
        height: 100%;
    } */
}
