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

body {
    font-family: 'TikTok Sans', Arial, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.4;
    font-size: 1.5rem;
}

.container {
    margin-top: 100vh; /* Push content below the initial viewport */
    background: none;
    min-height: 100vh;
    padding: 80px 0;
}

/* Hero headline */
.hero-headline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: none;
    color: #000000;
    font-size: 11vw; /* Smaller viewport width to stay on one line */
    font-weight: 600;
    text-align: left;
    padding: 0px 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    line-height: 1; /* Single line height */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide any overflow */
}

main {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

main p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.4;
}

main h2 {
    font-size: 7vw;
    font-weight: 600;
    margin: 80px 0 20px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

footer {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 200px;
    margin-top: 80px;
}

footer a, main a {
    color: #000;
    text-decoration: none;
    font-size: 1.6rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: color 0.3s ease;
}

footer a::before, main a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, transparent, rgba(255,255,255,0.8), rgba(255,255,255,0.8), transparent, transparent);
    transition: left 1.2s ease;
    z-index: 1;
    pointer-events: none;
}

footer a:hover::before, main a:hover::before {
    left: 100%;
}

footer a:hover, main a:hover {
    color: #333;
}

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 10vw;
        padding: 0px 20px;
    }
    
    main {
        padding: 0 30px;
    }
    
    main p {
        font-size: 1.5rem;
    }
    
    main h2 {
        font-size: 6vw;
        margin: 60px 0 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    body {
        font-size: 1.4rem;
    }
    
    .hero-headline {
        font-size: 8vw;
        padding: 0px 20px;
    }
    
    .container {
        margin-top: 80vh;
        padding: 60px 0;
    }
    
    main {
        padding: 0 25px;
    }
    
    main p {
        font-size: 1.4rem;
        margin-bottom: 1.3rem;
    }
    
    main h2 {
        font-size: 5vw;
        margin: 50px 0 20px;
    }
    
    footer {
        padding-top: 60px;
        padding-bottom: 150px;
        margin-top: 60px;
    }
    
    footer a, main a {
        font-size: 1.4rem;
    }
}

/* Large mobile devices */
@media (max-width: 600px) {
    .hero-headline {
        font-size: 7vw;
        padding: 0px 15px;
    }
    
    main {
        padding: 0 20px;
    }
    
    main p {
        font-size: 1.3rem;
    }
    
    main h2 {
        font-size: 4.5vw;
        margin: 40px 0 15px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        font-size: 1.3rem;
    }
    
    .hero-headline {
        font-size: 6vw;
        padding: 0px 15px;
        letter-spacing: 0.05em;
    }
    
    .container {
        margin-top: 70vh;
        padding: 40px 0;
    }
    
    main {
        padding: 0 15px;
    }
    
    main p {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    main h2 {
        font-size: 4vw;
        margin: 30px 0 15px;
        letter-spacing: 0.05em;
    }
    
    footer {
        padding-top: 40px;
        padding-bottom: 120px;
        margin-top: 40px;
    }
    
    footer a, main a {
        font-size: 1.2rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 5.5vw;
        padding: 0px 10px;
    }
    
    main {
        padding: 0 10px;
    }
    
    main p {
        font-size: 1.1rem;
    }
    
    main h2 {
        font-size: 3.5vw;
        margin: 25px 0 12px;
    }
    
    footer a, main a {
        font-size: 1.1rem;
    }
}

/* Imprint page specific layout */
body.imprint-page .container {
    margin-top: 0;
    padding-top: 80;
}

body.imprint-page .hero-headline {
    position: relative;
    background: none;
    color: #000;
    padding: 40px 20px 20px;
    margin-bottom: 0;
}

body.imprint-page main {
    padding-top: 0;
    margin-top: 0;
}
