/* ============================================================
   CarShine – Dienstleistungen (dienstleistungen.css)
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card.clickable {
    cursor: pointer;
}

.service-card.clickable:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-card.expanded {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--accent-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.service-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.service-pricing {
    display: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 0.3s ease-out;
}

.service-card.expanded .service-pricing {
    display: block;
}

.service-pricing h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.service-pricing .pricing-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.service-note {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.service-note p {
    color: var(--text-muted);
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
}
