/* ════════════════════════════════════════════════════════════════════
 * THK Verlag — Termine-Modul Styles (Welle 11)
 *
 * Inhalt:
 *   1. Page-Wrapper, Headers, Toolbar
 *   2. Filter-Chips (Kategorien)
 *   3. Listen-Layout (Datum-Block + Karte)
 *   4. Kalender-Grid (7-Spalten)
 *   5. Karten-Grid (2-3-Spalten mit Hero)
 *   6. Detail-Seite
 *   7. Kategorie-Pills, Status-Badges
 *   8. Responsive (≤ 768px stacks)
 *
 * Convention: alle Klassen sind mit `termine-` prefixed, damit es keine
 * Kollisionen mit dem Site-Theme gibt. Farben kommen über CSS-Variablen
 * (--cat-color, --cat-bg) — pro Termin/Karte individuell setzbar.
 * ════════════════════════════════════════════════════════════════════ */

/* ── 1. Page-Wrapper ─────────────────────────────────────────────── */

.termine-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.termine-page { display: block; }

.termine-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e6e4d9;
}

.termine-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
  color: #0f172a;
  font-weight: 400;
}

.termine-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* v0.19.4.0 — Welle 3 P9: Pill-Komponenten vereinheitlicht.
   Vorher: `.termine-layout-link` lebte in einer segmentierten Bordered-
   Container-Box (`.termine-layout-nav` mit `padding:3px` + Border),
   waehrend `.termine-chip` als individuelle Pille mit eigenem Border
   stand — verschiedene Padding-Werte (0.4rem vs 0.35rem) und
   verschiedene Font-Sizes (0.9rem vs 0.85rem) machten beide Reihen
   visuell uneinheitlich. Plus: `.termine-ics-link` hatte
   `border-radius:4px` (eckig) statt 999px (Pille) — drittes Muster
   neben den ersten beiden.
   Jetzt: alle drei Komponenten teilen sich Padding, Font-Size und
   Border-Radius. Die Layout-Nav verliert ihren Container-Rahmen +
   Padding, jede Layout-Link traegt ihren eigenen Border. Visuell
   sitzen alle Pillen auf derselben Baseline. */

.termine-layout-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  /* segmentierter Container-Rahmen entfaellt, Pillen stehen einzeln */
}

.termine-layout-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  color: var(--thk-text-mute, #5a5550);
  text-decoration: none;
  background: var(--thk-papier, #fafaf6);
  border: 1px solid var(--thk-line, #e6e4d9);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.termine-layout-link:hover {
  background: #fff;
  color: var(--thk-tinte-dunkel, #0f172a);
  border-color: var(--thk-tinte-line, #d8d4c4);
}

.termine-layout-link.is-active {
  background: var(--thk-tinte-dunkel, #0f172a);
  color: #fff;
  border-color: var(--thk-tinte-dunkel, #0f172a);
}

.termine-ics-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  color: var(--thk-text-mute, #5a5550);
  text-decoration: none;
  background: var(--thk-papier, #fafaf6);
  border: 1px solid var(--thk-line, #e6e4d9);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}
.termine-ics-link:hover {
  background: #fff;
  border-color: var(--thk-tinte-line, #d8d4c4);
}

/* ── 2. Filter-Chips ──────────────────────────────────────────────── */

.termine-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.termine-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  /* v0.19.4.0 — Welle 3 P9: an .termine-layout-link angeglichen
     (0.4rem 1rem statt 0.35rem 0.9rem, 0.9rem statt 0.85rem Font-Size).
     Damit sitzen Layout-Pillen und Filter-Chips visuell auf einer Linie. */
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  background: var(--thk-papier, #fafaf6);
  color: var(--thk-text-mute, #5a5550);
  border: 1px solid var(--thk-line, #e6e4d9);
  transition: all 0.15s;
}

.termine-chip:hover {
  background: var(--cat-bg, #f4f1e4);
  color: var(--cat-color, #0f172a);
  border-color: var(--cat-color, #d8d4c4);
}

.termine-chip.is-active {
  background: var(--cat-color, #0f172a);
  color: #fff;
  border-color: var(--cat-color, #0f172a);
}

.termine-chip small {
  opacity: 0.7;
  font-size: 0.75rem;
}

/* ── 3. Listen-Layout ─────────────────────────────────────────────── */

.termine-monat-header {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: #0f172a;
  border-bottom: 1px solid #e6e4d9;
  padding-bottom: 0.3rem;
}

.termine-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.termine-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #efece2;
  align-items: flex-start;
  border-left: 4px solid var(--cat-color, #0f172a);
  padding-left: 1rem;
  margin-left: -1rem;
  transition: background 0.15s;
}

.termine-item:hover {
  background: var(--cat-bg, transparent);
}

.termine-datum-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.6rem 0;
  border-right: 1px solid #efece2;
}

.termine-datum-wt {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94918a;
  letter-spacing: 0.05em;
}

.termine-datum-tag {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--cat-color, #0f172a);
  font-weight: 400;
  margin: 0.2rem 0 0;
}

.termine-datum-monat {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #5a5550;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.termine-karte {
  flex: 1;
}

.termine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: #5a5550;
  margin-bottom: 0.4rem;
}

.termine-zeit {
  font-weight: 500;
}

.termine-ort {
  color: #5a5550;
}

.termine-titel {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  font-weight: 400;
  line-height: 1.25;
}

.termine-titel a {
  color: #0f172a;
  text-decoration: none;
}

.termine-titel a:hover {
  color: var(--cat-color, #0f172a);
}

.termine-untertitel {
  font-size: 0.95rem;
  color: #5a5550;
  margin: 0 0 0.5rem;
  font-style: italic;
}

.termine-teaser {
  color: #5a5550;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.4rem 0;
}

.termine-actions {
  margin-top: 0.75rem;
}

/* ── 4. Kalender-Grid ─────────────────────────────────────────────── */

.termine-monat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.termine-monat-titel {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0;
  color: #0f172a;
  min-width: 240px;
  text-align: center;
}

.termine-monat-pfeil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fafaf6;
  border: 1px solid #e6e4d9;
  color: #0f172a;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.15s;
}

.termine-monat-pfeil:hover {
  background: #f4f1e4;
}

.termine-kalender {
  border: 1px solid #e6e4d9;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.termine-kal-wt-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fafaf6;
  border-bottom: 1px solid #e6e4d9;
}

.termine-kal-wt {
  padding: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #5a5550;
  letter-spacing: 0.05em;
  border-right: 1px solid #efece2;
}

.termine-kal-wt:last-child {
  border-right: none;
}

.termine-kal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.termine-kal-zelle {
  min-height: 110px;
  padding: 0.4rem;
  border-right: 1px solid #efece2;
  border-bottom: 1px solid #efece2;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.termine-kal-zelle:nth-child(7n) { border-right: none; }
.termine-kal-zelle.is-we { background: #fcfaf2; }
.termine-kal-zelle.is-heute { background: #fff8dc; }
.termine-kal-zelle--leer {
  background: #fafaf6;
  border-color: #efece2;
}

.termine-kal-tag-nr {
  font-size: 0.85rem;
  color: #5a5550;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.termine-kal-zelle.is-heute .termine-kal-tag-nr {
  color: #0f172a;
  font-weight: 700;
}

.termine-kal-pill {
  display: block;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
  border-left: 3px solid #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: filter 0.15s;
}

.termine-kal-pill:hover {
  filter: brightness(0.95);
}

.termine-kal-pill.is-abgesagt {
  text-decoration: line-through;
  opacity: 0.6;
}

.termine-kal-pill-zeit {
  font-weight: 600;
  margin-right: 0.3rem;
}

.termine-kal-pill-titel {
  font-weight: 400;
}

.termine-kal-mehr {
  font-size: 0.75rem;
  color: #94918a;
  padding: 0.15rem 0.4rem;
  font-style: italic;
}

/* ── 5. Karten-Grid ───────────────────────────────────────────────── */

.termine-karten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.termine-karte-gross {
  background: #fff;
  border: 1px solid #e6e4d9;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.termine-karte-gross:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.termine-karte-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.termine-karte-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cat-bg, #f4f1e4);
}

.termine-karte-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.termine-karte-hero--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.termine-karte-hero-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.termine-karte-datum-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 3px solid var(--cat-color, #0f172a);
  min-width: 56px;
}

.termine-karte-datum-wt {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94918a;
}

.termine-karte-datum-tag {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cat-color, #0f172a);
}

.termine-karte-datum-monat {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #5a5550;
  margin-top: 0.15rem;
}

.termine-karte-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.termine-karte-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.termine-karte-titel {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
  font-weight: 400;
  line-height: 1.3;
}

.termine-karte-titel a {
  color: #0f172a;
  text-decoration: none;
}

.termine-karte-untertitel {
  font-size: 0.9rem;
  color: #5a5550;
  font-style: italic;
  margin: 0 0 0.5rem;
}

.termine-karte-meta {
  font-size: 0.85rem;
  color: #5a5550;
  margin-bottom: 0.5rem;
}

.termine-karte-teaser {
  font-size: 0.85rem;
  color: #5a5550;
  line-height: 1.5;
  margin: 0.5rem 0 0.8rem;
  flex: 1;
}

.termine-karte-anmeldung {
  display: inline-block;
  margin-top: auto;
  padding: 0.4rem 0;
  color: var(--cat-color, #0f172a);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}

.termine-karte-anmeldung:hover { text-decoration: underline; }

/* ── 6. Detail-Seite ──────────────────────────────────────────────── */

.termine-detail {
  max-width: 900px;
  margin: 0 auto;
}

.termine-detail-back {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.termine-detail-back a {
  color: #5a5550;
  text-decoration: none;
}
.termine-detail-back a:hover { color: var(--cat-color, #0f172a); }

.termine-detail-kats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.termine-detail-titel {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
  font-weight: 400;
  color: #0f172a;
  line-height: 1.15;
}

.termine-detail-untertitel {
  font-size: 1.2rem;
  color: #5a5550;
  font-style: italic;
  margin: 0 0 1.5rem;
}

.termine-detail-status {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin: 0.5rem 0 1rem;
  font-weight: 500;
}

.termine-detail-hero {
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
}

.termine-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.termine-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.termine-detail-eckdaten {
  background: var(--cat-bg, #fafaf6);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--cat-color, #0f172a);
}

.termine-detail-eckdaten dl {
  margin: 0;
}

.termine-detail-eckdaten dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5a5550;
  margin: 0.8rem 0 0.2rem;
}

.termine-detail-eckdaten dt:first-child {
  margin-top: 0;
}

.termine-detail-eckdaten dd {
  margin: 0;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.5;
}

.termine-detail-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  width: 100%;
}

.termine-detail-add-cal {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  padding: 0.5rem;
  font-size: 0.85rem;
  color: #5a5550;
  text-decoration: none;
  border: 1px solid #e6e4d9;
  border-radius: 4px;
  background: #fff;
}

.termine-detail-add-cal:hover {
  background: #f4f1e4;
}

.termine-detail-beschreibung {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2c2929;
}

.termine-detail-beschreibung p { margin: 0 0 1em; }
.termine-detail-beschreibung h2, .termine-detail-beschreibung h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: #0f172a;
  margin: 1.5em 0 0.5em;
}

.termine-detail-buch-box {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #fafaf6;
  border-left: 4px solid var(--cat-color, #0f172a);
  border-radius: 4px;
}

.termine-detail-buch-box h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-weight: 400;
  color: #5a5550;
}

.termine-detail-buch-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 1.05rem;
}

.termine-detail-buch-link:hover {
  text-decoration: underline;
}

/* ── 7. Kategorie-Pills + Status ──────────────────────────────────── */

.termine-kat-pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.termine-kat-pill--link {
  text-decoration: none;
  transition: filter 0.15s;
}

.termine-kat-pill--link:hover {
  filter: brightness(0.95);
}

.termine-status-abgesagt {
  background: #fde2e2;
  color: #a00;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
}

.termine-status-geplant {
  background: #fff3d0;
  color: #8a6800;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
}

.termine-leer {
  text-align: center;
  padding: 3rem 1rem;
  color: #5a5550;
  font-size: 1.1rem;
}

/* ── 8. Responsive ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .termine-main {
    padding: 1rem 0.75rem;
  }

  .termine-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .termine-layout-nav {
    justify-content: center;
  }

  .termine-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
  }

  .termine-datum-tag {
    font-size: 1.8rem;
  }

  .termine-detail-grid {
    grid-template-columns: 1fr;
  }

  .termine-detail-eckdaten {
    order: 2;
  }

  /* Kalender wird auf Mobile zur Liste (zu eng für 7 Spalten) */
  .termine-kal-wt-header { display: none; }
  .termine-kal-grid { display: block; }
  .termine-kal-zelle {
    border-right: none;
    min-height: auto;
    padding: 0.6rem 0.8rem;
  }
  .termine-kal-zelle--leer { display: none; }
  .termine-kal-tag-nr {
    font-size: 1rem;
    font-weight: 600;
  }
  .termine-kal-zelle.is-heute {
    background: #fff8dc;
    border-left: 4px solid #0f172a;
  }
}

@media (max-width: 480px) {
  .termine-h1 {
    font-size: 1.8rem;
  }

  .termine-karten-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  v0.9.12.0 — Welle 11: Anmelde-Formular + Status-Seiten              */
/* ════════════════════════════════════════════════════════════════════ */

.termin-anmelden-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.termin-anmelden-breadcrumb {
    font-size: .9rem;
    color: #666;
    margin-bottom: 1.25rem;
}
.termin-anmelden-breadcrumb a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.termin-anmelden-h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 .4rem;
    line-height: 1.15;
}
.termin-anmelden-lead {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    color: #333;
}

.termin-plaetze-info {
    background: #f4f5f0;
    border-left: 4px solid #0f172a;
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 4px;
    font-size: .95rem;
}
.termin-plaetze-info.is-ausgebucht {
    background: #fdf2ef;
    border-left-color: #b3331a;
    color: #b3331a;
}

.termin-anmelden-fehler {
    background: #fdf2ef;
    border: 1px solid #f3c8b8;
    color: #a02818;
    padding: .8rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 4px;
}

.termin-anmelden-form .form-row {
    display: block;
    margin-bottom: 1rem;
}
.termin-anmelden-form .form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: .3rem;
}
.termin-anmelden-form .pflicht { color: #b3331a; }
.termin-anmelden-form input,
.termin-anmelden-form textarea {
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid #d2d2cd;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}
.termin-anmelden-form input:focus,
.termin-anmelden-form textarea:focus {
    outline: 2px solid #0f172a;
    outline-offset: -1px;
    border-color: #0f172a;
}
.termin-anmelden-form .form-row--submit { margin-top: 1.5rem; }
.termin-anmelden-form small.muted {
    display: block;
    font-size: .85rem;
    color: #777;
    margin-top: .25rem;
}
.termin-anmelden-hinweis {
    margin-top: 1rem;
    font-size: .85rem;
    color: #777;
}

/* Status-Seiten (pending / bestaetigt / storniert / fehler) */
.termin-anmelden-status {
    background: #f8f8f4;
    padding: 1.75rem 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #0f172a;
}
.termin-anmelden-status h1 {
    margin: 0 0 .8rem;
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
}
.termin-anmelden-status--ok      { border-left-color: #2e7a3a; background: #f1f8f1; }
.termin-anmelden-status--info    { border-left-color: #547089; background: #f3f6f8; }
.termin-anmelden-status--pending { border-left-color: #c79007; background: #fdf8e8; }
.termin-anmelden-status--fehler  { border-left-color: #b3331a; background: #fdf2ef; }


/* ════════════════════════════════════════════════════════════════════ */
/*  CMS-Block „Termine" — Karten / Liste / Agenda                       */
/* ════════════════════════════════════════════════════════════════════ */

.thk-block--termine .thk-block__wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}
.thk-block--termine .thk-block__head { text-align: center; margin-bottom: 2rem; }
.thk-block--termine .thk-kicker {
    display: inline-block;
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: .5rem;
}
.thk-block--termine .thk-block__titel {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 .4rem;
}
.thk-block--termine .thk-block__lead {
    max-width: 640px;
    margin: 0 auto;
    color: #555;
}

/* Karten-Layout */
.thk-termine-karten {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.thk-termin-karte {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e5dd;
    border-radius: 6px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s;
}
.thk-termin-karte:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    border-color: #0f172a;
}
.thk-termin-karte__datum {
    flex: 0 0 60px;
    text-align: center;
    border-right: 1px solid #eee;
    padding-right: 1rem;
}
.thk-termin-karte__datum .tag {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
    color: #0f172a;
    display: block;
}
.thk-termin-karte__datum .monat {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
}
.thk-termin-karte__body h3 {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.25;
}
.thk-termin-karte__body .zeit,
.thk-termin-karte__body .ort {
    margin: 0;
    font-size: .85rem;
    color: #666;
}

/* Liste-Layout */
.thk-termine-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 720px;
    margin-inline: auto;
}
.thk-termin-zeile {
    border-bottom: 1px solid #ebebe3;
}
.thk-termin-zeile a {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 1rem;
    padding: .85rem 0;
    text-decoration: none;
    color: inherit;
    align-items: baseline;
}
.thk-termin-zeile time {
    color: #0f172a;
    font-weight: 500;
}
.thk-termin-zeile .titel { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.1rem; }
.thk-termin-zeile .ort   { font-size: .85rem; color: #888; }
.thk-termin-zeile a:hover .titel { text-decoration: underline; }

/* Agenda-Layout */
.thk-termine-agenda { max-width: 720px; margin-inline: auto; }
.thk-termine-agenda-monat {
    margin: 1.5rem 0 .5rem;
    padding-bottom: .25rem;
    border-bottom: 2px solid #0f172a;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.3rem;
}
.thk-termine-agenda-gruppe { display: flex; flex-direction: column; gap: .25rem; }
.thk-termine-agenda-eintrag {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
    color: inherit;
    align-items: baseline;
}
.thk-termine-agenda-eintrag .tag {
    text-align: right;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.3rem;
    color: #0f172a;
}
.thk-termine-agenda-eintrag .titel { font-size: 1rem; }
.thk-termine-agenda-eintrag .ort   { font-size: .85rem; color: #888; }
.thk-termine-agenda-eintrag:hover .titel { text-decoration: underline; }

.thk-block--termine .thk-block__foot { text-align: center; margin-top: 2rem; }
.thk-block--termine .thk-cta-link {
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    font-weight: 500;
}
