/* ═══════════════════════════════════════════════════════════
   SABO NORDWEST — LIDAR DESCENT EXPERIENCE
   ═══════════════════════════════════════════════════════════ */

:root {
    --sabo-bg: #020617;
    --sabo-orange: #ff6a00;
    --sabo-blue: #38bdf8;
    --sabo-green: #10b981;
    --sabo-text: #f8fafc;
    --sabo-muted: #94a3b8;
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --orbit-size: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body.sabo-x {
    margin: 0;
    background: var(--sabo-bg);
    color: var(--sabo-text);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 0 !important;
}

body.no-scroll { overflow: hidden !important; height: 100vh !important; }

.highlight {
    color: var(--sabo-orange);
    text-shadow: 0 0 40px rgba(255, 106, 0, 0.35);
}

/* ─── LIDAR INTRO ─── */
#lidar-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #020617;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
}

#lidar-intro.active {
    opacity: 1;
    pointer-events: auto;
}

.intro-radar-bg,
.intro-radar-sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.intro-radar-bg {
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, #020617 72%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(56, 189, 248, 0.04) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(56, 189, 248, 0.04) 40px);
    animation: intro-grid-pulse 2s ease-in-out infinite;
}

.intro-radar-sweep {
    top: 50%;
    left: 50%;
    width: min(85vw, 85vh);
    height: min(85vw, 85vh);
    margin: calc(min(85vw, 85vh) / -2) 0 0 calc(min(85vw, 85vh) / -2);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 50%;
}

.intro-radar-sweep::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.22) 42deg, transparent 84deg);
    animation: intro-sweep 2.4s linear infinite;
}

@keyframes intro-sweep {
    to { transform: rotate(360deg); }
}

@keyframes intro-grid-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.intro-load-wrap {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 72px;
    opacity: 1;
    pointer-events: none;
}

.intro-load-wrap.visible {
    opacity: 1;
}

.intro-load-label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: var(--sabo-muted);
    margin-bottom: 8px;
    font-family: 'Consolas', monospace;
}

.intro-load-track {
    height: 3px;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.intro-load-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--sabo-blue), var(--sabo-orange));
    transition: width 0.35s ease;
}

.intro-load-pct {
    font-size: 0.65rem;
    color: var(--sabo-blue);
    font-family: 'Consolas', monospace;
    letter-spacing: 1px;
}

#lidar-intro.flash {
    animation: intro-flash 0.4s ease;
}

@keyframes intro-flash {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.8); }
}

.hud-altitude.alt-pulse #alt-value {
    color: var(--sabo-orange);
    text-shadow: 0 0 30px rgba(255, 106, 0, 0.8);
    animation: alt-shake 0.15s ease infinite;
}

@keyframes alt-shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-2px); }
}

#lidar-intro.exit { pointer-events: none; }

#lidar-canvas {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.lidar-hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-family: 'Consolas', monospace;
    z-index: 2;
}

.hud-top {
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.hud-coords {
    font-size: 0.7rem;
    color: var(--sabo-blue);
    letter-spacing: 2px;
    opacity: 0.85;
}

.hud-phase {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    color: var(--sabo-orange);
    font-weight: 700;
    letter-spacing: 3px;
    text-align: right;
    animation: hud-pulse 2s ease-in-out infinite;
}

@keyframes hud-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.hud-altitude {
    position: absolute;
    bottom: 80px;
    left: 28px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.alt-label {
    font-size: 0.65rem;
    color: var(--sabo-muted);
    letter-spacing: 2px;
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.hud-altitude {
    flex-wrap: wrap;
    max-width: 120px;
}

#alt-value {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    font-family: var(--font-stack);
}

.alt-unit {
    font-size: 1.2rem;
    color: var(--sabo-orange);
    font-weight: 800;
}

.lidar-logo-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.92;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: min(90vw, 440px);
    max-height: min(62vh, 420px);
    padding: 12px 20px;
    pointer-events: none;
}

.lidar-logo-reveal.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lidar-logo-img {
    width: 100%;
    height: auto;
    max-height: min(38vh, 260px);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
}

.lidar-logo-reveal p {
    color: var(--sabo-orange);
    text-transform: uppercase;
    letter-spacing: clamp(2px, 1.5vw, 6px);
    font-size: clamp(0.58rem, 2.2vw, 0.85rem);
    font-weight: 800;
    margin: 14px 0 0;
    line-height: 1.4;
}

.hud-trust {
    position: absolute;
    bottom: 80px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0.9;
    transform: none;
    transition: opacity 0.4s ease;
}

.hud-trust.visible {
    opacity: 1;
    transform: translateX(0);
}

.trust-stamp {
    font-size: 0.65rem;
    color: var(--sabo-muted);
    border: 1px solid rgba(255, 106, 0, 0.4);
    padding: 8px 14px;
    letter-spacing: 1px;
    background: rgba(255, 106, 0, 0.06);
    backdrop-filter: blur(8px);
}

.lidar-skip {
    position: absolute;
    bottom: 28px;
    right: 28px;
    pointer-events: auto;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    padding: 10px 18px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    text-transform: uppercase;
}

.lidar-skip:hover {
    border-color: var(--sabo-orange);
    color: var(--sabo-orange);
}

.lidar-baydoors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.lidar-baydoors::before,
.lidar-baydoors::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--sabo-bg);
    transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.lidar-baydoors::before { top: 0; transform: translateY(0); }
.lidar-baydoors::after { bottom: 0; transform: translateY(0); }

.lidar-baydoors.open::before { transform: translateY(-100%); }
.lidar-baydoors.open::after { transform: translateY(100%); }

#lidar-intro.exit { opacity: 0; pointer-events: none; transition: opacity 0.6s ease; }

/* ─── WORLD REVEAL ─── */
#sabo-world {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.2s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

#sabo-world.revealed {
    opacity: 1;
    transform: none;
}

/* Sichtbarkeit auch wenn JS-Init verzögert ausfällt */
#sabo-world.revealed .hero,
#sabo-world.revealed .hero-flex,
#sabo-world.revealed .trust-banner {
    opacity: 1;
    transform: none;
}

/* Hero entrance nach Intro — kurz halten */
body.hero-enter .hero-content > * {
    animation: hero-stagger 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
body.hero-enter .hero-content h1 { animation-delay: 0.05s; }
body.hero-enter .hero-content .subtitle { animation-delay: 0.1s; }
body.hero-enter .hero-content .check-list { animation-delay: 0.15s; }
body.hero-enter .hero-content .hero-buttons { animation-delay: 0.2s; }
body.hero-enter .hero-content .trust-badges { animation-delay: 0.25s; }
body.hero-enter .hero-aperture {
    animation: aperture-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}

html.sabo-skip-intro body.hero-enter .hero-content > *,
html.sabo-skip-intro body.hero-enter .hero-aperture {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

@keyframes hero-stagger {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

@keyframes aperture-enter {
    from { opacity: 0; transform: scale(0.7) rotate(-8deg); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ─── ORBITAL FLIGHT RING (unique nav) ─── */
.orbit-nav-wrap {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    width: var(--orbit-size);
    height: var(--orbit-size);
    pointer-events: none;
}

#flight-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.9) 0%, rgba(2, 6, 23, 0.6) 100%);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.08), inset 0 0 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
}

#flight-ring::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 106, 0, 0.2);
    animation: orbit-spin 24s linear infinite;
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

.ring-node {
    position: absolute;
    left: var(--nx);
    top: var(--ny);
    transform: translate(-50%, -50%);
    pointer-events: auto;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ring-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    border: 2px solid rgba(56, 189, 248, 0.3);
    transition: all 0.35s ease;
}

.ring-num {
    font-size: 0.55rem;
    color: transparent;
    font-family: 'Consolas', monospace;
    transition: color 0.3s;
}

.ring-node:hover .ring-dot,
.ring-node.active .ring-dot {
    background: var(--sabo-orange);
    border-color: var(--sabo-orange);
    box-shadow: 0 0 16px rgba(255, 106, 0, 0.8);
    transform: scale(1.3);
}

.ring-node.active .ring-num,
.ring-node:hover .ring-num {
    color: var(--sabo-orange);
}

/* ─── ALTITUDE TRACK (left) ─── */
.alt-track {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(30, 41, 59, 0.5);
    z-index: 900;
}

#alt-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--sabo-blue), var(--sabo-orange));
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
    transition: height 0.15s ease-out;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.35);
    transition: background 0.4s;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-stack);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span { color: var(--sabo-orange); }

.menu-toggle { display: none; font-size: 1.6rem; color: white; cursor: pointer; }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--sabo-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.nav-links a:hover { color: white; }

.nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    padding: 20px 28px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.menu-toggle.open i::before { content: '\f00d'; }

.nav-container { position: relative; }

/* ─── BUTTONS ─── */
.btn-main, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-stack);
    border: none;
}

.btn-main {
    background: var(--sabo-orange);
    color: white;
    box-shadow: 0 4px 0 #c45200, 0 20px 40px rgba(255, 106, 0, 0.25);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #c45200, 0 28px 50px rgba(255, 106, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--sabo-blue);
    color: var(--sabo-blue);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

/* ─── HERO — APERTURE VIEWPORT ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 106, 0, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
    pointer-events: none;
}

.hero-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
    width: 100%;
}

body.sabo-x .hero-flex {
    display: grid !important;
    flex-direction: unset !important;
}

.hero-content h1 {
    font-family: var(--font-stack);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--sabo-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 540px;
}

.check-list { list-style: none; padding: 0; margin: 0 0 36px; }

.check-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.5;
}

.check-list i { color: var(--sabo-orange); margin-top: 3px; flex-shrink: 0; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.trust-badge-item {
    font-size: 0.72rem;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    padding: 8px 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 2px;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.trust-badge-item i { color: var(--sabo-green); margin-right: 6px; }

/* Aperture hex viewport */
.hero-aperture {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 520px;
    margin-left: auto;
    clip-path: polygon(50% 0%, 90% 24%, 90% 76%, 50% 100%, 10% 76%, 10% 24%);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 60px rgba(56, 189, 248, 0.2));
}

.hero-aperture.open {
    clip-path: polygon(50% 2%, 88% 27%, 88% 73%, 50% 98%, 12% 73%, 12% 27%);
}

.hero-aperture::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--sabo-orange), var(--sabo-blue));
    clip-path: inherit;
    z-index: 0;
    opacity: 0.6;
}

.hero-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    clip-path: inherit;
    overflow: hidden;
    z-index: 1;
}

.hero-media-wrapper video,
.hero-media-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: 72%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
}

.hero-media-wrapper video {
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.hero-media-wrapper video.is-playing {
    opacity: 1;
}

.hero-media-wrapper video.is-playing + .hero-media-fallback {
    opacity: 0;
}

.hero-aperture-ring {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    clip-path: polygon(50% 0%, 90% 24%, 90% 76%, 50% 100%, 10% 76%, 10% 24%);
    animation: aperture-breathe 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aperture-breathe {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.03); opacity: 1; }
}

/* ─── TRUST BANNER ─── */
.trust-banner {
    padding: 48px 28px;
    text-align: center;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.trust-banner p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    font-family: var(--font-stack);
    font-weight: 800;
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: #64748b;
}

.trust-logos span {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s;
    filter: grayscale(1);
    opacity: 0.45;
}

.trust-logos span:hover {
    filter: none;
    opacity: 1;
    color: white;
    transform: translateY(-3px);
}

.trust-logos i { color: var(--sabo-orange); }

/* ─── SECTORS (scroll panels) ─── */
.container-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(80px, 12vh, 140px) 28px;
    position: relative;
}

.sector-panel {
    opacity: 1;
    transform: translateY(36px);
    transform-origin: center top;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-panel.in-view,
.reveal-on-scroll.in-view {
    transform: none;
}

.sector-tag {
    display: inline-block;
    font-family: 'Consolas', monospace;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--sabo-blue);
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
}

.sector-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--sabo-blue);
}

.section-title {
    font-family: var(--font-stack);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--sabo-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 48px;
}

.container-section .section-title,
.container-section .section-subtitle { text-align: center; margin-left: auto; margin-right: auto; }

/* ─── SOFTWARE TEASER ─── */
.software-teaser-box {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.2);
    overflow: hidden;
    position: relative;
}

.software-teaser-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(56, 189, 248, 0.12) 50%, transparent 52%);
    background-size: 100% 200%;
    animation: teaser-scan 4s linear infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

@keyframes teaser-scan {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
}

/* ─── PAGE SCAN OVERLAY (Seitenwechsel) ─── */
#sabo-page-scan {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: #020617;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#sabo-page-scan.active {
    opacity: 1;
    pointer-events: auto;
}

#sabo-page-scan.exit {
    opacity: 0;
}

.sabo-scan-radar {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, #020617 70%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(56, 189, 248, 0.035) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(56, 189, 248, 0.035) 40px);
    animation: intro-grid-pulse 1.8s ease-in-out infinite;
}

#sabo-scan-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.sabo-scan-hud {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Consolas', monospace;
    pointer-events: none;
    padding: 24px;
}

.sabo-scan-phase {
    color: #ff6a00;
    font-size: clamp(0.75rem, 3vw, 1rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 10px;
}

.sabo-scan-sub {
    color: #38bdf8;
    font-size: clamp(0.65rem, 2.5vw, 0.85rem);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 28px;
}

.sabo-scan-bar {
    width: min(320px, 80vw);
    height: 3px;
    background: rgba(51, 65, 85, 0.7);
    border-radius: 2px;
    overflow: hidden;
}

.sabo-scan-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #38bdf8, #ff6a00);
    transition: width 0.1s linear;
}

html.sabo-skip-intro #lidar-intro { display: none !important; }
html.sabo-skip-intro #sabo-world { opacity: 1 !important; transform: none !important; }
html.sabo-skip-intro body.no-scroll { overflow: auto !important; height: auto !important; }

.software-teaser-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sabo-blue), var(--sabo-orange));
}

.teaser-content { padding: clamp(40px, 5vw, 64px); }

.teaser-image {
    min-height: 320px;
    background: url('Sabo-Mainmenu.png') center/contain no-repeat;
    background-color: #0f172a;
}
    position: relative;
}

.teaser-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,6,23,0.95) 0%, transparent 50%);
}

.level-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-ai {
    color: var(--sabo-blue);
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
}

/* ─── STORY — DIAGONAL SLICE ─── */
body.sabo-x .story-flex {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    text-align: left;
}

.story-flex {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    position: relative;
    min-height: 480px;
    align-items: stretch;
}

.story-image {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    align-self: stretch;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.story-content {
    padding: clamp(40px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-left: none;
    margin-left: -5%;
}

.story-content h2 {
    font-family: var(--font-stack);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.story-content p { color: #cbd5e1; line-height: 1.75; margin-bottom: 18px; }

.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.cert-badge {
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    font-weight: 700;
    padding: 6px 12px;
    color: var(--sabo-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.06);
}

/* ─── SOLUTION CARDS — PRISM LAYOUT ─── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    padding: 36px 28px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(51, 65, 85, 0.6);
    position: relative;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sabo-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(56, 189, 248, 0.08);
}

.card:hover::before { opacity: 1; }

.popular-border {
    border-color: rgba(255, 106, 0, 0.45) !important;
    background: linear-gradient(165deg, rgba(255, 106, 0, 0.08) 0%, rgba(15, 23, 42, 0.5) 100%) !important;
}

.card i { font-size: 2.2rem; color: var(--sabo-blue); margin-bottom: 20px; display: block; }
.popular-border i { color: var(--sabo-orange); }

.card h3 {
    font-family: var(--font-stack);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.card p { color: var(--sabo-muted); line-height: 1.65; margin-bottom: 20px; font-size: 0.95rem; }

.card-link {
    color: var(--sabo-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ─── 3D SHOWCASE — FLOATING ISLAND ─── */
.showcase-section { padding-top: 0; }

.showcase-premium {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    position: relative;
    min-height: 520px;
}

.showcase-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255,106,0,0.15), transparent 40%, rgba(56,189,248,0.15));
    z-index: 0;
    border-radius: 2px;
}

.showcase-copy {
    padding: clamp(40px, 5vw, 56px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
}

.showcase-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sabo-orange);
    font-weight: 800;
    margin-bottom: 12px;
}

.showcase-title {
    font-family: var(--font-stack);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.showcase-subtitle { color: var(--sabo-muted); line-height: 1.65; margin-bottom: 24px; }

.showcase-features { list-style: none; padding: 0; margin: 0 0 28px; }
.showcase-features li { color: #cbd5e1; font-size: 0.9rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.showcase-features i { color: var(--sabo-blue); width: 16px; }

.showcase-model-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.showcase-tab {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #334155;
    color: var(--sabo-muted);
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
}

.showcase-tab.active, .showcase-tab:hover {
    border-color: var(--sabo-orange);
    color: var(--sabo-orange);
}

.showcase-viewer-col {
    position: relative;
    z-index: 1;
    min-height: 480px;
    background: #000;
}

.showcase-viewer-frame {
    width: 100%;
    height: 100%;
    min-height: 480px;
    position: relative;
}

.showcase-viewer-frame model-viewer {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: #000;
}

.showcase-viewer-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-family: 'Consolas', monospace;
    padding: 6px 12px;
    background: rgba(2,6,23,0.8);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ─── ROI ─── */
.roi-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 40px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.6);
    position: relative;
    overflow: hidden;
}

.roi-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 106, 0, 0.15);
    pointer-events: none;
}

.roi-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: linear-gradient(90deg, var(--sabo-blue), var(--sabo-orange));
    border-radius: 3px;
    outline: none;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--sabo-orange);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.roi-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

.roi-box {
    padding: 28px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
    text-align: center;
}

.roi-box h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sabo-muted);
    margin-bottom: 12px;
}

.roi-box .price {
    font-family: var(--font-stack);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.roi-savings {
    grid-column: span 2;
    padding: 32px;
    text-align: center;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.roi-savings h4 { color: var(--sabo-green); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.roi-savings .price { font-family: var(--font-stack); font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 900; color: var(--sabo-green); }

.slider-wrapper { margin: 28px 0; }

/* ─── PRICING ─── */
.pricing-wrapper { display: flex; flex-direction: column; gap: 56px; }

.pricing-group {
    padding: 56px 32px 40px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(51, 65, 85, 0.5);
    position: relative;
}

.pricing-group-title {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.title-privat { background: #334155; color: white; }
.title-kmu { background: var(--sabo-blue); color: #020617; }
.title-industrie { background: #e2e8f0; color: #0f172a; }

.pricing-grid-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.price-card {
    padding: 32px 24px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s ease;
}

.price-card:hover { transform: translateY(-6px); }

.price-card.popular {
    border: 2px solid var(--sabo-orange);
    background: linear-gradient(180deg, rgba(255, 106, 0, 0.06) 0%, rgba(2, 6, 23, 0.8) 100%);
    transform: translateY(-8px);
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sabo-orange);
    color: white;
    padding: 5px 16px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }

.price-card .price {
    font-family: var(--font-stack);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.price-card .price span { font-size: 0.9rem; color: #64748b; font-weight: 600; }

.price-card ul { list-style: none; padding: 0; margin: 16px 0 24px; flex-grow: 1; }
.price-card li { display: flex; gap: 10px; margin-bottom: 12px; color: #cbd5e1; font-size: 0.92rem; }
.price-card li i { color: var(--sabo-green); margin-top: 3px; }

.enterprise-banner-clean h3 {
    font-family: var(--font-stack);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.enterprise-banner-clean p { color: var(--sabo-muted); line-height: 1.7; }

/* ─── FORM ─── */
.form-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 40px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(51, 65, 85, 0.5);
    backdrop-filter: blur(12px);
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e2e8f0;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid #334155;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--sabo-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

select.form-input {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="%2394a3b8"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ─── FOOTER ─── */
footer {
    padding: 64px 0 48px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.8));
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

footer h4 { font-weight: 900; margin-bottom: 16px; }
footer p, footer a { color: var(--sabo-muted); text-decoration: none; line-height: 1.8; font-size: 0.92rem; }
footer a:hover { color: var(--sabo-blue); }

/* ─── MODALS ─── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(12px);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active { display: flex; }

.modal-content {
    background: #0f172a;
    border: 1px solid #334155;
    padding: 40px 32px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.modal-content h3 {
    font-family: var(--font-stack);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 800;
    border-bottom: 2px solid rgba(255, 106, 0, 0.4);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.modal-list { list-style: none; padding: 0; margin: 20px 0; }
.modal-list li { display: flex; gap: 12px; margin-bottom: 14px; color: #cbd5e1; }
.modal-list i { color: var(--sabo-green); margin-top: 4px; }

.btn-close {
    width: 100%;
    padding: 14px;
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.btn-close:hover { background: #334155; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .orbit-nav-wrap { display: none; }
    .alt-track { display: none; }
}

@media (max-width: 992px) {
    body.sabo-x .hero-flex {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        text-align: center;
        gap: 36px;
    }
    body.sabo-x .hero-content,
    body.sabo-x .hero-image {
        width: 100%;
        max-width: 100%;
        flex: unset !important;
    }
    .hero-flex { grid-template-columns: 1fr; text-align: center; gap: 36px; }
    .hero-content .subtitle { margin-left: auto; margin-right: auto; }
    .check-list { text-align: left; display: inline-block; max-width: 100%; }
    .hero-buttons { justify-content: center; flex-direction: column; align-items: stretch; }
    .hero-buttons .btn-main,
    .hero-buttons .btn-secondary { width: 100%; max-width: 420px; margin: 0 auto; }
    .trust-badges { justify-content: center; }
    .hero-aperture { margin: 0 auto; max-width: min(360px, 86vw); }
    .hero-media-wrapper video,
    .hero-media-wrapper img { width: 78%; height: 78%; }
    .hero-image { order: -1; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .story-flex { grid-template-columns: 1fr; min-height: auto; }
    .story-image { clip-path: none; min-height: 260px; max-height: 360px; }
    .story-content { margin-left: 0; border-left: 1px solid rgba(51, 65, 85, 0.5); padding: 32px 24px; }
    .software-teaser-box { grid-template-columns: 1fr; }
    .teaser-image { min-height: 200px; }
    .showcase-premium { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .roi-results { grid-template-columns: 1fr; }
    .roi-savings { grid-column: span 1; }
    .footer-grid { flex-direction: column; text-align: center; gap: 32px; }
    .pricing-grid { grid-template-columns: 1fr !important; }
    .cert-badges { justify-content: center; }
    .trust-logos { gap: 20px; font-size: 0.95rem; }
    .container-section .section-title,
    .container-section .section-subtitle { text-align: left; margin-left: 0; margin-right: 0; }
}

@media (max-width: 768px) {
    .hud-top {
        flex-direction: column;
        align-items: flex-start;
        top: 16px;
        left: 16px;
        right: 16px;
        gap: 8px;
    }

    .hud-phase {
        text-align: left;
        letter-spacing: 2px;
        font-size: 0.62rem;
        line-height: 1.4;
    }

    .hud-coords { font-size: 0.6rem; }

    .hud-altitude {
        bottom: auto;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        max-width: 90px;
    }

    #alt-value { font-size: clamp(2.2rem, 12vw, 3.2rem); }

    .hud-trust {
        right: 16px;
        left: 16px;
        bottom: 120px;
    }

    .trust-stamp { font-size: 0.58rem; padding: 6px 10px; }

    .lidar-logo-img { max-height: min(32vh, 200px); }
    .lidar-logo-reveal { width: min(92vw, 360px); }

    .lidar-skip {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        text-align: center;
    }

    .intro-load-wrap {
        left: 16px;
        right: 16px;
        bottom: 64px;
    }

    .hero { padding: 96px 0 56px; min-height: auto; }
    .hero-flex { padding: 0 20px; gap: 28px; }
    .hero-content h1 { letter-spacing: -1px; font-size: clamp(1.85rem, 8vw, 2.6rem); }
    .check-list li { font-size: 0.92rem; }
    .btn-main, .btn-secondary { padding: 14px 24px; font-size: 0.8rem; }
    .nav-container { padding: 14px 20px; }
    .container-section { padding: 56px 20px; }
    .sector-tag { font-size: 0.58rem; letter-spacing: 2px; }
    .story-content h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .modal-content { padding: 28px 20px; margin: 16px; }
    .roi-container { padding: 24px 18px; }
    .form-container { padding: 28px 20px; }
    .showcase-viewer-wrap { min-height: 280px; }
}

@media (max-width: 480px) {
    .hud-trust { display: none; }
    .trust-badges { flex-direction: column; align-items: stretch; }
    .trust-badge-item { text-align: center; }
    .hero-aperture { max-width: 100%; }
    .cert-badges { flex-direction: column; align-items: stretch; }
    .cert-badge { justify-content: center; }
    .lidar-skip { font-size: 0.65rem; padding: 12px 16px; }
}

@media (max-width: 600px) {
    .container-section { padding: 64px 20px; }
    .hero { min-height: auto; padding-top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .sector-panel { opacity: 1; transform: none; }
}
