@font-face {
    font-family: 'Geist Mono';
    src: url('GeistMono-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
}
:root {
    --bg-dark: #202020;
    --neon-lime: #B8E222;
    --white: #FFFFFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    background-color: var(--bg-dark); 
    font-size: 16px; 
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%; 
}
body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: 'Geist Mono', monospace;
    font-size: clamp(13.5px, 1.25vw, 16.5px); 
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 6%; background-color: rgba(32, 32, 32, 0.75); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 1000;
}
.logo-link { display: flex; align-items: center; text-decoration: none; z-index: 1100; }
.navbar-logo { height: 1.625rem; width: auto; display: block; }

.global-preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--bg-dark); z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    opacity: 1; transition: opacity 0.5s ease-in-out, visibility 0.5s;
}
.preloader-track { width: 140px; height: 2px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.preloader-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--neon-lime); }
.hamburger-menu {
    display: none; flex-direction: column; justify-content: space-between;
    width: 24px; height: 10px; background: transparent; border: none; z-index: 1100;
}
.hamburger-menu .bar { width: 100%; height: 1px; background-color: var(--white); transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s; }
.hamburger-menu.active .bar:first-child { transform: translateY(4.5px) rotate(45deg); background-color: var(--neon-lime); }
.hamburger-menu.active .bar:last-child { transform: translateY(-4.5px) rotate(-45deg); background-color: var(--neon-lime); }

.nav-links-wrapper { position: relative; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: var(--white); text-decoration: none; margin-left: 2.18rem;
    font-size: clamp(13.5px, 1.25vw, 16.5px); font-weight: 400; padding-bottom: 6px; white-space: nowrap;
}
.nav-links a:first-child { margin-left: 0; }
.nav-links a:hover, .nav-links a.active-nav { color: var(--neon-lime); }

.nav-underline {
    position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background-color: var(--neon-lime);
    pointer-events: none; transform: scaleX(0); transform-origin: center; opacity: 0;
    transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                width 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.2s ease-in-out;
}

@media (max-width: 850px) {
    .hamburger-menu { display: flex; }
    .nav-links-wrapper {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
        background-color: rgba(25, 25, 25, 0.88); 
        backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
        display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden;
        transition: opacity 0.32s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.32s; z-index: 1000;
        will-change: opacity, visibility;
    }
    .nav-links-wrapper.open { opacity: 1; visibility: visible; pointer-events: auto; }
    .nav-links { flex-direction: column; gap: 1.75rem; text-align: center; } 
    .nav-links a { margin-left: 0; font-size: 1.25rem; }
    .nav-underline { display: none; }
}
.hero-video-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: 3.6rem; margin-bottom: 5rem; overflow: hidden; background: #161616; }
.main-video-box.cinematic-banner { width: 100%; aspect-ratio: 21 / 9; max-width: 100%; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative; }
.hero-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; z-index: 1; pointer-events: none; }
.video-placeholder-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 0; background: #282828; }
.video-placeholder-overlay span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; opacity: 0.15; font-size: 0.95rem; letter-spacing: 0.05em; text-align: center; padding: 0 1rem; }

.content-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 6%; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.text-section { width: 100%; margin-bottom: 6.25rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; scroll-margin-top: 5.625rem; }
.main-heading { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.625rem, 6vw, 2.1875rem); color: var(--neon-lime); margin-bottom: 1.5rem; letter-spacing: -0.02em; text-transform: uppercase; width: 100%; word-wrap: break-word; }
.text-section p { margin-bottom: 1rem; color: var(--white); max-width: 950px; }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.875rem; margin: 2.5rem 0; width: 100%; }
.empty-placeholder-box { width: 100%; aspect-ratio: 16 / 10; background-color: var(--bg-dark); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: center; align-items: center; }

/* COMPONENT: VIDEO SLIDER */
.interactive-slider-container { margin-top: 2.5rem; width: 100%; position: relative; }
.video-compare-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; margin-top: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.08); user-select: none; }
.video-box-right { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #383838; z-index: 0; }
.video-box-left { position: absolute; top: 0; left: 0; height: 100%; width: 50%; background-color: #e0e0e0; border-right: 1px solid rgba(255, 255, 255, 0.3); z-index: 1; }

.slider-center-handle {
    position: absolute; top: 50%; left: 50%; width: 28px; height: 28px;
    background: var(--bg-dark); border: 1px solid var(--white); border-radius: 50%;
    transform: translate(-50%, -50%); z-index: 10; pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); transition: transform 0.1s ease;
}

.slider-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.speed-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 100%; background: transparent; outline: none; margin: 0; pointer-events: auto; cursor: ew-resize; }
.speed-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 44px; height: 100vh; background: transparent; }
.speed-slider::-moz-range-thumb { width: 44px; height: 100vh; background: transparent; border: none; }

.pdf-footer { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 6%; font-size: clamp(13.5px, 1.25vw, 16.5px); background-color: var(--bg-dark); width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pdf-footer a { color: var(--white); text-decoration: none; }
.footer-center { display: flex; gap: 1.56rem; }
.footer-link { color: var(--neon-lime); cursor: pointer; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(32, 32, 32, 0.96); z-index: 10000; justify-content: center; align-items: center; padding: 1rem; }
.modal-content { background: var(--bg-dark); padding: 2.5rem 2rem; max-width: 600px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; position: relative; border: 1px solid rgba(255, 255, 255, 0.08); text-align: left; color: var(--white); }
.modal-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 5vw, 1.8rem); color: var(--neon-lime); margin-bottom: 1.25rem; padding-right: 2rem; }
.modal-scroll-area { overflow-y: auto; padding-right: 5px; font-size: clamp(13.5px, 1.25vw, 16.5px); }
.modal-content p { color: var(--white); margin-bottom: 1rem; }

.success-disclaimer { color: var(--white); font-family: 'Geist Mono', monospace; font-size: 1em; margin-top: 1.25rem; }
.modal-content.success-box { border-color: var(--neon-lime); box-shadow: 0 0 20px rgba(184, 226, 34, 0.15); text-align: left; }

.close-btn { 
    position: absolute; top: 1.25rem; right: 1.5rem; 
    font-size: 1.85rem; color: var(--white); z-index: 10; 
    cursor: pointer; user-select: none; transition: color 0.2s ease-in-out;
    line-height: 1; display: block;
}
.close-btn:hover { color: var(--neon-lime); }

.pdf-contact-form { margin-top: 1rem; display: flex; flex-direction: column; gap: 1.25rem; width: 100%; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; position: relative; }
.form-group label { font-size: clamp(13.5px, 1.25vw, 16.5px); color: var(--white); }
.form-group input { width: 100%; background: var(--bg-dark); border: 1px solid rgba(255, 255, 255, 0.15); padding: 0.75rem; color: var(--white); font-family: inherit; font-size: 16px; }
.form-group textarea { width: 100%; max-width: 100%; min-width: 100%; background: var(--bg-dark); border: 1px solid rgba(255, 255, 255, 0.15); padding: 0.75rem; color: var(--white); font-family: inherit; font-size: 16px; resize: vertical; overflow-y: auto; }
@media (min-width: 851px) { .form-group input, .form-group textarea { font-size: 15px; } }

/* ERHALTENES, EDLES SENDEN-BUTTON-DESIGN */
.submit-btn { 
    align-self: flex-start; 
    background: var(--neon-lime); 
    color: var(--bg-dark); 
    border: none; 
    padding: 0.75rem 1.875rem; 
    font-family: 'Space Grotesk', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: clamp(13.5px, 1.25vw, 16.5px); 
    cursor: pointer;
    transition: background 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.submit-btn:hover {
    opacity: 0.9;
}

@media (max-width: 850px) { .hero-video-section { margin-top: 3.5rem; margin-bottom: 4rem; } .pdf-footer { flex-direction: column; gap: 1.5rem; text-align: center; } }
@media (max-width: 600px) { .media-grid { grid-template-columns: 1fr; gap: 1.25rem; } }
