/* ==================================================
   Helix Ultimate Header / Topbar
   ================================================== */

/* Topbar mit Logo */
#sp-header-topbar {
    position: relative;
    background: #d90909;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Container darf mit dem Logo wachsen */
#sp-header-topbar .container,
#sp-header-topbar .container-inner {
    min-height: 90px;
}

/* Logo sauber skalieren */
#sp-header-topbar .logo-image {
    height: auto !important;
    width: auto !important;
    max-height: 110px !important;
}

/* Logo vertikal zentrieren */
#sp-header-topbar .logo-box,
#sp-header-topbar .logo {
    display: flex;
    align-items: center;
}


/* ==================================================
   Kontaktbereich Topbar
   ================================================== */

#sp-contact {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}


/* Hintergrund Kontakt */
#sp-contact .contact-info,
#sp-contact .sp-contact-info,
#sp-contact .sp-column {
    background: #0f4c81;
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 0 8px;
}


/* Kontaktfarbe */
#sp-contact .sp-contact-info,
#sp-contact .sp-contact-info li,
#sp-contact .sp-contact-info a,
#sp-contact .sp-contact-info span {
    color: #ffffff !important;
}


/* Icons */
#sp-contact .sp-contact-info .fas,
#sp-contact .sp-contact-info .far {
    color: #ffffff !important;
}


/* ==================================================
   Hauptheader / Menü
   ================================================== */

#sp-header {
    border-bottom: none !important;
    box-shadow: none !important;
}


/* Menü weiß */
#sp-header .sp-megamenu-parent > li > a {
    color: #ffffff !important;
}


/* Aktiver Menüpunkt / Hover */
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.current > a,
#sp-header .sp-megamenu-parent > li:hover > a {
    color: #ffffff !important;
}


/* ==================================================
   Alle Linien entfernen
   ================================================== */

#sp-header-topbar,
#sp-header,
#sp-top-bar,
#sp-header .container,
#sp-header .sp-column,
#sp-header-topbar .container-inner {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ==================================================
   Logo links in der Topbar positionieren
   ================================================== */

#sp-header-topbar #sp-logo {
    justify-content: flex-start !important;
}

#sp-header-topbar .logo-box {
    justify-content: flex-start !important;
}

#sp-header-topbar .logo {
    margin-left: 0 !important;
}

#sp-header-topbar .container-inner {
    position: relative;
}


/* Logo Größe */
#sp-header-topbar .logo-image {
    height: auto !important;
    width: auto !important;
    max-height: 110px !important;
}

#sp-header-topbar .logo-box {
    justify-content: flex-start !important;
}

/* Logo in Helix Ultimate Topbar ganz links ausrichten */
#sp-header-topbar #sp-logo .logo-box {
    justify-content: flex-start !important;
}

#sp-header-topbar #sp-logo {
    justify-content: flex-start !important;
    text-align: left !important;
}

#sp-header-topbar #sp-logo .logo {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ==================================================
   Topbar Layout: Logo links, Kontakt rechts
   ================================================== */

#sp-header-topbar .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo links */
#sp-header-topbar #sp-logo {
    order: 1;
    width: auto !important;
    flex: 0 0 auto;
}

#sp-header-topbar #sp-logo .logo-box {
    justify-content: flex-start !important;
}

/* Kontakt rechts */
#sp-header-topbar #sp-contact {
    order: 2;
    margin-left: auto;
    width: auto !important;
    flex: 0 0 auto;
}

/* Kontakt rechts sichtbar lassen */
#sp-header-topbar #sp-social {
    display: flex !important;
    order: 2;
    width: auto !important;
    flex: 0 0 auto;
    margin-left: auto;
}

/* Logo Größe */
#sp-header-topbar .logo-image {
    height: auto !important;
    width: auto !important;
    max-height: 110px !important;
}

/* ==================================================
   Kontakt in Topbar weiß darstellen
   ================================================== */

#sp-header-topbar #sp-social .sp-contact-info,
#sp-header-topbar #sp-social .sp-contact-info li,
#sp-header-topbar #sp-social .sp-contact-info li a,
#sp-header-topbar #sp-social .sp-contact-info li a:link,
#sp-header-topbar #sp-social .sp-contact-info li a:visited,
#sp-header-topbar #sp-social .sp-contact-info li a:hover,
#sp-header-topbar #sp-social .sp-contact-info li span {
    color: #ffffff !important;
}


/* Telefon- und Mail-Icons */
#sp-header-topbar #sp-social .sp-contact-info .fas,
#sp-header-topbar #sp-social .sp-contact-info .far {
    color: #ffffff !important;
}

/* ==================================================
   Topbar etwas flacher machen
   ================================================== */

#sp-header-topbar .container-inner {
    min-height: 80px;
}

/* Logo etwas kleiner */
#sp-header-topbar .logo-image {
    max-height: 80px !important;
}

/* weniger Abstand oben/unten */
#sp-header-topbar .logo-box {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Kontaktbereich kompakter */
#sp-header-topbar #sp-social .sp-contact-info {
    margin-bottom: 0;
}

#sp-header-topbar #sp-social .sp-contact-info li {
    line-height: 1.4;
}

/* Joomla Featured Badge ausblenden */
.featured-article-badge {
    display: none !important;
}