/* Customer Gallery Styles */
.dv-customer-gallery-container {
    width: 100%;
    margin: 40px 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Airstrike', sans-serif, system-ui;
}

.dv-customer-gallery {
    display: flex;
    flex-wrap: wrap; /* Wichtig: Sorgt dafür, dass 5 oder mehr Logos in die nächste Zeile umbrechen */
    justify-content: center;
    align-items: center;
    gap: 50px; /* Abstand zwischen den Logos */
    max-width: 1200px;
    margin: 0 auto;
}

.dv-customer-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
    /* Explicit dimensions to prevent 0-width collapse in flexbox */
    flex: 0 0 250px; 
    width: 250px;
    height: 120px;
}

/* Hover-Effekt: Logo wird minimal größer und bekommt einen leichten Glow-Effekt */
.dv-customer-logo-link:hover {
    transform: scale(1.05);
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.4));
}

.dv-customer-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Fallback-Design, solange kein echtes Bild hinterlegt ist */
.dv-customer-placeholder-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    padding: 10px;
    letter-spacing: 1px;
    box-sizing: border-box;
}

/* Mobile Optimierungen: Kleinere Abstände und Logos auf Smartphones */
@media (max-width: 768px) {
    .dv-customer-gallery {
        gap: 30px;
        flex-direction: row; 
    }
    
    .dv-customer-logo-link {
        flex: 0 0 140px; 
        width: 140px;
        height: 80px;
    }

    .dv-customer-placeholder-logo {
        font-size: 0.9rem;
    }
}
