/* Kontaktseite: ruhiges Zweispalten-Layout nach der gelieferten Referenz. */

body.rc-contact-reference {
  --rc-contact-surface: #fff;
  --rc-contact-line: rgba(23, 23, 23, .15);
  --rc-contact-muted: #777;
  background: var(--rc-contact-surface);
  color: #171717;
}

/* Alle Hauptbereiche folgen derselben Achse wie die übrigen Unterseiten. */
body.rc-contact-reference .rc-main > section > .main-container {
  width: 100%;
  max-width: var(--rc-page-width, 1400px);
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

body.rc-contact-reference .rc-contact-reference__hero {
  padding: calc(var(--_navbar---navbar-height, 80px) + clamp(16px, 2.5vw, 36px)) 0 clamp(24px, 3vw, 42px);
  background: var(--rc-contact-surface);
}

body.rc-contact-reference .rc-contact-reference__hero-content {
  width: 50%;
  padding-right: clamp(38px, 5vw, 78px);
  box-sizing: border-box;
  display: block;
}

body.rc-contact-reference .rc-contact-reference__title {
  max-width: 15.5ch;
  margin: 0;
  font-family: var(--_typography---type-font-headings, inherit);
  font-size: var(--_typography---type-h2-size, 48px);
  font-weight: 700;
  font-variation-settings: "wght" 350;
  line-height: var(--_typography---type-h2-line-height, 1.25);
  letter-spacing: var(--_typography---type-h2-letter-spacing, 0);
  text-wrap: balance;
}

body.rc-contact-reference .rc-contact-reference__section {
  background: var(--rc-contact-surface);
  border-top: 1px solid var(--rc-contact-line);
  border-bottom: 1px solid var(--rc-contact-line);
}

body.rc-contact-reference .rc-contact-reference__grid {
  width: 100%;
  max-width: var(--rc-page-width, 1400px);
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

body.rc-contact-reference .rc-contact-reference__panel {
  min-width: 0;
  box-sizing: border-box;
}

body.rc-contact-reference .rc-contact-reference__panel--form {
  padding: clamp(32px, 3.5vw, 52px) clamp(38px, 5vw, 78px) clamp(76px, 8vw, 124px) 0;
}

body.rc-contact-reference .rc-contact-reference__panel--details {
  height: 100%;
  padding: clamp(32px, 3.5vw, 52px) 0 clamp(76px, 8vw, 124px) clamp(38px, 4.5vw, 68px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rc-contact-line);
}

body.rc-contact-reference .rc-contact-reference__intro {
  max-width: 570px;
  margin-bottom: clamp(54px, 6vw, 88px);
}

body.rc-contact-reference .rc-contact-reference__intro h2 {
  max-width: 520px;
  margin: 0 0 18px;
  font-family: var(--_typography---type-font-headings, inherit);
  font-size: var(--_typography---type-h3-size, 38px);
  font-weight: 700;
  font-variation-settings: "wght" 350;
  line-height: var(--_typography---type-h3-line-height, 1.3);
  letter-spacing: var(--_typography---type-h3-letter-spacing, 0);
  text-wrap: balance;
}

body.rc-contact-reference .rc-contact-reference__intro p {
  max-width: 525px;
  margin: 0;
  color: #363635;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.45;
  text-wrap: pretty;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-card {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form {
  display: grid;
  gap: 28px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field {
  min-width: 0;
  display: grid;
  gap: 9px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field--wide {
  grid-column: 1 / -1;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__label,
body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__legend {
  color: #3d3d3b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-required {
  color: var(--_color---color-brand, #049ce4);
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__control {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  color: #171717;
  background: rgba(255, 255, 255, .2);
  border: 1px solid #c9c8c2;
  border-radius: 2px;
  box-shadow: none;
  outline: none;
  font: inherit;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__control:hover {
  background: rgba(255, 255, 255, .5);
  border-color: #9f9e99;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__control:focus-visible {
  background: #fff;
  border-color: var(--_color---color-brand, #049ce4);
  box-shadow: 0 0 0 2px rgba(4, 156, 228, .13);
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__control--textarea {
  min-height: 152px;
  resize: vertical;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-topics {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__legend {
  margin-bottom: 13px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-topics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3d3d3b;
  font-size: 12px;
  line-height: 1.45;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-book-check__box {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .35);
  border: 1px solid #bcbab4;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-book-check__box svg {
  width: 6px;
  height: 5px;
  opacity: 0;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check input:checked + .rc-book-check__box {
  background: var(--_color---color-brand, #049ce4);
  border-color: var(--_color---color-brand, #049ce4);
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check input:checked + .rc-book-check__box svg {
  opacity: 1;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check input:focus-visible + .rc-book-check__box {
  outline: 2px solid rgba(4, 156, 228, .28);
  outline-offset: 2px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check a {
  color: inherit;
  text-underline-offset: 2px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check a:hover,
body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check a:focus-visible {
  color: var(--_color---color-brand, #049ce4);
  text-decoration-color: currentColor;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__footer {
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact__submit {
  min-width: 178px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__meta {
  display: grid;
  gap: 3px;
}

body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__required-note,
body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__status {
  margin: 0;
  color: var(--rc-contact-muted);
  font-size: 10px;
  line-height: 1.4;
}

body.rc-contact-reference .rc-contact-reference__media {
  width: 100%;
  min-height: 320px;
  flex: 1 1 auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: #e5e5e2;
  border-radius: 0;
}

body.rc-contact-reference .rc-contact-reference__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

body.rc-contact-reference .rc-contact-reference__details {
  flex: 0 0 auto;
  padding-top: clamp(30px, 3vw, 46px);
}

body.rc-contact-reference .rc-contact-reference__details h2 {
  margin: 0 0 26px;
  font-family: var(--_typography---type-font-headings, inherit);
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}

body.rc-contact-reference .rc-contact-reference__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

body.rc-contact-reference .rc-contact-reference__details-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #3d3d3b;
  font-size: 13px;
  line-height: 1.48;
}

body.rc-contact-reference .rc-contact-reference__details-item > span {
  margin-bottom: 5px;
  color: #171717;
  font-weight: 500;
}

body.rc-contact-reference .rc-contact-reference__details-item > .rc-contact-reference__details-label {
  margin-top: 17px;
}

body.rc-contact-reference .rc-contact-reference__details-item p,
body.rc-contact-reference .rc-contact-reference__details-item a {
  margin: 0;
  color: var(--rc-contact-muted);
  text-decoration: none;
}

body.rc-contact-reference .rc-contact-reference__details-item a {
  transition: color 180ms ease;
}

body.rc-contact-reference .rc-contact-reference__details-item a:hover,
body.rc-contact-reference .rc-contact-reference__details-item a:focus-visible {
  color: var(--_color---color-brand, #049ce4);
}

body.rc-contact-reference .rc-anfahrt {
  background: #fff;
  padding-bottom: clamp(72px, 7vw, 108px);
}

body.rc-contact-reference .rc-anfahrt .rc-section-head {
  width: 50%;
  max-width: none;
  padding-right: clamp(38px, 5vw, 78px);
  box-sizing: border-box;
}

body.rc-contact-reference .rc-anfahrt > .main-container > .title-top-section {
  column-gap: clamp(48px, 5vw, 76px);
  row-gap: clamp(48px, 5vw, 76px);
}

body.rc-contact-reference .rc-map {
  aspect-ratio: 16 / 7;
}

body.rc-contact-reference .rc-map__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f7f7f6;
  font-family: inherit;
}

/* Aufhellung + Beruhigung ausschliesslich auf den Kacheln.
   Der weisse Schleier steckt hier im filter (nicht als Overlay), damit er
   den Marker nicht mit aufhellt - dessen Akzentblau soll #049ce4 bleiben. */
body.rc-contact-reference .rc-map__canvas .leaflet-tile-pane {
  filter: grayscale(1) contrast(.42) brightness(1.32);
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-zoom a {
  color: #292929;
  position: relative;
  font-size: 0;
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-zoom a::before,
body.rc-contact-reference .rc-map__canvas .leaflet-control-zoom-in::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #292929;
  transform: translate(-50%, -50%);
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-zoom a::before {
  width: 10px;
  height: 2px;
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-zoom-in::after {
  width: 2px;
  height: 10px;
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-attribution {
  color: #777;
  background: rgba(255, 255, 255, .82);
  font-size: 9px;
}

body.rc-contact-reference .rc-map__canvas .leaflet-control-attribution a {
  color: #555;
}

body.rc-contact-reference .rc-map__fullscreen-control {
  border: 0;
  box-shadow: none;
}

body.rc-contact-reference .rc-map__fullscreen-button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #292929;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #bbb;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

body.rc-contact-reference .rc-map__fullscreen-button:hover,
body.rc-contact-reference .rc-map__fullscreen-button:focus-visible {
  background: #f2f2f2;
  border-color: #999;
}

body.rc-contact-reference .rc-map__fullscreen-button:focus-visible {
  outline: 2px solid var(--_color---color-brand, #049ce4);
  outline-offset: 2px;
}

body.rc-contact-reference .rc-map__fullscreen-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

body.rc-contact-reference .rc-map__fullscreen-icon--collapse,
body.rc-contact-reference .rc-map__fullscreen-button.is-active .rc-map__fullscreen-icon--expand {
  display: none;
}

body.rc-contact-reference .rc-map__fullscreen-button.is-active .rc-map__fullscreen-icon--collapse {
  display: block;
}

body.rc-contact-reference .rc-map:fullscreen,
body.rc-contact-reference .rc-map:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  background: #eee;
  border: 0;
}

body.rc-contact-reference .rc-map:fullscreen .rc-map__canvas,
body.rc-contact-reference .rc-map:-webkit-full-screen .rc-map__canvas {
  width: 100%;
  height: 100%;
}

body.rc-contact-reference .rc-map__location-icon {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

body.rc-contact-reference .rc-map__canvas .maplibregl-ctrl-group {
  border-radius: 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
}

body.rc-contact-reference .rc-map__canvas .maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}

body.rc-contact-reference .rc-map__location-marker {
  width: 118px;
  height: 42px;
  display: flex;
  align-items: center;
}

body.rc-contact-reference .rc-map__location-marker svg {
  width: 30px;
  height: 42px;
  flex: 0 0 30px;
  overflow: visible;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22));
}

body.rc-contact-reference .rc-map__location-label {
  margin: -10px 0 0 3px;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
}

body.rc-contact-reference .rc-map__canvas .rc-map__address-tooltip {
  min-width: 156px;
  padding: 12px 15px;
  position: absolute;
  bottom: 49px;
  left: 15px;
  box-sizing: border-box;
  color: #171717;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  pointer-events: auto;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px) scale(.97);
  transform-origin: 50% 100%;
  transition:
    opacity 160ms cubic-bezier(.23, 1, .32, 1),
    transform 160ms cubic-bezier(.23, 1, .32, 1),
    visibility 0s linear 160ms;
}

body.rc-contact-reference .rc-map__address-tooltip strong,
body.rc-contact-reference .rc-map__address-tooltip span {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

body.rc-contact-reference .rc-map__address-tooltip strong {
  font-weight: 600;
}

body.rc-contact-reference .rc-map__address-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 7px solid transparent;
  border-top-color: #fff;
  transform: translateX(-50%);
}

body.rc-contact-reference .rc-map__location-icon:focus-visible .rc-map__address-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  body.rc-contact-reference .rc-map__location-icon:hover .rc-map__address-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0s;
  }
}

body.rc-contact-reference .rc-cta {
  padding-top: clamp(78px, 7vw, 108px);
  padding-bottom: clamp(78px, 7vw, 108px);
}

body.rc-contact-reference .rc-cta .cta-box > .heading---h2 {
  width: 100%;
  text-align: left;
}

@media screen and (max-width: 991px) {
  body.rc-contact-reference .rc-contact-reference__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.rc-contact-reference .rc-contact-reference__panel--form {
    padding-right: 0;
  }

  body.rc-contact-reference .rc-contact-reference__panel--details {
    padding-left: 0;
    display: block;
    border-top: 1px solid var(--rc-contact-line);
    border-left: 0;
  }

  body.rc-contact-reference .rc-contact-reference__hero-content,
  body.rc-contact-reference .rc-anfahrt .rc-section-head {
    width: 100%;
    padding-right: 0;
  }

  body.rc-contact-reference .rc-contact-reference__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media screen and (max-width: 767px) {
  body.rc-contact-reference .rc-contact-reference__hero {
    padding-top: calc(var(--_navbar---navbar-height, 72px) + 24px);
  }

  body.rc-contact-reference .rc-contact-reference__title {
    font-size: var(--_typography---type-h2-size, 36px);
  }

  body.rc-contact-reference .rc-contact-reference__panel--form,
  body.rc-contact-reference .rc-contact-reference__panel--details {
    padding-top: 36px;
    padding-bottom: 72px;
  }

  body.rc-contact-reference .rc-contact-reference__intro {
    margin-bottom: 48px;
  }

  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__fields,
  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-topics__grid,
  body.rc-contact-reference .rc-contact-reference__details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field--wide {
    grid-column: auto;
  }

  /* Formularabschluss wie die CTA-Buttons der Unterseiten: linksbuendig,
     etwas hoeher und mit der Pflichtangabe direkt darunter. */
  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__footer {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }

  body.rc-contact-reference .rc-contact-reference__panel .rc-contact__submit {
    width: min(284px, 100%);
    min-width: 0;
    min-height: 84px;
    height: 84px;
    align-self: flex-start;
  }

  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-form__meta {
    width: min(284px, 100%);
    align-self: flex-start;
    justify-items: start;
    text-align: left;
  }

  body.rc-contact-reference .rc-contact-reference__media {
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  body.rc-contact-reference .rc-map {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-field__control,
  body.rc-contact-reference .rc-contact-reference__details-item a,
  body.rc-contact-reference .rc-contact-reference__panel .rc-contact-check a {
    transition: none;
  }

  body.rc-contact-reference .rc-map__canvas .rc-map__address-tooltip {
    transform: translate(-50%, 0);
    transition:
      opacity 125ms cubic-bezier(.23, 1, .32, 1),
      visibility 0s linear 125ms;
  }

  body.rc-contact-reference .rc-map__location-icon:hover .rc-map__address-tooltip,
  body.rc-contact-reference .rc-map__location-icon:focus-visible .rc-map__address-tooltip {
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
}


/* Einwilligungs-Platzhalter der Karte. Er sitzt innerhalb des vorhandenen
   Kartenfelds und uebernimmt dessen Masse, damit sich am Seitenaufbau nichts
   aendert. Typografie und Button-Verhalten folgen dem Datenschutzbanner. */
body.rc-contact-reference .rc-mapgate {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(24px, 4vw, 56px);
  background: #f7f7f6;
}

body.rc-contact-reference .rc-mapgate__inner {
  max-width: 560px;
  text-align: center;
}

body.rc-contact-reference .rc-mapgate__eyebrow {
  margin-bottom: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  font-family: var(--_typography---type-font-badges, Arial, sans-serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .1em;
  color: #17191b;
}

body.rc-contact-reference .rc-mapgate__eyebrow > span {
  width: 6px;
  height: 6px;
  background: #08a4ea;
}

body.rc-contact-reference .rc-mapgate__text {
  margin: 0 0 20px;
  color: #59636b;
  font-size: 14px;
  line-height: 1.55;
}

body.rc-contact-reference .rc-mapgate__text a {
  position: relative;
  display: inline-block;
  color: #17191b;
  text-decoration: none;
}

body.rc-contact-reference .rc-mapgate__text a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}

body.rc-contact-reference .rc-mapgate__text a:hover::after,
body.rc-contact-reference .rc-mapgate__text a:focus-visible::after { transform: scaleX(1); }

body.rc-contact-reference .rc-mapgate__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

body.rc-contact-reference .rc-mapgate__button {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid #049ce4;
  border-radius: 0;
  color: #fff;
  background: #049ce4;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 350ms linear, border-color 350ms linear;
}

body.rc-contact-reference .rc-mapgate__button-label { position: relative; z-index: 2; }

body.rc-contact-reference .rc-mapgate__hover-wrap {
  position: absolute;
  z-index: 0;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 350ms linear;
  will-change: transform;
}

body.rc-contact-reference .rc-mapgate__hover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  filter: blur(10px);
  opacity: 0;
  transform: scale(1);
  transition: opacity 350ms linear, transform 350ms linear;
}

body.rc-contact-reference .rc-mapgate__button:hover .rc-mapgate__hover-wrap,
body.rc-contact-reference .rc-mapgate__button:focus-visible .rc-mapgate__hover-wrap { transform: translate3d(0, -42%, 0); }

body.rc-contact-reference .rc-mapgate__button:hover .rc-mapgate__hover,
body.rc-contact-reference .rc-mapgate__button:focus-visible .rc-mapgate__hover { opacity: .12; transform: scale(3.5); }

body.rc-contact-reference .rc-mapgate__button:focus-visible { outline: 2px solid #08a4ea; outline-offset: 3px; }

body.rc-contact-reference .rc-mapgate__link {
  position: relative;
  color: #17191b;
  font-size: 13px;
  text-decoration: none;
}

body.rc-contact-reference .rc-mapgate__link::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}

body.rc-contact-reference .rc-mapgate__link:hover::after,
body.rc-contact-reference .rc-mapgate__link:focus-visible::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  body.rc-contact-reference .rc-mapgate__button,
  body.rc-contact-reference .rc-mapgate__hover-wrap,
  body.rc-contact-reference .rc-mapgate__hover,
  body.rc-contact-reference .rc-mapgate__text a::after,
  body.rc-contact-reference .rc-mapgate__link::after { transition: none; }
}
