/* ==========================================================================
   Kurs-Fokus: Hero-Karte, Leistungen, Kalender
   ========================================================================== */
.nav a.ext { display: inline-flex; align-items: center; gap: 6px; }
.nav a.ext svg { width: 14px; height: 14px; }

.hero-price { margin: -10px 0 30px; color: var(--ink-soft); font-size: 1rem; }
.hero-price strong { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-weight: 600; margin-right: 6px; font-variant-numeric: lining-nums; }
.hero-price span { display: block; font-size: .9rem; color: var(--ink-mute); margin-top: 2px; }

.next-card {
  position: relative; background: rgba(15, 33, 57, .85); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  width: 100%; max-width: 460px; justify-self: end;
}
.next-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.next-head img { width: 44px; height: 44px; flex: none; }
.next-head h2 { font-size: 1.7rem; margin: 0; }
.next-head p { margin: 0; color: var(--ink-mute); font-size: .86rem; }
.next-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.next-list li > button {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; text-align: left;
  background: var(--navy-950); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; color: var(--ink);
  font: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.next-list li > button:hover { border-color: var(--gold); background: rgba(201, 162, 74, .06); }
.next-list li > button:disabled { cursor: not-allowed; opacity: .45; filter: grayscale(1); }
.next-list li > button:disabled:hover { border-color: var(--line-soft); background: var(--navy-950); }
.next-date { font-weight: 600; font-size: .98rem; }
.next-time { color: var(--ink-mute); font-size: .85rem; grid-column: 1; }
.seats-pill { grid-row: 1 / span 2; grid-column: 2; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.seats-open { background: rgba(143, 194, 160, .14); color: var(--ok); }
.seats-few { background: rgba(201, 162, 74, .16); color: var(--gold-light); }
.seats-full { background: rgba(255, 255, 255, .08); color: var(--ink-mute); }
.seatbar { grid-column: 1 / -1; height: 4px; background: rgba(255, 255, 255, .08); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.seatbar i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.next-empty { color: var(--ink-mute); font-size: .92rem; padding: 10px 0; }
@media (max-width: 960px) { .next-card { justify-self: stretch; max-width: none; } }

.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--paper .lead { color: #3a4556; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.included .card { background: #fff; border-color: rgba(26, 36, 51, .08); box-shadow: 0 20px 40px -32px rgba(10, 20, 35, .4); }
.included .card:hover { border-color: rgba(201, 162, 74, .5); }
.included .card h3 { color: var(--paper-ink); font-size: 1.4rem; }
.included .card p { color: #4b5566; }
.included .icon { background: rgba(201, 162, 74, .12); color: #9a7a2e; border-color: rgba(201, 162, 74, .35); }
.price-strip {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: var(--navy-900); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: 30px 36px; border: 1px solid var(--gold);
}
.price-strip .eyebrow { margin-bottom: 6px; color: var(--gold); }
.section--paper .price-strip .price { color: var(--ink); }
.section--paper .price-strip p.price-note { color: var(--ink-mute); margin: 6px 0 0; }

.short { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .short { grid-template-columns: 1fr; gap: 32px; } }
.short h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-more svg { width: 16px; height: 16px; }
.short-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.short-points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(20, 42, 71, .35); color: var(--ink-soft); font-size: .96rem; }
.short-points .icon { margin: 0; }
.short-points b { display: block; color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Kalender: Monatsansicht mit Uhrzeit und freien Plätzen pro Tag
   ========================================================================== */
.booking .cal-card { grid-column: 1 / -1; }
.cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.legend-like { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 12px; }
.legend-like .step { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--on-gold); background: var(--gold); border-radius: 99px; padding: 4px 9px; }
.cal-nav-group { display: flex; align-items: center; gap: 10px; }
.cal-nav-group strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; min-width: 190px; text-align: center; }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--gold-light); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: rgba(201, 162, 74, .12); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-jump { font: 600 .85rem/1 var(--sans); color: var(--gold-light); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.cal-jump:hover { background: rgba(201, 162, 74, .12); border-color: var(--gold); }

.cal-weekdays, .cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-weekdays span { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); padding: 4px 0 8px; }
.cday {
  min-height: 96px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(5, 13, 24, .45);
  padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.cday.is-blank { visibility: hidden; }
.cday.is-past { opacity: .35; }
.cday.has-sessions { background: var(--navy-950); border-color: rgba(255, 255, 255, .12); }
.cday.is-today { border-color: var(--gold); }
.cday-num { font-weight: 600; font-size: .9rem; color: var(--ink-mute); }
.cday.has-sessions .cday-num { color: var(--ink); }
.cday.is-today .cday-num::after { content: " Heute"; font-size: .68rem; color: var(--gold-light); font-weight: 500; }
.cday-long { display: none; }
.cal-slots { display: flex; flex-direction: column; gap: 5px; }
.cal-slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left;
  font: inherit; border-radius: 8px; padding: 6px 8px; cursor: pointer; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease;
}
.cal-slot b { font-size: .92rem; font-weight: 600; line-height: 1.1; }
.cal-slot small { font-size: .72rem; line-height: 1.2; }
.cal-slot.open { background: rgba(143, 194, 160, .12); border-color: rgba(143, 194, 160, .45); color: var(--ink); }
.cal-slot.open small { color: var(--ok); }
.cal-slot.few { background: rgba(201, 162, 74, .12); border-color: rgba(201, 162, 74, .55); color: var(--ink); }
.cal-slot.few small { color: var(--gold-light); }
.cal-slot.open:hover, .cal-slot.few:hover { border-color: var(--gold); background: rgba(201, 162, 74, .2); }
.cal-slot.full, .cal-slot.closed { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); color: #6b7686; cursor: not-allowed; }
.cal-slot.full b { text-decoration: line-through; }
.cal-slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px -8px rgba(201, 162, 74, .8); }
.cal-slot[aria-pressed="true"] small { color: var(--on-gold); }
.cal-empty { margin: 14px 0 0; color: var(--ink-mute); text-align: center; }

.cal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 18px; }
.cal-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: var(--ink-mute); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 11px; height: 11px; border-radius: 3px; }
.lg-open { background: var(--ok); }
.lg-few { background: var(--gold); }
.lg-full { background: #4f5b6c; }
.cal-selected { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--line); min-width: 260px; }
.cal-selected.is-set { border-style: solid; border-color: var(--gold); background: rgba(201, 162, 74, .08); }
.cal-selected-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cal-selected strong { font-weight: 600; }
.cal-card > .err { display: block; margin-top: 10px; color: var(--danger); font-size: .88rem; }
.cal-card.invalid { border-color: var(--danger); }

/* Mittlere Breite: kompaktere Felder */
@media (max-width: 1000px) {
  .cday { min-height: 84px; padding: 6px; }
  .cal-slot { padding: 5px 6px; }
  .cal-slot small { font-size: .68rem; }
}

/* Handy: Liste nur der Tage mit Kursen */
@media (max-width: 700px) {
  .cal-weekdays { display: none; }
  .cal-month { grid-template-columns: 1fr; gap: 10px; }
  .cday { min-height: 0; flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .cday:not(.has-sessions), .cday.is-blank { display: none; }
  .cday-num { display: none; }
  .cday-long { display: block; flex: 1; font-weight: 600; font-size: .95rem; }
  .cal-slots { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 60%; }
  .cal-slot { width: auto; min-width: 96px; padding: 8px 10px; }
  .cal-nav-group strong { min-width: 150px; font-size: 1.3rem; }
  .cal-selected { min-width: 0; width: 100%; }
}

/* Teilnehmende */
.fs-hint { color: var(--ink-mute); font-size: .88rem; margin: -6px 0 16px; }
.self-check { margin-top: 4px; }
.attendees { display: grid; gap: 12px; margin: 6px 0 14px; }
.attendees > .err { color: var(--danger); font-size: .86rem; }
.attendee { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px 16px 4px; background: rgba(5, 13, 24, .5); }
.attendee.invalid { border-color: var(--danger); }
.attendee-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.attendee-head b { font-size: .95rem; }
.attendee-head small { color: var(--ink-mute); font-size: .8rem; }
.attendee .row { gap: 12px; }
.attendee .field { margin-bottom: 10px; }
.attendee input[readonly] { opacity: .65; cursor: not-allowed; }
.attendee .err { color: var(--danger); font-size: .82rem; display: block; margin-bottom: 8px; }
.attendee select { padding: 12px 14px; }
@media (min-width: 700px) { .attendee .row.r4 { grid-template-columns: 1fr 1fr; } }
