/* --- Lokale Webfonts (DSGVO-konform) --- */
@font-face {
    font-family: 'Clash Display';
    src: url('fonts/clash-display-400.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/clash-display-500.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/clash-display-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/clash-display-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

/* --- CSS Variablen & Reset --- */
:root {
    --color-bg-dark: #050505;
    /* Tiefschwarz */
    --color-text-dark: #F5F5F5;
    --color-bg-light: #F5F5F5;
    /* Heller Kontrast */
    --color-text-light: #050505;

    --font-heading: 'Clash Display', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    overscroll-behavior: none;
    cursor: none;
    /* Versteckt den Standard-Cursor für unseren Custom Cursor */
}

/* --- Typografie Basis --- */
h1,
h2,
h3 {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

.dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
}

.light {
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
}

/* SplitType Hilfsklassen für saubere Maskierungen */
.word,
.line {
    overflow: hidden;
    vertical-align: top;
    display: inline-block;
}

.char {
    display: inline-block;
}

/* --- Glassmorphismus Basis --- */
.glass-container {
    background: rgba(255, 255, 255, 0.15);
    /* 15% Deckkraft weiße Füllung */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari Support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Dünne halbtransparente Linie */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    /* Weicher, dezenter Box-Shadow für Tiefe */
    border-radius: 20px;
    padding: 3vw 4vw;
    /* Innenabstand für den Text */
    color: var(--color-text-dark);
    /* Sicherstellen, dass Text weiß bleibt auf dunklem Hintergrund */
}


/* --- Custom Cursor --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    /* Zentrierung */
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 199999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    /* Zentrierung */
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* --- Lenis Smooth Scroll Setup --- */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Wrapper Setup (altes Parallax-Reveal entfernt) */
#smooth-wrapper {
    position: relative;
    z-index: 2;
    background: var(--color-bg-dark);
}

/* --- 1. Hero Sektion --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    /* Für die Hintergrund-Elemente */
}

/* Video-Hintergrund für die Hero Sektion */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    max-width: 81vw;
    padding: 2.7vw 3.6vw;
    position: relative;
    z-index: 1;
    /* Getöntes Glas (Smoked Glass) exklusiv für den Hero-Bereich */
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6), rgba(15, 15, 15, 0.2));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    /* Noch etwas stärkerer Blur */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(2.7rem, 9vw, 9rem);
}

.hero-subtitle {
    font-family: var(--font-mono);
    max-width: 540px;
    font-size: 0.9rem;
    opacity: 0;
    /* Wird in JS animiert */
}

/* --- 2. Statement / Video 1 --- */
.statement {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    /* Prevent overlap visibility */
    z-index: 10;
}

.statement-video-container {
    position: absolute;
    width: 30vw;
    height: 20vw;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    transform: scale(1);
    /* Baseline for scaling */
}

.statement-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statement-text {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    width: 100%;
    color: #fff;
    mix-blend-mode: difference;
}

.statement-static,
.statement-dynamic {
    font-size: clamp(2rem, 6vw, 6rem);
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.statement-dynamic {
    clip-path: inset(100% 0 0 0);
    /* Versteckt für den Wipe-Effekt in JS */
}

/* --- 3. Manifest --- */
.manifest {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10vh 5vw 25vh 5vw;
    /* Shifted up by reducing top padding and adding bottom padding */
    justify-content: center;
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.7)), url('text_background.png') center / cover no-repeat;
    position: relative;
    z-index: 20;
}

.manifest-text {
    font-size: clamp(1.5rem, 4vw, 4rem);
    line-height: 1.25;
    /* Slightly increased for readability */
    font-weight: 500;
    max-width: 1400px;
    /* text-transform: uppercase entfernt für bessere Lesbarkeit */
    word-wrap: break-word;
    /* Prevent split-type weird breaking */
    letter-spacing: 0.02em;
    /* Fixes 'TUNES' vs 'TUN ES' spacing issue */
}

.manifest-text .char {
    opacity: 0.45;
    /* Deutlich höhere Start-Deckkraft, damit der Text sofort lesbar ist */
}

/* --- 4. The Work / Horizontale Galerie --- */
.work {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    position: relative;
    z-index: 30;
}

.work-header {
    position: absolute;
    left: 5vw;
    bottom: 5vh;
    /* Box nach unten geschoben statt mittig */
    z-index: 10;
    pointer-events: none;
    /* Angepasst für Glass-Box: mix-blend-mode entfernt, da Blur/White Fill den Kontrast gibt */
    padding: 2.4vw 3.2vw;
    /* 20% kleiner als Standard glass-container */
}

.work-header h2 {
    font-size: clamp(2.4rem, 5.6vw, 5.6rem);
    word-spacing: 0.5em;
    margin: 0;
}

.work-gallery {
    display: flex;
    gap: 5vw;
    padding: 0 10vw 0 60vw;
    /* Mehr Versatz nach rechts für die Headline */
    height: 60vh;
    align-items: center;
}

.work-item {
    flex-shrink: 0;
    height: 100%;
    aspect-ratio: 16/9;
    /* Zwingt den Container in ein exaktes 16:9 Verhältnis basierend auf der 60vh Höhe des Elternelements */
    overflow: hidden;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contain stellt sicher, dass das Bild niemals beschnitten wird */
}

/* --- 5. Reality Check --- */
.reality {
    min-height: 68vh;
    display: flex;
    align-items: center;
    padding: 5vw;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

/* Video-Hintergrund für Desktop/Tablet */
.reality-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.35);
}

/* Inhalt über dem Video */
.reality-left,
.reality-right {
    position: relative;
    z-index: 1;
}

/* Mobile: Video ausblenden, Standbild als Hintergrund */
@media (max-width: 768px) {
    .reality-bg-video {
        display: none;
    }

    .reality {
        background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.7)), url('schaufenster_background.png') center / cover no-repeat;
    }
}

.reality-left {
    flex: 1;
    margin-right: 5vw;
    /* Geändert von padding zu margin, damit die Glass-Box Abstand zum Video hat */
}

.reality-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 2rem;
}

.reality-text {
    font-family: var(--font-mono);
    line-height: 1.6;
    max-width: 500px;
}

.reality-right {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    /* Für den 3D-Tilt */
}

.reality-video-wrapper {
    width: 70%;
    aspect-ratio: 9/16;
    background: #111;
    transform: rotateX(10deg) rotateY(-15deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-out;
}

.reality-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glitch CSS-Klasse */
.glitch-anim {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both;
}

@keyframes glitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-3px, 3px)
    }

    40% {
        transform: translate(-3px, -3px);
        color: red;
    }

    60% {
        transform: translate(3px, 3px)
    }

    80% {
        transform: translate(3px, -3px);
        color: blue;
    }

    100% {
        transform: translate(0)
    }
}

/* --- 6. Capabilities --- */
.capabilities {
    min-height: 100vh;
    display: flex;
    padding: 10vw 5vw;
}

.cap-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 5vw;
    /* Abstand zum Bild analog zur Reality-Sektion */
}

.cap-header {
    font-family: var(--font-mono);
    margin-bottom: 3rem;
    color: #888;
}

.cap-list {
    list-style: none;
}

.cap-list li {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.3s, padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-list li:hover {
    color: #555;
    padding-left: 2rem;
}

.cap-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cap-image-preview {
    width: 80%;
    /* Etwas breiter gemacht, da 16:9 sonst zu klein wirken könnte */
    aspect-ratio: 16/9;
    /* Geändert von 4/5 zu 16:9 */
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: 12px;
    /* Optionale leichte Abrundung passend zum Glassmorphismus */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Leichter Schatten für Tiefe */
}

.cap-image-preview.active {
    opacity: 1;
    transform: scale(1);
}

/* --- Lenis / ScrollTrigger Helper --- */
#smooth-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

#smooth-content {
    width: 100%;
    position: relative;
}

/* --- 7. About the Founder Sektion --- */
.founder {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh 5vw;
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.7)), url('about_background.png') center / cover no-repeat;
    position: relative;
    gap: 5vw;
}

.founder-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    filter: grayscale(100%) contrast(120%) brightness(0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 100px rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-image-wrapper:hover {
    filter: grayscale(0%) contrast(100%) brightness(1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 120px rgba(255, 255, 255, 0.1);
}

.founder-image-wrapper:hover .founder-image {
    transform: scale(1);
}

.founder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.founder-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.founder-text {
    font-family: var(--font-mono);
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.founder-text .highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- 8. Footer --- */
.footer {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 15vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.footer-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.footer-title {
    font-size: clamp(3rem, 7vw, 7rem);
    text-align: center;
}

.magnetic-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magnetic-btn span {
    position: relative;
    z-index: 2;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    transition: top 0.4s cubic-bezier(0.1, 0, 0.3, 1);
    z-index: 1;
}

.magnetic-btn:hover::before {
    top: 0;
}

.magnetic-btn:hover {
    color: #000;
}

/* Unendlicher Text-Ticker im Footer */
.ticker-wrap {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(-5deg);
    white-space: nowrap;
    opacity: 0.05;
    pointer-events: none;
}

.ticker {
    display: inline-block;
    font-size: 20vw;
    font-weight: 700;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Media Queries für Responsiveness */
@media (max-width: 768px) {
    .work-gallery {
        padding: 5vh 5vw;
        flex-direction: column;
        gap: 5vh;
        height: auto;
    }

    .work-header {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 2rem;
        padding: 0 5vw;
        pointer-events: auto;
    }

    .work-header h2 {
        mix-blend-mode: normal;
        /* Kann bleiben, ist im Base-CSS schon entfernt, hier sicherheitshalber belassen falls Reste existieren */
    }

    /* Disable difference on mobile for readability */
    .work {
        height: auto;
        flex-direction: column;
        padding: 10vh 0;
        align-items: flex-start;
    }

    .work-item {
        width: 90vw;
        height: auto;
        aspect-ratio: 16/9;
    }

    .reality {
        flex-direction: column;
        gap: 5vh;
    }

    .reality-left {
        padding-right: 0;
    }

    .reality-video-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
        transform: none;
        box-shadow: none;
    }

    /* Reset tilt on mobile */
    .reality-video-wrapper video {
        object-fit: cover;
    }

    .capabilities {
        flex-direction: column;
        gap: 5vh;
    }

    .founder {
        flex-direction: column;
        padding: 15vh 5vw;
        gap: 5vh;
        text-align: center;
    }

    .founder-image-wrapper {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
        /* Bildformat auch auf Mobile unverzerrt beibehalten */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .founder-content {
        max-width: 100%;
    }

    .founder-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .statement {
        height: 100svh;
        justify-content: flex-start;
        padding-top: 15vh;
    }

    /* Avoid mobile browser bar jumps */
    .statement-video-container {
        width: 90vw;
        height: 60vw;
        top: 50%;
        transform: translateY(-50%) !important;
    }

    /* Remove absolute positioning on mobile to prevent overlaps */
    .hero {
        height: 100svh;
    }

    .hero-content {
        padding: 0 5vw;
        gap: 1rem;
    }

    /* Closer spacing */
    .hero-subtitle {
        margin-top: 1rem;
    }

    .magnetic-btn {
        width: 150px;
        height: 150px;
        font-size: 1rem;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    /* Deaktiviert Custom Cursor auf Mobile */
}

/* --- DSGVO & Footer Legal --- */
.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-mono);
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

.separator {
    opacity: 0.3;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99999;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 20px;
    transform: translateY(150%);
    /* Hidden by default */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.cookie-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.cookie-text a:hover {
    opacity: 0.7;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-btn.primary {
    background: #fff;
    color: #000;
}

.cookie-btn.primary:hover {
    background: #e0e0e0;
    transform: scale(1.02);
}

.cookie-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* --- Legal Modals (Impressum / Datenschutz) --- */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-modal-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 720px;
    max-height: 80vh;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.active .legal-modal-container {
    transform: translateY(0) scale(1);
}

.legal-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.legal-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 3rem 2.5rem;
    overflow-y: auto;
    max-height: 80vh;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-modal-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legal-modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.legal-modal-body h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.legal-modal-body p {
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-modal-body ul li {
    margin-bottom: 0.3rem;
}

.legal-modal-body a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.legal-modal-body a:hover {
    opacity: 0.7;
}

/* Scrollbar-Styling für den Modal-Body */
.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .legal-modal-container {
        width: 95%;
        max-height: 85vh;
        border-radius: 16px;
    }

    .legal-modal-body {
        padding: 2rem 1.5rem;
        max-height: 85vh;
    }
}

/* --- Contact Modal (Glassmorphism 2.0) --- */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-modal-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 520px;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.active .contact-modal-container {
    transform: translateY(0) scale(1);
}

/* Animated glow orbs */
.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.contact-orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(120, 80, 255, 0.5);
    top: -60px;
    right: -40px;
    animation: orbFloat1 6s ease-in-out infinite;
}

.contact-orb-2 {
    width: 160px;
    height: 160px;
    background: rgba(0, 200, 255, 0.4);
    bottom: -40px;
    left: -30px;
    animation: orbFloat2 8s ease-in-out infinite;
}

.contact-orb-3 {
    width: 120px;
    height: 120px;
    background: rgba(255, 100, 200, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 7s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 20px) scale(1.15);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -15px) scale(1.1);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-40%, -60%) scale(1.2);
    }
}

.contact-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.contact-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.contact-modal-body {
    position: relative;
    z-index: 5;
    padding: 3.5rem 2.5rem 2.5rem;
    text-align: center;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3em;
    margin-bottom: 0.75rem;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.contact-card:hover .contact-card-icon {
    background: rgba(255, 255, 255, 0.12);
}

.contact-card-info {
    flex: 1;
    text-align: left;
}

.contact-card-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}

.contact-card-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
}

.contact-card-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-arrow {
    color: #fff;
    transform: translateX(4px);
}

.contact-footer-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .contact-modal-container {
        width: 95%;
        border-radius: 24px;
    }

    .contact-modal-body {
        padding: 2.5rem 1.5rem 2rem;
    }

    .contact-card {
        padding: 1rem 1.25rem;
    }

    .contact-card-value {
        font-size: 0.9rem;
    }
}

/* =====================================================
   ASPECT-RATIO FIX: Taller Displays (14:9, 3:2, etc.)
   MacBook 14" (14:9), MacBook Air (3:2), iPad, etc.
   These screens are proportionally taller than 16:9,
   so vh-based values create too much vertical space.
   ===================================================== */
@media (max-aspect-ratio: 16/10) and (min-width: 769px) {
    .hero {
        height: 88vh;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 8rem);
    }

    .statement {
        height: 88vh;
    }

    .statement-static,
    .statement-dynamic {
        font-size: clamp(2rem, 5vw, 5rem);
        width: 90%;
    }

    .statement-video-container {
        width: 40vw;
        height: 26vw;
    }

    .manifest {
        min-height: 85vh;
        padding: 8vw 5vw;
    }

    .manifest-text {
        font-size: clamp(1.2rem, 3.5vw, 3.5rem);
    }

    .work {
        height: 85vh;
    }

    .work-header {
        bottom: 3vh;
    }

    .work-header h2 {
        font-size: clamp(2.5rem, 6vw, 6rem);
    }

    .work-gallery {
        height: 48vh;
    }

    .reality {
        min-height: 60vh;
        padding: 4vw;
    }

    .capabilities {
        min-height: 85vh;
        padding: 6vw 5vw;
    }

    .cap-list li {
        font-size: clamp(1.5rem, 3vw, 3rem);
        padding: 1rem 0;
    }

    .cap-image-preview {
        width: 95%;
    }

    .founder {
        padding: 6vh 5vw;
    }

    .footer {
        padding: 10vh 0;
    }

    .footer-title {
        font-size: clamp(2rem, 5vw, 4rem);
    }
}