.site-header {
    background: linear-gradient(to right, #004767, #1f729a);
    padding-bottom: 0;
  }
  
  .header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 20px 4px 20px;
  }
  
.logo img {
  height: 80px; /* vorher 70px → kleiner machen */
}

.header-icons a {
  color: #8bcbe7;
  text-decoration: none;
  font-size: 18px;
  padding-bottom: 2px;
}
  
.header-icons {
  position: absolute;
  right: 20px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px; /* Abstand zwischen Lupe und DE */
}

.header-icons img {
  height: 20px;
}

.header-icons a:hover {
  text-decoration: none;
  color: #cccccc; /* Heller beim Hover */
}
  
.navigation-bar {
  background: white;
  padding: 0px 20px;
  position: relative;
  margin: 0 auto;
}
  
.main-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px; /* Gleichmäßiger Abstand */
  margin: 0;
  padding: 8px 0;
}

.main-navigation li {
  flex: 0 0 auto;
  width: 80px; /* Fixe Breite für Gleichheit */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-navigation a {
  text-decoration: none;
  color: black;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-weight: bold;
  height: 100%; /* Gleiche Höhe für alle */
}

.main-navigation img {
  aspect-ratio: 1;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.main-navigation span {
  margin-top: 5px;
  line-height: 1.2;
  word-wrap: break-word;
}

.menu-icon-wrapper {
  height: 40px;
  position: relative;
  display: inline-block;
}

.menu-icon {
  display: block;
}

.active-overlay {
  position: absolute;
  top: -10px;
  left: -11px;
  width: 100%;   /* passt sich an das Icon an */
  height: 100%;
  pointer-events: none;  /* verhindert Klick-Blockade */
  color: currentColor;   /* wird vom .active-Knoten geerbt */
}


/* Badge */
.badge {
    top: 0;
    right: 2%;
    width: 10vw;
    max-width: 180px;
  position: fixed;
}
.overlay-wrapper {
    position: absolute;
    height: auto;
    z-index: 2;
    overflow: hidden;
    font-family: 'Crimson Text';
}
.overlay-wrapper img {
    height: auto;
}
.badge-svg {
    width: 100%;
}
.overlay-svg {
    height: auto;
    display: block;
}
.overlay-text {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    color: white;
    font-size: clamp(5px, 1.2vw, 22px);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.wimpel-mobile{
  background-color: #682e67;
  padding-top: 4px;
  text-align: center;
  color: white;
  padding-left: 0;
  padding-right: 0;
  display: none !important;
  text-decoration: none;
}

.wimpel-mobile-inner2{
  padding: 3px;
  background-color: #e9b258;
  color:black;
}
.wimpel-mobile-inner{
  padding: 3px;
}
@media (max-width: 1290px) {
  .header-top {
    padding-top: 63px;
  }
  .site-header {
   margin-top:0px; 
  }
  .navigation-bar {
  	padding: 0px;
  }
  .wimpel-mobile{
    display: block !important;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  .overlay-wrapper{
    display: none;
  }
}
@media (max-width: 767px) {
  .navigation-bar {
  	padding: 0px;
  }
  .search-icon{
    visibility: hidden;
  }
  .main-navigation li {
  	width: 60px; /* Fixe Breite für Gleichheit */
  }
  .main-navigation span {
    font-size: 0.8rem !important;
  }
}


  