.mod-beratungsstellen {
  margin-block: clamp(2.5rem, 6vw, 5rem);
}

.cygnusx-contact__section.cygnusx-contact__section--misc {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

.mod-beratungsstellen__title {
  margin-bottom: 0.75rem;
}

.mod-beratungsstellen__intro {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.mod-beratungsstellen__group {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.mod-beratungsstellen__group-title {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  color: var(--bs-primary);
}

.mod-beratungsstellen__list {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.mod-beratungsstellen__item {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.4rem 1.25rem rgb(0 0 0 / 7%);
}

.mod-beratungsstellen__map {
  position: relative;
  min-height: 22rem;
  background: color-mix(in srgb, var(--bs-primary) 8%, var(--bs-tertiary-bg));
}

.mod-beratungsstellen__map-consent {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.mod-beratungsstellen__map-consent p {
  max-width: 27rem;
  margin: 0.5rem 0 1rem;
}

.mod-beratungsstellen__map-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border: 0.35rem solid var(--bs-primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.mod-beratungsstellen__map-icon::after {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin: 0.68rem;
  border-radius: 50%;
  background: var(--bs-primary);
  content: "";
}

.mod-beratungsstellen__map .leaflet-container {
  width: 100%;
  height: 100%;
}

.mod-beratungsstellen__content {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.mod-beratungsstellen__services {
  margin-bottom: 0.5rem;
  color: var(--bs-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mod-beratungsstellen__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.mod-beratungsstellen__heading h4 {
  margin: 0;
}

.mod-beratungsstellen__status {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bs-primary) 14%, transparent);
  color: color-mix(in srgb, var(--bs-primary) 75%, #000);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mod-beratungsstellen__content h5 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.mod-beratungsstellen__address {
  margin-bottom: 0;
  font-style: normal;
}

.mod-beratungsstellen__address span {
  display: block;
}

.mod-beratungsstellen__hours {
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  gap: 0.25rem 1rem;
  margin-bottom: 0;
}

.mod-beratungsstellen__hours dt,
.mod-beratungsstellen__hours dd {
  margin: 0;
}

.mod-beratungsstellen__note {
  margin: 1rem 0 0;
  color: var(--bs-secondary-color);
  font-size: 0.925rem;
}

.mod-beratungsstellen__details {
  margin-top: 1.25rem;
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
}

.mod-beratungsstellen__details summary {
  position: relative;
  padding: 0.85rem 2rem 0.85rem 0;
  color: var(--bs-primary);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mod-beratungsstellen__details summary::-webkit-details-marker {
  display: none;
}

.mod-beratungsstellen__details summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 0.14rem solid currentcolor;
  border-bottom: 0.14rem solid currentcolor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.mod-beratungsstellen__details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.mod-beratungsstellen__details-content {
  padding: 0.25rem 0 1rem;
}

.mod-beratungsstellen__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mod-beratungsstellen__actions .btn {
  min-width: 10rem;
}

@media (min-width: 992px) {
  .mod-beratungsstellen__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .mod-beratungsstellen__groups .mod-beratungsstellen__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .mod-beratungsstellen__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .mod-beratungsstellen__map {
    min-height: 18rem;
  }

  .mod-beratungsstellen__content {
    display: flex;
    flex-direction: column;
  }

  .mod-beratungsstellen__actions {
    margin-top: auto;
    padding-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .mod-beratungsstellen__item {
    grid-template-columns: 1fr;
  }

  .mod-beratungsstellen__map {
    min-height: 14rem;
  }

  .mod-beratungsstellen__content {
    order: -1;
  }

  .mod-beratungsstellen__map-consent {
    padding: 1.25rem;
  }

  .mod-beratungsstellen__hours {
    grid-template-columns: 1fr;
  }

  .mod-beratungsstellen__hours dd + dt {
    margin-top: 0.4rem;
  }

  .mod-beratungsstellen__actions .btn {
    flex: 1 1 10rem;
  }
}
