:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --content-max-width: 1440px;
    --font-primary: 'GT Sectra Display', serif;
    --section-padding-y: clamp(4rem, 8vw, 10rem);
    --container-padding-x: clamp(1.2rem, 4vw, 2rem);
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Regular-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Bold-Italic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Super.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Sectra Display';
    src: url('../fonts/GT-Sectra-Display-Super-Italic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 24px;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

header {
    position: relative;
    width: 100%;
    padding-top: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 100px;
    height: 100px;
}

header .logo .fixed {
    position: fixed;
    top: 50px;
    left: max(20px, calc(50% - 720px + 20px));
    z-index: 100;
}

header > .fixed {
    position: fixed;
    top: 50px;
    right: max(20px, calc(50% - 720px + 20px));
    z-index: 100;
}

.hashtag {
    font-size: 14px;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-visual {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
}

.hero-visual > * {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.hero-title {
    z-index: 3;
    width: 100%;
    max-width: 400px;
    margin: -115px 0 0 -25px;
    display: flex;
    justify-content: center;
}

.hero-title img {
    width: 100%;
    height: auto;
}

.hero-bottle {
    max-width: 640px;
    width: auto;
    z-index: 2;
}

.hero-rays {
    width: 100%;
    max-width: 582px;
    height: auto;
    z-index: 1;
    align-self: center;
    margin: 0 0 -360px 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 60s linear infinite;
}

.hero-quote {
    max-width: 1120px;
    margin: 50px auto 0 auto;
    text-transform: uppercase;
    font-size: clamp(20px, 3vw, 36px);
    letter-spacing: 1px;
    line-height: 1.2;
    font-style: italic;
}

.intro-text {
    padding: var(--section-padding-y) var(--container-padding-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.intro-text h2 {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 2rem;
    font-style: italic;
}

.intro-text p {
    margin: 2rem auto;
    text-align: left;
    font-size: clamp(18px, 1.5vw, 24px);
    letter-spacing: 2px;
}

.shallow-content {
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.landscape-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url('../files/megabrecher.webp');
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 
.landscape-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.products {
    padding: var(--section-padding-y) var(--container-padding-x);
}

.products-grid-layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 0;
}

.products-sidebar {
    display: flex;
    align-items: center;
}

.vertical-title {
    margin-top: 100px;
    max-width: 940px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 110px 160px;
}

.product-item {
    display: flex;
    gap: 50px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-info p {
    font-size: 18px;
    line-height: 1.4;
}

.stats-section {
    position: relative;
    padding: 8rem var(--container-padding-x);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    background-size: cover;
    background-position: center;
}

.stats-box {
    background-color: #ffffff;
    padding: 2rem;
    max-width: 980px;
    z-index: 2;
}

.footer-info {
    margin-top: 250px;
    margin-bottom: 50px;
}

.footer-info p {
    margin: 2rem auto;
    text-align: left;
    font-size: clamp(18px, 1.5vw, 24px);
    letter-spacing: 2px;
}

.cta-link {
    display: inline-block;
    padding-bottom: 0.2rem;
    letter-spacing: 2px;
}

footer {
    border-top: 1px solid #333;
    padding: 2rem var(--container-padding-x);
    font-size: 24px;
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo,
.footer-links {
    min-width: 160px;
}

.footer-links {
    text-align: right;
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

@media (max-width: 1200px) {
    .products-grid-layout {
        grid-template-columns: 300px 1fr;
    }

    .grid-container {
        gap: 60px 80px;
    }
}

@media (max-width: 1024px) {
    .products-grid-layout {
        grid-template-columns: 1fr;
    }

    .vertical-title > img {
        display: none;
    }

    .products-sidebar {
        justify-content: center;
    }

    .vertical-title {
        margin-top: 0;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .logo {
        gap: 100px;
    }

    .hero-visual {
        max-width: 100%;
    }

    .hero-bottle {
        max-width: 80vw;
    }

    .hero-rays {
        max-width: 100vw;
        margin: 0 0 -200px 0;
    }

    .hero-title {
        max-width: 50vw;
        margin-top: -120px;
    }

    .hero-quote {
        margin-top: 30px;
        padding: 0 var(--container-padding-x);
    }

    .intro-text {
        margin-top: 60px;
    }

    .landscape-img-wrapper {
        aspect-ratio: 9 / 16;
        background-position: -600px center;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-item {
        gap: 30px;
    }

    .product-image {
        width: 80px;
        flex-shrink: 0;
    }

    .stats-section {
        padding: 4rem var(--container-padding-x);
        min-height: 60vh;
    }

    .footer-info {
        margin-top: 120px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    footer {
        font-size: 18px;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {

    header {
        padding-top: 15px;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 80px;
        height: 80px;
    }

    header .logo .fixed {
        position: fixed;
        top: 20px;
        left: max(20px, calc(50% - 720px + 20px));
        z-index: 100;
    }

    header .huschhuschwegis > img {
        max-width: 140px;
    }

    header .wappen > img {
        max-width: 65px;
    }

    .hashtag {
        margin-right: 20px;
        margin-top: -30px;
        transform: rotate(-90deg);
        transform-origin: top right;
    }

    .hero-bottle {
        max-width: 90vw;
    }

    .hero-rays {
        max-width: 70vw;
        margin: 0 0 -280px 0;
    }

    .hero-title {
        max-width: 60vw;
        margin-top: -80px;
        margin-left: -15px;
    }

    .product-item {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .product-image {
        max-width: 160px;
        transform-origin: left center;
    }

    .footer-info {
        margin-top: 80px;
    }
}