/* 
=========================================================
   AUTOANKAUF DÜSSELDORF - HIGH-WHITE 3D PREMIUM
=========================================================
*/

:root {
    /* Pure High-White Theme Colors */
    --primary-color: #1D4ED8; /* Premium Royal Blue */
    --primary-light: #EFF6FF; /* Very light blue background */
    --accent-color: #F59E0B; /* Warning/Action Amber */
    
    /* Absolute Whites */
    --ultra-white: #FFFFFF;
    --soft-gray: #F8FAFC;     /* Barely visible gray for sub-sections */
    --border-light: #E2E8F0;
    
    /* Text Colors */
    --text-main: #1E293B;     /* Deep Slate */
    --text-muted: #64748B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
    --gradient-danger: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    
    /* High-End Soft 3D Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 30px 60px rgba(29, 78, 216, 0.1);
    
    /* Button 3D Effect */
    --shadow-btn-3d: 
        0px 4px 0px 0px rgba(30, 64, 175, 1), 
        0px 10px 20px rgba(29, 78, 216, 0.3);
    
    --shadow-btn-3d-hover: 
        0px 2px 0px 0px rgba(30, 64, 175, 1), 
        0px 5px 10px rgba(29, 78, 216, 0.2);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--ultra-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.p-4 { padding: 1.5rem; }

/* Colors & Backgrounds */
.bg-ultra-white { background-color: var(--ultra-white); }
.bg-soft-gray { background-color: var(--soft-gray); }
.bg-primary { background-color: var(--primary-color); color: white; }
.bg-primary-light { background-color: var(--primary-light); }
.text-primary { color: var(--primary-color); }
.text-danger { color: #EF4444; }
.text-white { color: white !important; }

/* Gradients */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base 3D Card Style (Clean & White) */
.card-3d-white {
    background: var(--ultra-white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d-white:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(29, 78, 216, 0.3);
}

/* Glass Header */
.glass-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-muted);
}

.desktop-nav a:hover { color: var(--primary-color); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-shadow {
    box-shadow: var(--shadow-btn-3d);
    transform: translateY(0);
}

.btn-shadow:active {
    box-shadow: var(--shadow-btn-3d-hover);
    transform: translateY(3px);
}

.btn-huge {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 20px;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* 1. Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.05), transparent 50%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(29, 78, 216, 0.1);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}
.stars { color: #F59E0B; }

.hero-visual {
    flex: 1.1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Wrap the solid image in a beautiful frame instead of floating it */
.hero-image-frame {
    background: var(--ultra-white);
    padding: 10px;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    z-index: 2;
    max-width: 100%;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.stat-card {
    position: absolute;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stat-1 { top: -20px; left: -30px; }
.stat-2 { bottom: -20px; right: -20px; }

.icon-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.stat-info strong { display: block; font-size: 1.05rem; color: var(--text-main); }
.stat-info span { font-size: 0.85rem; color: var(--text-muted); }

/* Common Structural elements */
.section-header { margin-bottom: 50px; }
.section-title { font-size: 2.8rem; margin-bottom: 15px; }
.section-subtitle { font-size: 1.2rem; color: var(--text-muted); }

/* 2. Services Section */
.services-section { padding: 100px 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-icon {
    width: 70px; height: 70px;
    margin-bottom: 24px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); }

.seo-box-white {
    background: var(--ultra-white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
}
.seo-box-white strong { color: var(--primary-color); }

/* 3. Selling Section */
.selling-section { padding: 100px 0; }

.content-flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-image-half, .flex-content-half { flex: 1; }

.image-presentation {
    position: relative;
}

.decoration-circle {
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.rounded-presentation-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}

.lead { font-size: 1.2rem; color: var(--text-muted); }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.feature-list strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.feature-list span { color: var(--text-muted); font-size: 0.95rem; }

/* 4. Defective Section (High-White + Danger Accent) */
.defective-section { padding: 100px 0; }

.danger-pill { background: #FEF2F2; color: #EF4444; border-color: #FEE2E2; }
.border-danger-light { border-color: #FECACA; background: #FEF2F2; }
.border-red-glow { border: 8px solid white; box-shadow: 0 10px 40px rgba(239, 68, 68, 0.15); }

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.damage-tag {
    background: var(--ultra-white);
    border: 1px solid var(--border-light);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    box-shadow: var(--shadow-soft);
}
.damage-tag i { color: #EF4444; }

/* 5 & 6. Categories & Models */
.special-categories { padding: 100px 0; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cat-header i { font-size: 1.5rem; }
.cat-header h4 { font-size: 1.3rem; margin: 0; }

.text-green { color: #10B981; }
.text-orange { color: #F59E0B; }

.chip-container { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    background: var(--soft-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

.model-card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.model-icon-square {
    width: 60px; height: 60px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.model-card-content h4 { margin-bottom: 4px; font-size: 1.15rem; }
.model-card-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* 7. USP */
.usp-section { padding: 100px 0; }

.usp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.usp-item { padding: 30px 20px; text-align: center; }

.usp-icon-circle {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.usp-item h3 { font-size: 1.05rem; font-weight: 700; }

/* 8. Process */
.process-section { padding: 100px 0; }

.process-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.process-card {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 40px 30px;
}

.process-number {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--ultra-white);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0 20px;
}

.process-arrow {
    font-size: 2rem;
    color: var(--border-light);
}

/* 9. CTA Button Group */
.cta-section { padding: 100px 0; background: var(--ultra-white); }
.cta-box {
    background: var(--gradient-primary);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: var(--shadow-card-hover);
    position: relative;
    overflow: hidden;
}
.cta-blob {
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.cta-content { position: relative; z-index: 2; }
.cta-box h2 { font-size: 3rem; margin-bottom: 20px; color: white !important;}
.cta-box p { font-size: 1.2rem; color: rgba(255,255,255,0.9); }

.cta-button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* important for mobile! */
}

/* 10. Footer Light Theme */
.main-footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-light);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p { color: var(--text-muted); margin-top: 10px;}
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-main); }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary-color); }

.footer-contact li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 15px; color: var(--text-muted);
}
.footer-contact i { color: var(--primary-color); margin-top: 4px;}

.footer-seo {
    padding: 24px;
    background: var(--soft-gray);
    border-radius: 12px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.legal-links { display: flex; gap: 20px; }


/* =========================================================
   11. FORMULAR / PREMIUM GLASSMORPHISM
========================================================= */
.form-section {
    padding: 100px 0;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
}

.glassmorphism-2026 {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 2px 5px rgba(255, 255, 255, 1);
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.config-textarea i {
    top: 20px;
}

.input-icon-wrapper input,
.input-icon-wrapper select,
.input-icon-wrapper textarea {
    width: 100%;
    background: var(--ultra-white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 16px 20px 16px 55px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-icon-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-icon-wrapper select:required:invalid {
    color: var(--text-muted);
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus,
.input-icon-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
    background: var(--ultra-white);
}

.input-icon-wrapper input::placeholder,
.input-icon-wrapper textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Separator */
.separator-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator-line::before,
.separator-line::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}

.separator-line span {
    padding: 0 15px;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    color: var(--text-main);
    font-weight: 500;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    background-color: var(--ultra-white);
    border: 2px solid var(--border-light);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.alert-error {
    background-color: #FEF2F2;
    color: #EF4444;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #FECACA;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}


/* =========================================================
   MOBILE RESPONSIVENESS (SMARTPHONE "ORDNEN")
========================================================= */

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-container { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-2-col { gap: 40px; }
    .process-arrow { display: none; }
    .process-wrapper { gap: 15px; }
}

@media (max-width: 768px) {
    /* Container adjusts */
    .container { padding: 0 20px; }
    
    /* Header */
    .desktop-nav { display: none; } /* On mobile, we hide the desktop nav */
    .header-btn { padding: 10px 16px; font-size: 0.9rem; }
    .nav-container { height: 70px; }

    /* Sections */
    .hero-section, .services-section, .selling-section, .defective-section, .special-categories, .usp-section, .process-section, .cta-section {
        padding: 60px 0;
    }

    /* Typography */
    .section-title { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content { margin-bottom: 40px; text-align: center; }
    .hero-actions { align-items: center; }

    /* Stack Grids and Flex Rows */
    .hero-container, .content-flex-row, .grid-2-col, .footer-layout {
        flex-direction: column;
        display: flex;
        gap: 40px;
    }

    /* Form Mobile */
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
    .w-100-mobile {
        width: 100%;
    }

    /* Process Wrapper fix */
    .process-wrapper {
        flex-direction: column;
    }

    /* Reverse Mobile Columns */
    .reverse-mobile {
        flex-direction: column-reverse;
    }

    /* Special Elements fixing overlapping */
    .hero-image-frame { max-width: 100%; }
    
    /* Position Stat Cards statically on mobile so they don't break layout */
    .stat-card {
        position: relative;
        inset: auto; /* Reset absolute positions */
        margin: 10px auto;
        transform: none;
        width: 100%;
        max-width: 320px;
    }
    
    .stat-1, .stat-2 {
        top: auto; left: auto; bottom: auto; right: auto;
    }

    /* Arrays / Columns down to 1 */
    .services-grid, .usp-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 50px 20px;
    }
    
    .cta-box h2 {
        font-size: 2.2rem;
    }

    /* Buttons full width on mobile */
    .cta-button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button-group .btn {
        width: 100%;
        margin-left: 0;
    }

    /* Footer adjustments */
    .footer-layout {
        text-align: center;
        gap: 30px;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-contact ul li {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
