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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(50px);
    animation: textSlideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

.preloader-hidden {
    transform: translateY(-100%);
}

@keyframes textSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.logo {
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none; /* Link-Stil entfernen */
    color: #fff;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    background: rgba(10, 10, 10, 0.5);
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav ul li {
    margin: 0 15px;
}

/* --- NAV FLIP ANIMATION (Updated) --- */
nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    padding: 0 2px;
}

nav ul li a span {
    display: block;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1);
    color: #e0e0e0;
}

nav ul li a::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1);
    
    /* Rot-Rosa Verlauf Text */
    background: linear-gradient(to right, #ff3366, #ff6699);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ff3366;
    font-weight: 700;
}

/* --- NAV FLIP LOGIK (Hover & Active) --- */

/* 1. Active State (Flip Rot) - Standard wenn Scroll Spy greift */
nav ul li a.active span {
    transform: translateY(-100%);
}
nav ul li a.active::after {
    transform: translateY(-100%);
}

/* 2. RESET BEI HOVER: Wenn man über die Liste hovert, setze ACTIVE zurück (alle weiß) */
nav ul:hover li a.active span {
    transform: translateY(0);
}
nav ul:hover li a.active::after {
    transform: translateY(0);
}

/* 3. DIRECT HOVER: Der Link unter der Maus wird IMMER Rot (überschreibt Reset) */
nav ul li a:hover span {
    transform: translateY(-100%) !important;
}
nav ul li a:hover::after {
    transform: translateY(-100%) !important;
}


/* Active White State (für About): Flip aber Weiß (Falls noch benötigt) */
nav ul li a.active-white span {
    transform: translateY(-100%);
}

nav ul li a.active-white::after {
    transform: translateY(-100%);
    background: none; /* Kein Gradient */
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    color: #fff; /* Reines Weiß */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch:hover {
    background: #fff;
    color: #000;
}

.cta-button {
    background-color: #e0e0e0;
    color: #000;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    
    /* Desktop: Fixiert unten mittig */
    display: inline-block;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 102;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-button:hover {
    background-color: #fff;
    transform: translateX(-50%) scale(1.05);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, transparent 50%, #050505 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content h1 {
    font-size: 5vw;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.corner-text {
    position: absolute;
    bottom: 2.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.corner-text .highlight {
    color: #a0a0a0;
    font-weight: 500;
}

.bottom-left { left: 3rem; text-align: left; }
.bottom-right { right: 3rem; text-align: right; }

/* --- TRUSTED SECTION --- */
.trusted-section {
    padding: 6rem 0;
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.section-header h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #e0e0e0;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before, .slider::after {
    background: linear-gradient(to right, #050505 0%, rgba(5,5,5,0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.slider::after { right: 0; top: 0; transform: rotate(180deg); }
.slider::before { left: 0; top: 0; }

.slide-track {
    animation: scroll 30s linear infinite;
    display: flex;
    width: calc(200px * 14);
    align-items: center;
}

.slide {
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.slide img {
    max-width: 100%;
    max-height: 40px;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.7;
    transition: opacity 0.3s;
}
.slide img:hover { opacity: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 7)); }
}

/* --- WORK SECTION --- */
.work-section {
    padding: 8rem 0;
    background-color: #050505;
    text-align: center;
    position: relative;
    min-height: 60vh;
}

.work-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
}

.work-title-fg {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.work-title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    white-space: nowrap;
    text-transform: uppercase;
    user-select: none;
    will-change: transform;
}

/* --- WORK GRID --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 2rem;
    margin-top: 4rem;
    max-width: 100%;
}

.work-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #111;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.work-item.visible { opacity: 1; transform: translateY(0); }

.work-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay & Button */
.video-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}

.sound-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .sound-btn:hover {
        background: #fff;
        color: #000;
    }
}

.sound-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hidden { display: none; }


/* --- ABOUT SECTION --- */
.about-section {
    padding: 8rem 10% 4rem 10%;
    background-color: #050505;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s;
}

.about-image:hover img { filter: grayscale(0%); }

.about-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image.visible,
.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.about-content h2 strong {
    font-weight: 800;
    display: block;
    color: #fff;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.4;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

/* Social Links Button Style */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #111;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    min-width: 200px;
}

.social-card:hover {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-icon svg { width: 28px; height: 28px; stroke: #fff; }
.social-info { display: flex; flex-direction: column; justify-content: center; }
.social-handle { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.social-stats { display: none; }


/* --- CONTACT SECTION --- */
.contact-section {
    padding: 4rem 2rem;
    background-color: #050505;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 4rem;
    transition: color 0.3s;
    word-break: break-word;
}

.contact-email:hover { color: #e0e0e0; }

.contact-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border-radius: 8px;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
footer {
    background-color: #050505;
    padding: 3rem 2rem 8rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-social-icon {
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s;
    display: inline-flex;
    margin-bottom: 5px;
}

.footer-social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: #fff; }


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-section { padding: 6rem 5%; }
    .about-container { gap: 40px; }
    .about-content h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    header { padding: 1.5rem; }
    
    /* Mobile Nav unten */
    nav { 
        display: block; 
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 101;
        width: auto;
    }
    
    nav ul {
        padding: 8px 20px;
        background: rgba(10, 10, 10, 0.5);
        white-space: nowrap;
    }
    
    nav ul li { margin: 0 10px; }
    nav ul li a { font-size: 0.8rem; }
    
    /* CTA Button auf Mobile: Oben im Header (nicht fixiert unten) */
    .cta-button {
        position: static;
        transform: none;
        box-shadow: none;
        margin-left: 10px;
        z-index: auto;
    }
    
    .cta-button:hover {
        transform: scale(1.05); /* Normales Hover-Verhalten ohne translateX */
    }

    .hero-content h1 { font-size: 3rem; }
    .bottom-left, .bottom-right { bottom: 1.5rem; }
    .bottom-left { left: 1.5rem; }
    .bottom-right { right: 1.5rem; }
    .slider::before, .slider::after { width: 50px; }
    .work-title-fg { font-size: 3rem; }
    .work-title-bg { font-size: 5rem; }
    .preloader-text { font-size: 1.5rem; }

    /* Work Grid Mobile: 1 Spalte */
    .work-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 15px;
    }

    /* Work Section Mobile kompakter */
    .work-section {
        padding: 4rem 0;
        min-height: auto;
    }

    /* About Mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: 1;
        transform: translateY(30px);
    }

    .about-content {
        order: 2;
        transform: translateY(30px);
    }
    
    .about-image.visible, .about-content.visible {
        transform: translateY(0);
    }

    .about-content h2 { font-size: 2rem; }
    .about-content h3 { font-size: 1.2rem; }

    /* Social Mobile */
    .social-links {
        justify-content: flex-start;
    }
    .social-card {
        width: 100%;
    }

    /* Contact Mobile */
    .contact-email { font-size: 1.8rem; }
    .contact-section { padding: 4rem 1.5rem; }
    .submit-btn { width: 100%; align-self: center; }
}
