.leiter {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  min-width: 0;
  gap: 1.5rem;

  padding: 2rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.leiter-foto {
  min-width: 0;
  width: 100%;
  max-width: 300px;
}

.leiter-foto img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.leiter-content {
  min-width: 0;
}

.leiter-name {
  margin: 0;
  font-family: "SuisseIntl SemiBold";
  font-size: 26px;
}

.leiter-pfadiname {
  font-family: "SuisseNeue Light";
  font-size: 20px;
  color: #555;
  margin-top: 0.3rem;
}

.leiter-funktion {
  margin-top: 0.6rem;
  font-family: "SuisseIntl SemiBold";
  font-size: 18px;
  color: #666;
}

.leiter-kontakt {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.leiter-kontakt .email {
  font-family: "SuisseIntl SemiBold";
  font-size: 20px;
  color: var(--color-abteilung);
  text-decoration: none;
}

.leiter-kontakt .telefon {
  font-family: "SuisseNeue Light";
  font-size: 20px;
  color: #000;
}

/* Inside a three-column layout each column is too narrow for the
   photo-left/text-right layout, so stack the photo above the text. */
.content.three .leiter {
  grid-template-columns: 1fr;
  text-align: center;
}

.content.three .leiter-foto {
  max-width: 320px;
  margin: 0 auto;
}

.content.three .leiter-kontakt {
  align-items: center;
}

@media (max-width: 600px) {
  .leiter {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leiter-foto {
    max-width: 320px;
    margin: 0 auto;
  }

  .leiter-kontakt {
    align-items: center;
  }
}
