@import url("https://fonts.googleapis.com/css2?family=Antic&family=Grenze+Gotisch:wght@600&display=swap");

:root {
    color-scheme: dark;
    background: #14171c;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    background: #14171c;
}

body {
    min-height: 100vh;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    background: #14171c;
    isolation: isolate;
}

.hero__background,
.hero__tone,
.hero__vignette {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__background {
    z-index: 0;
    display: block;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    pointer-events: none;
}

.hero__tone {
    z-index: 1;
    background: linear-gradient(
        180deg,
        #1f2129 0%,
        #333840 48%,
        #12141a 100%
    );
    opacity: 0.51;
    pointer-events: none;
}

.hero__vignette {
    z-index: 2;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.26) 72%,
        rgba(0, 0, 0, 0.58) 100%
    );
    pointer-events: none;
}

.hero__content {
    position: absolute;
    z-index: 3;
    top: 34.8889%;
    left: 50%;
    width: 656px;
    padding: 0 48px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    text-align: center;
}

.hero__logo-frame {
    width: 88px;
    min-height: 81px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hero__logo {
    display: block;
    width: 68px;
    height: 79px;
    object-fit: contain;
}

.hero__title {
    width: auto;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family: "Grenze Gotisch", serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 5.12px;
    white-space: nowrap;
}

.hero__motto {
    width: 560px;
    min-height: 40px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Antic", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

@media (max-width: 767px) {
    .hero__tone {
        opacity: 0.73;
    }

    .hero__vignette {
        display: none;
    }

    .hero__content {
        top: 38.3886%;
        left: 0;
        width: 100%;
        padding: 0 20px;
        transform: none;
    }

    .hero__logo-frame {
        width: 62px;
        min-height: 72px;
        height: 72px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .hero__logo {
        width: 62px;
        height: 72px;
    }

    .hero__title {
        width: min(350px, calc(100vw - 40px));
        font-size: 42px;
        letter-spacing: 3.36px;
        white-space: normal;
    }

    .hero__motto {
        width: min(330px, calc(100vw - 40px));
        min-height: 0;
        font-size: 15px;
    }
}

@media (max-width: 340px) {
    .hero__title {
        font-size: 38px;
        letter-spacing: 3.04px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
