/* ==========================================================================
   Temporär: Termine nur telefonisch (Setmore deaktiviert)
   Zum Rückgängig machen: diese Datei + js/phone-booking.js entfernen und die
   "SETMORE DEAKTIVIERT"-Kommentare in den HTML-Dateien wieder aktivieren.
   ========================================================================== */

.tel-icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
}

/* Header button: full number on larger screens, "Anrufen" on phones */
.button.termin {
  white-space: nowrap;
}

.tel-short {
  display: none;
}

@media screen and (max-width: 479px) {
  .button.termin .tel-num {
    display: none;
  }

  .button.termin .tel-short {
    display: inline;
  }
}

/* Floating tab – same spot and look as the former Setmore "Book now" badge */
.phone-float {
  position: fixed;
  top: 25%;
  right: -2px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1rem .75rem 1.1rem;
  background-color: #d3897e;
  color: #fff;
  border: 2px solid #fff;
  border-right: 0;
  border-radius: 16px 0 0 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  text-decoration: none;
  transition: scale 300ms linear;
}

.phone-float:hover {
  scale: 1.1;
}

.phone-float .tel-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.phone-float__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Open Sans", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Popup */
.phone-notice {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background-color: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity 250ms ease;
}

.phone-notice.is-visible {
  opacity: 1;
}

.phone-notice__box {
  position: relative;
  width: 100%;
  max-width: 28rem;
  padding: 3rem 2rem 2rem;
  background-color: #f8f9f5;
  color: #000;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  text-align: center;
  transform: translateY(12px);
  transition: transform 250ms ease;
}

.phone-notice.is-visible .phone-notice__box {
  transform: translateY(0);
}

.phone-notice__close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.phone-notice__close:hover {
  background-color: rgba(0, 0, 0, .06);
}

.phone-notice__title {
  margin: 0 0 .75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
}

.phone-notice__text {
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.phone-notice__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.phone-notice__dismiss {
  padding: .5rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .phone-notice,
  .phone-notice__box,
  .phone-float {
    transition: none;
  }
}
