/*=============== HERO SECTION ===============*/
.vorsorge-hero {
    margin-top: 3.5rem;
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #592131, #8b3a4b);
}

.vorsorge-hero__title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center; /* Sicherstellen, dass der Text zentriert ist */
    word-wrap: break-word; /* Zeilenumbruch bei langen Wörtern */
}

/* Responsives Design */
@media screen and (max-width: 768px) {
    .vorsorge-hero__title {
        font-size: 2rem; /* Kleinere Schriftgröße für Mobilgeräte */
        line-height: 1.4; /* Verbessert die Lesbarkeit */
        margin-bottom: 1rem; /* Weniger Abstand nach unten */
    }
}


.vorsorge-hero__text {
    font-size: 1.3rem;
    color: lightgray;
    line-height: 1.6;
}

/*=============== WHY CHOOSE SECTION ===============*/
.vorsorge-why {
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.vorsorge-why__title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
}

.vorsorge-why__text {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vorsorge-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vorsorge-why__item {
    text-align: center;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vorsorge-why__item:hover {
    transform: translateY(-5px);
}

.vorsorge-why__item i {
    font-size: 2.5rem;
    color: #592131;
    margin-bottom: 1rem;
}

.vorsorge-why__item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vorsorge-why__item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/*=============== HOW TO SECTION ===============*/
.vorsorge-how {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #592131, #8b3a4b);
}

.vorsorge-how__title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: bold;
    color: white;
}

.vorsorge-how__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.vorsorge-step {
    flex: 1 1 300px;
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vorsorge-step:hover {
    transform: translateY(-5px);
}

.vorsorge-step__icon i {
    font-size: 2.5rem;
    color: #592131;
    margin-bottom: 1rem;
}

.vorsorge-step h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vorsorge-step p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/*=============== CONTACT SECTION ===============*/
.vorsorge-contact {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #ffffff;
}

.vorsorge-contact__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.vorsorge-contact__text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.vorsorge-contact__button {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: #592131;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.vorsorge-contact__button:hover {
    background-color: #a30000;
    transform: translateY(-3px);
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1024px) {
    .vorsorge-why__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .vorsorge-how__steps {
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .vorsorge-why__grid {
        grid-template-columns: 1fr;
    }

    .vorsorge-contact__button {
        font-size: 1rem;
    }
}
