.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.contact-form-status[hidden] {
  display: none !important;
}

.contact-form-status {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  box-sizing: border-box;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 48px 14px 18px;
  border: 1px solid #a94c4c;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  color: #713333;
  font: 16px/1.4 Arial, sans-serif;
}

.contact-form-status-close {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.contact-form-status-close:hover,
.contact-form-status-close:focus-visible {
  background: #f4e5e5;
}

.contact-confirmation[hidden] {
  display: none !important;
}

.contact-confirmation {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(25, 42, 52, 0.55);
}

.contact-confirmation-panel {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 650px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 34px 28px;
  border-radius: 10px;
  background: #f1f4f6;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  color: #263944;
  font: 16px/1.5 Arial, sans-serif;
  animation: contact-dialog-in 450ms ease-out both;
}

.contact-confirmation-panel h2 {
  margin: 0 32px 10px 0;
  color: #52646f;
  font: 300 32px/1.2 Jura, Arial, sans-serif;
}

.contact-confirmation-panel p {
  margin: 0 0 20px;
}

.contact-confirmation-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #52646f;
  color: #fff;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.contact-confirmation-details {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 7px;
  background: #fff;
}

.contact-confirmation-details dt {
  color: #52646f;
  font-weight: 700;
}

.contact-confirmation-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.contact-confirmation-done {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  background: #34556b;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px) {
  /* Give the welcome text enough room below the shortened dark panel. */
  .s117 { min-height: 95px; }
  .ps93 { margin-top: 16px; }
  .s116 { height: 108px; }

  .contact-confirmation { zoom: calc(1 / var(--z)); }
}

@media (max-width: 600px) {
  .contact-confirmation { padding: 12px; }
  .contact-confirmation-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 28px 20px 20px;
  }
  .contact-confirmation-details {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .contact-confirmation-details dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-confirmation-panel { animation: none; }
}

/* Both team galleries use the same thumbnail emphasis and rhythm. */
.un13 .slider-nav .slick-slide picture,
.un14 .slider-nav .slick-slide picture {
  opacity: 0.7;
  transition: opacity 300ms ease, filter 300ms ease;
}

.un13 .slider-nav .slick-slide.slick-center picture,
.un14 .slider-nav .slick-slide.slick-center picture {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(28, 91, 119, 0.65));
}

.un13 .slider-nav {
  margin-bottom: 48px;
}

.ps12 {
  text-align: center;
}

.ps12 .ps13 {
  margin-left: 0;
}

/* Equalize the space allotted to the doctors and practice-team sections. */
.ga1 {
  height: 910px;
}

.s10 {
  position: relative;
}

/* The wide layout needs a short continuation of the grey divider. */
.s10::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 21px;
  background: #52646f;
}

@media (max-width: 1199px) {
  /* The exported clip height otherwise cuts off the added spacing and portrait. */
  .ga1 {
    height: auto;
  }

  /* Keep the team divider short and start it below the doctors' portrait. */
  .s10::after {
    top: 100%;
    bottom: auto;
    height: 59px;
    background: #fff;
  }

  .ps24 {
    margin-top: 48px;
  }
}

@media (max-width: 767px) {
  #consentBanner {
    box-sizing: border-box;
    zoom: calc(1 / var(--z));
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 12px);
    overflow-y: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background: #f1f4f6;
    box-shadow: 0 -6px 24px rgba(20, 35, 45, 0.18);
  }

  #consentBanner div {
    position: static !important;
    display: block !important;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  #consentBanner .s191 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin: 0 0 14px !important;
  }

  #consentBanner .s193,
  #consentBanner .s194,
  #consentBanner .s195,
  #consentBanner .s196 {
    display: contents !important;
  }

  #consentBanner .s192 {
    display: flex !important;
    align-items: center;
    gap: 6px;
  }

  #consentBanner .s192 input {
    flex: 0 0 16px;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
    accent-color: #1d657e;
  }

  #consentBanner .s192 label {
    color: #263944;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal;
  }

  #consentBanner h2 {
    margin: 0 0 14px !important;
    color: #263944;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400;
    text-align: left;
  }

  #consentBanner h2 a {
    color: #145b7a;
    font-size: inherit !important;
    text-decoration: underline;
  }

  #consentBanner .s197 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #consentBanner .s197 a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px;
    border-radius: 7px;
    background: #34556b;
    color: white;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none;
  }

  #consentBanner .s197 .allowConsent {
    background: #1d657e;
  }

  #consentBanner .s197 .allowSelectedConsent {
    grid-column: 1 / -1;
    background: #e1e9ed;
    color: #263944;
  }
}
/* Vertretungskontakte in den aktuellen Informationen */
#popup1 .vertretung-details {
  margin: 10px auto 0;
  color: #e0e7ea;
  text-align: center;
}

#popup1 .vertretung-details .f25 {
  color: inherit;
}

#popup1 .vertretung-details summary {
  display: inline-block;
  padding: 3px 5px;
  cursor: pointer;
  text-decoration: none;
}

#popup1 .vertretung-details summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#popup1 .vertretung-kontakte {
  padding: 7px 0 0;
}

#popup1 .vertretung-kontakte p {
  margin: 4px 0;
}

#popup1 .vertretung-kontakte a {
  color: inherit;
  text-decoration: none;
}
