.haendlerkarte-hero {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}
.haendlerkarte-hero__title {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.haendlerkarte-hero__subtitle {
  font-family: "metaserif", Georgia, serif;
  font-size: 1rem;
  color: #666;
  margin: 0;
}
.haendlerkarte-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.haendlerkarte-toolbar__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.haendlerkarte-toolbar__filter-select {
  display: none;
  flex: 1;
  min-width: 0;
}
.haendlerkarte-toolbar__nearby {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.haendlerkarte-toolbar__filters--desktop {
  display: flex;
}
.haendlerkarte-toolbar__filters--mobile {
  display: none;
}
@media (max-width: 991px) {
  .haendlerkarte-toolbar {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
  }
  .haendlerkarte-toolbar__filters--desktop {
    display: none;
  }
  .haendlerkarte-toolbar__filters--mobile {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: stretch;
  }
  .haendlerkarte-toolbar__nearby {
    margin-left: 0;
    flex-shrink: 0;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
  }
}
.haendlerkarte-select {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 0;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px;
  cursor: pointer;
}
.haendlerkarte-select:focus {
  outline: none;
  border-color: #b89230;
}
.haendlerkarte-filter-btn {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #1a1a1a;
  border-radius: 0;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.haendlerkarte-filter-btn__icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.haendlerkarte-filter-btn:hover {
  border-color: #b89230;
  color: #b89230;
}
.haendlerkarte-filter-btn.active {
  background: #fff;
  border-color: #b89230;
  border-width: 2px;
  color: #1a1a1a;
}
@media (max-width: 991px) {
  .haendlerkarte-filter-btn {
    padding: 0.4rem 0.55rem;
    font-size: 0.72rem;
  }
  .haendlerkarte-filter-btn__text {
    display: none;
  }
  .haendlerkarte-filter-btn[data-filter="all"] .haendlerkarte-filter-btn__text {
    display: inline;
  }
}
.btn-nearby, .btn-nearby-reset {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border: 1.5px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  border-radius: 0;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.btn-nearby svg, .btn-nearby-reset svg {
  flex-shrink: 0;
}
.btn-nearby:hover, .btn-nearby-reset:hover {
  background: #b89230;
  border-color: #b89230;
  color: #fff;
}
@media (max-width: 991px) {
  .btn-nearby, .btn-nearby-reset {
    padding: 0 0.65rem;
    font-size: 0.75rem;
    align-self: stretch;
    justify-content: center;
  }
}
.btn-nearby-reset {
  background: transparent;
  color: #1a1a1a;
  border-color: #e0e0e0;
}
.btn-nearby-reset:hover {
  background: #f0f0f0;
  border-color: #1a1a1a;
  color: #1a1a1a;
}
@media (max-width: 991px) {
  .btn-nearby__text {
    display: none;
  }
  .btn-nearby-reset__text {
    display: none;
  }
}
.haendlerkarte-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 991px) {
  .haendlerkarte-layout {
    grid-template-columns: 1fr;
  }
}
.haendlerkarte-map-wrapper {
  position: sticky;
  top: 80px;
}
@media (max-width: 991px) {
  .haendlerkarte-map-wrapper {
    position: static;
  }
}
.haendlerkarte-map-wrapper #haendlerkarte-map {
  height: 560px;
  width: 100%;
  border: 1.5px solid #e0e0e0;
}
@media (max-width: 991px) {
  .haendlerkarte-map-wrapper #haendlerkarte-map {
    height: 380px;
  }
}
.leaflet-control-zoom a {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif !important;
  color: #1a1a1a !important;
  background: #fff !important;
  border-color: #1a1a1a !important;
}
.leaflet-control-zoom a:hover {
  background: #b89230 !important;
  color: #fff !important;
}
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  color: #888 !important;
}
.leaflet-control-attribution a {
  color: #b89230 !important;
}
.haendlerkarte-popup-wrapper .leaflet-popup-content-wrapper {
  background: #1a1a1a;
  color: #fff;
  border-radius: 0;
  border: 1px solid #b89230;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  padding: 0;
}
.haendlerkarte-popup-wrapper .leaflet-popup-content {
  margin: 0;
  min-width: 180px;
}
.haendlerkarte-popup-wrapper .leaflet-popup-tip-container .leaflet-popup-tip {
  background: #1a1a1a;
}
.haendlerkarte-popup-wrapper .leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.6) !important;
}
.haendlerkarte-popup-wrapper .leaflet-popup-close-button:hover {
  color: #b89230 !important;
}
.haendlerkarte-popup {
  padding: 14px 16px;
}
.haendlerkarte-popup__category {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.haendlerkarte-popup__category--haendler {
  color: #b89230;
}
.haendlerkarte-popup__category--cafe {
  color: #c0882a;
}
.haendlerkarte-popup__category--baeckerei {
  color: #8B5A2B;
}
.haendlerkarte-popup__name {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.haendlerkarte-popup__address {
  font-family: "metaserif", Georgia, serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.5;
}
.haendlerkarte-popup__address--route {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.15s;
}
.haendlerkarte-popup__address--route:hover {
  color: #b89230 !important;
}
.haendlerkarte-popup__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.haendlerkarte-popup .popup-link {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  color: #b89230;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.haendlerkarte-popup .popup-link:hover {
  color: #d5b45f;
}
.haendlerkarte-popup .popup-link--website {
  margin-top: 4px;
  border: 1px solid #b89230;
  padding: 3px 8px;
  display: inline-block;
  text-align: center;
}
.haendlerkarte-popup .popup-link--website:hover {
  background: #b89230;
  color: #fff;
}
.haendlerkarte-list-wrapper {
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b89230 transparent;
}
@media (max-width: 991px) {
  .haendlerkarte-list-wrapper {
    max-height: none;
    overflow-y: visible;
  }
}
.haendlerkarte-list-wrapper::-webkit-scrollbar {
  width: 4px;
}
.haendlerkarte-list-wrapper::-webkit-scrollbar-thumb {
  background: #b89230;
}
.haendlerkarte-list__count {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888;
  padding: 0 0 0.6rem;
  text-transform: uppercase;
}
.haendlerkarte-list__empty {
  font-family: "metaserif", Georgia, serif;
  color: #999;
  padding: 2rem;
  text-align: center;
}
.haendlerkarte-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  margin-bottom: 0.75rem;
  padding: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.haendlerkarte-card:hover {
  border-color: #b89230;
  box-shadow: 0 2px 8px rgba(184, 146, 48, 0.15);
}
.haendlerkarte-card.is-active {
  border-color: #b89230;
  border-width: 2px;
  box-shadow: 0 2px 12px rgba(184, 146, 48, 0.25);
}
.haendlerkarte-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.haendlerkarte-card__pin {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}
.haendlerkarte-card__pin-icon {
  width: 22px;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.haendlerkarte-card__info {
  flex: 1;
  min-width: 0;
}
.haendlerkarte-card__name {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.haendlerkarte-card__category {
  position: absolute;
  top: 0;
  right: 0;
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 8px;
  line-height: 1;
}
.haendlerkarte-card__category--cafe {
  background: #b89230;
  color: #fff;
}
.haendlerkarte-card__category--haendler {
  background: #1a1a1a;
  color: #fff;
}
.haendlerkarte-card__category--bazzar-caffe {
  background: #b89230;
  color: #fff;
}
.haendlerkarte-card__category--hauptzentrale {
  background: #1a1a1a;
  color: #fff;
}
.haendlerkarte-card__category--baeckerei {
  background: #8B5A2B;
  color: #fff;
}
.haendlerkarte-card__address {
  font-family: "metaserif", Georgia, serif;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-style: normal;
  line-height: 1.45;
}
.haendlerkarte-card__description {
  font-family: "metaserif", Georgia, serif;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.haendlerkarte-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0.75rem;
}
.haendlerkarte-card__contact {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  color: #b89230;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}
.haendlerkarte-card__contact svg {
  flex-shrink: 0;
  opacity: 0.8;
}
.haendlerkarte-card__contact:hover {
  color: #907225;
  text-decoration: underline;
}
.haendlerkarte-card__distance {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b89230;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.haendlerkarte-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
}
.haendlerkarte-card .btn-show-on-map {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  border-radius: 0;
  width: 100%;
  transition: all 0.15s ease;
}
.haendlerkarte-card .btn-show-on-map:hover {
  background: #1a1a1a;
  color: #fff;
}
.haendlerkarte-card .btn-route {
  font-family: "copperplate_gothic", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1.5px solid #b89230;
  background: #b89230;
  color: #fff;
  border-radius: 0;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  white-space: nowrap;
}
.haendlerkarte-card .btn-route:hover {
  background: #987828;
  border-color: #987828;
  color: #fff;
}
