/* Produktseiten-Fakten — Faktenblock, die eine FAQ und der Vergleich auf
   Übersichtsseiten (lib/kategorie/kachelfakten/produktseite.class.php,
   kategorieseite.class.php, produktfaq.class.php).
   Doku: docs/technik/produktseiten-fakten.md
   Farben wie im Rest des Shops: Blau #2281c4, Orange #ff9600, Linien #e6ebef. */

.fw-pf {
    margin: 0 0 24px;
}
.fw-pf h2 {
    margin: 0 0 14px;
}

/* ── Faktenblock ───────────────────────────────────────────────────────── */
.fw-pf-daten__einleitung {
    font-size: 1.15em;
    line-height: 1.5;
    margin: 0 0 16px;
}
.fw-pf-daten__liste {
    margin: 0;
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.fw-pf-daten__zeile {
    display: grid;
    grid-template-columns: minmax(180px, 30%) 1fr;
    gap: 16px;
    padding: 12px 18px;
    border-top: 1px solid #eef2f5;
}
.fw-pf-daten__zeile:first-child {
    border-top: 0;
}
.fw-pf-daten__zeile dt {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.fw-pf-daten__zeile dt i {
    color: #2281c4;
    font-size: 1.05em;
}
.fw-pf-daten__zeile dd {
    margin: 0;
    color: #444;
    line-height: 1.5;
}
/* Hervorgehoben: Wunschformat und Preise — das, wonach zuerst gesucht wird */
.fw-pf-daten__zeile.is-hervor {
    background: #f3f8fc;
    box-shadow: inset 4px 0 0 #2281c4;
}
.fw-pf-daten__zeile.is-hervor dd {
    color: #222;
    font-weight: 600;
}
.fw-pf-daten__hinweis {
    font-size: 12.5px;
    color: #7a7a7a;
    margin: 8px 2px 0;
}

@media (max-width: 767px) {
    .fw-pf-daten__zeile {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 14px;
    }
}

/* ── Die eine FAQ (Akkordeon ohne JavaScript) ─────────────────────────── */
.fw-pf-faq__liste {
    border: 1px solid #e6ebef;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.fw-pf-faq__frage {
    border-top: 1px solid #eef2f5;
}
.fw-pf-faq__frage:first-child {
    border-top: 0;
}
.fw-pf-faq__frage summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 14px 48px 14px 18px;
}
.fw-pf-faq__frage summary::-webkit-details-marker {
    display: none;
}
.fw-pf-faq__frage summary h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}
.fw-pf-faq__frage summary::after {
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #2281c4;
    font-size: 1.2em;
    transition: transform 0.2s ease;
}
.fw-pf-faq__frage[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.fw-pf-faq__frage summary:hover h3,
.fw-pf-faq__frage[open] summary h3 {
    color: #2281c4;
}
.fw-pf-faq__frage summary:focus-visible {
    outline: 2px solid #2281c4;
    outline-offset: -2px;
}
.fw-pf-faq__antwort {
    padding: 0 18px 16px;
    color: #444;
    line-height: 1.6;
}
.fw-pf-faq__antwort p {
    margin: 0 0 10px;
}
.fw-pf-faq__antwort p:last-child,
.fw-pf-faq__antwort ul:last-child {
    margin-bottom: 0;
}
.fw-pf-faq__antwort ul {
    margin: 0 0 10px;
    padding-left: 20px;
    list-style: disc;
}
.fw-pf-faq__antwort li {
    list-style: disc;
    margin-bottom: 3px;
}
.fw-pf-faq__kontakt {
    margin: 10px 2px 0;
    color: #555;
}
.fw-pf-faq__kontakt i {
    color: #2281c4;
    margin-right: 4px;
}

/* ── Vergleich auf Übersichtsseiten ───────────────────────────────────── */
.fw-pf-vergleich__tabelle {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 12px;
    overflow: hidden;
}
.fw-pf-vergleich__tabelle th,
.fw-pf-vergleich__tabelle td {
    padding: 12px 14px;
    border-top: 1px solid #eef2f5;
    vertical-align: top;
    text-align: left;
    line-height: 1.45;
}
.fw-pf-vergleich__tabelle thead th {
    border-top: 0;
    background: #f6f8fa;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.fw-pf-vergleich__tabelle tbody th {
    font-weight: 600;
    white-space: nowrap;
}
.fw-pf-vergleich__tabelle tbody th a {
    color: #2281c4;
}
.fw-pf-vergleich__tabelle td.is-preis {
    font-weight: 600;
    color: #222;
}

/* Handy: jede Zeile wird eine Karte, die Spaltenköpfe stehen als Beschriftung davor */
@media (max-width: 767px) {
    .fw-pf-vergleich__tabelle,
    .fw-pf-vergleich__tabelle tbody,
    .fw-pf-vergleich__tabelle tr,
    .fw-pf-vergleich__tabelle th,
    .fw-pf-vergleich__tabelle td {
        display: block;
        width: 100%;
    }
    .fw-pf-vergleich__tabelle {
        border: 0;
        background: transparent;
    }
    .fw-pf-vergleich__tabelle thead {
        display: none;
    }
    .fw-pf-vergleich__tabelle tr {
        background: #fff;
        border: 1px solid #e6ebef;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    .fw-pf-vergleich__tabelle tbody th {
        border-top: 0;
        background: #f6f8fa;
        white-space: normal;
    }
    .fw-pf-vergleich__tabelle td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #7a7a7a;
        margin-bottom: 2px;
    }
}
