/* Button to the inquiry form in the header of every German page. */

/* Wide screens: in the main menu right after Kontakt, Kontakt's button style filled in brown. */
.l-header .ush_menu_1 .jt-cta-menu.us-btn-style_3 {
  margin-left: 0 !important;   /* only Kontakt's own margin between the two buttons */
  --btn-background: var(--color-content-primary, #483737);
  --btn-border-color: var(--color-content-primary, #483737);
  color: #fff !important;
}
@media (max-width: 1399px) {
  .l-header .ush_menu_1 .jt-cta-item { display: none; }
}

.jt-cta-header {
  order: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-left: 1.25rem;
  padding: 0 1.25rem;
  background: var(--color-content-primary, #483737);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: uppercase;   /* like Kontakt and the menu */
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color .15s;
}
.jt-cta-header:hover,
.jt-cta-bar:hover { background: #2f2424; }
.jt-cta-bar { display: none; }
@media (min-width: 1400px) {
  .jt-cta-header { display: none; }
}

/* Laptops: the full menu leaves no room for the button in the header (it fits from about 1370 px). */
@media (min-width: 1081px) and (max-width: 1399px) {
  .jt-cta-header {
    position: fixed;
    right: 15px;
    bottom: 152px;
    z-index: 999;
    height: 48px;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
  }
}

@media (max-width: 1080px) {
  .jt-cta-header { order: -1; margin: 0 1rem 0 0; }
}

/* Phones: the existing call bar shares the bottom edge with this button. */
@media (max-width: 600px) {
  .jt-cta-header { display: none; }
  .jatoba-call-widget { right: 50% !important; }
  .jatoba-call-widget span { font-size: 0 !important; }
  .jatoba-call-widget span::after {
    content: "Anrufen";
    font-family: var(--font-family, inherit);
    font-size: 15px;
    letter-spacing: -.02em;
    text-transform: uppercase;
  }
  .jt-cta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 50%;
    right: 0;
    bottom: 0;
    z-index: 999;
    height: 60px;
    background: var(--color-content-primary, #483737);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none !important;
  }
  .jt-cta-bar.jt-cta-solo { left: 0; }
}
