body.page-template-page-home main .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-width: calc(1200px + 40px);
    padding-right: 20px;
    padding-left: 20px;
}

/* Header image */
.block-homepage-header {
    position: relative;
    background: #AECBC9;
    height: 576px;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.block-homepage-header .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.block-homepage-header .header-bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(236.32deg, rgba(0, 0, 0, 0) 34.96%, rgba(0, 0, 0, 0.4) 77.88%);
}
.block-homepage-header .header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-homepage-header .homepage-header {
    position: relative;
}
.block-homepage-header .homepage-header .header-image {
    width: 50%;
}
.homepage-header .header-text {
    margin-top: 30px;
    width: 35%;
    font-family: Titillium Web;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
}
.homepage-header .header-text svg {
    display: inline-block;
    vertical-align: bottom;
}

/******************** Logo wall *******************/
body.page-template-page-home .content-logo-section {
    padding: 80px 0;
}
body.page-template-page-home .content-logo-section .content-logo-section-headline {
    font-family: Titillium Web !important;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    text-align: center;
    max-width: inherit;
    color: #004F94;
}
body.page-template-page-home .content-logo-section .content-logo-section-text {
    margin: 30px auto 0;
}
body.page-template-page-home .content-logo-section .content-logo-section-text p {
    margin-top: 0;
    font-family: Titillium Web !important;
    color: #003366;
    font-size: 20px;
    line-height: 28px;
}

/* Responsive */
@media only screen and (max-width: 767px) {
    .block-homepage-header {
        height: 360px;
        padding: 20px 0;
    }
    .block-homepage-header .homepage-header .header-image {
        width: 60%;
    }
    .block-homepage-header .header-bg img {
        object-position: 78% center;
    }
    .homepage-header .header-text {
        margin-top: 15px;
        width: 100%;
    }
    /****************/
    body.page-template-page-home .content-logo-section {
        padding: 40px;
        text-align: left;
    }
    body.page-template-page-home .content-logo-section .content-logo-section-headline {
        font-size: 25px;
        line-height: 30px;
        text-align: left;
    }
    body.page-template-page-home .content-logo-section .content-logo-section-text {
        margin: 15px auto 0;
    }
    body.page-template-page-home .content-logo-section .content-logo-section-img {
        margin-top: 30px;
    }
}

/* =========================================
   Homepage Hero Slider
   ========================================= */

.block-homepage-header.hero-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slider .hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.hero-slider .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hintergrund */
.hero-slider .hero-slide .header-bg {
    position: absolute;
    inset: 0;
}

.hero-slider .hero-slide .header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inhalt wieder wie beim bisherigen Header positionieren */
.hero-slider .hero-slide .homepage-header {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 80px;
    z-index: 3;
}

/* Navigation */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 48px;
    height: 48px;

    border: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Punkte unten */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;

    background: transparent;
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
}


/* Mobile */
@media only screen and (max-width: 767px) {

    .hero-slider .hero-slide .homepage-header {
        bottom: 20px;
    }

    .hero-prev,
    .hero-next {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-dots {
        bottom: 10px;
    }
}