/* ================================
   PROMPTR - AI Film Studio
   ================================ */

@font-face {
    font-family: 'Mencken Head Compress';
    src: url('../assets/fonts/MENCKEN/fonnts.com-Mencken-Std-Head-Compress-.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Paramount';
    src: url('../assets/fonts/PARAMOUNT/Paramount-Bold-Trial.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg-primary: #0a1628;
    --bg-secondary: #0d1d35;
    --bg-tertiary: #132744;
    --bg-light: #f5f0e8;
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dark: #0a1628;
    --text-dark-secondary: rgba(10, 22, 40, 0.7);
    --text-dark-muted: rgba(10, 22, 40, 0.5);
    
    /* Blue Accents */
    --accent-blue: #3b82f6;
    --accent-light: #60a5fa;
    
    /* Orange for Nav */
    --nav-accent: #ff4d00;

    --grain-opacity: 0.08;
    --grain-blend: overlay;
    
    --font-serif: 'Mencken Head Compress', 'Cormorant Garamond', Georgia, serif;
    --font-headline-accent: 'Paramount', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    
    /* Unified Typography Sizes */
    --section-label-size: 0.7rem;
    --section-label-spacing: 0.3em;
    --section-label-margin: 1.5rem;
    
    --headline-size: clamp(3rem, 8vw, 6rem);
    --subheadline-size: clamp(1.5rem, 4vw, 3rem);
    --subheadline-margin: 0.4em;
    
    --body-size: 1.1rem;
    --body-line-height: 1.7;
    --body-margin: 3rem;
}

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

html { font-size: 18px; }

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

::selection {
    background: var(--accent-blue);
    color: white;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ================================
   Legal Overlay - SIMPLE MOBILE-FIRST
   ================================ */
.legal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.legal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.legal-overlay-scroll {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 800px;
    height: 100%;
    background: #0a1628;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.legal-overlay.active .legal-overlay-scroll {
    transform: translateX(0);
}

.legal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.legal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.legal-overlay-content {
    padding: 5rem 2rem 4rem;
}

.legal-container {
    max-width: 700px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
}

.legal-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--text-primary);
}

.legal-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.legal-h2 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--accent-light);
}

.legal-p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
}

.legal-p + .legal-p {
    margin-top: 0.5rem;
}

.legal-header-second {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-trigger {
    cursor: pointer;
}

@media (max-width: 768px) {
    .legal-overlay-scroll {
        max-width: 100%;
    }
    
    .legal-overlay-content {
        padding: 4rem 1.5rem 3rem;
        padding-bottom: 4rem;
    }
    
    .legal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
    }
    
    .legal-block {
        padding: 1rem;
    }
    
    .legal-p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

/* ================================
   Language Switch
   ================================ */
.lang-switch {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    display: none; /* Temporarily hidden */
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    transition: all 0.3s var(--ease-out);
    border-radius: 1rem;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .lang-switch {
        bottom: 1rem;
        left: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================
   Film Grain Overlay - ÜBER ALLES!
   ================================ */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.grain-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    mix-blend-mode: overlay;
    filter: contrast(2) brightness(1.2);
}

/* ================================
   Theme Switcher (25 themes)
   Uses CSS variables; script toggles [data-theme] on <html>
   ================================ */
html {
    transition: background-color 350ms ease, color 350ms ease;
}

body,
.nav,
.mobile-menu,
.about,
.showreels,
.logos,
.gear-preview,
.team,
.contact,
.footer,
.legal,
.products,
.gear-intro-section,
.gear-explain,
.gear-testimonials,
.gear-faq,
.gear-cta {
    transition: background-color 350ms ease, color 350ms ease;
}

.nav-logo a,
.hero-logo,
.contact-logo {
    cursor: pointer;
}

/* Theme palette helpers:
   Each theme sets: --bg-primary/secondary/tertiary, --text-secondary/muted, --accent-blue/light, optional grain */

/* Themes are handled in themes.css */


/* ================================
   Video Modal
   ================================ */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.modal-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 95vw;
}

.modal-video-wrapper {
    width: 90vw;
    max-width: 1600px;
    aspect-ratio: 16/9;
}

.modal-video-wrapper video {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 4px;
}

.modal-credits {
    width: 90vw;
    max-width: 1600px;
    padding: 15px 0 0;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.credits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 30px;
}

.credit-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.credit-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.credit-value {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .modal-credits {
        padding: 10px 0 0;
    }
    
    .modal-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .credits-list {
        gap: 6px 20px;
    }
    
    .credit-label {
        font-size: 0.55rem;
    }
    
    .credit-value {
        font-size: 0.7rem;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .modal-video-wrapper {
        width: 95vw;
    }
    
    .modal-credits {
        width: 95vw;
    }
}

/* ================================
   Loader
   ================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.loader-logo::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-icon {
    width: 50px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ================================
   Navigation - Vertikal Rechts
   ================================ */
.nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 1.5vh 0.8rem;
    width: auto;
    max-height: 85vh;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: padding 0.3s ease;
}

@media (max-height: 700px) {
    .nav {
        padding: 1vh 0.6rem;
    }
}

/* Navigation auf hellen Sections */
.nav.on-light {
    background: transparent !important;
    border: none;
    box-shadow: none;
}

.nav.on-light .nav-links a,
.nav.on-light .nav-links a.nav-lynx {
    color: #0a1628 !important;
    font-weight: 600;
}

.nav.on-light .nav-links a:hover,
.nav.on-light .nav-links a.active,
.nav.on-light .nav-links a.nav-lynx:hover {
    color: var(--nav-accent) !important;
    text-shadow: none;
}

.nav.on-light .nav-links a.nav-lynx .nav-hint-arrow {
    color: var(--accent-blue);
}

.nav.on-light .nav-social-icon {
    background: rgba(10, 22, 40, 0.05);
    border-color: rgba(10, 22, 40, 0.15);
}

.nav.on-light .nav-social-icon svg {
    fill: #0a1628;
}

.nav.scrolled.on-light {
    background: transparent !important;
}

.nav-logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo.visible {
    opacity: 1;
    visibility: visible;
}

.nav-icon {
    width: 28px;
    height: auto;
    display: block;
    filter: none;
}

.nav-icon.logo-video {
    width: 160px; /* Increased from 120px */
    max-width: none;
    height: auto;
    mix-blend-mode: screen !important;
    background-color: transparent !important;
    filter: none !important;
    display: block;
    transform: translateZ(0); /* Force hardware acceleration */
}

.hero-icon.logo-video {
    width: 300px; /* Increased from 200px */
    max-width: 100%;
    height: auto;
    mix-blend-mode: screen !important;
    background-color: transparent !important;
    filter: none !important;
    display: block;
}

.contact-icon.logo-video {
    width: 200px; /* Increased from 150px */
    max-width: 100%;
    height: auto;
    mix-blend-mode: screen !important;
    background-color: transparent !important;
    filter: none !important;
    display: block;
}

.hero-logo {
    mix-blend-mode: screen !important;
    background: transparent !important;
    isolation: auto !important;
}

/* Ensure the link container doesn't block blending */
.nav-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    mix-blend-mode: normal !important;
}

.nav-logo-text {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Nav Logo auf hellen Sections - dunkler Text */
.nav-logo.on-light .nav-logo-text {
    color: #0a1628;
}

.nav-icon {
    width: 32px;
    height: auto;
    display: block;
    filter: none;
}

.contact-icon.logo-video {
    width: 250px;
    height: auto;
    background: transparent !important;
}

.logo-video {
    mix-blend-mode: screen !important;
    background: transparent !important;
    display: block;
    border-radius: 0 !important;
    filter: none !important;
    box-shadow: none !important;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2vh;
}

.nav-links a {
    font-size: clamp(0.9rem, 2vh, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8) !important; /* Made slightly brighter */
    transition: color 0.4s ease, letter-spacing 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 0.5vh 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nav-accent) !important;
}

.nav-links a:hover {
    color: var(--nav-accent);
    letter-spacing: 0.25em;
}

/* Removed hover underline */
.nav-links a::after {
    display: none; 
}

.nav-links a.active {
    color: var(--nav-accent);
    letter-spacing: 0.25em;
}

.nav-links a.active::after {
    display: none;
}

/* ================================
   LYNX Link - Special Highlight
   ================================ */
.nav-links a.nav-lynx,
.mobile-links a.nav-lynx {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: none;
}

.nav-links a.nav-lynx:hover {
    color: #ffffff !important;
    text-shadow: -2px 0 #ff0050, 2px 0 #00fff2;
    animation: labGlitchFast 0.3s infinite;
}

.nav-links a.nav-lynx:hover .nav-hint-arrow {
    opacity: 0;
}

/* Nav Hint Arrow */
.nav-hint-arrow {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-blue);
    opacity: 0.85;
    pointer-events: none;
    animation: hintBounce 1.5s ease-in-out infinite;
    transition: opacity 0.3s ease;
    margin-bottom: 0.3rem;
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Cleanup old special nav */
.nav-special {
    display: none;
}

.nav-special-link {
    /* Reset these if they conflict, though .nav-links a takes precedence due to specificity or order */
}

/* Mobile Special Links */
.mobile-special {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.mobile-divider {
    display: none;
}

.mobile-links .mobile-special-link {
    font-family: var(--font-serif) !important;
    font-size: 2rem !important;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-primary) !important;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-links .mobile-special-link::after {
    content: none;
}

.mobile-links .mobile-special-link:hover {
    background: transparent;
    color: var(--accent-blue) !important;
}

/* Mobile Labs Glitch */
.mobile-links .mobile-special-link[data-text="Labs"]::before {
    content: attr(data-text);
    position: absolute;
    left: 0.8rem;
    color: #ff0040;
    opacity: 0;
    animation: labsGlitch 3s infinite;
}

/* ================================
   LAB Link - Heavy RGB Glitch (Legacy - removed)
   ================================ */
/* Removed .nav-lab styles */

@keyframes labGlitch {
    /* Kept for potential reuse or themes */
    0% { 
        text-shadow: -2px 0 #ff0050, 2px 0 #00fff2;
        transform: translate(0);
    }
    /* ... shortened for brevity ... */
    100% { 
        text-shadow: -2px 0 #ff0050, 2px 0 #00fff2;
        transform: translate(0);
    }
}

.nav-links a.nav-lab:hover,
.mobile-links a.nav-lab:hover {
    animation: labGlitchFast 0.3s infinite;
}

@keyframes labGlitchFast {
    0%, 100% { 
        text-shadow: -3px 0 #ff0050, 3px 0 #00fff2;
        transform: translate(0);
    }
    25% { 
        text-shadow: 3px 0 #ff0050, -3px 0 #00fff2;
        transform: translate(-2px, 1px);
    }
    50% { 
        text-shadow: -4px 0 #ff0050, 4px 0 #00fff2;
        transform: translate(2px, -1px);
    }
    75% { 
        text-shadow: 2px 0 #ff0050, -2px 0 #00fff2;
        transform: translate(-1px, -1px);
    }
}

/* Mobile LAB Link */
.mobile-links a.nav-lab::after {
    content: ' — NEW';
    font-size: 0.5em;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    opacity: 0.7;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10001;
}

.nav-burger span {
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
}

@media (max-width: 768px) {
    .nav { display: none !important; }
    .nav-links { display: none; }
    .nav-special { display: none; }
    .nav-burger { display: flex; }
    .nav-logo { display: none !important; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    align-items: center;
}

.mobile-links a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.2;
}

.mobile-links a.active {
    color: var(--accent-light);
}

.mobile-links a.active::before {
    content: '●';
    position: absolute;
    left: -1.5rem;
    font-size: 0.5rem;
    color: var(--accent-light);
}

/* Mobile Social Icons */
.mobile-social {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mobile-social::before {
    content: '';
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.mobile-social a:hover svg {
    fill: white;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.05) saturate(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.6) 0%,
        rgba(10, 22, 40, 0.3) 40%,
        rgba(10, 22, 40, 0.5) 80%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.hero-content {
    text-align: center;
    position: relative; 
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    /* Removed z-index: 10 */
}

/* Ensure text stays on top without blocking logo blending */
.hero-title, .hero-tagline, .hero-awards {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    cursor: pointer;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    mix-blend-mode: screen !important;
    background-color: transparent !important;
    opacity: 1;
    pointer-events: auto;
    display: block;
    width: 300px;
    height: auto;
}

/* Nav Social Icons */
.nav-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1vh;
    padding-top: 1vh;
}

@media (max-width: 768px) {
    .nav-social {
        display: none !important;
    }
}

.nav-social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-social-icon svg {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-social-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.3s ease;
    z-index: 1;
}

.nav-social-icon[data-color="#E4405F"] .nav-social-fill {
    background: #E4405F;
}

.nav-social-icon[data-color="#0A66C2"] .nav-social-fill {
    background: #0A66C2;
}

.nav-social-icon:hover .nav-social-fill {
    height: 100%;
}

.nav-social-icon:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

/* Force video blending */
.hero-logo video, .contact-logo video, .logo-video {
    mix-blend-mode: screen !important;
    background-color: transparent !important;
    opacity: 1 !important;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-icon {
    width: 50px;
    height: auto;
    margin: 0 auto;
}

/* Hide original hero title parts to avoid duplication since they are now inside magnetic-wrap */
.hero-title > .line-1,
.hero-title > .line-2 {
    display: none;
}

.hero-tagline {
    margin-top: 2.5rem;
}

.hero-tagline p {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.hero-awards {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.award-badge {
    width: 130px;
    height: auto;
    opacity: 0.85;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.award-badge:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-awards {
        gap: 1rem;
    }
    
    .award-badge {
        width: 90px;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(0.7); }
}

/* ================================
   Studio Intro Section
   ================================ */
.studio-intro {
    padding: 12rem 0;
    background: var(--bg-secondary); /* hell */
    text-align: center;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
}

.intro-title {
    margin-bottom: 3rem;
    line-height: 0.95;
}

.intro-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.intro-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
}

.intro-tagline {
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--body-margin);
}

/* Intro Awards */
.intro-awards {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.intro-awards .award-badge {
    width: 140px;
    height: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.intro-awards .award-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.4);
}

@media (max-width: 768px) {
    .intro-awards {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .intro-awards .award-badge {
        width: 100px;
    }
}

.intro-cta {
    margin-top: 2rem;
    font-size: 0.9rem;
    padding: 1.5rem 4rem;
}

@media (max-width: 768px) {
    .studio-intro {
        padding: 6rem 0;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }

    .intro-awards {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .intro-awards .award-badge {
        width: 110px;
    }
}

/* ================================
   Services Strip - REMOVED
   ================================ */
/* .services-strip { ... } */

/* ================================
   About Section
   ================================ */
.about {
    padding: 10rem 0;
    background: var(--bg-light); /* 95% weiß */
}

.about .about-label {
    color: rgba(10, 22, 40, 0.5);
}

.about .about-title .line1 {
    color: var(--bg-primary);
}

.about .about-text {
    color: rgba(10, 22, 40, 0.7);
}

.about .btn-primary {
    background: var(--accent-blue);
    color: #fff;
}

.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    text-align: center;
}

.about-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
}

.about-title {
    margin-bottom: 3rem;
    line-height: 0.95;
}

.about-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.about-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
    text-align: center;
}

.about-text {
    color: var(--text-secondary);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    margin-bottom: var(--body-margin);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* About Awards - Laurel Wreath Style */
.about-awards {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Laurel Award */
.laurel-award {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.laurel-award:hover {
    transform: scale(1.05);
}

.laurel-wreath {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.laurel-award:hover .laurel-wreath {
    opacity: 1;
}

/* Laurel Content */
.laurel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    margin-top: -0.5rem;
    gap: 0;
}

.laurel-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
}

.laurel-subtitle {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.laurel-category {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
    margin-top: 0.1rem;
}

.laurel-gold .laurel-title,
.laurel-gold .laurel-subtitle {
    color: #ffffff;
}

.laurel-gold .laurel-category {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .about-awards {
        gap: 1rem;
    }
    
    .laurel-award {
        width: 130px;
        height: 130px;
    }
    
    .laurel-title {
        font-size: 0.75rem;
    }
    
    .laurel-subtitle {
        font-size: 0.55rem;
    }
    
    .laurel-category {
        font-size: 0.5rem;
    }
}

/* Removed .about-kicker - not used anymore */

.btn-outline {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.2);
}

/* ================================
   Showreel Section
   ================================ */
.showreels {
    background: var(--bg-light); /* 95% weiß */
    padding: 8rem 0 0;
}

.showreels .showreels-label {
    color: rgba(10, 22, 40, 0.5);
}

.showreels .showreels-title .line1 {
    color: var(--bg-primary);
}

.showreels .intro-text {
    color: rgba(10, 22, 40, 0.7);
}

.showreels .video-cat {
    color: rgba(10, 22, 40, 0.5);
}

.showreels-header {
    text-align: center;
    padding: 0 2rem 6rem;
}

.showreels-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
}

.showreels-title {
    margin-bottom: 3rem;
    line-height: 0.95;
}

.showreels-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.showreels-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
    color: var(--accent-blue);
}

.showreels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.reel-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), opacity 0.4s ease;
}

.reel-item:hover video {
    transform: scale(1.05);
    opacity: 0.6;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reel-item:hover .reel-overlay {
    opacity: 1;
}

.reel-info {
    text-align: center;
}

.reel-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.reel-play {
    font-size: 1.2rem;
    opacity: 0.8;
}

@media (max-width: 700px) {
    .showreels-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Section Intro Styles
   ================================ */
.section-intro {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
}

.intro-text {
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-secondary);
    margin-bottom: var(--body-margin);
}

.intro-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 1.5rem;
}

.intro-services span:not(.service-divider) {
    transition: all 0.3s ease;
    cursor: default;
}

.intro-services span:not(.service-divider):hover {
    color: var(--text-primary);
    opacity: 1;
}

.service-divider {
    opacity: 0.3;
}

/* ================================
   PROMPTR STILL Section
   ================================ */
.still-section {
    padding: 10rem 0 8rem;
    background: var(--bg-secondary);
}

.still-header {
    text-align: center;
    margin-bottom: 6rem;
}

.still-title {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0;
}

.still-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.still-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
}

/* ================================
   Bento Grid Gallery
   ================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 8px;
    padding: 0 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    border-radius: 12px;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-category {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.bento-zoom {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s var(--ease-out);
}

.bento-item:hover .bento-zoom {
    opacity: 1;
    transform: translate(0, 0);
}

/* Bento Grid Variations */
.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

/* Product items - smaller with special treatment */
.bento-item.product {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.bento-item.product img {
    object-fit: contain;
    padding: 1rem;
}

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
    }
    
    .bento-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 6px;
        padding: 0 1rem;
    }
    
    .bento-item.large,
    .bento-item.wide {
        grid-column: span 2;
    }
    
    .bento-item.tall {
        grid-row: span 1;
    }
    
    .still-section {
        padding: 6rem 0 4rem;
    }
    
    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ================================
   Cases Gallery Section (Flat Glass)
   ================================ */
.cases-gallery {
    padding: 0;
    background: var(--bg-primary); /* Slate-900 equivalent */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Background Particles */
.cases-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Container */
.cases-gallery-3d-container {
    width: 100%;
    max-width: 1400px;
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.cases-header-floating {
    text-align: center;
    margin-bottom: 4rem;
}

.cases-gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .cases-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cases-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Glass Card (No 3D) */
.case-card {
    position: relative;
    background: rgba(30, 41, 59, 0.7); /* slate-800/70 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5); /* Violet glow */
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.15);
    z-index: 5;
}

/* Glow gradient background on hover */
.case-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.case-card:hover::before {
    opacity: 0.6;
}

/* Floating Blob Decoration */
.card-blob {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(to right, #8b5cf6, #d946ef);
    opacity: 0.3;
    filter: blur(20px);
    transition: transform 0.4s ease;
}

.case-card:hover .card-blob {
    transform: scale(1.5);
}

/* Card Image */
.case-card-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.case-card:hover img {
    transform: scale(1.1);
}

/* Card Content */
.case-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    display: block;
}

.case-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: var(--font-sans);
}

.case-card-client {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.case-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: auto;
    height: 1.2rem; /* Smaller logo size */
    border-radius: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.author-avatar img {
    width: auto;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logos white */
    opacity: 0.7;
}

.author-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


/* ================================
   New Case Overlay - SIMPLE MOBILE-FIRST
   ================================ */
.case-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.case-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The Modal Container */
.case-overlay-scroll {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: #0a1628;
    border-radius: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.case-overlay-scroll::-webkit-scrollbar {
    display: none;
}

/* Close Button - INSIDE scroll container with position absolute */
.case-overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.case-overlay-close:hover {
    background: white;
    color: black;
}

/* Header Hero - Adjusted for modal */
.case-header-hero {
    position: relative;
    width: 100%;
    height: 45vh; /* Reduced height */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

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

.hero-image-parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 2rem 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,0.5) 50%, transparent 100%);
}

.case-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.case-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400; /* MENCKEN works best with 400 */
    line-height: 0.9;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.case-hero-tagline {
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 800px;
}

/* Body Content */
.case-body {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background: transparent; /* Remove solid black */
}

/* Info Grid */
.case-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.info-value, .info-value-group {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

.info-value-group div {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.info-value-group .label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Narrative */
.case-narrative {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.narrative-block h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.narrative-block p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Gallery Masonry */
.case-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInGallery 0.8s ease forwards;
}

.gallery-item:nth-child(3n) {
    grid-column: span 2; /* Every 3rd image spans full width */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

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

/* Footer Navigation */
.case-next-footer {
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent */
    padding: 6rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-next-footer:hover {
    background: rgba(0, 0, 0, 0.5);
}

.case-next-footer .next-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.next-project-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    transition: color 0.3s ease;
}

.case-next-footer:hover .next-project-title {
    color: var(--accent-light);
}

.next-arrow {
    font-size: 3rem;
    color: var(--accent-light);
    display: block;
    transition: transform 0.3s ease;
}

.case-next-footer:hover .next-arrow {
    transform: translateX(10px);
}

@media (max-width: 900px) {
    .case-info-grid {
        gap: 1rem 2.5rem;
    }
    
    .case-narrative {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .case-info-grid {
        gap: 1rem 2rem;
    }
    
    .case-gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(3n) {
        grid-column: span 1;
    }
    
    .case-hero-content {
        padding-bottom: 2rem;
    }
}

/* ================================
   Case Overlay - Mobile Responsive
   ================================ */
@media (max-width: 768px) {
    .case-overlay {
        padding: 0;
        align-items: stretch;
    }
    
    .case-overlay-scroll {
        width: 100%;
        height: 100%;
        max-width: 100%;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .case-overlay-close {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
        z-index: 100;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .case-header-hero {
        height: 35vh;
        min-height: 250px;
    }
    
    .case-hero-content {
        padding: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .case-hero-category {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .case-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 0.5rem;
    }
    
    .case-hero-tagline {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
    
    .case-body {
        padding: 1.5rem;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    
    .case-info-grid {
        gap: 1rem 2rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .info-label {
        font-size: 0.65rem;
    }
    
    .info-value, .info-value-group {
        font-size: 0.9rem;
    }
    
    .case-narrative {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .narrative-block h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .narrative-block p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .case-gallery-masonry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item:nth-child(3n) {
        grid-column: span 1;
    }
    
    .gallery-item img {
        border-radius: 6px;
    }
    
    .case-next-footer {
        padding: 3rem 1.5rem;
    }
    
    .next-project-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .next-arrow {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .case-header-hero {
        height: 30vh;
        min-height: 200px;
    }
    
    .case-hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .case-info-grid {
        gap: 0.75rem 1.5rem;
    }
    
    .case-body {
        padding: 1rem;
        padding-top: 1.5rem;
    }
    
    .case-next-footer {
        padding: 2.5rem 1rem;
    }
    
    .next-project-title {
        font-size: clamp(1.5rem, 10vw, 2rem);
    }
}

/* ================================
   Image Lightbox Modal
   ================================ */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
}

.image-modal-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.image-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .image-modal-content img {
        max-width: 95vw;
        max-height: 75vh;
    }
    
    .image-modal-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ================================
   Logo Wall - Infinite Scroll
   ================================ */
.logos {
    padding: 10rem 0;
    background: var(--bg-primary); /* dunkel */
    overflow: hidden;
    position: relative;
    text-align: center;
}

.logos-header {
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.logos-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
}

.logos-title {
    margin-bottom: 3rem;
    line-height: 0.95;
}

.logos-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logos-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
}

.logos-text {
    font-family: var(--font-sans);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Reasons Grid - Cards */
/* Skew Cards Gallery */
.skew-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 3rem 2rem 6rem;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.skew-card {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 320px;
    transition: all 0.5s ease;
}

/* Skewed gradient panels */
.skew-gradient {
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    border-radius: 12px;
    transform: skewX(15deg);
    transition: all 0.5s ease;
}

.skew-gradient-blur {
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    border-radius: 12px;
    transform: skewX(15deg);
    filter: blur(30px);
    transition: all 0.5s ease;
}

/* Gradient - Website Orange */
.skew-gradient,
.skew-gradient-blur {
    background: linear-gradient(315deg, var(--accent-blue), var(--accent-light));
}

/* Hover effects */
.skew-card:hover .skew-gradient,
.skew-card:hover .skew-gradient-blur {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

/* Animated blobs */
.skew-blobs {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 10;
}

.blob {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 12px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    animation: blob 2s ease-in-out infinite;
}

.blob-1 {
    top: 0;
    left: 0;
}

.blob-2 {
    bottom: 0;
    right: 0;
    animation-delay: -1s;
}

.skew-card:hover .blob-1 {
    top: -50px;
    left: 50px;
    width: 80px;
    height: 80px;
    opacity: 1;
}

.skew-card:hover .blob-2 {
    bottom: -50px;
    right: 50px;
    width: 80px;
    height: 80px;
    opacity: 1;
}

@keyframes blob {
    0%, 100% { transform: translateY(10px); }
    50% { transform: translateY(-10px); }
}

/* Content */
.skew-content {
    position: relative;
    z-index: 20;
    left: 0;
    padding: 2.5rem;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skew-card:hover .skew-content {
    left: -25px;
    padding: 2.5rem;
    background: rgba(10, 22, 40, 0.95);
}

.reason-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    line-height: 1.2;
}

.reason-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
}

@media (max-width: 1100px) {
    .skew-cards-wrapper {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .skew-card {
        flex: 0 0 calc(50% - 1rem);
        height: 280px;
    }
    
    .skew-gradient,
    .skew-gradient-blur {
        left: 40px;
    }
}

@media (max-width: 700px) {
    .skew-cards-wrapper {
        flex-direction: column;
        padding: 2rem 1rem 4rem;
        align-items: center;
    }
    
    .skew-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
        height: 280px;
    }
    
    .skew-gradient,
    .skew-gradient-blur {
        left: 30px;
    }
    
    .skew-card:hover .skew-gradient,
    .skew-card:hover .skew-gradient-blur {
        left: 10px;
        width: calc(100% - 60px);
    }
    
    .reason-label {
        font-size: 1.4rem;
    }
}

/* Remove categories - no longer used */

/* Infinite Marquee */
.logos-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-marquee-track {
    display: flex;
    width: fit-content;
    animation: scrollLogos 40s linear infinite;
    will-change: transform;
}

.logos-marquee-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    /* Desktop: 1/6 width (approx 16.66%) */
    width: 200px; 
    flex-shrink: 0;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-slide {
        /* Mobile: 1/3 or 1/4 width */
        width: 140px; 
        padding: 0 1.5rem;
    }
    
    .brand-logo {
        max-width: 100px;
    }
    
    .logo-cat {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ================================
   LAB Preview Section - Clean & Minimal
   ================================ */
.lab-preview {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 500;
    padding: 8rem 0;
}

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

.lab-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lab-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--bg-primary) 0%,
        rgba(10, 22, 40, 0.75) 30%,
        rgba(10, 22, 40, 0.75) 70%,
        var(--bg-primary) 100%
    );
    z-index: 2;
}

.lab-preview-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.lab-preview-label {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.lab-preview-title {
    font-family: var(--font-display);
    font-size: clamp(7rem, 22vw, 16rem);
    font-weight: 400;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
    text-stroke: 2px var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.lab-preview-text {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

.lab-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 3.5rem;
    background: #fff;
    border: none;
    color: var(--bg-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
}

.lab-preview-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.lab-preview-btn .btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.lab-preview-btn:hover .btn-arrow {
    transform: translateX(8px);
}

.gear-preview-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

@media (max-width: 700px) {
    .gear-preview-grid {
        grid-template-columns: 1fr;
    }
}

.gear-preview-card {
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out);
}

.gear-preview-card:hover {
    transform: translateY(-8px);
}

.gear-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.gear-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear-placeholder.dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.gear-icon {
    font-size: 4rem;
}

.gear-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gear-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    padding: 1.5rem 1.5rem 0.5rem;
}

.gear-card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 1.5rem 1.5rem;
}

.gear-preview .btn-primary {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
}

/* ================================
   FAQ Section
   ================================ */
.faq-section {
    padding: 10rem 0;
    background: var(--bg-primary); /* dunkel */
}

.faq-header {
    text-align: center;
    margin-bottom: 5rem;
}

.faq-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
    font-weight: 500;
}

.faq-title {
    margin-bottom: 0;
    line-height: 0.95;
}

.faq-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.faq-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover span:first-child {
    color: var(--accent-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 2rem;
}

.faq-question span:first-child {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--text-primary);
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-answer p {
    font-size: 1.2rem; /* Adjusted for better hierarchy */
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 90%;
}

/* FAQ Mobile Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 5rem 0;
    }
    
    .faq-header {
        margin-bottom: 3rem;
    }
    
    .faq-title .line1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .faq-title .line2 {
        font-size: clamp(1rem, 4vw, 1.75rem);
    }
    
    .faq-accordion {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.5rem 0;
    }
    
    .faq-question span:first-child {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        padding-right: 1rem;
    }
    
    .faq-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .faq-item.active .faq-answer {
        padding-bottom: 1.5rem;
    }
}

.btn-primary {
    display: inline-block;
    position: relative;
    padding: 1.2rem 3.5rem;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: visible;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 50%;
    height: 100%;
    background: linear-gradient(315deg, var(--accent-blue), var(--accent-light));
    border-radius: 8px;
    transform: skewX(15deg);
    z-index: -1;
    transition: all 0.5s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 50%;
    height: 100%;
    background: linear-gradient(315deg, var(--accent-blue), var(--accent-light));
    border-radius: 8px;
    transform: skewX(15deg);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -2;
    transition: all 0.5s ease;
}

.btn-primary:hover {
    color: #fff;
    transform: translateX(-10px);
    background: rgba(10, 22, 40, 0.95);
}

.btn-primary:hover::before,
.btn-primary:hover::after {
    transform: skewX(0deg);
    left: 10px;
    width: calc(100% - 20px);
}

/* ================================
   Tools Preview Section
   ================================ */
.tools-preview {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.tools-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.tools-preview-content {
    max-width: 500px;
}

.tools-preview-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-light);
    display: block;
    margin-bottom: 1.5rem;
}

.tools-preview-title {
    margin-bottom: 2rem;
    line-height: 0.95;
}

.tools-preview-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
}

.tools-preview-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.tools-preview-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.tools-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--accent-blue);
    border-radius: 4px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tools-preview-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.tools-preview-btn svg {
    transition: transform 0.3s ease;
}

.tools-preview-btn:hover svg {
    transform: translateX(5px);
}

.tools-preview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.tools-preview-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.tools-preview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .tools-preview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tools-preview-content {
        max-width: 100%;
        text-align: center;
    }
    
    .tools-preview-btn {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .tools-preview {
        padding: 5rem 0;
    }
    
    .tools-preview-text {
        font-size: 1rem;
    }
}

/* ================================
   Team Section
   ================================ */
.team {
    padding: 10rem 0;
    background: var(--bg-light); /* 95% weiß */
}

.team .team-label {
    color: rgba(10, 22, 40, 0.5);
}

.team .team-title .line1 {
    color: var(--bg-primary);
}

.team .team-member h3 {
    color: var(--bg-primary);
}

.team .team-member p {
    color: rgba(10, 22, 40, 0.6);
}

.team-header {
    text-align: center;
    margin-bottom: 5rem;
}

.team-label {
    font-size: var(--section-label-size);
    letter-spacing: var(--section-label-spacing);
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--section-label-margin);
    font-weight: 500;
}

.team-title {
    margin-bottom: 0;
    line-height: 0.95;
}

.team-title .line1 {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--headline-size);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.team-title .line2 {
    display: block;
    font-family: var(--font-headline-accent);
    font-size: var(--subheadline-size);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: var(--subheadline-margin);
}

.team-quote {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
}

.team-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Team Grid - Simple 4 Column Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-card-static {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card-static:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.team-card-static img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.team-card-static:hover img {
    filter: grayscale(0%);
}

.team-card-static .team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #ffffff;
}

.team-card-static .team-card-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.team-card-static .team-card-info span {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
    line-height: 1.3;
    display: block;
    margin: 0;
}

/* Special card for Freelance Network */
.team-card-static.team-card-special {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(59, 130, 246, 0.15));
}

.team-card-static .team-card-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.5;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 1.5rem;
    }
}

/* Legacy styles kept for compatibility */
.member-role {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

/* Special Team Member - Freelance Placeholder */
.team-member-special .member-image-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.team-member-special .placeholder-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.6;
}

.team-member-special .member-name {
    font-size: 1.4rem;
}


/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 12rem 0;
    background: var(--bg-secondary); /* hell */
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-logo {
    margin-bottom: 3rem;
    background: transparent !important;
    mix-blend-mode: screen !important; /* Apply blending to the container layer */
    isolation: isolate !important; /* treat contents as a group */
    position: relative;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to email if overlapping */
}

.contact-logo video,
.contact-icon.logo-video {
    mix-blend-mode: normal !important; /* content is just pixels */
    background: transparent !important;
    filter: none !important;
    display: block;
    width: 100%;
    height: auto;
}

.contact-icon {
    width: 60px;
    height: auto;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 500;
}

.contact-meta {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.contact-email {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem); /* Reduced from 2rem-4rem */
    font-style: normal;
    font-weight: 400;
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-muted);
    transition: all 0.3s ease;
    padding-bottom: 0.5rem;
    line-height: 1.1;
    display: inline-block; /* Ensure it takes up space */
    position: relative; /* Ensure stacking context */
    z-index: 1000; /* Force higher z-index */
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important; /* Prevent GSAP from messing with it if not intended */
}

.contact-logo, .contact-logo video {
    /* Removed combined rule to prevent conflict */
}

.contact-email:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p,
.footer-legal p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--text-primary);
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-link:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(255,255,255,0.45);
}

/* Smooth Scroll - Disabled */
/* html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; } */
/* ================================
   Magnetic Text Effect (Ported)
   ================================ */
.magnetic-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: none;
    user-select: none;
    touch-action: auto; /* Allow scrolling on touch devices */
    width: fit-content;
    margin: 0 auto;
}

/* Only enable magnetic effect on desktop (hover capable devices) */
@media (hover: hover) and (pointer: fine) {
    .magnetic-wrap {
        touch-action: none;
    }
}

/* Base text container */
.magnetic-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.magnetic-base {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Label - small text above headline */
.hero-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
}

/* Ensure font styles are inherited correctly */
.magnetic-wrap .magnetic-base .line-1,
.magnetic-wrap .magnetic-reveal .line-1 {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 11vw, 9rem);
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: none;
    white-space: nowrap;
}

.magnetic-wrap .magnetic-base .line-2,
.magnetic-wrap .magnetic-reveal .line-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 3rem;
    width: 100%;
    position: relative;
}

.magnetic-wrap .magnetic-base .line-2::before,
.magnetic-wrap .magnetic-reveal .line-2::before,
.magnetic-wrap .magnetic-base .line-2::after,
.magnetic-wrap .magnetic-reveal .line-2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: currentColor;
    opacity: 0.5;
}

.magnetic-wrap .magnetic-base .line-2 em,
.magnetic-wrap .magnetic-reveal .line-2 em {
    font-style: normal;
    font-weight: 700;
    color: inherit; /* Inherit parent color for correct inversion */
}

/* Base colors */
.magnetic-wrap .magnetic-base .line-1 { color: var(--text-primary); }
.magnetic-wrap .magnetic-base .line-2 { color: var(--text-secondary); }
.magnetic-wrap .magnetic-base .line-2 em { color: var(--accent-blue); }

/* Reveal colors (Inverted) - FORCE DARK COLOR */
.magnetic-wrap .magnetic-reveal .line-1 { 
    color: #0a1628 !important; /* Force dark blue */
}
.magnetic-wrap .magnetic-reveal .line-2 { 
    color: #0a1628 !important; /* Force dark blue */
}
.magnetic-wrap .magnetic-reveal .line-2 em { 
    color: var(--accent-blue) !important; 
}

.magnetic-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--text-primary); /* Lens bg is white */
    overflow: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1), height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, width, height;
}

/* Active state for the lens size */
.magnetic-wrap.is-hovered .magnetic-lens {
    width: 300px; /* Increased size to cover more area */
    height: 300px;
}

.magnetic-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.magnetic-wrap .magnetic-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
}
