.pb-pragmap {
  --pb-burgundy: #76283a;
  --pb-burgundy-dark: #4e1827;
  --pb-gold: #b98b3e;
  --pb-cream: #f8f4ec;
  --pb-paper: #fffdfa;
  --pb-ink: #25272a;
  --pb-muted: #6b6862;
  --pb-border: #ded7cb;
  --pb-soft-border: rgba(78, 43, 35, 0.12);
  --pb-focus: #156b9a;
  --pb-shadow: 0 18px 48px rgba(52, 35, 29, 0.12);
  width: 100%;
  max-width: 1480px;
  margin: clamp(1.25rem, 3vw, 2.5rem) auto;
  color: var(--pb-ink);
  font-family: inherit;
  line-height: 1.5;
  isolation: isolate;
}

.pb-pragmap *,
.pb-pragmap *::before,
.pb-pragmap *::after { box-sizing: border-box; }

.pb-pragmap button,
.pb-pragmap input,
.pb-pragmap select { font: inherit; }

.pb-pragmap button { cursor: pointer; }
.pb-pragmap a { color: inherit; }
.pb-pragmap [hidden] { display: none !important; }

.pb-pragmap__shell {
  overflow: hidden;
  border: 1px solid var(--pb-border);
  border-radius: 22px;
  background: var(--pb-paper);
  box-shadow: var(--pb-shadow);
}

.pb-pragmap__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.45rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--pb-border);
  background:
    radial-gradient(circle at 96% 0%, rgba(185, 139, 62, 0.13), transparent 32%),
    linear-gradient(135deg, #fffdfa 0%, #faf5eb 100%);
}

.pb-pragmap__heading { max-width: 850px; }
.pb-pragmap__heading h2 {
  margin: 0;
  color: var(--pb-burgundy-dark);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.pb-pragmap__heading > p:last-child {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: var(--pb-muted);
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
}

.pb-pragmap__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--pb-burgundy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pb-pragmap__summary {
  flex: 0 0 auto;
  min-width: 132px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(118, 40, 58, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.pb-pragmap__summary strong,
.pb-pragmap__summary span,
.pb-pragmap__summary small { display: block; }
.pb-pragmap__summary strong { color: var(--pb-burgundy); font-size: 1.75rem; line-height: 1; }
.pb-pragmap__summary span { margin-top: 0.2rem; font-weight: 800; }
.pb-pragmap__summary small { margin-top: 0.18rem; color: var(--pb-muted); font-size: 0.72rem; }

.pb-pragmap__controls {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem clamp(1rem, 2.4vw, 1.5rem) 0.75rem;
  background: var(--pb-paper);
}

.pb-pragmap__search-wrap { position: relative; min-width: 0; }
.pb-pragmap__search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0 0.8rem;
  border: 1px solid var(--pb-border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.pb-pragmap__search:focus-within {
  border-color: var(--pb-gold);
  box-shadow: 0 0 0 3px rgba(185, 139, 62, 0.17);
}
.pb-pragmap__search > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--pb-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.pb-pragmap__search input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--pb-ink);
  background: transparent;
}
.pb-pragmap__search input::placeholder { color: #8b8780; opacity: 1; }
.pb-pragmap__clear {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--pb-muted);
  background: transparent;
}
.pb-pragmap__clear:hover { background: var(--pb-cream); color: var(--pb-burgundy); }
.pb-pragmap__clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.pb-pragmap__suggestions {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 330px;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid var(--pb-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(44, 31, 26, 0.16);
}
.pb-pragmap__suggestion {
  display: block;
  width: 100%;
  padding: 0.72rem 0.75rem;
  border: 0;
  border-radius: 9px;
  color: var(--pb-ink);
  background: transparent;
  text-align: left;
}
.pb-pragmap__suggestion:hover,
.pb-pragmap__suggestion.is-active { background: var(--pb-cream); }
.pb-pragmap__suggestion strong,
.pb-pragmap__suggestion span { display: block; }
.pb-pragmap__suggestion span { margin-top: 0.1rem; color: var(--pb-muted); font-size: 0.78rem; }

.pb-pragmap__scope {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--pb-border);
  border-radius: 12px;
  background: var(--pb-cream);
}
.pb-pragmap__scope button {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 9px;
  color: var(--pb-muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}
.pb-pragmap__scope button.is-active {
  color: #fff;
  background: var(--pb-burgundy);
  box-shadow: 0 4px 10px rgba(118, 40, 58, 0.18);
}

.pb-pragmap__filter-button,
.pb-pragmap__map-tools button,
.pb-pragmap__map-error button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--pb-border);
  border-radius: 11px;
  color: var(--pb-ink);
  background: #fff;
  font-weight: 750;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease, transform 150ms ease;
}
.pb-pragmap__filter-button:hover,
.pb-pragmap__map-tools button:hover,
.pb-pragmap__map-error button:hover { border-color: var(--pb-gold); color: var(--pb-burgundy); transform: translateY(-1px); }
.pb-pragmap__filter-button svg,
.pb-pragmap__map-tools svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pb-pragmap__filter-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pb-burgundy);
  font-size: 0.7rem;
}

.pb-pragmap__quick-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 1.5rem 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.pb-pragmap__quick-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--pb-border);
  border-radius: 999px;
  color: var(--pb-muted);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.pb-pragmap__quick-filters button:hover { border-color: var(--pb-gold); color: var(--pb-burgundy); }
.pb-pragmap__quick-filters button.is-active { border-color: var(--pb-burgundy); color: #fff; background: var(--pb-burgundy); }

.pb-pragmap__filter-panel {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--pb-soft-border);
  background: #fcfaf6;
}
.pb-pragmap__filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  padding-top: 1.15rem;
}
.pb-pragmap__filter-grid fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pb-pragmap__filter-grid legend,
.pb-pragmap__filter-fields label > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--pb-ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.pb-pragmap__checkboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem 0.75rem; }
.pb-pragmap__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--pb-muted);
  font-size: 0.8rem;
}
.pb-pragmap__checkbox:hover { border-color: var(--pb-border); background: #fff; }
.pb-pragmap__checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0.05rem 0 0; accent-color: var(--pb-burgundy); }
.pb-pragmap__checkbox span { min-width: 0; }
.pb-pragmap__filter-fields { display: grid; align-content: start; gap: 0.8rem; }
.pb-pragmap__filter-fields select {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 2.3rem 0.5rem 0.7rem;
  border: 1px solid var(--pb-border);
  border-radius: 10px;
  color: var(--pb-ink);
  background: #fff;
}
.pb-pragmap__text-button {
  padding: 0;
  border: 0;
  color: var(--pb-burgundy);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.pb-pragmap__text-button:hover { text-decoration-color: currentColor; }

.pb-pragmap__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, 0.85fr);
  height: clamp(680px, 72vh, 800px);
  min-height: 680px;
  border-top: 1px solid var(--pb-border);
}
.pb-pragmap__map-wrap {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #ebe7df;
}
.pb-pragmap__map { width: 100%; height: 100%; min-height: 0; }
.pb-pragmap__map .leaflet-tile-pane { filter: saturate(0.67) contrast(0.96) brightness(1.035); }
.pb-pragmap__map .leaflet-control-attribution {
  max-width: calc(100% - 12px);
  padding: 2px 5px;
  color: #67635e;
  background: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  line-height: 1.25;
}
.pb-pragmap__map .leaflet-control-attribution a { color: #5e596f; }
.pb-pragmap__map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid var(--pb-border) !important;
  border-radius: 11px !important;
  box-shadow: 0 6px 18px rgba(44, 31, 26, 0.13) !important;
}
.pb-pragmap__map .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 40px;
  color: var(--pb-ink);
  background: rgba(255, 255, 255, 0.96);
}
.pb-pragmap__map .leaflet-control-zoom a:hover { color: var(--pb-burgundy); background: #fff; }

.pb-pragmap__map-state {
  position: absolute;
  z-index: 700;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  padding: 2rem;
  color: var(--pb-muted);
  background: linear-gradient(135deg, #f1eee8, #e6e0d6);
  text-align: center;
}
.pb-pragmap__map-state p { max-width: 430px; margin: 0; }
.pb-pragmap__spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(118, 40, 58, 0.16);
  border-top-color: var(--pb-burgundy);
  border-radius: 50%;
  animation: pb-pragmap-spin 0.75s linear infinite;
}
.pb-pragmap__map-error { gap: 0.6rem; color: var(--pb-ink); }
.pb-pragmap__map-error strong { color: var(--pb-burgundy-dark); font-size: 1.05rem; }
.pb-pragmap__map-error button { margin-top: 0.35rem; }
@keyframes pb-pragmap-spin { to { transform: rotate(360deg); } }

.pb-pragmap__map-tools {
  position: absolute;
  z-index: 650;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 7px;
}
.pb-pragmap__map-tools button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-color: rgba(62, 51, 45, 0.16);
  box-shadow: 0 5px 15px rgba(44, 31, 26, 0.12);
}
.pb-pragmap__map-tools button[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.pb-pragmap__results {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #fff;
}
.pb-pragmap__results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--pb-border);
  background: #fffdfa;
}
.pb-pragmap__results-head strong,
.pb-pragmap__results-head span { display: block; }
.pb-pragmap__results-head strong { color: var(--pb-burgundy-dark); }
.pb-pragmap__results-head span { margin-top: 0.08rem; color: var(--pb-muted); font-size: 0.76rem; }
.pb-pragmap__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.55rem;
  scrollbar-width: thin;
}
.pb-pragmap__card {
  position: relative;
  margin: 0;
  padding: 0.88rem 0.9rem 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.pb-pragmap__card + .pb-pragmap__card { margin-top: 0.32rem; }
.pb-pragmap__card::before {
  position: absolute;
  top: 0.9rem;
  bottom: 0.9rem;
  left: 0.35rem;
  width: 3px;
  border-radius: 999px;
  background: var(--pb-card-color, var(--pb-burgundy));
  content: "";
}
.pb-pragmap__card:hover { border-color: var(--pb-border); background: #fffcf7; transform: translateY(-1px); }
.pb-pragmap__card.is-active { border-color: rgba(118, 40, 58, 0.34); background: #fbf4ed; box-shadow: 0 7px 18px rgba(63, 41, 32, 0.08); }
.pb-pragmap__card-topline {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.3rem;
  color: var(--pb-muted);
  font-size: 0.68rem;
  font-weight: 700;
}
.pb-pragmap__category-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-dot, var(--pb-burgundy));
}
.pb-pragmap__badge {
  margin-left: auto;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(185, 139, 62, 0.35);
  border-radius: 999px;
  color: #76551e;
  background: #fff8e8;
  font-size: 0.63rem;
  font-weight: 850;
}
.pb-pragmap__card h3 {
  margin: 0;
  color: var(--pb-ink);
  font-size: 0.98rem;
  line-height: 1.26;
}
.pb-pragmap__card p { margin: 0.35rem 0 0; color: var(--pb-muted); font-size: 0.79rem; line-height: 1.45; }
.pb-pragmap__card .pb-pragmap__cz { margin-top: 0.08rem; color: #837e76; font-size: 0.72rem; font-style: italic; }
.pb-pragmap__card-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.65rem;
}
.pb-pragmap__card-actions button,
.pb-pragmap__card-actions a {
  min-height: 36px;
  padding: 0;
  border: 0;
  color: var(--pb-burgundy);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.pb-pragmap__card-actions button:hover,
.pb-pragmap__card-actions a:hover { color: var(--pb-burgundy-dark); text-decoration: underline; text-underline-offset: 3px; }
.pb-pragmap__load-more {
  min-height: 46px;
  margin: 0.5rem 0.65rem 0.7rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--pb-border);
  border-radius: 10px;
  color: var(--pb-burgundy);
  background: var(--pb-cream);
  font-weight: 800;
}
.pb-pragmap__load-more:hover { border-color: var(--pb-gold); background: #fff8eb; }
.pb-pragmap__empty { margin: auto; padding: 2rem 1rem; color: var(--pb-muted); text-align: center; }
.pb-pragmap__noscript { margin: 0; padding: 1rem 1.5rem; border-top: 1px solid var(--pb-border); background: #fff8e8; }

/* Minimalistische Kartenmarker */
.pb-pragmap-marker { background: transparent !important; border: 0 !important; }
.pb-pragmap-marker__pin {
  position: relative;
  display: grid;
  width: var(--pb-marker-size);
  height: var(--pb-marker-size);
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 15%;
  color: #fff;
  background: var(--pb-marker-color);
  box-shadow: 0 5px 13px rgba(34, 29, 27, 0.25);
  transform: rotate(-45deg);
  transition: transform 130ms ease, box-shadow 130ms ease;
}
.pb-pragmap-marker__pin::after {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: inherit;
  content: "";
}
.pb-pragmap-marker__pin svg {
  position: relative;
  z-index: 1;
  width: calc(var(--pb-marker-size) * 0.45);
  height: calc(var(--pb-marker-size) * 0.45);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(45deg);
}
.pb-pragmap-marker--featured .pb-pragmap-marker__pin { box-shadow: 0 0 0 3px rgba(185, 139, 62, 0.62), 0 6px 16px rgba(34, 29, 27, 0.28); }
.pb-pragmap-marker:hover .pb-pragmap-marker__pin,
.pb-pragmap-marker:focus .pb-pragmap-marker__pin,
.pb-pragmap-marker.is-active .pb-pragmap-marker__pin { transform: rotate(-45deg) translate(2px, -2px) scale(1.08); box-shadow: 0 7px 18px rgba(34, 29, 27, 0.32); }

.pb-pragmap-cluster { background: transparent !important; }
.pb-pragmap-cluster__inner {
  display: grid;
  width: var(--pb-cluster-size, 42px);
  height: var(--pb-cluster-size, 42px);
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #fff;
  background: var(--pb-burgundy);
  box-shadow: 0 5px 16px rgba(46, 31, 27, 0.27), 0 0 0 2px rgba(185, 139, 62, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
}

.pb-pragmap .leaflet-popup-content-wrapper {
  overflow: hidden;
  border: 1px solid rgba(78, 43, 35, 0.12);
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(40, 30, 26, 0.2);
}
.pb-pragmap .leaflet-popup-content { width: min(310px, calc(100vw - 74px)) !important; margin: 0; }
.pb-pragmap .leaflet-popup-tip { box-shadow: none; }
.pb-pragmap-popup { padding: 1rem; color: var(--pb-ink); font-family: inherit; }
.pb-pragmap-popup__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--pb-muted);
  font-size: 0.68rem;
  font-weight: 750;
}
.pb-pragmap-popup__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pb-popup-color); }
.pb-pragmap-popup__highlight { margin-left: auto; color: #76551e; }
.pb-pragmap-popup h3 { margin: 0; color: var(--pb-burgundy-dark); font-size: 1.05rem; line-height: 1.2; }
.pb-pragmap-popup__cz { margin: 0.15rem 0 0; color: #807a72; font-size: 0.76rem; font-style: italic; }
.pb-pragmap-popup__text { margin: 0.65rem 0 0; color: var(--pb-muted); font-size: 0.8rem; line-height: 1.48; }
.pb-pragmap-popup__address { margin: 0.65rem 0 0; color: #706a63; font-size: 0.7rem; }
.pb-pragmap-popup__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.85rem; }
.pb-pragmap-popup__actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--pb-border);
  border-radius: 9px;
  color: var(--pb-burgundy);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.pb-pragmap-popup__actions a:first-child { border-color: var(--pb-burgundy); color: #fff; background: var(--pb-burgundy); }
.pb-pragmap-popup__actions a:hover { border-color: var(--pb-gold); }
.pb-pragmap-popup__article { grid-column: 1 / -1; }

.pb-pragmap :where(button, input, select, a, [tabindex]):focus-visible {
  outline: 3px solid rgba(21, 107, 154, 0.32);
  outline-offset: 2px;
}
.pb-pragmap__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pb-pragmap.is-fullscreen {
  position: fixed;
  z-index: 999999;
  inset: 0;
  max-width: none;
  margin: 0;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: #f4f0e9;
}
.pb-pragmap.is-fullscreen .pb-pragmap__shell { height: 100%; border-radius: 14px; }
.pb-pragmap.is-fullscreen .pb-pragmap__header { display: none; }
.pb-pragmap.is-fullscreen .pb-pragmap__layout { height: calc(100% - 145px); min-height: 0; }
.pb-pragmap.is-fullscreen .pb-pragmap__map-wrap,
.pb-pragmap.is-fullscreen .pb-pragmap__map { min-height: 0; height: 100%; }

@media (max-width: 1050px) {
  .pb-pragmap__controls { grid-template-columns: minmax(220px, 1fr) auto; }
  .pb-pragmap__filter-button { grid-column: 2; grid-row: 1; }
  .pb-pragmap__scope { grid-column: 1 / -1; justify-self: start; }
  .pb-pragmap__layout { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr); }
}

@media (max-width: 880px) {
  .pb-pragmap__shell { border-radius: 18px; }
  .pb-pragmap__header { gap: 1rem; }
  .pb-pragmap__summary { min-width: 116px; }
  .pb-pragmap__controls { grid-template-columns: minmax(0, 1fr) auto; }
  .pb-pragmap__scope { width: 100%; }
  .pb-pragmap__scope button { flex: 1 1 50%; }
  .pb-pragmap__filter-grid { grid-template-columns: 1fr; }
  .pb-pragmap__checkboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-pragmap__layout { display: block; height: auto; min-height: 0; }
  .pb-pragmap__map-wrap,
  .pb-pragmap__map { min-height: min(58svh, 570px); height: min(58svh, 570px); }
  .pb-pragmap__results { min-height: 0; border-top: 1px solid var(--pb-border); }
  .pb-pragmap__list { max-height: none; overflow: visible; padding: 0.7rem; }
  .pb-pragmap__card { padding-top: 0.95rem; padding-bottom: 0.95rem; }
  .pb-pragmap__load-more { width: calc(100% - 1.4rem); }
  .pb-pragmap.is-fullscreen .pb-pragmap__controls,
  .pb-pragmap.is-fullscreen .pb-pragmap__quick-filters { display: none; }
  .pb-pragmap.is-fullscreen .pb-pragmap__layout { height: 100%; }
  .pb-pragmap.is-fullscreen .pb-pragmap__results { display: none; }
  .pb-pragmap.is-fullscreen .pb-pragmap__map-wrap,
  .pb-pragmap.is-fullscreen .pb-pragmap__map { height: 100%; min-height: 100%; }
}

@media (max-width: 620px) {
  .pb-pragmap { margin: 1rem auto; }
  .pb-pragmap__shell { border-radius: 15px; }
  .pb-pragmap__header { display: block; padding: 1.25rem 1rem; }
  .pb-pragmap__heading h2 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .pb-pragmap__summary {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    min-width: 0;
    margin-top: 0.9rem;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
  }
  .pb-pragmap__summary strong { font-size: 1rem; }
  .pb-pragmap__summary span { margin: 0; color: var(--pb-burgundy); font-size: 0.82rem; }
  .pb-pragmap__summary small { margin: 0 0 0 auto; font-size: 0.68rem; }
  .pb-pragmap__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem; padding: 0.8rem 0.8rem 0.6rem; }
  .pb-pragmap__search-wrap { grid-column: 1 / -1; }
  .pb-pragmap__scope { grid-column: 1; grid-row: 2; overflow: hidden; }
  .pb-pragmap__scope button { min-height: 44px; padding: 0.4rem 0.55rem; font-size: 0.74rem; }
  .pb-pragmap__filter-button { grid-column: 2; grid-row: 2; min-height: 50px; }
  .pb-pragmap__quick-filters { padding: 0 0.8rem 0.85rem; }
  .pb-pragmap__quick-filters button { min-height: 42px; }
  .pb-pragmap__filter-panel { padding: 0 0.8rem 1rem; }
  .pb-pragmap__checkboxes { grid-template-columns: 1fr; }
  .pb-pragmap__map-wrap,
  .pb-pragmap__map { min-height: min(56svh, 520px); height: min(56svh, 520px); }
  .pb-pragmap__map-tools { top: 9px; right: 9px; }
  .pb-pragmap__map-tools button { width: 46px; height: 46px; }
  .pb-pragmap__map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 42px; }
  .pb-pragmap__results-head { padding: 0.8rem; }
  .pb-pragmap__results-head .pb-pragmap__text-button { display: none; }
  .pb-pragmap__card h3 { font-size: 1rem; }
  .pb-pragmap__card p { font-size: 0.82rem; }
  .pb-pragmap-popup__actions { grid-template-columns: 1fr; }
  .pb-pragmap-popup__article { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-pragmap *,
  .pb-pragmap *::before,
  .pb-pragmap *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  .pb-pragmap { --pb-border: #8a8175; --pb-muted: #4c4945; }
  .pb-pragmap__card { border-color: rgba(0, 0, 0, 0.08); }
}
