/* =====================================================================
   Verkaufsseite (produkt.php) — nutzt die Variablen aus style.css
   ===================================================================== */

.pv-hero {
    background: linear-gradient(160deg, #f5f9fb 0%, #eef5f8 100%);
    padding: 40px 0 48px;
    border-bottom: 1px solid var(--border);
}
.pv-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.pv-hero-main h1 {
    font-size: 34px;
    line-height: 1.2;
    color: var(--text);
    margin: 12px 0 14px;
}
.pv-intro { font-size: 18px; color: var(--text-light); line-height: 1.6; margin-bottom: 22px; }

.pv-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-badge {
    display: inline-block; background: #e0f2fe; color: #075985;
    padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.pv-badge-type { background: var(--orange); color: #fff; }

.pv-video {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000;
}
.pv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pv-hero-img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); }

/* Seitliche Fakten + Kaufbox */
.pv-hero-side {
    position: sticky; top: 20px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.pv-facts { list-style: none; margin: 0; padding: 18px 20px; }
.pv-facts li {
    display: grid; grid-template-columns: 26px 1fr auto; align-items: center;
    gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px;
}
.pv-facts li:last-child { border-bottom: 0; }
.pv-fact-ic { text-align: center; }
.pv-fact-label { color: var(--text-light); }
.pv-fact-val { font-weight: 600; color: var(--text); text-align: right; }

.buy-box { background: var(--secondary); padding: 20px; border-top: 1px solid var(--border); }
.buy-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 14px; }
.buy-price-now { font-size: 32px; font-weight: 800; color: var(--primary); }
.buy-price-old { font-size: 18px; color: var(--text-light); text-decoration: line-through; }
.btn-buy { display: block; width: 100%; text-align: center; font-size: 17px; padding: 15px; }
.buy-hint { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 10px; }

/* Body-Abschnitte */
.pv-body { padding: 10px 0 40px; }
.pv-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.pv-section:last-child { border-bottom: 0; }
.pv-section h2 { font-size: 24px; color: var(--text); margin-bottom: 16px; }
.pv-section p { color: var(--text); line-height: 1.7; font-size: 16px; }
.pv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pv-list li { position: relative; padding-left: 30px; line-height: 1.6; font-size: 16px; }
.pv-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.pv-list-check li::before { content: "✔️"; }
.pv-list-cross li::before { content: "✖️"; }

.pv-chapters { margin: 0; padding-left: 0; list-style: none; counter-reset: ch; display: grid; gap: 8px; }
.pv-chapters li {
    counter-increment: ch; display: flex; align-items: baseline; gap: 12px;
    padding: 12px 14px; background: var(--secondary); border-radius: 10px; flex-wrap: wrap;
}
.pv-chapters li::before {
    content: counter(ch); flex: 0 0 26px; height: 26px; line-height: 26px; text-align: center;
    background: var(--primary); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700;
}
.pv-chapter-title { font-weight: 600; }
.pv-chapter-detail { color: var(--text-light); }
.pv-chapter-dur { margin-left: auto; color: var(--text-light); font-size: 14px; white-space: nowrap; }

.pv-instructor { display: flex; gap: 24px; align-items: flex-start; }
.pv-instructor > div { flex: 1; min-width: 0; }
.pv-instructor-img { flex: 0 0 120px; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }

.pv-avg { font-size: 16px; color: var(--orange-dark); font-weight: 700; margin-left: 6px; }
.pv-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pv-review { margin: 0; padding: 18px; background: var(--secondary); border-radius: 12px; border-left: 4px solid var(--orange); }
.pv-review p { font-style: italic; margin: 6px 0 10px; }
.pv-review cite { color: var(--text-light); font-style: normal; font-weight: 600; }
.pv-stars { color: #f59e0b; letter-spacing: 2px; }

.pv-faqs { display: grid; gap: 10px; }
.pv-faq { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pv-faq > summary {
    cursor: pointer; padding: 14px 16px; font-weight: 600; background: #fff; list-style: none;
}
.pv-faq > summary::-webkit-details-marker { display: none; }
.pv-faq > summary::before { content: "＋ "; color: var(--primary); font-weight: 700; }
.pv-faq[open] > summary::before { content: "－ "; }
.pv-faq-a { padding: 0 16px 16px; color: var(--text); line-height: 1.6; }

.pv-final-cta { text-align: center; }
.pv-final-cta h2 { font-size: 26px; }
.pv-final-cta .buy-box { max-width: 420px; margin: 16px auto 0; border-radius: 14px; border-top: 0; }

@media (max-width: 860px) {
    .pv-hero-grid { grid-template-columns: 1fr; }
    .pv-hero-side { position: static; }
    .pv-two { grid-template-columns: 1fr; }
    .pv-instructor { flex-direction: column; }
    .pv-hero-main h1 { font-size: 27px; }
}

/* Fließtext-Abschnitt "Der Kurs im Detail" (Uwe, Punkt 11: 600-1000 Wörter) */
.pv-langtext p { line-height: 1.75; margin: 0 0 14px; color: var(--text); }
.pv-langtext p:last-child { margin-bottom: 0; }
.pv-langtext h3 { font-size: 17px; margin: 24px 0 10px; color: var(--text); }
.pv-langtext h3:first-of-type { margin-top: 8px; }
