/**** Header ****/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform 0.35s ease;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.header .header--row-inner.header-main-inner {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5))!important;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.nav-ul .sub-menu {
    z-index: 100;
    position: absolute;
    top: 100%;
    box-shadow: rgba(149, 157, 165, .2) 0 8px 24px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5))!important;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	border-radius: 5px;
}

.header .primary-menu-ul > li > .wrap > a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    overflow: visible;
    color: inherit; /* Linkfarbe übernehmen */
}

/* Linie vorbereitet, Pivot in der Mitte */
.header .primary-menu-ul > li > .wrap > a::after {
	/*
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    background: currentColor;
    transform: translateX(-50%);
    transition: width 0.25s ease;
	*/
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    display: block;
    background: currentColor;
    transform: translateX(-50%);
    transform-origin: center;
    transition: width 0.25s ease;
}

/* Hover – Linie wächst aus der Mitte */
.header .primary-menu-ul > li:hover > .wrap > a::after {
    width: 100%;
}


/* "Firus" wird zu Logos */
.custom-img-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.custom-img-container img {
  width: 100%!important;
  max-width: 120px;
  height: 45px; 
}

.custom-img-container img {
    height: 45px;          /* Höhe fixieren */
    width: auto;           /* Breite automatisch proportional */
   /* max-width: 50%;   */    /* verhindert, dass Chrome es über den Container streckt */
    flex-shrink: 0;        /* verhindert, dass Safari schrumpft */
    object-fit: contain;   /* skaliert Bilder sauber */
}
.site-logo img{
	margin: unset!important;
}

@media (max-width: 768px) {

  .custom-img-container {
    display: inline-flex;
    max-width: none;
    overflow: visible;
  }

  .custom-img-container img {
    height: 32px;
    width: auto;
  }
	
	.header .header--row-inner.header-main-inner {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.nav-ul .sub-menu {
    box-shadow: none;
	background: none!important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-radius: none;
}
.current-menu-item .wrap a{
	color: inherit;
	font-weight: bold;
}
.custom-img-container img {
        height: 42px;
}
	
	.builder-item .item--inner{
		padding-top: 5px;
		padding-bottom: 5px;
	}	
	
}

@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .custom-img-container img {
      margin-right: 8px;       /* korrigiert Safari-Gap falls nötig */
    }
  }
}
