/* disziplin-seite.css: the pages per discipline (Etappe 152). The look of
   the existing pages (tokens, section-label, faq-item, tc-karte from
   global.css, animations.css and components.css); only the pieces these
   pages have on their own stand here. --dz is the colour of the discipline
   from tc_disciplines.color, set on <main>. */

.dz-krume { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-head); font-size: 12px; letter-spacing: 0.15em; color: var(--subtext); margin-bottom: 16px; }
.dz-krume a { color: var(--subtext); text-decoration: none; }
.dz-krume a:hover { color: var(--text); }
.dz-krume span[aria-current] { color: var(--dz, var(--accent)); }

.dz-zwei { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.dz-text p { font-size: 17px; color: var(--subtext); line-height: 1.9; margin-bottom: 24px; }
.dz-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.dz-liste li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; color: var(--text); }
.dz-liste li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--dz, var(--accent)); }

.dz-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dz-kachel { background: var(--surface-2); border: 1px solid var(--border); border-top: 3px solid var(--dz, var(--accent)); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.dz-kachel-titel { font-family: var(--font-hero); font-size: 26px; color: var(--dz, var(--accent)); line-height: 1.05; }
.dz-kachel-sub { font-size: 12px; color: var(--subtext); margin-top: 6px; letter-spacing: 0.04em; }

/* course times: room kept until the plan is loaded, so nothing below jumps */
#dz-kurse { min-height: 180px; }
.dz-kursliste { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.dz-kurs { display: grid; grid-template-columns: 120px 150px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dz-kurs:last-child { border-bottom: 0; }
.dz-kurs-tag { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.08em; color: var(--text); }
.dz-kurs-zeit { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--text); }
.dz-kurs-name { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.06em; color: var(--dz, var(--accent)); }
.dz-kurs-info { font-size: 13px; color: var(--subtext); text-align: right; }
.dz-kurs-hinweis { font-style: normal; font-size: 12px; color: var(--subtext); margin-left: 6px; }
.dz-kurs.ist-aus .dz-kurs-name { text-decoration: line-through; opacity: 0.7; }
.dz-leer { font-size: 15px; color: var(--subtext); }
.dz-fuss { font-size: 14px; color: var(--subtext); margin-top: 16px; }
.dz-fuss a, .dz-leer a, .dz-text a { color: var(--accent); }

/* the trainers of this discipline: the cards of the start page, once each,
   standing instead of running (team-data.js, data-disziplin) */
.dz-trainer .trainer-carousel-wrap::before,
.dz-trainer .trainer-carousel-wrap::after { display: none; }
.dz-trainer .trainer-carousel-track { animation: none; width: auto; flex-wrap: wrap; min-height: 380px; }

.dz-wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dz-weg { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--dz, var(--accent)); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: border-color 0.3s ease, transform 0.3s ease; }
.dz-weg:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.dz-weg-titel { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.08em; color: var(--text); }
.dz-weg-preis { font-family: var(--font-hero); font-size: 34px; color: var(--dz, var(--accent)); line-height: 1; }
.dz-weg-text { font-size: 14px; color: var(--subtext); line-height: 1.6; flex: 1; }
.dz-weg-link { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }

.dz-faq { max-width: 760px; }

.dz-anfahrt { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.dz-anfahrt address { font-style: normal; font-size: 17px; line-height: 1.8; color: var(--text); margin-bottom: 16px; }

.dz-verwandt { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

@media (max-width: 1023px) {
  .dz-zwei, .dz-anfahrt { grid-template-columns: 1fr; gap: 40px; }
  .dz-wege { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .dz-kacheln { grid-template-columns: 1fr; }
  .dz-kurs { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; }
  .dz-kurs-name { grid-column: 1 / -1; }
  .dz-kurs-info { grid-column: 1 / -1; text-align: left; }
  #dz-kurse { min-height: 240px; }
  .dz-trainer .trainer-carousel-track { flex-wrap: nowrap; min-height: 0; }
}

/* Nachtrag 152: the profile right under the answer in the hero */
.dz-antwort { max-width: 760px; }
.dz-steckbrief { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; max-width: 980px; }
.dz-steckbrief li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid var(--dz, var(--accent)); }
.dz-steckbrief li[hidden] { display: none; }
.dz-st-name { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtext); }
.dz-st-wert { font-size: 15px; line-height: 1.5; color: var(--text); }
.dz-st-wert a { color: var(--accent); }
@media (max-width: 767px) {
  .dz-steckbrief { grid-template-columns: 1fr; gap: 12px; }
}
