/* Leistungen Page Specific Styles */

.page-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: var(--white);
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.page-hero h1 .accent {
    position: relative;
    display: inline-block;
}

.page-hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: var(--accent);
    z-index: -1;
}

.page-hero .lead {
    font-size: 1.5rem;
    color: var(--gray);
    max-width: 800px;
    font-weight: 300;
    line-height: 1.4;
}

/* Services Detailed Section */
.services-detailed {
    padding: 6rem 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-bottom: 8rem;
    padding-bottom: 8rem;
    border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-meta {
    position: sticky;
    top: 8rem;
    height: fit-content;
}

.service-number {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.service-detail h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.service-meta p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-info {
    padding-top: 1rem;
}

.service-info h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    padding: 2rem;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.feature h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

.feature:hover p {
    color: var(--black);
}

.service-process {
    margin-top: 3rem;
}

.process-steps {
    display: grid;
    gap: 1rem;
}

.process-step {
    padding: 1.5rem;
    border-left: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-left-color: var(--accent);
    padding-left: 2rem;
}

.process-step h5 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Technologies Section */
.technologies {
    padding: 6rem 0;
    background: var(--light-gray);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
}

.tech-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* CTA Section */
.services-cta {
    padding: 8rem 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.services-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.services-cta p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.services-cta .btn:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 968px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail:nth-child(even) {
        direction: ltr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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