/* Header 2026: Logo + Hauptnavigation in einer Leiste (Desktop), Burger-Menü nur mobil.
   Wird als letztes Stylesheet geladen und überstimmt die älteren Header-Revisionen
   (style.css, brand-2026.css, dark-theme.css). Farben: bestehendes CI. */

html body .site-header.rr-header .brand-bar{height:auto!important;min-height:0!important;overflow:visible!important;border-bottom:1px solid #2b3b49!important}
html body .site-header.rr-header .brand-bar__inner{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:28px!important;height:auto!important;min-height:88px!important;padding:12px 0!important;position:relative!important}
html body .site-header.rr-header .brand-bar__link{flex:0 0 auto!important;width:auto!important;height:auto!important;padding:0!important;display:block!important}
html body .site-header.rr-header .brand-bar .site-logo{width:220px!important;max-width:220px!important;height:auto!important;max-height:none!important;display:block}

/* ---------- Hauptnavigation ---------- */
html body .site-header.rr-header .rr-mainnav{display:flex!important;align-items:stretch!important;gap:2px!important;height:auto!important;margin:0 auto 0 8px!important;padding:0!important;background:transparent!important}
html body .site-header.rr-header .rr-mainnav>a,
html body .site-header.rr-header .rr-mainnav>.dropdown>a{position:relative;display:flex!important;align-items:center!important;gap:6px;min-height:48px!important;padding:0 14px!important;border-radius:10px!important;color:#dce7ee!important;background:transparent!important;font-size:15px!important;font-weight:700!important;text-decoration:none!important;white-space:nowrap;box-shadow:none!important;transition:background .15s,color .15s}
html body .site-header.rr-header .rr-mainnav>a:hover,
html body .site-header.rr-header .rr-mainnav>.dropdown>a:hover,
html body .site-header.rr-header .rr-mainnav>.dropdown.open>a{background:#1b2c39!important;color:#fff!important}
html body .site-header.rr-header .rr-mainnav>a.active,
html body .site-header.rr-header .rr-mainnav>.dropdown.active>a{color:#b4db65!important;background:transparent!important}
html body .site-header.rr-header .rr-mainnav>a.active::after,
html body .site-header.rr-header .rr-mainnav>.dropdown.active>a::after{content:'';position:absolute;left:14px;right:14px;bottom:4px;height:3px;border-radius:3px;background:#8dbf24}
html body .site-header.rr-header .rr-mainnav .nav-caret{font-size:10px!important;margin-left:2px!important;opacity:.7;transition:transform .2s}
html body .site-header.rr-header .rr-mainnav .dropdown.open .nav-caret{transform:rotate(180deg)}
html body .site-header.rr-header .rr-mainnav .dropdown{position:relative!important;display:flex!important}
html body .site-header.rr-header .rr-mainnav .dropdown-menu{display:none;position:absolute!important;top:calc(100% + 8px)!important;left:0!important;min-width:250px!important;padding:8px!important;background:#1b2c39!important;border:1px solid #354b5d!important;border-radius:12px!important;box-shadow:0 18px 40px rgba(0,0,0,.35)!important;z-index:2000!important}
html body .site-header.rr-header .rr-mainnav .dropdown-menu::before{content:'';position:absolute;left:0;right:0;top:-10px;height:10px}
/* Öffnen/Schließen steuert ausschließlich nav.js (Klasse .open) – kein :hover,
   sonst kämpfen Hover und Klick auf Touch-Geräten gegeneinander. */
html body .site-header.rr-header .rr-mainnav .dropdown-menu{display:none!important}
html body .site-header.rr-header .rr-mainnav .dropdown.open>.dropdown-menu{display:block!important}
html body .site-header.rr-header .rr-mainnav .dropdown-menu a{display:flex!important;flex-direction:column;gap:1px;padding:10px 12px!important;border-radius:8px!important;color:#eef3f7!important;background:transparent!important;text-decoration:none!important}
html body .site-header.rr-header .rr-mainnav .dropdown-menu a strong{font-size:14px;font-weight:700}
html body .site-header.rr-header .rr-mainnav .dropdown-menu a small{font-size:12px;font-weight:500;color:#9fb3c2}
html body .site-header.rr-header .rr-mainnav .dropdown-menu a:hover{background:#223849!important}
html body .site-header.rr-header .rr-mainnav .dropdown-menu a.active strong{color:#b4db65}

/* ---------- Rechte Seite ---------- */
html body .site-header.rr-header .brand-bar__actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}
html body .site-header.rr-header .brand-bar__socials{position:static!important;transform:none!important;display:flex!important;gap:8px!important}
html body .site-header.rr-header .brand-bar__socials a{width:38px!important;height:38px!important;font-size:15px!important}
html body .site-header.rr-header .hamburger{display:none!important}
.rr-nav-studio{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:#8dbf24;color:#101820!important;font-size:14px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.rr-nav-studio:hover{background:#9fd12f}

/* ---------- Mobil / Tablet ---------- */
@media (max-width:1080px){
  html body .site-header.rr-header .rr-mainnav{display:none!important}
  html body .site-header.rr-header .hamburger{display:flex!important;position:static!important}
  html body .site-header.rr-header .brand-bar__inner{min-height:76px!important;padding:10px 0!important}
  html body .site-header.rr-header .brand-bar .site-logo{width:190px!important;max-width:52vw!important}
}
@media (max-width:560px){
  html body .site-header.rr-header .brand-bar__socials{display:none!important}
  html body .site-header.rr-header .brand-bar__actions>.rr-nav-studio{display:none!important}
  html body .site-header.rr-header .brand-bar__inner{gap:12px!important;min-height:68px!important}
  html body .site-header.rr-header .brand-bar .site-logo{width:160px!important}
}

/* Mobiles Menü: Studio-Link prominent oben, Rechtliches klein unten */
html body #mobile-nav .rr-nav-studio--mobile{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:0;margin:0 0 14px;padding:13px 14px!important;background:#8dbf24!important;color:#101820!important;border-radius:10px;font-size:15px!important;font-weight:800!important}
html body #mobile-nav .rr-nav-studio--mobile[hidden]{display:none!important}
html body #mobile-nav .rr-mobile-legal{margin:22px 0 0;padding:0 12px;font-size:13px;color:rgba(255,255,255,.6)}
html body #mobile-nav .rr-mobile-legal a{display:inline!important;min-height:0;padding:0!important;font-size:13px!important;font-weight:600!important;color:rgba(255,255,255,.8)!important;background:none!important;border:0!important}
html body #mobile-nav .rr-mobile-legal a:hover{color:#fff!important;text-decoration:underline}
