:root {
    --bg: #FFF8F0;
    --green: #8DB596;
    --blue: #A8DADC;
    --accent: #F4C095;
    --text: #444444;
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FFF8F0;
    color: #444444;
  
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(
        135deg,
        var(--green),
        var(--blue)
    );

    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    margin-top: 20px;

    background: white;
    color: var(--text);

    padding: 12px 25px;

    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;

    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--green);
    color: white;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(1px) scale(0.98);

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.container {
    width: min(1100px, 90%);
    margin: 40px auto;
}

h2 {
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 30px;
}

.profile-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.about {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

.placeholder {
    border: 3px dashed #bbb;
    border-radius: 15px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    text-align: center;
}

.large {
    min-height: 300px;
}

.certificates,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.timeline {
    display: grid;
    gap: 15px;
}

.timeline div {
    background: white;
    padding: 15px;
    border-left: 6px solid var(--green);
    border-radius: 10px;
}

.contact-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
}

footer {
    text-align: center;
    padding: 30px;
    background: var(--green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;          /* alle gleich hoch */
    object-fit: cover;      /* schneidet sauber zu */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}
:root {
    color-scheme: light;
}

@media(max-width: 768px) {
    section {
        padding: 10px 0;
    }

    .container {
        margin: 25px auto;
    }
    .about {
        grid-template-columns: 1fr;
    }

    .profile-img {
        height: 250px;
    }
    .cards,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 70px 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

html {
    scroll-behavior: smooth;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.logo {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);

    padding: 10px 16px;
    border-radius: 30px;

    transition: all .3s ease;
}

.nav-links a:hover {
    background: var(--green);
    color: white;

    transform: translateY(-2px);
}

.nav-links a.active {
    background: var(--green);
    color: white;
}

#ueber-mich,
#raeume,
#angebote,
#galerie,
#ernaehrung,
#ablauf,
#eingewoehnung,
#kontakt {
    scroll-margin-top: 80px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
