.custom-hero {
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.custom-hero-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 30px;
    overflow: hidden;
}

.hero-bg-video,
.hero-bg-image,
.hero-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    color: #fff;
    z-index: 2;
    animation: appear-hero-overlay 800ms ease-in-out;
    box-sizing: border-box;
    padding: 0px 80px 80px 80px;
}

.hero-module-container {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.hero-module-left-container {
    width: 900px;
    height: 100%;
    display: flex;
    align-items: end;
}

.hero-module-left-container-without-button {
    width: auto;
    height: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 25px;
}

.hero-module-left-container h1 {
    margin: 0;
    font-size: 60px;
    padding-bottom: 0;
    line-height: 0.9;
}

.hero-module-right-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    width: 600px;
    text-align: end;
    height: 100%;
    gap: 30px;

}

.hero-module-icon-container {
    height: 20%;
    width: 100%;
}

.hero-module-icon-container i {
    font-size: 25px;
}

@keyframes appear-hero-overlay {
    0% {
        transform: translateY(10%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 30px;
}

.hero-skeleton {
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}



/* -------------------- RESPONSIVE ab 1600px -------------------- */
@media (max-width: 1600px) {
    .custom-hero {
        /* Header ist 80px hoch */
        height: calc(100dvh - 30px);
    }

    .hero-module-container {
        flex-direction: column;
        align-items: start;
    }

    .hero-overlay {
        padding: 0px 30px 30px 30px;
        gap: 30px;
    }

    .hero-module-right-container {
        align-items: start;
        text-align: start;
        width: 70%;
        margin-top: 30px;
    }

    .hero-module-left-container {
        width: 70%;
    }

    .hero-module-left-container h1 {
        font-size: 50px;
        font-weight: 600;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 25px;
    }


}


@media (max-width: 500px) {

    .hero-module-left-container,
    .hero-module-right-container {
        width: 100%;
    }

}


.hero-bg-image {
    transition: filter 0.8s ease;
}

.hero-bg-image.blur {
    filter: blur(8px);
}