#termine { background: #f5f5f6; border-top: 5px solid var(--red); }
#termine .dates-heading { display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.dates-calendar { color: var(--red); width: 120px; height: 120px; }
.dates-calendar svg { display: block; width: 100%; height: 100%; }
#termine .dates-table { border-collapse: separate; border-spacing: 0 14px; }
#termine .dates-table td { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 20px; }
#termine .dates-table td:first-child { border-left: 5px solid var(--red); border-radius: 10px 0 0 10px; padding-left: 24px; }
#termine .dates-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 10px 10px 0; padding-right: 24px; }
#termine .dates-table td:first-child strong { color: var(--red); font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.25; }
#termine .dates-table td:first-child span { margin-top: 10px; font-size: .95rem; color: var(--ink); }
#termine .dates-heading h2 { margin: 0; }
#termine .table-wrap { border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 900px) {
  #termine .dates-heading { grid-template-columns: 90px minmax(0, 1fr); gap: 22px; }
  .dates-calendar { width: 90px; height: 90px; }
  #termine .dates-heading p { grid-column: 2; max-width: 100%; }
}
@media (max-width: 520px) {
  #termine .dates-table td { padding: 20px 8px; }
  #termine .dates-table td:first-child { padding-left: 10px; }
  #termine .dates-table td:last-child { padding-right: 10px; }
  #termine .dates-table td:first-child strong { font-size: 1.2rem; }
  #termine .dates-table td:first-child span { font-size: .78rem; }
  #termine .dates-heading { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .dates-calendar { width: 64px; height: 64px; }
  #termine .dates-heading p { grid-column: 1 / -1; }
}
