.iwStage .iwStage__container {
    position: relative;
    overflow: hidden;
}

.iwStage .iwStage__container .iwStage__background {
    position: absolute;
    bottom: 0;
    left: 140px;
    bottom: -7.059rem;
}

/* Pagination */
/* ---------- */
.iwStage .iwStage__container .iwStage__swiper .iwStage__pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 4.412rem;
    display: flex;
    align-items: center;
    width: max-content;
}

.iwStage
    .iwStage__container
    .iwStage__swiper
    .iwStage__pagination
    .swiper-pagination-bullet:first-child {
    margin-left: 0;
}

/* Navigation */
/* ---------- */
.iwStage .iwStage__container .iwStage__swiper .iwStage__navigation {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    height: 3.529rem;
    align-items: center;
    gap: 1.176rem;
}

.iwStage
    .iwStage__container
    .iwStage__swiper
    .iwStage__navigation
    .iwStage__button {
    background: none;
    border: none;
    padding: 0;
    color: #024987;
    transition: color 0.25s ease-in-out;
    position: relative;
}

.iwStage
    .iwStage__container
    .iwStage__swiper
    .iwStage__navigation
    .iwStage__button:focus-visible {
    outline: auto;
}

/* Slide */
/* ----- */
.iwStage
    .iwStage__container
    .iwStage__swiper
    .iwStage__wrapper
    .iwStage__slide {
    min-height: 100%;
    height: auto;
}

/* Item */
/* ---- */
.iwStage .iwStage__container .iwStage__item {
    display: flex;
    height: 100%;
}

.iwStage .iwStage__container .iwStage__item .iwStage__content {
    position: relative;
    z-index: 1;
    background-color: rgba(1, 73, 135, 0.9);
    backdrop-filter: blur(7.5px);
    color: #ffffff;
    padding: 2.059rem 1.765rem;
    height: max-content;
    margin: 0 0 4.412rem 0;
    display: flex;
    flex-direction: column;
}

.iwStage
    .iwStage__container
    .iwStage__item
    .iwStage__content
    .iwStage__subtitle {
    font-family: "Roboto Condensed", sans-serif;
    display: inline-block;
    margin: 0 0 1.176rem 0;
}

.iwStage .iwStage__container .iwStage__item .iwStage__content .iwStage__title {
    color: inherit;
    font-size: 2.118rem;
    line-height: 3.176rem;
    margin: 0 0 0.882rem 0;
}

.iwStage .iwStage__container .iwStage__item .iwStage__content .iwStage__text {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    margin: 0 0 1.176rem 0;
}

.iwStage
    .iwStage__container
    .iwStage__item
    .iwStage__content
    .iwStage__text
    > *:last-child {
    margin-bottom: 0;
}

.iwStage .iwStage__container .iwStage__item .iwStage__content .iwStage__link {
    display: inline-block;
    width: max-content;
    margin: auto 0 0 0;
}

.iwStage .iwStage__container .iwStage__item .iwStage__image {
    position: relative;
    left: -8.333333%;
    margin: 3.529rem 0 0 0;
    overflow: hidden;
    padding: 0;
}

.iwStage .iwStage__container .iwStage__item .iwStage__image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Item Image Only */
/* --------------- */
@media (min-width: 992px) {
    .iwStage
        .iwStage__container
        .iwStage__item.iwStage__item--image
        .iwStage__image {
        min-height: 400px;
        left: -41.666667%;
    }

    .iwStage
        .iwStage__container
        .iwStage__item.iwStage__item--image
        .iwStage__content {
        height: auto;
        z-index: 0;
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__pagination {
        --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.5);
        --swiper-pagination-color: #ffffff;
        top: 3.529rem;
        left: 1.765rem;
        height: auto;
        flex-direction: column;
        gap: calc(var(--swiper-pagination-bullet-horizontal-gap) * 2);
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__pagination
        .swiper-pagination-bullet {
        margin: 0;
    }

    .iwStage .iwStage__container:has(.iwStage__bottom) .iwStage__background {
        bottom: 0;
    }
}

/* Item Image Only */
/* --------------- */
@media (max-width: 991.98px) {
    .iwStage
        .iwStage__container
        .iwStage__swiper
        .iwStage__item.iwStage__item--image
        .iwStage__content {
        display: none;
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__item
        .iwStage__image {
        max-height: unset;
        flex-grow: 1;
        min-height: 17.647rem;
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__item
        .iwStage__image::after {
        height: 17.647rem;
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__pagination {
        top: unset;
        bottom: 0;
    }

    .iwStage
        .iwStage__container:has(.iwStage__bottom)
        .iwStage__swiper:has(.swiper-slide-active .iwStage__item--image)
        .iwStage__pagination {
        bottom: 2.059rem;
    }
}

/* Bottom */
/* ------ */
.iwStage .iwStage__container .iwStage__bottom {
    position: relative;
    background-color: #dde5ee;
    margin: 2.353rem 0 0 0;
    padding: 1.176rem 1.471rem;
    z-index: 1;
    display: flex;
    gap: 2.647rem;
}

.iwStage .iwStage__container .iwStage__bottom .iwStage__form {
    flex-grow: 1;
}

.iwStage .iwStage__container .iwStage__bottom .iwStage__form .iwStage__group {
    display: flex;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__wrapper {
    position: relative;
    width: 100%;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__wrapper
    .iwStage__taglist {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.706rem;
    display: none; /* Wieder entfernen, falls Tagfunktion eingebaut ist */
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__wrapper
    .iwStage__taglist
    .iwStage__tag {
    background-color: rgba(1, 73, 135, 0.9);
    color: #ffffff;
    border: none;
    padding: 0.176rem 0.588rem;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__wrapper
    .iwStage__input {
    height: 3.294rem;
    cursor: text;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__submit {
    display: flex;
    align-items: center;
    padding: 0 1.059rem;
    gap: 0.588rem;
    width: max-content !important;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__form
    .iwStage__group
    .iwStage__submit::after {
    background-image: none;
}

.iwStage .iwStage__container .iwStage__bottom .iwStage__list {
    display: flex;
    flex-shrink: 0;
}

.iwStage .iwStage__container .iwStage__bottom .iwStage__list .iwStage__element {
    padding: 0 1.471rem;
    border-right: 1px solid currentColor;
    display: flex;
    align-items: center;
    gap: 0.706rem;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 0%, transparent);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.25s ease-in-out;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__list
    .iwStage__element:hover,
.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__list
    .iwStage__element:focus-visible {
    text-decoration-color: color-mix(in srgb, currentColor 100%, transparent);
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__list
    .iwStage__element:first-child {
    padding-left: 0;
}

.iwStage
    .iwStage__container
    .iwStage__bottom
    .iwStage__list
    .iwStage__element:last-child {
    padding-right: 0;
    border-right: none;
}

/* Special Search Animation */
/* ------------------------ */
@media (min-width: 992px) {
    .iwStage .iwStage__container .iwStage__bottom {
        overflow: hidden;
        gap: 0;
    }

    .iwStage .iwStage__container .iwStage__bottom .iwStage__list {
        max-width: 100%;
        opacity: 1;
        max-height: 3.294rem;
        overflow: hidden;
        /* transition: max-width 0.5s 0.25s, opacity 0.5s 0.25s ease-in-out; Einfügen falls Tagfunktion aktiviert wird */
        transition: max-width 0.5s 0s, opacity 0.5s 0s ease-in-out;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__list
        .iwStage__element:first-child {
        margin-left: 2.647rem;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__list
        .iwStage__element
        span {
        white-space: nowrap;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__form
        .iwStage__group
        .iwStage__wrapper
        .iwStage__taglist {
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.25s 0s ease-in-out;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom:has(.iwStage__group:focus-within)
        .iwStage__list {
        max-width: 0;
        opacity: 0;
        transition: max-width 0.5s 0s, opacity 0.5s 0s ease-in-out;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom:has(.iwStage__group:focus-within)
        .iwStage__form
        .iwStage__group
        .iwStage__wrapper
        .iwStage__taglist {
        opacity: 1;
        pointer-events: all;
        transition: opacity 0.25s 0.5s ease-in-out;
    }
}

@media (max-width: 991.98px) {
    .iwStage .iwStage__container {
        padding: 0;
    }

    .iwStage .iwStage__container .iwStage__background {
        display: none;
    }

    /* Navigation */
    /* ---------- */
    .iwStage .iwStage__container .iwStage__swiper .iwStage__navigation {
        position: absolute;
        top: calc(14.118rem - 3.529rem);
        right: 20px;
        display: none;
    }

    .iwStage
        .iwStage__container
        .iwStage__swiper
        .iwStage__navigation
        .iwStage__button {
        color: #ffffff;
    }

    /* Pagination */
    /* ---------- */
    .iwStage .iwStage__container .iwStage__swiper .iwStage__pagination {
        position: absolute;
        top: calc(14.118rem - 3.529rem);
        bottom: unset;
        left: 20px;
        height: 3.529rem;
    }

    .iwStage .iwStage__container .iwStage__swiper .iwStage__pagination {
        --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.5);
        --swiper-pagination-color: #ffffff;
    }

    /* Item */
    /* ---- */
    .iwStage .iwStage__container .iwStage__item {
        flex-direction: column-reverse;
        /* height: auto; */
    }

    .iwStage .iwStage__container .iwStage__item .iwStage__content {
        margin: 0;
        height: 100%;
        flex-grow: 0;
        flex-shrink: 1;
        padding-bottom: 3.571rem;
        background-color: #014987;
    }

    .iwStage .iwStage__container .iwStage__item .iwStage__image {
        left: 0;
        margin: 0;
        flex-grow: 0;
        flex-shrink: 1;
        min-height: 14.118rem;
        max-height: 14.118rem;
    }

    .iwStage .iwStage__container .iwStage__item .iwStage__image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 14.118rem;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(1, 73, 135, 0) 65.77%,
            #014987 108.3%
        );
        z-index: 1;
    }

    /* Bottom */
    /* ------ */
    .iwStage .iwStage__container .iwStage__bottom {
        margin-top: -1.786rem;
        width: calc(100% - 40px);
        margin-left: 20px;
        flex-direction: column-reverse;
        gap: 1.786rem;
    }

    .iwStage .iwStage__container .iwStage__bottom .iwStage__list {
        justify-content: center;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__list
        .iwStage__element
        span {
        word-break: break-word;
        hyphens: auto;
        text-align: center;
    }

    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__form
        .iwStage__group
        .iwStage__wrapper
        .iwStage__taglist {
        display: none;
    }
}

@media (max-width: 767.98px) {
    /* Bottom */
    /* ------ */
    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__list
        .iwStage__element {
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    /* Bottom */
    /* ------ */
    .iwStage
        .iwStage__container
        .iwStage__bottom
        .iwStage__list
        .iwStage__element
        span {
        font-size: 12px;
    }
}
