/**
 * 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: #141414;
}

.topbar-right {
  background: #0a8a43;
  justify-content: flex-start;
}

/* ===== FARBE NACH AUSSEN VERLÄNGERN ===== */

/* Dunkel endlos nach links */

.topbar-left::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3000px;
  right: 100%;
  background: #141414;
  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;
}

/* ===== komplette Kontakt-Box klickbar ===== */

.koerner-contact-box {
  flex: 1 1 0;
  min-height: 88px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 18px;

  background: #ffffff;
  border-radius: 14px;
  box-sizing: border-box;

  color: inherit;
  text-decoration: none !important;
  cursor: pointer;

  transition: background-color 0.2s ease;
}

/* Hover auf der kompletten Box */

.koerner-contact-box:hover {
  background: #f7f7f7;
  color: inherit;
  text-decoration: none !important;
}

/* verhindert abweichende Linkdarstellung */

.koerner-contact-box:focus,
.koerner-contact-box:visited,
.koerner-contact-box:active {
  color: inherit;
  text-decoration: none !important;
}

/* ===== Icon-Kreis ===== */

.koerner-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;

  border: 2px solid #00753a;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #00753a;
  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: #292929;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===== 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;
  }
}