.comp--subpage-hero {
  position: relative;
  overflow: hidden;
  background: var(--main-light);
}
.comp--subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 85, 115, 0.84);
  pointer-events: none;
}
.comp--subpage-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 0.25rem;
  z-index: 3;
  background: var(--accent);
  pointer-events: none;
}

.comp--subpage-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.comp--subpage-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.comp--subpage-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.comp--subpage-hero__stage {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-block: 3rem 3rem;
}
@media (min-width: 70rem) {
  .comp--subpage-hero__stage {
    grid-template-columns: minmax(18rem, 0.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: 2.5rem 3rem;
  }
}

.comp--subpage-hero__intro,
.comp--subpage-hero__lead {
  max-width: 32rem;
  color: var(--bg);
}
.comp--subpage-hero__intro h1,
.comp--subpage-hero__lead h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--bg);
}
@media (min-width: 45rem) {
  .comp--subpage-hero__intro h1,
  .comp--subpage-hero__lead h1 {
    font-size: 3.5rem;
  }
}

.comp--subpage-hero--intro-only .comp--subpage-hero__lead {
  min-width: 0;
}
.comp--subpage-hero--intro-only .comp--subpage-hero__stage {
  padding-block-start: 6rem;
}
@media (min-width: 70rem) {
  .comp--subpage-hero--intro-only .comp--subpage-hero__stage {
    grid-template-columns: minmax(18rem, 0.6fr);
    padding-block-start: 5.5rem;
  }
  .comp--subpage-hero--intro-only .comp--subpage-hero__lead {
    grid-column: 1;
  }
}

.comp--subpage-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comp--subpage-hero__intro > .comp--subpage-hero__eyebrow,
.comp--subpage-hero__lead > .comp--subpage-hero__eyebrow {
  color: var(--accent);
}

.comp--subpage-hero__intro-copy p,
.comp--subpage-hero__intro-copy li,
.comp--subpage-hero__intro-copy blockquote,
.comp--subpage-hero__intro-copy a,
.comp--subpage-hero__intro-copy h2,
.comp--subpage-hero__intro-copy h3,
.comp--subpage-hero__intro-copy h4,
.comp--subpage-hero__intro-copy h5,
.comp--subpage-hero__intro-copy h6 {
  color: var(--bg);
}
.comp--subpage-hero__intro-copy > h1 {
  margin-bottom: 0.75rem;
}
.comp--subpage-hero__intro-copy > div {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.comp--subpage-hero__intro-copy > :last-child,
.comp--subpage-hero__intro-copy > :last-child > :last-child {
  margin-bottom: 0;
}

.comp--subpage-hero__sidebar {
  min-width: 0;
}

.comp--subpage-hero__side-head {
  display: contents;
}

.comp--subpage-hero__side-body,
.comp--subpage-hero__cards {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 45rem) {
  .comp--subpage-hero__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.comp--subpage-hero__card {
  min-width: 0;
  min-height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: inherit;
  box-shadow: 0 1rem 2rem rgba(4, 85, 115, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.comp--subpage-hero__card:hover, .comp--subpage-hero__card:focus-within {
  transform: translateY(-0.125rem);
  border-color: var(--border);
  box-shadow: 0 1.25rem 2.5rem rgba(4, 85, 115, 0.14);
}

.comp--subpage-hero__card-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 100%;
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 70rem) {
  .comp--subpage-hero__card-link {
    gap: 0.75rem;
    padding: 0.75rem;
  }
}
.comp--subpage-hero__card-link:focus-visible {
  outline: 0.125rem solid var(--main-light);
  outline-offset: -0.125rem;
}
.comp--subpage-hero__card-link:hover .comp--subpage-hero__card-picture img, .comp--subpage-hero__card-link:focus-visible .comp--subpage-hero__card-picture img {
  transform: scale(1.03);
}

.comp--subpage-hero__card-media {
  position: relative;
  flex: 0 0 clamp(5rem, 22vw, 7rem);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--surface);
}
@media (min-width: 70rem) {
  .comp--subpage-hero__card-media {
    flex-basis: clamp(4.5rem, 6vw, 5.5rem);
  }
}

.comp--subpage-hero__card-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.comp--subpage-hero__card-picture picture,
.comp--subpage-hero__card-picture img {
  display: block;
  width: 100%;
  height: 100%;
}
.comp--subpage-hero__card-picture img {
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 220ms ease;
}

.comp--subpage-hero__card-media--fallback {
  display: grid;
  place-items: center;
}

.comp--subpage-hero__card-fallback-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--main);
}
.comp--subpage-hero__card-fallback-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.comp--subpage-hero__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.comp--subpage-hero__card-tag {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--main);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comp--subpage-hero__card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--main);
  font-size: clamp(1rem, 0.9rem + 0.25vw, 1.125rem);
  line-height: 1.1;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.comp--subpage-hero__card-meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.comp--subpage-hero__placeholder {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  color: var(--main);
}
.comp--subpage-hero__placeholder h3,
.comp--subpage-hero__placeholder p {
  margin: 0;
}
.comp--subpage-hero__placeholder p {
  color: var(--muted);
}

@media (max-width: calc(45rem - 1px)) {
  .comp--subpage-hero__stage {
    padding-block: 2.5rem 3rem;
  }
  .comp--subpage-hero__card-media {
    flex-basis: clamp(4.5rem, 22vw, 5.5rem);
  }
}
#main {
  padding-block: 0 5rem;
  color: var(--main);
}
@media (min-width: 45rem) {
  #main {
    padding-block: 0 6rem;
  }
}

.ortsplan__content {
  padding-block: 2.5rem 5rem;
}

.ortsplan__content .layout--container.aligned {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .ortsplan__content .layout--container.aligned {
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr);
    align-items: start;
  }
}
.ortsplan__intro {
  max-width: none;
  margin-bottom: 0;
  padding: 1.25rem;
  background: var(--bg);
  border-top: 0.25rem solid var(--accent);
  box-shadow: 0 1rem 2rem rgba(4, 85, 115, 0.08);
}

@media (min-width: 64rem) {
  .ortsplan__intro {
    grid-column: 1;
  }
}
.ortsplan__layout {
  display: grid;
  gap: 1rem;
  grid-column: 1/-1;
}

@media (min-width: 64rem) {
  .ortsplan__layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr);
    align-items: stretch;
  }
}
.ortsplan__map-card,
.ortsplan__list-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 0.25rem solid var(--accent);
  box-shadow: 0 1rem 2rem rgba(4, 85, 115, 0.08);
}

@media (min-width: 45rem) {
  .ortsplan__map-card,
  .ortsplan__list-card {
    padding: 1.25rem;
  }
}
.ortsplan__map-card h2,
.ortsplan__list-card h2 {
  margin: 0 0 0.75rem;
  color: var(--main);
  font-size: 1.125rem;
}

.ortsplan__map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  min-height: 24rem;
  border: 1px solid var(--border);
}

@media (max-width: calc(45rem - 1px)) {
  .ortsplan__map {
    min-height: 18rem;
  }
}
.ortsplan__map-note {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.ortsplan__empty {
  margin: 0;
  color: var(--muted);
}

.ortsplan__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.ortsplan__search {
  flex: 1 1 12rem;
  min-width: 0;
}

.ortsplan__filter {
  flex: 1 1 9rem;
  min-width: 0;
}

.ortsplan__filter-field {
  display: flex;
  width: 100%;
}

.ortsplan__filter-select {
  width: 100%;
  min-width: 0;
  min-height: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  padding: 0 2.25rem 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23134158' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.7rem;
  color: var(--main);
  font: inherit;
  line-height: 2.5rem;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ortsplan__filter-select:focus-visible {
  outline: none;
  border-color: var(--main-soft);
  box-shadow: inset 0 0 0 1px var(--main-soft);
}

.ortsplan__search-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.ortsplan__search-control,
.ortsplan__search-input,
.ortsplan__search-icon {
  min-height: 2.5rem;
}

.ortsplan__search-control {
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ortsplan__search-input {
  width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  border-radius: 0;
  border: 0;
  padding: 0;
  padding-right: 0.5rem;
  background: transparent;
  color: var(--main);
  font: inherit;
  box-shadow: none;
  outline: none;
}

.ortsplan__search-input::-moz-placeholder {
  color: var(--muted-light);
}

.ortsplan__search-input::placeholder {
  color: var(--muted-light);
  transition: opacity 140ms ease;
}

.ortsplan__search-input::-webkit-search-cancel-button {
  cursor: pointer;
  margin-right: 0.25rem;
}

.ortsplan__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  background: var(--accent);
  color: var(--main);
}

.ortsplan__search-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.ortsplan__search-control:focus-within {
  border-color: var(--main-soft);
  box-shadow: inset 0 0 0 1px var(--main-soft);
}

.ortsplan__search-control:focus-within .ortsplan__search-input::-moz-placeholder {
  opacity: 0;
}

.ortsplan__search-control:focus-within .ortsplan__search-input::placeholder {
  opacity: 0;
}

.ortsplan__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ortsplan__list-shell {
  display: grid;
  gap: 0.75rem;
}

.ortsplan__list-viewport {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: var(--main-soft) var(--bg-lighter);
}

.ortsplan__list-viewport::-webkit-scrollbar {
  width: 0.75rem;
}

.ortsplan__list-viewport::-webkit-scrollbar-track {
  background: var(--bg-lighter);
  border-radius: 999px;
}

.ortsplan__list-viewport::-webkit-scrollbar-thumb {
  background: var(--main-soft);
  border: 0.125rem solid var(--bg-lighter);
  border-radius: 999px;
}

.ortsplan__list-viewport::-webkit-scrollbar-thumb:hover {
  background: var(--muted-light);
}

.ortsplan__list-item {
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--bg-light);
  overflow: hidden;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.ortsplan__list-item.is-open {
  border-color: var(--border);
  background: var(--bg);
  box-shadow: 0 0.5rem 1rem rgba(4, 85, 115, 0.08);
}

.ortsplan__jump {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.ortsplan__jump:hover {
  background: rgba(4, 85, 115, 0.04);
}

.ortsplan__jump-main {
  display: grid;
  gap: 0.125rem;
  min-width: 0;
}

.ortsplan__jump-title {
  color: var(--main);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.ortsplan__jump-cat {
  color: var(--main-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ortsplan__jump-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}

.ortsplan__jump-icon::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.125rem solid var(--muted);
  border-bottom: 0.125rem solid var(--muted);
  transform: rotate(45deg);
  transition: transform 140ms ease, border-color 140ms ease;
}

.ortsplan__list-item.is-open .ortsplan__jump-icon::before {
  transform: rotate(-135deg) translate(-0.125rem, -0.125rem);
  border-color: var(--main-light);
}

.ortsplan__jump:focus-visible {
  outline: 0.125rem solid var(--main-light);
  outline-offset: 0.125rem;
}

.ortsplan__details {
  padding: 0.25rem 1rem 1rem;
  border-top: 1px solid var(--border);
}

.ortsplan__detail-block + .ortsplan__detail-block {
  margin-top: 0.75rem;
}

.ortsplan__detail-block--address {
  margin-top: 0.25rem;
}

.ortsplan__detail-label {
  margin: 0;
  color: var(--main-light);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ortsplan__meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.ortsplan__meta--multiline {
  white-space: normal;
}

.ortsplan__meta--link {
  margin-top: 0.1rem;
}

.ortsplan__meta a {
  color: var(--main-light);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 600;
}

.ortsplan__hours-list {
  display: grid;
  gap: 0.25rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ortsplan__hours-item {
  padding: 0.5rem;
  background: var(--bg-lighter);
  border-left: 0.125rem solid var(--border);
  color: var(--slate);
  font-size: 0.75rem;
  line-height: 1.5;
}

.ortsplan-leaflet-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 0;
  box-shadow: 0 0.75rem 1.5rem rgba(4, 85, 115, 0.16);
}

.ortsplan-leaflet-popup .leaflet-popup-content {
  width: min(18rem, 100vw - 6rem) !important;
  max-width: min(18rem, 100vw - 6rem);
  margin: 0;
}

.ortsplan-leaflet-popup .leaflet-popup-tip {
  background: var(--bg);
}

.ortsplan-leaflet-popup.leaflet-popup .leaflet-popup-close-button {
  top: 0.5rem !important;
  right: 0.5rem !important;
  width: 2rem !important;
  height: 2rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px;
  background: var(--main-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.5rem 1rem rgba(4, 85, 115, 0.26);
  color: var(--bg) !important;
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1 !important;
  text-align: center !important;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ortsplan-leaflet-popup.leaflet-popup .leaflet-popup-close-button:hover {
  background: var(--main);
  color: var(--bg);
  box-shadow: 0 0.5rem 1rem rgba(4, 85, 115, 0.28);
  transform: translateY(-0.125rem);
}

.ortsplan-leaflet-popup.leaflet-popup .leaflet-popup-close-button:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.125rem;
}

.ortsplan-popup {
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  border-top: 0.25rem solid var(--accent);
  color: var(--main);
}

.ortsplan-popup__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--main-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ortsplan-popup__title {
  margin: 0;
  color: var(--main);
  font-size: 1rem;
  line-height: 1.25;
}

.ortsplan-popup__section {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.ortsplan-popup__label {
  margin: 0 0 0.25rem;
  color: var(--main-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ortsplan-popup__meta,
.ortsplan-popup__description {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ortsplan-popup__meta:first-of-type {
  margin-top: 0.25rem;
}

.ortsplan-popup__actions {
  margin: 0.75rem 0 0;
}

.ortsplan-popup__link {
  color: var(--main-light);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ortsplan-popup__link:hover {
  color: var(--main);
}

.ortsplan-popup__link:focus-visible {
  outline: 0.12rem solid var(--accent);
  outline-offset: 0.1rem;
}

.ortsplan__scroll-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--main);
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.ortsplan__scroll-more:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(4, 85, 115, 0.14);
}

.ortsplan__scroll-more:focus-visible {
  outline: 0.125rem solid var(--main-light);
  outline-offset: 0.125rem;
}

.ortsplan__scroll-more[hidden] {
  display: none;
}

.ortsplan__scroll-more[data-scroll-end=true] {
  opacity: 0.5;
}

.ortsplan__scroll-more-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ortsplan__scroll-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.ortsplan__scroll-more-icon::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.125rem solid currentColor;
  border-bottom: 0.125rem solid currentColor;
  transform: rotate(45deg) translateY(-0.125rem);
}
