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

.hero__content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero__title {
    font-size: 2.5rem;
    font-family: var(--heading-font);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    font-family: var(--body-font);
    line-height: 1.5;
}

/*=============== HERO BUTTON ===============*/
.hero__button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-family: var(--heading-font);
    font-weight: var(--font-semi-bold);
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.hero__button:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
}
/*=============== 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);
}

@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;
    }
}

.text-section {
    background-color: rgba(75, 33, 66, 0.1); /* Sanfte Hintergrundfarbe */
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 1000px;
}

.text-section__content {
    font-size: 1.25rem;
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
}


/*=============== GRID STYLING FOR CARDS ===============*/
.grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
}

.grid__items {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.grid__item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    max-width: 350px;
    flex: 1 1 calc(33.33% - 2rem); /* Drei Karten nebeneinander mit Abstand */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid__image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.grid__title {
    font-size: 1.25rem;
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    margin: 1rem 0;
}

.grid__text {
    font-size: 1rem;
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    margin-top: 0.5rem;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .grid__items {
        flex-direction: column;
        gap: 1.5rem;
    }

    .grid__item {
        max-width: 100%;
    }
}
