
:root {
    --bg: #ffffff;
    --text: #000000;
    --accent: #d33c2a;
    --grid: var(--text);
    --safe-top: max(45px, env(safe-area-inset-top, 45px));
    --safe-bottom: max(35px, env(safe-area-inset-bottom, 35px));
    --safe-side: max(35px, env(safe-area-inset-left, 4vw));
    --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
    --fixed-vh: 100vh;
}

html.dark-mode, body.dark-mode {
    --bg: #000000;
    --text: #ffffff;
    --grid: var(--text);
}

/* --- DARK MODE IMAGE INVERSION FILTERS --- */
html.dark-mode .dark-invert-hue, body.dark-mode .dark-invert-hue {
    filter: invert(1) hue-rotate(180deg) !important;
}

html.dark-mode .dark-invert-bw, body.dark-mode .dark-invert-bw {
    filter: invert(1) grayscale(100%) contrast(120%) !important;
}

* {
    cursor: none !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Accessibility: Clear Focus Styles */
*:focus-visible {
    outline: 3px solid var(--accent) !important;
    outline-offset: 6px !important;
    border-radius: 4px;
    box-shadow: none !important;
}

h1, h2, h3, h4, .font-bold, .cover-title, .v-title, .next-title, .project-zoom-btn-text, .auth-btn, .chooser-btn { 
    font-weight: 600 !important; 
    text-transform: none !important;
    transform: translateZ(0); 
    letter-spacing: -0.01em; 
}

b, strong {
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0;
}

p, .style_body, .label, .cover-caption, .meta-row, .lay-hscroll-caption, .clean-caption { 
    font-weight: 400 !important; 
    color: var(--text) !important;
}

.style_body {
    font-size: clamp(24px, 2.5vw, 48px);
    line-height: 1.5;
}

body, html { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background: var(--bg); 
    color: var(--text); 
    overscroll-behavior: none; 
}

html.grid-mode-active,
html.list-mode-active {
    height: auto !important;
    overflow-y: auto !important;
}

body.grid-mode-active,
body.list-mode-active {
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
}

html.view-switching, body.view-switching {
    overflow: hidden !important;
}

img, video { 
    display: block; 
    -webkit-user-drag: auto; 
    user-select: auto; 
    pointer-events: auto; 
}

#project-container img { 
    pointer-events: none; 
    -webkit-user-drag: none; 
    user-select: none; 
}

.w-screen-breakout { 
    width: 100vw; 
    position: relative; 
    left: 50%; 
    transform: translateX(-50%); 
    clear: both; 
}

.arch-section { 
    padding: 10vh 0; 
    position: relative; 
}

.airlock-box { 
    background: transparent; 
    width: 100%; 
    position: relative; 
    border-radius: 0; 
}

.airlock-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    opacity: 0; 
    transition: opacity 0.8s var(--ease-lux); 
}

.airlock-img.loaded { 
    opacity: 1; 
}

.hover-scale-wrap {
    display: block; 
    width: 100%; 
    position: relative; 
    border-radius: 0; 
    height: max-content; 
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
}

@media(hover: hover) {
    .grid-item .hover-scale-wrap:not(.has-hotspots):hover, .arch-section .hover-scale-wrap:not(.has-hotspots):hover, .zoomable:not(.has-hotspots):not(.lay-hscroll-item img):not(.lay-hscroll-item .zoomable):hover {
        transform: scale(1.02) translateY(-4px) translateZ(0); 
        box-shadow: none; 
        z-index: 20;
    }
}

#global-ui-layer { 
    position: fixed; 
    inset: 0; 
    pointer-events: none; 
    z-index: 1000000; 
    contain: layout size style; 
}

.ui-element { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 1.5s var(--ease-lux); 
    pointer-events: auto; 
}

.ui-element.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

header { 
    position: absolute; 
    top: var(--safe-top); 
    left: var(--safe-side); 
    pointer-events: none;
    color: var(--text);
    z-index: 1000001;
}

#view-toggle-btn {
    position: absolute;
    top: var(--safe-top);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 4px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer !important;
    pointer-events: auto;
    height: 44px;
    transition: all 0.4s var(--ease-lux);
    z-index: 1000001;
    display: flex;
    gap: 0;
    align-items: center;
}
html.dark-mode #view-toggle-btn { background: rgba(30, 30, 30, 0.75); border-color: rgba(255,255,255,0.1); }
#view-toggle-btn:hover { transform: translateX(-50%) scale(1.02); }
.view-option { transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); color: var(--text); opacity: 1 !important; display: flex; align-items: center; justify-content: center; width: 48px; height: 34px; border-radius: 20px; margin: 0; }
.view-option svg { width: 16px; height: 16px; }
.view-option:hover:not(.active) { background: rgba(128,128,128,0.1); }
.view-option.active { background: var(--text); color: var(--bg) !important; }

/* Resets for Native Buttons used as UI Elements */
.view-option, .lay-chooser-btn, .next-project-pin-wrap, .project-zoom-btn, .hotspot-pin {
    background: transparent;
    border: none;
    font-family: inherit;
    color: inherit;
    padding: 0;
}

/* --- VERBESSERTES BOTTOM DOCK & MORPH LOGIC --- */
#bottom-dock {
    position: absolute;
    bottom: var(--safe-bottom);
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    display: flex;
    align-items: center;
    gap: 0px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 6px 12px;
    border-radius: 40px;
    height: 44px;
    z-index: 1000000;
    pointer-events: auto;
    transition: left 0.8s var(--ease-lux), 
                right 0.8s var(--ease-lux), 
                transform 0.8s var(--ease-lux), 
                padding 0.8s var(--ease-lux), 
                background 0.5s ease,
                gap 0.8s var(--ease-lux);
    white-space: nowrap !important;
    width: max-content;
}
html.dark-mode #bottom-dock { background: rgba(30, 30, 30, 0.75); border-color: rgba(255,255,255,0.1); }
#bottom-dock > * + * {
    margin-left: 12px;
    transition: margin-left 0.8s var(--ease-lux);
}
#bottom-dock.ui-element.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
header, .lang-btn, .view-option, .close-btn-wrapper, #lang-switch, #bottom-dock { transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease !important; }

/* FIX: Perfekte Positionierung an der rechten Kante! */
body.viewing-detail #bottom-dock.ui-element.visible {
    left: calc(100% - var(--safe-side));
    transform: translateX(-100%) translateY(0) !important;
    padding: 6px 16px;
}

/* SMOOTH DOCK MORPHING TO DE/EN SWITCH */
#bottom-dock > * {
    transition: max-width 0.8s var(--ease-lux), opacity 0.4s var(--ease-lux), margin 0.8s var(--ease-lux), padding 0.8s var(--ease-lux);
    max-width: 200px;
    overflow: hidden;
}
#bottom-dock > .settings-wrapper {
    overflow: visible !important;
}

body.viewing-detail #bottom-dock > *:not(.settings-wrapper):not(#fullscreen-toggle-btn) {
    max-width: 0 !important;
    opacity: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    pointer-events: none;
    border: none;
}

#lang-switch, #impressum-btn, #reset-view-btn {
    position: static; transform: none; box-shadow: none; background: transparent; 
    padding: 6px 10px; font-size: 13px; color: var(--text); cursor: pointer !important; transition: 0.3s;
    font-weight: 600; text-transform: uppercase; opacity: 1 !important;
}
#impressum-btn { white-space: nowrap !important; }
#impressum-btn:hover { color: var(--accent); }

.lang-btn { padding: 0 4px; transition: 0.4s; font-weight: 600; color: var(--text); text-transform: uppercase; opacity: 1 !important; }
.lang-btn.active { color: var(--accent) !important; }

.zoom-controls { display: flex; align-items: center; gap: 4px; }
.zoom-btn {
    width: 28px; height: 28px; border-radius: 50%; background: transparent; border: 1px solid var(--text);
    display: flex; justify-content: center; align-items: center;
    cursor: pointer !important; transition: 0.3s;
    color: var(--text); font-weight: 600;
}
.zoom-btn[onclick*="manualZoom"] { transition: opacity 0.3s ease; }
.zoom-btn:hover { background: var(--text); color: var(--bg); }

.dock-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); transition: opacity 0.4s; }

#reset-view-btn { display: none; background: var(--bg); color: var(--text); border-radius: 40px; }
#reset-view-btn.visible { display: block; }
#reset-view-btn:hover { background: var(--text); color: var(--bg); }

body.grid-mode-active #bottom-dock .zoom-controls,
body.grid-mode-active #bottom-dock .zoom-div,
body.grid-mode-active #bottom-dock #reset-view-btn,
body.grid-mode-active #bottom-dock #reset-divider,
body.list-mode-active #bottom-dock .zoom-controls,
body.list-mode-active #bottom-dock .zoom-div,
body.list-mode-active #bottom-dock #reset-view-btn,
body.list-mode-active #bottom-dock #reset-divider {
    max-width: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    pointer-events: none;
    border: none;
}

body.viewing-detail #view-toggle-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.6s var(--ease-lux);
}

body.viewing-detail header { opacity: 0 !important; pointer-events: none !important; }

#global-close-btn { 
    position: absolute; 
    top: var(--safe-top); 
    right: var(--safe-side); 
    cursor: pointer !important; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background: var(--bg); 
    border: 1px solid var(--grid);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transform: scale(0.8) rotate(-90deg); 
    transition: all 0.6s var(--ease-lux); 
    pointer-events: none; 
}

#global-close-btn:hover { transform: scale(1.1) rotate(0deg); background: var(--accent); border-color: var(--accent); box-shadow: 0 15px 50px rgba(0,0,0,0.15); }
#global-close-btn svg.progress-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.progress-ring__circle { transition: stroke-dashoffset 0.1s linear, stroke 0.4s var(--ease-lux); stroke: var(--text) !important; }
#global-close-btn:hover .progress-ring__circle { stroke: #ffffff !important; }
#global-close-btn .x-icon { font-size: 20px; font-weight: 700; color: var(--text); transition: color 0.4s; }
#global-close-btn:hover .x-icon { color: #ffffff; }
#global-close-btn.active { opacity: 1; transform: scale(1) rotate(0deg); pointer-events: auto; z-index: 999999; }

/* --- LIQUID GLASS CURSOR --- */
#cursor-dot { 
    width: 28px; height: 28px; 
    background-color: rgba(0,0,0,0.03); 
    backdrop-filter: blur(8px) saturate(1.5);
    border: 1px solid rgba(128,128,128,0.3);
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.9), inset 0 -2px 6px rgba(0,0,0,0.05), 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 50%; position: fixed; pointer-events: none !important; z-index: 2147483647; top: 0; left: 0; 
    will-change: transform, width, height; 
    transition: width 0.4s var(--ease-lux), height 0.4s var(--ease-lux), background-color 0.4s, border 0.4s, box-shadow 0.4s;
}
#cursor-dot::after {
    content: ''; position: absolute; inset: 2px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, transparent 60%);
}
#cursor-dot.active-mode {
    background-color: rgba(128, 128, 128, 0.15); border: 1px solid var(--text);
    box-shadow: none;
}
#cursor-dot.zoom-mode { width: 64px; height: 64px; background-color: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.6); box-shadow: inset 0 4px 10px rgba(255,255,255,1), 0 10px 30px rgba(0,0,0,0.15); }
@media (pointer: coarse) { #cursor-dot { display: none !important; } * { cursor: auto !important; } }

.split-rev-container { display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; vertical-align: bottom; }
.split-text-inner { white-space: nowrap; padding: 0 8px; opacity: 1; }
.split-line { position: absolute; top: 0; bottom: 0; width: 2px; background-color: var(--accent); }
.split-line.left { left: 0; } .split-line.right { right: 0; }
.word-reveal-wrap { display: inline-block; white-space: nowrap; }
.char-reveal-inner { display: inline-block; }
.split-subtitle-target { font-weight: 600 !important; }

.lay-hscroll-caption, .clean-caption, .lay-full-click-item-caption {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: clamp(16px, 1.5vw, 24px) !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
.lay-hscroll-caption { position: static; margin-top: 12px; height: auto; text-align: right; }
.clean-caption { margin-top: 12px; display: block; text-align: right; }
.lay-full-click-item-caption { position: absolute; bottom: 30px; right: 50px; left: auto; transform: none; text-align: right; text-shadow: 0 4px 20px var(--bg); }

/* Macht die Sprach-Buttons vollflächig klickbar */
#btn-de *, #btn-en * { pointer-events: none !important; }
.magnetic-btn { display: inline-block; pointer-events: auto; }
.hotspot-wrap { position: absolute; width: 0; height: 0; pointer-events: auto; z-index: auto; }
.hotspot-pin { --hp-size: clamp(14px, 1.5vw, 24px); --hp-offset: calc(var(--hp-size) / -2); position: absolute; top: var(--hp-offset); left: var(--hp-offset); height: var(--hp-size); width: max-content; max-width: var(--hp-size); border-radius: var(--hp-size); background: #000000; border: 2px solid #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: inline-flex; align-items: center; justify-content: flex-start; overflow: hidden; cursor: pointer !important; opacity: 0; transform: scale(0); transform-origin: calc(var(--hp-size)/2) calc(var(--hp-size)/2); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, max-width 0.4s var(--ease-lux), background 0.4s, opacity 0.8s; z-index: 100; }
.observe-me.in-view .hotspot-pin { opacity: 1; transform: scale(1); }
.hotspot-wrap:hover .hotspot-pin { max-width: 300px; background: #000000; border-color: #000000; transform: scale(1.15); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), max-width 0.4s var(--ease-lux) 0.15s, background 0.4s; z-index: 110; }
.hotspot-dot { width: calc(var(--hp-size) - 4px); height: calc(var(--hp-size) - 4px); flex-shrink: 0; border-radius: 50%; background: transparent; margin-left: 2px; animation: hotspotPulse 2.5s infinite; }
.hotspot-text { color: #ffffff; font-size: clamp(9px, 0.8vw, 11px); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; padding: 0 10px 0 10px; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s var(--ease-lux), transform 0.3s var(--ease-lux); }
.hotspot-wrap:hover .hotspot-text { opacity: 1; transform: translateX(0); transition-delay: 0.25s; color: #ffffff; }
div.hotspot-pin { cursor: default !important; }
.hotspot-pin-num { display: none; }

.hotspot-pin-layer { position: absolute; inset: 0; pointer-events: none; z-index: 50; transition: opacity 0.4s var(--ease-lux); }
.is-isometric-stack:not(.is-2d-mode) .hotspot-pin-layer {
    opacity: 0 !important;
    pointer-events: none !important;
}

.a11y-hotspot-gallery { display: none; }

/* --- PREMIUM HOTSPOT CARDS --- */
.hotspot-wrap:hover .hotspot-pin.has-card { 
    opacity: 0; 
    transform: scale(0.8); 
    transition: transform 0.2s ease, opacity 0.2s ease; 
}
.hotspot-card {
    position: absolute;
    top: var(--hp-size);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    z-index: 50; 
    transition: opacity 0.3s ease, transform 0.4s var(--ease-lux);
}
/* Invisible bridge to prevent hover dropping */
.hotspot-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    z-index: -1;
}

/* Edge Alignments automatically handled via JS classes */
.hotspot-wrap.hs-right .hotspot-card { left: auto; right: 0; transform: translateX(0) translateY(10px); }
.hotspot-wrap.hs-bottom .hotspot-card { top: auto; bottom: var(--hp-size); transform: translateX(-50%) translateY(-10px); }
.hotspot-wrap.hs-right.hs-bottom .hotspot-card { transform: translateX(0) translateY(-10px); }

.hotspot-wrap:hover { z-index: 9999; }
.hotspot-wrap:hover .hotspot-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    z-index: 60;
}
.hotspot-wrap.hs-right:hover .hotspot-card { transform: translateX(0) translateY(0); }
.hotspot-wrap.hs-bottom:hover .hotspot-card { transform: translateX(-50%) translateY(0); }
.hotspot-wrap.hs-right.hs-bottom:hover .hotspot-card { transform: translateX(0) translateY(0); }

    .hc-inner { width: clamp(250px, 30vw, 350px); display: flex; flex-direction: column; align-items: stretch; background: #000000; padding: 16px; gap: 12px; border-radius: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); }
    .hc-img { width: 100%; height: auto; max-height: 250px; object-fit: contain; display: block; border-radius: 0; flex-shrink: 0; background: transparent; }
    .hc-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 0; }

.hc-title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0;
}

.hc-title, .hc-title-wrapper .project-zoom-btn-text {
    font-size: 16px; font-weight: 400 !important; color: #ffffff !important; letter-spacing: 0.04em; margin: 0; text-transform: uppercase !important;
}
.hc-title-wrapper .project-zoom-btn:hover .project-zoom-btn-text {
    color: var(--accent) !important;
}

.hc-desc {
    font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7) !important; line-height: 1.5; text-transform: none !important; opacity: 1 !important;
}

@media(max-width: 900px) { .hotspot-pin { --hp-size: 12px; border: 1.5px solid #fff; } .hotspot-dot { width: 8px; height: 8px; margin-left: 0.5px; } .hotspot-text { font-size: 7px; padding: 0 6px; letter-spacing: 0.5px; } }

@keyframes hotspotPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.hotspot-wrap:hover .hotspot-dot { animation: none; background: #ffffff; }

#viewport { width: 100vw; height: var(--fixed-vh); position: relative; overflow: hidden; background-color: var(--bg); touch-action: none; }
#viewport.hibernating { contain: strict; content-visibility: hidden; pointer-events: none; } 

/* ENABLE SCROLLING FOR GRID & LIST MODE */
body.grid-mode-active #viewport,
body.list-mode-active #viewport { 
    width: 100% !important;
    height: auto !important; 
    min-height: 100vh;
    overflow-x: clip !important;
    overflow-y: visible !important; 
    contain: none !important; 
    touch-action: auto; 
}

#canvas { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: visible; transform-origin: 0 0; }
body.grid-mode-active #canvas, body.list-mode-active #canvas { position: relative !important; width: 100% !important; height: auto !important; min-height: 100vh !important; overflow: visible !important; transform: none !important; }

/* FIX: GRID MODE OVERFLOW */
#project-container { position: absolute; left: 5000px; top: 5000px; transform: translate(-50%, -50%); display: grid; gap: 200px; justify-content: center; align-items: start; transition: opacity 1.5s var(--ease-lux); box-sizing: border-box; width: max-content; }
body.grid-mode-active #project-container { position: relative !important; left: 0 !important; top: 0 !important; transform: none !important; width: 100% !important; max-width: 2400px !important; margin: 0 auto !important; padding: calc(var(--safe-top) + 15vh) 5vw 15vh 5vw !important; grid-template-columns: repeat(3, 1fr) !important; gap: 4vw 6vw !important; overflow-x: hidden !important; height: auto !important; min-height: 100vh !important; }
@media(max-width: 1400px) { #project-container { gap: 150px; } body.grid-mode-active #project-container { grid-template-columns: repeat(2, 1fr) !important; } }
@media(max-width: 1000px) { #project-container { gap: 15vw; } body.grid-mode-active #project-container { grid-template-columns: repeat(2, 1fr) !important; padding-top: calc(var(--safe-top) + 15vh) !important; width: 100% !important; } }
@media(max-width: 600px) { #project-container { gap: 20vw; } body.grid-mode-active #project-container { grid-template-columns: 1fr !important; } }

.grid-list-main-title {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body.grid-mode-active .grid-list-main-title,
body.list-mode-active .grid-list-main-title {
    position: relative;
    opacity: 1;
    visibility: visible;
    grid-column: 1 / -1;
    width: 100%;
    font-size: clamp(30px, 8.2vw, 320px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.85;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 4vw;
    padding-bottom: 0;
    border-bottom: none;
    white-space: nowrap;
    text-align: center;
    pointer-events: auto;
    transition: opacity 0.8s ease 0.4s;
}

.project-cluster { position: relative; width: 100%; min-width: 0; pointer-events: auto; transition: opacity 1.5s var(--ease-lux); cursor: pointer !important; }
.project-cluster.intro-hidden { opacity: 0; }
.project-cluster.intro-visible { opacity: 1; }
.cluster-inner { position: relative; width: 100%; aspect-ratio: 4/3; transition: transform 1.2s var(--ease-lux); background: transparent; overflow: hidden; border-radius: 0; transform: translateZ(0); }
@media(hover: hover) { .project-cluster:hover .cluster-inner { transform: scale(1.03) translateY(-10px) translateZ(0); box-shadow: 0 30px 80px rgba(0,0,0,0.2); } }
.project-opening .project-cluster:not(.active-cluster) { opacity: 0 !important; transform: scale(0.8) translateY(80px) translateZ(0) !important; filter: blur(15px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important; pointer-events: none; }
.cluster-inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 45%); z-index: 1; pointer-events: none; transition: opacity 0.4s; }
@media(hover: hover) { .project-cluster:hover .cluster-inner::after { opacity: 0.9; } }
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; transition: transform 2.5s var(--ease-lux); }
@media(hover: hover) { .project-cluster:hover .cover-img { transform: scale(1.05); } }

/* DEFAULT CANVAS/MAP MODE: TEXT COMPLETELY HIDDEN */
.cluster-details { position: absolute; bottom: 20px; left: 20px; right: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
@media(hover: hover) { .project-cluster:hover .cluster-details { opacity: 1; } }
.cluster-title-wrap { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1; gap: 8px; }
.cover-title { margin: 0; font-size: clamp(14px, 2vw, 28px); color: #ffffff !important; letter-spacing: -0.01em; text-transform: none !important; line-height: 1.1; font-weight: 600 !important; transition: color 0.4s; white-space: normal; word-wrap: break-word; max-width: 100%; }
.cluster-loc { display: block; color: #ffffff !important; opacity: 1 !important; font-size: clamp(12px, 1vw, 14px); text-transform: uppercase !important; font-weight: 600; letter-spacing: 0.04em; }
.cluster-year { display: none; }

/* HIDE DUPLICATES IN GRID & LIST MODE */
.project-cluster.is-duplicate { transition: opacity 1.2s var(--ease-lux), visibility 1.2s var(--ease-lux); }
body.grid-mode-active .is-duplicate,
body.list-mode-active .is-duplicate {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- GRID MODE ARCHITECTURE --- */
body.grid-mode-active .cluster-inner { aspect-ratio: 3/4 !important; }
body.grid-mode-active .cover-img { aspect-ratio: 3/4 !important; }
body.grid-mode-active .cluster-details { position: relative; bottom: auto; left: auto; right: auto; opacity: 1; margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; pointer-events: auto; }
body.grid-mode-active .cluster-inner::after { display: none; } /* Remove black gradient in grid mode */
body.grid-mode-active .cover-title { color: var(--text) !important; font-size: clamp(24px, 3vw, 48px); letter-spacing: -0.01em; font-weight: 600 !important; }
body.grid-mode-active .cluster-loc { display: block; color: var(--text) !important; opacity: 1 !important; font-size: clamp(12px, 1.3vw, 24px); text-transform: uppercase !important; letter-spacing: 0.04em; }

/* --- LIST MODE ARCHITECTURE --- */
body.list-mode-active #project-container { position: relative !important; left: 0 !important; top: 0 !important; transform: none !important; display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important; max-width: 3800px !important; margin: 0 auto !important; padding: calc(var(--safe-top) + 12vh) 5vw 15vh 5vw !important; height: auto !important; min-height: 100vh !important; }
body.list-mode-active .project-cluster { display: flex; align-items: flex-start; gap: 4vw; border-bottom: none; padding: 4vw 0; width: 100%; }
body.list-mode-active .project-cluster:first-child { border-top: none; }
body.list-mode-active .cluster-inner { width: clamp(250px, 45vw, 1000px); flex-shrink: 0; min-width: 0; aspect-ratio: 4/3 !important; border-radius: 0; margin: 0; display: block; }
body.list-mode-active .cluster-inner::after { display: none; }
body.list-mode-active .cluster-details { position: relative; bottom: auto; left: auto; right: auto; opacity: 1; flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: flex-start; gap: 20px; pointer-events: auto; }
body.list-mode-active .cluster-title-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: -0.15em; }
body.list-mode-active .cover-title { font-size: clamp(32px, 4vw, 64px); color: var(--text) !important; line-height: 1; font-weight: 600 !important; }
body.list-mode-active .cluster-loc { display: block; font-size: clamp(12px, 1.5vw, 24px); color: var(--text) !important; opacity: 1 !important; font-weight: 600; text-transform: uppercase !important; letter-spacing: 0.02em; }
body.list-mode-active .cluster-year { display: block !important; font-size: clamp(12px, 1.5vw, 24px); color: var(--text) !important; opacity: 1 !important; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 0; }

@media(max-width: 600px) {
    body.list-mode-active .project-cluster { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 0; }
    body.list-mode-active .cluster-inner { width: 100%; aspect-ratio: 4/3; }
    body.list-mode-active .cover-img { width: 100%; aspect-ratio: 4/3; }
    body.list-mode-active .cluster-details { grid-template-columns: 1fr; width: 100%; gap: 10px; }
    body.list-mode-active .cluster-year { font-size: 13px; opacity: 0.5; }
}

#proxy-wrapper { position: fixed; z-index: 8500; display: none; pointer-events: none; overflow: hidden; border-radius: 0; transform: translateZ(0); background: transparent; container-type: inline-size; }
#proxy-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%); z-index: 1; }
#proxy-img { width: 100%; height: 100%; object-fit: cover; display: block; }
#proxy-title { position: absolute; z-index: 2; color: var(--text); margin: 0; letter-spacing: -3px; line-height: 0.9; text-transform: none; white-space: nowrap; transform-origin: bottom left; font-weight: 700; }

#detail-overlay, #impressum-overlay { position: fixed; inset: 0; background: var(--bg); color: var(--text); z-index: 90000; display: none; overflow-y: auto; overflow-x: hidden !important; opacity: 0; pointer-events: auto; transition: opacity 0.6s var(--ease-lux); -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; }
#detail-overlay::-webkit-scrollbar, #impressum-overlay::-webkit-scrollbar { display: none; }
#detail-overlay.open, #impressum-overlay.open { opacity: 1; transition: none; }

.overlay-content-wrapper { position: relative; opacity: 1; width: 100%; }

.hero-ghost { width: 100%; height: 100vh; position: relative; background: var(--bg); overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.hero-inner { width: 100%; height: 100%; position: relative; transform-origin: center center; overflow: hidden; margin: 0 auto; display: block; }
.hero-inner img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); z-index: 1; pointer-events: none; }
.hero-inner h1 { position: absolute; bottom: 8vw; left: 5vw; font-size: clamp(60px, 9vw, 160px); color: white; margin: 0; line-height: 0.9; z-index: 10; letter-spacing: -3px; text-transform: none; }

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: max(30px, var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    color: #ffffff;
    pointer-events: none;
    opacity: 0.8;
}
.scroll-indicator-arrow {
    animation: bounceScroll 2.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-indicator-arrow svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@keyframes bounceScroll {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.content-container { max-width: 2400px; margin: 0 auto; padding: 12vh 5vw 0 5vw; display: flex; flex-direction: column; position: relative; z-index: 5; background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 2.2fr; gap: 6vw; margin-bottom: 12vw; align-items: start; }
@media(max-width: 1100px) { .intro-grid { grid-template-columns: 1fr; gap: 8vw; } }

.meta-box { border-top: 1px solid var(--text); padding-top: 20px; margin-bottom: 80px; }
.meta-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; border-bottom: none; padding: 10px 0; margin: 0; align-items: baseline; }
.meta-row .label { font-size: clamp(16px, 1.3vw, 22px); text-transform: uppercase !important; letter-spacing: 0.04em; color: var(--text) !important; opacity: 1 !important; font-weight: 500 !important; white-space: normal; overflow: hidden; text-overflow: ellipsis; }
.meta-row .label.no-caps { text-transform: uppercase !important; }
.meta-row .value { font-size: clamp(16px, 1.3vw, 22px); text-align: left; max-width: 100%; color: var(--text) !important; opacity: 1 !important; word-break: break-word; line-height: 1.5; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0; }
@media(max-width: 900px) { .meta-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; } .meta-row .label { opacity: 1 !important; } }

.award-box { display: inline-block; padding: 12px 24px; background: var(--text); border-radius: 8px; margin-bottom: 24px; color: var(--bg); font-size: clamp(16px, 1.5vw, 24px); font-weight: 600;}
.project-zoom-btn-wrapper { display: flex; width: 100%; margin-top: 1.5rem; justify-content: flex-start; position: relative; z-index: 50; pointer-events: auto; }
.project-zoom-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer !important; padding: 0 0 6px 0; border-bottom: none; outline: none; transition: opacity 0.4s; }
.project-zoom-btn-text { font-size: clamp(16px, 1.5vw, 24px); font-weight: 400 !important; letter-spacing: 0.04em; color: var(--text); text-transform: uppercase !important; transition: color 0.6s var(--ease-lux); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.project-zoom-btn-arrow { width: 28px; height: 28px; border-radius: 50%; background: transparent; border: 1px solid var(--text); color: var(--text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.6s var(--ease-lux), background 0.4s var(--ease-lux), color 0.4s var(--ease-lux); }
.project-zoom-btn-arrow svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.project-zoom-btn:hover { border-color: transparent; }
.project-zoom-btn:hover .project-zoom-btn-text { color: var(--accent); }
.project-zoom-btn:hover .project-zoom-btn-arrow { transform: translateX(5px); background: var(--text); color: var(--bg); } 

.project-quote { display: block; width: 100%; margin: 2rem 0; padding: 2rem 2rem 2rem 3rem; background: #f9f9f9; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.project-quote-text { font-size: clamp(16px, 1.5vw, 24px); font-style: italic; line-height: 1.4; color: var(--text); margin-bottom: 1.5rem; }
.project-quote-author { display: inline-flex; align-items: center; gap: 16px; cursor: default; }
.project-quote-author.clickable { cursor: pointer !important; transition: transform 0.4s var(--ease-lux); }
.project-quote-author.clickable:hover { transform: translateX(8px); color: var(--accent); }
.project-quote-avatar { width: 44px; height: 44px; border-radius: 0; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.project-quote-name { font-size: clamp(16px, 1.5vw, 24px); font-weight: 600 !important; letter-spacing: 0; color: var(--text); text-transform: none !important; transition: color 0.3s; }

.team-member-link { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-size: clamp(16px, 1.3vw, 22px); color: var(--text) !important; opacity: 1 !important; transition: color 0.3s, transform 0.3s; text-transform: none !important; font-weight: 500 !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; letter-spacing: 0; }
.team-member-link span { font-weight: 500 !important; }
.team-member-link img { width: 32px; height: 32px; border-radius: 0; object-fit: cover; }
.team-member-link.clickable { cursor: pointer !important; }
.team-member-link.clickable:hover { color: var(--accent); transform: translateX(4px); }

.anim-fade { opacity: 0; transition: opacity 2.4s var(--ease-lux); }
.observe-me.in-view .anim-fade, .observe-me.in-view.anim-fade { opacity: 1; }
.anim-slide-up { opacity: 0; transform: translateY(80px); filter: blur(10px); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, filter 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.observe-me.in-view .anim-slide-up, .observe-me.in-view.anim-slide-up { opacity: 1; transform: translateY(0); filter: blur(0px); }
.anim-slide-side { opacity: 0; transform: translateX(-10vw); filter: blur(10px); transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, filter 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
.observe-me.in-view .anim-slide-side, .observe-me.in-view.anim-slide-side { opacity: 1; transform: translateX(0); filter: blur(0px); }
.anim-slide-right { opacity: 0; transform: translateX(10vw); filter: blur(10px); transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, filter 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
.observe-me.in-view .anim-slide-right, .observe-me.in-view.anim-slide-right { opacity: 1; transform: translateX(0); filter: blur(0px); }
.anim-lift-up { opacity: 0; transform: translateY(60px) scale(0.95); filter: blur(10px); transition: opacity 1.2s ease, transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.observe-me.in-view .anim-lift-up, .observe-me.in-view.anim-lift-up { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }

.layout-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4vw; align-items: start; width: 100%; }
.grid-cell-wrapper { align-self: stretch; position: relative; width: 100%; height: 100%; } 
@media(max-width: 900px) { .layout-grid { display: flex !important; flex-direction: column; gap: 10vw; } }

.force-grid { display: grid !important; }
.grid-2-cols { grid-template-columns: repeat(2, 1fr) !important; gap: 4vw; }
.grid-3-cols { grid-template-columns: repeat(3, 1fr) !important; gap: 2vw; }
@media(max-width: 900px) { .grid-2-cols { grid-template-columns: 1fr !important; gap: 10vw; } .force-row-mobile { flex-direction: column !important; display: flex !important; gap: 4vw;} }

.massive-grid { column-count: 2; column-gap: 4vw; width: 100%; }
@media(max-width: 900px) { .massive-grid { column-count: 1; } }
.grid-item { position: relative; margin-bottom: 6vw; break-inside: avoid; display: inline-block; width: 100%; }

.lay-full-hotspot { width: 100%; position: relative; margin-top: 10vh; margin-bottom: 10vh; clear: both; }
.lay-full-hotspot img { width: 100%; height: auto; display: block; }

.lay-full-click { width: 100%; height: 100vh; position: relative; margin-top: 10vh; margin-bottom: 10vh; clear: both; cursor: pointer !important; overflow: hidden; background: var(--bg); color: var(--text); }
.lay-full-click-track { display: block; width: 100%; height: 100%; position: relative; }
.lay-full-click-item { width: 100%; height: 100vh; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 1; clip-path: inset(0 0 0 100%); }
.lay-full-click-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lay-full-click-ui { position: absolute; bottom: 30px; left: 50px; display: inline-flex; align-items: baseline; gap: 15px; z-index: 10; color: var(--text); background: transparent; backdrop-filter: none; border: none; padding: 0; border-radius: 0; pointer-events: none; box-shadow: none; }
.lay-full-click-counter { font-size: clamp(16px, 1.5vw, 24px); letter-spacing: 0; font-family: 'Inter', sans-serif !important; text-transform: none !important; }
.lay-full-click-counter span { text-transform: none !important; font-family: 'Inter', sans-serif !important; }
.lay-full-click-title { font-size: clamp(16px, 1.5vw, 24px); font-weight: 600; letter-spacing: 0; text-transform: none; }
@media(max-width: 900px) { .lay-full-click { height: 70vh; } .lay-full-click-item { height: 70vh; } .lay-full-click-ui { bottom: 20px; left: 20px; gap: 10px; } .lay-full-click-item-caption { bottom: 60px; right: 20px; left: auto; } }

.lay-pull-parallel-container { margin: 10vh 0; }
.lay-pull-parallel-wrapper { width: 100%; max-width: 2400px; margin: 0 auto; display: flex; align-items: stretch; justify-content: flex-start; padding: 0 5vw; gap: 8vw; }
.lay-pull-parallel-left { width: 40%; flex: 0 0 40%; position: relative; z-index: 2; }
.lay-pull-parallel-left-inner { position: sticky; top: 15vh; bottom: auto; height: max-content; } /* Fixed Top-Sticky */
.lay-pull-parallel-right { width: 60%; flex: 0 0 60%; position: relative; z-index: 1; display: flex; align-items: flex-start; }
.lay-pull-parallel-right img { width: 100%; height: auto; border-radius: 0; }
@media(max-width: 900px) { 
    .lay-pull-parallel-wrapper { flex-direction: column; gap: 10vw; padding: 5vh 5vw; } 
    .lay-pull-parallel-left, .lay-pull-parallel-right { width: 100%; flex: 0 0 auto; } 
    .lay-pull-parallel-left-inner { position: relative; top: auto; bottom: auto; } /* Disable sticky on mobile */
}

.lay-hscroll-ghost { width: 100%; position: relative; margin-top: 10vh; margin-bottom: 10vh; clear: both; }
.lay-hscroll-sticky { position: sticky; top: 0; width: 100%; height: var(--fixed-vh); overflow: hidden; background: var(--bg); color: var(--text); display: flex; align-items: center; }
.lay-hscroll-track { display: flex; height: 70vh; align-items: center; padding: 0 10vw; gap: 4vw; width: max-content; }
.lay-hscroll-item { height: 100%; position: relative; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
/* Lässt exakt 50px unten Platz für die Caption, sodass die Bildhöhe konstant bleibt */
.lay-hscroll-item img { height: calc(100% - 50px); width: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; cursor: pointer !important; margin-bottom: 10px; }
.lay-hscroll-item .map-adornments { bottom: 70px; }
@media(max-width: 900px) { .lay-hscroll-track { height: 60vh; gap: 8vw; } }

.lay-chooser-section { background: var(--bg); color: var(--text); border-radius: 32px; display: flex; align-items: flex-start; justify-content: space-between; padding: 10vh 5vw; gap: 8vw; max-width: 2400px; margin: 10vh auto; }
.lay-chooser-left { position: sticky; top: 30vh; width: 40%; display: flex; flex-direction: column; z-index: 10; }
.lay-chooser-btn-group { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lay-chooser-btn { font-size: clamp(16px, 1.5vw, 24px); color: var(--text); opacity: 1 !important; font-weight: 400 !important; cursor: pointer; transition: transform 0.4s var(--ease-lux), color 0.4s, opacity 0.4s; letter-spacing: 0.04em; line-height: 1.2; text-transform: uppercase !important; text-align: left; }
.lay-chooser-btn:hover { color: var(--accent) !important; transform: translateX(8px); }
.lay-chooser-btn.active { color: var(--accent) !important; transform: translateX(12px); }
.lay-chooser-text-group { position: relative; margin-top: 50px; }
.lay-chooser-text { opacity: 0; position: absolute; top: 0; left: 0; pointer-events: none; transition: all 0.6s var(--ease-lux); transform: translateY(10px); color: var(--text); font-size: clamp(16px, 1.5vw, 24px); line-height: 1.5; }
.lay-chooser-text.active { opacity: 1; transform: translateY(0); position: relative; top: 0; pointer-events: auto; transition-delay: 0.1s; }
.lay-chooser-right { width: 60%; position: relative; height: 80vh; min-height: 600px; }
.lay-chooser-item { position: absolute; inset: 0; border-radius: 0; overflow: hidden; box-shadow: none; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; z-index: 1; }
.lay-chooser-item.active { opacity: 1; visibility: visible; z-index: 2; }
.lay-chooser-item img { width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; border-radius: 0; } 
@media(max-width: 900px) { .lay-chooser-section { flex-direction: column-reverse; gap: 10vw; padding-top: 15vh; min-height: 100vh;} .lay-chooser-left { position: relative; top: auto; width: 100%; gap: 15px; margin-bottom: 10vw; } .lay-chooser-btn { font-size: 20px; transform: none !important; } .lay-chooser-right { width: 100%; height: 60vh; min-height: 400px;} }

/* --- NEXT LEVEL SVG LEGEND --- */
.svg-legend-box { position: absolute; z-index: 50; background: rgba(255,255,255,0.7); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(0,0,0,0.1); padding: 20px 24px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
body.dark-mode .svg-legend-box { background: rgba(30,30,30,0.7); border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.svg-legend-box.pos-bottom-left { bottom: 40px; left: 40px; }
.svg-legend-box.pos-bottom-right { bottom: 40px; right: 40px; }
.svg-legend-box.pos-top-left { top: 40px; left: 40px; }
.svg-legend-box.pos-top-right { top: 40px; right: 40px; }
@media(max-width: 900px) { .svg-legend-box { bottom: 20px !important; left: 20px !important; right: auto !important; top: auto !important; padding: 12px 16px; } }
.svg-legend-item { display: flex; align-items: center; gap: 12px; }
.svg-legend-color { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); }
.svg-legend-text { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }

.lay-vswipe-ghost { width: 100%; position: relative; margin-top: 10vh; margin-bottom: 10vh; clear: both; } 
.lay-vswipe-sticky { position: sticky; top: 0; width: 100%; height: var(--fixed-vh); overflow: hidden; background: var(--bg); color: var(--text); }
.lay-vswipe-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; overflow: hidden; z-index: 1; }
.lay-vswipe-bg { position: absolute; inset: 0; z-index: 1; }
.lay-vswipe-bg img { width: 100%; height: 100%; object-fit: cover; }
.lay-vswipe-content { position: relative; z-index: 10; color: white; text-align: left; padding: 5vw; max-width: 1000px; width: 100%; margin-bottom: 5vh; }
.lay-vswipe-title { font-size: clamp(30px, 6vw, 100px); letter-spacing: -3px; margin: 0 0 10px 0; line-height: 0.9; text-shadow: 0 10px 40px rgba(0,0,0,0.6); }

.slice-fast { z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.3); border-radius: 0; }

.profile-container { max-width: 1000px; margin: 15vh auto 10vh; padding: 0 5vw; display: grid; grid-template-columns: 200px 1fr; gap: 6vw; align-items: start; min-height: 40vh; justify-content: center; }
@media(max-width: 900px) { .profile-container { grid-template-columns: 1fr; gap: 8vw; margin: 10vh auto; } }
.profile-left { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
@media(max-width: 900px) { .profile-left { align-items: center; } }
.profile-avatar { width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 0; object-fit: cover; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 80px; color: #ffffff; box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-transform: uppercase !important; }
.profile-right { display: flex; flex-direction: column; align-items: flex-start; }
@media(max-width: 900px) { .profile-right { align-items: center; text-align: center; } }
.profile-title { font-size: clamp(36px, 4vw, 70px); color: var(--text); letter-spacing: -0.02em; margin: 0 0 24px 0; line-height: 1; font-weight: 600 !important; text-transform: none !important; }
.profile-role { font-size: clamp(16px, 1.5vw, 24px); color: var(--accent); margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.profile-body { font-size: clamp(16px, 1.5vw, 24px) !important; line-height: 1.6; color: var(--text); opacity: 0.8; max-width: 800px; }

.legal-container { max-width: 800px; margin: 20vh auto 10vh; padding: 0 5vw; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.legal-text-ordered { font-size: clamp(16px, 1.5vw, 24px) !important; line-height: 1.6; color: var(--text); opacity: 0.8; text-align: left !important; width: 100%; }
.legal-text-ordered p { margin-bottom: 24px; text-align: left !important; color: var(--text); }
.legal-text-ordered h1, .legal-text-ordered h2, .legal-text-ordered h3 { font-weight: 700; margin-bottom: 12px; color: var(--text); }

.mail-btn-wrap { display: inline-flex; align-items: center; gap: 20px; text-decoration: none !important; cursor: pointer !important; pointer-events: auto; margin-top: 50px; outline: none; }
.mail-btn-text { font-size: clamp(30px, 4vw, 50px); color: var(--text); letter-spacing: 0.02em; transition: color 0.4s var(--ease-lux); text-transform: uppercase !important; font-weight: 400 !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mail-btn-arrow { width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid var(--text); color: var(--text); display: flex; align-items: center; justify-content: center; transition: transform 0.6s var(--ease-lux), background 0.4s var(--ease-lux), color 0.4s var(--ease-lux); }
.mail-btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.mail-btn-wrap:hover .mail-btn-text { color: var(--accent); }
.mail-btn-wrap:hover .mail-btn-arrow { background: var(--text); color: var(--bg); transform: translateX(15px) scale(1.1) rotate(-45deg); }

.next-project-pin-wrap { width: 100%; height: 100vh; position: relative; display: block; background: var(--bg); color: var(--text); cursor: pointer !important; overflow: hidden; pointer-events: auto; border-top: none; text-align: left; }
.next-project-pin-wrap.is-last { height: 50vh; border-top: none; display: flex; align-items: center; justify-content: center; }
.next-img-zoom-target { width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; overflow: hidden; border-radius: 0; pointer-events: none; background: transparent; box-shadow: none; }
.next-img-zoom-target img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.next-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 45%); z-index: 1; opacity: 1; transition: opacity 0.4s; }
.next-project-pin-wrap:hover .next-img-overlay { opacity: 0.9; }
.next-project-pin-wrap:hover img { transform: scale(1.02); transition: transform 2.5s var(--ease-lux); }
.next-project-pin-wrap .next-title-morph { color: var(--text); }
.next-project-pin-wrap.is-last .next-title { font-size: clamp(30px, 5vw, 60px); letter-spacing: -0.02em; margin-bottom: 0; color: var(--text); transition: color 0.4s; font-weight: 600 !important; text-transform: uppercase !important; }
.next-project-pin-wrap.is-last:hover .next-title { color: var(--accent); }
/* Focus State for Accessibility */
.next-project-pin-wrap:focus-visible .next-img-overlay { opacity: 0.9; }
.next-project-pin-wrap:focus-visible img { transform: scale(1.05); }

.project-footer { padding: 4vw 5vw; border-top: none; text-align: left; font-size: clamp(16px, 1.5vw, 24px); background: var(--bg); color: var(--text); opacity: 1 !important; letter-spacing: 0; text-transform: uppercase !important; font-weight: 600 !important;}

#cinematic-preloader { position: fixed; inset: 0; z-index: 9999990; background: var(--bg); overflow: hidden; display: flex; align-items: center; justify-content: center; pointer-events: auto; contain: layout size style; }
#cp-bg { position: absolute; inset: -200vw; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--text); transform-origin: center; }
.marquee-row { display: flex; white-space: nowrap; font-size: 10vw; line-height: 0.95; font-weight: 600; text-transform: uppercase; margin: -1vw 0; color: var(--text); }
.marquee-inner { display: flex; opacity: 1; }

@keyframes marqueeL { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marqueeR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

#cp-images { position: absolute; inset: 0; pointer-events: none; z-index: 100; }

.project-gallery-wrapper { position: relative; width: 100%; height: 90vh; margin-top: 10vh; margin-bottom: 10vh; clear: both; overflow: hidden; touch-action: pan-y; cursor: grab; background: transparent; }
.pg-track { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.pg-item { position: absolute; top: 50%; left: 50%; height: 60vh; transform-origin: center center; box-shadow: none !important; }
.pg-item img, .pg-item .svg-container { height: 100%; width: auto; max-width: 85vw; display: block; object-fit: contain; pointer-events: none; -webkit-user-drag: none; background-color: #ffffff !important; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border-radius: 0; }
body.dark-mode .pg-item img, body.dark-mode .pg-item .svg-container { background-color: #000000 !important; }

.project-cluster img, .airlock-img, .hero-inner img, .lay-chooser-item img, .next-img-box img { background-color: transparent; }
body.dark-mode .project-cluster img, body.dark-mode .airlock-img, body.dark-mode .hero-inner img, body.dark-mode .lay-chooser-item img, body.dark-mode .next-img-box img { background-color: #000000; }

/* --- ZOOM MODAL --- */
#zoom-modal { position: fixed; inset: 0; z-index: 10000000; background: var(--bg); flex-direction: column; display: none; opacity: 0; transition: opacity 0.5s var(--ease-lux); pointer-events: auto; }
#zoom-modal.visible { display: flex; opacity: 1; }
.zm-header { display: flex; justify-content: space-between; padding: 20px 30px; flex-shrink: 0; align-items: flex-start; }
#zm-title { font-size: 20px; letter-spacing: 0.04em; margin-bottom: 4px; line-height: 1; color: var(--text); font-weight: 600 !important; text-transform: uppercase; }
#zm-sub { font-size: 13px; color: var(--text); opacity: 1 !important; font-weight: 400 !important; text-transform: none !important; }
#zm-close { background: transparent; color: var(--text); width: auto; height: auto; padding: 10px; border-radius: 0; border: none; font-size: 20px; font-weight: 300; cursor: pointer !important; display: flex; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); flex-shrink: 0; transform-origin: center; }
#zm-close:hover { background: transparent; transform: scale(1.05); box-shadow: none; color: var(--accent); }
#zm-body { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer !important; padding: 40px; }
#zm-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; box-shadow: 0 10px 40px rgba(0,0,0,0.1); pointer-events: none; will-change: transform, width, height, opacity; transform-origin: center center; }

@media(max-width: 900px) {
    .zm-header { padding: 20px; }
    #zm-body { padding: 20px; }
}

/* --- SETTINGS UI --- */
.settings-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible !important;
}
.settings-btn {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer !important;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    opacity: 1;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: opacity 0.3s;
}
.settings-btn:hover, .settings-btn[aria-expanded="true"], .settings-btn.active {
    color: var(--accent) !important;
}
.settings-menu {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg);
    backdrop-filter: none;
    border: 1px solid var(--grid);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 280px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s var(--ease-lux);
    box-shadow: none;
    z-index: 1000000;
}
@media(max-width: 600px) { .settings-menu { min-width: 75vw; } }
.settings-wrapper:hover .settings-menu,
.settings-wrapper:focus-within .settings-menu,
.settings-wrapper.open .settings-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
/* Brücke um die 15px Lücke bei hover ununterbrochen klickbar zu machen */
.settings-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
}

/* Right-align menu in detail view when dock is at the edge */
body.viewing-detail .settings-menu {
    left: auto;
    right: 0;
    transform: translateY(10px);
}
body.viewing-detail .settings-wrapper:hover .settings-menu,
body.viewing-detail .settings-wrapper:focus-within .settings-menu,
body.viewing-detail .settings-wrapper.open .settings-menu {
    transform: translateY(0);
}

.settings-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 8px; color: var(--text); font-size: 13px; font-weight: 600; border-radius: 8px;
}
.settings-row:hover { background: rgba(128,128,128,0.1); }
.settings-category {
    font-size: 10px; font-weight: 700; color: var(--text); opacity: 0.5;
    text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 8px 2px 8px;
}
.settings-divider {
    height: 1px; background: var(--grid); opacity: 0.1; margin: 4px 0;
}
.settings-toggle-group {
    display: flex; background: transparent; border: 1px solid var(--text); border-radius: 20px; overflow: hidden; padding: 2px;
}
.dark-mode .settings-toggle-group { background: transparent; }
.settings-toggle-btn {
    background: transparent; border: none; color: var(--text); padding: 4px 10px;
    font-size: 11px; font-weight: 600 !important; text-transform: uppercase; border-radius: 18px; cursor: pointer !important; opacity: 1 !important; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.settings-toggle-btn.active { background: var(--text); color: var(--bg); opacity: 1; }

/* --- SVG IN-VIEW CONTROLS --- */
.svg-controls-overlay {
    position: absolute; top: 20px; left: 20px; z-index: 50; display: flex; gap: 15px; 
    background: rgba(255,255,255,0.7); padding: 8px 12px; border-radius: 12px; 
    backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); pointer-events: auto;
}
body.dark-mode .svg-controls-overlay { background: rgba(30,30,30,0.7); border-color: rgba(255,255,255,0.1); }
.svg-chooser-group, .svg-toggle-group { display: flex; gap: 6px; align-items: center; }
.svg-toggle-group { border-left: 1px solid rgba(128,128,128,0.4); padding-left: 15px; }
.svg-controls-overlay .settings-toggle-btn { padding: 6px 12px; font-size: 12px; border: 1px solid transparent; }
.svg-controls-overlay .settings-toggle-btn.active { background: var(--text); color: var(--bg); }
@media(max-width: 900px) {
    .svg-controls-overlay { top: auto; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; }
}

/* --- ACCESSIBILITY / SIMPLIFIED VIEW OVERRIDES --- */
body.a11y-mode-active .content-block[style*="position: sticky"],
body.a11y-mode-active .lay-hscroll-sticky,
body.a11y-mode-active .lay-blueprint-sticky,
body.a11y-mode-active .lay-vswipe-sticky,
body.a11y-mode-active .lay-blade-ghost > div,
body.a11y-mode-active .lay-monolith-ghost > div,
body.a11y-mode-active .lay-slice-ghost > div,
body.a11y-mode-active .lay-pull-parallel-left-inner {
    position: relative !important; top: auto !important; height: auto !important; overflow: visible !important; background: transparent !important;
}
/* Force Ghost Containers to unroll to their natural height */
body.a11y-mode-active .arch-section > div[style*="height:"],
body.a11y-mode-active .lay-vswipe-ghost,
body.a11y-mode-active .lay-blade-ghost,
body.a11y-mode-active .lay-blueprint-ghost,
body.a11y-mode-active .lay-monolith-ghost,
body.a11y-mode-active .lay-slice-ghost,
body.a11y-mode-active .lay-hscroll-ghost,
body.a11y-mode-active .lay-sync-ghost {
    height: auto !important; min-height: 0 !important; margin: 10vh 0 !important; position: relative !important;
}

body.a11y-mode-active .lay-hscroll-track {
    display: flex !important; flex-direction: column !important; width: 100% !important;
    height: auto !important; transform: none !important; padding: 0 5vw !important; gap: 40px !important;
}
body.a11y-mode-active .lay-hscroll-item { width: 100% !important; height: auto !important; aspect-ratio: auto !important; }
body.a11y-mode-active .lay-hscroll-item img { height: auto !important; aspect-ratio: 1.5; margin-bottom: 20px; }

body.a11y-mode-active .lay-vswipe-slide {
    position: relative !important; height: auto !important; clip-path: none !important; visibility: visible !important; opacity: 1 !important; margin-bottom: 40px; z-index: 1 !important; display: block !important;
}
body.a11y-mode-active .lay-vswipe-bg img { position: relative !important; height: auto !important; max-height: 85vh; object-fit: contain; }
body.a11y-mode-active .lay-vswipe-content { position: relative !important; color: var(--text) !important; text-shadow: none !important; padding: 20px 0 !important; }
body.a11y-mode-active .lay-blade-ghost img, body.a11y-mode-active .blueprint-clip-wrap, body.a11y-mode-active .mono-img {
    clip-path: none !important; position: relative !important; height: auto !important; max-height: 85vh; object-fit: contain;
}
body.a11y-mode-active .lay-blade-ghost img.blade-img-2 { margin-top: 40px; }
body.a11y-mode-active .slice-fast { transform: none !important; }
body.a11y-mode-active .mono-left, body.a11y-mode-active .mono-right { display: none !important; }
body.a11y-mode-active .content-block, body.a11y-mode-active .airlock-box, body.a11y-mode-active .airlock-img {
    transform: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important;
}
body.a11y-mode-active .hero-ghost { height: auto !important; min-height: 100vh; }
body.a11y-mode-active .hero-inner { width: 100% !important; border-radius: 0 !important; filter: none !important; }

/* --- A11Y HOTSPOT FLATTENING --- */
body.a11y-mode-active .airlock-box, body.a11y-mode-active .lay-full-hotspot, body.a11y-mode-active .lay-sync-ghost > div { display: grid !important; grid-template-columns: 1fr !important; height: auto !important; aspect-ratio: auto !important; }
body.a11y-mode-active .airlock-box > img, body.a11y-mode-active .lay-full-hotspot > img, body.a11y-mode-active .lay-sync-ghost > div > img { grid-row: 1 / 2; grid-column: 1 / 2; height: auto !important; max-height: 85vh; object-fit: contain; width: 100%; }
body.a11y-mode-active .hotspot-pin-layer { grid-row: 1 / 2; grid-column: 1 / 2; position: relative !important; width: 100%; height: 100%; pointer-events: none; }

body.a11y-mode-active .hotspot-card { display: none !important; }

.a11y-hs-card { background: rgba(128,128,128,0.05); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 15px; border: 1px solid var(--grid); position: relative; pointer-events: auto; }
.a11y-hs-num { width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px; margin-bottom: 5px; flex-shrink: 0;}
.a11y-hs-inner img { width: 100%; border-radius: 0; margin-bottom: 15px; }
.a11y-hs-inner .hc-title { font-weight: 600; font-size: 18px; color: var(--text) !important; margin-bottom: 8px; }
.a11y-hs-inner .hc-desc { font-size: 14px; line-height: 1.5; color: var(--text) !important; opacity: 0.8; }
body.a11y-mode-active .hc-inner { width: 100% !important; max-width: 100% !important; flex-direction: row !important; align-items: center !important; }
@media(max-width: 900px) { body.a11y-mode-active .hc-inner { flex-direction: column !important; align-items: flex-start !important; } }

body.a11y-mode-active .a11y-hotspot-gallery { display: flex !important; flex-direction: column; gap: 20px; margin-top: 30px; width: 100%; }
body.a11y-mode-active .svg-container { height: auto !important; max-height: none !important; aspect-ratio: auto !important; display: flex !important; flex-direction: column !important; }
body.a11y-mode-active .svg-container svg { position: relative !important; height: auto !important; max-height: 85vh; }

/* --- SCALE BAR & NORTH ARROW --- */
.map-adornments {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    mix-blend-mode: difference;
    color: #ffffff;
    text-shadow: none;
}

.scale-bar-wrapper, .north-arrow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.scale-bar-wrapper { flex-direction: column; align-items: flex-end; gap: 4px; }
.north-arrow-wrapper {
    width: 24px;
    height: 24px;
    border: 1.2px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}
.north-arrow-wrapper svg { width: 60%; height: 60%; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

.scale-bar-line-container { position: relative; height: clamp(4px, 1vh, 8px); transition: width 0.3s ease; }
.scale-bar-line-container::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background-color: currentColor; transform: translateY(-50%); }
.scale-bar-tick { position: absolute; top: 50%; transform: translateY(-50%); width: 1px; background-color: currentColor; z-index: 1; }
.scale-bar-tick.tick-0, .scale-bar-tick.tick-2, .scale-bar-tick.tick-4 { height: clamp(4px, 1vh, 8px); }
.scale-bar-tick.tick-1, .scale-bar-tick.tick-3 { height: clamp(2px, 0.5vh, 4px); }
.scale-bar-tick.tick-0 { left: 0; }
.scale-bar-tick.tick-1 { left: 25%; }
.scale-bar-tick.tick-2 { left: 50%; }
.scale-bar-tick.tick-3 { left: 75%; }
.scale-bar-tick.tick-4 { right: 0; }

.scale-bar-labels { position: relative; height: clamp(8px, 1.5vh, 12px); transition: width 0.3s ease; }
.scale-bar-label { position: absolute; bottom: 0; font-size: clamp(7px, 1.2vh, 10px); font-weight: 500; font-family: monospace; letter-spacing: 0.5px; line-height: 1; transform: translateX(-50%); }
.scale-bar-label.label-0 { left: 0; }
.scale-bar-label.mid-label { left: 50%; }
.scale-bar-label.end-label { left: 100%; }

/* Screen Reader Only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* --- SEO LANGUAGE TOGGLE --- */
html[lang="en"] .seo-lang-de { display: none !important; }
html[lang="de"] .seo-lang-en { display: none !important; }

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
body.reduced-motion *, body.reduced-motion ::before, body.reduced-motion ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* --- CUSTOM CURSOR TOGGLE --- */
body:not(.custom-cursor-disabled) * { cursor: none !important; }
body.custom-cursor-disabled * { cursor: auto !important; }
body.custom-cursor-disabled a, body.custom-cursor-disabled button, body.custom-cursor-disabled .project-cluster, body.custom-cursor-disabled .clickable, body.custom-cursor-disabled .zoomable, body.custom-cursor-disabled .lay-chooser-btn, body.custom-cursor-disabled .hotspot-pin { cursor: pointer !important; }
body.custom-cursor-disabled #cursor-dot { display: none !important; }

/* --- BOT / CRAWLER OVERRIDES --- */
html.is-bot, html.is-bot body {
    overflow: auto !important;
    height: auto !important;
    min-height: 100vh;
}
html.is-bot #loading {
    display: none !important;
    opacity: 0 !important;
}
html.is-bot #viewport, html.is-bot #canvas {
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
    transform: none !important;
}
html.is-bot #project-container {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
}
html.is-bot .project-cluster {
    opacity: 1 !important;
    visibility: visible !important;
}
html.is-bot #detail-overlay, html.is-bot #impressum-overlay {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
}