

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Modal Container */
.modal-container {
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #00FFCC 0%, #03c69f 100%);
    color: white;
    padding: 28px 32px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: white;
}

.modal-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-modal:hover {
    opacity: 1;
}

/* Modal Body */
.modal-body {
    padding: 32px;
    background: white;
}

/* Formular Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.75rem;
    color: #4b5563;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group a {
    color: #667eea;
    text-decoration: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #00FFCC 0%, #07f6c6 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(102,126,234,0.4);
}

/* Datenschutz Hinweis */
.privacy-note {
    text-align: center;
    font-size: 0.65rem;
    color: #9ca3af;
    margin-top: 16px;
}

.privacy-note a {
    color: #667eea;
    text-decoration: none;
}

/* 2-Spalten Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .modal-body {
        padding: 24px;
    }
    .modal-header {
        padding: 20px 24px;
    }
    .modal-header h2 {
        font-size: 1.4rem;
    }
}

    

/* ========== NAVIGATION MODERN ========== */
.navbar-modern {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #111827, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dropdown Container */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-btn:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

.dropdown-btn i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-btn i {
    transform: rotate(180deg);
}

/* Mega Menu - ALLE gehen NACH UNTEN (zentriert) */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    min-width: 700px;
    padding: 24px;
    z-index: 100;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Branchen Grid */
.branchen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.branchen-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #1f2937;
    border-radius: 12px;
    transition: all 0.2s;
}

.branchen-item:hover {
    background: #f3f4f6;
}

.branchen-icon {
    font-size: 1.2rem;
}

.branchen-name {
    font-weight: 500;
    font-size: 0.85rem;
}

.mehr-link {
    margin-top: 12px;
    text-align: center;
}

.mehr-link a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Produkte Menu */
.produkt-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #1f2937;
    border-radius: 12px;
    transition: all 0.2s;
}

.produkt-item:hover {
    background: #f3f4f6;
}

.produkt-icon {
    font-size: 1.5rem;
}

.produkt-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.produkt-info p {
    font-size: 0.7rem;
    color: #6b7280;
}

/* Rechtliches Menu */
.rechtliches-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rechtliches-menu a {
    padding: 8px 0;
    text-decoration: none;
    color: #1f2937;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.rechtliches-menu a:hover {
    color: #3b82f6;
}

/* CTA Button */
.nav-cta {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-left: 16px;
}
.nav-cta2 {
    background: linear-gradient(135deg, #00FFCC, #14f8ca);
    color: black;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-left: 16px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.nav-cta2:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 85%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: 0.3s;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .mega-menu {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0 0 0 20px;
    }
    
    .dropdown.active .mega-menu {
        display: block;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-cta {
        margin: 16px 0 0;
        text-align: center;
        display: inline-block;
        width: auto;
    }
    .nav-cta2 {
        margin: 16px 0 0;
        text-align: center;
        display: inline-block;
        width: auto;
    }
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

    

        /* ========== RESET & GRUNDLAGEN ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: #ffffff;
            color: #111827;
            line-height: 1.5;
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== TYPOGRAPHIE ========== */
        h1, h2, h3 {
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
        }

        h2 {
            font-size: 2.25rem;
            margin-bottom: 1rem;
        }

        .text-large {
            font-size: 1.125rem;
            color: #4b5563;
        }

        /* ========== BUTTONS ========== */
        .btn-demo {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fef9c3;
            border: 1px solid #eab308;
            color: #854d0e;
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 500;
            font-size: 0.9rem;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-demo:hover {
            background: #fde047;
            border-color: #ca8a04;
            transform: translateY(-2px);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.875rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 9999px;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: #111827;
            color: white;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        .btn-primary:hover {
            background: #1f2937;
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            color: #111827;
            border: 1px solid #e5e7eb;
        }

        .btn-outline:hover {
            background: #f9fafb;
            border-color: #d1d5db;
        }

        /* ========== NAVIGATION ========== */
        .navbar {
            padding: 1.5rem 0;
            border-bottom: 1px solid #f3f4f6;
        }

        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #111827, #3b82f6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        /* ========== HERO ========== */
        .hero {
            padding: 4rem 0 5rem;
            text-align: center;
        }

        .hero-badge {
            display: inline-block;
            background: #eff6ff;
            color: #1e40af;
            padding: 0.25rem 1rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }

        .hero .text-large {
            max-width: 600px;
            margin: 1.5rem auto 2rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ========== FEATURE GRID ========== */
        .features {
            padding: 4rem 0;
            background: #f9fafb;
            border-radius: 2rem;
            margin: 2rem 0;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background: white;
            padding: 1.5rem;
            border-radius: 1.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .feature-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .feature-card p {
            color: #6b7280;
            font-size: 0.875rem;
        }

        /* ========== PREISKARTEN ========== */
        .pricing {
            padding: 4rem 0;
            text-align: center;
        }

        .pricing-grid {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .pricing-card {
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 1.5rem;
            padding: 2rem;
            width: 100%;
            max-width: 320px;
            transition: all 0.2s;
            text-align: left;
        }

        .pricing-card.popular {
            border-color: #3b82f6;
            box-shadow: 0 10px 25px -5px rgba(59,130,246,0.1);
            position: relative;
        }

        .popular-badge {
            position: absolute;
            top: -0.75rem;
            left: 1.5rem;
            background: #3b82f6;
            color: white;
            padding: 0.25rem 1rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .pricing-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .price {
            font-size: 2.5rem;
            font-weight: 800;
            margin: 1rem 0 0.25rem;
        }

        .price small {
            font-size: 0.875rem;
            font-weight: 400;
            color: #6b7280;
        }

        .price-note {
            font-size: 0.75rem;
            color: #6b7280;
            margin-bottom: 1.5rem;
        }

        .feature-list {
            list-style: none;
            margin: 1.5rem 0;
        }

        .feature-list li {
            padding: 0.5rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
        }

        .feature-list li::before {
            content: "✓";
            color: #10b981;
            font-weight: bold;
        }

        /* ========== TESTIMONIALS ========== */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .testimonial-card {
            background: white;
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.2s;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
        }

        .testimonial-text {
            font-size: 1rem;
            line-height: 1.5;
            color: #334155;
            margin-bottom: 20px;
            font-style: italic;
        }

        .testimonial-author {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .testimonial-stars {
            color: #fbbf24;
            font-size: 1rem;
            letter-spacing: 2px;
        }

        /* ========== CTA ========== */
        .cta {
            text-align: center;
            padding: 4rem 0;
        }

        /* ========== FOOTER ========== */
        /* Footer Styles */
.footer {
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 16px 0 12px;
    flex-wrap: wrap;
}

.footer-toggle {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px 8px;
    text-decoration: underline;
    transition: all 0.2s;
}

.footer-toggle:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.footer-text {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 16px;
    font-size: 0.75rem;
    text-align: left;
    color: #4b5563;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-text.show {
    display: block;
}

.footer-text p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-text p:last-child {
    margin-bottom: 0;
}

.footer-text strong {
    color: #1f2937;
}

        .impressum-toggle {
            cursor: pointer;
            color: #3b82f6;
            text-decoration: underline;
            background: none;
            border: none;
            font-size: 0.75rem;
            margin-top: 0.5rem;
        }

        .impressum-text {
            display: none;
            margin-top: 1rem;
            padding: 1rem;
            background: #f9fafb;
            border-radius: 1rem;
            font-size: 0.75rem;
            text-align: left;
            color: #4b5563;
        }

        .impressum-text.show {
            display: block;
        }

        @media (max-width: 768px) {
            h1 { font-size: 2.25rem; }
            h2 { font-size: 1.75rem; }
            .hero { padding: 2rem 0 3rem; }
            .features { padding: 2rem 0; }
            .pricing { padding: 2rem 0; }
            .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
        }
