/* ============================================================
   SHARED COURSE-PAGE PATTERNS
   ============================================================ */

.page-kurse {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.page-kurse .ch-subpage-hero-actions a,
.page-kurse .ch-actions a {
  justify-content: center;
}

/* ============================================================
   1. HERO SECTION (Tanzpaar + Warmer Glow)
   ============================================================ */
.ch-subpage-hero--course {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--obsidian);
  padding: 10rem 0 6rem;
  overflow: hidden;
}

/* Warmer, lebendiger Glow im Hintergrund */
.ch-hero-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(232,98,26,.34) 0%, rgba(232,98,26,.18) 26%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(245,135,74,.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: var(--z-base);
}

/* Hero copy inherits centering from .ch-subpage-hero-inner--narrow */

/* ============================================================
   1b. HERO VERSION 1 (Foto rechts frei im Dunkel, Handy: Kasten mit Glow)
   Freigegeben 10.10.2026, Vorschau: vorschau/hero-varianten/kurse-alternativen.html (A).
   1 --u = 1 Pixel im Entwurf (Entwurfsbreite 1672 px).
   Gesichter liegen immer unterhalb des schwebenden Menüs, Verläufe nur im leeren
   Hintergrund. Kleine Texte haben eine Mindestgröße für schmale Bildschirme.
   ============================================================ */
.page-kurse .ch-course-hero {
  --u: calc(100vw / 1672);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(941 * var(--u));
  padding: 160px calc(86 * var(--u)) calc(120 * var(--u));
  background: #121315;
  font-family: var(--font-sans);
  color: var(--pearl);
}
/* Oben weich ins Dunkel: das Menü liegt auf ruhiger Fläche, endet vor dem Gesicht */
.page-kurse .ch-course-hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 1; pointer-events: none;
  height: max(180px, calc(190 * var(--u)));
  background: linear-gradient(to bottom, rgba(18,19,21,1.000) 0.00%, rgba(18,19,21,0.983) 8.33%, rgba(18,19,21,0.933) 16.67%, rgba(18,19,21,0.854) 25.00%, rgba(18,19,21,0.750) 33.33%, rgba(18,19,21,0.629) 41.67%, rgba(18,19,21,0.500) 50.00%, rgba(18,19,21,0.371) 58.33%, rgba(18,19,21,0.250) 66.67%, rgba(18,19,21,0.146) 75.00%, rgba(18,19,21,0.067) 83.33%, rgba(18,19,21,0.017) 91.67%, rgba(18,19,21,0.000) 100.00%);
}
/* Foto frei im Dunkel: Maske läuft links, oben und in der Ecke oben rechts weich aus */
.page-kurse .ch-course-hero-foto {
  position: absolute; z-index: 0;
  top: max(118px, calc(100 * var(--u))); left: calc(458 * var(--u));
  width: calc(1500 * var(--u)); height: auto; max-width: none;
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.000) 16.00%, rgba(0,0,0,0.001) 18.08%, rgba(0,0,0,0.013) 20.17%, rgba(0,0,0,0.046) 22.25%, rgba(0,0,0,0.109) 24.33%, rgba(0,0,0,0.204) 26.42%, rgba(0,0,0,0.330) 28.50%, rgba(0,0,0,0.477) 30.58%, rgba(0,0,0,0.631) 32.67%, rgba(0,0,0,0.776) 34.75%, rgba(0,0,0,0.895) 36.83%, rgba(0,0,0,0.973) 38.92%, rgba(0,0,0,1.000) 41.00%, #000 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.000) 0.00%, rgba(0,0,0,0.017) 0.71%, rgba(0,0,0,0.067) 1.42%, rgba(0,0,0,0.146) 2.12%, rgba(0,0,0,0.250) 2.83%, rgba(0,0,0,0.371) 3.54%, rgba(0,0,0,0.500) 4.25%, rgba(0,0,0,0.629) 4.96%, rgba(0,0,0,0.750) 5.67%, rgba(0,0,0,0.854) 6.38%, rgba(0,0,0,0.933) 7.08%, rgba(0,0,0,0.983) 7.79%, rgba(0,0,0,1.000) 8.50%, #000 100%),
    linear-gradient(to bottom left, rgba(0,0,0,0.000) 0.00%, rgba(0,0,0,0.017) 2.00%, rgba(0,0,0,0.067) 4.00%, rgba(0,0,0,0.146) 6.00%, rgba(0,0,0,0.250) 8.00%, rgba(0,0,0,0.371) 10.00%, rgba(0,0,0,0.500) 12.00%, rgba(0,0,0,0.629) 14.00%, rgba(0,0,0,0.750) 16.00%, rgba(0,0,0,0.854) 18.00%, rgba(0,0,0,0.933) 20.00%, rgba(0,0,0,0.983) 22.00%, rgba(0,0,0,1.000) 24.00%, #000 100%);
          mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.000) 16.00%, rgba(0,0,0,0.001) 18.08%, rgba(0,0,0,0.013) 20.17%, rgba(0,0,0,0.046) 22.25%, rgba(0,0,0,0.109) 24.33%, rgba(0,0,0,0.204) 26.42%, rgba(0,0,0,0.330) 28.50%, rgba(0,0,0,0.477) 30.58%, rgba(0,0,0,0.631) 32.67%, rgba(0,0,0,0.776) 34.75%, rgba(0,0,0,0.895) 36.83%, rgba(0,0,0,0.973) 38.92%, rgba(0,0,0,1.000) 41.00%, #000 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.000) 0.00%, rgba(0,0,0,0.017) 0.71%, rgba(0,0,0,0.067) 1.42%, rgba(0,0,0,0.146) 2.12%, rgba(0,0,0,0.250) 2.83%, rgba(0,0,0,0.371) 3.54%, rgba(0,0,0,0.500) 4.25%, rgba(0,0,0,0.629) 4.96%, rgba(0,0,0,0.750) 5.67%, rgba(0,0,0,0.854) 6.38%, rgba(0,0,0,0.933) 7.08%, rgba(0,0,0,0.983) 7.79%, rgba(0,0,0,1.000) 8.50%, #000 100%),
    linear-gradient(to bottom left, rgba(0,0,0,0.000) 0.00%, rgba(0,0,0,0.017) 2.00%, rgba(0,0,0,0.067) 4.00%, rgba(0,0,0,0.146) 6.00%, rgba(0,0,0,0.250) 8.00%, rgba(0,0,0,0.371) 10.00%, rgba(0,0,0,0.500) 12.00%, rgba(0,0,0,0.629) 14.00%, rgba(0,0,0,0.750) 16.00%, rgba(0,0,0,0.854) 18.00%, rgba(0,0,0,0.933) 20.00%, rgba(0,0,0,0.983) 22.00%, rgba(0,0,0,1.000) 24.00%, #000 100%);
  -webkit-mask-composite: source-in, source-in; mask-composite: intersect;
}
.page-kurse .ch-course-hero-content { position: relative; z-index: 2; }
.page-kurse .ch-course-hero-eyebrow {
  display: flex; align-items: center; gap: calc(14 * var(--u));
  margin: 0;
  font-size: max(.75rem, calc(17 * var(--u))); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange);
}
.page-kurse .ch-course-hero-eyebrow::before {
  content: ''; flex-shrink: 0; border-radius: 50%; background: currentColor;
  width: max(6px, calc(9 * var(--u))); height: max(6px, calc(9 * var(--u)));
}
.page-kurse .ch-course-hero-title {
  margin: calc(32 * var(--u)) 0 0;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.045em;
  font-size: max(2.6rem, calc(94 * var(--u))); line-height: .97;
  color: #fff;
  text-shadow: 0 calc(10 * var(--u)) calc(40 * var(--u)) rgba(0,0,0,.25);
}
.page-kurse .ch-course-hero-title > span,
.page-kurse .ch-course-hero-title > em { display: block; }
.page-kurse .ch-course-hero-title em {
  display: inline-block; padding-right: .08em;
  font-style: italic; text-shadow: none;
  color: transparent;
  background: linear-gradient(90deg, var(--mango) 0%, var(--salsa) 24%, #FF6414 44%, #FF5A0A 100%);
  -webkit-background-clip: text; background-clip: text;
}
.page-kurse .ch-course-hero-sub {
  margin: calc(18 * var(--u)) 0 0;
  font-weight: 700; letter-spacing: -.02em;
  font-size: max(1.25rem, calc(38 * var(--u))); line-height: 1.1;
  color: #fff;
}
.page-kurse .ch-course-hero-body {
  margin: calc(10 * var(--u)) 0 0;
  font-weight: 400; font-size: max(1rem, calc(25 * var(--u))); line-height: 1.48;
  color: #fff;
}
.page-kurse .ch-course-hero .ch-course-hero-btn {
  margin-top: calc(26 * var(--u));
  height: max(54px, calc(76 * var(--u))); padding: 0 max(30px, calc(50 * var(--u)));
  font-size: max(1rem, calc(21 * var(--u))); font-weight: 500;
}

/* Handy und Tablet: Foto als Kasten über dem Text wie auf den anderen Seiten
   (Maße aus workshops.css), dazu ein dezenter oranger CHANGA-Glow.
   Eigenes Handy-Bild: nur der unscharfe Hintergrund oben ist verlängert (Luft über dem Kopf). */
@media (max-width: 900px) {
  .page-kurse .ch-course-hero { --u: 1px; min-height: 0; justify-content: flex-start; padding: 86px 0 0; }
  .page-kurse .ch-course-hero::before {
    z-index: 0; top: 40px; height: calc(clamp(15rem, 40vh, 21rem) + 150px);
    background: radial-gradient(ellipse 72% 52% at 50% 52%, rgba(232,98,26,.20) 0%, rgba(232,98,26,.08) 42%, transparent 72%);
  }
  .page-kurse .ch-course-hero-foto {
    position: relative; z-index: 1; top: auto; left: auto;
    display: block; box-sizing: border-box;
    width: calc(100% - 2 * clamp(1rem, 4vw, 2rem)); margin: 0 auto;
    height: clamp(15rem, 40vh, 21rem);
    object-fit: cover; object-position: 49% 0%;
    border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 28px 70px -24px rgba(232,98,26,.36), 0 0 44px -10px rgba(232,98,26,.16);
    -webkit-mask-image: none; mask-image: none;
  }
  .page-kurse .ch-course-hero-content {
    margin-top: calc(clamp(2.5rem, 8vw, 4.5rem) + clamp(1rem, 2vw, 1.5rem));
    padding: 0 clamp(1rem, 4vw, 2rem) clamp(4rem, 12vw, 6rem);
  }
  .page-kurse .ch-course-hero-eyebrow { font-size: .72rem; gap: 10px; }
  .page-kurse .ch-course-hero-title { font-size: 2.6rem; margin-top: 16px; }
  .page-kurse .ch-course-hero-sub { font-size: 1.4rem; margin-top: 12px; }
  .page-kurse .ch-course-hero-body { font-size: 1rem; line-height: 1.5; margin-top: 10px; }
  .page-kurse .ch-course-hero-body br { display: none; }
  .page-kurse .ch-course-hero .ch-course-hero-btn { height: 54px; padding: 0 30px; font-size: 1rem; margin-top: 22px; }
}
/* Ab 768 px sitzt das Menü bei 64 px (style.css), der Kasten rückt darunter */
@media (min-width: 768px) and (max-width: 900px) {
  .page-kurse .ch-course-hero { padding-top: 140px; }
  .page-kurse .ch-course-hero::before { top: 94px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .page-kurse .ch-course-hero-eyebrow { font-size: .85rem; }
  .page-kurse .ch-course-hero-title { font-size: 3.8rem; margin-top: 20px; }
  .page-kurse .ch-course-hero-sub { font-size: 1.9rem; margin-top: 16px; }
  .page-kurse .ch-course-hero-body { font-size: 1.2rem; }
  .page-kurse .ch-course-hero-body br { display: inline; }
  .page-kurse .ch-course-hero .ch-course-hero-btn { height: 62px; padding: 0 40px; font-size: 1.1rem; margin-top: 28px; }
}

/* ============================================================
   Course page section layout
   ============================================================ */
.page-kurse .ch-section-header {
  text-align: center;
  max-width: 45rem;
  margin: 0 auto 4rem;
}
.page-kurse .ch-section-header.ch-theme-light-text h2,
.page-kurse .ch-section-header.ch-theme-light-text .ch-section-title { color: var(--pearl); }
.page-kurse .ch-section-header.ch-theme-light-text p,
.page-kurse .ch-section-header.ch-theme-light-text .ch-section-sub { color: var(--text-light); }
.page-kurse .ch-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-dark);
  margin: 1rem 0;
  line-height: 1.1;
}
.page-kurse .ch-section-header h2 em { color: var(--orange); font-style: italic; }
.page-kurse .ch-section-header p { font-size: 1.125rem; color: var(--iron-text); }
.page-kurse .ch-section-header .ch-section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   COURSE PAGE PATTERNS
   ============================================================ */
.page-kurse .ch-subpage-hero--course {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52vh;
  overflow: hidden;
  padding: 9.5rem 0 5rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(232,98,26,.28) 0%, rgba(232,98,26,.12) 30%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(232,98,26,.10) 0%, transparent 48%),
    linear-gradient(180deg, #15171a 0%, #101113 58%, #16181b 100%);
}
.page-kurse .ch-hero-bg-grid,
.page-kurse .ch-hero-center-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-kurse .ch-hero-bg-grid {
  background-image:
    linear-gradient(rgba(245,135,74,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,135,74,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, black 0%, transparent 100%);
}
.page-kurse .ch-hero-center-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(242,192,110,.18) 26%, rgba(242,192,110,.18) 74%, transparent 100%);
}
.page-kurse .ch-subpage-hero-inner--narrow {
  position: relative;
  z-index: var(--z-base);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-kurse .ch-eyebrow--center {
  justify-content: center;
  margin-bottom: 28px;
}
.page-kurse .ch-subpage-hero-title--course {
  font-size: clamp(3.25rem, 7.5vw, 6rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 26px;
  color: var(--pearl);
  text-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.page-kurse .ch-subpage-hero-title--course em {
  display: inline;
  background: linear-gradient(90deg, var(--mango) 0%, var(--salsa) 52%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--orange);
  font-style: italic;
}
.page-kurse .ch-subpage-hero-lead {
  max-width: 760px;
  margin: 0 auto 2.6rem;
  color: var(--text-light);
  line-height: 1.72;
  text-shadow: 0 12px 28px rgba(0,0,0,.22);
  text-wrap: balance;
}
.page-kurse .ch-subpage-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.page-kurse .ch-checkpoint-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: rgba(232,234,237,.86);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.page-kurse .ch-checkpoint-separator {
  color: var(--orange);
  opacity: .82;
}
.page-kurse .ch-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 1;
  z-index: var(--z-content);
  animation: changaHeroBob 2.6s ease-in-out infinite;
}
.page-kurse .ch-scroll-cue span {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f2c06e;
  text-shadow: 0 0 16px rgba(232,98,26,.6), 0 1px 8px rgba(0,0,0,.7);
}
.page-kurse .ch-scroll-cue-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid #f5874a;
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(242,192,110,.24), 0 0 18px rgba(232,98,26,.44);
}
.page-kurse .ch-scroll-cue-icon::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2c06e 0%, #f5874a 100%);
  animation: changaHeroScrollDot 2.6s ease-in-out infinite;
}
@keyframes changaHeroScrollDot {
  0%, 100% { top: 5px; opacity: 1; }
  50% { top: 13px; opacity: .28; }
}
@keyframes changaHeroBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

.page-kurse .ch-bento-section {
  position: relative;
  background:
    radial-gradient(circle at 78% 22%, rgba(232,98,26,.05) 0%, transparent 28%),
    linear-gradient(180deg, rgba(245,246,247,1) 0%, rgba(245,246,247,.98) 100%);
}
.page-kurse .ch-bento-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,14,16,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,14,16,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 0%, transparent 100%);
  pointer-events: none;
}
.page-kurse .ch-bento-section .ch-section-header {
  position: relative;
  z-index: var(--z-base);
}
.page-kurse .ch-eyebrow--section {
  justify-content: center;
}
.page-kurse .ch-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-dark);
  margin: 1rem 0;
  line-height: 1.1;
}
.page-kurse .ch-section-title em {
  background: linear-gradient(90deg, var(--mango) 0%, var(--salsa) 52%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--orange);
  font-style: italic;
}
.page-kurse .ch-section-sub {
  font-size: 1.125rem;
  color: var(--iron-text);
  text-wrap: balance;
}
/* Tanzstile und Kursplan haben denselben hellen Grund: kein doppelter Abstand dazwischen */
.page-kurse .ch-bento-section { padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-kurse .ch-schedule-section { padding-top: clamp(3rem, 6vw, 5rem); }
/* Kursplan-Untertitel auf Desktop in einer Zeile */
@media (min-width: 900px) {
  .page-kurse .ch-schedule-section .ch-section-sub { max-width: none; white-space: nowrap; }
}
.page-kurse .ch-bento-grid {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 188px;
  gap: 18px;
}
.page-kurse .ch-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(13,14,16,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(245,246,247,.98) 100%);
  box-shadow: 0 18px 44px rgba(13,14,16,.06), 0 1px 2px rgba(13,14,16,.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.page-kurse .ch-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(440px circle at var(--mouse-x) var(--mouse-y), rgba(242,192,110,.18) 0%, rgba(245,135,74,.12) 24%, rgba(232,98,26,.055) 44%, transparent 68%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}
.page-kurse .ch-bento-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 24%);
  opacity: .5;
  pointer-events: none;
}
.page-kurse .ch-bento-grid:hover .ch-bento-card::before {
  opacity: 1;
}
.page-kurse .ch-bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,98,26,.18);
  box-shadow: 0 24px 54px rgba(13,14,16,.1), 0 4px 14px rgba(13,14,16,.06);
}
.page-kurse .ch-bento-card--wide {
  grid-column: span 2;
}
.page-kurse .ch-bento-card-content {
  position: relative;
  z-index: var(--z-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
}
.page-kurse .ch-bento-card--wide .ch-bento-card-content {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.page-kurse .ch-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
  background: rgba(232,98,26,.08);
  border: 1px solid rgba(232,98,26,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.page-kurse .ch-bento-card--wide .ch-bento-icon {
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.page-kurse .ch-bento-icon svg {
  width: 22px;
  height: 22px;
}
.page-kurse .ch-bento-copy {
  display: flex;
  flex-direction: column;
}
.page-kurse .ch-bento-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.08;
  color: var(--obsidian);
  margin-bottom: .55rem;
}
.page-kurse .ch-bento-copy p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--iron-text);
}

/* ══════════════════════════════════════════════════════════════
   PROGRESSION CARDS
   ══════════════════════════════════════════════════════════════ */
.page-kurse .ch-progression-section {
  position: relative;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  background:
    radial-gradient(circle at 14% 12%, rgba(245,135,74,.1) 0%, transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(242,192,110,.08) 0%, transparent 24%),
    linear-gradient(180deg, var(--obsidian) 0%, #111317 100%);
}
.page-kurse .ch-progression-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 74% at 50% 36%, black 0%, transparent 100%);
  pointer-events: none;
}
.page-kurse .ch-progression-section .ch-section-header {
  position: relative;
  z-index: var(--z-base);
  max-width: 50rem;
}
.page-kurse .ch-progression-section .ch-section-title,
.page-kurse .ch-progression-section .ch-section-sub {
  color: var(--pearl);
}
.page-kurse .ch-progression-section .ch-section-sub {
  color: var(--steel-text);
}
.page-kurse .ch-progression-stack {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.page-kurse .ch-progression-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(2.6rem, 5vw, 4.5rem);
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(22,24,27,.96) 0%, rgba(13,14,16,.98) 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.page-kurse .ch-progression-band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--mango), transparent);
  opacity: .7;
}
.page-kurse .ch-progression-band--right {
  background:
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 44%),
    radial-gradient(circle at 86% 18%, rgba(232,98,26,.12) 0%, transparent 28%),
    linear-gradient(180deg, rgba(22,24,27,.96) 0%, rgba(13,14,16,.98) 100%);
}
.page-kurse .ch-progression-mark {
  position: absolute;
  top: 50%;
  font-family: var(--font-serif);
  font-size: clamp(10rem, 24vw, 18rem);
  font-weight: 700;
  line-height: .8;
  color: rgba(255,255,255,.03);
  letter-spacing: -.08em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.page-kurse .ch-progression-band--left .ch-progression-mark {
  right: 1rem;
}
.page-kurse .ch-progression-band--right .ch-progression-mark {
  left: 1rem;
}
.page-kurse .ch-progression-head {
  position: relative;
  z-index: var(--z-base);
  max-width: 38rem;
  margin-bottom: 3rem;
}
.page-kurse .ch-progression-band--right .ch-progression-head {
  margin-left: auto;
  text-align: right;
}
.page-kurse .ch-progression-band--right .ch-eyebrow {
  justify-content: flex-end;
}
.page-kurse .ch-progression-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  color: var(--pearl);
  margin: 0 0 1rem;
}
.page-kurse .ch-progression-title em {
  display: block;
  font-style: italic;
  background: linear-gradient(90deg, var(--mango) 0%, var(--salsa) 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-kurse .ch-progression-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--steel-text);
}
.page-kurse .ch-progression-grid {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}
.page-kurse .ch-progression-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 2.35rem 2.15rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%),
    rgba(19,21,24,.88);
  border-color: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.18);
}
.page-kurse .ch-progression-card:hover {
  border-color: rgba(232,98,26,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 26px 50px rgba(0,0,0,.22), 0 0 0 1px rgba(232,98,26,.06);
}
.page-kurse .ch-progression-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.page-kurse .ch-progression-code {
  font-family: var(--font-sans);
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.05em;
  color: rgba(232,98,26,.74);
}
.page-kurse .ch-progression-badge {
  display: inline-flex;
  align-items: center;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mango);
  white-space: nowrap;
}
.page-kurse .ch-progression-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--pearl);
  margin: 0 0 .9rem;
}
.page-kurse .ch-progression-card-copy {
  margin: 0 0 1.4rem;
  font-size: .95rem;
  line-height: 1.72;
  color: var(--text-light);
}
.page-kurse .ch-progression-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.page-kurse .ch-progression-meta-label {
  display: inline-block;
  margin-bottom: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.page-kurse .ch-progression-card-foot p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.62;
  color: var(--steel-text);
}

/* ══════════════════════════════════════════════════════════════
   VIDEO EXPANSION — Light CHANGA Interpretation
   ══════════════════════════════════════════════════════════════ */
.page-kurse .ch-video-expansion {
  --k-video-sticky-offset: clamp(5rem, 7vw, 6.5rem);
  --k-video-bottom-gap: clamp(1rem, 2vw, 2rem);
  position: relative;
  /* Unten kein Abstand: die CTA-Section darunter bringt ihr eigenes
     Section-Padding mit, sonst stapeln sich beide unter dem Video. */
  padding: var(--section-pad) 0 0;
}
.page-kurse .ch-video-header {
  position: relative;
  z-index: var(--z-content);
  max-width: 48rem;
  margin-bottom: 3rem;
}
.page-kurse .ch-video-header .ch-section-sub {
  max-width: 43rem;
  margin-top: 1rem;
  color: var(--iron-text);
}
.page-kurse .ch-video-scroll {
  position: relative;
  /* So hoch wie der Video-Rahmen: die Animation haengt nur an der Scrollposition,
     eine Extra-Strecke waere nur Leerraum unter dem Video. */
  height: auto;
}
.page-kurse .ch-video-sticky {
  position: sticky;
  top: var(--k-video-sticky-offset);
  /* Fallback ohne JS. app.js setzt die Hoehe auf die Endgroesse des Videos,
     damit kein Leerstreifen ueber und unter dem Video bleibt. */
  height: calc(100vh - var(--k-video-sticky-offset) - var(--k-video-bottom-gap));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-kurse .ch-video-word {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-sans);
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: var(--z-base);
  will-change: transform, opacity;
}
.page-kurse .ch-video-word--left {
  color: rgba(13,14,16,.05);
  transform: translate3d(-36vw, -50%, 0);
}
.page-kurse .ch-video-word--right {
  color: rgba(232,98,26,.12);
  transform: translate3d(16vw, -50%, 0);
}
.page-kurse .ch-video-frame--immersive {
  position: relative;
  z-index: var(--z-content);
  width: 440px;
  height: 640px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--obsidian);
  box-shadow: none;
  border: 1px solid rgba(13,14,16,.12);
  will-change: width, height, border-radius;
  backface-visibility: hidden;
}
.page-kurse .ch-video-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.page-kurse .ch-video-frame--immersive iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}
.page-kurse .ch-video-overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
/* ══════════════════════════════════════════════════════════════
   SCHEDULE — Light Theme (WCAG AA, Brand-Tokens only)
   ══════════════════════════════════════════════════════════════ */

/* ── Sektion: Hell statt Dunkel ─────────────────────────────── */
.page-kurse .ch-schedule-section {
  background: var(--surface-cool);    /* kühles Off-White — kein reines Weiß */
  color: var(--text-dark);
}
/* light-text-Klasse überschreiben — Texte müssen auf hellem Grund dunkel sein */
.page-kurse .ch-schedule-section .ch-section-header.ch-theme-light-text h2,
.page-kurse .ch-schedule-section .ch-section-header.ch-theme-light-text .ch-section-title { color: var(--text-dark); }
.page-kurse .ch-schedule-section .ch-section-header.ch-theme-light-text p,
.page-kurse .ch-schedule-section .ch-section-header.ch-theme-light-text .ch-section-sub { color: var(--iron-text); }
.page-kurse .ch-schedule-section .ch-eyebrow--section .ch-eyebrow-text { color: var(--orange); }
.page-kurse .ch-schedule-section .ch-eyebrow-dot { background: var(--orange); }

.page-kurse .ch-schedule-shell { margin-top: 3rem; }

/* ── Toolbar ────────────────────────────────────────────────── */
.page-kurse .ch-schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* ── Hinweis: Karte anklicken zum Anmelden ──────────────────── */
.page-kurse .ch-schedule-click-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: 1rem 2rem 1rem 1rem;
  background: rgba(232,98,26,.08);
  border: 2px solid var(--orange);
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}
.page-kurse .ch-schedule-click-hint strong { color: var(--orange); }
.page-kurse .ch-schedule-click-hint-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--surface-white);
  animation: ch-click-hint-pulse 1.8s ease-in-out infinite;
}
@keyframes ch-click-hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,98,26,.5); }
  50%      { box-shadow: 0 0 0 10px rgba(232,98,26,0); }
}
@media (max-width: 600px) {
  .page-kurse .ch-schedule-click-hint { font-size: 1rem; padding: .85rem 1rem; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-kurse .ch-schedule-click-hint-icon { animation: none; }
}

.page-kurse .ch-schedule-view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.09);
  flex-shrink: 0;
}
.page-kurse .ch-schedule-view-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--iron-text);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.page-kurse .ch-schedule-view-btn:hover { color: var(--text-dark); }
.page-kurse .ch-schedule-view-btn.is-active {
  background: var(--orange);
  color: var(--surface-white);
  box-shadow: 0 4px 14px rgba(232,98,26,.3);
}

/* ── Day Picker (Buttons, Desktop) ──────────────────────────── */
.page-kurse .ch-schedule-day-picker { display: none; }
.page-kurse .ch-schedule-day-picker.is-visible {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.page-kurse .ch-schedule-day-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--surface-white);
  color: var(--iron-text);
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .5rem .95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.page-kurse .ch-schedule-day-btn:hover {
  color: var(--orange);
  border-color: rgba(232,98,26,.35);
  background: rgba(232,98,26,.04);
}
.page-kurse .ch-schedule-day-btn.is-active {
  color: var(--orange);
  background: rgba(232,98,26,.07);
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(232,98,26,.15);
}

/* ── Day Select (Mobile Dropdown) ───────────────────────────── */
.page-kurse .ch-schedule-day-select {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4F54' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 12px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  padding: .75rem 2.6rem .75rem 1.1rem;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.page-kurse .ch-schedule-day-select option { background: var(--surface-white); color: var(--text-dark); }

/* Tanzstil-Auswahlfeld und Feld-Beschriftungen gibt es nur am Handy */
.page-kurse .ch-schedule-stil-pick,
.page-kurse .ch-schedule-pick-label { display: none; }

/* ── Panels ─────────────────────────────────────────────────── */
.page-kurse .ch-schedule-panel { display: none; }
.page-kurse .ch-schedule-panel.is-active { display: block; }

/* ── Shared table wrapper ────────────────────────────────────── */
.page-kurse .ch-schedule-week-wrap,
.page-kurse .ch-schedule-day-wrap {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  overflow: auto;
  background: var(--surface-white);
  box-shadow: 0 2px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  -webkit-overflow-scrolling: touch;
}
.page-kurse .ch-schedule-week-table,
.page-kurse .ch-schedule-day-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.page-kurse .ch-schedule-week-table { min-width: 1020px; }
.page-kurse .ch-schedule-day-table  { min-width: 560px; }
.page-kurse .ch-schedule-time-col   { width: 150px; }

.page-kurse .ch-schedule-week-table thead th,
.page-kurse .ch-schedule-day-table thead th {
  position: sticky;
  top: 0;
  z-index: var(--z-base);
  background: rgba(244,245,247,.97);
  backdrop-filter: blur(8px);
  color: var(--steel-text);
  padding: 1rem 1.1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.page-kurse .ch-schedule-week-table tbody th,
.page-kurse .ch-schedule-week-table tbody td,
.page-kurse .ch-schedule-day-table  tbody th,
.page-kurse .ch-schedule-day-table  tbody td {
  border-bottom: 1px solid rgba(0,0,0,.05);
  vertical-align: top;
}
.page-kurse .ch-schedule-week-table tbody tr:last-child th,
.page-kurse .ch-schedule-week-table tbody tr:last-child td,
.page-kurse .ch-schedule-day-table  tbody tr:last-child th,
.page-kurse .ch-schedule-day-table  tbody tr:last-child td { border-bottom: none; }
.page-kurse .ch-schedule-time-cell {
  padding: 1.1rem;
  background: rgba(0,0,0,.018);
  border-right: 1px solid rgba(0,0,0,.05);
  width: 150px;
}
.page-kurse .ch-schedule-time-start {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: .4rem;
}
.page-kurse .ch-schedule-time-range {
  display: block;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--steel-text);
}
.page-kurse .ch-schedule-week-table td,
.page-kurse .ch-schedule-day-table  td { padding: .75rem; vertical-align: top; }
.page-kurse .ch-schedule-week-stack {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-start;
}
/* Unsichtbarer Platzhalter: hält den Raum-A-Slot frei wenn nur Raum B belegt ist */
.page-kurse .ch-schedule-week-spacer {
  height: 164px;
  flex-shrink: 0;
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   SCHEDULE CARD — Light Mode, Soft Shadow, Flex-Column
   ══════════════════════════════════════════════════════════════ */
.page-kurse .ch-schedule-course-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 164px;
  flex-shrink: 0;
  border-radius: 14px;
  padding: .9rem 1rem 1rem;
  border: 1px solid rgba(0,0,0,.07);
  background: var(--surface-white);
  box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
  /* Weich und ohne Abschneiden: das gezoomte Lehrerfoto darf über den Kartenrand */
  transition: transform .5s cubic-bezier(.4,0,.2,1), border-color .5s cubic-bezier(.4,0,.2,1), box-shadow .5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: visible;
}
.page-kurse .ch-schedule-course-card:hover {
  z-index: 5;
  transform: translateY(-2px);
  border-color: rgba(232,98,26,.22);
  box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 8px 24px rgba(232,98,26,.1);
}

/* ── Raum B: Dezenter Grau-Blau-Tint ────────────────────────── */
.page-kurse .ch-schedule-course-card--room-b {
  background: var(--surface-room-b);
  border-color: rgba(60,90,200,.1);
}
.page-kurse .ch-schedule-course-card--room-b:hover {
  border-color: rgba(60,90,200,.22);
  box-shadow: 0 4px 8px rgba(0,0,0,.05), 0 8px 24px rgba(60,90,200,.08);
}

.page-kurse .ch-schedule-course-head { display: flex; flex-direction: column; gap: .35rem; }
.page-kurse .ch-schedule-course-title {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-kurse .ch-schedule-course-level-label {
  margin: 0;
  font-size: .7rem;
  line-height: 1.35;
  color: var(--steel-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Level Badges — WCAG AA auf weißem Grund ────────────────── */
.page-kurse .ch-schedule-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .2rem .45rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 1px solid transparent;
  align-self: flex-start;
  white-space: nowrap;
}
/* Level-Plaketten (Variante B, von Salvo am 29.09.2026 freigegeben): jede Stufe ein eigener, gedämpfter Farbton.
   Stufen ohne eigene Regel (z. B. M2, M3, F1, AmV) bekommen die Farbe ihrer Gruppe. */
.page-kurse .ch-schedule-level-badge--beginner     { background: #D5E6D8; border-color: #D5E6D8; color: #2A5A3C; }
.page-kurse .ch-schedule-level-badge--intermediate { background: #F0D3DA; border-color: #F0D3DA; color: #7A3848; }
.page-kurse .ch-schedule-level-badge--advanced     { background: #D8DFE4; border-color: #D8DFE4; color: #3C5260; }
.page-kurse .ch-schedule-level-badge--mixed        { background: #ECEEF0; border-color: #ECEEF0; color: #4A4F54; }
.page-kurse .ch-schedule-level-badge--a1   { background: #D5E6D8; border-color: #D5E6D8; color: #2A5A3C; }
.page-kurse .ch-schedule-level-badge--a2   { background: #F1E1BE; border-color: #F1E1BE; color: #6B4E17; }
.page-kurse .ch-schedule-level-badge--a3   { background: #F3D3C4; border-color: #F3D3C4; color: #7E3F26; }
.page-kurse .ch-schedule-level-badge--m1   { background: #F0D3DA; border-color: #F0D3DA; color: #7A3848; }
.page-kurse .ch-schedule-level-badge--for  { background: #D8DFE4; border-color: #D8DFE4; color: #3C5260; }
.page-kurse .ch-schedule-level-badge--al   { background: #E1E6CB; border-color: #E1E6CB; color: #525C2E; }
.page-kurse .ch-schedule-level-badge--show { background: #E7D8E8; border-color: #E7D8E8; color: #634566; }

/* ── Karten-Fuß ──────────────────────────────────────────────── */
.page-kurse .ch-schedule-course-foot {
  margin-top: auto;
  padding-top: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-top: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}
.page-kurse .ch-schedule-course-room {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--steel-text);
  text-transform: uppercase;
  white-space: nowrap;
}
.page-kurse .ch-schedule-day-table .ch-schedule-course-room { display: none; }

/* 2. Hover-Effekt auf dem Lehrer-Container */
.page-kurse .ch-schedule-course-teacher {
  display: inline-flex;
  align-items: center;
  gap: .6rem;            /* Etwas mehr Abstand zum Namen */
  min-width: 0;
  margin-left: auto;
  cursor: pointer;
}

.page-kurse .ch-schedule-course-teacher:hover .ch-schedule-teacher-avatar {
  transform: scale(2.8);  /* Massiver Zoom für Erkennbarkeit */
  z-index: var(--z-sticky);            /* Stellt sicher, dass das Bild über dem Text schwebt */
  border-color: var(--orange);
  background: var(--surface-white);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.page-kurse .ch-schedule-teacher-name {
  font-size: .7rem;
  font-weight: 600;
  color: var(--iron-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

/* ── Teacher Avatar ──────────────────────────────────────────── */
/* 1. Basis-Größe erhöhen und Vorbereitung für Zoom */
.page-kurse .ch-schedule-teacher-avatar {
  width: 32px;           /* Erhöht von 24px */
  height: 32px;          /* Erhöht von 24px */
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: var(--z-base);
  /* Zoom: weich anlaufend, sanft auslaufend, ohne Überschwingen; wächst nach oben in die Karte */
  transform-origin: 50% 80%;
  transition: transform .6s cubic-bezier(.45,0,.2,1), box-shadow .6s cubic-bezier(.45,0,.2,1), border-color .6s cubic-bezier(.45,0,.2,1), background-color .6s cubic-bezier(.45,0,.2,1);
}
.page-kurse .ch-schedule-teacher-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-kurse .ch-schedule-teacher-avatar.is-fallback::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .58rem;
  font-weight: 800;
  color: var(--orange);
  background: rgba(232,98,26,.1);
}

/* ── Empty Cell ──────────────────────────────────────────────── */
.page-kurse .ch-schedule-empty-cell {
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(0,0,0,.2);
  user-select: none;
}

/* ── Mobile Feed ─────────────────────────────────────────────── */
.page-kurse .ch-schedule-mobile-feed { display: none; }

.page-kurse .ch-schedule-mobile-slot { margin-bottom: 1.5rem; }
.page-kurse .ch-schedule-mobile-slot:last-child { margin-bottom: 0; }

.page-kurse .ch-schedule-mobile-time-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.page-kurse .ch-schedule-mobile-time-label {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.page-kurse .ch-schedule-mobile-time-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,.12), transparent);
}
.page-kurse .ch-schedule-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

/* ── CTA ────────────────────────────────────────────────────── */
.page-kurse .ch-final-section {
  background: var(--pearl);
}
.page-kurse .ch-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .page-kurse .ch-subpage-hero--course {
    min-height: 50vh;
    padding-top: 6rem;
  }
  .page-kurse .ch-bento-grid { grid-auto-rows: 176px; }
  .page-kurse .ch-progression-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
  }
  .page-kurse .ch-progression-section .ch-section-header {
    margin-bottom: 3.5rem;
  }
  .page-kurse .ch-progression-stack {
    gap: 5rem;
  }
  .page-kurse .ch-video-expansion {
    --k-video-sticky-offset: 5.25rem;
    padding: 4rem 0 0;
  }
  .page-kurse .ch-video-frame--immersive {
    width: 360px;
    height: 540px;
  }
}

@media (max-width: 820px) {
  .page-kurse .ch-subpage-hero-inner--narrow { max-width: 100%; }
  .page-kurse .ch-subpage-hero-title--course { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .page-kurse .ch-subpage-hero-lead { font-size: 1rem; }
  .page-kurse .ch-checkpoint-list { font-size: .84rem; }
  .page-kurse .ch-schedule-week-wrap,
  .page-kurse .ch-schedule-day-wrap { border-radius: 16px; }
  .page-kurse .ch-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-kurse .ch-bento-card--wide { grid-column: span 2; }
  .page-kurse .ch-progression-grid { grid-template-columns: 1fr; }
  .page-kurse .ch-progression-head,
  .page-kurse .ch-progression-band--right .ch-progression-head {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .page-kurse .ch-progression-band--right .ch-eyebrow {
    justify-content: flex-start;
  }
  .page-kurse .ch-progression-mark {
    right: .5rem;
    left: auto;
    top: 1rem;
    transform: none;
    font-size: clamp(7rem, 24vw, 10rem);
  }
  .page-kurse .ch-video-header {
    margin-bottom: 2rem;
  }
  .page-kurse .ch-video-word {
    font-size: clamp(4rem, 18vw, 8rem);
  }
}

/* ══════════════════════════════════════════════════════════════
   Mobile ≤ 767px — One-Column Feed, Sticky Tagesnavigation
   Bug-Fix: schedule day-picker container war display:none → Select unsichtbar
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .page-kurse .ch-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .page-kurse .ch-section-header {
    margin-bottom: 2.75rem;
  }

  .page-kurse .ch-section-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .page-kurse .ch-section-sub {
    font-size: 1rem;
  }

  /* Wochenansicht komplett ausblenden */
  .page-kurse .ch-schedule-panel--week.is-active { display: none !important; }
  /* Tagesansicht immer sichtbar */
  .page-kurse .ch-schedule-panel--day { display: block; }
  /* View-Toggle ausblenden */
  .page-kurse .ch-schedule-view-toggle { display: none; }

  /* ── Sticky Mobile-Toolbar mit Tagesauswahl ── */
  .page-kurse .ch-schedule-toolbar {
    position: sticky;
    top: 0;
    z-index: var(--z-dropdown);
    background: var(--surface-cool);
    padding: .85rem 0 .9rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  /* BUG FIX: Container sichtbar machen, damit Select rendern kann */
  .page-kurse .ch-schedule-day-picker           { display: block !important; }
  .page-kurse .ch-schedule-day-picker.is-visible { display: block !important; }
  /* Buttons ausblenden, Select einblenden */
  .page-kurse .ch-schedule-day-btn    { display: none; }
  .page-kurse .ch-schedule-day-select { display: block; }

  /* Desktop-Tabelle ausblenden, Mobile-Feed einblenden */
  .page-kurse .ch-schedule-day-wrap   { display: none; }
  .page-kurse .ch-schedule-mobile-feed { display: block; }

  /* Mobile-Karten: auto height, volle Breite */
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-card {
    height: auto;
    min-height: 124px;
    width: 100%;
  }
  /* Raum-Label sichtbar (kein Spaltenheader auf Mobile) */
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-room { display: block; }

  .page-kurse .ch-video-expansion {
    padding: 3.25rem 0 2.5rem;
  }
  .page-kurse .ch-video-header {
    margin-bottom: 1.5rem;
  }
  .page-kurse .ch-video-scroll {
    height: auto;
    /* Handy: Video mit Rand links und rechts wie der übrige Inhalt, nicht randlos */
    padding: 0 var(--pad-h);
  }
  .page-kurse .ch-video-sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: visible;
  }
  .page-kurse .ch-video-word {
    display: none;
  }
  .page-kurse .ch-video-frame--immersive {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .page-kurse .ch-subpage-hero--course {
    min-height: auto;
    padding: 7.25rem 0 4.25rem;
  }
  .page-kurse .ch-hero-bg-grid { background-size: 44px 44px; }
  .page-kurse .ch-subpage-hero-inner--narrow { text-align: center; }
  .page-kurse .ch-subpage-hero-title--course {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }
  .page-kurse .ch-subpage-hero-lead {
    line-height: 1.68;
  }
  .page-kurse .ch-subpage-hero-actions .ch-button {
    width: min(100%, 22rem);
  }
  .page-kurse .ch-checkpoint-list { justify-content: center; gap: .35rem; max-width: 100%; }
  .page-kurse .ch-scroll-cue { bottom: 18px; }
  .page-kurse .ch-bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .page-kurse .ch-bento-card,
  .page-kurse .ch-bento-card--wide { grid-column: span 1; grid-row: span 1; }
  .page-kurse .ch-bento-card-content,
  .page-kurse .ch-bento-card--wide .ch-bento-card-content { padding: 1.25rem; }
  .page-kurse .ch-bento-card--wide .ch-bento-card-content { flex-direction: column; align-items: flex-start; }
  .page-kurse .ch-bento-copy h3 { font-size: 1.5rem; }
  .page-kurse .ch-progression-band {
    padding: 1.5rem 1.2rem;
    border-radius: 24px;
  }
  .page-kurse .ch-progression-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
  .page-kurse .ch-progression-card {
    padding: 1.5rem 1.2rem;
    border-radius: 22px;
  }
  .page-kurse .ch-progression-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-kurse .ch-progression-badge {
    white-space: normal;
  }
  .page-kurse .ch-video-frame--immersive {
    border-radius: 16px;
  }
  .page-kurse .ch-final-section .ch-actions .ch-button {
    width: min(100%, 22rem);
  }
}

@media (max-width: 420px) {
  .page-kurse .ch-subpage-hero--course {
    padding-top: 6.75rem;
  }

  .page-kurse .ch-checkpoint-list {
    font-size: .78rem;
  }

  .page-kurse .ch-bento-card-content,
  .page-kurse .ch-progression-card {
    padding: 1.15rem;
  }

  .page-kurse .ch-schedule-course-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-kurse .ch-schedule-course-teacher {
    margin-left: 0;
  }
}

/* Course page: Headline-Font konsequent ueber den globalen Sans-Theme-Layer. */
.page-kurse.ch-theme-sans-headlines .ch-subpage-hero-title--course,
.page-kurse.ch-theme-sans-headlines .ch-subpage-hero-title--course em,
.page-kurse.ch-theme-sans-headlines .ch-section-title,
.page-kurse.ch-theme-sans-headlines .ch-bento-copy h3,
.page-kurse.ch-theme-sans-headlines .ch-progression-title,
.page-kurse.ch-theme-sans-headlines .ch-progression-title em,
.page-kurse.ch-theme-sans-headlines .ch-progression-card-title,
.page-kurse.ch-theme-sans-headlines .ch-schedule-time-start,
.page-kurse.ch-theme-sans-headlines .ch-schedule-mobile-time-label {
  font-family: var(--ch-headline-font);
}

.page-kurse.ch-theme-sans-headlines .ch-section-title em {
  background: linear-gradient(90deg, var(--mango) 0%, var(--salsa) 52%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--orange);
}

/* ── Kursplan-Filter (Tanzstil, Level) ──────────────────────── */
.page-kurse .ch-schedule-filter { display: flex; flex-direction: column; gap: .9rem; margin: 0 0 1.6rem; font-family: var(--font-sans); }
.page-kurse .ch-schedule-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.page-kurse .ch-schedule-filter-label { min-width: 74px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-text); }
.page-kurse .ch-schedule-filter-chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(13,14,16,.12);
  font: 500 .82rem var(--font-sans); cursor: pointer; white-space: nowrap;
  transition: background .45s cubic-bezier(.4,0,.2,1), color .45s cubic-bezier(.4,0,.2,1), border-color .45s cubic-bezier(.4,0,.2,1), box-shadow .45s cubic-bezier(.4,0,.2,1);
}
.page-kurse .ch-schedule-filter-chip:not(.ch-schedule-filter-chip--level) { background: var(--surface-white); color: var(--iron-text); }
.page-kurse .ch-schedule-filter-chip:hover { border-color: rgba(13,14,16,.3); }
.page-kurse .ch-schedule-filter-chip[aria-pressed="true"]:not(.ch-schedule-filter-chip--level) { background: var(--obsidian); color: var(--pearl); border-color: var(--obsidian); box-shadow: 0 2px 12px rgba(13,14,16,.2); }
.page-kurse .ch-schedule-filter-chip--level { align-self: auto; padding: 7px 14px; font-size: .72rem; border-width: 2px; }
.page-kurse .ch-schedule-filter-chip--level:not([aria-pressed="true"]):hover { border-color: rgba(13,14,16,.25); }
.page-kurse .ch-schedule-filter-chip--level[aria-pressed="true"] { border-color: var(--obsidian); }
.page-kurse .ch-schedule-filter-summary { margin: 0; font-size: .85rem; color: var(--iron-text); }
.page-kurse .ch-schedule-filter-summary strong { color: var(--obsidian); }
.page-kurse .ch-schedule-filter-new { color: #B84818; font-weight: 700; white-space: nowrap; }
.page-kurse .ch-schedule-course-card.is-filtered-out { opacity: .22; filter: grayscale(1); pointer-events: none; }
.page-kurse .ch-schedule-course-card { transition: opacity .5s cubic-bezier(.4,0,.2,1), filter .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1), border-color .5s cubic-bezier(.4,0,.2,1), box-shadow .5s cubic-bezier(.4,0,.2,1); }

@media (max-width: 767px) {
  /* Filter: statt Knöpfen zwei Auswahlfelder (Tanzstil | Tag) in der Leiste oben */
  .page-kurse .ch-schedule-filter-row { display: none; }
  .page-kurse .ch-schedule-shell { display: flex; flex-direction: column; }
  .page-kurse .ch-schedule-toolbar { order: -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
  .page-kurse .ch-schedule-stil-pick { display: block; min-width: 0; }
  .page-kurse .ch-schedule-day-picker { min-width: 0; }
  .page-kurse .ch-schedule-pick-label { display: block; margin: 0 0 .4rem .2rem; font-family: var(--font-sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-text); }
  .page-kurse .ch-schedule-toolbar .ch-schedule-day-select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }

  /* Handy-Karte: Lehrerfoto groß rechts, Raum und Name in einer Zeile */
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-card { padding-right: 7.5rem; min-height: 0; }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-foot { flex-direction: row; align-items: center; justify-content: flex-start; gap: .45rem; border-top: 0; padding-top: .35rem; }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-room { display: inline; }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-room::after { content: "·"; margin-left: .45rem; color: var(--steel-text); }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-teacher { margin-left: 0; min-width: 0; cursor: default; }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-teacher-name { max-width: none; font-size: .75rem; }
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-teacher-avatar,
  .page-kurse .ch-schedule-mobile-feed .ch-schedule-course-teacher:hover .ch-schedule-teacher-avatar {
    position: absolute; right: 1rem; top: 50%; width: 88px; height: 88px;
    transform: translateY(-50%); border: 2px solid var(--surface-white); box-shadow: 0 6px 18px rgba(13,14,16,.14);
  }
}

/* ── Neue Kurse: dunkle Karte mit Band "NEU" (Salvo 30.09.2026) ─ */
.page-kurse .ch-schedule-course-card.ch-schedule-course-card--neu { background: #16181B; border-color: #16181B; box-shadow: 0 6px 20px rgba(13,14,16,.22); }
.page-kurse .ch-schedule-course-card.ch-schedule-course-card--neu:hover { border-color: var(--orange); box-shadow: 0 8px 26px rgba(13,14,16,.28); }
.page-kurse .ch-schedule-course-card--neu .ch-schedule-course-title { color: #F5F6F7; }
.page-kurse .ch-schedule-course-card--neu .ch-schedule-course-start { color: var(--mango) !important; }
.page-kurse .ch-schedule-course-card--neu .ch-schedule-course-foot { border-top-color: rgba(255,255,255,.12); }
.page-kurse .ch-schedule-course-card--neu .ch-schedule-course-room,
.page-kurse .ch-schedule-course-card--neu .ch-schedule-course-room::after,
.page-kurse .ch-schedule-course-card--neu .ch-schedule-teacher-name { color: #B9BEC5; }
.page-kurse .ch-schedule-course-card--neu .ch-schedule-teacher-avatar { border-color: #16181B; }
.page-kurse .ch-schedule-course-ribbon { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 3; }
.page-kurse .ch-schedule-course-ribbon span {
  position: absolute; top: 11px; right: -32px; width: 108px; padding: 6px 0; transform: rotate(45deg);
  background: var(--orange); color: var(--obsidian); text-align: center;
  font: 800 .6rem/1 var(--font-sans); letter-spacing: .16em; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
