/* EssenHub header fix: prevent Termin / nav / language switcher clash on desktop */

/* Language switcher — compact, never wrap awkwardly */
.site-header-actions .inline-flex.rounded-full {
  flex-shrink: 0;
  max-width: 100%;
}
.site-header-actions .inline-flex.rounded-full button {
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Duplicate Live-Demo CTA on the right — nav already has Demo */
@media (min-width: 1024px) {
  .site-header-actions > a.nav-demo-cta {
    display: none !important;
  }

  .site-header-inner {
    column-gap: 1rem !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .site-header-nav {
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .site-header-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav-link {
    padding: 0.42rem 0.62rem !important;
    font-size: 0.8125rem !important;
  }

  .site-header-actions {
    gap: 0.3rem !important;
    min-width: 0;
  }

  .site-nav-action {
    padding: 0.42rem 0.6rem !important;
    font-size: 0.8125rem !important;
    white-space: nowrap;
  }

  .site-nav-cta-primary {
    padding: 0.48rem 0.9rem !important;
    font-size: 0.8125rem !important;
    white-space: nowrap;
  }

  .site-header-divider {
    margin: 0 0.15rem !important;
  }

  /* Brand can shrink so nav + actions don't collide */
  .site-header-brand-name {
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Mid desktop: tighter still (laptop widths where clash is worst) */
@media (min-width: 1024px) and (max-width: 1280px) {
  .site-nav-link {
    padding: 0.38rem 0.48rem !important;
    font-size: 0.78rem !important;
  }

  .site-header-actions .site-nav-action {
    /* keep Login but shorter padding */
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header-brand-name {
    max-width: 7rem;
  }

  /* slightly smaller lang pill */
  .site-header-actions .inline-flex.rounded-full button {
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
    font-size: 0.68rem !important;
  }

  .site-header-actions .inline-flex.rounded-full svg {
    width: 0.85rem !important;
    height: 0.85rem !important;
    margin-left: 0.35rem !important;
  }
}

/* Ensure actions never sit under nav links */
@media (min-width: 1024px) {
  .site-header-nav,
  .site-header-actions {
    position: relative;
    z-index: 1;
  }
  .site-header-actions {
    z-index: 2;
    background: transparent;
  }
}

/* Mobile menu: clear language row + Termin spacing */
.site-header-mobile {
  gap: 0.35rem !important;
}
.site-header-mobile .inline-flex.rounded-full {
  margin: 0.35rem 0 0.5rem;
  align-self: flex-start;
}

/* ===== 5-min CTA + ROI highlight + quiet plan notes ===== */
.demo-pulse-badge {
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35), 0 0 18px rgba(34, 197, 94, 0.18) !important;
  background: rgba(34, 197, 94, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.55) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}
.demo-pulse-badge:hover {
  background: rgba(34, 197, 94, 0.28) !important;
}

/* Pricing ROI box — full highlight */
.roi-note,
#pricing .roi-note,
p.roi-note {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.18), rgba(22, 163, 74, 0.08)) !important;
  border: 1px solid rgba(22, 163, 74, 0.45) !important;
  border-left: 5px solid #16a34a !important;
  color: #14532d !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12) !important;
}

/* Plan Hinweis = small quiet info under previous bullet (NO yellow box) */
#pricing li.eh-plan-note,
.eh-plan-note {
  display: flex !important;
  align-items: flex-start !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 0 0 0 1.65rem !important;
  margin: -0.15rem 0 0.35rem 0 !important;
  gap: 0 !important;
  opacity: 1 !important;
  list-style: none !important;
}
#pricing li.eh-plan-note svg,
#pricing li.eh-plan-note .eh-plan-tick,
#pricing li.eh-plan-note .eh-plan-note-mark,
.eh-plan-note svg,
.eh-plan-note .eh-plan-tick,
.eh-plan-note-mark {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#pricing .eh-plan-note-text,
.eh-plan-note-text {
  color: #64748b !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  font-style: normal !important;
  opacity: 0.9 !important;
}
#pricing .bg-navy li.eh-plan-note,
.bg-navy .eh-plan-note {
  background: transparent !important;
  border: none !important;
  opacity: 1 !important;
}
#pricing .bg-navy .eh-plan-note-text,
.bg-navy .eh-plan-note-text {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.72rem !important;
}
