/*=============== HERO SECTION ===============*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/hero-bar.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Abdunkelung des Bildes */
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin: 0 auto;
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        background: url('../images/hero-bar.jpg') center/cover no-repeat;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }
}



/*=============== IMAGE WITH TEXT SECTION ===============*/
.image-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    gap: 3rem;
}

.image-text__block {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}

.image-text__block.reverse {
    flex-direction: row-reverse;
}

.image-text__image {
    width: 50%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-text__content {
    width: 50%;
    max-width: 500px;
    text-align: center;
}

.image-text__title {
    font-size: 2rem;
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.image-text__description {
    font-size: 1.125rem;
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
}

.image-text__link {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color); /* Passe die Farbe entsprechend deiner Website an */
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.image-text__link:hover {
    background-color: #6b1fb2; /* Eine dunklere Version der Primärfarbe */
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .image-text__block {
        flex-direction: column;
    }

    .image-text__block.reverse {
        flex-direction: column;
    }

    .image-text__image {
        width: 100%;
    }

    .image-text__content {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }

    .image-text__title {
        font-size: 1.75rem;
    }

    .image-text__description {
        font-size: 1rem;
    }

    .image-text__link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}