/* =====================================================================
   CCTC Europe – Kontakt (kontakt.html) page refinements
   Small additions on top of css/style.css – tokens only.
   ===================================================================== */

/* Extension numbers in red (".person__contact a" would otherwise win) */
.person__contact .person__ext { color: var(--c-red); }
.person__contact .person__ext:hover { color: var(--c-red-dark); }

/* Fixed contact column so name / role columns line up across all rows */
@media (min-width: 761px) {
  .people .person { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 17rem; align-items: center; }
}

/* Staff photos (taken over from the old site; new portraits will replace the files 1:1) */
.person__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-panel);
}
/* No photo yet: initials in the same circle */
.person__photo--initials {
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-heading);
  border: 1px solid var(--c-line-strong);
}
@media (max-width: 760px) {
  .people .person { grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; }
  .people .person > * { grid-column: 2; }
  .people .person > .person__photo { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: 56px; height: 56px; }
}

/* China table: small photo in front of the name */
#vertrieb-china .table td { vertical-align: middle; }
.table-person { display: inline-flex; align-items: center; gap: .75rem; }
.table-person__photo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-panel);
}
/* Phones: photo above the name so the table keeps its width */
@media (max-width: 480px) {
  .table-person { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .table-person__photo { width: 36px; height: 36px; }
}
