#ce_wg_hero_banner {
    background-color: var(--secondary-color);
}

#ce_wg_hero_banner .hero-banner-teaser {
    position: relative;
    width: 100%;
    word-wrap: break-word;
    align-content: end;
    z-index: 2;
}

#ce_wg_hero_banner .hero-banner-teaser-box {
    display: flex;
    flex-direction: column;
    padding-bottom: 9rem;
}

#ce_wg_hero_banner .hero-banner-teaser h1 {
    color: var(--white-color);
}

#ce_wg_hero_banner .hero-banner-teaser p {
    color: var(--white-color);
}

#ce_wg_hero_banner .hero-banner-inner-icon {
    position: relative;
    width: 315px;
    height: 300px;
    text-align: center;
    color: var(--white-color);
    /*z-index: 99999;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(-4deg);
    margin-top: -40px;
    padding: 31px;
}

#ce_wg_hero_banner .hero-banner-inner-icon:before {
    content: "";
    background-image: url(/fileadmin/images/WirGastfreunde/v-cut-frame.svg);
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    /* z-index: -1; */
}

#ce_wg_hero_banner .hero-banner-inner-icon.has-link {
    cursor: pointer;
}

#ce_wg_hero_banner .hero-banner-inner-icon p {
    z-index: 10;
}
#ce_wg_hero_banner .hero-banner-inner-icon.has-link a {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

#ce_wg_hero_banner .hero-banner-inner-icon.has-link::before {
    pointer-events: none;
}

#ce_wg_hero_banner .hero-banner-inner-icon.has-link::before {
    content: "";
    position: absolute;
    transition: transform 0.5s ease;
    /* z-index: -1; */
}

#ce_wg_hero_banner .hero-banner-inner-icon.has-link:hover::before {
    transform: scale(1.15);
}

#ce_wg_hero_banner .hero-banner-inner-icon p {
    padding: 10px;
}

#ce_wg_hero_banner .hero-banner-inner-icon a {
    color: var(--white-color);
    text-decoration: none;
}

#ce_wg_hero_banner .breadcrumb {
    background-color: unset;
    margin-bottom: 15px;
    padding-bottom: 0;
    min-width: 100%;
}

#ce_wg_hero_banner .breadcrumb-item {
    color: var(--white-color) !important;
}

#ce_wg_hero_banner .breadcrumb-item+.breadcrumb-item::before {
    top: -2px;
    display: block;
    position: relative;
    color: var(--white-color);
    content: "|";
}

#ce_wg_hero_banner .hero-banner-breadcrumb .breadcrumb-text {
    color: var(--white-color);
}

#ce_wg_hero_banner .breadcrumb-teaser {
    color: var(--white-color);
    text-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
}

#ce_wg_hero_banner .breadcrumb-link {
    text-decoration: none;
}

#ce_wg_hero_banner .hero-banner-video {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 700px;
    margin-bottom: 10px;
}

#ce_wg_hero_banner video {
    max-height: none;
    pointer-events: none;
    filter: brightness(60%);
    aspect-ratio: 16 / 9;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#ce_wg_hero_banner .hero-banner-flex-wrapper {
    display: flex;
    background-size: cover;
    background-position: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 700px;
    margin-bottom: 10px;
}

#ce_wg_hero_banner img {
    filter: brightness(60%);
    height: 100%;
}

#ce_wg_hero_banner .overlay-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 2;
    filter: unset;
}

#ce_wg_hero_banner figure.image {
    display: grid;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    #ce_wg_hero_banner .hero-banner-teaser .hero-banner-headline {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-inner-icon {
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    #ce_wg_hero_banner .hero-banner-video {
        min-height: 520px !important;
    }

    #ce_wg_hero_banner .hero-banner-flex-wrapper {
        min-height: 520px !important;
    }
    
    #ce_wg_hero_banner .hero-banner-inner-icon.has-link p {
        padding: 0;
    }

    #ce_wg_hero_banner .hero-banner-inner-icon {
        width: 250px;
        height: 250px;
        margin-top: 0;
    }

    #ce_wg_hero_banner .hero-banner-inner-icon:before {
        background-size: 250px;
    }

    #ce_wg_hero_banner .hero-banner-teaser .hero-banner-teaser-box {
        flex-direction: column !important;
        padding-bottom: 5rem;
    }
}

@media (max-width: 767.98px) {
    #ce_wg_hero_banner .hero-banner-inner-icon {
        width: 200px;
        height: 200px;
        margin-top: 0;
    }

    #ce_wg_hero_banner .hero-banner-inner-icon:before {
        background-size: 200px;
    }

    #ce_wg_hero_banner .wrap .hero-banner-teaser-box .hero-banner-inner-icon {
        order: 0;
    }

    #ce_wg_hero_banner .wrap .hero-banner-teaser-box ol.breadcrumb {
        order: 1;
    }

    #ce_wg_hero_banner .wrap .hero-banner-teaser-box .hero-banner-headline {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    #ce_wg_hero_banner .hero-banner-video {
        min-height: 435px !important;
    }

    #ce_wg_hero_banner .hero-banner-flex-wrapper {
        min-height: 435px !important;
    }

    #ce_wg_hero_banner .wrap .hero-banner-teaser-box {
        /* max-width: calc(100vw - 40px); */
        position: relative;
        --bs-gutter-x: 40px;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 3rem;
    }

    #ce_wg_hero_banner .hero-banner-icon {
        order: 1;
    }

    #ce_wg_hero_banner .hero-banner-breadcrumb {
        order: 2;
    }

    #ce_wg_hero_banner .hero-banner-headline {
        order: 3;
    }
}

@media (max-width: 413.98px) {
    #ce_wg_hero_banner .wrap .hero-banner-teaser-box ol.breadcrumb {
        padding-top: 0;
    }

    #ce_wg_hero_banner .wrap .hero-banner-teaser-box {
        max-width: calc(100vw - 20px);
    }
}


@media (min-width: 576px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser>div {
        max-width: 540px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }

    #ce_wg_hero_banner .hero-banner-teaser-box {
        display: grid;
        grid-template-areas:
            "breadcrumb icon"
            "headline   icon";
        grid-template-columns: 1fr auto;
        row-gap: 0.3rem;
        column-gap: 2rem;
        align-items: center;
    }

    #ce_wg_hero_banner .hero-banner-teaser-box.no-icon {
        grid-template-areas:
            "breadcrumb icon"
            "headline headline";
    }

    #ce_wg_hero_banner .hero-banner-breadcrumb {
        grid-area: breadcrumb;
        align-self: end;
    }

    #ce_wg_hero_banner .hero-banner-headline {
        grid-area: headline;
    }

    #ce_wg_hero_banner .hero-banner-icon {
        grid-area: icon;
        height: 100%;
        display: flex;
        align-items: end;
    }
}

@media (min-width: 768px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser>div {
        max-width: 720px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }
}

@media (min-width: 991px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser>div {
        max-width: 940px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #ce_wg_hero_banner .hero-banner-teaser-box {
        padding-bottom: 5rem !important;
    }
}

@media (min-width: 1200px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser>div {
        max-width: 1140px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }
}

@media (min-width: 1400px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser>div {
        max-width: 1320px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }
}

@media (min-width: 1400px) {
    #ce_wg_hero_banner .hero-banner-teaser {
        width: 100%;
    }

    #ce_wg_hero_banner .hero-banner-teaser > div {
        max-width: 1320px;
        margin: auto;
        padding-right: var(--padding-20) !important;
        padding-left: var(--padding-20) !important;
    }
}

















