/* Kontakt */

.contact-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-split--centered {
  align-items: center;
}

.contact-address {
  margin: 0 0 26px;
  font-size: 17px;
  font-style: normal;
  line-height: 1.7;
}

.contact-address strong {
  color: var(--farbe-haupt-2);
  font-size: 18px;
}

.contact-label {
  margin: 0 0 6px;
  color: var(--farbe-text-leise);
  font-size: 15px;
  line-height: 1.5;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--farbe-haupt-2);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-hours {
  margin: 0 0 18px;
  color: var(--farbe-text-leise);
  font-size: 16px;
  line-height: 1.6;
}

.contact-note {
  margin: 0 0 18px;
  color: var(--farbe-text-leise);
  font-size: 16px;
  line-height: 1.65;
}

.contact-email {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--farbe-haupt-1);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-actions {
  margin-top: 4px;
}

.contact-figure {
  margin: 0;
}

.contact-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.contact-figure figcaption {
  margin-top: 8px;
  color: var(--farbe-text-leise);
  font-size: 13px;
  line-height: 1.5;
}

.team-copy > p {
  margin-top: 0;
}

.team-profiles {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

.team-profile {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--farbe-linie);
}

.team-profile:first-child {
  padding-top: 0;
  border-top: 0;
}

.team-profile img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

.team-profile h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.team-role {
  margin: 0 0 8px;
  color: var(--farbe-haupt-1);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.team-profile p:last-child {
  margin: 0;
  color: var(--farbe-text-leise);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .team-profile {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
  }

  .team-profile img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 767px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-phone {
    font-size: 28px;
  }

  .team-profile {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }

  .team-profile img {
    width: 120px;
    height: 120px;
  }
}
