:root {
    color-scheme: dark;
    --background: #050713;
    --text: #f5f6ff;
    --muted: #9ca6c8;
    --violet: #773cff70;
    --blue: #249cff70
}

* {
    box-sizing: border-box
}

html,
body {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0
}

body {
    overflow: hidden;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

.landing {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 50% 58%, rgba(74, 67, 196, .13), #00000000 28%),
        linear-gradient(150deg, #020206 0%, #020206 52%, #020206 100%)
}

.background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.background>span:not(.light) {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glow {
    width: 42vw;
    height: 42vw;
    min-width: 360px;
    min-height: 360px;
    max-width: 720px;
    max-height: 720px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .2;
    animation: drift 12s ease-in-out infinite alternate
}

.glow-left {
    inset: auto auto 2% -15%;
    background: var(--violet)
}

.glow-right {
    inset: 0 -15% auto auto;
    background: var(--blue);
    animation-delay: -4s
}

.glow-center {
    width: 32vw;
    height: 32vw;
    inset: 50% auto auto 50%;
    translate: -50% -40%;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    opacity: .13;
    animation-delay: -8s
}

.grid {
    top: auto !important;
    height: 38% !important;
    opacity: .18;
    transform: perspective(620px) rotateX(68deg) scale(1.45);
    transform-origin: center bottom;
    background-image: linear-gradient(rgba(99, 104, 190, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 104, 190, .2) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(to top, #000, transparent 82%);
    mask-image: linear-gradient(to top, #000, transparent 82%)
}

.noise {
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")
}


/* Aufsteigende Lichtpunkte im Hintergrund */
.light {
    --scale: 1;

    position: absolute;
    top: 100%;
    bottom: auto;
    right: auto;

    width: 3px;
    filter: blur(5px);
    height: 180px;
    mix-blend-mode: screen;

    border-radius: 999px;

    background: linear-gradient(to top,
            rgba(255, 255, 255, 0),
            rgba(180, 165, 255, 0.18) 20%,
            rgba(255, 255, 255, 0.8) 70%,
            rgba(255, 255, 255, 0));

    box-shadow:
        0 0 8px 2px rgba(255, 255, 255, .28),
        0 0 18px 6px rgba(126, 112, 255, .22),
        0 0 34px 12px rgba(36, 156, 255, .10);

    opacity: 0;
    z-index: 1;
    pointer-events: none;

    transform-origin: center center;

    will-change: transform, opacity;

    animation-name: floatUp;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.x1 {
    left: 50%;
    --scale: 1;
    height: 130px;
    animation-duration: 6s;
    animation-delay: -1s;
}

.x2 {
    left: 65%;
    --scale: 1.15;
    height: 220px;
    animation-duration: 9s;
    animation-delay: -3s;
}

.x3 {
    left: 35%;
    --scale: .7;
    height: 100px;
    animation-duration: 5s;
    animation-delay: -1.5s;
}

.x4 {
    left: 18%;
    --scale: 1;
    height: 250px;
    animation-duration: 7.5s;
    animation-delay: -5s;
}

.x5 {
    left: 7%;
    --scale: 1.15;
    height: 320px;
    animation-duration: 11s;
    animation-delay: -7s;
}

.x6 {
    left: 28%;
    --scale: .85;
    height: 150px;
    animation-duration: 6.5s;
    animation-delay: -4s;
}

.x7 {
    left: 72%;
    --scale: 1.2;
    height: 280px;
    animation-duration: 10s;
    animation-delay: -2s;
}

.x8 {
    left: 86%;
    --scale: 1;
    height: 200px;
    animation-duration: 8s;
    animation-delay: -6s;
}

.x9 {
    left: 94%;
    --scale: .8;
    height: 120px;
    animation-duration: 7s;
    animation-delay: -2.5s;
}

.brand {
    position: relative;
    z-index: 2;
    width: min(90vw, 720px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: reveal 1.2s cubic-bezier(.2, .8, .2, 1) both
}

.logo-wrap {
    position: relative;
    width: clamp(140px, 22vw, 240px);
    display: grid;
    place-items: center
}

.logo-aura {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(54px);
    opacity: .26;
    animation: pulse 4s ease-in-out infinite
}

.logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 26px rgba(111, 61, 255, .24)) drop-shadow(0 0 42px rgba(36, 156, 255, .4))
}

h1 {
    margin: clamp(24px, 4vh, 42px) 0 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    font-weight: 500;
    letter-spacing: clamp(.42em, 1.2vw, .72em);
    text-indent: clamp(.42em, 1.2vw, .72em);
    color: rgba(248, 249, 255, .96);
    text-shadow: 0 0 32px rgba(118, 107, 255, .22)
}

p {
    margin: clamp(18px, 3vh, 30px) 0 0;
    font-size: clamp(.82rem, 1.4vw, 1.05rem);
    font-weight: 400;
    letter-spacing: .58em;
    text-indent: .58em;
    color: var(--muted);
    animation: breathe 3s ease-in-out infinite
}

.contact {
    position: absolute;
    left: 50%;
    bottom: clamp(24px, 5vh, 48px);
    z-index: 2;
    margin: 0;
    translate: -50% 0;
    letter-spacing: 1px;
    text-indent: 0;
    white-space: nowrap
}


@keyframes floatUp {
    0% {
        transform: translate3d(0, 12vh, 0) scale(var(--scale));
        opacity: 0;
    }
    12% { opacity: .95; }
    55% { opacity: .8; }
    88% { opacity: .45; }
    100% {
        transform: translate3d(0, -125vh, 0) scale(var(--scale));
        opacity: 0;
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .2;
        transform: scale(.92)
    }

    50% {
        opacity: .34;
        transform: scale(1.08)
    }
}

@keyframes drift {
    from {
        transform: translate3d(-2%, -2%, 0) scale(.95)
    }

    to {
        transform: translate3d(4%, 4%, 0) scale(1.08)
    }
}

@keyframes breathe {

    0%,
    100% {
        opacity: .55
    }

    50% {
        opacity: 1
    }
}

@media(max-width:600px) {
    .brand {
        width: calc(100% - 36px)
    }

    .logo-wrap {
        width: clamp(170px, 45vw, 230px)
    }

    h1 {
        letter-spacing: .34em;
        text-indent: .34em
    }

    p {
        letter-spacing: .42em;
        text-indent: .42em
    }

    .grid {
        opacity: .12
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important
    }
}
