:root{
    --moosgruen:#4a6b35;
    --hellgruen:#cfe7b5;
    --weiss:#ffffff;
    --schwarz:#222222;
}

/* Grundlayout */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8faf6;
    color:var(--schwarz);
    line-height:1.6;
}

/* Header */

header{
    background:var(--moosgruen);
    color:white;
    padding:20px;
}

.header-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    max-width:1200px;
    margin:auto;
    padding:15px 20px;
}

.header-bild{
    width:180px;
    flex-shrink:0;
}

.header-bild img{
    width:100%;
    height:120px;
    object-fit:cover;
    border-radius:12px;
    border:3px solid white;
}

.logo{
    flex:1;
    text-align:center;
}

.logo h1{
    font-size:2.4rem;
}

.logo p{
    color:var(--hellgruen);
}

/* Navigation */

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:20px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:var(--hellgruen);
}

nav a.active{
    background:white;
    color:var(--moosgruen);
    padding:8px 15px;
    border-radius:20px;
}

/* Hero */

.hero{
    background:url("bilder/header.jpg") center center/cover;
    min-height:200px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-text{
    background:rgba(255,255,255,0.9);
    padding:40px;
    max-width:700px;
    border-radius:12px;
    text-align:center;
}

.hero h2{
    color:var(--moosgruen);
    margin-bottom:15px;
}

/* Boxen */

.content-box{
    max-width:1200px;
    margin:20px auto;
    background:white;
    padding:35px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

.content-box h2{
    color:var(--moosgruen);
    margin-bottom:20px;
}

/* Buttons */

.button,
.bod-link{
    display:inline-block;
    margin-top:15px;
    background:var(--moosgruen);
    color:white;
    padding:12px 20px;
    text-decoration:none;
    border-radius:8px;
}

.button:hover,
.bod-link:hover{
    background:#385126;
}

/* Formulare */

form{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

input,
textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    font-family:inherit;
}

input{
    flex:1;
    min-width:250px;
}

textarea{
    width:100%;
}

button{
    background:var(--moosgruen);
    color:white;
    border:none;
    padding:12px 20px;
    cursor:pointer;
    border-radius:6px;
}

/* Startseite - aktuelles Buch */

.buch-container{
    display:flex;
    gap:30px;
    align-items:center;
    flex-wrap:wrap;
}

.buch-container img{
    width:250px;
    border-radius:10px;
}

/* Bücherseite */

.buch-box{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.buch-text{
    flex:2;
}

.buch-text h3{
    color:var(--moosgruen);
    margin-bottom:15px;
}

.buch-text p{
    margin-bottom:15px;
    line-height:1.8;
}

.buch-cover{
    flex:1;
    text-align:center;
}

.buch-cover img{
    width:100%;
    max-width:300px;
    height:auto;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

.buch-cover img:hover{
    transform:scale(1.03);
}

/* Blog */

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.blog-grid article{
    background:#f5f9f1;
    border-radius:10px;
    overflow:hidden;
}

.blog-grid img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-grid h3,
.blog-grid p{
    padding:15px;
}

/* Galerie */

.galerie{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:15px;
}

.galerie img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:12px;
    transition:0.3s;
}

.galerie img:hover{
    transform:scale(1.03);
}

/* Footer */

footer{
    background:var(--moosgruen);
    color:white;
    margin-top:60px;
}

.footer-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    padding:50px 30px;
}

.footer-grid ul{
    list-style:none;
}

.footer-grid li{
    margin-bottom:10px;
}

.footer-grid a{
    color:white;
    text-decoration:none;
}

.footer-grid a:hover{
    color:var(--hellgruen);
}

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,0.2);
}

/* Mobilgeräte */

@media(max-width:768px){

    .header-top{
        flex-direction:column;
    }

    .header-bild{
        width:100%;
        max-width:300px;
    }

    .header-bild img{
        height:150px;
    }

    .hero{
        min-height:300px;
    }

    .hero-text{
        margin:20px;
        padding:25px;
    }

    .buch-container{
        flex-direction:column;
        text-align:center;
    }

    .buch-box{
        flex-direction:column;
    }

    .buch-cover{
        width:100%;
        text-align:center;
    }

    .buch-cover img{
        max-width:220px;
    }
    .gartenwelt-box{
        flex-direction:column;
    }
    
    .gartenwelt-galerie{
        width:100%;
        grid-template-columns:repeat(3,1fr);
}
}

/* Über mich */

.ueber-mich-box{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.ueber-mich-text{
    flex:2;
}

.ueber-mich-bild{
    flex:1;
    text-align:center;
}

.ueber-mich-bild img{
    width:100%;
    max-width:320px;
    height:auto;

    border-radius:12px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.2);
}

/* Über mich */

.ueber-mich-box{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.ueber-mich-text{
    flex:2;
}

.ueber-mich-bild{
    flex:1;
    text-align:center;
}

.ueber-mich-bild img{
    width:100%;
    max-width:320px;
    height:auto;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* Gartenwelt */

.gartenwelt-box{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.gartenwelt-text{
    flex:3;
}

.gartenwelt-galerie{
    flex:1;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;

    max-width:220px;
}

.gartenwelt-galerie img{
    width:100%;
    height:70px;
    object-fit:cover;

    border-radius:8px;

    transition:0.3s;
}

.gartenwelt-galerie img:hover{
    transform:scale(1.05);
}

.ueber-mich-box{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.ueber-mich-text{
    width:70%;
}

.ueber-mich-bild{
    width:30%;
    text-align:center;
}

.ueber-mich-bild img{
    width:100%;
    max-width:300px;
    height:auto;
}

