/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    padding-top: 260px; /* Header (200px) + Navbar (60px) */
    padding-bottom: 60px; /* Footer */
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 200px;
    z-index: 1000;
}

.header-grid {
    display: grid;
    height: 100%;
}

.header-image {
    background-image: url('./puplic/Bluetenpracht-a.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-text {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

.header-text h1 {
    font-size: 3rem;
}

.header-text p {
    font-size: 1.2rem;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 200px;
    width: 100%;
    height: 60px;
    background-color: #333;
    font-weight: bold;
    color: white;
    z-index: 999;
    /*border-bottom: 2px solid #222;*/
    border-bottom: none; /* Optional für nahtlosen Übergang */
}

.navbar-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.navbar-logo img {
    height: 40px;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

#toggle-menu {
    display: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: background 0.3s;
}

.nav-links li a:hover {
    background-color: #444;
    border-radius: 3px;
}

/* HAMBURGER: Mobile Navigation */
@media (max-width: 1024px) {
    .navbar-container {
        grid-template-columns: auto auto auto;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 998;
    }

    #toggle-menu:checked + .hamburger + .nav-links {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #444;
    }
}

/* MAIN */
.main-content {
    padding: 20px;
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #222;
    color: white;
    font-weight: bold;
    z-index: 999;
    border-top: 1px solid #444;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-size: 1.5rem;
}

.footer-copy {
    text-align: center;
}

.footer-counter {
    text-align: right;
}

/* RESPONSIVE FOOTER */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-counter {
        margin-top: 5px;
    }
}

