/* Services Pages Styles - Premium Apple Design */
/* Compatible with updated style.css variables */

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ==================== Service Hero ==================== */
.service-hero {
    padding: 140px 0 80px;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.service-hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.service-hero-visual {
    position: relative;
}

.service-hero-visual svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ==================== Service Intro ==================== */
.service-intro {
    background: var(--white);
}

.service-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-intro h2 {
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
    color: var(--dark);
}

.service-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================== Service Local Section ==================== */
.service-local {
    background: var(--light);
}

.service-local-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-local h2 {
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--dark);
}

.service-local p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.service-local-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.local-stat {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.local-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.local-stat-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ==================== Process Timeline ==================== */
.service-process {
    background: var(--white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.process-timeline-item {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}

.process-timeline-item:last-child {
    padding-bottom: 0;
}

.process-timeline-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-primary);
    position: relative;
    z-index: 1;
}

.process-timeline-content {
    padding-top: 16px;
}

.process-timeline-content h3 {
    margin-bottom: 12px;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--dark);
}

.process-timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==================== Deliverables ==================== */
.service-deliverables {
    background: var(--light);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.deliverable-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.deliverable-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.deliverable-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.deliverable-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.deliverable-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.deliverable-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==================== FAQ Section ==================== */
.service-faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==================== Related Services ==================== */
.related-services {
    background: var(--light);
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: block;
}

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

.related-service-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.related-service-card:hover .related-service-icon {
    background: var(--gradient-primary);
}

.related-service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.related-service-card:hover .related-service-icon svg {
    color: var(--white);
}

.related-service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.related-service-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==================== Split Hero Layout (German Pages) ==================== */
.container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.service-hero-split {
    padding: 100px 0 0;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.service-hero-inner-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.service-hero-content-split {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px 60px 60px;
    max-width: 700px;
    margin-left: auto;
}

.service-hero-content-split h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.service-hero-content-split .service-hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.service-hero-visual-split {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: 40px;
}

.service-hero-visual-split svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 1024px) {
    .service-hero-inner-split {
        grid-template-columns: 1fr;
    }

    .service-hero-content-split {
        padding: 40px;
        max-width: none;
        margin: 0;
    }

    .service-hero-visual-split {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .service-hero-split {
        padding-top: 80px;
    }

    .service-hero-content-split {
        padding: 30px 20px;
    }

    .service-hero-content-split h1 {
        font-size: 2.25rem;
    }

    .service-hero-visual-split {
        padding: 20px;
    }
}

/* ==================== Alternative Layouts ==================== */

/* Layout 2: Centered Hero */
.service-hero.centered {
    text-align: center;
}

.service-hero.centered .service-hero-inner {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero.centered .service-hero-content {
    order: 1;
}

.service-hero.centered .service-hero-visual {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
}

.service-hero.centered .service-hero-text {
    margin: 0 auto 32px;
}

.service-hero.centered .breadcrumb {
    justify-content: center;
}

/* Layout 3: Split with Background */
.service-hero.split {
    background: linear-gradient(135deg, var(--dark) 50%, var(--primary) 50%);
}

.service-hero.split .service-hero-content {
    color: var(--white);
}

.service-hero.split h1 {
    color: var(--white);
}

.service-hero.split .service-hero-text {
    color: rgba(255, 255, 255, 0.9);
}

.service-hero.split .breadcrumb a,
.service-hero.split .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* Layout 4: Cards Process */
.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.process-card-number {
    position: absolute;
    top: -15px;
    left: 32px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.process-card h3 {
    margin-top: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark);
}

.process-card p {
    color: var(--text-secondary);
}

/* Layout 5: Icon Grid Deliverables */
.deliverables-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.deliverable-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deliverable-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.deliverable-item h4 {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
}

.deliverable-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Layout 6: Horizontal Process */
.process-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.process-horizontal::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.process-h-step {
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.process-h-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-primary);
}

.process-h-step h3 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-h-step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ==================== Service Benefits Grid ==================== */
.service-benefits {
    background: var(--white);
}

.service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-benefit-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-benefit-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.service-benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-benefit-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-benefit-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==================== Checklist Style ==================== */
.service-checklist {
    max-width: 600px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.checklist-icon svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.checklist-item span {
    color: var(--text);
    font-size: 1rem;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .service-hero-inner {
        grid-template-columns: 1fr;
    }

    .service-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .service-local-inner {
        grid-template-columns: 1fr;
    }

    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero h1 {
        font-size: 2.25rem;
    }

    .process-timeline::before {
        left: 25px;
    }

    .process-timeline-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1rem;
    }

    .process-timeline-item {
        gap: 20px;
    }

    .deliverables-grid,
    .related-services-grid,
    .deliverables-list {
        grid-template-columns: 1fr;
    }

    .process-cards {
        grid-template-columns: 1fr;
    }

    .service-benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-horizontal {
        flex-direction: column;
        gap: 32px;
        padding-top: 0;
    }

    .process-horizontal::before {
        display: none;
    }

    .process-h-step {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.875rem;
    }

    .service-hero-text {
        font-size: 1.0625rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px 0;
    }
}
