/* Boost-Cards CSS - Gemeinsame Styles für Service-Index und Test-Seite */

.apple-service-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--apple-shadow);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.apple-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px 0 rgba(102,34,138,0.15), 0 2px 8px 0 rgba(102,34,138,0.1);
}

/* Gleicher Hover-Effekt für Premium-Card wie normale Cards */
.boost-premium-card.apple-service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px 0 rgba(102,34,138,0.25), 0 4px 10px 0 rgba(102,34,138,0.15) !important;
    z-index: 10 !important;
}

.apple-service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.apple-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apple-service-card:hover .apple-service-image img {
    transform: scale(1.05);
}

.apple-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apple-service-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.apple-service-description {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.apple-service-seller {
    margin-bottom: 16px;
}

.apple-service-seller img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E5E7EB;
    margin-right: 12px;
}

.seller-info {
    display: flex;
    flex-direction: column;
}

.seller-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    margin-bottom: 4px;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 2px;
}

.rating-text {
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
}

.no-reviews {
    font-size: 12px;
}

.apple-service-footer {
    margin-top: auto;
    padding-top: 16px;
}

.apple-service-price {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.apple-service-badge {
    display: inline-block;
    margin-top: 8px;
}

/* Premium Seller Highlight */
.premium-seller-highlight {
    background: linear-gradient(135deg, rgba(102, 34, 138, 0.1), rgba(168, 85, 247, 0.1)) !important;
    border: 2px solid rgba(102, 34, 138, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin: -12px -12px 16px -12px !important;
}

.premium-seller-highlight .seller-name {
    color: #66228A !important;
    font-weight: 700 !important;
}

.premium-seller-highlight .rating-text {
    color: #66228A !important;
    font-weight: 600 !important;
}

/* Boost Badge Styles */
.boost-badge-container {
    margin-bottom: 12px;
}

.boost-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Klickbare Service-Card Styling */
.apple-service-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100% !important;
    flex: 1 1 0% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.apple-service-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.row {
    justify-content: center !important;
}

.col-lg-4, .col-md-6 {
    display: flex !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    margin-bottom: 2rem !important;
    padding: 0 15px !important;
    width: 100% !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
}

.col-lg-4 .apple-service-card-link,
.col-md-6 .apple-service-card-link {
    flex: 1 1 0% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
}

.apple-service-card:not(.boost-premium-card) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.d-flex .apple-service-card-link {
    flex: 1 !important;
    width: 100% !important;
}

/* Responsive */
@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
