/*
 * Spielescheune – Store Story / digitales Schaufenster
 * Version: 1.4.0
 *
 * Titel im Rich-Text-Portlet:
 * <h2>DEIN <span class="ss-store-story__title-accent ss-store-story__title-accent--brand">SPIELELADEN</span><br>ZUM ANFASSEN</h2>
 *
 * Benötigte Dekodatei:
 * ../icons/paper-plane.svg
 */

/* ==========================================================================
   1. Variablen / Grundsetup
   ========================================================================== */

.ss-store-story {
    --ss-store-ink: var(--ss-heading, #505050);
    --ss-store-text: var(--ss-text, #5a5a5a);

    --ss-store-red: #e36a5d;
    --ss-store-orange: #ef7a2c;
    --ss-store-yellow: #d8b41c;
    --ss-store-green: #6ab36a;
    --ss-store-turquoise: #2d9fa2;
    --ss-store-blue: #5868c0;
    --ss-store-violet: #8a6ab7;

    --ss-store-photo-shadow: rgba(59, 45, 30, 0.18);

    --ss-store-brand-gradient: linear-gradient(
        90deg,
        var(--ss-store-orange) 0%,
        var(--ss-store-yellow) 22%,
        var(--ss-store-green) 46%,
        var(--ss-store-turquoise) 69%,
        var(--ss-store-blue) 100%
    );

    --ss-store-brand-font: var(--ss-font-logo, "Luckiest Guy", "Baloo 2", "Poppins", cursive);

    position: relative;
    isolation: isolate;
    width: min(1740px, calc(100% - 32px));
    margin: clamp(18px, 2.4vw, 42px) auto clamp(24px, 3.2vw, 56px);
    padding: clamp(22px, 2.5vw, 44px) clamp(10px, 1.7vw, 22px) clamp(34px, 4vw, 68px);
    color: var(--ss-store-text);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ss-store-story,
.ss-store-story *,
.ss-store-story *::before,
.ss-store-story *::after {
    box-sizing: border-box;
}

.ss-store-story .clearfix {
    display: none !important;
}

/* ==========================================================================
   2. Offener, organischer Hintergrund
   ========================================================================== */

/* Dezente weiche Flächen, kein Kasten */
.ss-store-story::before {
    content: "";
    position: absolute;
    z-index: -4;
    inset: 1% -2% 4% 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 77% 19%, rgba(190, 208, 126, 0.14) 0, rgba(190, 208, 126, 0.14) 16%, transparent 40%),
        radial-gradient(circle at 84% 67%, rgba(244, 214, 181, 0.19) 0, rgba(244, 214, 181, 0.19) 17%, transparent 40%),
        radial-gradient(circle at 16% 80%, rgba(126, 195, 212, 0.08) 0, rgba(126, 195, 212, 0.08) 13%, transparent 31%),
        radial-gradient(circle at 93% 9%, rgba(150, 197, 225, 0.11) 0, rgba(150, 197, 225, 0.11) 10%, transparent 28%);
    filter: blur(2px);
}

/* große wolkige untere/ rechte Form statt Rechteckband */
.ss-store-story::after {
    content: "";
    position: absolute;
    z-index: -3;
    right: -1%;
    bottom: -3%;
    width: 66%;
    height: clamp(220px, 31vw, 430px);
    pointer-events: none;
    background:
        radial-gradient(78% 82% at 63% 45%, rgba(245, 214, 181, 0.21) 0, rgba(245, 214, 181, 0.21) 34%, transparent 68%),
        radial-gradient(42% 45% at 21% 24%, rgba(198, 214, 137, 0.12) 0, rgba(198, 214, 137, 0.12) 22%, transparent 63%),
        radial-gradient(36% 32% at 84% 79%, rgba(144, 202, 220, 0.08) 0, rgba(144, 202, 220, 0.08) 16%, transparent 60%);
    border-radius: 53% 47% 49% 51% / 58% 42% 58% 42%;
    filter: blur(4px);
    transform: rotate(5deg);
    opacity: 0.98;
}

/* ==========================================================================
   3. Hauptgrid / Spaltenverteilung
   ========================================================================== */

.ss-store-story > div {
    position: relative;
    z-index: 1;
}

/* fliegender Papierflieger – Route durch den Bereich */
.ss-store-story > div::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 4%;
    top: 16%;
    width: clamp(34px, 3.4vw, 54px);
    height: clamp(34px, 3.4vw, 54px);
    pointer-events: none;
    opacity: 0.55;
    background:
        linear-gradient(
            135deg,
            rgba(80, 188, 222, 0.95) 0%,
            rgba(255, 255, 255, 0.98) 38%,
            rgba(241, 189, 142, 0.42) 100%
        );
    -webkit-mask: url("/templates/NOVAChild/themes/my-nova/icons/paperplane.svg") center / contain no-repeat;
    mask: url("/templates/NOVAChild/themes/my-nova/icons/paperplane.svg") center / contain no-repeat;
    animation: ss-store-story-plane-flight 13s ease-in-out infinite;
    transform-origin: center;
}

/* gestrichelte Flugspur – weich und organisch */
.ss-store-story > div::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 13%;
    top: 18%;
    width: 54%;
    height: 64%;
    pointer-events: none;
    opacity: 0.45;
    border: 0;
    background:
        radial-gradient(circle at 7px 7px, rgba(124, 177, 93, 0.78) 0 2px, transparent 2.6px) 0 0 / 18px 18px no-repeat;
    -webkit-mask:
        radial-gradient(120% 90% at 8% 10%, #0000 0 32%, #000 32.4% 33.8%, #0000 34.2%) ,
        radial-gradient(110% 90% at 52% 16%, #0000 0 40%, #000 40.4% 41.8%, #0000 42.2%),
        radial-gradient(115% 92% at 74% 18%, #0000 0 45%, #000 45.4% 46.8%, #0000 47.2%),
        radial-gradient(130% 100% at 84% 70%, #0000 0 48%, #000 48.4% 49.8%, #0000 50.2%);
    mask:
        radial-gradient(120% 90% at 8% 10%, #0000 0 32%, #000 32.4% 33.8%, #0000 34.2%),
        radial-gradient(110% 90% at 52% 16%, #0000 0 40%, #000 40.4% 41.8%, #0000 42.2%),
        radial-gradient(115% 92% at 74% 18%, #0000 0 45%, #000 45.4% 46.8%, #0000 47.2%),
        radial-gradient(130% 100% at 84% 70%, #0000 0 48%, #000 48.4% 49.8%, #0000 50.2%);
}

@keyframes ss-store-story-plane-flight {
    0% {
        transform: translate3d(0, 0, 0) rotate(-18deg) scale(0.96);
        opacity: 0.28;
    }

    12% {
        transform: translate3d(120px, -42px, 0) rotate(6deg) scale(1);
        opacity: 0.58;
    }

    28% {
        transform: translate3d(360px, -8px, 0) rotate(10deg) scale(1.02);
        opacity: 0.64;
    }

    46% {
        transform: translate3d(620px, -54px, 0) rotate(-8deg) scale(1.03);
        opacity: 0.72;
    }

    64% {
        transform: translate3d(830px, 84px, 0) rotate(18deg) scale(1.01);
        opacity: 0.66;
    }

    84% {
        transform: translate3d(980px, 212px, 0) rotate(28deg) scale(0.98);
        opacity: 0.54;
    }

    100% {
        transform: translate3d(1110px, 252px, 0) rotate(24deg) scale(0.92);
        opacity: 0.18;
    }
}

.ss-store-story > div > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-right: -14px;
    margin-left: -14px;
}

.ss-store-story > div > .row > .col,
.ss-store-story > div > .row > [class*="col-"] {
    padding-right: 14px;
    padding-left: 14px;
}

@media (min-width: 1300px) {
    .ss-store-story > div > .row > [data-area-id="col-0"] {
        flex: 0 0 43%;
        max-width: 43%;
    }

    .ss-store-story > div > .row > [data-area-id="col-1"] {
        flex: 0 0 57%;
        max-width: 57%;
    }
}

/* ==========================================================================
   4. Linke Textseite – bewusst clean
   ========================================================================== */

.ss-store-story__copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(56px, 8vw, 108px) clamp(6px, 1vw, 12px) clamp(16px, 1.4vw, 24px);
    text-align: center;
}

.ss-store-story__title {
    margin: 0;
    color: var(--ss-store-ink);
    font-family: var(--ss-font-display, "Poppins", Arial, sans-serif);
    font-size: clamp(36px, 3.7vw, 78px);
    text-align: center;
}

.ss-store-story__title h2 {
    margin: 0;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.012em;
    text-align: inherit;
    text-wrap: balance;
}

.ss-store-story__title .ss-store-story__title-accent {
    display: inline-block;
}

.ss-store-story__title .ss-store-story__title-accent--brand {
    font-family: var(--ss-store-brand-font);
    font-weight: 400;
    letter-spacing: 0.02em;
    vertical-align: baseline;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ss-store-story__title .ss-store-story__title-accent {
        background: var(--ss-store-brand-gradient);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.ss-store-story__intro {
    max-width: 760px;
    margin: clamp(30px, 2.6vw, 42px) auto 0;
    color: var(--ss-store-text);
    font-family: var(--ss-font-body, "Century Gothic", Arial, sans-serif);
    font-size: clamp(18px, 1.45vw, 23px);
    line-height: 1.62;
    text-align: center;
}

.ss-store-story__intro p {
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: inherit;
}

/* ==========================================================================
   5. Herz-Trenner
   ========================================================================== */

.ss-store-story .ss-store-story__heart-divider {
    position: relative;
    display: flex;
    width: min(680px, 92%);
    height: 54px;
    margin: clamp(28px, 2.2vw, 36px) auto clamp(18px, 1.8vw, 26px);
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: var(--ss-store-red);
}

.ss-store-story .ss-store-story__heart-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(88, 88, 88, 0.12) 9%,
            rgba(88, 88, 88, 0.12) 44%,
            transparent 44%,
            transparent 56%,
            rgba(88, 88, 88, 0.12) 56%,
            rgba(88, 88, 88, 0.12) 91%,
            transparent 100%
        );
    transform: translateY(-50%);
}

.ss-store-story .ss-store-story__heart-divider::after {
    content: "";
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: currentColor;
    filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.95));
    -webkit-mask: url("../icons/heart.svg") center / contain no-repeat;
    mask: url("../icons/heart.svg") center / contain no-repeat;
}

/* ==========================================================================
   6. Werte / Icons
   ========================================================================== */

.ss-store-story__copy > div > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-right: -8px;
    margin-left: -8px;
}

.ss-store-story__copy > div > .row > .col,
.ss-store-story__copy > div > .row > [class*="col-"] {
    display: flex;
    padding: 8px;
}

.ss-store-story__value {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 154px;
    padding: 6px 4px 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: var(--ss-font-body, "Century Gothic", Arial, sans-serif);
    font-size: clamp(13px, 1.02vw, 16px);
    text-align: center;
}

.ss-store-story__value::before {
    content: "";
    display: block;
    width: clamp(50px, 4.6vw, 70px);
    height: clamp(50px, 4.6vw, 70px);
    margin-bottom: clamp(14px, 1.3vw, 18px);
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform 220ms ease, filter 220ms ease;
}

.ss-store-story__value--heart::before {
    -webkit-mask-image: url("../icons/heart.svg");
    mask-image: url("../icons/heart.svg");
}

.ss-store-story__value--smile::before {
    -webkit-mask-image: url("../icons/smile.svg");
    mask-image: url("../icons/smile.svg");
}

.ss-store-story__value--hand::before {
    -webkit-mask-image: url("../icons/hand.svg");
    mask-image: url("../icons/hand.svg");
}

.ss-store-story__value--star::before {
    -webkit-mask-image: url("../icons/star.svg");
    mask-image: url("../icons/star.svg");
}

.ss-store-story__value p {
    margin: 0;
    color: var(--ss-store-ink);
    font: inherit;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: 0.012em;
    text-align: inherit;
}

@media (hover: hover) and (pointer: fine) {
    .ss-store-story__value:hover::before {
        transform: translateY(-4px) scale(1.035);
        filter: drop-shadow(0 6px 7px rgba(73, 58, 41, 0.10));
    }
}

/* ==========================================================================
   7. Rechte Bildseite / große Collage
   ========================================================================== */

.ss-store-story__visual {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    min-height: 790px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

/* weiche Farbfläche hinter der Collage – organisch */
.ss-store-story__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 4%;
    right: 1%;
    bottom: 4%;
    left: 4%;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(173, 204, 111, 0.24) 0, rgba(173, 204, 111, 0.24) 16%, transparent 37%),
        radial-gradient(circle at 82% 15%, rgba(165, 208, 228, 0.17) 0, rgba(165, 208, 228, 0.17) 13%, transparent 34%),
        radial-gradient(circle at 79% 74%, rgba(245, 213, 176, 0.27) 0, rgba(245, 213, 176, 0.27) 18%, transparent 39%),
        radial-gradient(circle at 24% 84%, rgba(240, 189, 142, 0.15) 0, rgba(240, 189, 142, 0.15) 13%, transparent 33%);
    filter: blur(4px);
    border-radius: 47% 53% 42% 58% / 57% 38% 62% 43%;
    transform: rotate(-4deg);
    opacity: 0.96;
}

/*
 * Ganz wichtig:
 * Absolute Positionierung aller Karten jetzt eindeutig relativ zu
 * .ss-store-story__visual, damit nichts mehr nach oben hinter den Slider rutscht.
 */
.ss-store-story__visual > div,
.ss-store-story__main-photo,
.ss-store-story__main-photo > div,
.ss-store-story__lower-photos,
.ss-store-story__lower-photos > div,
.ss-store-story__lower-photos .row,
.ss-store-story__lower-photos .row > .col,
.ss-store-story__lower-photos .row > [class*="col-"] {
    position: static !important;
}

.ss-store-story__photo {
    --ss-photo-rotate: 0deg;
    position: absolute !important;
    inset: auto;
    overflow: hidden;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(105, 86, 66, 0.10);
    border-radius: 7px;
    box-shadow:
        0 20px 42px var(--ss-store-photo-shadow),
        0 6px 14px rgba(59, 45, 30, 0.08);
    transform: rotate(var(--ss-photo-rotate));
    transition: transform 240ms ease, box-shadow 240ms ease;
    will-change: transform;
}

.ss-store-story__photo picture {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 3px;
    background: #f5f2eb;
}

.ss-store-story__photo img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
}

.ss-store-story__photo--main {
    --ss-photo-rotate: 1.75deg;
    top: -6px;
    right: 2.2%;
    width: 68%;
    aspect-ratio: 4 / 3;
    z-index: 3;
}

.ss-store-story__photo--portrait {
    --ss-photo-rotate: -4.2deg;
    top: 130px;
    left: 0.5%;
    width: 35%;
    aspect-ratio: 4 / 5;
    z-index: 5;
}

.ss-store-story__photo--inside {
    --ss-photo-rotate: 3.2deg;
    top: auto !important;
    bottom: 18px !important;
    right: -1.2%;
    width: 43%;
    aspect-ratio: 4 / 3;
    z-index: 6;
}

.ss-store-story__photo--main img {
    object-position: 50% 50%;
}

.ss-store-story__photo--portrait img {
    object-position: 50% 40%;
}

.ss-store-story__photo--inside img {
    object-position: 50% 50%;
}

@media (hover: hover) and (pointer: fine) {
    .ss-store-story__photo:hover {
        box-shadow:
            0 24px 48px rgba(59, 45, 30, 0.24),
            0 10px 16px rgba(59, 45, 30, 0.11);
        transform: translateY(-6px) rotate(var(--ss-photo-rotate)) scale(1.012);
    }
}

/* kleine Sternchen rechts oben an der Collage */
.ss-store-story__visual::after {
    content: "✦ ✧";
    position: absolute;
    right: 4%;
    top: 7%;
    z-index: 8;
    color: var(--ss-store-yellow);
    font-family: Arial, sans-serif;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.88;
    transform: rotate(-7deg);
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   8. sanftes Hereingleiten der rechten Seite
   ========================================================================== */

.ss-store-story__visual.wow.fadeIn {
    animation-name: ss-store-story-slide-in-right !important;
}

@keyframes ss-store-story-slide-in-right {
    from {
        opacity: 0;
        transform: translate3d(36px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   9. Playbutton – vorbereitet
   ========================================================================== */

.ss-store-story__play {
    position: absolute !important;
    top: 33%;
    right: 26%;
    z-index: 7;
    transform: translate(50%, -50%);
    text-align: center !important;
}

.ss-store-story__play .btn {
    position: relative;
    display: inline-flex;
    width: clamp(66px, 5.7vw, 88px);
    height: clamp(66px, 5.7vw, 88px);
    min-width: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 4px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 50%;
    box-shadow:
        0 16px 34px rgba(26, 24, 20, 0.24),
        inset 0 0 0 1px rgba(82, 82, 82, 0.12);
}

.ss-store-story__play .btn::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid var(--ss-store-orange);
}

/* ==========================================================================
   10. Large Tablet / Small Desktop
   ========================================================================== */

@media (max-width: 1299.98px) {
    .ss-store-story {
        width: min(1320px, calc(100% - 22px));
    }

    .ss-store-story::after {
        width: 72%;
        height: clamp(210px, 36vw, 380px);
        right: -3%;
        bottom: -1%;
    }

    .ss-store-story > div::before {
        animation-duration: 12s;
    }

    .ss-store-story > div::after {
        left: 10%;
        top: 20%;
        width: 60%;
        height: 58%;
    }

    .ss-store-story > div > .row {
        row-gap: 26px;
    }

    .ss-store-story__copy {
        max-width: 920px;
        padding-top: 28px;
    }

    .ss-store-story__visual {
        max-width: 960px;
        min-height: 770px;
        margin-top: 8px;
    }

    .ss-store-story__photo--main {
        width: 66%;
        right: 4%;
        top: 0;
    }

    .ss-store-story__photo--portrait {
        width: 34%;
        left: 3%;
        top: 132px;
    }

    .ss-store-story__photo--inside {
        width: 42%;
        right: 1%;
        bottom: 10px !important;
    }
}

/* ==========================================================================
   11. Tablet / Mobil – wieder geordneter
   ========================================================================== */

@media (max-width: 991.98px) {
    .ss-store-story {
        width: calc(100% - 18px);
        padding: 16px 6px 38px;
    }

    .ss-store-story::after {
        width: 84%;
        height: 290px;
        right: -8%;
        bottom: -4%;
    }

    .ss-store-story > div::before {
        left: 6%;
        top: 12%;
        animation: ss-store-story-plane-flight-tablet 11s ease-in-out infinite;
    }

    .ss-store-story > div::after {
        left: 11%;
        top: 16%;
        width: 58%;
        height: 48%;
    }

    @keyframes ss-store-story-plane-flight-tablet {
        0% {
            transform: translate3d(0, 0, 0) rotate(-18deg) scale(0.96);
            opacity: 0.22;
        }

        18% {
            transform: translate3d(110px, -22px, 0) rotate(4deg);
            opacity: 0.5;
        }

        45% {
            transform: translate3d(330px, 20px, 0) rotate(9deg);
            opacity: 0.63;
        }

        72% {
            transform: translate3d(520px, 120px, 0) rotate(22deg);
            opacity: 0.5;
        }

        100% {
            transform: translate3d(640px, 180px, 0) rotate(26deg);
            opacity: 0.16;
        }
    }

    .ss-store-story > div > .row {
        row-gap: 10px;
        margin-right: -8px;
        margin-left: -8px;
    }

    .ss-store-story > div > .row > .col,
    .ss-store-story > div > .row > [class*="col-"] {
        padding-right: 8px;
        padding-left: 8px;
    }

    .ss-store-story__copy {
        padding-top: 18px;
    }

    .ss-store-story__visual {
        min-height: 720px;
        max-width: 780px;
    }

    .ss-store-story__photo--main {
        width: 72%;
        right: 5%;
        top: 8px;
    }

    .ss-store-story__photo--portrait {
        width: 38%;
        top: 144px;
        left: 3%;
    }

    .ss-store-story__photo--inside {
        width: 46%;
        right: 3%;
        bottom: 10px !important;
    }
}

@media (max-width: 767.98px) {
    .ss-store-story {
        width: calc(100% - 12px);
        margin-top: 12px;
        padding: 14px 4px 28px;
    }

    .ss-store-story::after {
        width: 96%;
        height: 180px;
        right: -6%;
        bottom: -2%;
    }

    /* Auf Mobil kein Flug, sonst zu unruhig */
    .ss-store-story > div::before,
    .ss-store-story > div::after {
        display: none;
    }

    .ss-store-story > div > .row {
        row-gap: 24px;
    }

    .ss-store-story__copy {
        max-width: 100%;
        padding: 8px 8px 0;
    }

    .ss-store-story__title {
        font-size: clamp(32px, 8.6vw, 48px);
    }

    .ss-store-story__intro {
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.55;
    }

    .ss-store-story .ss-store-story__heart-divider {
        width: 96%;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .ss-store-story__copy > div > .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .ss-store-story__copy > div > .row > .col,
    .ss-store-story__copy > div > .row > [class*="col-"] {
        padding: 7px 5px;
    }

    .ss-store-story__value {
        min-height: 132px;
        font-size: 12px;
    }

    .ss-store-story__value::before {
        width: 48px;
        height: 48px;
        margin-bottom: 11px;
    }

    .ss-store-story__visual {
        max-width: 100%;
        min-height: 0;
        padding-top: 0;
    }

    .ss-store-story__visual::before {
        top: 3%;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .ss-store-story__photo {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        padding: 8px;
        transform: none !important;
        box-shadow:
            0 16px 28px rgba(59, 45, 30, 0.16),
            0 5px 10px rgba(59, 45, 30, 0.08);
    }

    .ss-store-story__photo--main {
        width: 92% !important;
        margin: 0 auto !important;
        aspect-ratio: 4 / 3;
        z-index: 2;
    }

    .ss-store-story__lower-photos,
    .ss-store-story__lower-photos > div {
        position: relative !important;
        margin-top: -18px;
    }

    .ss-store-story__lower-photos .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        margin-right: -5px;
        margin-left: -5px;
    }

    .ss-store-story__lower-photos .row > .col,
    .ss-store-story__lower-photos .row > [class*="col-"] {
        display: flex;
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5px;
        padding-left: 5px;
        align-items: flex-end;
    }

    .ss-store-story__photo--portrait {
        width: 96% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .ss-store-story__photo--inside {
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        transform: translateY(8px) !important;
    }

    .ss-store-story__visual::after {
        right: 10px;
        top: 6px;
        font-size: 24px;
    }
}

/* ==========================================================================
   12. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .ss-store-story .wow,
    .ss-store-story__visual.wow.fadeIn {
        visibility: visible !important;
        animation: none !important;
        transform: none !important;
    }

    .ss-store-story > div::before,
    .ss-store-story > div::after {
        animation: none !important;
    }

    .ss-store-story__photo,
    .ss-store-story__value::before {
        transition: none !important;
    }
}

/* ==========================================================================
   13. optionale Saisonvarianten
   ========================================================================== */

.ss-store-story--spring::before {
    background:
        radial-gradient(circle at 77% 19%, rgba(194, 223, 154, 0.18) 0, rgba(194, 223, 154, 0.18) 16%, transparent 40%),
        radial-gradient(circle at 84% 67%, rgba(255, 211, 222, 0.18) 0, rgba(255, 211, 222, 0.18) 17%, transparent 40%),
        radial-gradient(circle at 16% 80%, rgba(126, 195, 212, 0.08) 0, rgba(126, 195, 212, 0.08) 13%, transparent 31%);
}

.ss-store-story--school::before {
    background:
        radial-gradient(circle at 77% 19%, rgba(214, 219, 112, 0.16) 0, rgba(214, 219, 112, 0.16) 16%, transparent 40%),
        radial-gradient(circle at 84% 67%, rgba(240, 189, 142, 0.20) 0, rgba(240, 189, 142, 0.20) 17%, transparent 40%),
        radial-gradient(circle at 16% 80%, rgba(139, 191, 231, 0.09) 0, rgba(139, 191, 231, 0.09) 13%, transparent 31%);
}

.ss-store-story--christmas::before {
    background:
        radial-gradient(circle at 77% 19%, rgba(122, 166, 92, 0.16) 0, rgba(122, 166, 92, 0.16) 16%, transparent 40%),
        radial-gradient(circle at 84% 67%, rgba(231, 179, 161, 0.20) 0, rgba(231, 179, 161, 0.20) 17%, transparent 40%),
        radial-gradient(circle at 16% 80%, rgba(181, 173, 216, 0.08) 0, rgba(181, 173, 216, 0.08) 13%, transparent 31%);
}

/*

/* ==========================================================================
   14. Papierflieger – einmalige Route durch das Schaufenster
   Datei-Partner: store-story-plane.js ab Version 1.1.0
   ========================================================================== */

/*
 * Frühere CSS-Pseudo-Flieger und Flugspuren bleiben vollständig aus.
 * Der echte Flieger wird von JavaScript direkt in .ss-store-story eingesetzt.
 */
.ss-store-story > div::before,
.ss-store-story > div::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/*
 * Die Route beginnt oberhalb/rechts und endet unterhalb/rechts.
 * Der Bereich muss deshalb Überstände sichtbar lassen.
 */
.ss-store-story {
    overflow: visible;
}

.ss-flying-plane {
    position: absolute;
    z-index: 60;
    top: 0;
    left: 0;
    width: clamp(46px, 3.8vw, 70px);
    height: clamp(46px, 3.8vw, 70px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
    contain: layout paint style;
    filter:
        drop-shadow(0 9px 9px rgba(53, 43, 33, 0.16))
        drop-shadow(0 2px 2px rgba(53, 43, 33, 0.08));
}

/* Keine zusätzliche starre Flugspur – der Flug selbst bleibt die Geschichte. */
.ss-flying-plane::after {
    content: none !important;
    display: none !important;
}

.ss-flying-plane.is-flying {
    visibility: visible;
}

.ss-flying-plane img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Auf Mobil bewusst keine Bewegung über Text und Bilder. */
@media (max-width: 767.98px) {
    .ss-flying-plane {
        display: none !important;
    }
}

/* Betriebssystem-Einstellung für Bewegungsreduktion respektieren. */
@media (prefers-reduced-motion: reduce) {
    .ss-flying-plane {
        display: none !important;
    }
}
