/* Sektion "Icon-Karten" */
.icon-karten__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Wie bisher: feiner Rand (0,8 px) um jede Karte. */
.icon-karten .card {
  border: 0.05rem solid rgb(245 245 245);
}

.icon-karten .card__body {
  gap: 0;
  padding: 3.125rem 2.5rem;
}

.icon-karten--mitte .card__body {
  align-items: center;
  text-align: center;
}

.icon-karten .card__title {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.icon-karten .tile {
  width: 6.875rem;   /* 110 px wie bisher, auch mobil */
  height: 6.875rem;
  margin-block: 1.875rem;
  font-size: 3.125rem; /* Icon 50 px */
  box-shadow: none;
}

/* Große Icons wie bisher bei den Kontaktwegen: Kachel 130 px, Icon 70 px, Karte 25 px Innenabstand. */
.icon-karten--icons-gross .card__body {
  padding: 1.5625rem;
}

.icon-karten--icons-gross .tile {
  width: 8.125rem;
  height: 8.125rem;
  font-size: 4.375rem;
}

.icon-karten__text {
  width: 100%; /* wie bisher Kartenbreite, auch wenn ein langes Wort hinausragt */
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Wie bisher: 10 px unter jedem Absatz. */
.icon-karten__text > * + * {
  margin-top: 0.625rem;
}

.icon-karten .card__foot {
  margin-top: 0;
  padding-top: 0.875rem; /* wie bisher: Button 10 + 14 px unter dem Text */
}

.icon-karten__text a {
  position: relative;
  z-index: 1;
}

/* Ganze Karte als Link */
.stretched-link {
  color: inherit;
  text-decoration: none;
}

.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.stretched-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.icon-karten__karte.is-clickable {
  transition: box-shadow var(--duration-base), transform var(--duration-base);
}

.icon-karten__karte.is-clickable:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.icon-karten__karte:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Wie bisher: Einleitung hier nur 16 px unter der Überschrift. */
.icon-karten .section-head .lead {
  margin-top: 1rem;
}
