/*
Global CSS
*/

.hide-container {
    display: none !important;
}

/* ===== TOPBAR ===== */
.koerner-topbar {
  width: 100%;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.koerner-topbar-inner {
  max-width: 1200px; /* an Avada Site Width anpassen */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px 280px;
  min-height: 34px;
  position: relative;
}

/* Basis für alle drei Bereiche */
.topbar-left,
.topbar-center,
.topbar-right {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 2;
}

/* Farben */
.topbar-left,
.topbar-center {
  background: #0b2a57;
}

.topbar-right {
  background: #0a8a43;
  justify-content: flex-start;
}

/* ===== FARBE NACH AUSSEN VERLÄNGERN ===== */

/* Blau endlos nach links */
.topbar-left::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3000px;
  right: 100%;
  background: #0b2a57;
  z-index: -1;
}

/* Grün endlos nach rechts */
.topbar-right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3000px;
  left: 100%;
  background: #0a8a43;
  z-index: -1;
}


/* ===== rechter Headerbereich ===== */
.koerner-contact-area {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ===== Boxen jetzt WEISS ===== */
.koerner-contact-box {
  flex: 1 1 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff; /* <-- geändert */
  border-radius: 14px;
  box-sizing: border-box;
}

/* optional: minimaler Hover statt grauer Fläche */
.koerner-contact-box:hover {
  background: #f7f7f7;
}

/* ===== Icon-Kreis ===== */
.koerner-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 2px solid #3aa76d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b8e95;
  font-size: 16px;
}

/* ===== Text ===== */
.koerner-contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Titel */
.koerner-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

/* Werte bleiben EINZEILIG */
.koerner-contact-value {
  font-size: 13px;
  line-height: 1.3;
  color: #6d7584;
  white-space: nowrap;        /* <-- verhindert Umbruch */
  overflow: hidden;
  text-overflow: ellipsis;    /* optional falls zu lang */
}

/* ===== Links ohne Unterstrich ===== */
.koerner-contact-value a {
  color: inherit;
  text-decoration: none !important;
}

.koerner-contact-value a:hover {
  color: #0b2a57;
  text-decoration: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .koerner-contact-area {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .koerner-contact-box {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .koerner-contact-area {
    flex-direction: column;
  }

  .koerner-contact-box {
    flex: 1 1 100%;
  }

  /* mobil darf umbrechen */
  .koerner-contact-value {
    white-space: normal;
  }
}