:root {
    --color-blue: #000000;
    --color-white: #FFFFFF;
    --blur-amount: 25px; 
}

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

body, html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    background-color: var(--color-white);
    overflow-x: hidden; 
    width: 100vw;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.serif-italic {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: normal; 
}

.blue-text { 
    color: var(--color-blue); 
}

.blur-element {
    filter: blur(var(--blur-amount));
    opacity: 0.7;
    transition: filter 1.5s ease-out, opacity 1.5s ease-out;
}

.is-sharp {
    filter: blur(0px) !important;
    opacity: 1 !important;
}

section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 10vh 3.5vw; 
    position: relative;
}

.hero-section {
    padding: 0;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden; 
}

#hero-header, 
#background-carousel {
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

#hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10; 
    filter: blur(var(--blur-amount)); 
    pointer-events: none; 
    transition: filter 0.8s ease, z-index 0s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-section.show-signature #hero-header {
    z-index: 20;
    filter: blur(0px);
}

.hero-section.foreground-state #hero-header {
    z-index: 10;
    filter: blur(var(--blur-amount));
    pointer-events: none; 
}

.signature-container { 
    position: absolute;
    bottom: -15vh;
    left: 0;
    width: 100vw; 
    pointer-events: none; 
}

.signature-img { 
    width: 100vw; 
    height: auto; 
    display: block; 
}

#background-carousel {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    z-index: 10; 
    filter: blur(var(--blur-amount)); 
    pointer-events: none; 
    transition: filter 0.8s ease, z-index 0s;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; 
    overflow: hidden;
}

.hero-section.foreground-state #background-carousel {
    z-index: 20;
    filter: blur(0px);
    pointer-events: none; 
}

#scatter-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    transform-style: preserve-3d;
}

.scatter-card {
    position: absolute;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: z-index 0s ease;
}

.scatter-card-inner {
    width: 100%;
    height: 100%;
    transition: filter 0.6s ease, opacity 0.6s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent !important; 
    box-shadow: none !important; 
}

.hero-section.foreground-state .scatter-card {
    pointer-events: auto !important;
}

.scatter-card:hover { 
    z-index: 99999 !important; 
}

.scatter-card:hover .scatter-card-inner,
.scatter-card.focus-active .scatter-card-inner {
    transform: scale(1.06) translateZ(40px) !important;
    box-shadow: none !important; 
}

.scatter-card img,
.scatter-card video,
.scatter-card iframe { 
    width: 100%;
    height: auto; 
    display: block;
    pointer-events: none; 
    border: none;
    background: transparent !important;
    -webkit-filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.15));
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.15));
    transition: filter 0.6s ease, -webkit-filter 0.6s ease;
}

.scatter-card:hover img,
.scatter-card.focus-active img,
.scatter-card:hover video,
.scatter-card.focus-active video {
    -webkit-filter: drop-shadow(0px 20px 25px rgba(0,0,0,0.25));
    filter: drop-shadow(0px 20px 25px rgba(0,0,0,0.25));
}

.scatter-card::after {
    content: "";
    position: absolute;
    top: -30px; 
    bottom: -30px; 
    left: -30px; 
    right: -30px;
    z-index: 10;
    background: transparent;
}

#dynamic-project-info {
    position: absolute;
    bottom: 5vh;
    left: 2vw; 
    right: 2vw;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 99999 !important; 
    pointer-events: none; 
}

#dynamic-project-info.visible { 
    opacity: 1 !important; 
}

#dyn-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;        
    font-weight: 400;        
    letter-spacing: -0.02em; 
    text-transform: uppercase; 
    color: #000000 !important; 
    filter: none !important;    
}

#dyn-desc {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5vw; 
    font-weight: 400; 
    letter-spacing: -0.02em;
    text-transform: none; 
    color: #000000 !important; 
    text-align: right;
    filter: none !important;    
}

.laptop-top-about-section {
    position: absolute;
    top: 15vh;
    left: 2vw;
    width: 38vw;
    z-index: 25;
    pointer-events: auto;
    filter: blur(0px);
    opacity: 1;
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.hero-section.foreground-state .laptop-top-about-section {
    filter: blur(var(--blur-amount));
    opacity: 0.7;
    pointer-events: none;
}

.laptop-top-about-section .tanner-left p {
    font-size: 1.5vw !important;
    line-height: 1.1 !important;
}

.modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background-color: var(--color-white); 
    z-index: 99000; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.modal.hidden { 
    display: none; 
} 

.modal-header-block {
    width: 100vw;
    background-color: var(--color-white);
    padding: 4vh 3.5vw 4vh 3.5vw; 
    position: relative;
    z-index: 99005;
    max-height: 60vh; 
    opacity: 1;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                padding 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.4s ease;
    overflow: hidden;
}

.modal-header-block .tanner-about-style {
    display: grid !important;
    grid-template-columns: 55% 40% !important;
    justify-content: space-between;
    align-items: start;
    margin-top: 0 !important;
    gap: 0 !important;
}

.modal-header-block .tanner-left { 
    display: contents !important; 
}

.modal-header-block .tanner-right { 
    display: contents !important; 
}

.modal-title-layout {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;        
    font-weight: 400;        
    line-height: 0.9; 
    letter-spacing: -0.02em; 
    text-transform: uppercase; 
    color: var(--color-blue);
    margin-bottom: 2vh; 
}

.modal-header-block #modal-extended-desc {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-bottom: 0 !important; 
}

.modal-header-block .tanner-list-group {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    align-self: end !important; 
}

.modal-nav-container {
    position: fixed;
    top: 4vh;
    right: 3.5vw;
    display: flex;
    gap: 1.5rem;
    z-index: 99010;
    mix-blend-mode: difference;
}

.close-btn { 
    position: relative;
    top: auto;
    right: auto;
    background: none; 
    border: none; 
    cursor: pointer; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh; 
    font-weight: 400; 
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff !important;
    transition: opacity 0.3s ease; 
}

.close-btn:hover { 
    opacity: 0.5; 
}

.modal.header-hidden .close-btn {
    color: #ffffff !important;
    mix-blend-mode: difference;
}

.modal.header-hidden .modal-header-block {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    pointer-events: none; 
}

.split-gallery { 
    display: flex; 
    width: 100vw; 
    flex: 1; 
    gap: 15px; 
    background-color: var(--color-white);
    overflow: hidden;
    position: relative;
} 

.split-col { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    will-change: transform; 
    gap: 15px; 
    padding: 0; 
}

.split-col img, 
.split-col video,
.split-col iframe { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
    border: none;
    pointer-events: none;
}

#modal-gallery-container { 
    transition: filter 0.8s ease; 
}

#modal-gallery-container.is-blurred { 
    filter: blur(var(--blur-amount)); 
}

.tanner-about-style {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 5vh;
    gap: 5vw;
}

.tanner-left { 
    width: 55%; 
    display: flex; 
    flex-direction: column; 
    gap: 2.5rem; 
}

.tanner-left p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5vw; 
    font-weight: 400; 
    line-height: 1.1; 
    letter-spacing: -0.02em;
    color: var(--color-blue); 
}

.tanner-right { 
    width: 40%; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    gap: 4rem; 
}

.tanner-list-group { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    gap: 0.2rem; 
}

.tanner-list-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8vw;
    font-weight: 300; 
    color: #a3a3a3; 
    margin-bottom: 0.8rem;
}

.tanner-list-item {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5vw; 
    font-weight: 300; 
    color: #d1d1d1; 
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tanner-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    padding: 2vh 2vw 2vw 2vw; 
    width: 100vw;
    background: transparent;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400; 
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.9; 
}

.tanner-footer-left { 
    text-align: left; 
    font-size: 4.5vh; 
    color: var(--color-blue); 
}

.tanner-footer-center { 
    text-align: center; 
    font-size: 4.5vh; 
}

.tanner-footer-right { 
    text-align: right; 
    font-size: 4.5vh; 
}

.footer-link {
    color: var(--color-blue); 
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover { 
    opacity: 0.5; 
}

@media (pointer: fine) {
    body, html, a, button, .scatter-card, .photo-item, .close-btn, .nav-link, .impressum-close-btn, .hover-about-img {
        cursor: none !important;
    }
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    margin-top: -7.5px; 
    margin-left: -7.5px;
    background-color: #ffffff; 
    border: 1px solid transparent;
    border-radius: 50%;
    pointer-events: none; 
    z-index: 999999;
    mix-blend-mode: difference; 
    transition: background-color 0.3s ease, border 0.3s ease;
    will-change: transform;
}

.main-navigation {
    position: absolute; 
    top: 5vh;          
    left: 2vw;          
    right: 2vw;         
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    z-index: 3000;      
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase; 
    transition: filter 0.6s ease, opacity 0.6s ease;
}

.nav-logo {
    font-size: 4.5vh;        
    font-weight: 400;        
    line-height: 0.9;        
    letter-spacing: -0.02em; 
    color: #a3a3a3;          
    max-width: 50vw; 
}

.nav-right {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;             
}

.nav-right a {
    text-decoration: none;
    color: var(--color-blue); 
    font-size: 4.5vh;        
    font-weight: 400;        
    line-height: 0.9;
    letter-spacing: -0.02em;  
    white-space: nowrap;
    transition: opacity 0.3s ease; 
}

.nav-right a:hover { 
    opacity: 0.5; 
}

/* ========================================================================= */
/* --- NEUER ANIMIERTER LAPTOP CONTACT BUTTON & DROPDOWN --- */
/* ========================================================================= */
.desktop-contact-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.desktop-contact-toggle {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-blue);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.desktop-contact-toggle:hover {
    opacity: 0.5;
}

.desktop-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2vh; /* Abstand zwischen Mail und Instagram angepasst */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

/* Wichtig: Das Dropdown öffnet sich jetzt sowohl beim Klick (.active) als auch beim Hover (:hover) */
.desktop-contact-dropdown:hover .desktop-contact-menu,
.desktop-contact-dropdown.active .desktop-contact-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.5vh;
}

.desktop-sub-item {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh !important; /* Exakt dieselbe Größe wie der Contact-Button (4.5vh) */
    font-weight: 400 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase;
    color: var(--color-blue) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.desktop-sub-item:hover {
    opacity: 0.5;
}
/* ========================================================================= */

.photo-project-list { 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
}

.photo-item {
    display: grid;
    grid-template-columns: 10% 12% 43% 35%; 
    width: 100%;
    align-items: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;        
    font-weight: 400;        
    letter-spacing: -0.02em; 
    line-height: 1.1;     
    text-transform: uppercase; 
    color: var(--color-blue);
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-bottom: 1vh; 
}

.photo-item:hover { 
    opacity: 0.5; 
}

.photo-item span { 
    display: block; 
    text-align: left; 
}

.photo-item span:nth-child(1),
.photo-item span:nth-child(2) { 
    color: #a3a3a3; 
    font-size: inherit; 
    font-weight: inherit; 
    margin-top: 0; 
}

.photo-item span:nth-child(4) {
    text-align: right;    
    text-transform: none; 
    font-size: 2.5vw; 
    font-weight: 400; 
    line-height: 1.1; 
    letter-spacing: -0.02em;
}

#photo-popup-container,
#about-popup-container {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    pointer-events: none !important; 
    z-index: 100;
}

.random-photo {
    position: absolute;
    width: 300px !important; 
    height: auto;
    pointer-events: none !important; 
    animation: fadeIn 0.2s ease-in;
}

.photo-list-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8vw; 
    font-weight: 300; 
    color: #a3a3a3; 
    text-transform: none; 
    margin-bottom: 1.5rem; 
}

.spotify-section {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 10vh 5vw;
    margin-top: 5vh;
    min-height: auto;
}

.spotify-wrapper {
    width: 100%;
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; 
}

.spotify-heading {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8vw; 
    color: #a3a3a3; 
    font-weight: 300; 
    text-transform: none; 
    letter-spacing: 0; 
    text-align: center; 
    width: 100%;
}

.split-gallery.is-fullscreen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-white);
}

.split-gallery.is-fullscreen .left-col {
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex: none !important;
    gap: 0 !important;
}

.split-gallery.is-fullscreen .right-col {
    display: none !important; 
}

.split-gallery.is-fullscreen .left-col iframe {
    width: 100vw !important;
    height: 56.25vw !important; 
    max-width: 177.78vh !important; 
    max-height: 100vh !important;
}

.split-gallery.is-fullscreen .left-col img,
.split-gallery.is-fullscreen .left-col video {
    width: auto !important;
    height: auto !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: contain; 
}

.scroll-indicator {
    position: absolute;
    bottom: 4vh; 
    left: 50%;
    transform: translateX(-50%); 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.7vw;           
    font-weight: 300;           
    color: #a3a3a3;             
    letter-spacing: -0.02em;
    text-transform: lowercase;  
    pointer-events: none; 
    z-index: 10; 
    filter: blur(var(--blur-amount));
    opacity: 0.1;               /* <-- HIER GEÄNDERT: Jetzt exakt dieselbe Transparenz (0.5) wie click on a project */
    transition: filter 0.8s ease, opacity 0.8s ease, z-index 0s;
    text-align: center;
    white-space: nowrap;
}

.hero-section.foreground-state .scroll-indicator {
    z-index: 25; 
    filter: blur(0px);
    opacity: 1;
}

.click-hint-text {
    position: absolute;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8vw; 
    font-weight: 300; 
    color: #a3a3a3; 
    letter-spacing: -0.02em;
    text-transform: lowercase;
    pointer-events: none; 
    z-index: 0;
    opacity: 0.5; 
    transition: opacity 0.5s ease;
    text-align: center;
    white-space: nowrap;
}

.legal-notice-container {
    width: 100%; 
    height: 100vh;
    background-color: var(--color-white);
    padding: 4vh 3.5vw; 
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.impressum-desktop-top-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin-bottom: 6vh;
}

.legal-notice-main-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;        
    font-weight: 400;        
    line-height: 0.9; 
    letter-spacing: -0.02em; 
    text-transform: uppercase; 
    color: var(--color-blue);
    margin-top: 0;
    margin-bottom: 0; 
}

.legal-notice-container .tanner-list-item {
    white-space: nowrap !important;
}

.modal-header-block .tanner-list-item {
    font-size: 1.4vw !important;     
    line-height: 1.3 !important;     
    margin-bottom: 0.4rem;           
    text-align: right !important;    
}

.modal-scroll-indicator {
    position: fixed;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8vw;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    pointer-events: none;
    z-index: 99020; 
    color: #ffffff !important;
    mix-blend-mode: difference; 
    opacity: 1;
    transition: opacity 0.4s ease;
}

.inline-text-img {
    display: inline-block;
    height: 1.1em; 
    width: auto;
    vertical-align: -0.15em;
    margin: 0 0.3rem;
    border-radius: 2px;
}

.impressum-close-btn {
    position: fixed;
    top: 4vh;
    right: 3.5vw;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5vh;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #000000 !important; 
    margin: 0;
    padding: 0;
    z-index: 99015;
    transition: opacity 0.3s ease;
}

.impressum-close-btn:hover { 
    opacity: 0.5; 
}

.impressum-desktop-back {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

.mobile-top-left-title {
    display: none;
}

.bracket-fix {
    display: inline-block;
    margin-left: 0.08em;
}

.desktop-only-text { 
    display: none; 
}

.mobile-only-text { 
    display: inline; 
}

.menu-photo-spacing {
    margin-bottom: 1.5vh;
}


/* ========================================================================= */
/* --- MOBILE & IPAD ANPASSUNGEN (UNVERÄNDERT GELASSEN) --- */
/* ========================================================================= */

.mobile-top-about {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-dropdown-box {
    display: none;
}

.impressum-header-mobile {
    display: none;
}

@media (max-width: 1024px), (max-device-width: 1366px) and (-webkit-touch-callout: none), (pointer: coarse) and (max-width: 1366px) {

    html, body {
        height: 100vh !important;
        overflow: hidden !important;
        position: fixed !important;
        width: 100vw !important;
    }

    #main-content {
        height: 100vh !important;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }

    @media (pointer: coarse) {
        #custom-cursor { 
            display: none !important; 
        }
        body, html, a, button, .scatter-card, .photo-item, .close-btn, .impressum-close-btn { 
            cursor: auto !important; 
        }
    }

    .hero-section {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
    }

    #hero-header {
        display: none !important;
    }

    .mobile-top-left-title {
        display: block !important;
        position: absolute !important;
        top: 3vh !important;
        left: 6vw !important;
        z-index: 5005 !important;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        text-transform: uppercase !important;
        color: #a3a3a3 !important;
        line-height: 1 !important;
        letter-spacing: -0.02em !important;
    }

    .mobile-top-about {
        display: block !important;
        position: relative !important;
        z-index: 3500 !important;
        padding: 6.5vh 6vw 1vh 6vw !important;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        background: transparent;
    }

    @media (min-width: 850px) and (orientation: landscape) {
        .mobile-top-about {
            max-width: 50vw !important;
        }
        .mobile-top-about .tanner-left p {
            font-size: 3vh !important;
            line-height: 1.2 !important;
        }
    }

    .mobile-top-about .tanner-left p {
        font-size: 2.5vh !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
    }

    #spotify-bereich,
    #fotografie,
    #about-bereich,
    .tanner-footer,
    .desktop-only-section {
        display: none !important;
    }

    #background-carousel {
        width: 100vw !important;
        height: auto !important;
        flex: 1 !important;
        padding: 2vh 4vw 4vh 4vw !important;
        display: flex !important;
        align-items: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        background-color: var(--color-white);
        position: relative !important;
        z-index: 30 !important; 
        pointer-events: auto !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        filter: none !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto !important;
    }

    #scatter-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 4vw !important; 
        height: 100% !important;
        width: max-content !important;
        align-items: center !important;
        transform: none !important;
        transform-style: flat !important;
        pointer-events: auto !important;
    }

    .scatter-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 65vw !important;
        max-width: 280px !important;
        height: auto !important;
        transform: none !important;
        opacity: 1 !important; 
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        animation: none !important;
        pointer-events: auto !important; 
        z-index: 35 !important;
        flex-shrink: 0 !important;
    }

    .scatter-card-inner {
        pointer-events: none !important; 
        transition: filter 0.4s ease, opacity 0.4s ease;
    }

    .scatter-card img,
    .scatter-card video,
    .scatter-card iframe {
        width: 100% !important;
        height: auto !important;
        max-height: 50vh !important; 
        object-fit: contain !important; 
        border-radius: 2px;
    }

    .scroll-indicator,
    .click-hint-text {
        display: none !important;
    }

    .main-navigation { 
        position: relative !important; 
        flex-direction: column; 
        gap: 1vh; 
        top: auto !important; 
        left: auto !important; 
        right: auto !important; 
        padding: 3vh 6vw 0 6vw; 
        filter: none !important; 
        opacity: 1 !important; 
        z-index: 4000 !important; 
        pointer-events: auto !important;
    }
    
    .nav-logo { 
        display: none !important; 
    }
    
    .nav-right {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        top: 3vh;
        right: 6vw;
        background: none;
        border: none;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 2.5vh;
        font-weight: 400;
        text-transform: uppercase;
        cursor: pointer;
        color: var(--color-blue);
        z-index: 5005;
        padding: 0;
        line-height: 1;
    }

    .mobile-dropdown-box {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: none;
        padding: 3vh 6vw;
        z-index: 6000;
        box-shadow: none;
        border-radius: 0;
    }

    .mobile-dropdown-box.hidden {
        display: none !important;
    }

    .mobile-dropdown-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }

    .mobile-dropdown-links {
        display: flex;
        flex-direction: column;
        gap: 0.8vh; 
        align-items: flex-end;
    }

    .mobile-contact-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.8vh;
    }

    .mobile-contact-submenu {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.6vh;
        padding-right: 1vw;
    }

    .mobile-contact-submenu.hidden {
        display: none !important;
    }

    .mobile-sub-item {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 2vh;
        font-weight: 300;
        text-transform: uppercase;
        color: #555555;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .mobile-sub-item:hover {
        opacity: 0.5;
    }

    .menu-contact-spacing {
        margin-top: 1.5vh; 
    }

    .mobile-menu-item {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 2.5vh;
        font-weight: 400;
        text-transform: uppercase;
        color: var(--color-blue);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .mobile-close-btn {
        color: #a3a3a3 !important; 
    }

    .mobile-menu-item:hover {
        opacity: 0.5;
    }

    .signature-container {
        display: none !important;
    }

    #project-modal {
        overflow-y: scroll !important; 
        display: block !important;     
        height: 100vh !important;
        position: fixed !important;
    }

    #impressum-modal.hidden,
    #photo-modal.hidden,
    #editorial-modal.hidden,
    #project-modal.hidden {
        display: none !important;
    }

    .modal-nav-container {
        display: flex !important;
        top: 2vh !important;
        right: 6vw !important;
    }

    .close-btn { 
        font-size: 2.5vh !important; 
        top: auto; 
        right: auto;
        color: #000000 !important; 
    }

    .modal-title-layout { 
        font-size: 2.5vh !important; 
    }
    
    #project-modal .modal-header-block { 
        position: relative !important;
        display: block !important;
        width: 100vw !important;
        height: auto !important; 
        max-height: none !important; 
        opacity: 1 !important;
        padding: 4vh 3.5vw 4vh 3.5vw !important; 
        overflow: visible !important;
        pointer-events: auto !important;
        background-color: var(--color-white) !important;
        padding-top: 8vh !important; 
    }

    #project-modal .modal-header-block .modal-title-layout {
        position: absolute !important;
        top: 2vh !important;
        left: 6vw !important;
        margin-bottom: 0 !important;
    }

    #project-modal .modal-header-block .tanner-about-style {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        margin-top: 2vh !important;
    }

    .modal-header-block .tanner-left,
    .modal-header-block .tanner-right {
        display: block !important;
        height: auto !important;
    }
    
    .modal-header-block .tanner-list-group {
        align-items: flex-start !important;
        margin-top: 1rem !important; 
        align-self: auto !important; 
    }
    
    .modal-header-block .tanner-list-item {
        font-size: 1.5vh !important; 
        color: #737373 !important;
        line-height: 1.3 !important;
        margin-bottom: 0.2rem;
        text-align: left !important;
        white-space: normal !important; 
    }

    .split-gallery {
        display: flex !important;
        flex-direction: column !important; 
        height: auto !important;
        overflow: visible !important;
        background-color: var(--color-white) !important;
        padding: 0 3.5vw 4vh 3.5vw !important; 
        gap: 15px !important;
    }

    .split-col {
        display: flex !important; 
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important; 
        padding: 0 !important;
        gap: 15px !important;
    }

    .split-gallery .right-col {
        display: flex !important;
    }

    .split-col img, 
    .split-col video,
    .split-col iframe {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        transform: none !important;
    }

    .modal-scroll-indicator {
        display: none !important; 
    }

    #impressum-modal,
    #photo-modal,
    #editorial-modal {
        display: block !important;
        overflow-y: auto !important;
        z-index: 99998 !important; 
    }

    .legal-notice-container { 
        padding: 3vh 6vw 4vh 6vw !important; 
        height: auto !important; 
        min-height: 100vh; 
    }
    
    .impressum-desktop-top-row { 
        display: none !important; 
    }

    .impressum-header-mobile {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 3vh 6vw 0 6vw !important;
        background-color: var(--color-white) !important;
    }

    .impressum-header-mobile .legal-notice-main-title {
        display: block !important;
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        color: var(--color-blue) !important;
        margin-bottom: 0 !important;
    }

    .impressum-header-mobile .impressum-close-btn {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        line-height: 1 !important;
    }

    .impressum-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 3vh !important;
        margin-top: 3vh !important;
    }

    .impressum-content-grid .tanner-left,
    .impressum-content-grid .impressum-right-block {
        width: 100% !important;
        align-items: flex-start !important;
        gap: 2vh !important;
    }

    .impressum-right-block .tanner-list-group {
        align-items: flex-start !important;
    }

    .impressum-right-block .tanner-list-title {
        font-size: 2.5vh !important;
        color: var(--color-blue) !important;
        font-weight: 400 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 0 !important;
        text-transform: none !important;
    }

    .impressum-right-block .tanner-list-item {
        font-size: 2.5vh !important;
        color: var(--color-blue) !important;
        font-weight: 400 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        text-transform: none !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .legal-notice-container .tanner-left p {
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        color: var(--color-blue) !important;
    }

    .mobile-hide-about {
        display: none !important;
    }

    #photo-modal,
    #editorial-modal {
        background-color: var(--color-white) !important;
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed !important;
    }

    .mobile-photo-static-container {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 8vh 6vw 3vh 6vw;
    }

    .mobile-photo-carousel-stage {
        width: 100%;
        height: 38vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 4vh;
        margin-bottom: 2vh;
    }

    .mobile-photo-slide {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.8s ease-in-out !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .mobile-photo-slide.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-photo-slide img {
        width: auto;
        max-width: 48vw;
        height: auto;
        max-height: 36vh;
        object-fit: contain;
        display: block;
    }

    .mobile-photo-table-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.3vh;
        margin-top: auto;
        padding-bottom: 2vh;
    }

    .mobile-table-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        text-transform: none !important;
        color: #000000 !important;
        cursor: pointer;
        transition: color 0.8s ease;
        grid-template-columns: none !important;
        margin-bottom: 0.1vh !important;
    }

    .m-left-group {
        display: flex;
        gap: 2.5vw;
        align-items: baseline;
    }

    .mobile-table-row span {
        display: inline-block;
        color: #000000 !important;
    }

    .mobile-table-row .m-num {
        display: none !important;
    }

    .mobile-table-row .m-year {
        color: #000000 !important;
    }

    .mobile-table-row .m-title {
        text-align: right;
        text-transform: capitalize !important;
        color: #000000 !important;
    }

    .mobile-table-row.active-row span,
    .mobile-table-row.active-row .m-num,
    .mobile-table-row.active-row .m-year,
    .mobile-table-row.active-row .m-title {
        color: #a3a3a3 !important;
    }

    .carousel-fixed-meta {
        display: none !important;
    }

    #dynamic-project-info {
        display: none !important;
    }

    #close-modal {
        margin-right: -2vw !important; 
    }

    #close-photo-modal,
    #close-editorial-modal {
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        top: 3vh !important;
        right: 6vw !important;
        z-index: 99020;
    }

    .scatter-card img[src*="s_01"], 
    .scatter-card img[src*="t_01"], 
    .scatter-card img[src*="u_01"], 
    .scatter-card img[src*="w_01"], 
    .scatter-card img[src*="z_01"], 
    .scatter-card img[src*="y_01"] {
        max-width: 40vw !important;
        margin: 0 auto;
    }

    .scatter-card[data-project="d"] {
        width: 15vw !important;
        max-width: 100px !important;
    }

    .mobile-dropdown-box {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 8vh 6vw !important;
        z-index: 6000 !important;
    }

    .mobile-dropdown-inner {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    .mobile-dropdown-links {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-end !important;
        width: 100% !important;
        height: 100% !important;
        padding-top: 4vh;
        padding-bottom: 2vh; 
        gap: 1vh !important;
    }

    .mobile-contact-wrapper {
        margin-top: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0.2vh !important;
    }

    .mobile-close-btn {
        position: absolute !important;
        top: 3vh !important;
        right: 6vw !important;
    }

    .mobile-dropdown-links a[href="#editorial"] {
        position: relative !important;
        top: -1.5vh !important;
    }

    .mobile-sub-item {
        font-size: 2.5vh !important;
        font-weight: 400 !important;
        color: var(--color-blue) !important;
        text-transform: uppercase !important;
    }
}

/* Erzwingt die Anzeige des Zurück-Buttons im Impressum auf dem Desktop */
@media (min-width: 1025px) {
    #impressum-modal .impressum-desktop-top-row .impressum-close-btn {
        display: inline-block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Macht die Back- und Next-Buttons im Projekt-Modal auf Mobilgeräten garantiert sichtbar */
@media (max-width: 1024px) {
    #project-modal .modal-nav-container {
        mix-blend-mode: normal !important;
    }
    #project-modal .modal-nav-container button,
    #project-modal .close-btn,
    #project-modal #next-project {
        color: #000000 !important;
        mix-blend-mode: normal !important;
        opacity: 1 !important;
    }
}

/* --- Projekt 'd' (Moove) temporär auf allen Geräten ausblenden --- */
.scatter-card[data-project="d"],
.mobile-table-row[data-key="d"] {
    display: none !important;
}