/* wildtierforschung.de: Mobilansicht (E11, Auftrag tk 18.11.2026). Gilt nur bis 768 px; Desktop unverändert.
   Wird nach resp.css geladen und ersetzt dort die festen Abstände (#funktion margin 360/250/240/110 px, #header min-height 350/285/237 px),
   durch die Logo, Suche und Funktionsmenü übereinander lagen und der Menüknopf abgeschnitten war.
   Der Knopf #menuTrigger klappt .mainMenu auf (Logik wie alte fileadmin/js/main.js, in wfo-seite.js). */
@media only screen and (max-width: 768px) {
    #header .inner {
        background: none;
        min-height: 0;
        padding: 0 0 12px;
        text-align: center;
    }
    #logo {
        margin: 12px auto 0;
        position: static;
        width: 110px;
    }
    #logo img {
        display: block;
        height: auto;
        width: 110px;
    }
    /* Suchfeld: Feld-Ausschnitt aus der Kopfgrafik hg_suche.jpg (Feld liegt dort bei x 150-455) */
    #suche {
        background: transparent url("/fileadmin/images/hg_suche.jpg") no-repeat -148px 0;
        clear: both;
        float: none;
        height: 44px;
        margin: 12px auto 0;
        max-width: 100%;
        text-align: left;
        width: 300px;
    }
    #funktion {
        margin: 8px 0 0;
        position: static;
    }
    #funktion ul li {
        display: inline-block;
        float: none;
        font-size: 16px;
    }
    #menuTrigger {
        background: #fff url("/fileadmin/images/hg_trigger_02.jpg") no-repeat scroll left 20px top 10px;
        border: 1px solid #ffa800;
        display: block;
        float: none;
        margin: 10px auto 0;
        padding: 0 0 5px;
        width: 220px;
    }
    #menuTrigger a {
        cursor: pointer;
        font-size: 1em;
    }
    .mainMenu {
        border: 3px solid #ffa800;
        box-sizing: border-box;
        float: none;
        margin: 10px auto 0;
        position: static;
        text-align: center;
        width: 92%;
    }
    /* Kopfbild auf Bildschirmbreite (resp.css setzt 768/600/480/360 px feste Breiten) */
    #page-wrapper-bild {
        width: 100%;
    }
    #page-wrapper-bild .bild {
        left: auto;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
}
