/**
 * FAQ Akkordeon Styles
 */

.erdbeerfeld-faq {
    max-width: 800px;
    margin: 40px auto;
}

.erdbeerfeld-faq__heading {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px;
    text-align: center;
}

/* Kategorie-Gruppen */
.erdbeerfeld-faq__gruppe {
    margin-top: 32px;
}

.erdbeerfeld-faq__kategorie {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dc2626;
}

/* FAQ Items */
.erdbeerfeld-faq__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.erdbeerfeld-faq__item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.erdbeerfeld-faq__item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.erdbeerfeld-faq__item.is-open {
    border-color: #dc2626;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.08);
}

/* Frage (Button) */
.erdbeerfeld-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    transition: color 0.2s;
}

.erdbeerfeld-faq__question:hover {
    color: #dc2626;
}

.erdbeerfeld-faq__item.is-open .erdbeerfeld-faq__question {
    color: #dc2626;
}

/* Chevron */
.erdbeerfeld-faq__chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.erdbeerfeld-faq__item.is-open .erdbeerfeld-faq__chevron {
    transform: rotate(180deg);
    color: #dc2626;
}

/* Antwort */
.erdbeerfeld-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.erdbeerfeld-faq__answer-inner {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.erdbeerfeld-faq__answer-inner p {
    margin: 0 0 12px;
}

.erdbeerfeld-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

.erdbeerfeld-faq__answer-inner ul,
.erdbeerfeld-faq__answer-inner ol {
    margin: 8px 0 12px 20px;
    padding: 0;
}

.erdbeerfeld-faq__answer-inner li {
    margin-bottom: 6px;
}

.erdbeerfeld-faq__answer-inner strong {
    color: #1f2937;
}

/* Mobile */
@media (max-width: 768px) {
    .erdbeerfeld-faq {
        margin: 24px auto;
    }

    .erdbeerfeld-faq__heading {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .erdbeerfeld-faq__question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .erdbeerfeld-faq__answer-inner {
        padding: 0 16px 16px;
        font-size: 14px;
    }
}
