/*
Anfahrts-Buttons Kontaktseite
Author: Ben Kunstleben
*/

/* Berufsbezeichnung unter dem Namen zurücknehmen */
.text-area.kontakt .berufsbezeichnung {
  font-size: 0.8rem;
  color: #575757;
}

.map-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

/* .text-area davor, um die Link-Regeln aus style.css / secondary.css zu schlagen */
.text-area .map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--third-color);
  border-radius: 2rem;
  background-color: #fff;
  color: var(--color-a-intext);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.text-area .map-btn:hover,
.text-area .map-btn:focus-visible {
  background-color: var(--third-color);
  color: #fff;
  /* neutralisiert .text-area a:hover aus secondary.css */
  padding: 0.7rem 1.3rem;
}

.text-area .map-btn:focus-visible {
  outline: 3px solid var(--color-a-intext);
  outline-offset: 3px;
}

/* main img { width: 100% } greift nicht auf svg, Größe trotzdem explizit */
.map-btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .text-area .map-btn {
    transition: none;
  }
}

/* Auf sehr schmalen Displays volle Breite, damit nichts umbricht */
@media (max-width: 420px) {
  .text-area .map-btn {
    width: 100%;
    justify-content: center;
  }
}
