
:root {
    color-scheme: dark;
    --blue: #55d9ff;
    --pink: #ff51d4;
    --ink: #080b14;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--ink);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.site {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* =========================================
   SPLIT SCREEN
========================================= */

.split {
    position: relative;
    flex: 1;
    min-height: 750px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: grid-template-columns .65s var(--ease);
    isolation: isolate;
}

.split:has(.event--winter:hover),
.split:has(.event--winter:focus-visible) {
    grid-template-columns: 1.13fr .87fr;
}

.split:has(.event--summer:hover),
.split:has(.event--summer:focus-visible) {
    grid-template-columns: .87fr 1.13fr;
}

/* =========================================
   EVENT PANELS
========================================= */

.event {
    position: relative;
    min-width: 0;
    overflow: hidden;

    display: grid;
    place-items: center;

    text-align: center;
    text-decoration: none;
    color: #fff;

    outline-offset: -8px;
}

.event__image {
    position: absolute;
    inset: -2%;

    background-position: center;
    background-size: cover;

    transform: scale(1.055);

    transition:
        transform 1.1s var(--ease),
        filter .8s ease;
}

.event:hover .event__image,
.event:focus-visible .event__image {
    transform: scale(1.11);
}

/* WINTER BACKGROUND */

.event--winter .event__image {
    background-image:
        linear-gradient(
            180deg,
            rgba(0, 9, 20, .15),
            rgba(1, 12, 27, .62) 65%,
            rgba(0, 9, 24, .86)
        ),
        url('assets/winter.webp');
}

/* SUMMER BACKGROUND */

.event--summer .event__image {
    background-image:
        linear-gradient(
            180deg,
            rgba(14, 0, 20, .12),
            rgba(22, 0, 22, .51) 65%,
            rgba(19, 0, 26, .83)
        ),
        url('assets/sommer.webp');
}

/* ATMOSPHERIC OVERLAYS */

.event__noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .7;
}

.event--winter .event__noise {
    background: radial-gradient(
        ellipse at 50% 63%,
        rgba(0, 123, 211, .15),
        transparent 60%
    );
}

.event--summer .event__noise {
    background: radial-gradient(
        ellipse at 50% 65%,
        rgba(255, 0, 160, .12),
        transparent 60%
    );
}

/* =========================================
   MASTHEAD / ORIGINAL LOGO
========================================= */

.masthead {
    position: absolute;
    z-index: 4;

    top: 3.1%;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    max-width: 94%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    pointer-events: none;

    filter: drop-shadow(0 5px 18px #02030a);
}

.brand-logo {
    display: block;
    position: relative;

    width: 200px;
    max-width: 100%;
    height: auto;

    margin: 0 auto;
    transform: none;
}

/* =========================================
   EVENT CONTENT
========================================= */

.event__content {
    position: relative;
    z-index: 2;

    width: min(92%, 680px);

    margin-top: clamp(210px, 18vh, 300px);
    padding: 0 14px 92px;

    display: flex;
    flex-direction: column;
    align-items: center;

    transition: transform .6s var(--ease);
}

.event:hover .event__content {
    transform: translateY(-7px);
}

/* EYEBROW */

.event__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    white-space: nowrap;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(9px, .9vw, 12px);
    font-weight: 800;
    letter-spacing: .24em;

    color: #dceff8;
}

.event--summer .event__eyebrow {
    color: #ffe6f7;
}

.event__line {
    width: clamp(15px, 3vw, 48px);
    height: 1px;
    background: currentColor;
    opacity: .6;
}

/* =========================================
   WINTER SVG SYMBOL
========================================= */

.event__symbol--winter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    margin: 23px 0 14px;

    color: var(--blue);
    filter: drop-shadow(0 0 12px rgba(56,191,255,.45));
}

.event__symbol--winter svg {
    display: block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* =========================================
   SUMMER SYMBOL
   Originales Unicode-Zeichen
========================================= */

.event__symbol--sun {
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;

    margin: 23px 0 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(39px, 5.3vw, 72px);
    line-height: 1;

    color: var(--pink);
    text-shadow: 0 0 32px rgba(255,32,173,.5);
}

/* =========================================
   EVENT TITLES
========================================= */

.event__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    margin: 0;

    font-family: Impact, 'Arial Narrow', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(59px, 7.4vw, 124px);
    font-style: italic;

    letter-spacing: -.015em;
    line-height: .95;

    transform: skew(-5deg);
    text-shadow: 0 6px 22px rgba(0,0,0,.4);
}

.event__title span {
    display: block;
}

/* =========================================
   DESCRIPTIONS
========================================= */

.event__description {
    margin: 31px 0 34px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(12px, 1.08vw, 16px);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .17em;

    text-transform: uppercase;
    text-shadow: 0 2px 14px #06040c;
}

/* =========================================
   CALL TO ACTION
========================================= */

.event__cta {
    border: 2px solid var(--blue);

    min-height: 62px;
    min-width: min(350px, 100%);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    transform: skew(-9deg);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;

    background: rgba(0, 12, 29, .55);

    box-shadow:
        0 0 26px rgba(38,186,255,.2),
        inset 0 0 15px rgba(38,186,255,.04);

    transition:
        background .25s,
        border-color .25s,
        box-shadow .25s;
}

.event--summer .event__cta {
    border-color: var(--pink);
    background: rgba(30,1,26,.55);
    box-shadow: 0 0 26px rgba(255,38,197,.2);
}

.event__cta > span {
    transform: skew(9deg);
}

/* =========================================
   CTA SVG ARROWS
========================================= */

.event__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 20px;
    height: 20px;
}

.event__arrow svg {
    display: block;

    width: 20px;
    height: 20px;

    flex-shrink: 0;
}

/* HOVER */

.event--winter:hover .event__cta,
.event--winter:focus-visible .event__cta {
    background: rgba(28,140,194,.38);
    box-shadow: 0 0 32px rgba(38,186,255,.37);
}

.event--summer:hover .event__cta,
.event--summer:focus-visible .event__cta {
    background: rgba(179,24,143,.33);
    box-shadow: 0 0 32px rgba(255,38,197,.38);
}

/* =========================================
   CORNER LABELS
========================================= */

.event__corner {
    position: absolute;
    z-index: 2;
    bottom: 36px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .23em;

    opacity: .65;
}

.event__corner--left {
    left: 6%;
}

.event__corner--right {
    right: 6%;
}

/* =========================================
   CENTER DIVIDER
========================================= */

.split__seam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;

    width: 2px;

    background: linear-gradient(
        180deg,
        transparent,
        rgba(205,99,255,.75) 38%,
        rgba(120,180,255,.58) 70%,
        transparent
    );

    box-shadow: 0 0 20px rgba(170,88,255,.8);

    pointer-events: none;
    z-index: 3;

    transform: translateX(-50%);
    transition: left .65s var(--ease);
}

.split:has(.event--winter:hover) .split__seam,
.split:has(.event--winter:focus-visible) .split__seam {
    left: 56.5%;
}

.split:has(.event--summer:hover) .split__seam,
.split:has(.event--summer:focus-visible) .split__seam {
    left: 43.5%;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 3.2% 17px;

    pointer-events: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 700;

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

.footer a {
    pointer-events: auto;
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.footer a:hover,
.footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* =========================================
   SMALL DESKTOP HEIGHTS
========================================= */

@media (max-height: 850px) and (min-width: 761px) {

    .split {
        min-height: 620px;
    }

    .event__content {
        margin-top: 160px;
        padding-bottom: 45px;
    }

    .event__symbol--winter,
    .event__symbol--sun {
        margin: 10px 0 12px;
    }

    .event__title {
        font-size: clamp(59px, 6vw, 90px);
    }

    .event__description {
        margin: 24px 0;
    }

    .event__cta {
        min-height: 54px;
    }

    .masthead {
        top: 18px;
    }
}

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

@media (max-width: 900px) {

    .event__title {
        font-size: clamp(55px, 8vw, 82px);
    }

    .event__eyebrow {
        letter-spacing: .1em;
    }

    .event__cta {
        min-width: 0;
        width: 100%;
        font-size: 11px;
        gap: 14px;
    }

    .event__content {
        width: 96%;
    }
}

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

@media (max-width: 760px) {

    .site {
        min-height: 100svh;
    }

    .split {
        display: flex;
        flex-direction: column;
        min-height: 900px;
    }

    .event {
        flex: 1;
        min-height: 450px;
    }

    .event__image {
        background-position: center 42%;
    }

    /* LOGO */

    .masthead {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);

        width: 100%;
        max-width: 100%;

        padding: 0 16px;
    }

    .brand-logo {
        width: 112px;
        height: auto;
        margin: 0 auto;
    }

    /* EVENT CONTENT */

    .event--winter .event__content {
        margin-top: 132px;
    }

    .event--summer .event__content {
        margin-top: 24px;
    }

    .event__content {
        padding-bottom: 35px;
    }

    /* WINTER SVG */

    .event__symbol--winter {
        width: 33px;
        height: 33px;
        margin: 10px 0;
    }

    .event__symbol--winter svg {
        width: 33px;
        height: 33px;
    }

    /* SUMMER SYMBOL */

    .event__symbol--sun {
        font-size: 33px;
        margin: 10px 0;
    }

    /* TITLES */

    .event__title {
        font-size: clamp(66px, 14vw, 93px);
        line-height: .95;
    }

    /* DESCRIPTION */

    .event__description {
        font-size: 11px;
        margin: 19px 0 21px;
    }

    /* CTA */

    .event__cta {
        width: min(335px, 94%);
        min-height: 51px;
        font-size: 11px;
    }

    .event__arrow,
    .event__arrow svg {
        width: 18px;
        height: 18px;
    }

    /* CORNERS */

    .event__corner {
        display: none;
    }

    /* DIVIDER */

    .split__seam {
        left: 0 !important;
        top: 50%;
        bottom: auto;

        width: 100%;
        height: 2px;

        transform: translateY(-50%);
    }

    /* FOOTER */

    .footer {
        position: relative;
        padding: 15px 16px;

        background: #080b14;
        font-size: 8px;
        gap: 12px;
        text-align: center;
    }
}

/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media (max-width: 390px) {

    .event__title {
        font-size: 60px;
    }

    .event__eyebrow {
        font-size: 8px;
    }

    .event__line {
        width: 14px;
    }

    .event__description {
        letter-spacing: .12em;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================
   DESKTOP – EXAKT SYMMETRISCHES LAYOUT
========================================= */

@media (min-width: 761px) {

    .event__content {
        display: grid;
        grid-template-columns: minmax(0, 1fr);

        /* Identische Höhen für beide Eventbereiche */
        grid-template-rows:
            24px    /* Eyebrow */
            90px    /* Winter-/Sommersymbol */
            220px   /* Eventtitel */
            88px    /* Datum und Beschreibung */
            62px;   /* CTA */

        justify-items: center;
        align-items: center;

        width: min(92%, 680px);
        margin-top: clamp(70px, 10vh, 110px);
        padding: 0 14px;
    }

    /* Eyebrows */
    .event__eyebrow {
        margin: 0;
        align-self: center;
    }

    /* Beide Symbole mittig in derselben Zeile */
    .event__symbol--winter,
    .event__symbol--sun {
        margin: 0;
        align-self: center;
        justify-self: center;
    }

    /* Beide Überschriften */
    .event__title {
        margin: 0;
        align-self: center;
        justify-self: center;
    }

    /* Beschreibung */
    .event__description {
        margin: 0;
        align-self: center;
        justify-self: center;
    }

    /* Buttons */
    .event__cta {
        margin: 0;
        align-self: center;
        justify-self: center;
    }

    /* Keine unterschiedliche vertikale Verschiebung
       der Inhalte beim Hover */
    .event:hover .event__content {
        transform: none;
    }
}