/* =========================================
   Block: FAQ (kss/lswn-faq)
   Jugendstil-Karten im Seitenrhythmus (--lswn-edge/--lswn-section),
   asymmetrische Radien wie im Rest des Designs (siehe --lswn-radius-*).
   ========================================= */

.lswn-faq {
    position: relative;
    z-index: 4;
    max-width: 860px;
    margin: 0 auto;
}

/* --- Kopf --- */

.lswn-faq__header {
    text-align: center;
    margin-bottom: clamp(36px, 6vw, 64px);
}

.lswn-faq__label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--lswn-gold);
    margin-bottom: 18px;
}

.lswn-faq__headline {
    font-family: var(--lswn-serif);
    font-weight: 400;
    line-height: var(--lswn-leading-heading);
    letter-spacing: var(--lswn-tracking-heading);
    font-size: var(--lswn-text-h2);
    color: var(--lswn-wine);
    margin: 0 0 14px;
}
.lswn-faq__headline i { font-style: italic; color: var(--lswn-gold); }

.lswn-faq__subheadline {
    color: var(--lswn-ink-soft);
    font-size: 16.5px;
    margin: 0;
}

/* --- Liste --- */

.lswn-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (max-width: 450px) {
    .lswn-faq__list {
        padding: 0 2rem;
    }
}

/* --- Karte --- */

.lswn-faq__card {
    background: linear-gradient(172deg, rgba(253, 246, 242, .95), rgba(249, 229, 229, .7));
    border: 1px solid rgba(176, 134, 47, .32);
    border-radius: var(--lswn-radius-sm);
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease;
}
.lswn-faq__card:hover {
    border-color: rgba(176, 134, 47, .55);
}
.lswn-faq__card.is-open {
    border-color: var(--lswn-gold);
    box-shadow: 0 20px 44px -30px rgba(86, 36, 47, .4);
}

/* --- Trigger --- */

.lswn-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer; /* Fallback ohne JS; bei aktivem Custom-Cursor (html.lswn-has-cursor)
                        übernimmt body{cursor:none} global, kein Override hier nötig */
    text-align: left;
    color: inherit;
    font-family: inherit;
}

.lswn-faq__trigger:focus-visible {
    outline: 1px solid var(--lswn-gold);
    outline-offset: -1px;
}

.lswn-faq__question {
    font-family: var(--lswn-serif);
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--lswn-wine);
    line-height: 1.5;
}
.lswn-faq__card.is-open .lswn-faq__question { color: var(--lswn-wine-dk); }

/* --- Icon --- */

.lswn-faq__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lswn-gold);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}
.lswn-faq__icon svg { width: 100%; height: 100%; }
.lswn-faq__card.is-open .lswn-faq__icon { transform: rotate(180deg); }

/* --- Panel --- */

.lswn-faq__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s cubic-bezier(.2, .7, .3, 1);
}
.lswn-faq__panel:not([hidden]) {
    max-height: 1000px; /* Sicherheitswert — JS setzt die exakte Höhe */
}

.lswn-faq__answer {
    padding: 0 28px 26px;
    border-top: 1px solid rgba(176, 134, 47, .22);
    padding-top: 18px;
    color: var(--lswn-ink-soft);
    line-height: var(--lswn-leading-body);
}
.lswn-faq__answer p,
.lswn-faq__answer li,
.lswn-faq__answer a {
    font-size: 15.5px;
    color: var(--lswn-ink-soft);
    line-height: 1.78;
}
.lswn-faq__answer a { color: var(--lswn-wine); text-decoration: underline; }
.lswn-faq__answer p:first-child { margin-top: 0; }
.lswn-faq__answer p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
    .lswn-faq__trigger { padding: 18px 20px; }
    .lswn-faq__answer { padding: 0 20px 20px; }
}
