/* Luxus & Editorial Reset inspired by igloo.inc */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #07090e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #07090e;
    color: #e2e8f0;
    line-height: 1.7;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- HIGH-END INTRO PRELOADER ANIMATIONEN --- */
.intro-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #05060a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    display: block;
    animation: expandLogo 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 0;
    margin-top: 15px;
    animation: extendLine 1.4s ease-in-out forwards;
}

.hide-loader {
    transform: translateY(-100%);
}

@keyframes expandLogo {
    0% { letter-spacing: 2px; opacity: 0; filter: blur(5px); }
    100% { letter-spacing: 10px; opacity: 1; filter: blur(0); }
}

@keyframes extendLine {
    0% { width: 0; margin-left: 50%; }
    100% { width: 100%; margin-left: 0; }
}

/* --- SEITEN-EINSTIEGS-ANIMATIONEN (HERO) --- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2s;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* --- REINES, GARANTIERTES CSS-GRID REVEAL (Kaskadierend) --- */
.cascade-reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
    animation: revealImage 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealImage {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* --- CORE LAYOUT --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    letter-spacing: 4px;
    font-size: 1.1rem;
    transition: letter-spacing 0.5s ease;
}

.logo a:hover {
    letter-spacing: 6px;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    margin-left: 45px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* Cinematic Fullscreen Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: contrast(115%) brightness(85%);
    transform: scale(1.15);
    animation: kenBurns 10s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.6s;
}

@keyframes kenBurns { to { transform: scale(1.02); } }

.hero-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, #07090e 95%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #64748b;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(2.8rem, 7.5vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 50px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-discover {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 6px;
    transition: all 0.4s ease;
}

.scroll-discover:hover {
    border-color: #fff;
    padding-right: 10px;
}

/* Main Layout Wrapper */
main {
    padding: 160px 8% 80px 8%;
}

/* Section-Header */
.section-header {
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.section-number {
    font-size: 0.85rem;
    font-family: monospace;
    color: #334155;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    white-space: nowrap;
}

.header-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    width: 100%;
}

/* Asymmetrisches Magazin-Grid */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 160px 40px;
    align-items: center;
}

.editorial-item {
    position: relative;
    box-shadow: 0 0 0 rgba(7, 9, 14, 0);
    transition: box-shadow 0.8s ease;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #0c0f17;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%) contrast(105%) brightness(90%);
}

/* Grid-Platzierungen */
.item-wide { grid-column: 1 / span 8; }
.item-wide .image-wrapper { aspect-ratio: 16 / 10; }

.item-tall { grid-column: 9 / span 4; margin-top: -80px; }
.item-tall .image-wrapper { aspect-ratio: 3 / 4; }

.item-square { grid-column: 2 / span 5; }
.item-square .image-wrapper { aspect-ratio: 1 / 1; }

.item-tall-right { grid-column: 8 / span 5; }
.item-tall-right .image-wrapper { aspect-ratio: 2 / 3; }

.item-landscape { grid-column: 3 / span 8; }
.item-landscape .image-wrapper { aspect-ratio: 16 / 9; }

/* Interaktions-Hover */
.editorial-item:hover {
    box-shadow: 0 30px 100px rgba(255, 255, 255, 0.02);
}

.image-wrapper:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(110%) brightness(100%);
}

.editorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7,9,14,0.1) 0%, rgba(7,9,14,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover .editorial-overlay {
    opacity: 1;
}

.overlay-top {
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(-10px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover .overlay-top {
    transform: translateY(0);
}

.overlay-top .num {
    font-family: monospace;
    font-size: 0.8rem;
    color: #64748b;
}

.overlay-top .category {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.editorial-overlay .view-project {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    padding-bottom: 4px;
    transform: translateY(10px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover .view-project {
    color: #fff;
    border-color: #fff;
    transform: translateY(0);
}

/* The Manifesto Section */
.about-section {
    padding: 140px 0;
    margin-top: 120px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 12%;
}

.about-text {
    flex: 1.2;
}

.manifesto-lead {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
}

.manifesto-paragraph {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-image-frame {
    flex: 0.8;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.about-image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(100%) contrast(105%);
    opacity: 0.6;
    display: block;
    transition: all 1s ease;
}

.about-image-frame:hover img {
    opacity: 1;
    filter: grayscale(20%) contrast(110%);
}

/* Contact & Inquiry Section */
.contact-section {
    padding: 160px 0 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.contact-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #475569;
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-section h2 {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.contact-section p {
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

/* Buttons Base Styling */
.submit-btn, .instagram-btn {
    padding: 20px 42px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn {
    background-color: #fff;
    color: #07090e;
}

.submit-btn:hover {
    background-color: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.instagram-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-btn:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.02);
    transform: translateY(-3px);
}

.instagram-icon {
    margin-right: 12px;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 80px 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #334155;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .editorial-grid {
        grid-gap: 80px 20px;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: auto;
        padding: 25px 20px;
    }
    
    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 0 20px;
    }

    main {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .editorial-item .image-wrapper {
        aspect-ratio: 3 / 4 !important;
    }

    .item-tall {
        margin-top: 0;
    }

    .about-container {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .submit-btn, .instagram-btn {
        width: 100%;
    }
}