.metaBar {
  background-color: #f8f9fa;
  padding: 3px 0;
  border-bottom: 1px solid #e1e1e1;
  font-size: 12px;
  line-height: 1.3;
  min-height: 28px;
  overflow: visible;
  flex-shrink: 0;
}

.metaContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  min-height: 28px;
}

.metaLeft, .metaRight {
  display: flex;
  align-items: center;
}

.languageSwitcher {
  margin-right: 10px;
  margin-left: 5px;
  position: relative;
  z-index: 10002;
}

.metaItem {
  display: flex;
  align-items: center;
  margin-right: 15px;
  gap: 5px;
  font-size: 12px;
  line-height: 1.3;
}

.metaItem:last-child {
  margin-right: 0;
}

.emailIcon {
  color: #E30A1D;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.emailIcon:hover {
  color: #c0091a;
}

.phoneLink {
  color: #E30A1D;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.phoneLink:hover {
  color: #c0091a;
  text-decoration: underline;
}

.metaIcon {
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.metaItem span:not(.metaIcon) {
  color: #333;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.metaRight a {
  margin-right: 15px;
  text-decoration: none;
}

.metaContainer a {
  color: #e61111;
  text-decoration: none;
}

.metaContainer a:hover {
  text-decoration: underline;
}

.header {
  background-color: #ffffff;
  color: #333;
  padding: 15px 0;
  border-bottom: 3px solid #e61111;
  position: relative;
  z-index: 100;
}

.metaBar {
  position: relative;
  z-index: 101;
}

.topbarLink {
  margin-right: 12px;
  text-decoration: none;
  font-size: 12px;
  color: #2a2f43;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
  line-height: 1.3;
}

.topbarLink:hover {
  color: #E30A1D;
}

.topbarLink:last-child {
  margin-right: 0;
}

.headerContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.logo img {
  max-width: 150px;
}

.nav {
  flex-grow: 1;
}

.navList {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.navList li {
  position: relative;
}

.dropdown {
  position: relative;
}

.navList li a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.navList li a:hover {
  color: #e61111;
}

.menuToggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.dropdownMenu {
  display: none !important;
  position: absolute;
  background-color: #ffffff;
  top: calc(100% + 8px); /* etwas unter dem Link platzieren */
  left: 0;
  list-style: none;
  padding: 12px 0;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 8px;
  z-index: 10000; /* Erhöht für Admin-Bereich */
  min-width: 180px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Dropdown bleibt sichtbar beim Hover über Link oder Menü */
.dropdown:hover .dropdownMenu,
.dropdown:hover > .dropdownMenu,
.navList li.dropdown:hover .dropdownMenu,
.dropdown:hover .dropdownMenu:hover,
.dropdownMenu:hover,
.navList li.dropdown:hover .dropdownMenu:hover {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* Verbinde Link und Dropdown visuell - kein Gap */
.navList li.dropdown > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 5px;
  background: transparent;
  z-index: 1002;
}

.navList li.dropdown:hover > a {
  color: #e61111;
}

.dropdownMenu li {
  width: 100%;
  padding: 0;
  margin: 0;
  transition: background-color 0.2s ease;
}

.dropdownMenu li:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdownMenu li:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdownMenu li a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdownMenu li a:hover {
  color: #e61111;
  background-color: #f8f9fa;
  padding-left: 24px;
}


@media (max-width: 768px) {
  .metaBar {
    font-size: 0.8rem;
    padding: 5px 0;
  }

  .metaContainer {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .metaLeft {
    display: none;
  }

  .metaItem {
    margin-right: 20px;
  }

  .metaRight {
    margin-bottom: 10px;
  }

  .header {
    padding: 10px 0;
    position: relative;
  }

  .headerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .menuToggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2000;
  }

  .nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    width: 100%;
  }

  .nav.active {
    max-height: 500px;
  }

  .navList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    padding-left: 20px;
  }

  .navList li {
    width: 100%;
    margin: 5px 0;
  }

  .dropdownMenu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 5px;
  }

  .dropdown:hover .dropdownMenu {
    display: flex;
  }

  .dropdownMenu li {
    padding: 5px 15px;
    width: 100%;
  }

  .dropdownMenu li a {
    display: block;
    width: 100%;
    padding: 5px;
    color: #333;
    text-decoration: none;
  }

  .dropdownMenu li a:hover {
    color: #e61111;
  }

  .logo img {
    max-width: 120px;
    margin-bottom: 10px;
  }
}



