/* ============================================================
   Dankeseite: Workbook-Angebot „Vom Kopf ins Notationsprogramm"

   Farben stammen aus dem Workbook selbst (Cover): Navy, Gold, Papier –
   die Seite soll aussehen wie das Produkt, das sie verkauft.

   Animationen laufen EINMAL, wenn ein Abschnitt ins Bild kommt:
   assets/js/workbook-angebot.js setzt dann .is-in. Alle Vorzustände
   hängen an .wb-js (setzt das Inline-Skript im <head>) – ohne JS und bei
   „Bewegung reduzieren" steht deshalb alles sofort im Endzustand.
   ============================================================ */

.wb,
.wb-done,
.dpage__confirm--kompakt {
    --wb-ink:       #0e1a33;   /* Cover-Titel */
    --wb-slate:     #3d475b;   /* Fließtext */
    --wb-gold:      #e8a33d;   /* Cover-Akzent */
    --wb-gold-soft: #f6dcae;
    --wb-ochre:     #8a6429;   /* Gold, das auf Papier als Schrift lesbar bleibt */
    --wb-paper:     #faf8f3;   /* Workbook-Papier */
    --wb-line:      #e4ded1;
    --wb-rust:      #a9492a;
    --wb-ease:      cubic-bezier(.2, .75, .2, 1);
}

.wb-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Abschnitt 1: Bestätigung mit Fortschrittsbalken ---------- */
.wb-done { max-width: 1080px; margin: 0 auto 28px; }
.wb-done__bar {
    height: 12px; border-radius: 99px; overflow: hidden;
    background: var(--wb-line);
}
.wb-done__fill {
    display: block; height: 100%; border-radius: inherit;
    background: linear-gradient(90deg, #f4c870, var(--wb-gold));
    transform-origin: left center;
}
.wb-done__row {
    display: flex; gap: 14px; align-items: flex-start;
    max-width: 760px; margin: 20px auto 0;
}
.wb-done__check { flex: none; width: 38px; height: 38px; }
.wb-done__check circle { fill: var(--wb-gold); }
.wb-done__check path {
    fill: none; stroke: var(--wb-ink); stroke-width: 3.2;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 24; stroke-dashoffset: 0;
}
.wb-done__title {
    margin: 2px 0 0; color: var(--wb-ink); font-weight: 700;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem); line-height: 1.3; letter-spacing: -0.01em;
}
.wb-done__sub { margin: 4px 0 0; }

/* Termin als schlanke Zeile unter der Bestätigung – nicht mehr als große Karte,
   die am Handy die Angebots-Überschrift aus dem ersten Bildschirm drängt.
   Eingerückt auf Höhe des Titels (Häkchen 38px + Abstand 14px). */
.dpage__confirm--kompakt {
    max-width: 760px; margin: -12px auto 0; padding: 0 0 0 52px;
    background: none; box-shadow: none; border-radius: 0; text-align: left;
}
.dpage__confirm--kompakt > .card {
    margin: 0 !important; padding: 11px 16px; box-shadow: none;
    background: var(--wb-paper); border: 1px solid var(--wb-line);
    border-left: 4px solid var(--wb-gold); border-radius: 12px;
}
.dpage__confirm--kompakt > .card p { font-size: .98rem; }
.dpage__confirm--kompakt > .card .btn { margin-top: 10px; }

@media (prefers-reduced-motion: no-preference) {
    .wb-done__fill        { animation: wb-fill 1.2s var(--wb-ease) .15s both; }
    .wb-done__check       { animation: wb-pop .45s var(--wb-ease) 1.15s both; }
    .wb-done__check path  { animation: wb-draw .4s ease-out 1.45s both; }
}
@keyframes wb-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wb-pop  { from { transform: scale(.4); opacity: 0; } }
@keyframes wb-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

/* ---------- Grundlagen des Angebots ---------- */
.wb { margin-top: 72px; color: var(--wb-slate); font-size: 1.05rem; }
.wb :where(h2) {
    color: var(--wb-ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12;
    font-size: clamp(1.75rem, 4.2vw, 2.6rem); margin: 0 0 .5em; max-width: 22ch;
}
.wb :where(h3) {
    color: var(--wb-ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
    font-size: clamp(1.1rem, 2.4vw, 1.28rem); margin: 0 0 .35em;
}
.wb :where(p) { max-width: 64ch; }
.wb-block { padding-top: clamp(64px, 10vw, 112px); }

/* Knopf: Gold wie der Cover-Akzent, Navy-Schrift (Kontrast > 7:1) */
.wb-cta {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 58px; margin-top: 24px; padding: 16px 30px;
    background: var(--wb-gold); color: var(--wb-ink);
    font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.25;
    text-align: center; text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(232, 163, 61, .35), inset 0 -3px 0 rgba(14, 26, 51, .14);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.wb-cta:hover {
    background: #efb14f; transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(232, 163, 61, .45), inset 0 -3px 0 rgba(14, 26, 51, .14);
}
.wb-cta:focus-visible { outline: 3px solid var(--wb-ink); outline-offset: 3px; }
.wb-center { text-align: center; max-width: none; }

/* Häkchen- und Kreuzlisten */
.wb-checks, .wb-crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.wb-checks li, .wb-crosses li { position: relative; padding-left: 38px; line-height: 1.45; }
.wb-checks li::before, .wb-crosses li::before {
    content: ""; position: absolute; left: 0; top: .05em; width: 26px; height: 26px; border-radius: 50%;
    background: var(--wb-gold) center / 15px no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4' fill='none' stroke='%230e1a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wb-crosses li::before {
    background: #ebe6db center / 12px no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%235d6578' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Abschnitt 2: Einstieg ---------- */
.wb-intro {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: clamp(28px, 5vw, 64px); align-items: center;
}
/* „Aber warte" als eigener Streifen über Text und Deckblatt: zentriert, weiß auf Navy,
   damit es sofort ins Auge springt (Wunsch Daniel, 12.09.2026). */
.wb .wb-stop {
    max-width: none; margin: 0 0 clamp(28px, 5vw, 48px);
    padding: clamp(20px, 3.6vw, 32px) clamp(18px, 4vw, 40px);
    background: var(--wb-ink); color: #fff; text-align: center;
    border-radius: 22px; box-shadow: 0 18px 44px rgba(14, 26, 51, .22);
    font-size: clamp(2rem, 5.8vw, 3.7rem); line-height: 1.05; letter-spacing: -0.03em;
}
.wb .wb-stop::after {   /* der goldene Strich vom Workbook-Cover */
    content: ""; display: block; width: 64px; height: 5px; margin: 16px auto 0;
    border-radius: 3px; background: var(--wb-gold);
}
.wb-intro__sub {   /* deutlich größer (Wunsch Daniel, 12.09.2026) – das Geschenk ist der Aufhänger */
    display: flex; align-items: center; gap: 16px; margin: 0 0 .8em;
    color: var(--wb-ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
}
.wb-intro__sub::before {   /* der goldene Strich vom Workbook-Cover */
    content: ""; flex: none; width: 44px; height: 5px; border-radius: 3px; background: var(--wb-gold);
}
.wb-intro__cover { margin: 0; }
.wb-intro__cover img {
    display: block; width: 100%; height: auto; border-radius: 20px;
    box-shadow: 0 24px 60px rgba(14, 26, 51, .18);
}

/* ---------- Preisbox (Abschnitt 2 und 8) ---------- */
.wb-price {
    display: grid; grid-template-columns: minmax(170px, 250px) 1fr;
    gap: clamp(20px, 4vw, 48px); align-items: center;
    margin-top: clamp(36px, 6vw, 56px); padding: clamp(24px, 4vw, 44px);
    background: var(--wb-paper); border: 1px solid var(--wb-line); border-radius: 24px;
    box-shadow: 0 18px 50px rgba(14, 26, 51, .10);
}
.wb-price__cover { margin: 0; }
.wb-price__cover img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.wb-price__name { margin: 0 0 12px; color: var(--wb-ink); font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.wb-price__nums { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.wb-price__old {
    position: relative; text-decoration: none; color: var(--wb-slate);
    font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 500;
}
.wb-price__old::after {
    content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 3px; border-radius: 2px;
    background: var(--wb-rust); transform: rotate(-9deg); transform-origin: left center;
}
.wb-price__new {
    display: inline-block; color: var(--wb-ink); font-weight: 700; line-height: 1;
    font-size: clamp(2.6rem, 7vw, 3.8rem); letter-spacing: -0.03em;
}
.wb-price__save {
    display: inline-block; margin: 14px 0 0; padding: 5px 13px; border-radius: 99px;
    background: var(--wb-gold-soft); color: var(--wb-ink); font-weight: 600; font-size: .95rem;
}
.wb-price__lead { margin: 22px 0 10px; color: var(--wb-ink); font-weight: 600; }
.wb-price__note { margin: 12px 0 0; font-size: .92rem; }

/* ---------- Abschnitt 3: das Problem ---------- */
.wb-pain__list { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 30px; }
.wb-pain__list::before {   /* gestrichelter Weg vom Kopf bis zur Kapelle */
    content: ""; position: absolute; left: 35px; top: 40px; bottom: 40px; width: 2px;
    background: repeating-linear-gradient(to bottom, #d6cfbf 0 6px, transparent 6px 12px);
}
.wb-pain__item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; }
.wb-pain__icon {
    display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px;
    background: var(--wb-paper); border: 1px solid var(--wb-line);
}
.wb-pain__folge {
    margin: 12px 0 0; padding: 10px 16px; border-left: 3px solid var(--wb-rust);
    background: #f6ebe4; color: #5a2a18; border-radius: 0 12px 12px 0;
}
.wb-pain__folge strong { color: var(--wb-rust); }

.wb-ico { width: 52px; height: 52px; overflow: visible; }
.wb-ico ellipse, .wb-ico circle { fill: var(--wb-ink); }
.wb-ico path { fill: none; stroke: var(--wb-ink); stroke-width: 2; stroke-linecap: round; }
.wb-ico .wb-ico__staff { stroke: #bdb5a4; stroke-width: 1.2; }
.wb-ico .wb-ico__q { fill: var(--wb-gold); font: 700 15px/1 var(--font-head); }
.wb-ico__n2 { opacity: .5; }
.wb-ico__n3 { opacity: .2; }
.wb-ico .wb-ico__empty { fill: none; stroke: var(--wb-gold); stroke-width: 1.8; stroke-dasharray: 4 4; }

.wb-good {
    margin-top: 44px; padding: 26px 30px; border-radius: 22px;
    background: var(--wb-ink); color: #dde2ec;
}
.wb-good p { margin: 0; max-width: 72ch; }
.wb-good strong { color: var(--wb-gold); }

/* ---------- Abschnitt 4: Inhalt ---------- */
.wb-inhalt__head {
    display: grid; grid-template-columns: 1fr minmax(260px, 430px);
    gap: clamp(24px, 5vw, 56px); align-items: center;
}
.wb-inhalt__photo { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(14, 26, 51, .16); }

.wb-parts { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--wb-line); }
.wb-parts li {
    display: grid; grid-template-columns: 70px 1fr; gap: 20px;
    padding: 24px 0; border-bottom: 1px solid var(--wb-line);
}
.wb-parts li p { margin: 0; }
.wb-parts__num { display: block; overflow: hidden; line-height: 1; padding-top: 2px; }
.wb-parts__digit {
    display: inline-block; color: var(--wb-gold); font-weight: 700;
    font-size: 2.8rem; letter-spacing: -0.04em; line-height: 1;
}

.wb-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.wb-extra { padding: 22px 24px; border-radius: 18px; background: var(--wb-paper); border: 1px solid var(--wb-line); }
.wb-extra p { margin: 0; }
.wb-extra--bonus { background: #fdf3e2; border-color: var(--wb-gold-soft); }
.wb-tag {
    display: inline-block; margin-bottom: 10px; padding: 3px 11px; border-radius: 99px;
    background: var(--wb-gold); color: var(--wb-ink); font-weight: 700; font-size: .88rem;
}
.wb-tag--ruhig { background: #ebe6db; }
.wb-also { margin-top: 32px; }

/* Drei Workbook-Seiten als Fächer */
.wb-pages {
    display: flex; justify-content: center; align-items: flex-start;
    max-width: 920px; margin: 60px auto 0; padding: 12px 0;
}
.wb-page {
    position: relative; flex: none; width: min(31%, 270px); margin: 0;
    transition: transform .8s var(--wb-ease);
}
.wb-page img {
    display: block; width: 100%; height: auto; border-radius: 6px; background: #fff;
    box-shadow: 0 18px 40px rgba(14, 26, 51, .20);
}
.wb-page figcaption { margin-top: 14px; font-size: .92rem; line-height: 1.4; text-align: center; }
.wb-page figcaption strong { display: block; color: var(--wb-ink); }
.wb-page--1 { transform: rotate(-4deg) translateY(10px); margin-right: -2%; }
.wb-page--2 { transform: translateY(-6px); z-index: 2; }
.wb-page--3 { transform: rotate(4deg) translateY(10px); margin-left: -2%; }
/* Nicht anklickbar (Wunsch Daniel, 12.09.2026) – nur beim Darüberfahren an Ort und Stelle größer,
   damit man die Seite lesen kann. Nur auf Geräten mit Maus; am Handy wird gewischt. */
@media (hover: hover) {
    .wb-page:hover { transform: translateY(-16px) rotate(0) scale(1.3); z-index: 3; }
}

/* Ein Blick ins Workbook: Fuchsgraben-Motiv */
.wb-blick {
    display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr;
    gap: clamp(24px, 5vw, 56px); align-items: center;
    margin-top: 64px; padding: clamp(22px, 4vw, 40px);
    background: #fff; border: 1px solid var(--wb-line); border-radius: 24px;
}
.wb-blick__score { margin: 0; }
.wb-blick__score img { display: block; width: 100%; height: auto; }
.wb-blick__score figcaption { margin-top: 10px; font-size: .88rem; color: #6b7386; }
.wb-blick__tally { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.wb-blick__tally li {
    padding: 6px 14px; border-radius: 99px; font-weight: 700; color: var(--wb-ink);
    background: var(--wb-gold-soft);
}
.wb-blick__tally li + li { background: var(--wb-gold); }
.wb-replay {
    margin-top: 14px; padding: 6px 0; border: 0; background: none; cursor: pointer;
    color: var(--wb-ochre); font: 600 .95rem var(--font-head);
    text-decoration: underline; text-underline-offset: 3px;
}
.wb-replay:focus-visible { outline: 2px solid var(--wb-gold); outline-offset: 2px; }

/* ---------- Abschnitt 5: Geschenke ---------- */
.wb-gifts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.wb-gift {
    padding: 30px 28px 28px; border-radius: 24px;
    background: var(--wb-paper); border: 1px solid var(--wb-line);
}
.wb-gift p { margin: 0; }
.wb-gift__label { display: block; margin: 0 0 6px; color: var(--wb-ochre); font-weight: 700; font-size: .95rem; }
.wb-giftbox { display: block; width: 64px; height: 64px; margin-bottom: 16px; overflow: visible; }
.wb-giftbox .box    { fill: var(--wb-ink); }
.wb-giftbox .lid    { fill: #243357; }
.wb-giftbox .ribbon { fill: var(--wb-gold); }
.wb-giftbox .spark  { stroke: var(--wb-gold); stroke-width: 2.4; stroke-linecap: round; opacity: 0; }
.wb-giftbox .lidgrp { transform-box: fill-box; transform-origin: left bottom; }

/* ---------- Abschnitt 6: Für wen ---------- */
.wb-fit__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 28px; }
.wb-fit__col { padding: 28px; border-radius: 22px; }
.wb-fit__col--yes { background: var(--wb-paper); border: 1px solid var(--wb-line); }
.wb-fit__col--no  { border: 1.5px dashed #d2cab9; }
.wb-fit__col h3 { margin-bottom: 16px; }

/* ---------- Abschnitt 7: Über mich + Stimmen ---------- */
.wb-about {
    display: grid; grid-template-columns: minmax(240px, 380px) 1fr;
    gap: clamp(28px, 5vw, 64px); align-items: start;
}
.wb-about__photo {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
    border-radius: 24px; box-shadow: 0 20px 50px rgba(14, 26, 51, .16);
}
.wb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.wb-stats div {
    display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px;
    padding: 16px 16px 18px; border-top: 3px solid var(--wb-gold);
    background: var(--wb-paper); border-radius: 0 0 14px 14px;
}
.wb-stats dt { font-size: .9rem; line-height: 1.35; }
.wb-stats dd {
    margin: 0; color: var(--wb-ink); font-weight: 700; line-height: 1.1;
    font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -0.03em;
}
.wb-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.wb-quote {
    display: flex; flex-direction: column; justify-content: space-between; gap: 20px; margin: 0;
    padding: 26px; background: #fff; border: 1px solid var(--wb-line); border-radius: 22px;
}
.wb-quote blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.wb-quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .95rem; line-height: 1.3; }
.wb-quote figcaption strong { display: block; color: var(--wb-ink); }
.wb-quote img {
    flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wb-gold-soft);
}
.wb-voices { margin-top: clamp(48px, 7vw, 72px); }

/* ---------- Abschnitt 8: Abschluss-Box ---------- */
.wb-final {
    position: relative; overflow: hidden; margin-top: clamp(72px, 11vw, 120px);
    padding: clamp(36px, 6vw, 68px) clamp(18px, 5vw, 56px);
    background: var(--wb-ink); border-radius: 30px; color: #cfd6e3;
}
.wb-final::before {   /* fünf Notenlinien als stilles Markenzeichen */
    content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 49px;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .08) 0 1px, transparent 1px 12px);
}
.wb-final :where(h2) { position: relative; color: #fff; text-align: center; margin: 0 auto; max-width: none; }
.wb-final .wb-price { position: relative; max-width: 880px; margin: 32px auto 0; color: var(--wb-slate); }

/* ---------- Abschnitt 9: FAQ ---------- */
.wb-faq__list { max-width: 820px; margin-top: 24px; border-top: 1px solid var(--wb-line); }
.wb-faq details { border-bottom: 1px solid var(--wb-line); }
.wb-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 4px; cursor: pointer; list-style: none;
    color: var(--wb-ink); font-weight: 600; font-size: 1.08rem; line-height: 1.35;
}
.wb-faq summary::-webkit-details-marker { display: none; }
.wb-faq summary::after {
    content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--wb-line); transition: transform .25s var(--wb-ease), background-color .25s;
    background: var(--wb-paper) center / 13px no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%230e1a33' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wb-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--wb-gold-soft); }
.wb-faq summary:focus-visible { outline: 3px solid var(--wb-gold); outline-offset: 2px; border-radius: 8px; }
.wb-faq details p { margin: 0 4px 22px; max-width: 70ch; }

/* ---------- Abschnitt 10: Nein danke ---------- */
.wb-skip { margin: 44px 0 0; max-width: none; text-align: center; font-size: .92rem; }
.wb-skip a { color: #7a8193; text-underline-offset: 3px; }

/* ============================================================
   Animationen – nur mit .wb-js (siehe Kopfkommentar)
   ============================================================ */

/* Listen: Häkchen poppen der Reihe nach auf (--i setzt das Skript) */
.wb-js :is(.wb-checks, .wb-crosses) li {
    transition: opacity .4s ease calc(var(--i, 0) * 110ms + 150ms),
                transform .4s var(--wb-ease) calc(var(--i, 0) * 110ms + 150ms);
}
.wb-js :is(.wb-checks, .wb-crosses) li::before {
    transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * 110ms + 230ms);
}
.wb-js [data-wb-reveal]:not(.is-in) :is(.wb-checks, .wb-crosses) li { opacity: 0; transform: translateX(-8px); }
.wb-js [data-wb-reveal]:not(.is-in) :is(.wb-checks, .wb-crosses) li::before { transform: scale(0); }

/* Preis: alter Preis wird durchgestrichen, dann springt der neue ein */
.wb-js .wb-price__old::after { transition: transform .5s var(--wb-ease) .3s; }
.wb-js .wb-price__new { transition: opacity .45s ease .75s, transform .55s cubic-bezier(.3, 1.5, .5, 1) .75s; }
.wb-js .wb-price:not(.is-in) .wb-price__old::after { transform: rotate(-9deg) scaleX(0); }
.wb-js .wb-price:not(.is-in) .wb-price__new { opacity: 0; transform: translateY(12px) scale(.94); }

/* Problem-Bilder */
.wb-js .wb-pain__item.is-in .wb-ico__n  { animation: wb-drift .9s var(--wb-ease) both; }
.wb-js .wb-pain__item.is-in .wb-ico__n2 { animation-delay: .25s; }
.wb-js .wb-pain__item.is-in .wb-ico__n3 { animation-delay: .5s; }
.wb-js .wb-pain__item.is-in .wb-ico__hop { animation: wb-hop 1.5s ease-in-out .2s 2; }
.wb-js .wb-pain__item.is-in .wb-ico__mel { animation: wb-pop .35s var(--wb-ease) both; }
.wb-js .wb-pain__item.is-in .wb-ico__mel:nth-of-type(2) { animation-delay: .15s; }
.wb-js .wb-pain__item.is-in .wb-ico__mel:nth-of-type(3) { animation-delay: .3s; }
.wb-js .wb-pain__item.is-in .wb-ico__mel:nth-of-type(4) { animation-delay: .45s; }
.wb-js .wb-pain__item.is-in .wb-ico__empty { animation: wb-march 1s linear .7s 3; }
.wb-ico__hop, .wb-ico__mel, .wb-ico__n { transform-box: fill-box; transform-origin: center; }
@keyframes wb-drift { from { transform: translate(-8px, 12px); opacity: 0; } }
@keyframes wb-hop {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-9px); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(-3px); }
    80% { transform: translateY(9px); }
}
@keyframes wb-march { to { stroke-dashoffset: -16; } }

/* Teil 1–4: Ziffern steigen aus der Grundlinie */
.wb-js .wb-parts__digit { transition: transform .6s var(--wb-ease) calc(var(--i, 0) * 140ms + 100ms), opacity .5s ease calc(var(--i, 0) * 140ms + 100ms); }
.wb-js .wb-parts:not(.is-in) .wb-parts__digit { transform: translateY(100%); opacity: 0; }

/* Seitenfächer: liegen erst gestapelt, fächern dann auf */
.wb-js .wb-pages:not(.is-in) .wb-page--1 { transform: translateX(96%) rotate(-1deg); }
.wb-js .wb-pages:not(.is-in) .wb-page--3 { transform: translateX(-96%) rotate(1deg); }
.wb-js .wb-pages:not(.is-in) .wb-page--2 { transform: translateY(0); }

/* Fuchsgraben: Melodie schreibt sich, dann Akkorde Takt für Takt.
   Die Sprünge liegen auf den Taktstrichen des Bildes (x = 155/285/428/538 von 692). */
.wb-js .wb-blick:not(.is-in) .wb-blick__melody,
.wb-js .wb-blick:not(.is-in) .wb-blick__chords { clip-path: inset(0 100% 0 0); }
.wb-js .wb-blick:not(.is-in) .wb-blick__tally li { opacity: 0; }
.wb-js .wb-blick.is-in .wb-blick__melody { animation: wb-write 2.2s linear .2s both; }
.wb-js .wb-blick.is-in .wb-blick__chords { animation: wb-chords 2.4s 2.6s both; }
.wb-js .wb-blick.is-in .wb-blick__tally li { animation: wb-pop .45s cubic-bezier(.3, 1.5, .5, 1) 5.1s both; }
.wb-js .wb-blick.is-in .wb-blick__tally li + li { animation-delay: 5.45s; }
@keyframes wb-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wb-chords {
    0%       { clip-path: inset(0 77.6% 0 0); }
    0%, 24%  { clip-path: inset(0 77.6% 0 0); }
    25%, 49% { clip-path: inset(0 58.8% 0 0); }
    50%, 74% { clip-path: inset(0 38.2% 0 0); }
    75%, 99% { clip-path: inset(0 22.3% 0 0); }
    100%     { clip-path: inset(0 0 0 0); }
}

/* Geschenke: Deckel hebt sich, Funken */
.wb-js .wb-gift.is-in .lidgrp { animation: wb-lid 1.1s var(--wb-ease) .2s both; }
.wb-js .wb-gift.is-in .spark  { animation: wb-spark 1.1s ease .35s both; }
@keyframes wb-lid {
    0%   { transform: none; }
    35%  { transform: translate(-2px, -12px) rotate(-16deg); }
    65%  { transform: translate(-1px, -5px) rotate(-7deg); }
    100% { transform: none; }
}
@keyframes wb-spark { 0% { opacity: 0; } 30%, 60% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .wb *, .wb *::before, .wb *::after, .wb-done * { animation: none !important; transition: none !important; }
}

/* ============================================================
   Responsiv
   ============================================================ */
@media (max-width: 860px) {
    .wb-intro, .wb-inhalt__head, .wb-blick, .wb-about,
    .wb-fit__grid, .wb-gifts__grid, .wb-extras, .wb-quotes { grid-template-columns: 1fr; }
    .wb-intro__cover { max-width: 480px; }
    .wb-price { grid-template-columns: 1fr; }
    .wb-price__cover { max-width: 210px; }
    .wb-cta { width: 100%; }
    .wb-about__photo { max-width: 360px; }
    .wb-inhalt__photo { max-width: 520px; }

    /* Seiten: waagerecht wischen statt Fächer */
    .wb-pages {
        justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 44px -20px 0; padding: 12px 20px 18px;
    }
    .wb-page, .wb-js .wb-pages:not(.is-in) .wb-page--1, .wb-js .wb-pages:not(.is-in) .wb-page--3 {
        width: 70%; max-width: 280px; margin: 0; transform: none; scroll-snap-align: center;
    }
    .wb-page:hover, .wb-page:focus-within { transform: none; }
}
@media (max-width: 560px) {
    .wb-stats { grid-template-columns: 1fr; }
    .dpage__confirm--kompakt { padding-left: 0; }
    .wb-pain__item { grid-template-columns: 56px 1fr; gap: 16px; }
    .wb-pain__icon { width: 56px; height: 56px; border-radius: 16px; }
    .wb-ico { width: 40px; height: 40px; }
    .wb-pain__list::before { left: 27px; }
    .wb-parts li { grid-template-columns: 48px 1fr; gap: 14px; }
    .wb-parts__digit { font-size: 2.2rem; }
    .wb-good { padding: 22px; }
}
