/* =========================================================
   1. FUNDAMENT & VARIABLEN
   ========================================================= */
:root {
    --brand-blue: #3B82F6;       
    --brand-blue-hover: #2563EB;
    --brand-dark: #0F172A;       
    --brand-text: #475569;       
    --brand-light: #F8FAFC;      
    --brand-accent: #10B981;     
    --font-main: 'Inter', sans-serif;
}
/* ==========================================================================
   ANTI-WACKEL-SCHUTZ (Verhindert den weißen Balken & horizontales Scrollen)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 0;
    position: relative;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--brand-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   2. NAVIGATION (GLASMORPHISM-EFFEKT)
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; /* Wird per JS beim Scrollen sichtbar */
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Verhindert, dass der fixierte Navbar beim Klick auf Vorteile/Funktionen/Preise/Demo
   den oberen Teil des Zielbereichs verdeckt (z.B. die erste Kartenreihe bei #vorteile) */
#vorteile, #funktionen, #preise, #demo {
    scroll-margin-top: 100px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo span {
    color: var(--brand-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand-blue);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* BUTTONS */
.btn-login {
    text-decoration: none;
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 15px;
}

.btn-login:hover { color: var(--brand-blue); }

.btn-primary {
    background-color: var(--brand-blue);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary {
    background-color: white;
    color: var(--brand-dark);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--brand-dark);
    background-color: var(--brand-light);
}

/* =========================================================
   3. HERO SEKTION
   ========================================================= */
.hero {
    padding: 160px 5% 100px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: inline-block;
    background: #EFF6FF;
    color: var(--brand-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid #DBEAFE;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: var(--brand-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-trust {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #64748B;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-item svg {
    color: var(--brand-accent);
    width: 20px;
    height: 20px;
}

/* VISUAL / MOCKUP */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.mockup-placeholder {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    border-radius: 16px;
    border: 1px solid #CBD5E1;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mockup-content {
    text-align: center;
}

.mockup-content svg {
    margin-bottom: 10px;
}

/* DEKORATION */
.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

.blob-top-right {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: var(--brand-blue);
    opacity: 0.15;
}

.blob-bottom-left {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    background: var(--brand-accent);
    opacity: 0.1;
}

/* ANIMATIONEN & RESPONSIVE */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }
    .hero-content { margin-bottom: 60px; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .nav-links { display: none; }
}

/* =========================================================
   4. PAIN POINTS SEKTION (Vorteile)
   ========================================================= */
.pain-points-section {
    padding: 120px 5%;
    background-color: var(--brand-light); /* Sehr helles Grau zur Abgrenzung vom Hero-Bereich */
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* Gemeinsamer Header für alle Sektionen */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--brand-text);
    line-height: 1.6;
}

/* Das Grid-Layout für die 3 Karten */
.pain-points-grid {
    display: grid;
    /* Macht das Grid automatisch responsiv! Bricht bei wenig Platz um. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Die einzelne Karte */
.pain-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Der Hover-Effekt: Karte hebt sich leicht an */
.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    border-color: #CBD5E1;
}

/* Das Icon-Design */
.pain-icon {
    width: 60px;
    height: 60px;
    background: #EFF6FF; /* Hellblauer Hintergrund */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pain-icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand-blue); /* Das Icon selbst in deinem Brand-Blue */
}

/* Typografie in den Karten */
.pain-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 15px;
    color: var(--brand-text);
    line-height: 1.6;
}
/* ==========================================================================
   RESPONSIVE FIXES FÜR PC, TABLET & SMARTPHONE
   ========================================================================== */

/* 1. FEHLENDE GRIDS DEFINIEREN (Für PC & Tablet) */
.interactive-grid, 
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    text-align: center;
}

/* 2. TABLET- & SMARTPHONE-OPTIMIERUNG (bis 992px) */
@media (max-width: 992px) {
    
    /* Navbar: Buttons verkleinern und "Login" auf Handys ausblenden, um Platz zu sparen */
    .nav-actions {
        gap: 10px;
    }
    .btn-login {
        display: none; /* Login-Text auf kleinen Screens verstecken */
    }
    .btn-primary.btn-large {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    .nav-logo img {
        height: 45px !important; /* Logo etwas kleiner machen */
    }

    /* Hero: Die überhängenden Badges reparieren (verhindert horizontales Scrollen) */
    .badge-top-left {
        left: 10px !important;
        top: 10px !important;
        transform: scale(0.8);
    }
    .badge-bottom-right {
        right: 10px !important;
        bottom: 10px !important;
        transform: scale(0.8);
    }

    /* 3D-Bruch (Interactive Benefits): Margin anpassen, damit es nicht in den Text rutscht */
    .interactive-benefits {
        margin-top: -60px !important;
        padding-top: 60px !important;
        background-color: var(--brand-light) !important;
    }
}

/* 3. SMARTPHONE SPEZIFISCH (bis 768px) */
@media (max-width: 768px) {
    
    /* Zick-Zack Layout knallhart untereinander stapeln! */
    .feature-row {
        flex-direction: column !important;
        padding: 60px 5% !important;
        gap: 30px !important;
    }
    .feature-text, .feature-visual {
        flex: 1 1 100% !important; 
        max-width: 100% !important;
    }
    .feature-visual {
        margin-top: 20px;
    }
    
    /* Überschriften auf dem Handy etwas verkleinern */
    .hero h1 {
        font-size: 38px !important;
    }
    .section-title {
        font-size: 28px !important;
    }
    
    /* Demo Sektion anpassen */
    .demo-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .demo-text-side, .demo-card {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}
/* ==========================================================================
   SMARTPHONE-ZENTRIERUNG (Das Premium Mobile-Layout)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Hero-Sektion zentrieren */
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero p {
        text-align: center !important;
    }

    /* 2. Zick-Zack Features (Wareneingang, Lager etc.) zentrieren */
    .feature-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Die Listen mit den Häkchen: Block zentrieren, Text bleibt links! */
    .feature-list {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto 20px auto !important;
        max-width: 100% !important;
    }

    /* 3. Demo-Bereich ganz unten zentrieren */
    .demo-text-side {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .trust-points {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto !important;
    }

    /* 4. Preiskarten zentrieren */
    .price-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .price-features {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto 30px auto !important;
    }

    /* 5. Fußzeile (Footer) am Handy mittig setzen */
    .footer-column {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

.hero-visual video {
    transition: transform 1.5s ease;
    cursor: pointer;
}

.hero-visual video:hover {
    transform: scale(1.50); /* Zoomt das Video um 10% heraus */
    z-index: 50;
}