
 .fa-lg {
  font-size: 30;
  line-height: .05em;
  vertical-align: -.075em;
}
       /* RESET - ganz wichtig */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER IMMER FIXIERT */
.modern-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transform: none !important;      /* Verhindert Verstecken */
    transition: none !important;     /* Keine Animationen */
}

/* BODY ANPASSUNG */
body {
    padding-top: 50px !important;   /* Platz für Header */
}

@media (max-width: 767px) {
    body {
        padding-top: 20px !important; /* Weniger Platz auf Mobile */
    }
}
        /* Body-Padding um den Header-Platz zu schaffen */
        body.with-fixed-header {
            padding-top: 60px; /* Anpassen je nach Header-Höhe */
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            min-height: 60px; /* Mindesthöhe für den Header */
        }

        .logo-section a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo-section img {
            height: 2.5rem;
            max-height: 3rem;
            width: auto;
        }

        /* Desktop Navigation */
        .desktop-nav {
            display: none;
            align-items: center;
            gap: 1rem;
			font-size: 120%;
        }

        .nav-item {
            position: relative;
            display: inline-block;
        }

        .nav-link {
            color: #4b5563;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 0.75rem;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: #2563eb;
            background-color: #f3f4f6;
        }

        /* Dropdown-Menü */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border-radius: 0.375rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            min-width: 12rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease;
            z-index: 50;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: block;
            padding: 0.5rem 1rem;
            color: #374151;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }

        .dropdown-item:hover {
            background-color: #2563eb;
            color: white;
        }

        /* Warenkorb-Icon */
        .cart-container {
            position: relative;
            cursor: pointer;
            color: #4b5563;
            padding: 0.5rem 0.75rem;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .cart-container:hover {
            color: #2563eb;
            background-color: #f3f4f6;
        }

        .cart-badge {
            position: absolute;
            top: 0.25rem;
            right: 0.25rem;
            background: #ef4444;
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 0.125rem 0.375rem;
            border-radius: 9999px;
            min-width: 1.25rem;
            text-align: center;
            line-height: 1;
        }

        /* Mobile Header */
        .mobile-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .mobile-cart {
            position: relative;
            cursor: pointer;
            color: #4b5563;
            padding: 0.5rem;
            margin-right: 0.5rem;
        }

        .mobile-cart:hover {
            color: #2563eb;
        }

        .mobile-cart .cart-badge {
            position: absolute;
            top: -0.25rem;
            right: -0.25rem;
            background: #ef4444;
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 0.125rem 0.25rem;
            border-radius: 9999px;
        }

        .mobile-menu-button {
            color: #4b5563;
            background: none;
            border: none;
            font-size: 1.25rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-button:hover {
            color: #2563eb;
        }

        /* Mobile Navigation */
        .mobile-nav {
            display: none;
            background: white;
            border-top: 1px solid #e5e7eb;
            padding: 1rem 0;
        }

        .mobile-nav.open {
            display: block;
        }

        .mobile-nav-item {
            display: block;
            padding: 0.75rem 1rem;
            color: #4b5563;
            text-decoration: none;
            font-weight: 500;
            border-bottom: 1px solid #f3f4f6;
            transition: all 0.2s ease;
        }

        .mobile-nav-item:hover {
            background-color: #eff6ff;
            color: #2563eb;
        }

        .language-select {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            background: white;
            color: #374151;
            margin: 0.5rem 1rem;
        }

        /* Content Bereich - um zu zeigen, dass der Header fixiert ist */
        .content {
            padding: 2rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content-section {
            background: white;
            padding: 2rem;
            margin: 1rem 0;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* Responsive Design */
        @media (min-width: 768px) {
            .desktop-nav {
                display: flex;
            }
            
            .mobile-header {
                display: none;
            }
            
            .logo-section img {
                height: 3rem;
            }

            body.with-fixed-header {
                padding-top: 90px; /* Größerer Padding für Desktop */
            }
        }

        @media (max-width: 767px) {
            .header-container {
                padding: 0 0.5rem;
            }
            
            .header-content {
                padding: 0.5rem 0;
                min-height: 50px;
            }
            
            .logo-section img {
                height: 2rem;
            }

            body.with-fixed-header {
                padding-top: 60px; /* Kleinerer Padding für Mobile */
            }
        }
		
		 .vehicles-container {
            background: #f8fafc;
            padding: 2rem 1rem;
            border-radius: 12px;
            margin: 1rem 0;
        }

        .vehicles-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .vehicles-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .vehicles-subtitle {
            color: #64748b;
            font-size: 1rem;
        }

        /* Grid Layout für Fahrzeuge */
        .vehicles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Mobile optimiert */
        @media (max-width: 768px) {
            .vehicles-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .vehicles-container {
                padding: 1rem 0.5rem;
            }
            
            .vehicles-title {
                font-size: 1.5rem;
            }
        }

        /* Fahrzeug Card */
        .vehicle-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            position: relative;
        }

        .vehicle-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Bild Container */
        .vehicle-image-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
        }

        .vehicle-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .vehicle-card:hover .vehicle-image {
            transform: scale(1.05);
        }

        /* Verfügbarkeits-Badge */
        .availability-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #10b981;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Content Bereich */
        .vehicle-content {
            padding: 1.5rem;
        }

        .vehicle-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .vehicle-details {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .detail-tag {
            background: #e0f2fe;
            color: #0369a1;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        /* Action Button */
        .vehicle-action {
            width: 100%;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            border: none;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .vehicle-action:hover {
            background: linear-gradient(135deg, #1d4ed8, #1e40af);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        .action-icon {
            width: 18px;
            height: 18px;
        }

        /* Placeholder für leere Bilder */
        .image-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            color: #64748b;
            font-size: 3rem;
        }

        /* Loading Animation */
        .loading-shimmer {
            background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* Responsives Design */
        @media (max-width: 640px) {
            .vehicle-content {
                padding: 1rem;
            }
            
            .vehicle-title {
                font-size: 1.1rem;
            }
            
            .vehicle-image-container {
                height: 160px;
            }
        }
 .warenkorb-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.warenkorb-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

.warenkorb-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.warenkorb-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.warenkorb-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.warenkorb-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.warenkorb-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    max-height: 50vh;
}

.warenkorb-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.warenkorb-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.warenkorb-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.warenkorb-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.warenkorb-item-info {
    flex-grow: 1;
}

.warenkorb-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.warenkorb-item-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

.warenkorb-item-remove {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.warenkorb-item-remove:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.btn-warenkorb-kasse {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-warenkorb-kasse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.warenkorb-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.warenkorb-empty {
    text-align: center;
    padding: 40px;
    color: #666;
}

.warenkorb-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.warenkorb-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.warenkorb-summary-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #e74c3c;
    border-top: 1px solid #ddd;
    padding-top: 8px;
}

/* Pulsing Animation für Warenkorb-Badge */
.cart-badge-pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .warenkorb-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .warenkorb-item {
        flex-direction: column;
        text-align: center;
    }
    
    .warenkorb-item img {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

/* Animation für Mobile Menu Icon */
.mobile-menu-button i {
    transition: transform 0.3s ease;
}

.mobile-menu-button.active i {
    transform: rotate(90deg);
}

/* Smooth animations für Mobile Nav */
.mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
    max-height: 500px;
    opacity: 1;
}


.menu-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    overflow: visible;
    position: relative;
}

/* HSN/TSN Container */
.hsn-tsn-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.hsn-tsn-input {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.hsn-tsn-input input {
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    flex: 1;
    min-width: 120px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.hsn-tsn-input input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.hsn-tsn-button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hsn-tsn-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.separator {
    text-align: center;
    font-weight: bold;
    color: #6c757d;
    margin: 15px 0;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #dee2e6;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

/* Neue Auswahlleiste */
.selection-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    position: relative;
    align-items: center;
    z-index: 1;
    overflow: visible;
}

.reset-container-inline {
    margin-right: 15px;
}

.reset-button-small {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    color: white;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reset-button-small:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);
}

.selection-item {
    position: relative;
    min-width: 140px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 200px;
    user-select: none;
}

.selection-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.selection-item.active {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.selection-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #e9ecef;
}

.selection-item.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.selection-item.dropdown-open {
    border-color: #007bff;
    background: #e3f2fd;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 9998;
    position: relative;
}

.selection-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px 4px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    user-select: none;
    pointer-events: none;
}

.selection-value {
    padding: 8px 12px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    pointer-events: none;
}

.arrow-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.selection-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #007bff;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    min-width: 100%;
    max-width: 300px;
}

.selection-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
    z-index: 10000;
    position: absolute;
    background: white;
    border: 2px solid #007bff;
    border-top: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-dropdown select {
    width: 100%;
    padding: 12px;
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    max-height: 200px;
    pointer-events: all;
    user-select: auto;
}

.selection-dropdown select option {
    padding: 8px 12px;
    transition: background-color 0.2s ease;
}

.selection-dropdown select option:hover {
    background-color: #e3f2fd;
}

.selection-dropdown select option.rot {
    color: #dc3545;
    font-weight: bold;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .selection-bar {
        flex-direction: column;
        gap: 5px;
        overflow: visible;
    }
    
    .selection-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .selection-dropdown {
        left: 0;
        right: 0;
        max-width: none;
        width: 100%;
    }
    
    .hsn-tsn-input {
        //flex-direction: column;
        gap: 10px;
    }
    
    .hsn-tsn-input input {
        width: 30%;
    }
    
    /* Mobile: Verstecke nicht aktive Items initial */
    .selection-item:not(.active):not(#markeItem) {
        display: none;
    }
}

@media (min-width: 769px) {
    .selection-bar {
        flex-wrap: nowrap;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .selection-item {
        flex: 0 0 auto;
        min-width: 140px;
        position: relative;
    }
    
    /* Desktop: Dropdown-Positionierung anpassen je nach Position */
    .selection-item:nth-last-child(-n+2) .selection-dropdown {
        left: auto;
        right: 0;
        min-width: 200px;
    }
}

/* Scrollbar für Dropdown */
.selection-dropdown::-webkit-scrollbar {
    width: 6px;
}

.selection-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.selection-dropdown::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.selection-dropdown::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Loading States */
.loading .selection-item {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading .selection-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Improved hover effects */
.selection-item:not(.disabled):hover .selection-label {
    color: #007bff;
}

.selection-item:not(.disabled):hover .arrow-indicator {
    color: #007bff;
    transform: translateY(-50%) scale(1.2);
}

/* Focus states for accessibility */
.selection-item:focus,
.selection-dropdown select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Smooth transitions for all interactions */
* {
    transition: all 0.2s ease;
}

/* Verbesserte Klick-Erfahrung */
.selection-item:not(.disabled):active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

    /* Reset und Base Styles mit hoher Spezifität */
        .highline-modern-article * {
            box-sizing: border-box !important;
        }

        .highline-modern-article {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
            background: white !important;
            border-radius: 16px !important;
            overflow: hidden !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
            margin: 2rem auto !important;
            max-width: 1200px !important;
            width: 100% !important;
            position: relative !important;
            z-index: 1 !important;
        }

        /* Desktop-first Galerie */
        .highline-gallery-section {
            position: relative !important;
            background: #f8f9fa !important;
            //min-height: 500px !important;
        }

        .highline-gallery-main {
            display: flex !important;
            height: 500px !important;
        }

        .highline-thumbnail-sidebar {
            width: 120px !important;
            background: white !important;
            border-right: 1px solid #e9ecef !important;
            overflow-y: auto !important;
            padding: 1rem 0.5rem !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 0.5rem !important;
        }

        .highline-thumbnail-item {
            width: 100px !important;
            height: 100px !important;
            border-radius: 8px !important;
            overflow: hidden !important;
            cursor: pointer !important;
            border: 3px solid transparent !important;
            transition: all 0.3s ease !important;
            position: relative !important;
        }

        .highline-thumbnail-item.active {
            border-color: #4a90e2 !important;
            transform: scale(1.05) !important;
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3) !important;
        }

        .highline-thumbnail-item img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

        .highline-thumbnail-counter {
            position: absolute !important;
            top: 4px !important;
            right: 4px !important;
            background: rgba(0,0,0,0.8) !important;
            color: white !important;
            font-size: 11px !important;
            padding: 2px 6px !important;
            border-radius: 4px !important;
            font-weight: bold !important;
        }

        .highline-main-gallery {
            flex: 1 !important;
            position: relative !important;
            overflow: hidden !important;
            background: white !important;
        }

      .highline-gallery-viewport {
    display: flex !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    height: 100% !important;
    /* ENTFERNT: touch-action: pan-y pinch-zoom !important; */
    /* NEU: Bessere Touch-Behandlung */
    touch-action: manipulation !important;
}

        .highline-gallery-slide {
            min-width: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            position: relative !important;
            background: white !important;
            padding: 20px !important;
        }

        .highline-gallery-slide img {
            max-width: 95% !important;
            max-height: 95% !important;
            object-fit: contain !important;
            cursor: zoom-in !important;
            transition: transform 0.3s ease !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        }

        .highline-gallery-slide img.zoomed {
            cursor: zoom-out !important;
            transform: scale(2.5) !important;
            z-index: 1000 !important;
            position: relative !important;
        }

        /* Navigation Buttons */
        .highline-gallery-nav {
            position: absolute !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            background: rgba(0,0,0,0.7) !important;
            color: white !important;
            border: none !important;
            width: 50px !important;
            height: 50px !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            font-size: 20px !important;
            z-index: 100 !important;
            opacity: 0 !important;
            transition: all 0.3s ease !important;
            backdrop-filter: blur(10px) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .highline-gallery-nav:hover {
            background: rgba(0,0,0,0.9) !important;
            transform: translateY(-50%) scale(1.1) !important;
        }

        .highline-gallery-nav.prev {
            left: 1rem !important;
        }

        .highline-gallery-nav.next {
            right: 1rem !important;
        }

        .highline-main-gallery:hover .highline-gallery-nav {
            opacity: 1 !important;
        }

        /* Controls */
        .highline-gallery-controls {
            position: absolute !important;
            top: 1rem !important;
            right: 1rem !important;
            display: flex !important;
            gap: 0.5rem !important;
            z-index: 200 !important;
        }

        .highline-control-button {
            background: rgba(0,0,0,0.7) !important;
            color: white !important;
            border: none !important;
            width: 44px !important;
            height: 44px !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            font-size: 16px !important;
            transition: all 0.3s ease !important;
            backdrop-filter: blur(10px) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .highline-control-button:hover {
            background: rgba(0,0,0,0.9) !important;
            transform: scale(1.1) !important;
        }

        /* Content Bereich */
        .highline-article-content {
            padding: 2rem !important;
        }

        .highline-article-title {
            font-size: 1.8rem !important;
            font-weight: 700 !important;
            color: #333 !important;
            margin-bottom: 1rem !important;
            line-height: 1.3 !important;
        }

        .highline-article-meta {
            display: flex !important;
            gap: 1rem !important;
            color: #666 !important;
            font-size: 0.9rem !important;
            margin-bottom: 1.5rem !important;
            flex-wrap: wrap !important;
        }

        .highline-meta-item {
            display: flex !important;
            align-items: center !important;
            gap: 0.5rem !important;
        }

        /* Preis Sektion */
        .highline-price-section {
            background: linear-gradient(135deg, #4a90e2, #357abd) !important;
            color: white !important;
            padding: 2rem !important;
            border-radius: 16px !important;
            margin: 2rem 0 !important;
            text-align: center !important;
            position: relative !important;
            overflow: hidden !important;
        }

        .highline-price-display {
            font-size: 2.5rem !important;
            font-weight: 700 !important;
            margin-bottom: 0.5rem !important;
            position: relative !important;
            z-index: 1 !important;
        }

        .highline-shipping-details {
            font-size: 1rem !important;
            opacity: 0.9 !important;
            margin-bottom: 1.5rem !important;
            position: relative !important;
            z-index: 1 !important;
        }

        .highline-action-buttons {
            display: flex !important;
            gap: 1rem !important;
            justify-content: center !important;
            position: relative !important;
            z-index: 1 !important;
            flex-wrap: wrap !important;
        }

        .highline-action-btn {
            padding: 1rem 2rem !important;
            border: none !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
            font-size: 1rem !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            display: flex !important;
            align-items: center !important;
            gap: 0.5rem !important;
            text-decoration: none !important;
            min-width: 200px !important;
            justify-content: center !important;
        }

        .highline-btn-cart {
            background: white !important;
            color: #4a90e2 !important;
        }

        .highline-btn-cart:hover {
            background: #f8f9fa !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
        }

        .highline-btn-question {
            background: rgba(255,255,255,0.2) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .highline-btn-question:hover {
            background: white !important;
            color: #4a90e2 !important;
        }

        /* Tab Navigation */
        .highline-content-tabs {
            margin-bottom: 2rem !important;
        }

        .highline-tab-navigation {
            display: flex !important;
            border-bottom: 2px solid #f0f0f0 !important;
            gap: 0 !important;
            overflow-x: auto !important;
            margin-bottom: 1.5rem !important;
        }

        .highline-tab-nav-item {
            padding: 1rem 1.5rem !important;
            border: none !important;
            background: none !important;
            cursor: pointer !important;
            font-weight: 500 !important;
            color: #666 !important;
            transition: all 0.3s ease !important;
            white-space: nowrap !important;
            position: relative !important;
            font-size: 0.8rem !important;
        }

        .highline-tab-nav-item.active {
            color: #4a90e2 !important;
        }

        .highline-tab-nav-item.active::after {
            content: "" !important;
            position: absolute !important;
            bottom: -2px !important;
            left: 0 !important;
            right: 0 !important;
            height: 3px !important;
            background: #4a90e2 !important;
            border-radius: 2px 2px 0 0 !important;
        }

        .highline-tab-panel {
            padding: 1.5rem 0 !important;
            display: none !important;
        }

        .highline-tab-panel.active {
            display: block !important;
        }

        /* Specs Grid */
        .highline-specs-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
            gap: 1.5rem !important;
            margin: 1rem 0 !important;
        }

        .highline-specs-table {
            background: #f8f9fa !important;
            border-radius: 12px !important;
            padding: 1.5rem !important;
        }

        .highline-specs-table h4 {
            margin-bottom: 1rem !important;
            color: #333 !important;
            font-weight: 600 !important;
            font-size: 1.1rem !important;
        }

        .highline-specs-row {
            display: flex !important;
            justify-content: space-between !important;
            padding: 0.75rem 0 !important;
            border-bottom: 1px solid #e9ecef !important;
        }

        .highline-specs-row:last-child {
            border-bottom: none !important;
        }

        .highline-specs-label {
            font-weight: 500 !important;
            color: #666 !important;
        }

        .highline-specs-value {
            color: #333 !important;
            text-align: right !important;
        }

        /* Video Spezifische Styles */
        .highline-gallery-slide video {
            max-width: 95% !important;
            max-height: 95% !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
            background: #000 !important;
        }

        .highline-video-overlay {
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) !important;
            background: rgba(0,0,0,0.8) !important;
            color: white !important;
            padding: 1rem 2rem !important;
            border-radius: 8px !important;
            font-size: 1.2rem !important;
            pointer-events: none !important;
            z-index: 10 !important;
            opacity: 0 !important;
            transition: opacity 0.3s ease !important;
        }

        .highline-gallery-slide:hover .highline-video-overlay {
            opacity: 1 !important;
        }

        .highline-thumbnail-video-indicator {
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) !important;
            background: rgba(0,0,0,0.8) !important;
            color: white !important;
            font-size: 20px !important;
            width: 40px !important;
            height: 40px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            pointer-events: none !important;
        }

        /* Video Controls anpassen */
        .highline-gallery-slide video::-webkit-media-controls-panel {
            background: rgba(0,0,0,0.8) !important;
        }

        .highline-gallery-slide video::-webkit-media-controls-play-button,
        .highline-gallery-slide video::-webkit-media-controls-volume-slider,
        .highline-gallery-slide video::-webkit-media-controls-timeline {
            filter: invert(1) !important;
        }
        @media (max-width: 768px) {
            .highline-gallery-main {
                flex-direction: column !important;
                height: auto !important;
            }

            .highline-thumbnail-sidebar {
                width: 100% !important;
                height: 100px !important;
                flex-direction: row !important;
                overflow-x: auto !important;
                border-right: none !important;
                border-bottom: 1px solid #e9ecef !important;
                padding: 0.5rem !important;
            }

            .highline-thumbnail-item {
                min-width: 80px !important;
                width: 80px !important;
                height: 80px !important;
            }

            .highline-main-gallery {
                height: 400px !important;
            }

            .highline-gallery-controls {
                top: 0.5rem !important;
                right: 0.5rem !important;
            }

            .highline-control-button {
                width: 40px !important;
                height: 40px !important;
                font-size: 14px !important;
            }

            .highline-article-content {
                padding: 1.5rem !important;
            }

            .highline-article-title {
                font-size: 1.5rem !important;
            }

            .highline-price-display {
                font-size: 2rem !important;
            }

            .highline-action-buttons {
                flex-direction: column !important;
            }

            .highline-action-btn {
                min-width: 100% !important;
            }

            .highline-specs-grid {
                grid-template-columns: 1fr !important;
            }

            .highline-article-meta {
                flex-direction: column !important;
                gap: 0.5rem !important;
            }
        }
		
		
		/* Mobile Optimierungen für Artikel-Anzeige */

/* Basis-Container anpassen */
.highline-modern-article {
    margin: 1rem auto !important;
    max-width: 100% !important;
    width: calc(100% - 2rem) !important;
}

/* Mobile Media Queries erweitern */
@media (max-width: 480px) {
    .highline-modern-article {
        margin: 0.5rem auto !important;
        width: calc(100% - 1rem) !important;
        border-radius: 12px !important;
    }

    .highline-gallery-main {
        flex-direction: column !important;
        height: auto !important;
    }

    .highline-thumbnail-sidebar {
        width: 100% !important;
        height: 80px !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border-right: none !important;
        border-bottom: 1px solid #e9ecef !important;
        padding: 0.5rem !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
    }

    .highline-thumbnail-sidebar::-webkit-scrollbar {
        display: none !important; /* Chrome/Safari */
    }

    .highline-thumbnail-item {
        min-width: 60px !important;
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
    }

    .highline-thumbnail-counter {
        font-size: 9px !important;
        padding: 1px 4px !important;
        top: 2px !important;
        right: 2px !important;
    }

    .highline-thumbnail-video-indicator {
        font-size: 16px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .highline-main-gallery {
        height: 300px !important;
        min-height: 300px !important;
    }

    .highline-gallery-slide {
        padding: 10px !important;
    }

    .highline-gallery-slide img,
    .highline-gallery-slide video {
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .highline-gallery-controls {
        top: 0.25rem !important;
        right: 0.25rem !important;
        gap: 0.25rem !important;
    }

    .highline-control-button {
        width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
    }

    .highline-gallery-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .highline-gallery-nav.prev {
        left: 0.5rem !important;
    }

    .highline-gallery-nav.next {
        right: 0.5rem !important;
    }

    /* Content Anpassungen */
    .highline-article-content {
        padding: 1rem !important;
    }

    .highline-article-title {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    .highline-article-meta {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .highline-meta-item {
        font-size: 0.85rem !important;
    }

    /* Preis-Sektion */
    .highline-price-section {
        padding: 1.5rem 1rem !important;
        margin: 1.5rem 0 !important;
    }

    .highline-price-display {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .highline-shipping-details {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .highline-action-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .highline-action-btn {
        min-width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* Tab Navigation */
    .highline-tab-navigation {
        gap: 0 !important;
        margin-bottom: 1rem !important;
    }

    .highline-tab-nav-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.6rem !important;
        min-width: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }

    .highline-tab-panel {
        padding: 1rem 0 !important;
    }

    /* Specs Grid */
    .highline-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .highline-specs-table {
        padding: 1rem !important;
    }

    .highline-specs-table h4 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .highline-specs-row {
        padding: 0.5rem 0 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.25rem !important;
    }

    .highline-specs-label {
        font-size: 0.85rem !important;
    }

    .highline-specs-value {
        font-size: 0.9rem !important;
        text-align: left !important;
        font-weight: 600 !important;
    }
}

/* Noch kleinere Bildschirme */
@media (max-width: 360px) {
    .highline-modern-article {
        width: calc(100% - 0.5rem) !important;
        margin: 0.25rem auto !important;
    }

    .highline-article-content {
        padding: 0.75rem !important;
    }

    .highline-article-title {
        font-size: 1.1rem !important;
    }

    .highline-price-section {
        padding: 1rem 0.75rem !important;
    }

    .highline-price-display {
        font-size: 1.75rem !important;
    }

    .highline-main-gallery {
        height: 250px !important;
    }

    .highline-thumbnail-item {
        min-width: 50px !important;
        width: 50px !important;
        height: 50px !important;
    }

    .highline-thumbnail-sidebar {
        height: 70px !important;
    }

    .highline-tab-nav-item {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
}

/* Landscape Modus für kleine Geräte */
@media (max-width: 480px) and (orientation: landscape) {
    .highline-main-gallery {
        height: 200px !important;
    }

    .highline-thumbnail-sidebar {
        height: 60px !important;
    }

    .highline-thumbnail-item {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Touch-spezifische Verbesserungen */
@media (pointer: coarse) {
    .highline-thumbnail-item {
        border-width: 2px !important;
    }

    .highline-gallery-nav,
    .highline-control-button {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .highline-tab-nav-item {
        min-height: 44px !important;
    }
}

/* Container-Query Support für moderne Browser */
@supports (container-type: inline-size) {
    .highline-modern-article {
        container-type: inline-size !important;
    }

    @container (max-width: 400px) {
        .highline-specs-grid {
            grid-template-columns: 1fr !important;
        }
        
        .highline-action-buttons {
            flex-direction: column !important;
        }
    }
}

/* Accessibility Verbesserungen */
@media (prefers-reduced-motion: reduce) {
    .highline-gallery-viewport,
    .highline-thumbnail-item,
    .highline-action-btn,
    .highline-gallery-nav,
    .highline-control-button {
        transition: none !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .highline-thumbnail-item img {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* Zusätzliche Viewport-spezifische Anpassungen */
@media (max-width: 400px) {
    /* Spezielle Regeln für sehr kleine Bildschirme */
    .highline-modern-article {
        box-shadow: none !important;
        border-radius: 8px !important;
    }

    .highline-gallery-section {
        border-radius: 8px 8px 0 0 !important;
    }

    .highline-article-content {
        border-radius: 0 0 8px 8px !important;
    }

    /* Text lesbar halten */
    .highline-specs-label,
    .highline-specs-value {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    /* Buttons touch-friendly */
    .highline-action-btn {
        min-height: 48px !important;
        font-size: 0.85rem !important;
    }
}

* Mobile-spezifische Verbesserungen */
@media (max-width: 768px) {
    /* Galerie-Container: Scrolling erlauben */
    .highline-gallery-viewport {
        touch-action: auto !important;
        overflow: visible !important;
    }
    
    /* Hauptgalerie: Touch-Events nicht blockieren */
    .highline-main-gallery {
        touch-action: auto !important;
        overflow: visible !important;
    }
    
    /* Slides: Natürliches Scrolling */
    .highline-gallery-slide {
        touch-action: auto !important;
        overflow: visible !important;
    }
    
    /* Bilder: Zoom-Funktionalität deaktivieren auf Mobile */
    .highline-gallery-slide img {
        cursor: default !important;
        touch-action: auto !important;
    }
    
    /* Zoom-Funktion auf Mobile deaktivieren */
    .highline-gallery-slide img.zoomed {
        transform: none !important;
        cursor: default !important;
    }
}

/* Alternative: Komplett neue Mobile-Behandlung */
@media (max-width: 768px) and (pointer: coarse) {
    /* Für Touch-Geräte: Alle Touch-Beschränkungen aufheben */
    .highline-gallery-section,
    .highline-gallery-main,
    .highline-gallery-viewport,
    .highline-gallery-slide,
    .highline-gallery-slide img,
    .highline-gallery-slide video {
        touch-action: auto !important;
        overflow: visible !important;
    }
    
    /* Navigation nur bei Hover zeigen (Desktop) */
    .highline-gallery-nav {
        display: none !important;
    }
    
    /* Controls auf Mobile kleiner und weniger störend */
    .highline-gallery-controls {
        opacity: 0.7 !important;
        pointer-events: auto !important;
    }
}

/* Zusätzliche Scroll-Sicherheit */
@media (max-width: 480px) {
    /* Artikel-Container: Scroll sicherstellen */
    .highline-modern-article {
        overflow: visible !important;
        touch-action: auto !important;
    }
    
    /* Body: Scroll nicht blockieren */
    body {
        touch-action: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    
    /* Galerie-Bereich: Keine Touch-Interferenz */
    .highline-gallery-section * {
        touch-action: auto !important;
    }
}

/* Fallback für sehr problematische Geräte */
@media (max-width: 400px) {
    /* Alle Gallery-Elemente: Maximale Scroll-Kompatibilität */
    .highline-gallery-viewport {
        touch-action: none !important;
        pointer-events: none !important;
    }
    
    .highline-gallery-slide {
        pointer-events: auto !important;
        touch-action: auto !important;
    }
}

/* iOS Safari spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    .highline-gallery-viewport {
        -webkit-overflow-scrolling: touch !important;
        touch-action: auto !important;
    }
    
    .highline-main-gallery {
        -webkit-overflow-scrolling: touch !important;
    }
}

@supports not (display: grid) {
    .highline-specs-grid {
        display: block !important;
    }
    .highline-specs-table {
        margin-bottom: 1rem !important;
    }
}

@supports not (display: flex) {
    .highline-gallery-main {
        display: block !important;
    }
    .highline-thumbnail-sidebar {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .highline-gallery-section,
    .highline-gallery-viewport,
    .highline-gallery-slide,
    .highline-gallery-slide * {
        touch-action: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Navigation auf Mobile ausblenden */
    .highline-gallery-nav {
        display: none !important;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.clear { clear: both; }

/* Header Bereich */
.search-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
   // padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-count {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Close Button */
.close-search-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.close-search-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.info-box p {
    margin-bottom: 10px;
    color: #555;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Products Container */
.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

/* Desktop: 4 Spalten */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet: 3 Spalten */
@media (min-width: 768px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 2 Spalten */
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-container {
        padding: 0 10px;
    }
    
    .search-header {
        padding: 3px;
    }
    
    .search-header h2 {
        font-size: 1.2rem;
    }
    
    .header-controls {
        //flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .close-search-btn {
        padding: 10px 16px;
        font-size: 13px;
        align-self: flex-end;
    }
}

/* Product Cards */
.asa_product_box, .asa_product_boxv {
    background: white;
    border-radius: 16px;
    overflow: hidden;
	
	width: auto !important;      /* Überschreibt width: 190px */
max-width: none !important;  /* Überschreibt jede max-width Regel */
min-width: auto !important;
	
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.asa_product_box:hover, .asa_product_boxv:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.asa_product_boxv {
    opacity: 0.7;
}

.asa_product_boxv::before {
    content: "Nicht verfügbar";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    z-index: 2;
    font-weight: 500;
}

/* Product Image */
.asa_pic {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asa_pic img {
    width: 115%;
    height: 115%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.asa_product_box:hover .asa_pic img {
    transform: scale(1.05);
}

/* Product Content */
.asa_main {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.asa_txt {
    flex: 1;
    margin-bottom: 15px;
}

.asa_txt a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
}

.asa_txt a:hover {
    color: #3498db;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.asa_price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
}

/* Cart Button */
.cart-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.cart-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f639a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Status Indicator */
.status-available {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
}

/* Mobile Anpassungen */
@media (max-width: 767px) {
    .asa_pic {
        height: 100px;
    }
    .asa_pic img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    transition: transform 0.3s ease;
	padding-top: 30px;
}
    .asa_main {
        padding: 15px;
    }
    
    .asa_txt a {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .price-section {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .asa_price {
        font-size: 1rem;
    }
    
    .cart-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .asa_txt a {
        font-size: 0.8rem;
    }
    
    .price-section {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}