
/* Services-spezifische Anpassungen */
/* Nutzt jetzt die gemeinsamen Komponenten aus IT-SCE.css:
   - .page-intro statt .services-intro
   - .section--gray statt .approach-section
   - .grid--4 statt .approach-container
   - .card.card--centered statt .approach-card
*/


/* Services Alternative Section */
.services-alternative {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
}

/* Hinweis für HTML-Anpassungen:
   Alt -> Neu:
   - .services-intro -> .page-intro
   - .approach-section -> .section.section--gray
   - .approach-container -> .grid.grid--4
   - .approach-card -> .card.card--centered.card--gray
   - .approach-card img -> .card__icon
   - .approach-card h3 -> .card__title
   - .approach-card p -> .card__text
*/
.services-alternative h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.services-alternative p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Service-Item Container */
.service-item {
    display: flex;
    align-items: center; /* Vertikale Zentrierung von Text und Bild */
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px; /* Innenabstand für den gesamten Container */
    background: var(--medium-gray);
    border-radius: 10px;
    box-shadow: 0px 4px 6px var(--shadow-strong);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* Textbereich */
.service-text {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.service-text h3 {
    font-size: 1.6rem;
}

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

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

.service-text ul li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.service-text ul li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.0rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Bildbereich */
.service-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Innenabstand für den Bildbereich */
}

.service-image img {
    max-width: 100%;
    height: auto; /* Höhe passt sich proportional zur Breite an */
    border-radius: 10px;
}

/* Wechselndes Layout für Abwechslung */
.service-item.reverse {
    flex-direction: row-reverse;
}

/* Hover-Effekt */
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px var(--shadow-stronger);
    background: var(--gray);
}

/* Responsive Anpassungen für Services-spezifische Komponenten */
@media (max-width: 767px) {
    /* Service Items - Mobile Layout */
    .service-item, 
    .service-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        height: auto;
        border-radius: 10px;
        overflow: hidden;
        max-width: 100%;
    }

    .service-image img {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        min-height: 200px;
    }

    /* Reverse Layout - Bild bleibt unten */
    .service-item.reverse .service-image {
        order: 2;
    }

    .service-item.reverse .service-text {
        order: 1;
    }
}


