/**
 * SERVICES.CSS - Service-Seiten Styles
 * S.Y.Z. GmbH & Co. KG
 * Inkl. Hero-Section
 */

/* ============================================================================
   SERVICE HERO SECTION
   ============================================================================ */
.service-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 8rem 0 5rem;
    margin-top: 70px;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.03)" d="M0,400 Q300,300 600,400 T1200,400 L1200,600 L0,600 Z"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-hero h1 {
    color: white;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.service-hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.service-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-hero-price {
    font-size: 1.1rem;
    margin-top: 2rem;
    opacity: 0.9;
}

.service-hero-price strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   SERVICES OVERVIEW PAGE
   ============================================================================ */
.services-overview {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border: 1px solid var(--color-grey);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-card-header {
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(44, 74, 103, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.service-card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.service-card-description {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card-body {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-features {
    list-style: none;
    margin: 1.5rem 0;
    flex: 1;
}

.service-card-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.service-card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.service-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text);
    display: block;
}

/* ============================================================================
   SERVICE DETAIL PAGE
   ============================================================================ */
.service-features-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--color-grey);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-box-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.feature-box p {
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================================
   SERVICE CONTENT SECTION
   ============================================================================ */
.service-content-section {
    padding: 5rem 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.service-main-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
}

.service-main-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--color-primary);
}

.service-main-content ul,
.service-main-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.service-main-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.service-cta-box {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--color-grey);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.service-cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-cta-box .btn {
    width: 100%;
    text-align: center;
}

.service-info-box {
    background: var(--color-light);
    padding: 2rem;
    border: 1px solid var(--color-grey);
}

.service-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-info-box ul {
    list-style: none;
    padding: 0;
}

.service-info-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0 4rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .service-hero-actions .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 5rem 0 3rem;
    }
    
    .service-card-header,
    .service-card-body {
        padding: 2rem 1.5rem;
    }
}
