/* Header – aus dem Plugin „HelpCenter – Moderner Header“ (v1.2.2) übernommen, ohne WordPress/Astra-Overrides */
.hc-header-modern{--hc-cyan:#00c9ed;--hc-line:rgba(118,150,210,.22);position:relative;z-index:9999;width:100%;color:#f5f8ff;background:transparent}
.hc-header-modern *{box-sizing:border-box}
.hc-header-modern__inner{max-width:1500px;margin:auto;min-height:78px;padding:10px clamp(16px,2.4vw,46px);display:flex;align-items:center;gap:clamp(14px,2vw,34px)}
.hc-header-modern__brand{display:flex;align-items:center;flex-shrink:0;gap:11px;color:#f5f8ff}
.hc-header-modern__logo{width:52px;height:52px;object-fit:contain}
.hc-header-modern__brand-name{font-size:clamp(17px,1.4vw,22px);font-weight:850;letter-spacing:-.6px;white-space:nowrap;color:#fff}
.hc-header-modern__brand-name span{color:var(--hc-cyan)}
.hc-header-modern__nav{flex:1;min-width:0}
.hc-header-modern__menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.hc-header-modern__menu li{margin:0;padding:0}
.hc-header-modern__menu a{display:flex;align-items:center;gap:7px;min-height:38px;padding:9px 12px;border-radius:10px;color:#e6e6ef;font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap;border:1px solid transparent;transition:background .18s,color .18s,border-color .18s}
.hc-header-modern__menu a:hover,.hc-header-modern__menu a:focus-visible{color:#fff;background:rgba(163,100,242,.09);border-color:rgba(163,100,242,.16)}
.hc-header-modern__menu li.current-menu-item>a{background:rgba(143,84,210,.24);border-color:rgba(182,126,255,.65);box-shadow:inset 0 -2px 0 #b582f2;font-weight:850;color:#fff}
.hc-ico{font-size:14px;line-height:1}
.hc-header-modern__right{display:flex;align-items:center;justify-content:flex-end;gap:clamp(8px,1.2vw,18px);flex-shrink:0}
.hc-ha{display:flex;align-items:center;gap:8px}
.hc-ha-item{position:relative}
.hc-ha-btn{width:37px;height:37px;padding:9px;display:grid;place-items:center;background:rgba(29,28,51,.4);border:1px solid rgba(144,111,211,.27);border-radius:12px;color:#e6e6ef;cursor:pointer;transition:background .18s,border-color .18s}
.hc-ha-btn svg{width:19px;height:19px;fill:currentColor}
.hc-ha-btn:hover,.hc-ha-btn.is-open{background:rgba(143,84,210,.19);border-color:rgba(182,126,255,.5)}
.hc-ha-panel{position:absolute;top:calc(100% + 16px);right:0;z-index:100;width:min(340px,calc(100vw - 24px));padding:14px;background:#151c32;border:1px solid var(--hc-line);border-radius:15px;box-shadow:0 25px 50px rgba(0,0,0,.4)}
.hc-ha-panel[hidden]{display:none}
.hc-ha-panel--search{width:min(440px,calc(100vw - 24px))}
.hc-ha-search{display:flex;gap:8px}
.hc-ha-search input{flex:1;min-width:0;padding:10px 12px;border:1px solid rgba(137,163,211,.3);background:#0e172b;color:#fff;border-radius:10px;font:inherit;font-size:14px}
.hc-ha-search button{padding:0 14px;border:0;border-radius:10px;background:linear-gradient(110deg,#009db9,#8652d2);color:#fff;font-weight:750;cursor:pointer}
.hc-ha-empty{margin:0;font-size:13px;color:var(--muted,#b6c4d8);font-weight:600;line-height:1.6}
.hc-user-btn{display:flex;align-items:center;gap:9px;height:43px;padding:3px 8px;background:transparent;border:1px solid transparent;border-radius:12px;color:#fff;font:inherit;cursor:pointer;transition:background .2s}
.hc-user-btn:hover,.hc-user-btn[aria-expanded=true]{background:rgba(0,201,237,.09)}
.hc-user-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover}
.hc-user-name{font-weight:800;font-size:14px;color:#fff}
.hc-user-chevron{width:6px;height:6px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 2px 0 2px;opacity:.7}
.hc-user-menu{position:relative}
.hc-user-panel{width:200px;padding:7px}
.hc-user-panel a,.hc-user-panel button{display:block;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;color:#e6e6ef;font:inherit;font-size:14px;font-weight:700;text-align:left;cursor:pointer}
.hc-user-panel a:hover,.hc-user-panel button:hover{background:rgba(143,84,210,.19);color:#fff}
.hc-connect img{display:block;height:40px;width:auto}
.hc-header-modern__mobile-toggle{display:none;width:40px;height:40px;border:1px solid var(--hc-line);background:rgba(255,255,255,.05);border-radius:11px;padding:10px;flex-direction:column;justify-content:space-around;align-items:center;cursor:pointer}
.hc-header-modern__mobile-toggle span{display:block;width:19px;height:2px;background:#eaf5ff;border-radius:2px}
@media(max-width:1450px){.hc-header-modern__inner{gap:15px;padding-inline:20px}.hc-header-modern__menu a{padding-inline:8px;font-size:12px}.hc-header-modern__brand-name{font-size:18px}}
@media(max-width:1100px){
 .hc-header-modern__inner{flex-wrap:wrap;justify-content:space-between;gap:10px}
 .hc-header-modern__mobile-toggle{display:flex;order:2;margin-left:auto}
 .hc-header-modern__right{order:3;flex-wrap:wrap;justify-content:flex-end}
 .hc-header-modern__nav{display:none;order:4;flex:0 0 100%;width:100%;padding:10px 0 7px;border-top:1px solid var(--hc-line)}
 .hc-header-modern.is-mobile-open .hc-header-modern__nav{display:block}
 .hc-header-modern__menu{flex-direction:column;align-items:stretch}.hc-header-modern__menu a{white-space:normal}
 .hc-header-modern__secondary{display:none}}
@media(max-width:620px){.hc-header-modern__inner{padding:9px 12px}.hc-header-modern__brand-name{display:none}.hc-header-modern__logo{width:42px;height:42px}.hc-header-modern__right{gap:5px}.hc-ha{gap:4px}.hc-ha-btn{width:34px;height:34px;padding:7px}.hc-user-name{display:none}}
@media(prefers-reduced-motion:reduce){.hc-header-modern *{transition:none!important}}

/* ==================================================
   HelpCenter – Full Width Centered Header
   ================================================== */

.hc-header-modern {
    width: 100%;
}

.hc-header-modern__inner {
    width: 100%;
    max-width: none;
    min-height: 82px;
    padding: 10px clamp(20px, 3vw, 56px);
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(300px, 1fr);
    align-items: center;
    gap: 20px;
}

.hc-header-modern__brand {
    justify-self: start;
}

.hc-header-modern__nav {
    justify-self: center;
    min-width: 0;
}

.hc-header-modern__nav .hc-header-modern__menu {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3px;
}

.hc-header-modern__nav .hc-header-modern__menu a {
    padding: 9px 10px;
    font-size: 13px;
}

.hc-header-modern__right {
    justify-self: end;
    white-space: nowrap;
}

/* Tablet und kleinere Bildschirme */
@media (max-width: 1250px) {
    .hc-header-modern__inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .hc-header-modern__mobile-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .hc-header-modern__right {
        order: 3;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hc-header-modern__nav {
        display: none;
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        padding: 10px 0 7px;
        border-top: 1px solid var(--hc-line);
    }

    .hc-header-modern.is-mobile-open .hc-header-modern__nav {
        display: block;
    }

    .hc-header-modern__nav .hc-header-modern__menu {
        flex-direction: column;
        align-items: stretch;
    }

    .hc-header-modern__secondary {
        display: none;
    }
}

