/* ============================================
   Service cards — shared by the shop / category overview
   (services-filter.css) and "Weitere Services" on product pages.
   ============================================ */

:root {
    --sf-primary: #00bfff;
    --sf-primary-dark: #0091BC;
    --sf-primary-light: rgba(0, 191, 255, 0.08);
    --sf-bg: #f8fafc;
    --sf-white: #ffffff;
    --sf-text: #1a2332;
    --sf-text-muted: #6b7b8d;
    --sf-text-light: #94a3b8;
    --sf-border: #e8ecf1;
    --sf-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --sf-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --sf-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.1);
    --sf-radius: 16px;
    --sf-radius-sm: 10px;
    --sf-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.sf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.sf-card {
    background: var(--sf-white);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
    box-shadow: var(--sf-shadow);
    position: relative;
    min-height: 190px;
}

.sf-card:hover {
    box-shadow: var(--sf-shadow-md);
    transform: translateY(-3px);
    border-color: rgba(0, 191, 255, 0.2);
}

.sf-card:focus-visible {
    outline: 2px solid var(--sf-primary);
    outline-offset: 2px;
    box-shadow: var(--sf-shadow-md);
}

.sf-card.sf-hidden {
    display: none;
}

/* --- Number badge --- */
.sf-card-number {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--sf-primary);
    font-size: 13px;
    font-weight: 800;
}

/* --- Icon --- */
.sf-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.sf-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--sf-primary);
}

/* --- Title --- */
.sf-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sf-text);
    margin: 0 0 10px;
    line-height: 1.35;
}

/* --- Subtitle --- */
.sf-card-subtitle {
    font-size: 13px;
    color: var(--sf-text-muted);
    margin: 0 0 5px;
}

/* --- Price --- */
.sf-card-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--sf-primary);
    margin-top: auto;
}

.sf-card-price del {
    font-size: 13px;
    font-weight: 400;
    color: var(--sf-text-light);
    text-decoration: line-through;
    margin-right: 6px;
}

.sf-card-price ins {
    text-decoration: none;
}

/* --- CTA Arrow Button --- */
.sf-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sf-primary) !important;
    font-size: 14px;
    font-weight: 500;
/*     margin-top: auto; */
    padding-top: 4px;
    transition: var(--sf-transition);
}

.sf-card-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.sf-card:hover .sf-card-btn {
    color: var(--sf-primary-dark) !important;
}

.sf-card:hover .sf-card-btn svg {
    transform: translateX(5px);
}
