/* Short consent banner. Colors from the live Complianz stylesheet. */
.pf-consent {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 999998;
  width: min(450px, calc(100vw - 20px));
  box-sizing: border-box;
  margin: 0;
  padding: 16px 18px 14px;
  background: #f9f5f1;
  color: #92541f;
  border: 5px solid #f9f5f1;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(105, 63, 36, 0.15);
  font-family: "Albert Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.pf-consent[hidden] { display: none !important; }
.pf-consent h2 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #92541f;
}
.pf-consent p { margin: 0 0 12px; }
.pf-consent-cats { margin: 0 0 12px; padding: 0; list-style: none; }
.pf-consent-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(146, 84, 31, 0.15);
}
/* OceanWP strips the native checkbox and paints a Font Awesome check ("\f00c" in "Font Awesome 5 Free", #13aff0). That font is not loaded, so the tick shows up as a blue missing glyph. Draw the box and the tick in CSS instead. */
.pf-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid #693f24;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: none;
  color: #693f24;
  font-family: "Albert Sans", sans-serif;
  line-height: 0;
  vertical-align: middle;
  cursor: pointer;
  flex: 0 0 18px;
}
.pf-consent input[type="checkbox"]::before,
.pf-consent input[type="checkbox"]:checked::before {
  content: "";
  float: none;
  display: none;
  box-sizing: border-box;
  width: 5px;
  height: 9px;
  margin: 1px 0 0 4px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-family: "Albert Sans", sans-serif;
  font-weight: 400;
  font-size: 0;
  line-height: 0;
  transform: rotate(45deg);
}
.pf-consent input[type="checkbox"]:checked {
  background: #693f24;
  border-color: #693f24;
}
.pf-consent input[type="checkbox"]:checked::before {
  display: block;
}
.pf-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #ae6a54;
  outline-offset: 2px;
}
.pf-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-consent button,
.pf-map-gate button,
.pf-offisy-gate button {
  font-family: "Albert Sans", sans-serif;
  cursor: pointer;
}
/* Live Complianz size and fill: 45px, 15px, weight 500, #f9f9f9 / #693f24. The live 1px #f2f2f2 edge disappears on this cream panel, so the outline uses the same terracotta as the label. */
.pf-consent .pf-consent-actions button {
  min-height: 45px;
  padding: 10px;
  margin: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}
.pf-consent .pf-consent-accept,
.pf-map-gate button {
  background: #693f24;
  color: #fdece4;
  border: 1px solid #ffffff;
}
.pf-consent .pf-consent-deny,
.pf-consent .pf-consent-settings,
.pf-consent .pf-consent-save {
  background: #f9f9f9;
  color: #693f24;
  border: 1px solid #693f24;
}
.pf-offisy-gate { text-align: center; margin: 20px 0; }
.pf-offisy-gate .pf-offisy-note {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-family: Arial, sans-serif;
}
.pf-offisy-gate .pf-offisy-accept {
  background-color: #ae6a54;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: 10px;
}

/* Offisy embed only. The widget paints into #offisyCalendar (light DOM).
   Do not set a max-width or a font-size/line-height here: the week view is a
   dhtmlx scheduler that sizes columns and rows in pixels, and a squeezed
   box or a taller line-height clips Sunday and pulls events off the grid. */
#offisy-calendar-container {
  box-sizing: border-box;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 0 28px;
}
#offisyCalendar {
  width: 100%;
  color: #3a302c;
}
/* 20:00 sits on the bottom edge of the hour column. The 20:00–21:00
   row is collapsed in JS because dhtmlx last_hour is exclusive. */
#offisyCalendar .pf-close-hour {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  margin: 0;
  padding: 0;
  line-height: 14px;
  text-align: center;
  font: 11px/14px Arial, sans-serif;
  color: #767676;
  background: #fff;
  pointer-events: none;
  z-index: 4;
}
#offisyCalendar .offisy-calendar > .container,
#offisyCalendar .offisy-calendar > .container-fluid {
  width: 100%;
  max-width: 100%;
}
#offisyCalendar .offisy-calendar > .container > h1,
#offisyCalendar .offisy-calendar > .container > .ng-scope > h2 {
  color: #693f24 !important;
  text-align: center;
}
#offisyCalendar .offisy-calendar > .container > h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
#offisyCalendar .offisy-calendar > .container > .ng-scope > h2 {
  font-size: 22px;
  margin: 8px 0 16px;
}

/* Step markers */
#offisyCalendar .pagination {
  justify-content: center;
  align-items: center;
  margin: 4px 0 12px;
  gap: 0;
}
#offisyCalendar .pagination button,
#offisyCalendar .pagination hr {
  margin-bottom: 0;
  opacity: 1;
}
#offisyCalendar .pagination button {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #ae6a54 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #693f24 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
#offisyCalendar .pagination button.active,
#offisyCalendar .pagination button:not(.disabled):hover,
#offisyCalendar .pagination button:not(.disabled):active {
  background: #ae6a54 !important;
  background-color: #ae6a54 !important;
  border-color: #693f24 !important;
  color: #ffffff !important;
}
#offisyCalendar .pagination button.disabled {
  background: #faf1ea !important;
  background-color: #faf1ea !important;
  border-color: #c9a08f !important;
  color: #693f24 !important;
  opacity: 1 !important;
}
#offisyCalendar .pagination hr {
  flex: 0 0 22px;
  width: 22px;
  height: 0;
  margin: 0 4px;
  border: 0;
  border-top: 3px solid #ae6a54;
  background: transparent;
}
@media (max-width: 520px) {
  #offisyCalendar .pagination button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 15px;
  }
  #offisyCalendar .pagination hr {
    flex-basis: 12px;
    width: 12px;
    margin: 0 2px;
  }
}

/*
  Sonstige sits in a Bootstrap side column (col-lg-3) next to the service
  cards, so the list is shifted off the step-row center. Stack that pair
  and let the chip sit in its own row above the cards.
*/
#offisyCalendar .row:has(> .col-lg-3 > .list-group) > .col-lg-3,
#offisyCalendar .row:has(> .col-lg-3 > .list-group) > .col-lg-9 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
}
#offisyCalendar .row:has(> .col-lg-3 > .list-group) > .col-lg-3 {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}
#offisyCalendar .list-group {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: 0;
}
#offisyCalendar .list-group-item,
#offisyCalendar .list-group li {
  width: auto;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #ae6a54 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #693f24 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
#offisyCalendar .list-group-item.active,
#offisyCalendar .list-group li.active {
  background: #693f24 !important;
  background-color: #693f24 !important;
  border-color: #693f24 !important;
  color: #ffffff !important;
}
#offisyCalendar .list-group-item .badge,
#offisyCalendar .list-group li .badge {
  margin-left: 8px;
  min-width: 1.5em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ae6a54 !important;
  background-color: #ae6a54 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
}
#offisyCalendar .list-group-item.active .badge,
#offisyCalendar .list-group li.active .badge {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #693f24 !important;
}

/* Service cards. The arrow sits in a narrow strip on the right so the title and description can center in the rest of the card. */
#offisyCalendar .list {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(105, 63, 36, 0.16);
  border-radius: 12px;
  padding: 16px 72px 16px 18px;
  margin: 0 0 14px;
  cursor: pointer;
  overflow: hidden;
}
#offisyCalendar .list .row {
  background: transparent !important;
  background-color: transparent !important;
}
#offisyCalendar .list:hover {
  background: #faf1ea;
}
#offisyCalendar .list .col-9 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
#offisyCalendar .list .col-3 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  width: 64px;
  max-width: 64px;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(105, 63, 36, 0.16);
  overflow: hidden;
}
#offisyCalendar .list h4,
#offisyCalendar .list .row h4 {
  color: #693f24 !important;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}
#offisyCalendar .list p,
#offisyCalendar .list .ngTruncateToggleText {
  text-align: center;
}
#offisyCalendar .list .ngTruncateToggleText {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #693f24 !important;
  text-decoration: none;
}
#offisyCalendar .list .ngTruncateToggleText svg {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
}
#offisyCalendar .list .ngTruncateToggleText svg,
#offisyCalendar .list .ngTruncateToggleText path {
  color: #693f24 !important;
  fill: currentColor;
}
#offisyCalendar .list p,
#offisyCalendar .list dd,
#offisyCalendar .list dt {
  color: #3a302c;
  font-size: 15px;
  line-height: 1.45;
}

/* Primary actions, including the round service buttons */
#offisyCalendar .btn.color-primary {
  background: #ae6a54 !important;
  color: #ffffff !important;
  border: 2px solid #693f24 !important;
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
#offisyCalendar .btn.color-primary:hover,
#offisyCalendar .btn.color-primary:active {
  background: #693f24 !important;
  color: #ffffff !important;
}
#offisyCalendar .list .btn.color-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #AE6A54 !important;
  background-color: #AE6A54 !important;
  border: 2px solid #693f24 !important;
  color: #ffffff !important;
  overflow: hidden;
}
/* Offisy's glyph is a filled circle, so a white icon paints a white disc. Draw only the chevron. */
#offisyCalendar .list .btn.color-primary svg {
  display: none !important;
}
#offisyCalendar .list .btn.color-primary::before {
  content: none;
}
#offisyCalendar .list .btn.color-primary::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  margin: 0 3px 0 0;
  border: solid #ffffff;
  border-width: 2px 2px 0 0;
  background: transparent;
  transform: rotate(45deg);
}
#offisyCalendar ul.links .btn-link {
  color: #693f24 !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  padding: 6px 2px !important;
  height: auto;
}
/* One practitioner, so the staff step is unused. Leave "Buchung abbrechen" in place. */
#offisyCalendar ul.links button[ng-click="setStep('user')"],
#offisyCalendar ul.links button[ng-click='setStep("user")'] {
  display: none !important;
}
/* The live Elementor rule only sets #FFFFFFE0 on this white heading, which does not read as a hover. */
.elementor-21 .elementor-element.elementor-element-dce1571 .elementor-heading-title a:hover,
.elementor-21 .elementor-element.elementor-element-dce1571 .elementor-heading-title a:focus {
  color: #F8EAE3 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pf-consent-links { margin: 10px 0 0; font-size: 12px; }
.pf-consent-links a { color: #92541f; }
.pf-manage {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 999990;
  background: #693f24;
  color: #fdece4;
  border: 1px solid #ffffff;
  padding: 8px 12px;
  font-family: "Albert Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.pf-manage[hidden] { display: none !important; }

.cmplz-placeholder-parent { position: relative; min-height: 50vh; }
.elementor-widget-google_maps iframe {
  display: block;
  width: 100%;
  height: 50vh;
  border: 0;
}
.pf-map-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #e7e0da;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pf-map-gate[hidden] { display: none !important; }
.pf-map-gate button {
  max-width: 420px;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.4;
}

/* Sidr drawer open state. Closed position comes from OceanWP (#sidr / .sidr.right). */
#sidr {
  transition: right 0.2s ease;
}
body.sidr-open { overflow-x: hidden; }
