/* Original Psychotherapie RC17 sticky rules; only page namespace and content-root hook adapted. */
.pvg-ergo .psy-sticky {
  display: none;
  font-size:17px;line-height:1.5;color:#000;
}
.pvg-ergo .psy-sticky,
.pvg-ergo .psy-sticky * {
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .pvg-ergo .psy-sticky:not([hidden]) {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #dbe7ec;
    background: #fff;
    box-shadow: 0 -5px 20px rgb(0 73 142 / 4%);
    font-family: Arial, sans-serif;
  }

  .pvg-ergo .psy-sticky__person {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .pvg-ergo .psy-sticky__person > img {
    width: 46px;
    height: 46px;
    border: 1px solid #58bd9c;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
  }

  .pvg-ergo .psy-sticky__person > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
  }

  .pvg-ergo .psy-sticky__person span {
    color: #506779;
    font-size: .75rem;
    font-weight: 400;
  }

  .pvg-ergo .psy-sticky__person strong {
    color: #00498e;
    font-size: .95rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .pvg-ergo .psy-sticky__actions {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    min-width: 0;
  }

  .pvg-ergo .psy-sticky__email {
    display: inline-flex;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #00498e;
    border-radius: 12px;
    background: #fff;
    color: #00498e;
    text-decoration: none;
  }

  .pvg-ergo .psy-sticky__email:hover {
    background: #f3f7fb;
  }

  .pvg-ergo .psy-sticky__email svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .pvg-ergo .psy-sticky__button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #58bd9c;
    border-radius: 12px;
    background: #58bd9c;
    color: #113b31;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .pvg-ergo .psy-sticky__button:hover,
  .pvg-ergo .psy-sticky__button:active {
    border-color: #003b73;
    background: #003b73;
    color: #fff;
  }

  .pvg-ergo .psy-sticky a:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
  }
}

@media (max-width: 359px) {
  .pvg-ergo .psy-sticky__person {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .pvg-ergo .psy-sticky__person > img {
    width: 42px;
    height: 42px;
  }

  .pvg-ergo .psy-sticky__button {
    padding-inline: 8px;
    font-size: .8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pvg-ergo .psy-sticky,
  .pvg-ergo .psy-sticky * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Page-scoped integration from the Tierärzte reference. */
.pvg-ergo .psy-sticky[hidden]{display:none!important}
.pvg-ergo .pvg-psy-sticky-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html:has(.pvg-ergo){scroll-padding-bottom:var(--pvg-rd-sticky-height,0px)}
@media(max-width:767px){
 .pvg-ergo #inhalt{padding-bottom:calc(var(--pvg-rd-sticky-height,118px) + 24px)}
 .pvg-ergo .psy-sticky__button{white-space:normal}
}

@media(max-width:767px){.pvg-ergo{padding-bottom:0}}
@media print{.pvg-ergo .psy-sticky{display:none!important}}
