/* Einheitliche Hauptnavigation des Aktien-Hubs.
   Alles ist über die ID gekapselt, damit Seiten-CSS (Rechner, Aktien, Screener, News) den Header nicht verändern kann.
   Gegen das "Springen" des Headers beim Seitenwechsel:
   1) Scrollbar-Platz ist immer reserviert (html-Regel unten), sonst verschiebt sich die Seite um die Scrollbar-Breite.
   2) Der aktive Menüpunkt ist NICHT fett (fetter Text ist breiter und würde die Nachbarn verschieben).
   3) Schrift, Zeilenhöhe und Höhe sind im Header fest gesetzt und unabhängig von der Seiten-Schrift. */
html{overflow-y:scroll;scrollbar-gutter:stable}
#hub-global-header{display:block;position:sticky;top:0;left:0;right:0;z-index:1000;width:100%;max-width:none;margin:0;padding:0;background:#fff;border-bottom:1px solid #dfe5ea;box-shadow:none;color:#14202b;font:400 16px/1.4 "IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;text-align:left;box-sizing:border-box}
#hub-global-header *{box-sizing:border-box}
#hub-global-header .hub-nav-inner{width:100%;max-width:1080px;min-height:65px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 20px}
#hub-global-header .hub-brand{display:inline-flex;align-items:center;gap:10px;flex:none;color:#14202b;text-decoration:none;font-size:19px;font-weight:700;line-height:1.4;white-space:nowrap}
#hub-global-header .hub-logo{display:block;width:36px;height:36px;object-fit:contain;flex:none}
#hub-global-header .hub-brand-name{color:#14202b;font-weight:700}
#hub-global-header .hub-brand-name span{color:#2f9e5b;font-weight:600}
#hub-global-header .hub-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px 2px;width:auto;margin:0;padding:0}
#hub-global-header .hub-links a{display:inline-block;width:auto;margin:0;color:#14202b;text-decoration:none;font-size:15px;font-weight:500;line-height:1.5;padding:6px 7px;border-radius:8px;white-space:nowrap}
#hub-global-header .hub-links a:hover,#hub-global-header .hub-links a[aria-current="page"]{background:#f0f8f3;color:#1a7a45}
#hub-global-header .hub-burger{display:none;flex:none;width:44px;height:44px;margin:0;padding:0;border:1px solid #dfe5ea;border-radius:10px;background:#fff;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}
#hub-global-header .hub-burger span{display:block;width:20px;height:2px;border-radius:2px;background:#14202b;transition:transform .2s,opacity .2s}
#hub-global-header .hub-burger:hover{background:#f0f8f3}
#hub-global-header .hub-burger:focus-visible{outline:2px solid #2f9e5b;outline-offset:2px}
#hub-global-header.hub-open .hub-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
#hub-global-header.hub-open .hub-burger span:nth-child(2){opacity:0}
#hub-global-header.hub-open .hub-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Unter 1120 px: ohne JavaScript scrollt die Menüzeile, mit JavaScript (Klasse hub-js) wird sie zum Dreistrich-Menü. */
@media(max-width:1119px){
#hub-global-header{position:relative}
#hub-global-header .hub-nav-inner{min-height:0;flex-wrap:wrap}
#hub-global-header .hub-links{width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
#hub-global-header.hub-js .hub-nav-inner{flex-wrap:wrap;justify-content:space-between}
#hub-global-header.hub-js .hub-brand{flex:0 1 auto;min-width:0}
#hub-global-header.hub-js .hub-burger{display:inline-flex}
#hub-global-header.hub-js .hub-links{display:none;flex-direction:column;align-items:stretch;flex-wrap:nowrap;overflow:visible;gap:2px;padding:6px 0 4px;border-top:1px solid #eef1f4}
#hub-global-header.hub-js.hub-open .hub-links{display:flex}
#hub-global-header.hub-js .hub-links a{padding:12px 10px;font-size:16px}
}
@media(max-width:420px){#hub-global-header .hub-brand{font-size:14.5px;gap:8px}#hub-global-header .hub-logo{width:30px;height:30px}#hub-global-header .hub-nav-inner{gap:6px 10px}}
