﻿        /* Einheitliche Outfit Typografie aus der About-Seite implementiert */
        @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');
        
        :root {
            --bg: #f4f2ed;
            --fg: #000;
            --slot-h: 40px; 
        }

        html { 
            background-color: #f4f2ed !important; 
            height: 100%; width: 100%; overflow: hidden; 
            transition: background-color 5s cubic-bezier(0.19, 1, 0.22, 1);
        }
        html.inverted { 
            --bg: #0b0d12; 
            --fg: #f4f2ed;
            background-color: #0b0d12 !important; 
        }
        
        body { margin: 0; padding: 0; width: 100%; height: 100%; user-select: none; touch-action: none; cursor: none; background-color: transparent !important; -webkit-tap-highlight-color: transparent; }

        #page-loader {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background-color: var(--bg); z-index: 9000000;
            display: flex; justify-content: flex-end; align-items: flex-end;
            padding: 4vw; box-sizing: border-box;
            transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
        }
        #loader-percent {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(80px, 20vw, 350px);
            font-weight: 300;
            color: var(--fg);
            line-height: 0.8;
            letter-spacing: -0.05em;
        }

        #transition-shield {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background-color: #f4f2ed; z-index: 1000000; pointer-events: none; opacity: 1;
            transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1);
        }
        html.inverted #transition-shield { background-color: #0b0d12; }

        #main-wrapper, #ui-layer, #contact-link-container, #instagram-link-container { 
            filter: url(#liquid-filter); 
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        #main-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

        .ui-text-style { font-family: 'Outfit', sans-serif; color: var(--fg); transition: color 1.5s ease; }

        /* ============================================================== */
        /* [ SYNCHRONISIERTER HEADER BEREICH (EXAKT WIE ABOUT) ]          */
        /* ============================================================== */
        #ui-layer { 
            position: fixed; top: 0; left: 0; z-index: 2000000; 
            width: 100%; padding: 30px; box-sizing: border-box; 
            display: flex; justify-content: space-between; align-items: flex-start;
            background-color: transparent !important; pointer-events: none; 
            transition: opacity 0.5s ease;
        }
        
        #logo-container, #nav-wrapper { pointer-events: auto; }

        .header-mask { height: var(--slot-h); overflow: hidden; position: relative; }
        .header-track { display: flex; flex-direction: column; transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); will-change: transform; }
        .header-slot { height: var(--slot-h); display: flex; align-items: center; flex-shrink: 0; width: 100%; }
        .slot-right { justify-content: flex-end; }

        #logo-link { text-decoration: none !important; color: var(--fg) !important; border: none !important; outline: none !important; display: block; height: 100%; }
        
        .logo-text { 
            font-family: 'Outfit', sans-serif; 
            font-size: clamp(26px, 3.5vw, 32px); 
            font-weight: 600; letter-spacing: 1px; color: var(--fg); margin: 0; padding: 2px 0; line-height: 1; 
            text-decoration: none !important; border: none !important;
            display: inline-block;
            white-space: nowrap; 
        }

        #nav-wrapper { display: flex; align-items: center; justify-content: flex-end; min-width: 350px; }
        
        #desktop-menu { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
        
        .nav-link, .footer-link { 
            text-decoration: none; color: var(--fg); font-family: 'Outfit', sans-serif; 
            font-size: clamp(15px, 1.7vw, 20px); font-weight: 400; padding: 2px 10px; 
            position: relative; display: inline-block; transition: background 0.4s cubic-bezier(0.19, 1, 0.22, 1), color 0s !important; white-space: nowrap;
        }
        .nav-link:hover, .footer-link:hover { background: var(--fg) !important; color: var(--bg) !important; }

        /* Das elegante 2-Linien Burger-Menü von der About-Seite */
        #burger-menu { width: 45px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; cursor: pointer; display: none; }
        .b-line { height: 2px; background-color: var(--fg); transition: width 0.4s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.4s ease; }
        .l1 { width: 100%; }
        .l2 { width: 50%; } 
        #burger-menu:hover .l2 { width: 100%; }

        #contact-link-container { position: fixed; bottom: 30px; left: 30px; z-index: 2000000; pointer-events: auto; }
        #instagram-link-container { position: fixed; bottom: 30px; right: 30px; z-index: 2000000; pointer-events: auto; }

        /* ============================================================== */
        /* [ VOLLBILD MENÜ VON DER ABOUT-SEITE ]                          */
        /* ============================================================== */
        #fullscreen-nav {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background-color: var(--fg); z-index: 1999999; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4vh;
            opacity: 0; pointer-events: none; transition: opacity 0.6s ease;
        }
        
        #ui-layer.menu-open + #fullscreen-nav { opacity: 1; pointer-events: auto; }
        #ui-layer.menu-open .logo-text, #ui-layer.menu-open .nav-link { color: var(--bg) !important; }
        #ui-layer.menu-open .b-line { background-color: var(--bg); }
        
        #ui-layer.menu-open #burger-menu { justify-content: center; height: 2px; }
        #ui-layer.menu-open .l1 { transform: translateY(1px) rotate(45deg); width: 100%; }
        #ui-layer.menu-open .l2 { transform: translateY(-1px) rotate(-45deg); width: 100%; }

        .fs-link {
            font-family: 'Outfit', sans-serif; font-size: clamp(40px, 8vw, 100px); font-weight: 400; color: var(--bg); 
            text-decoration: none; text-transform: uppercase; letter-spacing: 2px;
            transform: rotateX(-90deg) translateY(50px); opacity: 0;
            transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease, color 0.3s ease;
        }
        #ui-layer.menu-open + #fullscreen-nav .fs-link { transform: rotateX(0deg) translateY(0px); opacity: 1; }
        #ui-layer.menu-open + #fullscreen-nav .fs-link:nth-child(1) { transition-delay: 0.1s; }
        #ui-layer.menu-open + #fullscreen-nav .fs-link:nth-child(2) { transition-delay: 0.2s; }
        #ui-layer.menu-open + #fullscreen-nav .fs-link:nth-child(3) { transition-delay: 0.3s; }
        #ui-layer.menu-open + #fullscreen-nav .fs-link:nth-child(4) { transition-delay: 0.4s; }
        .fs-link:hover { color: var(--orbital-gray); }

        #fullscreen-consent {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: 8000000; display: none; flex-direction: column; 
            justify-content: center; align-items: center; gap: 30px;
            backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            background-color: rgba(244, 242, 237, 0.4);
            opacity: 0; transition: opacity 1.5s ease; pointer-events: auto;
            box-sizing: border-box; 
        }
        html.inverted #fullscreen-consent { background-color: rgba(11, 13, 18, 0.5); }
        
        .fc-text { font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--fg); letter-spacing: 1px; text-transform: uppercase; text-align: center; }
        .fc-btn { 
            cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
            color: var(--fg); border: 1px solid var(--fg); padding: 8px 18px; display: inline-block;
            transition: background 0.3s ease, color 0s !important; text-transform: uppercase;
        }
        .fc-btn:hover { background: var(--fg) !important; color: var(--bg) !important; }

        /* ============================================================== */
        /* [ MOBILE KORREKTUREN - STRIKT ISOLIERT WIE IN ABOUT ]          */
        /* ============================================================== */
        @media (max-width: 768px) {
            #burger-menu { display: flex; z-index: 3000001; }
            
            #ui-layer { padding: 20px 25px !important; align-items: center !important; }
            #logo-container { flex-shrink: 1; min-width: 0; }
            .logo-text { font-size: clamp(22px, 6vw, 26px) !important; }
            
            #desktop-menu { display: none !important; }
            #nav-wrapper { min-width: 45px !important; width: 45px !important; flex-shrink: 0 !important; }
            
            /* Frosted Glass Header (NUR Mobile) */
            #ui-layer.scrolled {
                background-color: rgba(244, 242, 237, 0.75) !important;
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
            }
            html.inverted #ui-layer.scrolled {
                background-color: rgba(11, 13, 18, 0.75) !important;
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
            }
            
            body { cursor: auto; touch-action: auto; }
            
            #contact-link-container { bottom: 90px; left: 0; right: 0; display: flex; justify-content: center; width: 100%; }
            #instagram-link-container { bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; width: 100%; }
            #fullscreen-consent { padding: 0 5vw; text-align: center; } 
        }

        #canvas-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
        .svg-filter-container { position: absolute; width: 0; height: 0; visibility: hidden; }

        /* KREATIVER CUSTOM CURSOR (Aktiv in beiden Modi) */
        #custom-cursor {
            position: fixed; top: 0; left: 0; width: 0; height: 0;
            pointer-events: none; z-index: 10000000;
            display: flex; align-items: center; justify-content: center;
        }
        
        .cursor-dot {
            position: absolute; width: 12px; height: 12px;
            background-color: var(--fg); border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: background-color 0.3s, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        
        .cursor-text {
            position: absolute; left: 20px; top: 0;
            transform: translateY(-50%);
            font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 600;
            color: var(--fg); letter-spacing: 0.15em; white-space: nowrap;
            opacity: 0; pointer-events: none;
            transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        
        .cursor-text span {
            font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 300; opacity: 0.6;
        }

        body.portrait-hover-active .cursor-dot {
            transform: translate(-50%, -50%); 
        }
        body.portrait-hover-active .cursor-text {
            opacity: 1; transform: translateY(-50%) translateX(5px);
        }


