/* AHSE Kursseiten (Spec 26) – Schrift erbt vom Theme; Farben wie die Widgets über CSS-Variablen. */
.ahse-kursseite {
  --ahse-text: #13264c;
  --ahse-accent: #d49e5c;
  --ahse-button-text: #13264c;
  --ahse-soft: #f5f6f7;
  --ahse-line: color-mix(in srgb, var(--ahse-text) 16%, transparent);
  color: var(--ahse-text);
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 0 64px;
  line-height: 1.6;
}
.ahse-kursseite *, .ahse-kursseite *::before, .ahse-kursseite *::after { box-sizing: border-box; }
.ahse-kursseite h1, .ahse-kursseite h2 { color: var(--ahse-text); line-height: 1.2; }
.ahse-kp-pfad { font-size: .875rem; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; opacity: .85; }
.ahse-kp-pfad a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ahse-kp-kopf { display: grid; gap: 32px; align-items: start; margin-bottom: 32px; }
.ahse-kp-kopf.mit-bild { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.ahse-kp-eyebrow { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; margin: 0 0 12px; }
.ahse-kp-titel { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 16px; overflow-wrap: anywhere; hyphens: auto; }
.ahse-kp-lead { font-size: 1.125rem; max-width: 60ch; margin: 0 0 20px; }
.ahse-kp-bild { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; border: 1px solid var(--ahse-line); }
.ahse-kp-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ahse-kp-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  background: var(--ahse-accent); color: var(--ahse-button-text); border-radius: 4px; font-weight: 650;
  text-decoration: none; border: 1px solid var(--ahse-accent);
}
.ahse-kp-button:hover, .ahse-kp-button:focus-visible { filter: brightness(.94); color: var(--ahse-button-text); }
.ahse-kp-fakten { background: var(--ahse-soft); border-radius: 8px; padding: 20px 24px; margin-bottom: 40px; }
.ahse-kp-fakten h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.ahse-kp-fakten dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 24px; margin: 0; }
.ahse-kp-fakten dt { font-size: .8rem; opacity: .75; }
.ahse-kp-fakten dd { margin: 2px 0 0; font-weight: 600; }
.ahse-kp-abschnitt { margin: 0 0 40px; max-width: 760px; scroll-margin-top: 120px; }
#termine.ahse-kp-abschnitt { max-width: none; }
.ahse-kp-abschnitt h2 { font-size: 1.5rem; margin: 0 0 12px; }
.ahse-kp-abschnitt p { margin: 0 0 12px; }
.ahse-kp-terminliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ahse-kp-terminliste li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 20px;
  border: 1px solid var(--ahse-line); border-radius: 8px; background: #fff;
}
.ahse-kp-terminliste .ahse-kp-button { margin-left: auto; }
.ahse-kp-hinweis { background: var(--ahse-soft); border-radius: 8px; padding: 16px 20px; }
.ahse-kp-klein { font-size: .8rem; opacity: .75; margin-top: 12px; }
.ahse-kp-faq details { border-top: 1px solid var(--ahse-line); padding: 4px 0; }
.ahse-kp-faq details:last-of-type { border-bottom: 1px solid var(--ahse-line); }
.ahse-kp-faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.ahse-kp-faq details p { margin: 4px 0 12px; }
.ahse-kp-kontakt { border-top: 1px solid var(--ahse-line); padding-top: 24px; max-width: 760px; }
.ahse-kp-kontakt h2 { font-size: 1.125rem; margin: 0 0 8px; }
.ahse-kp-kontakt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
ahse-course-widget { display: block; }
@media (max-width: 781px) {
  .ahse-kursseite { padding: 20px 16px 48px; }
  .ahse-kp-kopf.mit-bild { grid-template-columns: 1fr; }
  .ahse-kp-terminliste .ahse-kp-button { margin-left: 0; width: 100%; }
}
