/* Hub bundle 4.1.0: hub + contact teaser */
.page-hub .tmpl-hero {
  padding: var(--space-xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--color-border-subtle);
  background:
    linear-gradient(
      135deg,
      var(--color-band-strong),
      var(--color-base-strong)
    );
}

.page-hub .tmpl-hero__inner {
  max-width: 68rem;
}

.page-hub .breadcrumb {
  margin-bottom: var(--space-xl);
}

.page-hub .tmpl-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  overflow-wrap: normal;
}



/* --- Zentrierte Kopfvariante (Leitmuster der Mobilansicht) -------------- */

.page-hub .tmpl-hero__inner--centered .sec-head h1 {
  max-width: 18ch;
  margin-inline: auto;
}

/* --- Editoriale Kopfvariante (linksbündig, Kategorie-Wasserzeichen) -----
   Opt-in über $hub['hero_watermark']. Titel/Lead linksbündig; das große,
   blasse Icon liegt hinter dem Text am rechten Rand und gibt der Seite eine
   eigene Kategorie-Identität – ganz ohne Foto.
   ---------------------------------------------------------------------- */

.page-hub .tmpl-hero--editorial {
  position: relative;
  overflow: hidden;
}

.page-hub .tmpl-hero--editorial .tmpl-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hub .tmpl-hero--editorial .sec-head {
  max-width: 44rem;
  margin: 0;
  text-align: left;
}

.page-hub .tmpl-hero--editorial .sec-head h1 {
  max-width: 16ch;
  margin-inline: 0;
}

.page-hub .tmpl-hero--editorial .sec-head__sub {
  margin-inline: 0;
}

.page-hub .tmpl-hero--editorial .sec-head__mark {
  justify-content: flex-start;
}

.page-hub .tmpl-hero--editorial .sec-head__mark::before {
  display: none;
}

.tmpl-hero__watermark {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(18%, -50%);
  color: var(--color-brand-primary);
  opacity: 0.07;
  pointer-events: none;
}

.tmpl-hero__watermark svg {
  width: clamp(9rem, 24vw, 17rem);
  height: auto;
}

@container hub-content (min-width: 42rem) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5cqw, 1.5rem);
  }
}

@media (min-width: 48rem) {
  .tmpl-hero__watermark {
    transform: translate(8%, -50%);
  }
}

/* --- Inhaltsbereich ----------------------------------------------------- */

.hub-section {
  padding: var(--section-space) 0;
  background: var(--color-bg-surface);
}

.hub-section > .container {
  container-name: hub-content;
  container-type: inline-size;
}

.hub-themes {
  margin-bottom: var(--space-xl);
}

.hub-lead {
  max-width: 58.125rem;
  margin-bottom: var(--space-xl);
  color: var(--color-text-muted);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-relaxed);
}

.hub-lead p:last-child {
  margin-bottom: 0;
}

.hub-lead a {
  color: var(--color-brand-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* --- Gruppenüberschriften auf Hub-Seiten ------------------------------ */

.hub-group-heading {
  max-width: 42rem;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
}

.hub-group-heading .eyebrow {
  margin-bottom: 0.4rem;
}

.hub-group-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hub-group-heading > p:last-child:not(.eyebrow) {
  max-width: 38rem;
  margin: 0.45rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hub-group-heading--featured {
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

/* --- Angebotskarten ----------------------------------------------------
   Mobil als kompakte Zeile (Icon · Titel · Kennzeichnung), darunter der
   Beschreibungstext. Ab 48rem als zweispaltiges Kartenraster.
   ---------------------------------------------------------------------- */

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.hub-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    ".    body";
  gap: var(--space-2xs) var(--space-sm);
  align-items: center;
  padding: var(--space-md);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-bg-base);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.hub-card[id] {
  scroll-margin-top: 7rem;
}

.hub-card:hover {
  border-color: var(--color-brand-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.hub-card__icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  grid-area: icon;
  border-radius: var(--radius-circle);
  background: var(--color-brand-wash);
  color: var(--color-brand-primary);
}

/* Lange Komposita („Schlafcoaching“, „Sternenkinder“) dürfen nur an
   Silbengrenzen umbrechen. Ohne diese Regel greift das globale
   `overflow-wrap: anywhere` der Überschriften und trennt mitten im Wort. */
.hub-card__title {
  margin: 0;
  grid-area: title;
  font-size: var(--font-size-h3);
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: normal;
}

.hub-card__body {
  display: block;
  grid-area: body;
  padding-top: var(--space-2xs);
}


.hub-card__meta {
  display: block;
  margin-bottom: var(--space-2xs);
  color: var(--color-brand-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
}

.hub-card__text {
  display: block;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hub-card__more {
  display: block;
  margin-top: var(--space-sm);
  color: var(--color-brand-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-small);
}

/* --- Hervorgehobener Partner-Workshop ---------------------------------- */

.hub-featured {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(1.35rem, 3.5vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--color-brand-line);
  border-radius: clamp(1.4rem, 2.5vw, 2.1rem);
  background:
    radial-gradient(circle at 92% 10%, rgba(193, 95, 57, 0.13), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--color-bg-surface) 88%, var(--color-brand-wash)), var(--color-bg-base));
  box-shadow: 0 1.75rem 5rem rgba(90, 59, 39, 0.08);
  isolation: isolate;
  scroll-margin-top: 7rem;
}

.hub-featured--grouped {
  margin-top: 0;
}

.hub-featured::before {
  content: "";
  position: absolute;
  top: -4.5rem;
  right: -4rem;
  z-index: -1;
  width: clamp(11rem, 25vw, 19rem);
  aspect-ratio: 1;
  border: 1px solid rgba(193, 95, 57, 0.14);
  border-radius: 48% 52% 38% 62% / 40% 38% 62% 60%;
  transform: rotate(12deg);
}

.hub-featured__content {
  min-width: 0;
}

.hub-featured__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hub-featured__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: var(--color-surface-translucent);
  color: var(--color-text-muted);
  font-size: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.025em;
}

.hub-featured__badge--accent {
  border-color: var(--color-brand-line);
  background: var(--color-brand-wash);
  color: var(--color-brand-primary);
}

.hub-featured__title {
  max-width: 16ch;
  margin: 0;
  color: var(--color-text-default);
  font-size: clamp(2rem, 6vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hub-featured__subtitle {
  max-width: 34rem;
  margin: 0.65rem 0 0;
  color: var(--color-brand-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 2.5vw, 1.6rem);
  line-height: 1.28;
}

.hub-featured__description {
  max-width: 47rem;
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.72;
}

.hub-featured__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hub-featured__topics li {
  padding: 0.28rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(193, 95, 57, 0.07);
  color: var(--color-brand-primary);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
}

.hub-featured__dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hub-featured__date {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(193, 95, 57, 0.16);
  border-radius: var(--radius-medium);
  background: var(--color-surface-translucent);
}

.hub-featured__date-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-circle);
  background: var(--color-brand-wash);
  color: var(--color-brand-primary);
}

.hub-featured__date time,
.hub-featured__date small {
  display: block;
}

.hub-featured__date time {
  font-weight: var(--font-weight-bold);
}

.hub-featured__date small {
  margin-top: 0.1rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
}


.hub-featured__date-copy {
  min-width: 0;
}

.hub-featured__date .calendar-save {
  margin-left: auto;
  flex: 0 0 auto;
}

.hub-featured__date .calendar-save__menu {
  right: 0;
}

@media (max-width: 36rem) {
  .hub-featured__date {
    flex-wrap: wrap;
  }

  .hub-featured__date .calendar-save {
    width: 100%;
    margin-left: 0;
  }

  .hub-featured__date .calendar-save summary {
    width: 100%;
  }
}

.hub-featured__facts {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.hub-featured__fact {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.35fr) 1fr;
  gap: 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.hub-featured__fact:last-child {
  border-bottom: 0;
}

.hub-featured__fact dt {
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.hub-featured__fact dd {
  margin: 0;
  font-weight: var(--font-weight-medium);
}

.hub-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hub-featured__actions .button {
  min-height: 3rem;
}

.hub-featured__note {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.hub-featured__registration {
  margin-top: clamp(1.25rem, 3vw, 1.8rem);
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid rgba(193, 95, 57, 0.22);
  border-radius: clamp(1rem, 2vw, 1.35rem);
  background: var(--color-surface-translucent);
  box-shadow: 0 0.8rem 2.5rem rgba(90, 59, 39, 0.045);
}

.hub-featured__registration--compact {
  max-width: 43rem;
  padding: clamp(0.95rem, 2vw, 1.2rem);
}

.hub-featured__registration--compact .hub-featured__registration-intro {
  max-width: 40rem;
}

.hub-featured__registration--compact .hub-featured__registration-actions {
  margin-top: 0.9rem;
}

.hub-featured__registration--compact .hub-featured__registration-note {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
}

.hub-featured__registration-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--color-brand-primary);
  font-size: 0.72rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-featured__registration h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.hub-featured__registration-intro {
  max-width: 46rem;
  margin: 0.55rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.hub-featured__registration-steps {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: registration-step;
}

.hub-featured__registration-steps li {
  position: relative;
  min-height: 2.25rem;
  padding: 0.15rem 0 0.15rem 2.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  counter-increment: registration-step;
}

.hub-featured__registration-steps li::before {
  content: counter(registration-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid var(--color-brand-line);
  border-radius: var(--radius-circle);
  background: var(--color-brand-wash);
  color: var(--color-brand-primary);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
}

.hub-featured__registration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hub-featured__registration-actions .button {
  min-height: 3.15rem;
}

.hub-featured__registration-note {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-small);
  background: rgba(193, 95, 57, 0.065);
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.hub-featured__registration-note strong {
  color: var(--color-text-default);
}

.hub-featured__instructor {
  align-self: start;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid rgba(193, 95, 57, 0.16);
  border-radius: clamp(1.15rem, 2vw, 1.6rem);
  background: var(--color-surface-translucent);
  box-shadow: 0 1.1rem 3rem rgba(90, 59, 39, 0.06);
}

.hub-featured__portrait-wrap {
  position: relative;
  width: min(100%, 14rem);
  margin-inline: auto;
}

.hub-featured__portrait-wrap::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  width: 3.4rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-brand-line);
  border-radius: var(--radius-circle);
  background: var(--color-brand-wash);
}

.hub-featured__portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 48% 52% 42% 58% / 45% 44% 56% 55%;
}

.hub-featured__instructor-copy {
  margin-top: 1rem;
  text-align: center;
}

.hub-featured__instructor-label {
  margin: 0 0 0.25rem;
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-featured__instructor h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.hub-featured__instructor-copy > p:not(.hub-featured__instructor-label) {
  margin: 0.45rem auto 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.hub-featured__instructor a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--color-brand-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  text-underline-offset: 0.18em;
}

@container hub-content (min-width: 38rem) {
  .hub-featured__dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container hub-content (min-width: 54rem) {
  .hub-featured {
    grid-template-columns: minmax(0, 1.65fr) minmax(13rem, 0.7fr);
    align-items: start;
  }

  .hub-featured--grouped .hub-featured__instructor {
    max-width: 17rem;
    justify-self: end;
  }
}

@media (max-width: 32rem) {
  .hub-featured__actions,
  .hub-featured__registration-actions {
    flex-direction: column;
  }

  .hub-featured__actions .button,
  .hub-featured__registration-actions .button {
    width: 100%;
  }

  .hub-featured__fact {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* --- Rahmen-Block („Ein gemeinsamer Rahmen“) ---------------------------- */

.hub-framework {
  max-width: var(--measure);
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-bg-soft);
}

.hub-framework h2 {
  margin: 0;
  font-size: var(--font-size-h3);
}

/* Telefonbreiten: Icon oben ausrichten, damit mehrzeilige Titel sauber
   neben dem Icon beginnen. */
@media (max-width: 30rem) {
  .hub-card {
    align-items: start;
  }
}

@media (min-width: 48rem) {
  .page-hub .tmpl-hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .page-hub .tmpl-hero h1 {
    font-size: clamp(3.25rem, 7vw, 5.25rem);
  }

  .page-hub .tmpl-hero__inner--centered .sec-head h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
  }

  .hub-themes {
    margin-bottom: var(--space-2xl);
  }

  .hub-lead {
    margin-bottom: var(--space-2xl);
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .hub-card--wide {
    grid-column: 1 / -1;
  }

  .hub-card {
    align-content: start;
    align-items: start;
    padding: var(--space-lg);
  }

  .hub-card__icon {
    align-self: center;
  }
}

/* Kursübersicht: hervorgehobenen Titelteil wie im Startseiten-Hero
   gezielt in eine neue Zeile setzen. */
.page-kurse .tmpl-hero h1 em {
  display: block;
}

/* contact teaser */
.service-contact {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--color-border-subtle);
  background: linear-gradient(105deg, var(--color-bg-base), var(--color-bg-soft));
}

.service-contact::after {
  position: absolute;
  top: 50%;
  right: -5.625rem;
  width: clamp(13.125rem, 25vw, 22.5rem);
  aspect-ratio: 1;
  border: 1px solid var(--color-brand-line);
  border-radius: var(--radius-circle);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.service-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-contact__copy {
  max-width: 47.5rem;
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-brand-accent);
}

.service-contact__eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-contact h2 {
  max-width: 25ch;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.025em;
}

.service-contact__copy > p:last-child {
  max-width: 38.75rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-lead);
}

.service-contact__button {
  width: 100%;
  gap: var(--space-sm);
  min-height: 3.375rem;
}

.service-contact__arrow {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform var(--transition);
}

.service-contact__button:hover .service-contact__arrow {
  transform: translateX(var(--space-2xs));
}

@media (min-width: 36rem) {
  .service-contact__button {
    width: fit-content;
  }
}

@media (min-width: 48rem) {
  .service-contact__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-2xl);
  }

  .service-contact__copy {
    padding-left: var(--space-xl);
  }
}

/* v4.1.8 – klarere Trennung zwischen Kursen und Workshops */
.page-kurse .hub-group-heading--featured {
  margin-top: clamp(4.25rem, 8vw, 6.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.page-kurse .hub-group-heading--featured > p:last-child:not(.eyebrow) {
  margin-top: clamp(0.75rem, 1.4vw, 1rem);
}

.hub-featured__date--compact .hub-featured__date-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.hub-featured__date--compact .hub-featured__date-separator {
  color: var(--color-text-muted);
}

.hub-featured__time-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--color-text-muted);
}

.hub-featured__time-inline svg {
  flex: 0 0 auto;
  stroke: currentColor;
}

.hub-featured__date--compact .hub-featured__time-inline small {
  display: inline;
  margin-top: 0;
  white-space: nowrap;
}

/* v4.1.9 – Workshop-Uhrzeiten etwas größer und ruhiger lesbar */
.page-kurse .hub-featured__date small {
  font-size: clamp(0.98rem, 0.94rem + 0.12vw, 1.05rem);
  line-height: 1.35;
}

@media (max-width: 38rem) {
  .page-kurse .hub-group-heading--featured {
    margin-top: clamp(3.5rem, 14vw, 4.5rem);
  }

  .hub-featured__date--compact .hub-featured__date-inline {
    gap: 0.32rem;
  }
}

/* v4.1.23 – Variante A: großzügiger Workshop-Rhythmus und symmetrische Details */
.page-kurse .hub-group-heading--featured {
  margin-top: clamp(5rem, 9vw, 7.5rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.page-kurse .hub-group-heading--featured > p:last-child:not(.eyebrow) {
  max-width: 44rem;
  margin-top: 0.9rem;
  line-height: 1.7;
}

.page-kurse .hub-featured {
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-kurse .hub-featured::before {
  display: none;
}

.page-kurse .hub-featured__content {
  min-width: 0;
  padding: clamp(1.6rem, 3.6vw, 3rem);
  border: 1px solid var(--color-brand-line);
  border-radius: clamp(1.35rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(193, 95, 57, 0.08), transparent 30%),
    color-mix(in srgb, var(--color-bg-surface) 94%, var(--color-brand-wash));
  box-shadow: 0 1.35rem 4rem rgba(90, 59, 39, 0.055);
}

.page-kurse .hub-featured__badges {
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.page-kurse .hub-featured__badge {
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
}

.page-kurse .hub-featured__title {
  max-width: 17ch;
  font-size: clamp(2.35rem, 5.4vw, 3.75rem);
  line-height: 1.03;
}

.page-kurse .hub-featured__subtitle {
  max-width: 38rem;
  margin-top: 0.85rem;
  font-size: clamp(1.2rem, 2.35vw, 1.62rem);
  line-height: 1.3;
}

.page-kurse .hub-featured__description {
  max-width: 46rem;
  margin-top: 1.2rem;
  line-height: 1.78;
}

.page-kurse .hub-featured__topics {
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.page-kurse .hub-featured__topics li {
  padding: 0.35rem 0.72rem;
}

.page-kurse .hub-featured__dates {
  gap: 1rem;
  margin-top: 1.85rem;
}

.page-kurse .hub-featured__date {
  min-height: 5.4rem;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-color: var(--color-border-subtle);
  border-radius: 1rem;
}

.page-kurse .hub-featured__date-icon {
  width: 2.65rem;
  height: 2.65rem;
}

.page-kurse .hub-featured__date time {
  font-size: 1rem;
  line-height: 1.35;
}

.page-kurse .hub-featured__date small {
  margin-top: 0.22rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.page-kurse .hub-featured__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.35rem;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.page-kurse .hub-featured__fact {
  grid-template-columns: minmax(5.75rem, 0.22fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
}

.page-kurse .hub-featured__fact dt,
.page-kurse .hub-featured__fact dd {
  line-height: 1.5;
}

.page-kurse .hub-featured__actions--registration {
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.page-kurse .hub-featured__actions--registration .button {
  min-height: 3.25rem;
  padding-inline: 1.35rem;
}

.page-kurse .hub-featured__instructor {
  width: 100%;
  padding: clamp(1.35rem, 2.7vw, 1.8rem);
  border-color: var(--color-border-subtle);
  border-radius: clamp(1.35rem, 2.3vw, 1.8rem);
  box-shadow: 0 1.35rem 4rem rgba(90, 59, 39, 0.055);
}

.page-kurse .hub-featured__portrait-wrap {
  width: min(100%, 15.5rem);
}

.page-kurse .hub-featured__instructor-copy {
  margin-top: 1.4rem;
  text-align: left;
}

.page-kurse .hub-featured__instructor-label {
  margin-bottom: 0.4rem;
}

.page-kurse .hub-featured__instructor h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
}

.page-kurse .hub-featured__instructor-copy > p:not(.hub-featured__instructor-label) {
  margin-top: 0.65rem;
  line-height: 1.65;
}

.page-kurse .hub-featured__instructor a {
  margin-top: 1rem;
}

@media (min-width: 64rem) {
  .page-kurse .hub-featured {
    grid-template-columns: minmax(0, 1.72fr) minmax(17rem, 0.72fr);
    align-items: start;
    gap: clamp(2.25rem, 3.8vw, 3.75rem);
  }

  .page-kurse .hub-featured--grouped .hub-featured__instructor {
    max-width: 20rem;
    justify-self: end;
  }
}

@media (max-width: 47.999rem) {
  .page-kurse .hub-group-heading--featured {
    margin-top: clamp(4rem, 14vw, 5rem);
    margin-bottom: 1.75rem;
  }

  .page-kurse .hub-featured__content {
    padding: 1.35rem;
  }

  .page-kurse .hub-featured__dates {
    gap: 0.8rem;
  }

  .page-kurse .hub-featured__fact {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-block: 0.9rem;
  }
}

/* ============================================================
   STUFE 2B – FEATURED/HUB DARK THEME
   ============================================================ */
html[data-theme="dark"] .hub-featured__badge,
html[data-theme="dark"] .hub-featured__date,
html[data-theme="dark"] .hub-featured__registration,
html[data-theme="dark"] .hub-featured__instructor {
  border-color: var(--color-border-subtle);
  background: color-mix(in srgb, var(--color-bg-surface) 94%, transparent);
  color: var(--color-text-default);
  box-shadow: var(--shadow-surface-soft);
}

html[data-theme="dark"] .hub-featured__registration-note {
  color: var(--color-text-muted);
}
