/* ==========================================================================
   FAQ Page Styles — en/faq.html
   Matches gutschein/nausea page design system
   ========================================================================== */

/* ── Section anchors (sticky header offset) ── */
[id] {
    scroll-margin-top: 80px;
}

/* ── FAQ Category Headings ── */
.faq-category {
    margin-top: 60px;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-category__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.faq-category__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.faq-category__icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-category__header h2 {
    color: var(--primary, #0056b3);
    font-size: 1.8rem;
    margin: 0;
    text-wrap: balance;
}

/* ── FAQ Grid ── */
.faq-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FAQ Item Cards ── */
.faq-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.12));
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--text-dark, #1a1a1a);
    font-size: 1.1rem;
    margin: 0 0 12px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-body, #444);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── FAQ Section Backgrounds (alternating) ── */
.faq-section {
    padding: 80px 0;
}

.faq-section--alt {
    background: var(--bg-light, #f8f9fa);
}

/* ── CTA Section ── */
.faq-cta {
    background: linear-gradient(135deg, #003c78 0%, #0056b3 50%, #1a6bc4 100%);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.faq-cta h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
    text-wrap: balance;
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.faq-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* White outline button for dark backgrounds */
.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .faq-category__header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 48px 0;
    }

    .faq-cta {
        padding: 48px 0;
    }

    .faq-cta h2 {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item {
        transition: none;
    }
}