.contact-location { min-width: 0; }
/* The SVG viewport is centered on the pin tip at the actual location. */
body[data-page="kontakt"] .contact-map { height: auto; min-height: 0; padding-bottom: 0; }
body[data-page="kontakt"] .contact-map__stage { height: auto; }
body[data-page="kontakt"] .contact-map__stage::after { display: none; }
body[data-page="kontakt"] .contact-map__drawing {
  height: max(960px, 68.572vw);
  object-fit: cover;
  object-position: 50% 50%;
}
/* Keep the social-style consent box inside the map, below the location tip. */
.social-preview-stage__consent.contact-map__notice {
  position: absolute;
  width: min(400px, calc(100% - 32px));
  top: calc(50% + 50px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
@media (max-width: 600px) {
  body[data-page="kontakt"] .contact-map__drawing { height: 1160px; }
}
body[data-page="kontakt"] .contact-map__iframe {
  display: block;
  height: clamp(480px, 55.7vw, 780px);
}
.contact-location .contact-overview__visual { min-height: 0; height: auto; }
.contact-location .contact-overview__visual img { min-height: 0; height: auto; object-fit: contain; }
.contact-location .contact-overview__visual figcaption { max-width: calc(100% - 44px); }
.contact-location__note {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 54px);
  margin: 28px 54px 12px auto;
  color: #292929;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-4deg);
}
.contact-location__note strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.contact-location__note svg {
  position: absolute;
  width: 76px;
  height: 90px;
  right: -58px;
  bottom: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-location.is-waiting .contact-location__note {
  opacity: 0;
  transform: translateY(10px) rotate(-4deg);
}
.contact-location.is-revealed .contact-location__note {
  opacity: 1;
  transform: rotate(-4deg);
  transition: opacity .65s ease .7s, transform .65s ease .7s;
}
@media (prefers-reduced-motion: reduce) {
  .contact-location.is-waiting .contact-location__note { opacity: 1; transform: rotate(-4deg); }
  .contact-location.is-revealed .contact-location__note { transition: none; }
}

.contact-photo-feature .photo-feature__image {
  position: absolute;
  object-position: center;
}

@media (max-width: 899px) {
  .photo-feature.contact-photo-feature {
    min-height: 0;
    padding-block: 0 24px;
  }

  .contact-photo-feature .photo-feature__image {
    position: relative;
    z-index: 0;
    height: clamp(220px, 52vw, 460px);
    object-position: 76% center;
  }

  .contact-photo-feature .photo-feature__inner {
    margin-top: 24px;
  }
}
