

/* === Leistungen-Seite Container === */
.leistungen-container {
     max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Weißer Hintergrund */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
}

.leistungen-intro {
    text-align: center;
    margin-bottom: 100px;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* === Sticky Navigation === */
.sticky-nav {
    position: fixed;
    top: 50%;
    right: calc((100vw - 1200px) / 2 - 200px);
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px var(--shadow-light);
    backdrop-filter: blur(10px);
    width: 180px;
    z-index: 1000;
}

.sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-nav li {
    margin-bottom: 10px;
}

.sticky-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sticky-nav a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* === Leistungseinträge === */
.leistung {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
    background-color: #f3eeed; /* Heller Hintergrund für jedes News-Item */
	border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.leistungen-container h2, .leistungen-container h3 {
    margin-bottom: 10px;
}

.leistungen-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.leistungen-container h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.leistungen-container h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.leistung h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.leistung h3 {
    font-size: 1rem;
    color: var(--primary-color);
}

.leistung p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.leistung ul {
    padding-left: 20px;
    list-style-type: disc;
}

.leistung li {
    margin-bottom: 10px;
}

.leistungen-container img {
    width: 100%;
    height: 40rem;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
}

/* === Bild-Stile für alle Abschnitte === */
#grundpflege img,
#behandlungspflege img,
#verhinderungspflege img,
#pflegeberatung img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;;
}

/* === Media Queries === */

/* Für kleine Bildschirme: Bildschirmgrößen bis 1200px */
@media (max-width: 1200px) {
    .sticky-nav {
        right: 10px; /* Position näher am Rand */
        width: 160px; /* Menübreite leicht reduzieren */
    }
}

/* Für Tablets und kleinere Bildschirme: Bildschirmgrößen bis 768px */
@media (max-width: 768px) {
    .sticky-nav {
        display: none; /* Sticky Navigation komplett ausblenden auf Tablets und kleineren Bildschirmen */
    }

    .leistungen-container {
        padding: 20px 15px; /* Weniger Abstand in den Containern */
    }
}

/* Für sehr kleine Bildschirme (Smartphones, Hochformat) */
@media (max-width: 480px) {
    .sticky-nav {
        display: none; /* Sticky Navigation auch auf sehr kleinen Bildschirmen ausblenden */
    }

    .leistungen-container {
        padding: 15px 10px; /* Noch weniger Abstand in den Containern */
    }

    .leistungs-container img {
        height: auto; /* Bildhöhe auf kleinere Geräte anpassen */
    }
}
