/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173c3f;
  background: #f4f7f1;
  --tinte: #173c3f;
  --wasser: #087f86;
  --wasser-dunkel: #075f66;
  --papier: #fffef8;
  --linie: #cddbd2;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 90% -10%, rgb(127 197 190 / 22%), transparent 30rem),
    #f4f7f1;
}

.seitenfuss {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--linie);
  color: #537072;
  font-size: 0.9rem;
}

.seitenfuss p {
  margin: 0;
}

.seitenfuss a {
  font-weight: 750;
}

.seitenfuss nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.flash {
  box-sizing: border-box;
  width: min(48rem, calc(100% - 2.5rem));
  margin: 1rem auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--linie);
  border-radius: 0.75rem;
  background: var(--papier);
}

.flash--notice { border-color: #76a383; }
.flash--alert { border-color: #c49b8e; }

.rechtstext {
  box-sizing: border-box;
  width: min(48rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.rechtstext h1 {
  margin: 0.25rem 0 0.75rem;
  color: #103436;
  font-size: clamp(2.5rem, 10vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.rechtstext__stand {
  margin: 0 0 3rem;
  color: #537072;
}

.rechtstext section {
  margin-top: 2.5rem;
}

.rechtstext h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.2;
}

.rechtstext h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.15rem;
}

.rechtstext p,
.rechtstext li,
.rechtstext address {
  line-height: 1.7;
}

.rechtstext address {
  font-style: normal;
}

.rechtstext li + li {
  margin-top: 0.45rem;
}

.rechtstext__quelle {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
  color: #607779;
  font-size: 0.85rem;
}

.geschuetzte-email {
  color: var(--wasser-dunkel);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.geschuetzte-email:hover {
  color: #043f44;
}

.geschuetzte-email:focus-visible {
  outline: 3px solid #f0a93c;
  outline-offset: 3px;
}

.kontaktseite__intro {
  max-width: 40rem;
  font-size: 1.08rem;
}

.unterstuetzen__intro {
  max-width: 38rem;
  color: #415e60;
  font-size: 1.16rem;
}

.unterstuetzen__karte {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid var(--linie);
  border-left: 0.4rem solid #efb75b;
  border-radius: 1rem;
  background: var(--papier);
  box-shadow: 0 1.25rem 3rem rgb(18 61 63 / 8%);
}

.unterstuetzen__karte h2 {
  max-width: 32rem;
}

.unterstuetzen__karte > p:first-of-type {
  max-width: 35rem;
  color: #415e60;
  font-size: 1.05rem;
}

.unterstuetzen__karte .primaer-link {
  margin: 0.5rem 0 0;
}

.unterstuetzen__hinweis {
  max-width: 38rem;
  margin-bottom: 0;
  color: #607779;
  font-size: 0.82rem;
}

.unterstuetzen__danke {
  margin: 2rem 0 0;
  color: #415e60;
  font-size: 1.05rem;
  line-height: 1.45;
}

.kontaktformular {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.kontaktformular > div:not(.honigfeld) {
  display: grid;
  gap: 0.4rem;
}

.kontaktformular label {
  font-weight: 800;
}

.kontaktformular input,
.kontaktformular textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #9fbdb2;
  border-radius: 0.7rem;
  color: var(--tinte);
  background: var(--papier);
  font: inherit;
}

.kontaktformular textarea { resize: vertical; }

.kontaktformular input:focus,
.kontaktformular textarea:focus {
  outline: 3px solid rgb(8 127 134 / 22%);
  border-color: var(--wasser);
}

.kontaktformular input[type="submit"] {
  width: fit-content;
  border: 0;
  color: white;
  background: var(--wasser-dunkel);
  font-weight: 800;
  cursor: pointer;
}

.kontaktformular__datenschutz {
  margin: 0;
  color: #537072;
  font-size: 0.9rem;
}

.cf-turnstile {
  min-height: 4.1rem;
}

.formularfehler {
  padding: 1rem;
  border: 1px solid #c49b8e;
  border-radius: 0.75rem;
  background: #fff2ed;
}

.formularfehler p { margin-top: 0; }
.formularfehler ul { margin-bottom: 0; }

.datenstatus__intro {
  max-width: 42rem;
  font-size: 1.08rem;
}

.methodik__intro {
  max-width: 42rem;
  color: #415e60;
  font-size: 1.12rem;
}

.datenstatus__quellen {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.datenstatus__quelle {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 1rem;
  background: var(--papier);
}

.datenstatus__quelle > h2,
.datenstatus__datensatz h3,
.datenstatus__datensatz p,
.datenstatus__datensatz dl {
  margin-top: 0;
}

.datenstatus__datensatz {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(18rem, 1.5fr);
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
}

.datenstatus__datensatz + .datenstatus__datensatz {
  margin-top: 1.25rem;
}

.datenstatus__datensatz dl,
.datenstatus__datensatz dl > div {
  display: grid;
  gap: 0.2rem;
}

.datenstatus__datensatz dl {
  gap: 0.75rem;
}

.datenstatus__datensatz dt {
  color: #537072;
  font-size: 0.85rem;
}

.datenstatus__datensatz dd {
  margin: 0;
}

.datenstatus__status {
  font-weight: 800;
}

.datenstatus__status--succeeded { color: #28733d; }
.datenstatus__status--failed,
.datenstatus__status--review_required { color: #9b3e27; }

@media (max-width: 42rem) {
  .datenstatus__datensatz {
    grid-template-columns: 1fr;
  }
}

.honigfeld {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: var(--wasser-dunkel);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #043f44;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.startseite {
  box-sizing: border-box;
  min-height: 100dvh;
  max-width: 44rem;
  margin: 0 auto;
  padding: 20vh 1.25rem 3rem;
}

.startseite h1 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  line-height: 0.98;
}

.startseite p {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.startseite .status {
  margin: 0;
  color: #087f8c;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primaer-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  color: white;
  background: var(--wasser-dunkel);
  font-weight: 750;
  text-decoration: none;
}

.primaer-link:hover {
  color: white;
  background: #043f44;
}

.seitenkopf {
  box-sizing: border-box;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
}

.seitenkopf p {
  display: none;
  margin: 0;
  color: #537072;
  font-size: 0.9rem;
}

.seitenkopf__aktionen {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.wortmarke {
  color: var(--tinte);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.kopf-link,
.back-link {
  font-weight: 700;
}

.kopf-link--support {
  padding: 0.45rem 0.75rem;
  border: 1px solid #8facaa;
  border-radius: 999px;
  text-decoration: none;
}

.places-page,
.detail-page {
  box-sizing: border-box;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.intro {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.intro h1,
.detail-card h1 {
  max-width: 42rem;
  margin: 0.2rem 0 1rem;
  color: #103436;
  font-size: clamp(2.35rem, 10vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro > p:last-child {
  max-width: 43rem;
  margin: 0;
  color: #415e60;
  font-size: 1.08rem;
  line-height: 1.6;
}

.coverage-area-links {
  margin: 3rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 1rem;
  background: rgb(255 254 248 / 72%);
}

.coverage-area-links h2 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.coverage-area-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.coverage-area-links li a {
  display: block;
  padding: 0.45rem 0.7rem;
  border: 1px solid #a9beb6;
  border-radius: 999px;
  color: var(--tinte);
  background: white;
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}

.coverage-area-links__all {
  font-weight: 750;
}

.coverage-area-grid {
  display: grid;
  gap: 0.85rem;
}

.coverage-area-card {
  padding: 1.5rem;
  border: 1px solid var(--linie);
  border-radius: 1rem;
  background: rgb(255 254 248 / 92%);
}

.coverage-area-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.5rem;
}

.coverage-area-card h2 a {
  color: var(--tinte);
  text-decoration: none;
}

.coverage-area-card > p:last-child {
  margin: 0;
  color: #526d6e;
  line-height: 1.5;
}

.coverage-map-link {
  margin: 0 0 3rem;
}

.coverage-places {
  margin-bottom: 4rem;
}

.eyebrow,
.place-type {
  margin: 0;
  color: var(--wasser);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.map-canvas {
  height: min(62dvh, 36rem);
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid #b9d0c5;
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 3rem rgb(18 61 63 / 10%);
}

.map-attribution {
  margin: 0.7rem 0 0;
  color: #607779;
  font-size: 0.78rem;
  line-height: 1.5;
}

.place-results {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-header h2,
.source-card h2,
.empty-state h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.035em;
}

.place-grid {
  display: grid;
  gap: 0.85rem;
}

.place-card,
.detail-card,
.source-card,
.empty-state {
  border: 1px solid var(--linie);
  border-radius: 1rem;
  background: rgb(255 254 248 / 92%);
}

.place-card {
  padding: 1.2rem;
}

.place-card h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.3rem;
  line-height: 1.15;
}

.place-card h3 a {
  color: var(--tinte);
  text-decoration: none;
}

.place-card p:not(.place-type) {
  min-height: 2.5em;
  margin: 0 0 1.25rem;
  color: #526d6e;
  line-height: 1.4;
}

.detail-link {
  font-size: 0.9rem;
  font-weight: 750;
}

.sources-section > h2 {
  margin: 0.25rem 0 1.25rem;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.035em;
}

.sources-grid {
  display: grid;
  gap: 0.85rem;
}

.source-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.source-card,
.empty-state {
  padding: 1.5rem;
}

.source-card dl,
.place-data {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
}

.source-card dl div,
.place-data div {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--linie);
}

dt {
  color: #607779;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  line-height: 1.45;
}

.detail-page {
  max-width: 54rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.detail-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.detail-navigation .back-link,
.detail-navigation .primaer-link {
  margin: 0;
}

.detail-navigation .primaer-link {
  margin-left: auto;
  padding: 0.6rem 0.9rem;
}

.detail-card {
  padding: clamp(1.4rem, 5vw, 3rem);
}

.detail-card h1 {
  margin-top: 0.4rem;
  font-size: clamp(2.2rem, 9vw, 4.5rem);
}

.place-address {
  color: #526d6e;
  font-size: 1.08rem;
}

.honesty-note {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border-left: 0.3rem solid #efb75b;
  background: #fff7e7;
  line-height: 1.5;
}

.place-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
}

.place-support p {
  margin: 0;
  color: #526d6e;
  font-size: 0.9rem;
  line-height: 1.45;
}

.place-support__link {
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-page .source-card {
  margin-top: 1rem;
}

@media (min-width: 42rem) {
  .seitenkopf p {
    display: block;
  }

  .places-page,
  .detail-page {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-card dl div,
  .place-data div {
    grid-template-columns: minmax(8rem, 0.35fr) 1fr;
    gap: 1rem;
  }
}

@media (min-width: 64rem) {
  .place-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Map exploration */

.map-section {
  min-width: 0;
}

.location-search {
  display: grid;
  align-items: end;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.location-search__form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--tinte);
  font-size: 0.85rem;
  font-weight: 800;
}

.location-search__row {
  display: flex;
  gap: 0.45rem;
}

.location-search input {
  min-width: 0;
  width: 100%;
  min-height: 3rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid #8facaa;
  border-radius: 0.75rem;
  color: var(--tinte);
  background: white;
  font: inherit;
}

.location-search__row button,
.locate-button,
.load-more,
.search-results button,
.viewport-search-button {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--tinte);
  border-radius: 0.75rem;
  color: white;
  background: var(--tinte);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.locate-button {
  color: var(--tinte);
  background: var(--papier);
}

.location-search button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.location-search input:focus-visible,
.location-search button:focus-visible,
.search-results button:focus-visible,
.load-more:focus-visible,
.viewport-search-button:focus-visible {
  outline: 3px solid #f0a93c;
  outline-offset: 3px;
}

.search-results {
  position: relative;
  z-index: 6;
  display: grid;
  gap: 0.35rem;
  margin: -0.35rem 0 0.85rem;
  padding: 0.65rem;
  border: 1px solid var(--linie);
  border-radius: 0.85rem;
  background: white;
  box-shadow: 0 0.8rem 2rem rgb(18 61 63 / 12%);
}

.search-results[hidden] {
  display: none;
}

.search-results__title {
  margin: 0.1rem 0.3rem 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.search-results button {
  min-height: 2.75rem;
  border-color: transparent;
  color: var(--tinte);
  background: #f3f8f4;
  text-align: left;
}

.search-results button:hover {
  background: #e4f0e9;
}

.map-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: thin;
}

.filter-group {
  display: flex;
  gap: 0.45rem;
}

.filter-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #aac5bb;
  border-radius: 999px;
  color: var(--tinte);
  background: rgb(255 254 248 / 88%);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.filter-chip:hover {
  border-color: var(--wasser);
  background: white;
}

.filter-chip:focus-visible,
.panel-close:focus-visible,
.place-card a:focus-visible {
  outline: 3px solid #f0a93c;
  outline-offset: 3px;
}

.filter-chip.is-active {
  border-color: var(--tinte);
  color: white;
  background: var(--tinte);
}

.filter-chip--fee {
  margin-left: auto;
  border-width: 2px;
}

.legend-swatch {
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(23 60 63 / 35%);
}


.map-layout {
  position: relative;
  min-width: 0;
}

.viewport-search-button {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 50%;
  min-height: 2.75rem;
  border-color: white;
  border-radius: 999px;
  box-shadow: 0 0.55rem 1.5rem rgb(13 43 45 / 25%);
  transform: translateX(-50%);
  white-space: nowrap;
}

.results-empty {
  max-width: 42rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--linie);
  border-radius: 0.85rem;
  color: #486568;
  background: rgb(255 254 248 / 75%);
}

.load-more {
  display: block;
  margin: 1.25rem auto 0;
}

.load-more[hidden],
.viewport-search-button[hidden] {
  display: none;
}

.entfernung {
  color: var(--wasser-dunkel);
  font-size: 0.88rem;
  font-weight: 750;
}

.place-panel {
  position: absolute;
  z-index: 4;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  max-height: min(72%, 32rem);
  overflow-y: auto;
  border: 1px solid #9fbdb2;
  border-radius: 1rem;
  background: var(--papier);
  box-shadow: 0 1.25rem 3rem rgb(13 43 45 / 28%);
  overscroll-behavior: contain;
}

.place-panel__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--linie);
  background: rgb(255 254 248 / 96%);
  backdrop-filter: blur(0.5rem);
}

.place-panel__header p {
  margin: 0;
  color: #607779;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-close {
  padding: 0.35rem 0;
  border: 0;
  color: var(--wasser-dunkel);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.place-panel turbo-frame {
  display: block;
}

.place-panel turbo-frame[hidden],
.place-preview[hidden],
.detail-loading[hidden],
.detail-error[hidden] {
  display: none;
}

.place-panel[aria-busy="true"] .place-panel__header p::after {
  content: " · Lädt";
}

.detail-loading,
.detail-error {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
}

.detail-loading p,
.detail-error p {
  margin: 0;
  color: #607779;
  font-weight: 700;
}

.detail-skeleton {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.detail-skeleton span {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #dce8e2 25%, #f4f7f3 50%, #dce8e2 75%);
  background-size: 200% 100%;
  animation: detail-skeleton-laden 1.4s ease-in-out infinite;
}

.detail-skeleton span:nth-child(2) { width: 82%; }
.detail-skeleton span:nth-child(3) { width: 58%; }

.detail-error button {
  margin-top: 0.8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #8fafaa;
  border-radius: 999px;
  color: var(--wasser-dunkel);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@keyframes detail-skeleton-laden {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-skeleton span { animation: none; }
}

.panel-placeholder {
  margin: 0;
  padding: 1.5rem;
  color: #607779;
}

.place-panel .detail-card,
.place-panel .source-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.place-panel .detail-card {
  padding: 1.15rem;
}

.place-panel .place-title {
  max-width: 42rem;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
  color: #103436;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.place-panel .place-data {
  margin-bottom: 0;
}

.place-panel .source-card {
  border-top: 1px solid var(--linie);
}

.place-panel .source-card h2 {
  font-size: 1.35rem;
}

.detail-page-link {
  display: block;
  margin-top: 1rem;
  font-weight: 750;
}

.detail-meta,
.place-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.fee-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.15rem 0.48rem;
  border: 1px solid #a9beb6;
  border-radius: 0.35rem;
  color: #425d5f;
  background: #f3f6f2;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
}

.fee-badge--free {
  border-color: #76a383;
  color: #285d36;
  background: #edf7ee;
}

.fee-badge--paid {
  border-color: #c49b8e;
  color: #743b31;
  background: #fff2ed;
}

.place-card--selected {
  border-color: var(--wasser-dunkel);
  box-shadow: 0 0 0 3px rgb(8 127 134 / 18%);
}

.detail-card h1:focus,
.detail-card h2:focus {
  outline: none;
}

@media (max-width: 41.99rem) {
  .place-support {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .places-page {
    padding-top: 1rem;
  }

  .intro {
    margin-bottom: 1.5rem;
  }

  .intro h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .map-canvas {
    height: 34rem;
    min-height: 34rem;
  }

  .map-tools {
    flex-wrap: wrap;
    overflow: visible;
  }

  .filter-group {
    width: 100%;
    overflow-x: auto;
    padding: 0.1rem 0 0.3rem;
    scrollbar-width: thin;
  }

  .filter-chip--fee {
    margin-left: 0;
  }

  .location-search__row {
    align-items: stretch;
  }

  .location-search__row button {
    padding-inline: 0.8rem;
  }
}

@media (min-width: 42rem) {
  .location-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 64rem) {
  .map-layout--selection {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.85fr);
    gap: 0.85rem;
  }

  .map-layout--selection .place-panel {
    position: static;
    height: min(62dvh, 36rem);
    max-height: none;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgb(18 61 63 / 10%);
  }
}
