
/* METEO SANTA SUSANNA v1.2 */

.site-header-v12{
    width:100%;
    background:
        radial-gradient(circle at 14% -25%,rgba(255,255,255,.90),transparent 31rem),
        linear-gradient(135deg,#e9f8ff 0%,#c9e9fb 52%,#a8d3ec 100%);
    color:#12324a;
    box-shadow:0 8px 24px rgba(31,76,108,.14);
}

.site-header-v12__top{
    width:100%;
}

.site-header-v12__top-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    max-width:1320px;
    min-height:122px;
    margin:0 auto;
    padding:14px 24px 12px;
}

.site-header-v12__brand{
    display:flex;
    align-items:center;
    gap:19px;
    min-width:0;
    color:inherit;
    text-decoration:none;
}

.site-header-v12__logo{
    flex:0 0 auto;
    width:118px;
    max-width:118px;
    max-height:92px;
    object-fit:contain;
    filter:drop-shadow(0 7px 12px rgba(0,0,0,.16));
}

.site-header-v12__brand-copy{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
    padding-left:20px;
    border-left:1px solid rgba(18,50,74,.20);
}

.site-header-v12__brand-copy strong{
    color:#0b2d4a;
    font-size:clamp(1.55rem,2.7vw,2.8rem);
    line-height:1;
    letter-spacing:.03em;
    font-weight:800;
    white-space:nowrap;
}

.site-header-v12__brand-copy span{
    color:#176d9e;
    font-size:clamp(.85rem,1.15vw,1.08rem);
    line-height:1.3;
    font-weight:550;
}

.site-header-v12__datetime{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    min-width:220px;
    padding-left:24px;
    border-left:1px solid rgba(18,50,74,.20);
}

.site-header-v12__clock{
    display:flex;
    align-items:center;
    gap:9px;
    color:#0b2d4a;
    font-size:clamp(1.5rem,2.35vw,2.3rem);
    font-weight:800;
    font-variant-numeric:tabular-nums;
}

.site-header-v12__clock > span{
    color:#176d9e;
}

#headerDateV12{
    color:#176d9e;
    font-size:.95rem;
    font-weight:550;
    text-transform:capitalize;
}

.site-header-v12__menu-wrap{
    width:100%;
    padding:0 24px 16px;
}

.site-header-v12__menu-bar{
    position:relative;
    max-width:1320px;
    margin:0 auto;
    border:1px solid rgba(255,255,255,.18);
    border-radius:18px;
    background:linear-gradient(180deg,#0e4f82 0%,#0a3e68 100%);
    box-shadow:
        0 10px 24px rgba(8,46,77,.20),
        inset 0 1px 0 rgba(255,255,255,.12);
}

.site-header-v12__menu-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:54px;
    padding:0 14px;
}

.site-header-v12__links{
    display:flex;
    align-items:center;
    flex:1 1 auto;
    min-width:0;
    overflow-x:auto;
}

.site-header-v12__link{
    position:relative;
    display:inline-flex;
    align-items:center;
    min-height:46px;
    padding:0 13px;
    color:rgba(255,255,255,.86);
    font-size:.88rem;
    font-weight:400;
    text-decoration:none;
    white-space:nowrap;
    transition:background .2s ease,color .2s ease;
}

.site-header-v12__link:hover,
.site-header-v12__link:focus-visible{
    color:#fff;
    background:rgba(255,255,255,.07);
}

.site-header-v12__link.is-active{
    color:#83d4ff;
}

.site-header-v12__link.is-active::after{
    content:"";
    position:absolute;
    right:12px;
    bottom:0;
    left:12px;
    height:3px;
    border-radius:3px 3px 0 0;
    background:#83d4ff;
}

.site-header-v12__link.is-disabled{
    opacity:.46;
    pointer-events:none;
}

.site-header-v12__languages{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:0 0 auto;
    gap:7px;
}

.site-header-v12__language{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:30px;
    padding:3px 5px;
    border:1px solid transparent;
    border-radius:8px;
    text-decoration:none;
}

.site-header-v12__language svg{
    display:block;
    width:27px;
    height:17px;
    border-radius:2px;
}

.site-header-v12__language.is-active{
    border-color:#83d4ff;
    background:rgba(131,212,255,.13);
    box-shadow:0 0 0 2px rgba(131,212,255,.10);
}

.site-header-v12__toggle{
    display:none;
    width:44px;
    height:42px;
    padding:9px 10px;
    border:0;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    cursor:pointer;
}

.site-header-v12__toggle span{
    display:block;
    width:100%;
    height:2px;
    margin:4px 0;
    border-radius:2px;
    background:#fff;
}

.site-header-v12 + main{
    padding-top:20px !important;
}

@media (max-width:980px){
    .site-header-v12__top-inner,
    .site-header-v12__menu-bar{
        max-width:calc(100% - 8px);
    }

    .site-header-v12__brand-copy strong{
        white-space:normal;
    }

    .site-header-v12__link{
        padding-inline:10px;
        font-size:.82rem;
    }
}

@media (max-width:760px){
    .site-header-v12__top-inner{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        min-height:0;
        padding:12px 16px 10px;
    }

    .site-header-v12__brand{
        width:100%;
        gap:12px;
    }

    .site-header-v12__logo{
        width:82px;
        max-width:82px;
        max-height:66px;
    }

    .site-header-v12__brand-copy{
        padding-left:12px;
    }

    .site-header-v12__brand-copy strong{
        font-size:1.35rem;
    }

    .site-header-v12__brand-copy span{
        font-size:.78rem;
    }

    .site-header-v12__datetime{
        width:100%;
        min-width:0;
        align-items:flex-start;
        padding:8px 0 0;
        border-top:1px solid rgba(18,50,74,.16);
        border-left:0;
    }

    .site-header-v12__menu-wrap{
        padding:0 12px 14px;
    }

    .site-header-v12__menu-bar{
        border-radius:14px;
    }

    .site-header-v12__toggle{
        display:block;
        margin:6px 8px 6px auto;
    }

    .site-header-v12__menu-panel{
        display:none;
        align-items:stretch;
        flex-direction:column;
        gap:8px;
        padding:8px 10px 12px;
        border-top:1px solid rgba(255,255,255,.12);
    }

    .site-header-v12__menu-panel.is-open{
        display:flex;
    }

    .site-header-v12__links{
        align-items:stretch;
        flex-direction:column;
        overflow:visible;
    }

    .site-header-v12__link{
        min-height:42px;
        padding:0 12px;
        border-radius:8px;
        font-size:.9rem;
    }

    .site-header-v12__link.is-active::after{
        display:none;
    }

    .site-header-v12__languages{
        justify-content:flex-start;
        padding:4px 2px 0;
    }

    .site-header-v12 + main{
        padding-top:16px !important;
    }
}


/* v1.2a – neutralisiert die globale header-Regel aus assets/css/style.css */
body > header.site-header-v12{
    display:block !important;
    flex-direction:initial !important;
    justify-content:initial !important;
    align-items:initial !important;
    gap:0 !important;
    padding:0 !important;
    border-bottom:0 !important;
    position:static !important;
}

/* Beide Headerzeilen müssen untereinander stehen */
.site-header-v12__top,
.site-header-v12__menu-wrap{
    display:block !important;
    width:100% !important;
    flex:0 0 auto !important;
}

/* Die Menüleiste bleibt zentriert unter Logo und Uhrzeit */
.site-header-v12__menu-wrap{
    clear:both !important;
}

.site-header-v12__menu-bar{
    width:100% !important;
    max-width:1320px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}


/* v1.2b – Smartphone-Optimierungen */
@media (max-width:760px){

    /* Hamburger links statt rechts */
    .site-header-v12__toggle{
        display:block !important;
        margin:6px auto 6px 8px !important;
    }

    /* Menüpanel mit Flaggen sichtbar unter dem Hamburger */
    .site-header-v12__menu-panel{
        align-items:stretch !important;
    }

    .site-header-v12__languages{
        display:flex !important;
        justify-content:flex-start !important;
        align-items:center !important;
        gap:8px !important;
        padding:8px 2px 2px !important;
        border-top:1px solid rgba(255,255,255,.12);
    }

    .site-header-v12__language{
        display:inline-flex !important;
        visibility:visible !important;
        opacity:1 !important;
    }

    /* Titel auf dem Handy kleiner und einzeilig */
    .site-header-v12__brand-copy strong{
        font-size:1.08rem !important;
        line-height:1.05 !important;
        letter-spacing:.01em !important;
        white-space:nowrap !important;
    }

    .site-header-v12__brand-copy{
        min-width:0 !important;
    }
}

/* Sehr kleine Geräte */
@media (max-width:420px){
    .site-header-v12__brand{
        gap:9px !important;
    }

    .site-header-v12__logo{
        width:68px !important;
        max-width:68px !important;
        max-height:58px !important;
    }

    .site-header-v12__brand-copy{
        padding-left:9px !important;
    }

    .site-header-v12__brand-copy strong{
        font-size:.96rem !important;
    }

    .site-header-v12__brand-copy span{
        font-size:.68rem !important;
    }
}


/* v1.2c – Hamburger links, Flaggen dauerhaft direkt rechts daneben */
.site-header-v12__menu-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 14px;
}

.site-header-v12__mobile-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:0 0 auto;
    order:2;
}

.site-header-v12__mobile-actions .site-header-v12__toggle{
    display:none;
}

.site-header-v12__mobile-actions .site-header-v12__languages{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    margin-left:auto;
}

.site-header-v12__menu-panel{
    flex:1 1 auto;
    order:1;
    padding:0 !important;
}

@media (max-width:760px){
    .site-header-v12__menu-bar{
        display:block !important;
        padding:0 !important;
    }

    .site-header-v12__mobile-actions{
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        width:100% !important;
        min-height:54px;
        padding:5px 8px !important;
        order:initial;
    }

    .site-header-v12__mobile-actions .site-header-v12__toggle{
        display:block !important;
        flex:0 0 auto !important;
        margin:0 !important;
    }

    .site-header-v12__mobile-actions .site-header-v12__languages{
        display:flex !important;
        align-items:center !important;
        justify-content:flex-end !important;
        gap:7px !important;
        margin-left:auto !important;
        padding:0 !important;
        border-top:0 !important;
    }

    .site-header-v12__mobile-actions .site-header-v12__language{
        display:inline-flex !important;
        visibility:visible !important;
        opacity:1 !important;
        width:36px !important;
        height:28px !important;
        padding:3px 4px !important;
    }

    .site-header-v12__mobile-actions .site-header-v12__language svg{
        width:24px !important;
        height:16px !important;
    }

    .site-header-v12__menu-panel{
        display:none;
        width:100%;
        padding:8px 10px 12px !important;
        border-top:1px solid rgba(255,255,255,.12);
    }

    .site-header-v12__menu-panel.is-open{
        display:flex !important;
    }
}
