/* --- Leistungen Seite spezifisches CSS --- */

/* Hero Sektion für Unterseiten */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 400px; /* Kleinere Höhe als der Haupt-Hero */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.45); /* Dunkleres Overlay */
    border-top: 2px solid #ea0000;
}

.page-hero-content {
    z-index: 5;
    padding: 2rem;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.page-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Services Overview (Übersicht der Kategorien) */
.services-overview {
    padding: 60px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.services-overview .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-category {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Inhalte gleichmäßig verteilen */
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #ea0000; 
}
/* Wenn category-icon Bilder sind, dann: */
.service-category img.category-icon {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.service-category h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.service-category p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Nimmt verfügbaren Platz ein, damit Buttons unten ausgerichtet sind */
}

/* Service Details Sektionen */
.service-details-section {
    padding: 80px 20px;
}

.service-details-section.gray-bg {
    background-color: #f9f9f9;
}

.service-detail-item {
    display: flex;
    flex-direction: column; /* Standard auf Mobil: gestapelt */
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-image-container {
    flex: 1; /* Nimmt flexiblen Platz ein */
    max-width: 550px; /* Maximale Breite für das Bild */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-text-container {
    flex: 1;
    padding: 0 20px; /* Innenabstand zum Bild/Rand */
}

.service-text-container h2 {
    font-size: 2.2rem;
    color: #ea0000;
    margin-bottom: 20px;
    text-align: center; /* Standard auf Mobil */
}

.service-text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.service-text-container ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-text-container ul li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-text-container ul li .fas {
    color: #ea0000;
    margin-right: 10px;
    font-size: 1.1rem;
}