@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/outfit-300.ttf) format('truetype');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/outfit-400.ttf) format('truetype');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/outfit-600.ttf) format('truetype');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/outfit-800.ttf) format('truetype');
}

:root {
    --bg: #111;
    --text: #e8e8e8;
    --accent: #e8e8e8;
    --muted: #555;
}

/* Utility Classes */
.outline {
    -webkit-text-stroke: 1.5px var(--text);
    -webkit-text-fill-color: transparent;
}

.outline-small {
    -webkit-text-stroke: 1px var(--text);
    -webkit-text-fill-color: transparent;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Cursor follower */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0.3em;
}

.header-contact {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.header-contact:hover {
    color: var(--text);
}

.back-link {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: var(--text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    text-align: center;
}

.hero-pre {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-pre span {
    display: inline-block;
    animation: slideUp 0.6s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
    animation: slideUp 0.8s ease-out both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.5s; }

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 450px;
    margin-top: 2rem;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-arrow {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: fadeIn 1s ease-out 1.2s both;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; opacity: 1; }
    100% { top: 60px; opacity: 0; }
}

/* About Section */
.about {
    padding: 10rem 4rem;
    display: flex;
    justify-content: center;
}

.about-inner {
    max-width: 900px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}

.about-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--muted);
}

.about-content strong {
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact {
    padding: 10rem 4rem;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: var(--muted);
    opacity: 0.3;
}

.contact-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.contact-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bg);
    background: var(--text);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: var(--accent);
    transform: scale(1.02);
}

.contact-email svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.contact-email:hover svg {
    transform: translateX(4px);
}

/* Footer */
footer {
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.footer-text {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.footer-link {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text);
}

/* Impressum Page */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 10rem 4rem 6rem;
}

main h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

main h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

main p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

main a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

main a:hover {
    color: var(--accent-start);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    .about {
        padding: 6rem 2rem;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-label {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .contact {
        padding: 6rem 2rem;
    }

    footer {
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cursor {
        display: none;
    }

    main {
        padding: 8rem 2rem 4rem;
    }

    main h1 {
        font-size: 2rem;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
