/* Grunddesign & Schriftarten */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Header - Jetzt flexibel für Mobilgeräte */
header {
    background: #004494 url('biene.jpg') no-repeat center center;
    background-size: cover;
    min-height: 180px; /* Mindesthöhe statt fester Höhe */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

header h1 {
    color: white;
    font-size: 1.8rem; /* Etwas kleiner für Handys */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    background-color: rgba(0, 68, 148, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 0;
    max-width: 90%;
}

/* Navigationsmenü - Wird auf Handys untereinander listig */
nav {
    background-color: #ffd100; /* Bienen-Gelb */
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbrüche, falls es zu eng wird */
    justify-content: center;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
    color: #222;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    transition: background 0.3s;
    text-align: center;
    font-size: 0.95rem;
}

nav a:hover {
    background-color: #e6bc00;
}

/* Hauptinhalt - Flexibler Content-Bereich */
main {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
    /* Verhindert, dass der Kasten am Bildschirmrand klebt */
    width: calc(100% - 30px); 
}

h2 {
    color: #004494;
    border-bottom: 2px solid #ffd100;
    padding-bottom: 5px;
    font-size: 1.5rem;
}

/* Listen-Styling für die Pflanzen/Pestizid-Seiten */
ul {
    padding-left: 20px;
}

/* Footer am Ende der Seite */
footer {
    text-align: center;
    padding: 25px 15px;
    background-color: #222;
    color: white;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* --- Spezielle Anpassungen für größere Bildschirme (PC/Tablet) --- */
@media (min-width: 600px) {
    header {
        height: 250px;
    }
    header h1 {
        font-size: 2.5rem;
    }
    nav {
        padding: 10px 0;
    }
    nav a {
        margin: 0 10px;
        font-size: 1rem;
    }
    main {
        margin: 30px auto;
        width: 100%;
    }
}
/* Styling für die Bienenbilder auf der Unterseite */
.bienen-bild {
    max-width: 100%;    /* Verhindert, dass das Bild breiter als der Textbereich wird */
    height: auto;       /* Behält das richtige Seitenverhältnis bei */
    display: block;     /* Sorgt für saubere Abstände */
    margin: 15px auto 25px auto; /* Zentriert das Bild und gibt Abstand zum nächsten Text */
    border-radius: 6px; /* Macht schöne, leicht abgerundete Ecken passend zum Design */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Ein ganz leichter Schatten für den edlen Look */
}