@media screen {

    /* ------------------------------------------------------------
       HEADER
       ------------------------------------------------------------ */
    #header {
        background-color: var(--pb-header-navi-bg);
    }

    #header h1 {
        text-shadow: 3px 3px 5px #216477, -1px -1px 0 #000;
        color: #BF7830;
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        margin: 0;
    }

    /* Headtext */
    #header .headtext {
        padding-bottom: 20px;
        text-align: center;
    }

    #header .headtext h1 {
        font-size: var(--pb-font-size-h1);
        margin: 0 auto;
        text-shadow: 3px 3px 5px #216477, -1px -1px 0 #000;
        color: #BF7830;
        font-weight: bold;
    }

    #header .headtext h1 img {
        padding-right: 30px;
    }

    /* ------------------------------------------------------------
       NAVIGATION – verhindert Abschneiden der Dropdowns
       ------------------------------------------------------------ */
    .naviRahmen {
        background-color: var(--pb-header-navi-bg);
        overflow: visible !important;
        position: relative !important;
        z-index: 1000;
    }

    /* Contao-typischer Wrapper */
    .naviRahmen .ce_text.block {
        overflow: visible !important;
        position: relative !important;
        z-index: 1000;
    }

    /* ------------------------------------------------------------
       NAVI-TICKER
       ------------------------------------------------------------ */
    .naviTicker {
        background-color: var(--pb-header-navi-bg);
        height: 3em;
        overflow: visible !important;
        position: relative !important;
        z-index: 900;
    }

    .naviTickerText {
        float: left;
        background-color: var(--pb-header-navi-bg);
        height: 20px;
        overflow: visible !important;
        position: relative !important;
        z-index: 900;
    }

    .naviTickerText p {
        margin: 0;
    }

    /* ------------------------------------------------------------
       ANGEMELDET-ZEILE
       ------------------------------------------------------------ */
    #angemeldetZeile {
        background-color: var(--pb-body-bg);
        position: absolute;
        right: 20px;
        top: 0;
    }

    #angemeldetZeile a {
        color: var(--pb-link-color);
        text-decoration: none;
    }

    #angemeldetZeile a:hover {
        background-color: var(--pb-link-hover-color-bg);
        color: var(--pb-link-hover-color);
    }

    /* ------------------------------------------------------------
       EVENT TEXT / TICKER
       ------------------------------------------------------------ */
    .eventtext,
    .eventticker {
        float: left;
        vertical-align: middle;
        background-color: var(--pb-header-navi-bg);
        height: 15px;
        padding: 5px 10px 0 10px;
    }

    .eventtext {
        color: var(--pb-text-color);
    }

    .eventticker {
        color: black;
    }
}

/* =============================================================================
   DROPDOWN FIXES (Bootstrap 5 + Contao)
   ========================================================================== */

/* Bootstrap zeigt Dropdown nur an, wenn .show gesetzt ist 
.dropdown-menu.show {
    display: block !important;
}
*/
/* Layout/Stil des Dropdowns 
.dropdown-menu {
    background: #fff !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: .3rem 0;
    z-index: 9999 !important; /* über allen Header-Elementen */
}
*/
/* WOW.js setzt overflow:hidden ? wir heben es auf */
#headerZeile,
#headerZeile.ce_text,
#headerZeile.ce_text.block {
    overflow: visible !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Navigationsebenen nicht abschneiden */
.mod_navigation,
.level_1,
.level_1 > ul {
    overflow: visible !important;
    position: relative !important;
    z-index: 1000;
}
/* ============================================
   FIX: anmeldeZeile blockiert Dropdown-Klicks
   ============================================ */
