/*
 * Familie "pop" für Stage-Specials (scene.template = "pop").
 * Pop-Art-Fanposter: kräftige Farben, Halbtonraster, Sticker, Sprechblasen, Zahlen, Konfetti.
 * Alle Maße in Container-Einheiten (cqw): 100cqw = Breite der Bühne (Kiosk: 2160 px).
 * Bei knapper Bühnenhöhe begrenzen cqh-Werte die Größen (POP-13).
 * Vertrag: docs/mueller-special.md (POP-01 bis POP-13).
 */

.stage-special-scene.pop-scene {

    --pop-red: #dc052d;
    --pop-blue: #0066b2;
    --pop-yellow: #ffd23f;
    --pop-ink: #101014;
    --pop-paper: #f6f3ea;

    inset: 0;
    display: block;
    container-type: size;
    background: var(--pop-ink);
    color: #fff;
    transform: none;
    transition: opacity 900ms ease;
    overflow: hidden;
    z-index: 2;

}

.pop-scene * { box-sizing: border-box; }

#stage.has-pop .stage-rotation-indicator[data-mode="slide"] { opacity: 0; }

/* ---------- Slides und Farbschemata (POP-01) ---------- */

.pop-slides { position: absolute; inset: 0; }

.pop-slide.stage-special-slide {

    display: block;
    transform: none;
    transition: opacity 500ms ease;
    overflow: hidden;
    background: var(--pop-bg);
    color: var(--pop-fg);

}

.pop-tone-red { --pop-bg: #dc052d; --pop-fg: #fff; --pop-acc: #ffd23f; --pop-dot: rgba(0, 0, 0, .22); --pop-card: #fff; --pop-card-fg: #101014; }
.pop-tone-blue { --pop-bg: #0066b2; --pop-fg: #fff; --pop-acc: #ffd23f; --pop-dot: rgba(0, 0, 0, .2); --pop-card: #fff; --pop-card-fg: #101014; }
.pop-tone-white { --pop-bg: #f6f3ea; --pop-fg: #101014; --pop-acc: #dc052d; --pop-dot: rgba(0, 102, 178, .2); --pop-card: #101014; --pop-card-fg: #fff; }
.pop-tone-black { --pop-bg: #101014; --pop-fg: #fff; --pop-acc: #dc052d; --pop-dot: rgba(255, 255, 255, .1); --pop-card: #fff; --pop-card-fg: #101014; }

.pop-bg { position: absolute; inset: 0; overflow: hidden; }

/* Halbtonraster, nach unten rechts stärker */
.pop-bg i:first-child {

    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--pop-dot) 22%, transparent 25%);
    background-size: 1.7cqw 1.7cqw;
    -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000 80%);
    mask-image: linear-gradient(135deg, transparent 20%, #000 80%);

}

/* Diagonales Farbband */
.pop-bg i:last-child {

    position: absolute;
    left: -20cqw;
    right: -20cqw;
    top: 52cqh;
    height: 16cqw;
    background: var(--pop-acc);
    opacity: .9;
    transform: rotate(-12deg);

}

.pop-tone-black .pop-bg i:last-child { opacity: .75; }
.pop-tone-white .pop-bg i:last-child { opacity: .16; }

.pop-word {

    position: absolute;
    left: 2cqw;
    top: 11cqw;
    color: transparent;
    -webkit-text-stroke: .3cqw color-mix(in srgb, var(--pop-fg) 28%, transparent);
    font-family: var(--font-display);
    font-size: 30cqw;
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.03em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;

}

/* ---------- Text ---------- */

.pop-copy {

    position: absolute;
    left: 6cqw;
    right: 6cqw;
    bottom: 17cqw;
    z-index: 4;

}

.pop-kicker {

    display: inline-flex;
    align-items: center;
    gap: 1.2cqw;
    margin: 0 0 1.4cqw;
    padding: .6cqw 1.6cqw;
    background: var(--pop-ink);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.9cqw;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: rotate(-1.4deg);

}

.pop-kicker i { width: 3cqw; height: .3cqw; background: var(--pop-acc); }
.pop-kicker:empty { display: none; }

.pop-copy h2 {

    margin: 0;
    max-width: 80cqw;
    color: var(--pop-fg);
    font-family: var(--font-display);
    font-size: 10.5cqw;
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-shadow: .5cqw .5cqw 0 var(--pop-ink);

}

.pop-tone-white .pop-copy h2 { text-shadow: .5cqw .5cqw 0 var(--pop-acc); }

.pop-subtitle {

    display: inline-block;
    margin: 1.8cqw 0 0;
    padding: .8cqw 1.8cqw;
    background: var(--pop-acc);
    color: var(--pop-ink);
    font-family: var(--font-display);
    font-size: 2.7cqw;
    font-weight: 900;
    line-height: 1.12;
    transform: rotate(-1.1deg);
    box-shadow: .5cqw .5cqw 0 var(--pop-ink);

}

.pop-tone-white .pop-subtitle { color: #fff; }

.pop-body {

    max-width: 72cqw;
    margin: 1.8cqw 0 0;
    font-family: var(--font-body);
    font-size: 2.35cqw;
    font-weight: 600;
    line-height: 1.3;

}

.pop-facts {

    position: absolute;
    left: 6cqw;
    right: 6cqw;
    bottom: 9.5cqw;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 1cqw;

}

.pop-facts span {

    padding: .8cqw 1.6cqw;
    background: var(--pop-ink);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.7cqw;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    transform: rotate(calc(var(--pop-tilt, 1) * -1deg));

}

.pop-facts span:nth-child(even) { transform: rotate(calc(var(--pop-tilt, 1) * 1.2deg)); }

/* Federnde Einblendung (POP-12) */

.pop-slide.is-active .pop-kicker,
.pop-slide.is-active .pop-copy h2,
.pop-slide.is-active .pop-subtitle,
.pop-slide.is-active .pop-body,
.pop-slide.is-active .pop-facts span { animation: pop-in 700ms cubic-bezier(.34, 1.56, .64, 1) both; }

.pop-slide.is-active .pop-copy h2 { animation-delay: 90ms; }
.pop-slide.is-active .pop-subtitle { animation-delay: 230ms; }
.pop-slide.is-active .pop-body { animation-delay: 330ms; }
.pop-slide.is-active .pop-facts span:nth-child(2) { animation-delay: 120ms; }
.pop-slide.is-active .pop-facts span:nth-child(3) { animation-delay: 240ms; }

@keyframes pop-in {

    from { opacity: 0; transform: translateY(3cqw) scale(.82) rotate(-4deg); }
    to { opacity: 1; }

}

.pop-slide.is-active .pop-word { animation: pop-slide-word 1500ms cubic-bezier(.2, .7, .2, 1) both; }

@keyframes pop-slide-word {

    from { opacity: 0; transform: translateX(-8cqw); }
    to { opacity: 1; transform: none; }

}

/* ---------- Sticker (Foto) ---------- */

.pop-sticker {

    position: absolute;
    margin: 0;
    padding: 1cqw;
    background: #fff;
    box-shadow: .9cqw .9cqw 0 var(--pop-ink);
    transform: rotate(calc(var(--pop-tilt, 1) * 3.5deg));
    z-index: 3;

}

.pop-sticker img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pop-focus, 50% 25%);
    filter: saturate(1.18) contrast(1.06);

}

.pop-sticker figcaption {

    position: absolute;
    left: 1cqw;
    right: 1cqw;
    bottom: 1cqw;
    padding: .3cqw .8cqw;
    background: rgba(16, 16, 20, .72);
    color: rgba(255, 255, 255, .9);
    font-family: var(--font-body);
    font-size: 1.5cqw;
    letter-spacing: .04em;
    text-transform: uppercase;

}

/* Klebestreifen */
.pop-sticker::before {

    content: "";
    position: absolute;
    left: 50%;
    top: -1.6cqw;
    width: 9cqw;
    height: 3cqw;
    background: rgba(255, 210, 63, .85);
    transform: translateX(-50%) rotate(-3deg);

}

.pop-slide.is-active .pop-sticker { animation: pop-sticker 900ms cubic-bezier(.34, 1.56, .64, 1) both; }

@keyframes pop-sticker {

    from { opacity: 0; transform: translateY(6cqw) scale(.6) rotate(calc(var(--pop-tilt, 1) * 18deg)); }
    to { opacity: 1; }

}

/* ---------- Layout poster (POP-03) ---------- */

.pop-layout-poster .pop-main-sticker {

    right: 5cqw;
    top: 17cqw;
    width: 52cqw;
    height: min(58cqw, 46cqh);

}

.pop-layout-poster.no-photo .pop-copy { bottom: auto; top: 28cqw; }

/* ---------- Layouts mit Text oben ---------- */

.pop-layout-burst .pop-copy,
.pop-layout-counter .pop-copy,
.pop-layout-raum .pop-copy,
.pop-layout-onair .pop-copy,
.pop-layout-bubble .pop-copy,
.pop-layout-timeline .pop-copy,
.pop-layout-collage .pop-copy { top: 16cqw; bottom: auto; }

.pop-layout-burst .pop-copy h2,
.pop-layout-counter .pop-copy h2,
.pop-layout-raum .pop-copy h2,
.pop-layout-onair .pop-copy h2,
.pop-layout-bubble .pop-copy h2,
.pop-layout-timeline .pop-copy h2,
.pop-layout-collage .pop-copy h2 { font-size: 7.6cqw; }

.pop-layout-burst .pop-main-sticker,
.pop-layout-counter .pop-main-sticker,
.pop-layout-raum .pop-main-sticker,
.pop-layout-onair .pop-main-sticker,
.pop-layout-bubble .pop-main-sticker,
.pop-layout-timeline .pop-main-sticker {

    right: 4cqw;
    top: auto;
    bottom: 10cqw;
    width: 28cqw;
    height: min(32cqw, 26cqh);

}

/* Raum: Sticker oben rechts, damit er das Spielfeld nicht verdeckt */
.pop-layout-raum .pop-main-sticker,
.pop-layout-counter .pop-main-sticker { top: 14cqw; bottom: auto; right: 4cqw; width: 22cqw; height: min(22cqw, 18cqh); }

/* ---------- Layout burst (POP-04) ---------- */

.pop-burst {

    position: absolute;
    left: 50%;
    top: 38cqw;
    width: min(56cqw, 38cqh);
    height: min(56cqw, 38cqh);
    margin-left: calc(min(56cqw, 38cqh) / -2);
    display: grid;
    place-items: center;
    z-index: 3;

}

.pop-burst-shape { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(.9cqw .9cqw 0 var(--pop-ink)); }
.pop-burst-shape polygon { fill: var(--pop-card); stroke: var(--pop-ink); stroke-width: 1.4; stroke-linejoin: round; }

.pop-burst strong {

    position: relative;
    color: var(--pop-red);
    font-family: var(--font-display);
    font-size: min(22cqw, 15cqh);
    font-weight: 900;
    line-height: .85;
    text-shadow: .4cqw .4cqw 0 var(--pop-ink);

}

.pop-burst span {

    position: absolute;
    left: 50%;
    bottom: -2.4cqw;
    width: max-content;
    max-width: 44cqw;
    padding: .8cqw 2cqw;
    background: var(--pop-ink);
    color: #fff;
    font-family: var(--font-display);
    font-size: 2cqw;
    font-weight: 900;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%) rotate(-2deg);

}

.pop-slide.is-active .pop-burst { animation: pop-boom 800ms cubic-bezier(.34, 1.7, .64, 1) 150ms both; }

@keyframes pop-boom {

    from { opacity: 0; transform: scale(.2) rotate(-30deg); }
    to { opacity: 1; }

}

/* ---------- Layout counter (POP-05) ---------- */

.pop-counters {

    position: absolute;
    left: 6cqw;
    right: 6cqw;
    top: 44cqw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2cqw;
    z-index: 3;

}

.pop-counters[data-count="1"] { grid-template-columns: 1fr; }
.pop-counters[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.pop-counters[data-count="5"],
.pop-counters[data-count="6"] { grid-template-columns: repeat(3, 1fr); }

.pop-counter {

    padding: 2cqw 2.4cqw;
    background: var(--pop-card);
    color: var(--pop-card-fg);
    border: .4cqw solid var(--pop-ink);
    box-shadow: .8cqw .8cqw 0 var(--pop-ink);
    transform: rotate(calc(var(--pop-tilt, 1) * -1.2deg));

}

.pop-counter:nth-child(even) { transform: rotate(calc(var(--pop-tilt, 1) * 1.1deg)); }

.pop-counter strong {

    display: block;
    color: var(--pop-red);
    font-family: var(--font-display);
    font-size: min(11cqw, 8cqh);
    font-weight: 900;
    line-height: .95;
    font-variant-numeric: tabular-nums;

}

.pop-counter small {

    display: block;
    margin-top: .8cqw;
    font-family: var(--font-display);
    font-size: 1.9cqw;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;

}

.pop-counter span { display: block; margin-top: .6cqw; font-family: var(--font-body); font-size: 1.8cqw; opacity: .75; }

.pop-slide.is-active .pop-counter { animation: pop-in 700ms cubic-bezier(.34, 1.56, .64, 1) both; }
.pop-slide.is-active .pop-counter:nth-child(2) { animation-delay: 140ms; }
.pop-slide.is-active .pop-counter:nth-child(3) { animation-delay: 280ms; }
.pop-slide.is-active .pop-counter:nth-child(n+4) { animation-delay: 420ms; }

/* ---------- Layout raum (POP-06) ---------- */

.pop-raum {

    position: absolute;
    left: 0;
    right: 0;
    top: 41cqw;
    margin: 0 auto;
    width: min(90cqw, calc((100cqh - 52cqw) * 1.5));
    overflow: visible;
    z-index: 3;
    filter: drop-shadow(.5cqw .5cqw 0 rgba(16, 16, 20, .5));

}

.pop-pitch-lines path { fill: none; stroke: color-mix(in srgb, var(--pop-fg) 80%, transparent); stroke-width: .3; stroke-linecap: round; }

.pop-zone circle {

    fill: color-mix(in srgb, var(--pop-acc) 40%, transparent);
    stroke: var(--pop-acc);
    stroke-width: .5;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;

}

.pop-zone text { opacity: 0; fill: var(--pop-fg); font-family: var(--font-display); font-size: 2.4px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.pop-slide.is-active .pop-zone circle { animation: pop-zone 2200ms ease-in-out var(--pop-delay, 0ms) both; }
.pop-slide.is-active .pop-zone text { animation: pop-fade 500ms ease calc(var(--pop-delay, 0ms) + 300ms) both; }

@keyframes pop-zone {

    0% { opacity: 0; transform: scale(.2); }
    25% { opacity: 1; transform: scale(1.12); }
    50% { transform: scale(.94); }
    100% { opacity: 1; transform: scale(1); }

}

@keyframes pop-fade { from { opacity: 0; } to { opacity: 1; } }

.pop-run path {

    fill: none;
    stroke: var(--pop-fg);
    stroke-width: .8;
    stroke-linecap: round;
    stroke-dasharray: 2.4 2;
    stroke-dashoffset: 0;
    opacity: 0;

}

.pop-run circle { fill: var(--pop-fg); opacity: 0; }
.pop-run circle.pop-run-start { fill: var(--pop-ink); stroke: var(--pop-fg); stroke-width: .4; }
.pop-run text { fill: #fff; font-family: var(--font-display); font-size: 2.6px; font-weight: 900; opacity: 0; }

.pop-slide.is-active .pop-run path { animation: pop-fade 400ms ease var(--pop-delay, 0ms) both; }
.pop-slide.is-active .pop-run circle,
.pop-slide.is-active .pop-run text { animation: pop-fade 400ms ease var(--pop-delay, 0ms) both; }

/* ---------- Layout onair (POP-07) ---------- */

.pop-onair { position: absolute; left: 6cqw; right: 36cqw; top: 40cqw; z-index: 3; }

.pop-layout-onair.no-photo .pop-onair { right: 6cqw; }

.pop-sign {

    display: inline-flex;
    align-items: center;
    gap: 1.4cqw;
    padding: 1cqw 3cqw;
    background: var(--pop-ink);
    color: #fff;
    border: .4cqw solid var(--pop-acc);
    font-family: var(--font-display);
    font-size: 5cqw;
    font-weight: 900;
    letter-spacing: .12em;
    box-shadow: .8cqw .8cqw 0 rgba(0, 0, 0, .35);

}

.pop-sign i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--pop-red); box-shadow: 0 0 2cqw var(--pop-red); }

.pop-wave { display: flex; align-items: center; gap: .5cqw; height: 10cqw; margin: 2.4cqw 0; }

.pop-wave i {

    flex: 1;
    max-width: 1.5cqw;
    height: 100%;
    background: var(--pop-fg);
    transform: scaleY(.15);
    transform-origin: center;

}

.pop-slide.is-active .pop-wave i { animation: pop-wave 900ms ease-in-out calc(var(--pop-i) * 55ms) infinite alternate; }

@keyframes pop-wave { from { transform: scaleY(.12); } to { transform: scaleY(1); } }

.pop-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.2cqw; }

.pop-lines li {

    padding: .8cqw 1.8cqw;
    background: var(--pop-card);
    color: var(--pop-card-fg);
    font-family: var(--font-body);
    font-size: 2.3cqw;
    font-weight: 700;
    line-height: 1.2;
    width: fit-content;
    max-width: 100%;
    box-shadow: .5cqw .5cqw 0 var(--pop-ink);

}

.pop-slide.is-active .pop-lines li { animation: pop-in 600ms cubic-bezier(.34, 1.56, .64, 1) both; }
.pop-slide.is-active .pop-lines li:nth-child(1) { animation-delay: 500ms; }
.pop-slide.is-active .pop-lines li:nth-child(2) { animation-delay: 1100ms; }
.pop-slide.is-active .pop-lines li:nth-child(3) { animation-delay: 1700ms; }
.pop-slide.is-active .pop-lines li:nth-child(4) { animation-delay: 2300ms; }
.pop-slide.is-active .pop-lines li:nth-child(5) { animation-delay: 2900ms; }

/* ---------- Layout bubble (POP-08) ---------- */

.pop-speech {

    position: absolute;
    left: 6cqw;
    right: 34cqw;
    top: 41cqw;
    margin: 0;
    padding: 3.4cqw 3.8cqw;
    background: #fff;
    color: var(--pop-ink);
    border: .5cqw solid var(--pop-ink);
    border-radius: 4cqw;
    box-shadow: 1cqw 1cqw 0 var(--pop-ink);
    z-index: 3;

}

.pop-layout-bubble.no-photo .pop-speech { right: 6cqw; }

.pop-speech::after {

    content: "";
    position: absolute;
    right: 7cqw;
    bottom: -4.2cqw;
    width: 5cqw;
    height: 4.4cqw;
    background: #fff;
    border-right: .5cqw solid var(--pop-ink);
    clip-path: polygon(0 0, 100% 0, 100% 100%);

}

.pop-speech p { margin: 0; font-family: var(--font-display); font-size: 4.2cqw; font-weight: 900; line-height: 1.1; }
.pop-speech footer { margin-top: 1.6cqw; color: var(--pop-red); font-family: var(--font-display); font-size: 1.9cqw; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.pop-slide.is-active .pop-speech { animation: pop-sticker 800ms cubic-bezier(.34, 1.56, .64, 1) 200ms both; }

/* ---------- Layout timeline (POP-09) ---------- */

.pop-tour {

    position: absolute;
    left: 6cqw;
    right: 6cqw;
    top: 46cqw;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3cqw 2cqw;
    z-index: 3;

}

.pop-tour[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.pop-layout-timeline.has-photo .pop-tour { right: 36cqw; grid-template-columns: repeat(2, 1fr); }
.pop-layout-timeline.has-photo .pop-main-sticker { height: min(36cqw, 30cqh); width: 28cqw; bottom: 14cqw; }

.pop-tour li {

    padding: 1.6cqw 2cqw;
    background: var(--pop-card);
    color: var(--pop-card-fg);
    border: .4cqw solid var(--pop-ink);
    box-shadow: .7cqw .7cqw 0 var(--pop-ink);
    transform: rotate(calc(var(--pop-tilt, 1) * -1deg));

}

.pop-tour li:nth-child(even) { transform: rotate(calc(var(--pop-tilt, 1) * 1.2deg)); }
.pop-tour strong { display: block; color: var(--pop-red); font-family: var(--font-display); font-size: 5.4cqw; font-weight: 900; line-height: 1; }
.pop-tour span { display: block; margin-top: .6cqw; font-family: var(--font-body); font-size: 2cqw; font-weight: 700; line-height: 1.2; }

.pop-slide.is-active .pop-tour li { animation: pop-in 650ms cubic-bezier(.34, 1.56, .64, 1) both; }
.pop-slide.is-active .pop-tour li:nth-child(2) { animation-delay: 150ms; }
.pop-slide.is-active .pop-tour li:nth-child(3) { animation-delay: 300ms; }
.pop-slide.is-active .pop-tour li:nth-child(4) { animation-delay: 450ms; }
.pop-slide.is-active .pop-tour li:nth-child(5) { animation-delay: 600ms; }

/* ---------- Layout collage (POP-10) ---------- */

.pop-collage { position: absolute; left: 5cqw; right: 5cqw; top: 38cqw; height: min(50cqw, 42cqh); z-index: 3; }

.pop-collage-item { width: 42cqw; height: min(32cqw, 27cqh); }

.pop-collage[data-count="1"] .pop-collage-item { left: 14cqw; top: 2cqw; width: 66cqw; height: min(44cqw, 38cqh); }
.pop-collage[data-count="2"] .pop-collage-item:nth-child(1) { left: 0; top: 0; }
.pop-collage[data-count="2"] .pop-collage-item:nth-child(2) { right: 0; top: 4cqw; }
.pop-collage[data-count="3"] .pop-collage-item:nth-child(1) { left: 0; top: 0; }
.pop-collage[data-count="3"] .pop-collage-item:nth-child(2) { right: 0; top: 1cqw; }
.pop-collage[data-count="3"] .pop-collage-item:nth-child(3) { left: 24cqw; top: min(21cqw, 18cqh); width: 40cqw; height: min(28cqw, 23cqh); z-index: 4; }

.pop-collage-item:nth-child(2) { transform: rotate(calc(var(--pop-tilt, 1) * -3deg)); }
.pop-collage-item:nth-child(3) { transform: rotate(calc(var(--pop-tilt, 1) * 2deg)); }

.pop-slide.is-active .pop-collage-item:nth-child(2) { animation-delay: 160ms; }
.pop-slide.is-active .pop-collage-item:nth-child(3) { animation-delay: 320ms; }

/* ---------- Layout reaction (POP-14) ---------- */

.pop-react { position: absolute; inset: 0; margin: 0; z-index: 1; overflow: hidden; background: var(--pop-bg); }

.pop-react img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pop-focus, 50% 20%);
    filter: saturate(1.3) contrast(1.12);
    transform: scale(1.04);

}

.pop-slide.is-active .pop-react img { animation: pop-react-zoom var(--pop-dur, 4s) ease-out both; }

@keyframes pop-react-zoom { from { transform: scale(1.0); } to { transform: scale(1.12); } }

/* Farbschleier im Schema der Slide und Raster darüber */
.pop-react::after {

    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(16, 16, 20, .35) 22%, transparent 25%) 0 0 / 1.7cqw 1.7cqw,
        linear-gradient(0deg, color-mix(in srgb, var(--pop-bg) 88%, transparent) 0, color-mix(in srgb, var(--pop-bg) 30%, transparent) 38%, transparent 62%);

}

.pop-react figcaption {

    position: absolute;
    right: 3cqw;
    bottom: 10cqw;
    z-index: 2;
    color: rgba(255, 255, 255, .7);
    font-family: var(--font-body);
    font-size: 1.5cqw;
    letter-spacing: .05em;
    text-transform: uppercase;

}

.pop-react-kicker { position: absolute; left: 6cqw; top: 17cqw; z-index: 4; margin: 0; }

.pop-shout {

    position: absolute;
    left: 3cqw;
    right: 3cqw;
    bottom: 13cqw;
    z-index: 4;
    text-align: center;
    color: var(--pop-acc);
    font-family: var(--font-display);
    font-size: var(--pop-shout-size, 14cqw);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.01em;
    text-transform: uppercase;
    -webkit-text-stroke: .5cqw var(--pop-ink);
    paint-order: stroke fill;
    text-shadow: 1cqw 1cqw 0 var(--pop-ink);
    transform: rotate(calc(var(--pop-tilt, 1) * -3deg));

}

.pop-slide.is-active .pop-shout { animation: pop-slam 650ms cubic-bezier(.2, 1.6, .4, 1) 120ms both; }

@keyframes pop-slam {

    from { opacity: 0; transform: scale(2.6) rotate(calc(var(--pop-tilt, 1) * 10deg)); }
    to { opacity: 1; }

}

.pop-layout-reaction.no-photo .pop-shout { bottom: auto; top: 44cqw; }

/* ---------- Layout wall (POP-15) ---------- */

.pop-layout-wall .pop-copy { top: 16cqw; bottom: auto; }
.pop-layout-wall .pop-copy h2 { font-size: 7.6cqw; }

.pop-wall {

    position: absolute;
    left: 5cqw;
    right: 5cqw;
    top: 38cqw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6cqw;
    z-index: 3;

}

.pop-wall-item {

    position: relative;
    margin: 0;
    padding: .5cqw;
    height: min(14.2cqw, 12.4cqh);
    background: #fff;
    box-shadow: .5cqw .5cqw 0 var(--pop-ink);
    transform: rotate(calc((var(--pop-i, 0) % 3 - 1) * 1.4deg));
    opacity: 0;

}

.pop-wall-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pop-focus, 50% 22%); display: block; }

.pop-wall-item figcaption {

    position: absolute;
    left: .5cqw;
    bottom: .5cqw;
    padding: .2cqw .9cqw;
    background: var(--pop-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5cqw;
    font-weight: 900;
    letter-spacing: .1em;

}

.pop-slide.is-active .pop-wall-item { animation: pop-wall-in 520ms cubic-bezier(.34, 1.56, .64, 1) calc(300ms + var(--pop-i, 0) * 170ms) both; }

@keyframes pop-wall-in {

    from { opacity: 0; transform: translateY(3cqw) scale(.5) rotate(-8deg); }
    to { opacity: 1; }

}

/* ---------- Konfetti (POP-11) ---------- */

.pop-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 6; }

.pop-confetti i {

    position: absolute;
    top: -4cqw;
    width: var(--pop-s);
    height: calc(var(--pop-s) * 1.7);
    background: var(--pop-c);
    opacity: 0;
    transform: rotate(var(--pop-r));

}

.pop-slide.is-active .pop-confetti i { animation: pop-fall 3600ms cubic-bezier(.3, .2, .6, 1) var(--pop-d) both; }

@keyframes pop-fall {

    0% { opacity: 1; transform: translateY(0) rotate(var(--pop-r)); }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translateY(115cqh) rotate(calc(var(--pop-r) + 540deg)); }

}

/* ---------- Kopfzeile, Textband, Fortschritt ---------- */

.pop-header {

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 2cqw;
    height: 10.5cqw;
    padding: 1.4cqw 5cqw;
    background: var(--pop-ink);
    color: #fff;
    border-bottom: .5cqw solid var(--pop-yellow);

}

.pop-header img { width: 6.2cqw; height: auto; }

.pop-title { display: grid; gap: .5cqw; font-family: var(--font-display); text-transform: uppercase; }
.pop-title strong { color: #fff; font-size: 2.5cqw; font-weight: 900; letter-spacing: .08em; line-height: 1; }
.pop-title span { color: var(--pop-yellow); font-size: 1.5cqw; font-weight: 800; letter-spacing: .2em; }

.pop-chapter-now { margin-left: auto; text-align: right; font-family: var(--font-display); text-transform: uppercase; }
.pop-chapter-now.is-empty { visibility: hidden; }
.pop-chapter-now small { display: block; color: rgba(255, 255, 255, .65); font-size: 1.4cqw; font-weight: 800; letter-spacing: .22em; }
.pop-chapter-now strong { display: block; margin-top: .4cqw; color: #fff; font-size: 2.4cqw; font-weight: 900; letter-spacing: .08em; }

.pop-ticker {

    position: absolute;
    top: 11cqw;
    left: 0;
    right: 0;
    z-index: 8;
    height: 3.6cqw;
    overflow: hidden;
    background: var(--pop-yellow);
    color: var(--pop-ink);
    transform: rotate(-.6deg) scaleX(1.02);
    box-shadow: 0 .4cqw 0 rgba(16, 16, 20, .4);

}

.pop-ticker div { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; animation: pop-ticker 36s linear infinite; }
.pop-ticker b { padding: 0 1.6cqw; font-family: var(--font-display); font-size: 2cqw; font-weight: 900; letter-spacing: .16em; }
.pop-ticker i { color: var(--pop-red); font-size: 1.8cqw; font-style: normal; }

@keyframes pop-ticker { from { transform: translateX(0); } to { transform: translateX(-25%); } }

.pop-progress {

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    padding: 1.6cqw 5cqw 2.4cqw;
    background: var(--pop-ink);
    border-top: .4cqw solid var(--pop-yellow);

}

.pop-track { display: flex; gap: .4cqw; }
.pop-bar { position: relative; flex: 1; height: 1cqw; overflow: hidden; background: rgba(255, 255, 255, .2); }
.pop-bar.is-chapter-start { margin-left: 1.2cqw; }
.pop-bar i { position: absolute; inset: 0; width: 0; background: var(--pop-red); }
.pop-bar.is-past i { width: 100%; background: #fff; }
.pop-bar.is-current i { animation: pop-fill linear both; background: var(--pop-yellow); }

@keyframes pop-fill { from { width: 0; } to { width: 100%; } }

.pop-chapters { display: flex; gap: 1.2cqw; margin-top: .9cqw; font-family: var(--font-display); text-transform: uppercase; }
.pop-chapters[data-count="0"] { display: none; }
.pop-chapters span { flex-basis: 0; min-width: 0; color: rgba(255, 255, 255, .55); font-size: 1.5cqw; font-weight: 900; letter-spacing: .1em; white-space: nowrap; transition: color 500ms ease; }
.pop-chapters span.is-current { color: var(--pop-yellow); }

/* ---------- Qualitätsanhebung QS-20: größere Labels und Nachweise ---------- */

.pop-kicker { font-size: 2.1cqw; }
.pop-facts span { font-size: 2cqw; }
.pop-counter small { font-size: 2.1cqw; }
.pop-counter span { font-size: 2cqw; }

/* ---------- Ruhige Variante (QS-13): bei reduzierter Bewegung steht alles im Endzustand ---------- */

@media (prefers-reduced-motion: reduce) {

    .pop-scene *, .pop-scene *::before, .pop-scene *::after { animation: none !important; transition: none !important; }
    .pop-bar.is-current i { width: 100%; }

}
