/*=============== 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;
}

.bestattung-hero__text {
    font-size: 1.2rem;
    color: #fff;
}

/*=============== CARDS SECTION ===============*/
.bestattung-cards {
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.bestattung-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Genau 3 Karten pro Reihe */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card__icon {
    font-size: 2.5rem;
    color: #592131;
    margin-bottom: 1rem;
}

.card__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.card__text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/*=============== MEHR BUTTON ===============*/
.card__button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #592131;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.card__button:hover {
    background-color: #F1AD48;
    transform: translateY(-2px);
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1024px) {
    .bestattung-cards__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Karten pro Reihe auf Tablets */
    }
}

@media screen and (max-width: 768px) {
    .bestattung-cards__grid {
        grid-template-columns: 1fr; /* 1 Karte pro Reihe auf Mobilgeräten */
    }

    .bestattung-hero__title {
        font-size: 2rem;
    }

    .bestattung-hero__text {
        font-size: 1rem;
    }

    .card__icon {
        font-size: 2rem;
    }

    .card__title {
        font-size: 1.3rem;
    }

    .card__text {
        font-size: 0.9rem;
    }

    .card__button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    .bestattung-hero {
        margin-top: 3.5rem;
    }
    
}
