body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FAF0E6; /* Helle Sandfarbe (Linen) */
}

.hero {
    background-image: url('img/DanielaHartleb_Kinder-und_Jugendcoaching.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
}

.hero div {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
.navbar-brand {
    color: darkgreen; /* Dunkelgrüner Farbcode */
}


/* Generelle Stile für Abschnitte */
section {
    border-bottom: 1px solid #E0E0E0; /* Zarte graue Trennlinie */
    padding-bottom: 30px;             /* Zusätzlicher Abstand am unteren Rand */
    margin-bottom: 30px;              /* Abstand zwischen den Bereichen */
}



/* Bild-Stilisierung */
.img-fluid {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;


    display: block; /* Um sicherzustellen, dass das Bild die gesamte Breite des Containers einnimmt */
    transform: scale(1);
    z-index: 0; /* Das Bild sollte unter dem pseudo-Element liegen */
}

.img-fluid:hover {
    transform: scale(1.05);
}

/* Text-Stilisierung */
h2 { 
    font-weight: 600;
    margin-bottom: 15px;
    /*color: #333; */
    color: darkgreen;
}

.h3, h3 {
    font-size: 2rem;
}

.lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 20px;
}

p {
    color: #555;
}

/* Button-Stilisierung */
.btn-primary {
    background-color: #2C3E50; /* Ein tiefes Blau als Akzentfarbe */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #1A242F; /* Eine dunklere Variante der Akzentfarbe */
}

.hide-on-top {
    display: none;
    transition: opacity 0.3s ease-in-out; /* Optional: Für einen sanfteren Übergang */
}

/* ... (Vorheriger CSS-Code) ... */

.overlay-section {
    position: relative;
}



.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff; /* Weißer Text, den Sie je nach Hintergrundbild anpassen können */
}

/* Optional: Ein leichter schwarzer Hintergrund, um den Text und CTA besser lesbar zu machen */
.overlay-content h3, .overlay-content p, .overlay-content a {
    /* background-color: rgba(0, 0, 0, 0.2);*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    padding: 5px;
    border-radius: 3px;
    color: white;
}

.image-overlay {
    position: relative;
}

.darkened-image {
    position: relative;
    display: inline-block; /* Stellt sicher, dass der Container nur so groß ist wie das Bild */
    overflow: hidden; /* Damit die Überlagerung nicht über den Container hinausgeht, wenn das Bild skaliert wird */
}

.darkened-image::before {
    content: ""; /* Pseudo-Element benötigt Inhalte, auch wenn sie leer sind */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 50, 0, 0.5); /* Abdunkelung mit dunkelgrün */
    pointer-events: none; /* Damit das pseudo-Element nicht auf Benutzerinteraktionen reagiert (z. B. beim Klicken auf das Bild) */
    z-index: 1; /* Das pseudo-Element sollte über dem Bild liegen */
}


.image-overlay img {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
}

/* Stilisierung für die Liste */
section ul {
    list-style-type: disc; /* Standard-Aufzählungszeichen */
    padding-left: 20px; /* Einrückung der Liste */
}

section ul li {
    font-size: 16px; /* Gleich wie der normale Text */
    color: #777; /* Gleich wie der normale Text */
    margin-bottom: 5px; /* Ein kleiner Abstand zwischen den Listenelementen für bessere Lesbarkeit */
}

/* impressum Section */

/*
.impressum-section {
    background-color: #f5f5f5;
    padding: 50px 0;
    

}
*/


.impressum-content {
    text-align: center;
}

.impressum-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.impressum-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Style for the footer */
.footer {


    text-align: center;
    padding: 20px;
}

.footer p {
    font-size: 0.9rem;
    margin: 0;
    color: #999;
}



/* Media Query für Bildschirmbreiten von 768px und darunter */
@media (max-width: 768px) {
    h2 {
        margin-top: 15px;
    }
    .h3, h3 {
        font-size: 1.5rem;
    }

    .image-overlay{
        margin-top: 15px;
    }

}
.navbar {
    transition: background-color 0.5s;
    padding-bottom: 0px;
    padding-top: 0px;
}

.navbar-toggler {
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
}

.nav-scrolled {
    background-color: white;
}
