.s4h-location-address {
  max-width: 40rem;
  margin: 0.45rem auto 0;
  color: #46505a;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.s4h-location-map {
  box-sizing: border-box;
  width: 100%;
  max-width: 42rem;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid #d6dce1;
  border-radius: 12px;
  background: #fff;
}

#anfahrt .s4h-location-map .s4h-location-heading {
  padding: 1rem clamp(1rem, 1.5vw, 1.35rem);
  border-bottom: 1px solid #e5e9ec;
  scroll-margin-top: clamp(70px, 11vh, 114px);
}

#anfahrt .s4h-location-map .s4h-location-heading > h2 {
  margin: 0;
  color: #293341;
  font-size: clamp(1.35rem, 1.2rem + 0.45vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}

#anfahrt .s4h-location-map .s4h-location-heading > p {
  margin: 0.35rem 0 0;
  color: #46505a;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.s4h-location-map .s4h-location-map-image,
.s4h-location-map .s4h-location-map-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.s4h-location-map .s4h-location-map-image:focus-visible {
  outline: 3px solid #a84c11;
  outline-offset: -3px;
}

.s4h-location-map .s4h-location-map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.3rem 0.9rem;
  line-height: 1.4;
}

.s4h-location-map .s4h-location-route {
  --s4h-link: #933d08;
  --s4hh-link: #933d08;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #933d08;
  font-weight: 600;
  text-decoration: underline;
}

.s4h-location-map .s4h-location-credit {
  color: #52606c;
  font-size: 0.8rem;
  text-decoration: underline;
}

.s4h-location-interactive {
  margin: 0 0 1rem;
}

.s4h-location-interactive summary {
  color: #933d08;
  cursor: pointer;
  font-weight: 600;
}

.s4h-location-interactive iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* Keep the consent prompt in the form flow at every viewport width. */
body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-preset-b {
  --s4h-link: #873b12;
  --s4h-link-hover: #642a0d;
  --s4hh-link: #873b12;
  display: block;
  box-sizing: border-box;
  height: auto;
  max-height: none;
  padding: 0;
  border: 1px solid #e0d4c7;
  border-radius: 10px;
  background: #fffaf5;
  text-align: left;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-thumbnail {
  display: none;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
  gap: 0.65rem;
  height: auto;
  margin: 0;
  padding: 0.9rem 1rem;
  overflow: visible;
  background: transparent;
  color: #343c45;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-description {
  margin: 0;
  padding: 0;
  color: #343c45;
  font-size: 0.9375rem;
  line-height: 1.5;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-provider-toggle {
  display: inline-block;
  margin-top: 0.35rem;
  color: #873b12;
  text-decoration: underline;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-buttons {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  gap: 0.5rem;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-btn {
  display: flex;
  flex: 1 1 12rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #a46a46;
  border-radius: 6px;
  background: #fff;
  color: #873b12;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-buttons .brlbs-cmpnt-cb-btn:first-child {
  --s4h-link: #fff;
  --s4h-link-hover: #fff;
  --s4hh-link: #fff;
  border-color: #873b12;
  background: #873b12;
  color: #fff;
}

body .wpcf7 .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker[data-borlabs-cookie-content-blocker-id] .brlbs-cmpnt-cb-btn:focus-visible {
  outline: 2px solid #873b12;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .wpcf7 textarea.wpcf7-form-control {
    box-sizing: border-box;
    height: 9rem;
    resize: vertical;
  }
}
