/* Styles for the ebook offer page (ebook.html). */

/* ── Top bar ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(254, 253, 251, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
}

.topbar-logo {
    font-family: Fraunces, Georgia, serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--sage-deep);
}

.topbar-logo span {
    color: var(--sage);
}

.topbar a.back {
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: none;
}

.topbar a.back:hover {
    color: var(--sage-dark);
}

/* ── Offer hero ── */
.offer {
    padding: 3.5rem 0 1rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.offer-cover {
    position: sticky;
    top: 90px;
}

.offer-cover img {
    width: 100%;
    max-width: 540px;
    display: block;
    margin-inline: auto;
    box-shadow: 0 18px 44px rgba(31, 69, 52, 0.22);
}

.offer-body .tag {
    display: inline-block;
    background: var(--sand);
    color: #8a6a3b;
    border-radius: 999px;
    padding: 0.3em 1em;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.offer-body h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 0.3em;
}

.offer-sub {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

/* Preis-Zeile wie Referenz: alt durchgestrichen, neu als Pill, Rabatt-Badge */
.price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.4rem 0 1.6rem;
}

.price-row .preis-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--muted);
}

.price-row .preis-alt {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 1.15rem;
}

.price-row .preis-neu {
    background: var(--sage);
    color: #fff;
    font-weight: 700;
    font-size: 1.45rem;
    border-radius: 10px;
    padding: 0.35em 0.8em;
}

.price-row .preis-neu small {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-row .badge-rabatt {
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 999px;
    padding: 0.35em 0.8em;
}

/* ── Content sections ── */
.ebook-section {
    padding: 3.2rem 0 0;
    width: min(860px, 92vw);
    margin-inline: auto;
}

.ebook-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.ebook-section p {
    color: var(--muted);
}

/* Boni */
.boni {
    margin: 1.6rem 0 0;
    background: linear-gradient(120deg, var(--sand), #fff 60%);
}

/* Boni-Label (weiterhin genutzt) */
.teil-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sage);
    margin-bottom: 0.4rem;
}

.boni .inner-box {
    padding: 1.8rem 2rem;
}

.boni h3 {
    font-size: 1.35rem;
}

.boni p {
    margin: 0;
    color: var(--muted);
}

/* Am Ende hast du / Hard Facts */
.ende-liste,
.hard-facts {
    width: min(860px, 92vw);
    margin-inline: auto;
}

.ende-liste {
    list-style: none;
    padding: 1.4rem 0 0;
    margin-bottom: 0;
}

.ende-liste li {
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.7em;
    font-size: 1.05rem;
}

.ende-liste li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 700;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding-top: 1.6rem;
}

.fact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.3rem 1.4rem;
}

.fact b {
    display: block;
    font-family: Fraunces, Georgia, serif;
    color: var(--sage-dark);
    font-size: 1.15rem;
    margin-bottom: 0.25em;
}

.fact span {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Abschluss-Punch */
.punch {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sage-dark);
    margin: 1.2rem 0 0;
}

/* FAQ */
.ebook-faq {
    display: grid;
    gap: 0.8rem;
    padding-top: 1.6rem;
}

.ebook-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
}

.ebook-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.02rem;
}

.ebook-faq details p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Abschluss-CTA */
.abschluss {
    margin-top: 3.5rem;
    background: linear-gradient(160deg, var(--sage-deep), var(--sage-dark));
    color: #eef5f0;
    padding: 3.5rem 0;
    text-align: center;
}

.abschluss h2 {
    color: #fff;
}

.abschluss p {
    color: #e3f0e8;
    max-width: 36em;
    margin-inline: auto;
}

.abschluss .btn {
    margin-top: 1.2rem;
    font-size: 1.1rem;
}

.abschluss .preis {
    justify-content: center;
    margin-bottom: 0.4rem;
}

.abschluss .preis b {
    font-size: 2.4rem;
}

.abschluss .hinweis {
    font-size: 0.875rem;
    color: #d5e4da;
    margin: 0.8rem 0 0;
}

/* Footer-Anpassung: keine Extra-Abstandssumme */
.ebook-page footer {
    margin-top: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
    .offer-cover {
        position: static;
        max-width: none;
        margin-inline: 0;
    }
    .offer-cover img {
        width: 100%;
        max-width: 100%;
    }
    .facts-grid {
        grid-template-columns: 1fr;
    }
}
