/*
|--------------------------------------------------------------------------
| Event-Furs Landingpage – Test 1
|--------------------------------------------------------------------------
|
| Die Farbwelt basiert vollständig auf dem zentralen Event-Furs
| Designsystem. Der eigentliche Seitenhintergrund kommt aus background.css.
|
*/


/*
|--------------------------------------------------------------------------
| Basis
|--------------------------------------------------------------------------
*/

.landing-body {
    min-height: 100svh;
    overflow: hidden;
}

.landing-page {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100svh;
    flex-direction: column;
    overflow: hidden;
}

.landing-main {
    display: flex;
    flex: 1;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*
|--------------------------------------------------------------------------
| Zusätzliche Atmosphäre
|--------------------------------------------------------------------------
*/

.landing-atmosphere {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.18) 68%,
            transparent 96%
        );
}

.landing-beam {
    position: absolute;
    width: 620px;
    height: 180px;

    border-radius: 50%;

    opacity: 0.12;
    filter: blur(64px);
}

.landing-beam--one {
    top: 8%;
    right: -220px;

    background: var(--theme-current);

    transform: rotate(-26deg);

    animation:
        landing-beam-one
        14s
        ease-in-out
        infinite;
}

.landing-beam--two {
    bottom: 9%;
    left: -250px;

    background: var(--color-primary-500);

    transform: rotate(18deg);

    opacity: 0.08;

    animation:
        landing-beam-two
        17s
        ease-in-out
        infinite;
}

.landing-particle {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: var(--radius-round);

    background: var(--color-primary-300);

    opacity: 0.55;

    box-shadow:
        0 0 14px
        rgba(147, 197, 253, 0.65);
}

.landing-particle--one {
    top: 18%;
    left: 9%;

    animation:
        landing-particle-float
        8s
        ease-in-out
        infinite;
}

.landing-particle--two {
    top: 37%;
    right: 12%;

    animation:
        landing-particle-float
        11s
        ease-in-out
        -3s
        infinite;
}

.landing-particle--three {
    bottom: 23%;
    left: 38%;

    animation:
        landing-particle-float
        10s
        ease-in-out
        -5s
        infinite;
}

.landing-particle--four {
    right: 31%;
    bottom: 12%;

    animation:
        landing-particle-float
        9s
        ease-in-out
        -1s
        infinite;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.landing-hero {
    position: relative;
    z-index: 2;

    display: grid;
    align-items: center;

    width: min(
        var(--layout-max-width),
        calc(100% - 60px)
    );

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    gap:
        clamp(
            var(--spacing-8),
            7vw,
            var(--spacing-12)
        );

    margin: 0 auto;

    padding:
        clamp(
            var(--spacing-4),
            3vh,
            var(--spacing-7)
        )
        0;
}

.landing-hero-content {
    position: relative;
}

.landing-title {
    display: flex;
    flex-direction: column;

    margin: 0;

    font-size:
        clamp(
            4.8rem,
            10.5vw,
            9.8rem
        );

    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.landing-title-event {
    color: var(--text-primary);
}

.landing-title-furs {
    margin-left: 0.23em;

    color: transparent;

    background:
        linear-gradient(
            105deg,
            var(--color-primary-300) 0%,
            var(--color-primary-400) 36%,
            #818cf8 76%,
            #c4b5fd 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    filter:
        drop-shadow(
            0 18px 30px
            rgba(37, 99, 235, 0.12)
        );
}


.landing-region-claim {
    display: flex;
    flex-direction: column;
    gap: 3px;

    max-width: 720px;

    margin:
        var(--spacing-8)
        0
        0;

    font-size:
        clamp(
            1.55rem,
            3.25vw,
            2.85rem
        );

    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.landing-region-claim span {
    color: var(--text-primary);
}

.landing-region-claim strong {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            var(--color-primary-300),
            var(--theme-current),
            #818cf8
        );

    background-clip: text;
    -webkit-background-clip: text;

    font-weight: 900;
}


.landing-claim {
    margin:
        var(--spacing-6)
        0
        0;

    color: var(--text-secondary);

    font-size:
        clamp(
            var(--font-size-lg),
            2vw,
            1.75rem
        );

    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.025em;
}

.landing-claim strong {
    color: var(--theme-current);
}

.landing-intro {
    max-width: 660px;

    margin:
        var(--spacing-5)
        0
        0;

    color: var(--text-muted);

    font-size:
        clamp(
            var(--font-size-base),
            1.25vw,
            var(--font-size-md)
        );

    line-height: 1.75;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;

    margin-top: var(--spacing-8);
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);

    min-height: 52px;

    padding:
        11px
        var(--spacing-5);

    border:
        var(--border-width)
        solid
        transparent;

    border-radius: var(--radius-xl);

    font-size: 0.94rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;

    transition:
        transform var(--transition-base),
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.landing-button:hover {
    transform: translateY(-2px);
}

.landing-button--primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--color-primary-600),
            var(--color-primary-500)
        );

    box-shadow:
        0 14px 34px
        rgba(37, 99, 235, 0.28);
}

.landing-button--primary:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--color-primary-500),
            var(--color-primary-400)
        );

    box-shadow:
        0 18px 42px
        rgba(37, 99, 235, 0.36);
}

.landing-button-arrow {
    transition:
        transform
        var(--transition-base);
}

.landing-button--primary:hover
.landing-button-arrow {
    transform: translateX(4px);
}

/*
|--------------------------------------------------------------------------
| Community Visual
|--------------------------------------------------------------------------
*/

.landing-visual {
    position: relative;

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

    min-height: min(520px, 56vh);
}

.community-visual {
    position: relative;

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

    width:
        min(
            82%,
            470px
        );

    aspect-ratio: 1;

    filter:
        drop-shadow(
            0 30px 60px
            rgba(2, 6, 23, 0.28)
        );
}

.community-visual::before {
    position: absolute;
    inset: 8%;

    content: "";

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(96, 165, 250, 0.13),
            rgba(96, 165, 250, 0.025) 48%,
            transparent 70%
        );

    filter: blur(14px);
}

.community-orbit {
    position: absolute;

    border-radius: 50%;

    border:
        var(--border-width)
        solid
        rgba(147, 197, 253, 0.16);
}

.community-orbit--outer {
    inset: 0;

    border-color:
        rgba(147, 197, 253, 0.21);

    animation:
        community-runner-orbit
        24s
        linear
        infinite;
}

.community-orbit--middle {
    inset: 12%;

    border-style: dashed;

    opacity: 0.65;

    animation:
        community-spin-reverse
        34s
        linear
        infinite;
}

.community-orbit--inner {
    inset: 27%;

    border-color:
        rgba(255, 255, 255, 0.09);

    background:
        rgba(15, 23, 42, 0.18);

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);
}


/*
|--------------------------------------------------------------------------
| Umlaufender Lichtpunkt
|--------------------------------------------------------------------------
*/

.community-runner {
    position: absolute;

    top: 50%;
    right: -5px;

    width: 10px;
    height: 10px;

    margin-top: -5px;

    border-radius: var(--radius-round);

    background: var(--color-primary-300);

    box-shadow:
        0 0 9px rgba(147, 197, 253, 1),
        0 0 22px rgba(96, 165, 250, 0.85),
        0 0 42px rgba(59, 130, 246, 0.42);
}


/*
|--------------------------------------------------------------------------
| Verbindungslinien
|--------------------------------------------------------------------------
*/

.community-spoke {
    position: absolute;
    z-index: 1;

    top: 50%;
    left: 50%;

    width: 42%;
    height: 1px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.34),
            rgba(147, 197, 253, 0.1),
            transparent
        );

    opacity: 0.55;
}

.community-spoke--one {
    transform: rotate(-90deg);
}

.community-spoke--two {
    transform: rotate(-30deg);
}

.community-spoke--three {
    transform: rotate(30deg);
}

.community-spoke--four {
    transform: rotate(90deg);
}

.community-spoke--five {
    transform: rotate(150deg);
}

.community-spoke--six {
    transform: rotate(210deg);
}


/*
|--------------------------------------------------------------------------
| Knoten
|--------------------------------------------------------------------------
*/

.community-node {
    position: absolute;
    z-index: 4;

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

    width: 25px;
    height: 25px;

    margin:
        -12.5px
        0
        0
        -12.5px;

    border:
        var(--border-width)
        solid
        rgba(147, 197, 253, 0.28);

    border-radius: var(--radius-round);

    background:
        rgba(15, 23, 42, 0.9);

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.28);
}

.community-node i {
    width: 7px;
    height: 7px;

    border-radius: var(--radius-round);

    background: var(--color-primary-400);

    box-shadow:
        0 0 14px
        rgba(96, 165, 250, 0.75);
}

.community-node--one {
    top: 8%;
    left: 50%;
}

.community-node--two {
    top: 29%;
    left: 86.4%;
}

.community-node--three {
    top: 71%;
    left: 86.4%;
}

.community-node--four {
    top: 92%;
    left: 50%;
}

.community-node--five {
    top: 71%;
    left: 13.6%;
}

.community-node--six {
    top: 29%;
    left: 13.6%;
}

.community-node--one,
.community-node--two,
.community-node--three,
.community-node--four,
.community-node--five,
.community-node--six {
    animation:
        community-node-activate
        24s
        ease-in-out
        infinite;
}

.community-node--one {
    animation-delay: 0s;
}

.community-node--two {
    animation-delay: -20s;
}

.community-node--three {
    animation-delay: -16s;
}

.community-node--four {
    animation-delay: -12s;
}

.community-node--five {
    animation-delay: -8s;
}

.community-node--six {
    animation-delay: -4s;
}


/*
|--------------------------------------------------------------------------
| Zentrum / wechselnde Aktivitäten
|--------------------------------------------------------------------------
*/

.community-core {
    position: relative;
    z-index: 5;

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

    width: 48%;
    aspect-ratio: 1;

    padding: var(--spacing-5);

    border:
        var(--border-width)
        solid
        var(--border-color-primary);

    border-radius: var(--radius-3xl);

    background:
        linear-gradient(
            145deg,
            rgba(30, 41, 59, 0.88),
            rgba(15, 23, 42, 0.92)
        );

    box-shadow:
        var(--shadow-lg),
        inset
        0
        1px
        rgba(255, 255, 255, 0.055);

    backdrop-filter:
        var(--blur-lg);

    -webkit-backdrop-filter:
        var(--blur-lg);

    transform:
        rotate(7deg);
}

.community-core > * {
    transform:
        rotate(-7deg);
}

.community-core-eyebrow {
    color: var(--theme-current);

    font-size:
        clamp(
            0.5rem,
            0.9vw,
            0.62rem
        );

    font-weight: 800;
    letter-spacing: 0.17em;
}

.community-core-cycle {
    position: relative;

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

    width: 100%;
    min-height:
        clamp(
            3.2rem,
            7vw,
            5.2rem
        );

    margin:
        7px
        0
        1px;
}

.community-cycle-item {
    position: absolute;

    width: 100%;

    color: var(--text-primary);

    font-size:
        clamp(
            1.25rem,
            3vw,
            2.15rem
        );

    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
    text-align: center;

    opacity: 0;

    transform:
        translateY(9px)
        scale(0.97);

    animation:
        community-text-cycle
        24s
        ease-in-out
        infinite;
}

.community-cycle-item--one {
    animation-delay: 0s;
}

.community-cycle-item--two {
    animation-delay: -20s;
}

.community-cycle-item--three {
    animation-delay: -16s;
}

.community-cycle-item--four {
    animation-delay: -12s;
}

.community-cycle-item--five {
    animation-delay: -8s;
}

.community-cycle-item--six {
    animation-delay: -4s;
}

.community-core-subline {
    color: var(--text-muted);

    font-size:
        clamp(
            0.62rem,
            1.25vw,
            0.82rem
        );

    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Eintrittsanimation
|--------------------------------------------------------------------------
*/

.landing-hero-content {
    animation:
        landing-enter-left
        0.8s
        0.08s
        ease
        both;
}

.landing-visual {
    animation:
        landing-enter-right
        0.9s
        0.16s
        ease
        both;
}

/*
|--------------------------------------------------------------------------
| Keyframes
|--------------------------------------------------------------------------
*/

@keyframes landing-enter-left {
    from {
        opacity: 0;
        transform:
            translateX(-24px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0);
    }
}

@keyframes landing-enter-right {
    from {
        opacity: 0;
        transform:
            translateX(24px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0);
    }
}

@keyframes landing-beam-one {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            rotate(-26deg);
    }

    50% {
        transform:
            translate3d(-50px, 30px, 0)
            rotate(-21deg);
    }
}

@keyframes landing-beam-two {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            rotate(18deg);
    }

    50% {
        transform:
            translate3d(55px, -25px, 0)
            rotate(23deg);
    }
}

@keyframes landing-particle-float {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-18px);
    }
}

@keyframes community-spin-reverse {
    from {
        transform:
            rotate(360deg);
    }

    to {
        transform:
            rotate(0deg);
    }
}


@keyframes community-runner-orbit {
    from {
        transform:
            rotate(-90deg);
    }

    to {
        transform:
            rotate(270deg);
    }
}

@keyframes community-text-cycle {
    0% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

    13% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

    16.666%,
    96% {
        opacity: 0;

        transform:
            translateY(-8px)
            scale(0.98);
    }

    97% {
        opacity: 0;

        transform:
            translateY(8px)
            scale(0.98);
    }

    100% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes community-node-activate {
    0%,
    5% {
        border-color:
            rgba(191, 219, 254, 0.82);

        background:
            rgba(37, 99, 235, 0.34);

        transform:
            scale(1.22);

        box-shadow:
            0 0 18px
            rgba(96, 165, 250, 0.78),
            0 0 35px
            rgba(59, 130, 246, 0.28);
    }

    10%,
    100% {
        border-color:
            rgba(147, 197, 253, 0.28);

        background:
            rgba(15, 23, 42, 0.9);

        transform:
            scale(1);

        box-shadow:
            0 8px 22px
            rgba(0, 0, 0, 0.28);
    }
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .landing-hero {
        grid-template-columns: 1fr;

        gap: var(--spacing-6);

        padding-top: var(--spacing-10);
    }

    .landing-hero-content {
        max-width: 800px;
    }

    .landing-visual {
        min-height: 450px;
    }

    .community-visual {
        width:
            min(
                68vw,
                430px
            );
    }
}

@media (max-width: 768px) {
    .landing-body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .landing-page,
    .landing-main {
        min-height: 100svh;
        overflow: visible;
    }


    .landing-hero {
        width:
            calc(
                100%
                - 32px
            );
    }
.landing-hero {
        padding:
            var(--spacing-9)
            0
            var(--spacing-9);
    }

    .landing-title {
        font-size:
            clamp(
                4rem,
                21vw,
                7rem
            );
    }

    .landing-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-button {
        width: 100%;
    }

    .landing-visual {
        min-height: 380px;
    }

    .community-visual {
        width:
            min(
                82vw,
                360px
            );
    }
}

@media (max-width: 520px) {
    .landing-hero {
        width:
            calc(
                100%
                - 24px
            );
    }
.landing-title {
        font-size:
            clamp(
                3.55rem,
                21vw,
                5.2rem
            );
    }

    .landing-region-claim {
        margin-top:
            var(--spacing-7);

        font-size:
            clamp(
                1.35rem,
                8vw,
                2rem
            );
    }

    .landing-claim {
        margin-top:
            var(--spacing-5);
    }

    .landing-visual {
        min-height: 320px;
    }

    .community-visual {
        width:
            min(
                88vw,
                310px
            );
    }

    .community-core {
        width: 46%;
    }

}


/*
|--------------------------------------------------------------------------
| Reduzierte Bewegung
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .landing-hero-content,
    .landing-visual,
    .landing-beam,
    .landing-particle,
    .community-orbit,
    .community-node {
        animation: none !important;
    }
}
