.tm-paar h2 { max-width: 14ch; }
.tm-saetze { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; border-top: 1px solid var(--linie); }
.tm-saetze li { position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--linie); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.45; color: var(--tinte); }
.tm-saetze li::before { content: ""; position: absolute; left: 0; top: calc(18px + 0.55em); width: 10px; height: 10px; border-radius: 50%; background-color: var(--gelb); }

.tm-leitung { list-style: none; display: grid; gap: 28px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; }
.tm-leiter { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 24px; border-top: 1px solid var(--linie-gelb); }
.tm-leiter__bild { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-klein); overflow: hidden; background-color: rgba(43, 42, 39, 0.08); }
.tm-leiter__bild picture, .tm-leiter__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-leiter h3 { margin: 0; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); letter-spacing: -0.02em; }
.tm-leiter__rolle { margin: 2px 0 0; font-family: var(--font-display); font-weight: 500; color: var(--tinte); }
.tm-leiter__qual { margin: 10px 0 0; font-size: var(--klein); font-weight: 700; line-height: 1.45; color: var(--tinte); }
.tm-leiter__satz { margin: 10px 0 0; font-size: var(--klein); line-height: 1.55; color: var(--tinte-gelb); }
@media (min-width: 560px) {
  .tm-leiter { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 1100px) {
  .tm-leitung { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .tm-leiter { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tm-leiter__bild { max-width: 200px; }
}

.tm-filter { display: none; margin: 0 0 24px; padding: 0; border: 0; min-inline-size: 0; }
.tm-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tm-filter label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-right: 28px; padding: 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--tinte-2); cursor: pointer; transition: color .25s var(--sanft); }
.tm-filter label span { font-variant-numeric: tabular-nums; font-size: 0.85rem; color: var(--tinte-2); }
.tm-filter label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background-color: var(--gelb); transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--sanft); }
.tm-filter label:hover { color: var(--tinte); }
.tm-filter input:checked + label { color: var(--tinte); font-weight: 600; }
.tm-filter input:checked + label::after { transform: scaleX(1); }
.tm-filter input:focus-visible + label { outline: 2px solid var(--tinte); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 760px) {
  .tm-filter { display: block; }
  .tm-team:has(#tm-rezeption:checked) .kz-person:not([data-gruppe="rezeption"]),
  .tm-team:has(#tm-therapie:checked) .kz-person:not([data-gruppe="therapie"]) { display: none; }
}

.tm-person { display: grid; gap: 12px; color: var(--tinte); }

.tm-filme { list-style: none; display: grid; gap: 18px; margin: 0; padding: 0; }
.tm-filme .film__rahmen { border-radius: var(--r); }
@media (min-width: 760px) {
  .tm-filme { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .tm-filter label, .tm-filter label::after { transition: none; }
}
