/* =============== GLOBAL STYLES =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =============== HERO SECTION =============== */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #592131, #8b3a4b);
    color: white;
    margin-top: 3.5rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* =============== EINLEITUNG =============== */
.intro {
    padding: 4rem 1rem;
    text-align: center;
}

.intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* =============== INFO SECTION =============== */
.info {
    padding: 5rem 1rem;
    text-align: center;
}

.info-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.info-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.info-item i {
    font-size: 3rem;
    color: #592131;
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1rem;
    color: #555;
}

/* =============== DETAILS SECTION =============== */
.details {
    padding: 5rem 1rem;
    background: #fff;
}

.details h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.details-intro {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #666;
}

/* Flexibles Grid-System */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.details-item {
    position: relative;
    padding-left: 50px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

/* Icons als visuelle Marker */
.details-item i {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 2rem;
    color: #592131;
}

/* =============== RESPONSIVE DESIGN =============== */
@media screen and (max-width: 768px) {
    .details h2 {
        font-size: 2rem;
    }

    .details-intro {
        font-size: 1.1rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}


/* =============== FAQ SECTION =============== */
.faq {
    background: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

.faq-container h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    color: #592131;
    border-bottom: 2px solid #592131;
    transition: all 0.3s ease;
}

.accordion:hover {
    color: #592131;
}

.accordion i {
    font-size: 1.5rem;
}

.accordion-content {
    display: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: #f8f9fa;
    color: #555;
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
}

.accordion-content p {
    margin: 0;
}

.active .accordion-content {
    display: block;
}

/* =============== CTA SECTION =============== */
.cta {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #F1AD48, #D98A2A);
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #592131;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #592131;
    color: white;
}

/* =============== ANIMATION =============== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============== RESPONSIVE DESIGN =============== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .info-container h2 {
        font-size: 2rem;
    }

    .faq-container h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .info-container h2 {
        font-size: 1.8rem;
    }

    .faq-container h2 {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
    }
}

/* =============== GESETZLICHE ERBFOLGE SECTION =============== */
.inheritance {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #592131, #8b3a4b);
}

.inheritance h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: white;
}

.inheritance-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: lightgray;
}

/* Grid-Layout für bessere Darstellung */
.inheritance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.inheritance-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.inheritance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.inheritance-item i {
    font-size: 3rem;
    color: #592131;
    margin-bottom: 1rem;
}

.inheritance-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.inheritance-item p {
    font-size: 1rem;
    color: #555;
}

/* =============== RESPONSIVE DESIGN =============== */
@media screen and (max-width: 768px) {
    .inheritance h2 {
        font-size: 2rem;
    }

    .inheritance-intro {
        font-size: 1.1rem;
    }

    .inheritance-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .inheritance-item {
        padding: 1.5rem;
    }

    .inheritance-item h3 {
        font-size: 1.3rem;
    }

    .inheritance-item p {
        font-size: 0.95rem;
    }
}

