/* ==========================================================
   9GRAD OST · WHY V5
   Cinematic Editorial
   ========================================================== */

.r9-why,
.r9-why * {
    box-sizing: border-box;

    hyphens: none !important;
    word-break: normal !important;
}

.r9-why {
    --red: #690f00;
    --ink: #151515;
    --paper: #f1eeea;
    --white: #fff;
    --muted: #696763;

    position: relative;

    padding:
        clamp(90px, 8vw, 135px)
        36px
        clamp(105px, 9vw, 150px);

    background: var(--paper);

    overflow: hidden;
}

.r9-why__inner {
    width: min(1320px, 100%);
    margin: 0 auto;
}


/* ==========================================================
   HEAD
   ========================================================== */

.r9-why__head {
    position: relative;
    z-index: 3;

    margin-bottom:
        clamp(60px, 6vw, 90px);
}

.r9-why__eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .22em;

    color: #696966;
}

.r9-why__eyebrow span {
    width: 35px;
    height: 1px;

    background: var(--red);
}

.r9-why__headline-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, .65fr);

    gap: clamp(70px, 10vw, 160px);

    align-items: end;
}

.r9-why__headline-grid h2 {
    max-width: 820px;

    margin: 0;

    font-size:
        clamp(56px, 6vw, 92px);

    font-weight: 400;

    line-height: .90;
    letter-spacing: -.06em;

    color: var(--ink);
}

.r9-why__headline-grid > p {
    max-width: 420px;

    margin: 0 0 7px;

    font-size: 15px;
    line-height: 1.72;

    color: var(--muted);
}


/* ==========================================================
   CINEMATIC EXPERIENCE PANEL
   ========================================================== */

.r9-why__experience {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(260px, .34fr)
        minmax(0, 1fr);

    min-height:
        clamp(430px, 52vw, 610px);

    overflow: hidden;

    background: #111;
}


/* Eventfoto im rechten Bereich */

.r9-why__experience::before {
    content: "";

    position: absolute;

    inset: 0 0 0 30%;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.60) 0%,
            rgba(0,0,0,.16) 42%,
            rgba(0,0,0,.18) 100%
        ),
        url("/assets/images/events/real/event-setup-stage.jpeg")
        center center / cover
        no-repeat;

    transform:
        scale(var(--why-image-scale, 1.05))
        translate3d(
            0,
            var(--why-image-y, 0px),
            0
        );

    will-change: transform;
}


/* CI Fläche links */

.r9-why__experience-number {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;

    justify-content: flex-end;

    padding:
        clamp(38px, 4vw, 60px);

    background: var(--red);

    color: #fff;
}

.r9-why__experience-number strong {
    margin: 0;

    font-size:
        clamp(105px, 12vw, 185px);

    font-weight: 400;

    line-height: .69;

    letter-spacing: -.10em;

    color: #fff;
}

.r9-why__experience-number span {
    margin-top: 25px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .22em;

    text-transform: uppercase;

    color:
        rgba(255,255,255,.68);
}


/* Text liegt auf dem Bild */

.r9-why__experience-copy {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-self: stretch;

    max-width: 680px;

    margin-left:
        clamp(30px, 6vw, 90px);

    padding:
        clamp(50px, 6vw, 85px)
        clamp(40px, 5vw, 70px);

    color: #fff;
}

.r9-why__index {
    display: block;

    margin-bottom: 22px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .18em;

    color: var(--red);
}

.r9-why__experience-copy .r9-why__index {
    color:
        rgba(255,255,255,.58);
}

.r9-why__experience-copy h3 {
    max-width: 600px;

    margin: 0;

    font-size:
        clamp(40px, 4.4vw, 66px);

    font-weight: 400;

    line-height: .94;

    letter-spacing: -.055em;

    color: #fff;
}

.r9-why__experience-copy p {
    max-width: 580px;

    margin: 24px 0 0;

    font-size: 14px;

    line-height: 1.72;

    color:
        rgba(255,255,255,.78);
}


/* ==========================================================
   FLOATING FACTS
   ========================================================== */

.r9-why__facts {
    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 15px;

    width: calc(100% - clamp(20px, 5vw, 80px));

    margin:
        clamp(-70px, -5vw, -48px)
        0
        0
        auto;
}

.r9-why__fact {
    position: relative;

    min-height: 245px;

    padding:
        31px
        31px
        34px;

    background:
        rgba(255,255,255,.96);

    border-top:
        2px solid transparent;

    box-shadow:
        0
        20px
        55px
        rgba(18,18,18,.08);

    opacity: 0;

    transform:
        translate3d(
            0,
            45px,
            0
        );

    transition:
        opacity .8s cubic-bezier(.16,1,.3,1),
        transform .9s cubic-bezier(.16,1,.3,1),
        border-color .3s ease,
        box-shadow .3s ease;
}

.r9-why.is-visible
.r9-why__fact {
    opacity: 1;

    transform:
        translate3d(0,0,0);
}

.r9-why.is-visible
.r9-why__fact:nth-child(2) {
    transition-delay: .09s;
}

.r9-why.is-visible
.r9-why__fact:nth-child(3) {
    transition-delay: .18s;
}


.r9-why__fact h3 {
    max-width: 330px;

    margin: 0;

    font-size:
        clamp(28px, 2.4vw, 38px);

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -.042em;

    color: var(--ink);
}

.r9-why__fact p {
    max-width: 350px;

    margin: 20px 0 0;

    font-size: 14px;

    line-height: 1.68;

    color: var(--muted);
}


/* kleine rote Markierung */

.r9-why__fact::after {
    content: "";

    position: absolute;

    top: 0;
    left: 31px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition:
        width .45s cubic-bezier(.16,1,.3,1);
}


@media (hover:hover) {

    .r9-why__fact:hover {
        transform:
            translate3d(
                0,
                -6px,
                0
            );

        border-top-color:
            rgba(105,15,0,.12);

        box-shadow:
            0
            28px
            70px
            rgba(18,18,18,.13);
    }

    .r9-why__fact:hover::after {
        width: 58px;
    }

}


/* ==========================================================
   DECORATIVE TYPO
   ========================================================== */

.r9-why::after {
    content: "09°";

    position: absolute;

    right: -35px;
    top: 60px;

    font-size:
        clamp(160px, 21vw, 330px);

    font-weight: 500;

    line-height: .75;

    letter-spacing: -.10em;

    color:
        rgba(105,15,0,.026);

    pointer-events: none;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .r9-why__headline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .r9-why__headline-grid > p {
        max-width: 600px;
    }

    .r9-why__experience {
        grid-template-columns:
            240px
            1fr;
    }

    .r9-why__facts {
        width: calc(100% - 30px);
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

    .r9-why {
        padding:
            70px
            20px
            88px;
    }

    .r9-why::after {
        display: none;
    }

    .r9-why__headline-grid h2 {
        font-size:
            clamp(46px, 12vw, 60px);
    }


    .r9-why__experience {
        display: block;

        min-height: 0;
    }


    .r9-why__experience::before {
        inset:
            250px
            0
            0;

        min-height: 360px;

        background-position:
            center center;
    }


    .r9-why__experience-number {
        min-height: 250px;

        justify-content: flex-end;

        padding:
            35px
            24px;
    }


    .r9-why__experience-number strong {
        font-size:
            clamp(100px, 31vw, 140px);
    }


    .r9-why__experience-copy {
        min-height: 400px;

        margin: 0;

        padding:
            42px
            24px;
    }


    .r9-why__experience-copy h3 {
        font-size:
            clamp(39px, 11vw, 52px);
    }


    .r9-why__facts {
        display: block;

        width: calc(100% - 20px);

        margin:
            -35px
            0
            0
            auto;
    }


    .r9-why__fact {
        min-height: 0;

        margin-bottom: 10px;

        padding:
            27px
            24px
            31px;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

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

    .r9-why__fact {
        opacity: 1 !important;

        transform:
            none !important;

        transition: none !important;
    }

    .r9-why__experience::before {
        transform:
            scale(1.05) !important;
    }

}
