﻿/* ============================================
   09-services-extended.css
   Extended Service Pages Styles
   (IT-Hilfe, Software-Entwicklung, KI-Integration)
   ============================================ */

/* Service Detail Blocks */
.service-detail-block {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.service-detail-block .service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    font-size: 2.5rem;
    color: #fff;
}

.service-detail-block .service-content {
    flex: 1;
}

.service-detail-block .service-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.service-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-detail-block h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.service-list,
.service-steps {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.service-list li,
.service-steps li {
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-list li i, .service-list li svg {
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: var(--accent-color);
    font-size: 1rem;
}

.service-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-steps {
    counter-reset: step-counter;
}

.service-pricing,
.service-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.service-pricing {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-color);
}

.service-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
}

/* Process Overview */
.process-overview {
    margin: 4rem 0;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.process-step {
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
}

.process-step .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.process-step p {
    margin: 0;
    line-height: 1.55;
    opacity: 0.9;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.use-case-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.use-case-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.use-case-card p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Issue List */
.issue-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.issue-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.issue-list li::before {
    content: '\2022';
    position: absolute;
    left: 0.5rem;
    top: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* CTA Banner */
.cta-banner {
    margin: 4rem 0;
    padding: clamp(2rem, 6vw, 3rem);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.25));
    border-radius: 18px;
    text-align: center;
}

.cta-banner h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.cta-banner p {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

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

/* Service Results */
.service-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
    margin: 3rem 0;
}

.result-card {
    padding: 1.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.result-card p {
    margin: 0;
    line-height: 1.5;
}

/* Highlight Bubble */
.highlight-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.2);
    color: var(--accent-color);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Related Services */
.related-services {
    background: rgba(37, 99, 235, 0.05);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    overflow: hidden;
}

.related-services .section-description {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    opacity: 0.9;
    font-size: clamp(0.9rem, 2.4vw, 1.05rem);
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.related-services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    padding: 0 clamp(1rem, 4vw, 2rem);
    margin-top: clamp(1.25rem, 3vw, 2rem);
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
    cursor: grab;
}

.related-services-grid::-webkit-scrollbar {
    display: none;
}

.related-services-grid.is-dragging {
    cursor: grabbing;
}

.related-service-card {
    flex: 0 0 clamp(160px, 20vw, 200px);
    padding: clamp(0.85rem, 2.4vw, 1.2rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    scroll-snap-align: center;
}


.related-service-card:hover {
    color: inherit;
}

.related-service-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.related-service-card i, .related-service-card svg {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
    display: block;
}

.related-service-card h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--primary-color);
}

.related-service-card p {
    margin: 0;
    line-height: 1.4;
    opacity: 0.85;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* KI intro & Tech stack */
.ki-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-stack-list .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    min-width: 120px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tech-stack-list .tech-item:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.tech-stack-list .tech-item i, .tech-stack-list .tech-item svg {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-stack-list .tech-item span {
    font-weight: 600;
}

/* Service Utilities */
.section-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.section-lead.section-lead-tight {
    margin-bottom: 2rem;
}

.section-lead.section-lead-wide {
    margin-bottom: 3rem;
}

.section-lead.section-lead-narrow {
    max-width: 700px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.service-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-box-title {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.info-box-title.info-box-title-center {
    justify-content: center;
}

.icon-inline {
    margin-right: 0.5rem;
}

.info-text {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-text:last-child {
    margin-bottom: 0;
}

.info-text-lead {
    font-size: 1.1rem;
}

.info-text.spacing-lg {
    margin-bottom: 1.5rem;
}

.list-spacing-lg {
    margin-bottom: 1.5rem;
}

.price-badge {
    text-align: center;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 8px;
    margin-bottom: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-badge strong {
    font-size: 1.2rem;
}

.price-badge .text-soft {
    display: block;
    margin-top: 0.25rem;
}

.text-soft {
    opacity: 0.85;
}

.btn-inline {
    display: inline-block;
    margin-top: 1rem;
}

.is-hidden {
    display: none !important;
}

.info-box-highlight {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(37, 99, 235, 0.15));
    border-left: 4px solid var(--accent-color);
}

.section-note {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.highlight-panel {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
}

.highlight-note {
    font-size: 1.1rem;
    margin: 0;
}

.info-box-wide {
    max-width: 800px;
    margin: 0 auto;
}

.support-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.price-figure {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.text-accent-strong {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-detail-block {
        flex-direction: column;
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-detail-block {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .service-detail-block .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .use-cases-grid,
    .service-results-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .related-services-grid {
        padding: 0 clamp(0.75rem, 4vw, 1.5rem);
    }

    .related-service-card {
        flex: 0 0 clamp(65%, 70%, 75%);
        padding: clamp(0.9rem, 4vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .service-detail-block {
        padding: 1.25rem;
    }

    .cta-banner {
        padding: 2.25rem 1.5rem;
    }

    .related-service-card {
        flex-basis: 80%;
    }
}





