/* ==========================================
   Kleingartenverein Reuterhamm e.V.
   Modernes Design
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f8f4;
    color:#333;
    line-height:1.6;
}

/* ==========================================
   HEADER
========================================== */

header{
    background:#2f6b2f;
    color:white;
    padding:25px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.header-container{
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:25px;
}

.logo{
    width:90px;
    height:90px;
    object-fit:contain;
    background:white;
    padding:8px;
    border-radius:50%;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

.header-container h1{
    font-size:40px;
    margin-bottom:8px;
}

.header-container p{
    font-size:18px;
}

/* ==========================================
   LAYOUT
========================================== */

.wrapper{
    max-width:1400px;
    margin:30px auto;
    display:flex;
    gap:30px;
    padding:0 20px;
}

aside{
    width:260px;
    flex-shrink:0;
}

main{
    flex:1;
    min-width:0;
}

/* ==========================================
   NAVIGATION
========================================== */

nav{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

nav ul{
    list-style:none;
}

nav li{
    border-bottom:1px solid #ececec;
}

nav li:last-child{
    border-bottom:none;
}

nav a{
    display:block;
    padding:18px 22px;
    text-decoration:none;
    color:#2f6b2f;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    background:#4CAF50;
    color:white;
    padding-left:30px;
}

nav a.active{
    background:#2f6b2f;
    color:white;
}

/* ==========================================
   HERO-BEREICH
========================================== */

.hero{
    background:linear-gradient(135deg,#2f6b2f,#4CAF50);
    min-height:320px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:15px;
    margin-bottom:30px;
    padding:40px;
    text-align:center;

    color:white;

    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.hero h2{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
}

/* ==========================================
   BOXEN
========================================== */

.box{
    background:white;
    border-radius:15px;
    padding:30px;
    margin-bottom:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.box:hover{
    transform:translateY(-5px);
}

.box h2{
    color:#2f6b2f;
    margin-bottom:20px;
    padding-bottom:12px;
    border-bottom:3px solid #2f6b2f;
}

.box p{
    margin-bottom:15px;
}

/* ==========================================
   ZWEI SPALTEN
========================================== */

.container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

/* ==========================================
   TERMINTABELLE
========================================== */

.termine{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.termine th{
    background:#2f6b2f;
    color:white;
    padding:15px;
    text-align:left;
}

.termine td{
    padding:15px;
    border-bottom:1px solid #ddd;
}

.termine tr:nth-child(even){
    background:#f7f7f7;
}

.termine tr:hover{
    background:#eef8ee;
}

/* ==========================================
   BUTTONS
========================================== */

.button{
    display:inline-block;
    background:#2f6b2f;
    color:white;
    text-decoration:none;
    padding:12px 22px;
    border-radius:8px;
    margin-top:15px;
    transition:.3s;
    font-weight:bold;
}

.button:hover{
    background:#4CAF50;
    transform:translateY(-2px);
}

/* ==========================================
   BILDERGALERIE
========================================== */

.galerie{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.galerie img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.galerie img:hover{
    transform:scale(1.03);
}

/* ==========================================
   GOOGLE MAPS
========================================== */

.map{
    width:100%;
    height:450px;
    border:none;
    border-radius:15px;
    margin-top:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/* ==========================================
   HINWEISBOX
========================================== */

.info-box{
    background:#e8f5e9;
    border-left:6px solid #2f6b2f;
    padding:20px;
    border-radius:10px;
    margin:20px 0;
}

.info-box h3{
    color:#2f6b2f;
    margin-bottom:10px;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    background:#2f6b2f;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
    font-size:15px;
}

/* ==========================================
   ANIMATIONEN
========================================== */

.box,
nav,
.hero{
    transition:all .3s ease;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width:1000px){

    .wrapper{
        flex-direction:column;
    }

    aside{
        width:100%;
    }

    .container{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    header{
        padding:20px;
    }

    .header-container{
        flex-direction:column;
        text-align:center;
    }

    .logo{
        width:80px;
        height:80px;
    }

    .header-container h1{
        font-size:28px;
    }

    .header-container p{
        font-size:16px;
    }

    .hero{
        min-height:220px;
        padding:25px;
    }

    .hero h2{
        font-size:30px;
    }

    .hero p{
        font-size:18px;
    }

    .box{
        padding:20px;
    }

    nav a{
        font-size:17px;
        padding:15px 18px;
    }

    .termine th,
    .termine td{
        padding:10px;
        font-size:14px;
    }

}

/* ==========================================
   KLEINE EXTRAS
========================================== */

img{
    max-width:100%;
    height:auto;
}

strong{
    color:#2f6b2f;
}

a{
    transition:.3s;
}

html{
    scroll-behavior:smooth;
}

.impressum-table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
}

.impressum-table td{
    padding:8px 0;
    vertical-align:top;
}

.impressum-table td:first-child{
    width:240px;
    color:#2f6b2f;
    font-weight:bold;
}