﻿:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --background-color: #F4F6F9;
    --default-color: #444444;
    --heading-color: #37423b;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    /* Farbkonzept orientiert an PDF: #000113 zu #00466d */
    --bs-primary: #00466d;
    --bs-primary-rgb: 0, 70, 109;
    --bs-warning: #F5A623;
    --bs-warning-rgb: 245, 166, 35;
    --cb-primary: #00466d;
    --cb-accent: #F5A623;
    --nav-color: #00466d;
    --nav-hover-color: #F5A623;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #272828;
    --nav-dropdown-hover-color: #F5A623;
}

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Poppins', sans-serif !important;
    color: #5a5c69 !important;
    overflow-x: hidden !important;
    background-color: transparent !important;
    position: relative !important;
}
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Offset für Sektionen, damit die fixierte Navbar nichts verdeckt */
section {
    scroll-margin-top: 100px !important;
}

/* -------------------------------------
   Parallax Background & Watermark 
-------------------------------------- */
.parallax-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -10 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    /* Der gewünschte Verlauf aus dem PDF */
    background: linear-gradient(135deg, #000113 0%, #00466d 100%) !important;
}

.parallax-shape {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(80px) !important;
    opacity: 0.2 !important;
    will-change: transform;
}

.shape-1 {
    background: #ffffff !important;
    width: 450px !important;
    height: 450px !important;
    top: -100px !important;
    left: -100px !important;
}

.shape-2 {
    background: var(--cb-accent) !important;
    width: 350px !important;
    height: 350px !important;
    top: 30% !important;
    right: -150px !important;
}

.shape-3 {
    background: #4e73df !important;
    width: 550px !important;
    height: 550px !important;
    bottom: -200px !important;
    left: 20% !important;
}

.bg-lock-watermark {
    position: absolute;
    top: 20%;
    right: -10%;
    font-size: 50vw;
    color: rgba(255, 255, 255, 0.05);
    z-index: -5;
    will-change: transform;
    pointer-events: none;
}

/* -------------------------------------
   Navbar & Buttons
-------------------------------------- */
.navbar {
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* FIX: ScrollSpy Highlight im Navbar mit Unterstrich */
#mainNav .navbar-nav .nav-link.active,
#mainNav .navbar-nav .nav-link:hover {
    color: var(--cb-accent) !important;
    font-weight: 700;
    position: relative;
}

    #mainNav .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 8px;
        width: calc(100% - 16px);
        height: 2px;
        background-color: var(--cb-accent);
    }

.btn-login, .btn-primary {
    background-color: var(--cb-primary) !important;
    border-color: var(--cb-primary) !important;
    color: white !important;
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 70, 109, 0.2);
}

    .btn-login:hover, .btn-primary:hover {
        background-color: #000113 !important;
        border-color: #000113 !important;
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 70, 109, 0.3);
    }

.border-primary {
    border-color: var(--cb-primary) !important;
}

.text-primary {
    color: var(--cb-primary) !important;
}

.bg-primary {
    background-color: var(--cb-primary) !important;
}

.text-accent {
    color: var(--cb-accent) !important;
}

/* -------------------------------------
   Hero Section
-------------------------------------- */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero-title {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, var(--cb-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(90deg, var(--cb-primary), var(--cb-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor-anim {
    position: absolute;
    font-size: 1.8rem;
    z-index: 10;
    animation: moveCursor 6s infinite;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.4));
}

@keyframes moveCursor {
    0% {
        top: 80%;
        left: 80%;
        opacity: 0;
        transform: rotate(-20deg);
    }

    10% {
        opacity: 1;
        transform: rotate(-20deg);
    }

    40% {
        top: 45%;
        left: 15%;
        transform: rotate(-20deg) scale(1);
    }

    45% {
        top: 45%;
        left: 15%;
        transform: rotate(-20deg) scale(0.8);
    }

    50% {
        top: 45%;
        left: 15%;
        transform: rotate(-20deg) scale(1);
    }

    80% {
        top: 90%;
        left: 50%;
        opacity: 1;
        transform: rotate(-20deg);
    }

    100% {
        top: 90%;
        left: 50%;
        opacity: 0;
        transform: rotate(-20deg);
    }
}

.device-status {
    transition: all 0.3s ease;
}

.sim-click-area {
    animation: colorChange 6s infinite;
}

@keyframes colorChange {
    0%, 44% {
        background-color: rgba(245, 166, 35, 0.2);
        color: var(--cb-accent);
    }

    45%, 100% {
        background-color: var(--bs-success-bg-subtle);
        color: var(--bs-success);
    }
}

/* -------------------------------------
   Floating Elements (WOW Effekt)
-------------------------------------- */
.floating-element {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 0;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 20px;
    pointer-events: none;
    will-change: transform;
}

.float-1 {
    top: 20%;
    right: 5%;
}

.float-2 {
    top: 60%;
    left: 5%;
}

/* -------------------------------------
   Cards, Chips & Layout Elements
-------------------------------------- */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
    }

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .transition-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
    }

.cb-chip {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50rem;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
}

.live-toast {
    position: fixed;
    bottom: 30px;
    left: -400px;
    background: white;
    border-left: 4px solid var(--cb-primary);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15);
    z-index: 9999;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 320px;
    animation: slideInOut 12s infinite;
}

@keyframes slideInOut {
    0%, 10% {
        left: -400px;
    }

    15%, 85% {
        left: 30px;
    }

    90%, 100% {
        left: -400px;
    }
}

.preview-callout {
    background: linear-gradient(135deg, rgba(0, 70, 109, 0.9) 0%, rgba(0, 1, 19, 0.9) 100%);
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
}

.price-card {
    background: rgba(255,255,255,0.95);
    border-radius: 1.5rem;
    border: 2px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

    .price-card:hover {
        transform: translateY(-5px);
        border-color: var(--cb-primary);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.1);
    }

    .price-card.popular {
        border-color: var(--cb-primary);
        box-shadow: 0 1rem 2rem rgba(0, 70, 109, 0.15);
        transform: scale(1.03);
        background: #fff;
    }

        .price-card.popular:hover {
            transform: scale(1.03) translateY(-5px);
        }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cb-primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 70, 109, 0.3);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    background: #ffffff;
    border-left: 5px solid var(--cb-primary);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.15);
    z-index: 10000;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: none;
    transition: transform 0.3s ease-out;
    transform: translateY(150%);
}

    .cookie-banner.show {
        display: block;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .scroll-ticker-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* -------------------------------------
   Footer
-------------------------------------- */
.footer {
    color: var(--default-color);
    background-color: var(--surface-color);
    font-size: 14px;
    position: relative;
    z-index: 100 !important;
}

    .footer .footer-top {
        padding-top: 50px;
    }

    .footer .footer-about .logo {
        margin-bottom: 0;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

    .footer .footer-about p {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .footer h4 {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer .footer-links ul li {
            padding: 10px 0;
            display: flex;
            align-items: center;
        }

            .footer .footer-links ul li:first-child {
                padding-top: 0;
            }

        .footer .footer-links ul a {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            display: inline-block;
            line-height: 1;
        }

            .footer .footer-links ul a:hover {
                color: var(--cb-primary);
            }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    }

        .footer .copyright p {
            margin-bottom: 0;
        }
