body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #eef4ec;
    color: #333333;
}

.hero {
    height: 450px;
    background: url("img/Kinder.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: white;
    -webkit-text-stroke: 2px black;
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero p {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}


nav {
    background-color: #2f4f46;
    text-align: center;
}

nav a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    background-color: #456b5f;
}


main {
    max-width: 1100px;
    margin: auto;
    padding: 40px;
}

main h2 {
    color: #2f4f46;
    font-size: 32px;
}

main p {
    line-height: 1.6;
    font-size: 18px;
}

.card {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery img {
    width: 300px;
    border-radius: 10px;
}


.kontakt {
    background: white;
    padding: 25px;
    border-radius: 12px;
}

footer {
    background-color: #2f4f46;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.welcome {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.welcome h2 {
    font-size: 36px;
    color: #2f4f46;
    margin-bottom: 20px;
}

.welcome p {
    font-size: 19px;
    line-height: 1.7;
}

.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.card {
    background-color: white;
    width: 280px;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    text-align: center;
}

.card h3 {
    color: #2f4f46;
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
}

.info-box {
    background-color: #dfece3;
    padding: 40px;
    border-radius: 20px;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.info-box h2 {
    color: #2f4f46;
    font-size: 32px;
    margin-bottom: 20px;
}

.info-box p {
    font-size: 18px;
    line-height: 1.7;
}

.Leistungen-seite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px;
}

.seiten-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.seiten-intro h2 {
    font-size: 40px;
    color: #2f4f46;
    margin-bottom: 20px;
}

.seiten-intro p {
    font-size: 19px;
    line-height: 1.7;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 55px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-card {
    flex: 2;
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.text-card h2,
.wide-card h2,
.section-title h2 {
    color: #2f4f46;
    font-size: 30px;
    margin-top: 0;
}

.text-card h3 {
    color: #456b5f;
    font-size: 22px;
    margin-top: 28px;
}

.text-card p,
.wide-card p {
    font-size: 17px;
    line-height: 1.7;
}

.wide-card {
    background: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-bottom: 55px;
}

.section-title {
    text-align: center;
    margin: 70px auto 45px auto;
    max-width: 900px;
}

.section-title p {
    font-size: 19px;
    line-height: 1.7;
}

.team-bild {
    width: 220px;
    height: 220px;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid #7f95a3;
    border-radius: 28px;
    background-color: #f7f1dd;
    overflow: hidden;
}

.team-bild img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;

}

@media (max-width: 850px) {
    .content-row,
    .content-row.reverse {
        flex-direction: column;
    }

    .image-placeholder {
        width: 100%;
    }
}

.image-placeholder {
    min-height: 180px;
    border: 3px dashed #7D9D84;
    border-radius: 22px;
    background: #f8f6ef;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #5E7F68;
    font-size: 16px;
    font-weight: bold;
}

.bilder-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:22px;
}

    

.team-seite {
max-width: 1200px;
margin: 0 auto;
padding: 50px 25px;
}

.team-card {
display: flex;
gap: 30px;
align-items: center;

background: white;
padding: 30px;
margin-bottom: 35px;

border-radius: 20px;
box-shadow: 0 4px 18px rgba(0,0,0,0.12);

}

.team-bild {
    width: 220px;
    height: 220px;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid #7f95a3;
    border-radius: 28px;
    background-color: #5e7f68;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    overflow: hidden;
}

.team-bild img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


.team-text {
flex: 1;
color:#333333;
}

.team-text h3 {
color: #2f4f46;
font-size: 30px;
margin-top: 0;
}

.team-text h4 {
color: #456b5f;
margin-bottom: 20px;
}

.team-text p {
line-height: 1.7;
}

.team-text blockquote {
border-left: 4px solid #8aa89a;
padding-left: 15px;
font-style: italic;
color: #666;
}

@media (max-width: 800px) {
.team-card {
flex-direction: column;
text-align: center;
}
}

.kleines-icon {
    width: 50px;
    height: auto;
}
.kontakt-container {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 40px;

}

.kontakt-info,
.kontakt-formular {
    flex: 1;
    min-width: 320px;

    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12); 
}

.kontakt-info h2,
.kontakt-formular h2 {
    color: #2f4f46;
    margin-top: 0;
    margin-bottom: 25px; 
}

.kontakt-info p,
.kontakt-info table {
    font-size: 17px;
    line-height: 1.8;
}

.kontakt-info table td {
    padding: 8px 10px 8px 0;
}

.kontakt-formular input[type="text"],
.kontakt-formular input[type="email"],
.kontakt-formular textarea {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    margin-bottom: 20px;

    border: 2px solid #d7e4da;
    border-radius: 12px;

    font-size: 16px;
    font-family: Arial, sans-serif;

    box-sizing: border-box;
}

.kontakt-formular textarea {
    resize: vertical;
    min-height: 180px;
}

.kontakt-formular input:focus,
.kontakt-formular textarea:focus {
    outline: none;
    border-color: #7D9D84;
    box-shadow: 0 0 8px rgba(125,157,132,.25);
}

.kontakt-formular input[type="submit"],
.kontakt-formular input[type="reset"] {
    background: #2f4f46;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 14px 28px;
    margin-right: 10px;

    cursor: pointer;
    font-size: 16px;
    font-weight: bold;

    transition: .25s;
}

.kontakt-formular input[type="submit"]:hover,
.kontakt-formular input[type="reset"]:hover {
    background: #456b5f; 
}

.pflichtfeld {
    color: #a33;
    font-size: 15px;
    margin-top: 25px;
}

@media (max-width:850px){
    .kontakt-container{
        flex-direction:column;

}
}

.anfahrt-seite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px;
}

.anfahrt-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.anfahrt-info,
.anfahrt-karte,
.anfahrt-hinweise,
.anfahrt-note {
    background: white;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.anfahrt-info {
    padding: 30px;
}

.anfahrt-info h3 {
    color: #2f4f46;
    font-size: 22px;
    margin-bottom: 12px;
}

.anfahrt-info p {
    font-size: 17px;
    line-height: 1.7;
}

.anfahrt-info hr {
    border: none;
    border-top: 1px solid #d7e4da;
    margin: 25px 0;
}

.anfahrt-karte {
    overflow: hidden;
    min-height: 400px;
}

.anfahrt-karte iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

.anfahrt-hinweise {
    padding: 35px;
    margin-bottom: 30px;
}

.anfahrt-hinweise h2 {
    color: #2f4f46;
    margin-top: 0;
}

.hinweis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hinweis-grid h3 {
    color: #2f4f46;
}

.hinweis-grid p {
    font-size: 16px;
    line-height: 1.7;
}

.anfahrt-note {
    background: #e6f0e8;
    padding: 25px 35px;
    color: #2f4f46;
    font-size: 18px;
    margin-bottom: 40px;
}

@media (max-width: 850px) {
    .anfahrt-grid,
    .hinweis-grid {
        grid-template-columns: 1fr;
    }
}

.impressum-seite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px;
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.impressum-card,
.impressum-quelle {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-bottom: 35px;
}

.impressum-card h2,
.impressum-quelle h2 {
    color: #2f4f46;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
}

.impressum-card h3 {
    color: #456b5f;
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 21px;
}

.impressum-card p,
.impressum-quelle p {
    font-size: 16px;
    line-height: 1.8;
}

.impressum-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.impressum-card table td {
    padding: 8px 12px 8px 0;
    font-size: 16px;
    vertical-align: top;
}

.impressum-quelle {
    background: #e6f0e8;
    border-left: 6px solid #5E7F68;
}

@media (max-width: 850px) {
    .impressum-grid {
        grid-template-columns: 1fr;
    }
}

.galerie-seite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px;
}

.galerie-bereich {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-bottom: 45px;
}

.galerie-bereich h2 {
    color: #2f4f46;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 10px;
}

.galerie-bereich p {
    font-size: 17px;
    color: #555;
    margin-bottom: 25px;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.galerie-grid .image-placeholder {
    min-height: 190px;
    border: 3px dashed #7D9D84;
    border-radius: 22px;
    background: #f8f6ef;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #5E7F68;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 850px) {
    .galerie-grid {
        grid-template-columns: 1fr;
    }
}
.galerie-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    cursor: pointer;
    transition: transform .25s;
}

.galerie-grid img:hover {
    transform: scale(1.03);
}

.ueber-uns-seite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px;
}

.seiten-intro {
    text-align: center;
    margin-bottom: 45px;
}

.seiten-intro h2 {
    font-size: 42px;
    color: #5E7F68;
    margin-bottom: 10px;
}

.seiten-intro p {
    font-size: 18px;
    color: #555;
}

.ueber-uns-block {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-bottom: 35px;
}

.text-block h3 {
    color: #2f4f46;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 18px;
}

.text-block p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 25px;
}

.icon-card {
    background: #f8f6ef;
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-card p {
    font-size: 16px;
    font-weight: bold;
    color: #5E7F68;
    margin: 12px 0 0;
    line-height: 1.4;
}

.ziele-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 25px;
    margin-top: 20px;
}

.ziele-liste p {
    background: #f8f6ef;
    padding: 16px 20px;
    border-radius: 16px;
    font-weight: bold;
    color: #5E7F68;
    margin: 0;
}

.highlight-block {
    background: #f8f6ef;
    border-left: 8px solid #5E7F68;
}

.abschluss-block {
    background: #5E7F68;
    color: white;
    padding: 35px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.abschluss-block p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 850px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }

    .ziele-liste {
        grid-template-columns: 1fr;
    }

    .seiten-intro h2 {
        font-size: 34px;
    }
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

nav a {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }
}