body {
    background-color: white;
}
/*=============== HERO SECTION ===============*/
.bestattung-hero {
    padding: 3.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #592131, #8b3a4b);
    margin-top: 5.5rem;
}

.bestattung-hero__title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center; /* Sicherstellen, dass der Titel zentriert ist */
    word-wrap: break-word; /* Zeilenumbruch bei langen Wörtern */
    margin-left: auto; /* Horizontale Zentrierung */
    margin-right: auto; /* Horizontale Zentrierung */
}

.bestattung-hero__text {
    font-size: 1.2rem;
    color: #fff;
    text-align: center; /* Text zentrieren */
    margin-left: auto; /* Zentrierung sichern */
    margin-right: auto; /* Zentrierung sichern */
}

/*=============== IMAGE AND TEXT SECTION ===============*/
.bestattung-info {
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.bestattung-info__container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bestattung-info__image {
    flex: 1;
}

.bestattung-info__img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bestattung-info__text {
    flex: 1;
    text-align: left;
}

.bestattung-info__text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.bestattung-info__text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 768px) {
    .bestattung-info__container {
        flex-direction: column;
    }

    .bestattung-info__text {
        text-align: center;
    }

    .bestattung-info__text h2 {
        font-size: 1.8rem;
    }

    .bestattung-info__text p {
        font-size: 0.9rem;
    }

    .bestattung-hero__title {
        font-size: 2rem; /* Kleinere Schriftgröße auf Mobilgeräten */
        line-height: 1.2; /* Reduzierter Zeilenabstand für bessere Lesbarkeit */
    }

    .bestattung-hero__text {
        font-size: 1rem; /* Kleinere Schriftgröße auf Mobilgeräten */
    }

    .bestattung-hero {
        margin-top: 3.5rem;
    }
}

/*=============== CONTACT SECTION ===============*/
.bestattung-contact {
    background-color: #592131;
    padding: 3rem 1.5rem;
    text-align: center;
}

.bestattung-contact .container {
    max-width: 800px;
    margin: 0 auto;
}

.bestattung-contact__title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bestattung-contact__text {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.bestattung-contact__button {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: #F1AD48;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .bestattung-contact {
        padding: 2rem 1rem;
    }
    
    .bestattung-contact__title {
        font-size: 1.8rem;
    }

    .bestattung-contact__text {
        font-size: 1rem;
    }

    .bestattung-contact__button {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

/*=============== VORTEILE & NACHTEILE SECTION ===============*/
.bestattung-vor-und-nachteile {
    padding: 3rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bestattung-vor-und-nachteile__container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.bestattung-vorteile, .bestattung-nachteile {
    flex: 1;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bestattung-vorteile h3, .bestattung-nachteile h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bestattung-vorteile h3::before {
    content: "✔";
    font-size: 1.5rem;
    color: #2E8B57;
}

.bestattung-nachteile h3::before {
    content: "✖";
    font-size: 1.5rem;
    color: #C53030;
}

.bestattung-vorteile ul, .bestattung-nachteile ul {
    list-style: none;
    padding: 0;
}

.bestattung-vorteile li, .bestattung-nachteile li {
    font-size: 1.2rem;
    color: #555;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bestattung-vorteile li::before {
    content: "✔";
    color: #2E8B57;
    font-weight: bold;
}

.bestattung-nachteile li::before {
    content: "✖";
    color: #C53030;
    font-weight: bold;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .bestattung-vor-und-nachteile__container {
        flex-direction: column;
    }

    .bestattung-vorteile, .bestattung-nachteile {
        width: 100%;
    }

    .bestattung-vorteile h3, .bestattung-nachteile h3 {
        font-size: 1.6rem;
    }

    .bestattung-vorteile li, .bestattung-nachteile li {
        font-size: 1.1rem;
    }
}

