/* HEADER */
.antenne-header { background:#fff; border-bottom:0; box-shadow:0 2px 12px rgba(0,0,0,.08); position:relative; z-index:100; }
.antenne-header .antenne-header-inner { max-width:1200px; margin:0 auto; padding:12px 20px 0; text-align:center; }
.antenne-header .antenne-logo { margin-bottom:10px; }
.antenne-header .antenne-logo img { max-height:200px; width:auto; height:auto; display:inline-block; }
.antenne-header .antenne-logo-text { font-size:28px; font-weight:700; text-decoration:none; color:#111; }

/* Burger: am PC aus */
.antenne-header .antenne-menu-toggle { display:none !important; background:none; border:0; padding:10px; cursor:pointer; }
.antenne-header .antenne-menu-toggle span { display:block; width:26px; height:3px; margin:5px 0; background:#111; transition:.2s; }

/* Menü ohne Punkte */
.antenne-header .antenne-menu,
.antenne-header .antenne-menu li { list-style:none !important; margin:0; padding:0; }
.antenne-header .antenne-menu li::before,
.antenne-header .antenne-menu li::after { content:none !important; display:none !important; }
.antenne-header .antenne-menu li::marker { content:''; }

/* Dunkler Menüstreifen */
.antenne-header .antenne-nav { background:#161616; margin:0 -20px; }
.antenne-header .antenne-menu { display:flex; justify-content:center; flex-wrap:wrap; gap:4px 28px; }
.antenne-header .antenne-menu li { position:relative; }
.antenne-header .antenne-menu a { display:block; padding:14px 6px; text-decoration:none; color:#fff; font-weight:600; text-transform:uppercase; font-size:15px; letter-spacing:.04em; position:relative; }
.antenne-header .antenne-menu a::after { content:''; position:absolute; left:0; right:0; bottom:6px; height:3px;
    background:#e2001a; transform:scaleX(0); transition:transform .2s; }
.antenne-header .antenne-menu a:hover::after,
.antenne-header .antenne-menu .current-menu-item > a::after { transform:scaleX(1); }
.antenne-header .antenne-menu a:hover,
.antenne-header .antenne-menu .current-menu-item > a { color:#fff; }

/* Untermenü */
.antenne-header .antenne-menu .sub-menu { list-style:none; margin:0; padding:8px 16px; position:absolute; left:50%; transform:translateX(-50%);
    min-width:200px; background:#161616; border:1px solid #333; display:none; text-align:left; z-index:10; }
.antenne-header .antenne-menu li:hover > .sub-menu,
.antenne-header .antenne-menu li:focus-within > .sub-menu { display:block; }

.antenne-header .antenne-header-inner { position:relative; }
.antenne-header .antenne-live-btn { position:absolute; top:20px; right:20px; display:inline-flex; align-items:center; gap:8px;
    background:#e2001a; color:#fff !important; text-decoration:none; font-weight:700; text-transform:uppercase;
    font-size:14px; letter-spacing:.04em; padding:12px 20px; border-radius:999px; box-shadow:0 4px 12px rgba(226,0,26,.35);
    transition:transform .15s, background .15s; z-index:5; }
.antenne-header .antenne-live-btn:hover { background:#b8001a; transform:translateY(-1px); }
.antenne-header .antenne-live-icon { font-size:12px; }	
.antenne-header .antenne-live-btn { display:none !important; }
	
/* Smartphone und Tablet */
@media (max-width: 1024px) {
    .antenne-header .antenne-header-inner { padding-bottom:10px; }
    .antenne-header .antenne-logo img { max-height:90px; }
    .antenne-header .antenne-menu-toggle { display:inline-block !important; }
    .antenne-header .antenne-nav { display:none; text-align:left; margin:8px -20px 0; }
    .antenne-header .antenne-nav.is-open { display:block; }
    .antenne-header .antenne-menu { display:block; }
    .antenne-header .antenne-menu a { padding:14px 20px; border-bottom:1px solid #2a2a2a; }
    .antenne-header .antenne-menu a::after { display:none; }
    .antenne-header .antenne-menu .current-menu-item > a { color:#e2001a; }
    .antenne-header .antenne-menu .sub-menu { position:static; transform:none; display:block; border:0; padding:0 0 0 16px; background:transparent; }
    .antenne-header .antenne-menu-toggle.is-open span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
    .antenne-header .antenne-menu-toggle.is-open span:nth-child(2) { opacity:0; }
    .antenne-header .antenne-menu-toggle.is-open span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }
	.antenne-header .antenne-live-btn { position:static; display:inline-flex; margin:0 8px 8px 0; padding:10px 16px; font-size:13px; }
	.antenne-header .antenne-menu-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    float: none !important;
    width: 52px;
    height: 48px;
    padding: 0 !important;
}
.antenne-header .antenne-menu-toggle span {
    margin: 4px auto !important;
}
.antenne-header .antenne-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.antenne-header .antenne-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
	.antenne-header .antenne-nav {
    text-align: center !important;
}
.antenne-header .antenne-menu a {
    text-align: center !important;
    justify-content: center;
}
.antenne-header .antenne-menu .sub-menu {
    padding: 0 !important;
    text-align: center !important;
}
.antenne-header .antenne-menu .sub-menu a {
    padding-left: 4px;
  }

/* =================================================
   HEADER (neu) – Klassen mit Präfix "ah-"
   Diesen Block ans Ende der antenne-startseite.css setzen
================================================= */

.ah {
    position: relative;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Oberer Headerbereich */
.ah-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 1200px;
    min-height: 106px;
    margin: 0 auto;
    padding: 4px 20px;
}

/*
 * Das Logo ist exakt zentriert — unabhängig davon,
 * ob rechts der Burger-Button sichtbar ist.
 */
.ah-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.ah-logo a {
    display: block;
    line-height: 0;
}

.ah-logo img {
    display: block;
    width: auto;
    height: 170px;
    max-width: min(78vw, 560px);
    max-height: 170px;
    object-fit: contain;
}

/* Burger: Desktop aus */
.ah-burger {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111111;
    cursor: pointer;
}

.ah-burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Navigation */
.ah-nav {
    position: relative;
    z-index: 4;
    background: #161616;
}

.ah-menu,
.ah-menu li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.ah-menu li::before,
.ah-menu li::after {
    display: none !important;
    content: none !important;
}

.ah-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.ah-menu li {
    position: relative;
}

.ah-menu a {
    position: relative;
    display: block;
    padding: 14px 6px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.ah-menu a::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 3px;
    background: #e2001a;
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.ah-menu a:hover::after,
.ah-menu .current-menu-item > a::after {
    transform: scaleX(1);
}

.ah-menu a:hover,
.ah-menu .current-menu-item > a {
    color: #ffffff;
}

/* Untermenü: Desktop */
.ah-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    display: none;
    min-width: 200px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #333333;
    background: #161616;
    list-style: none;
    text-align: left;
    transform: translateX(-50%);
}

.ah-menu li:hover > .sub-menu,
.ah-menu li:focus-within > .sub-menu {
    display: block;
}

/* =================================================
   Tablet und Smartphone
================================================= */

@media (max-width: 1024px) {
    .ah-top {
        justify-content: space-between;
        min-height: 92px;
        padding: 4px 16px;
    }

    /*
     * Wichtig:
     * Die absolute Desktop-Zentrierung hier aufheben,
     * damit das Logo links im Header stehen kann.
     */
    .ah-logo {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 1 auto;
        min-width: 0;
        transform: none;
    }

    .ah-logo img {
        width: auto;
        height: 120px;
        max-width: calc(100vw - 94px);
        max-height: 120px;
    }

    .ah-burger {
        position: relative;
        z-index: 3;
        display: flex;
        flex: 0 0 48px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-left: auto;
        padding: 0;
    }

    .ah-burger.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .ah-burger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .ah-burger.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Das Menü legt sich über den Seiteninhalt */
    .ah-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    }

    .ah-nav.is-open {
        display: block;
    }

    .ah-menu {
        display: block;
        max-width: none;
    }

    .ah-menu a {
        padding: 14px 20px;
        border-bottom: 1px solid #2a2a2a;
        text-align: center;
    }

    .ah-menu a::after {
        display: none;
    }

    .ah-menu .current-menu-item > a {
        color: #e2001a;
    }

    .ah-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: center;
        transform: none;
    }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
    .ah-top {
        min-height: 82px;
        padding: 3px 12px;
    }

    .ah-logo img {
        height: 120px;
        max-width: calc(100vw - 78px);
        max-height: 120px;
    }

    .ah-burger {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }
}

/* Desktop-Navigation erzwingen */
@media (min-width: 1025px) {
    .ah-burger {
        display: none !important;
    }

    .ah-nav {
        position: relative !important;
        display: block !important;
        max-height: none !important;
        box-shadow: none !important;
    }
	
	/* =================================================
   HEADER FIX – MOBIL
   Muss ganz am Ende der CSS-Datei stehen.
================================================= */

@media (max-width: 1024px) {

    /* Header oben: Logo links, Menübutton rechts */
    .ah .ah-top {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        min-height: 86px !important;
        margin: 0 !important;
        padding: 4px 16px !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    /*
     * Desktop-Zentrierung aufheben:
     * Logo darf auf Mobil nicht absolut positioniert sein.
     */
    .ah .ah-logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .ah .ah-logo a {
        display: inline-block !important;
        line-height: 0 !important;
    }

    /* Logo auf Smartphone */
    .ah .ah-logo img {
        display: block !important;
        width: auto !important;
        height: 76px !important;
        max-width: calc(100vw - 94px) !important;
        max-height: 76px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    /* Burger: rechts, stabile Größe */
    .ah .ah-burger {
        position: relative !important;
        z-index: 20 !important;
        display: flex !important;
        flex: 0 0 48px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .ah .ah-burger span {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        margin: 4px 0 !important;
        border-radius: 2px !important;
        background: #111111 !important;
    }

    /* Mobiles Dropdown-Menü */
    .ah .ah-nav {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 9999 !important;
        display: none !important;
        width: 100% !important;
        max-height: calc(100vh - 86px) !important;
        margin: 0 !important;
        overflow-y: auto !important;
        background: #161616 !important;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35) !important;
    }

    .ah .ah-nav.is-open {
        display: block !important;
    }

    .ah .ah-menu {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ah .ah-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ah .ah-menu a {
        display: block !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #2a2a2a !important;
        color: #ffffff !important;
        text-align: center !important;
    }

    .ah .ah-menu a::after {
        display: none !important;
    }

    .ah .ah-menu .current-menu-item > a {
        color: #e2001a !important;
    }

    .ah .ah-menu .sub-menu {
        position: static !important;
        display: block !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: center !important;
        transform: none !important;
    }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
    .ah .ah-top {
        min-height: 78px !important;
        padding: 3px 12px !important;
    }

    .ah .ah-logo img {
        height: 68px !important;
        max-width: calc(100vw - 82px) !important;
        max-height: 68px !important;
    }

    .ah .ah-burger {
        flex-basis: 44px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }

    .ah .ah-nav {
        max-height: calc(100vh - 78px) !important;
    }
}
}