/* Site-wide layout fixes on top of the exported Elementor/Kava styles. */

/* Header top bar address: no hyphenation at any width (line break before the
   postal code is in the HTML, requested 2026-10-07). */
.elementor-element-f1f13ab,
.elementor-element-f1f13ab p {
  -webkit-hyphens: manual;
  hyphens: manual;
}

@media (max-width: 767px) {
  /* Mobile mega menu: open as a full-width panel below the header bar
     instead of a narrow box at the right edge (requested 2026-10-07). */
  .elementor-element-682f36c,
  .elementor-element-682f36c > .elementor-widget-wrap,
  .elementor-element-633539f,
  .elementor-element-633539f .jet-mega-menu {
    position: static;
  }
  .elementor-element-633539f .jet-mega-menu-container {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    top: 100%;
  }
  .elementor-element-633539f .jet-mega-menu-list {
    width: 100%;
    align-items: stretch;
  }
  .elementor-element-633539f .jet-mega-menu-item__inner {
    justify-content: center;
  }
  .elementor-element-633539f .jet-mega-menu-item__link {
    justify-content: center;
    text-align: center;
  }
  .elementor-element-633539f .jet-mega-menu-sub-menu__list {
    width: 100%;
  }

  /* Top bar: address and phone centred below each other, no hyphenation. */
  .elementor-element-f1f13ab,
  .elementor-element-f1f13ab p {
    text-align: center;
    -webkit-hyphens: manual;
    hyphens: manual;
  }
  /* Elementor sets this widget to "align start" on mobile; centre its content. */
  .elementor-element.elementor-element-2be3263 .elementor-icon-list-item,
  .elementor-element.elementor-element-2be3263 .elementor-icon-list-item > a {
    justify-content: center !important;
  }
}

/* Contact form: readable placeholders and labels (WCAG AA, >= 4.5:1 on white).
   Before: placeholders #e0e0e8 (1.3:1), antispam question in pink #fe5c7a (3.0:1). */
/* !important: the exported Elementor rule for this form
   (".elementor-25 ... .wpcf7 *:not(.wpcf7-form-control)...") is very specific. */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #707078 !important;
  opacity: 1;
}
.wpcf7-form p,
.wpcf7-form label,
.wpcf7-form .col-md-12 {   /* "Ihre Antwort" / "Your answer" sits directly in this div */
  color: #4d555f !important;
}
