:root {
    --primary: #00f2ea;
    --secondary: #ff0055;
    --bg-dark: #0a0a0a;
    --text-grey: #a0a0a0;
    --text-white: #ffffff;
    --gold: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

p {
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    padding: 20px 0;
    border-bottom: 1px solid #222;
    background: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 1.2rem;
    z-index: 1001;
}

.logo span {
    color: var(--primary);
}

.nav-links a {
    color: var(--text-grey);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

main {
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 242, 234, 0.05) 100%);
    pointer-events: none;
}

.hero-small {
    height: 50vh;
}

.immersive-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 20px;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.immersive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.floating-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.reveal-text {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.5s; }
.reveal-delay-4 { transition-delay: 0.7s; }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    transition: transform 0.3s;
    text-align: left;
}

footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #555;
    background: #050505;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.3rem; }
    p { font-size: 1rem !important; }

    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        height: calc(100vh - 60px);
        background: #000;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.4s ease;
        padding-top: 50px;
        border-top: 1px solid #222;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        margin: 0;
        font-size: 1.5rem;
    }

    .hamburger.toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.toggle span:nth-child(2) { opacity: 0; }
    .hamburger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .container { padding: 0 15px; }
    section { padding: 60px 0; }
    .immersive-section { padding: 80px 15px; min-height: auto; }

    .immersive-section {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .floating-content h3 { margin-bottom: 30px; font-size: 2rem !important; }
    .reveal-text { transform: translateY(20px); }
    
    .feature-card { padding: 25px !important; }

    .scenario-card {
        padding: 25px !important;
        border-left-width: 4px !important;
    }
    
    .scenario-card h4 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .scenario-card p, 
    .scenario-card li {
        font-size: 1rem !important;
    }
    
    .scenario-card ul {
        padding-left: 0 !important;
    }
}
/* =========================================
   LEGEND ONE PRODUCT DESIGN (High-Tech)
   ========================================= */

/* Hintergrund: Bewegtes Cyber-Grid */
.tech-bg {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(0, 242, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 234, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    overflow: hidden;
}

/* Scan-Line Animation (Der "Scanner" Balken) */
.scan-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    opacity: 0.5;
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* Glitch-Text Effekt für Überschriften */
.glitch-text {
    position: relative;
    color: #fff;
    letter-spacing: 5px;
}
.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-text::before {
    left: 2px; text-shadow: -1px 0 #ff0055; clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px; text-shadow: -1px 0 #00f2ea; clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    100% { clip: rect(40px, 9999px, 60px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(60px, 9999px, 80px, 0); }
    20% { clip: rect(10px, 9999px, 40px, 0); }
    100% { clip: rect(90px, 9999px, 100px, 0); }
}

/* Tech-Panel (Statt Glassmorphism nun "Holographic Border") */
.tech-panel {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    position: relative;
    padding: 40px;
}
.tech-panel::before {
    content: ''; position: absolute; top: -1px; left: -1px; width: 20px; height: 20px;
    border-top: 2px solid var(--primary); border-left: 2px solid var(--primary);
}
.tech-panel::after {
    content: ''; position: absolute; bottom: -1px; right: -1px; width: 20px; height: 20px;
    border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary);
}

/* Tech-Grid für Layout */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 768px) { .tech-grid { grid-template-columns: 1fr; } }