/* --- Globale Einstellungen --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url('img/back.jpg'); 
    background-color: #f4f4f4; /* Fallback Farbe */
    background-attachment: fixed;
    background-size: cover;
    padding: 20px;
    color: #333;
}

/* Haupt-Container */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Banner / Header --- */
.main-banner {
    background-color: #d11218; /* LEGO Rot */
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border: 5px solid #000000; /* Dicker Border */
    border-radius: 15px; /* Abgerundete Ecken */
    box-shadow: 5px 5px 0px #000000;
    margin-bottom: 15px;
}

.main-banner h1 {
    font-size: 2.5rem;
    text-shadow: 3px 3px 0px #fdca03; /* Gelber Schatten-Effekt */
    margin-bottom: 10px;
}

/* --- Navigation / Menü --- */
.navbar {
    background-color: #fdca03; /* LEGO Gelb */
    border: 5px solid #000000;
    border-radius: 15px;
    box-shadow: 5px 5px 0px #000000;
    margin-bottom: 15px;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.menu-item {
    display: block;
    padding: 15px 20px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-item:hover {
    background-color: #0055a5; /* LEGO Blau bei Hover */
    color: #ffffff;
    border-radius: 8px;
}

/* Dropdown Menüs */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fdca03;
    border: 4px solid #000000;
    border-radius: 10px;
    list-style: none;
    min-width: 200px;
    z-index: 100;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-menu li a:hover {
    background-color: #0055a5;
    color: #fff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile Menü Button */
.menu-toggle {
    display: none;
    padding: 15px;
    background-color: #fdca03;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 10px;
}

/* --- Inhalt --- */
.content-box {
    background-color: #ffffff;
    padding: 30px;
    border: 5px solid #000000;
    border-radius: 15px;
    box-shadow: 5px 5px 0px #000000;
    margin-bottom: 15px;
    min-height: 400px;
}

.content-box h2 {
    color: #0055a5;
    margin-bottom: 15px;
}

/* --- Footer --- */
.main-footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    border: 5px solid #000000;
    border-radius: 15px;
    box-shadow: 5px 5px 0px #000000;
}

/* --- Responsive Design (Smartphones) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links.responsive {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
        text-align: center;
    }
    
    .dropdown .dropdown-menu {
        position: relative;
        left: 0;
        box-shadow: none;
        border: none;
        background-color: #ffe169; /* Etwas helleres Gelb für Einrückung */
        padding-left: 20px;
    }
}

