/* Homepage experience: isolated from legacy hero and route-card styles. */
.homepage main > .learning-horizon { order: 0; }
.homepage main > #kurse.entry-paths { order: 1; }
.homepage main > .advice-offers { order: 2; }
.homepage main > .upcoming-section { order: 2; }
.compact-header-phone { display: none; }
.upcoming-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
.upcoming-grid h3 { margin: 12px 0; font-size: 21px; line-height: 1.3; }
.upcoming-grid p { font-size: 14px; line-height: 1.65; }
.webinar-feature { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid #dce3e8; border-radius: 8px; background: #f6f8fb; color: #1d2433; }
.webinar-topline { display: flex; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 11px; color: #596276; }
.webinar-image { display: block; width: calc(100% + 56px); max-width: none; height: auto; flex-shrink: 0; margin: -28px -28px 24px; border-radius: 8px 8px 0 0; }
.webinar-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #1d2433; }
.webinar-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #087e91; }
.webinar-date { display: flex; align-items: center; gap: 24px; width: 100%; padding: 24px 0; margin: 0 0 8px; border-bottom: 1px solid #dce3e8; font-size: 14px; line-height: 1.6; }
.webinar-date time { display: flex; gap: 12px; align-items: center; }
.webinar-date strong { font-size: 42px; line-height: 1; font-weight: 600; }
.webinar-date time span { max-width: 70px; line-height: 1.4; }
.webinar-date small { font-size: 11px; color: #596276; }
.upcoming-grid .webinar-feature h3 { font-size: 26px; max-width: 24ch; margin: 16px 0 8px; }
.webinar-feature > p { margin: 0 0 22px; max-width: 52ch; }
.webinar-speakers { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-bottom: 26px; font-size: 13px; }
.webinar-speakers span { display: block; margin-top: 4px; color: #596276; font-size: 11px; }
.webinar-feature .button { margin-top: auto; display: inline-flex; gap: 24px; justify-content: space-between; }
.course-start-list { list-style: none; margin: 0 0 20px; padding: 0; max-height: 295px; overflow: auto; scrollbar-width: thin; }
.course-start-list li { border-bottom: 1px solid #dce3e8; padding: 13px 0; }
.course-start-list li a { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; }
.course-start-list li span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: #596276; }
.upcoming-section [hidden] { display: none !important; }
@media (min-width: 761px) {
  .homepage .site-header.is-compact { background: rgba(255,255,255,.97); }
  .homepage .site-header.is-compact .utility-bar,
  .homepage .site-header.is-compact .training-nav { display: none; }
  .homepage .site-header.is-compact .nav-row { min-height: 62px; padding-block: 6px; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 18px; }
  .homepage .site-header.is-compact .brand { flex: 0 0 165px; width: 165px; }
  .homepage .site-header.is-compact .brand-logo { width: 165px; }
  .homepage .site-header.is-compact .main-nav { display: flex; flex: 0 1 auto; width: auto; margin-left: auto; gap: 14px; }
  .homepage .site-header.is-compact .main-nav > a,
  .homepage .site-header.is-compact .main-nav summary { font-size: 12px; }
  .homepage .site-header.is-compact .compact-header-phone { display: block; flex-shrink: 0; font-size: 12px; font-weight: 600; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .homepage .site-header.is-compact .compact-header-phone { display: none; }
}
@media (max-width: 760px) {
  .upcoming-grid { grid-template-columns: 1fr; gap: 28px; }
  .webinar-feature { padding: 22px; }
  .webinar-image { width: calc(100% + 44px); margin: -22px -22px 22px; }
  .upcoming-grid .webinar-feature h3 { font-size: 23px; }
  .webinar-date { gap: 16px; flex-wrap: wrap; }
  .course-start-list { max-height: none; }
}
.academy-preview #academy-scene { width: 100%; height: 100%; display: block; }
.academy-preview .horizon-art.is-ready { background: #f6f8fb; }
.academy-preview .horizon-art.is-ready .horizon-fallback,
.academy-preview .horizon-art.is-ready::after { display: none; }
.academy-motion { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #c4d2d7; border-radius: 50%; background: white; color: #1d2433; cursor: pointer; }
.academy-motion[hidden] { display: none; }
.academy-motion:focus-visible { outline: 3px solid #1d2433; outline-offset: 3px; }
.homepage .advice-offers { background: #edf8fa; }
.advice-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.advice-offer-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.advice-offer-grid h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.advice-offer-grid p { margin: 0 0 18px; max-width: 52ch; font-size: 15px; line-height: 1.6; }
.advice-offer-grid .button { margin-top: auto; }
.advice-offer-grid small { display: block; margin-top: 10px; font-size: 12px; color: #596276; }
.advice-offer-grid article + article { border-left: 1px solid #cbdfe4; padding-left: 40px; }
.homepage .compact-training-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.audience-direct { display: flex; gap: 18px; align-items: center; }
.homepage .audience-direct a { padding: 10px 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.audience-direct a:hover { text-decoration: underline; text-underline-offset: 5px; }
.audience-direct a:focus-visible { outline: 2px solid #2c2a6b; outline-offset: 3px; }
.homepage .compact-training-nav > .quick-menu { flex: 0 1 125px; }
.homepage .compact-training-nav > .search-box { flex: 1 1 230px; min-width: 180px; }
.learning-horizon {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  background: #f6f8fb;
  color: var(--nh-text-dark);
}
.horizon-art { position: absolute; inset: 0; z-index: -1; }
.horizon-art { pointer-events: none; overflow: hidden; }
.horizon-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.horizon-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #f6f8fb 0%, rgba(246,248,251,0) 17%, rgba(246,248,251,0) 80%, #f6f8fb 100%), linear-gradient(90deg, #f6f8fb 0%, #f6f8fb 35%, rgba(246,248,251,.9) 44%, rgba(246,248,251,0) 64%); }
.glass-plane { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.12); backdrop-filter: blur(7px); box-shadow: 0 12px 35px rgba(44,42,107,.08), inset 0 1px 0 white; border-radius: 6px; transform: translate(var(--glass-x, 0px), var(--glass-y, 0px)); }
.glass-plane-back { width: 65px; height: 150px; right: 38%; top: 8%; }
.glass-plane-front { width: 140px; height: 45px; right: 3%; bottom: 3%; }
.horizon-content { width: min(100% - 48px, 1180px); margin: auto; padding: 40px 0 60px; }
.horizon-kicker { margin: 0 0 23px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.learning-horizon h1 { margin: 0; max-width: 620px; color: var(--nh-text-dark); font-size: 42px; font-weight: 600; line-height: 1.16; letter-spacing: 0; }
.horizon-intro { max-width: 455px; font-size: 16px; line-height: 1.6; margin: 20px 0 24px; color: #1d2433; }
.horizon-cta { display: inline-flex; gap: 30px; align-items: center; min-height: 50px; padding: 12px 22px; border-radius: 4px; color: var(--nh-text-dark); background: var(--nh-cyan); font-size: 14px; font-weight: 600; text-decoration: none; }
.horizon-cta span { font-size: 22px; line-height: 1; }
.horizon-advice { display: block; width: fit-content; padding: 13px 0; font-size: 13px; text-underline-offset: 4px; }
.horizon-bottom { position: absolute; bottom: 18px; left: max(24px, calc((100% - 1180px) / 2)); right: max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.horizon-topics { display: flex; gap: 25px; flex-wrap: wrap; }
.horizon-topics a { font-size: 12px; font-weight: 600; text-decoration: none; padding: 8px 0; }
.motion-control { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #c8ccd6; border-radius: 50%; color: var(--nh-text-dark); background: #fff; cursor: pointer; font: inherit; }
.motion-control[hidden] { display: none; }
.entry-paths { padding: 22px max(24px, calc((100% - 1180px) / 2)) 26px; background: white; }
.entry-heading { display: flex; gap: 24px; align-items: baseline; margin-bottom: 14px; }
.entry-heading p { margin: 0; color: #596276; font-size: 12px; font-weight: 600; }
.entry-heading h2 { font-size: 23px; margin: 0; font-weight: 600; color: var(--nh-text-dark); letter-spacing: 0; }
.entry-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #dcdfe7; }
.entry-options > a { position: relative; padding: 18px 36px 18px 22px; text-decoration: none; border-left: 1px solid #dcdfe7; min-width: 0; transition: background 180ms ease; }
.entry-options > a:first-child { border-left: 0; padding-left: 0; }
.entry-options > a:hover { background: #f6f8fb; }
.entry-options span, .entry-options strong { display: block; }
.entry-label { font-size: 12px; font-weight: 600; color: var(--nh-text-dark); }
.entry-options strong { font-size: 17px; line-height: 1.4; font-weight: 600; margin: 10px 0 6px; }
.entry-detail { font-size: 12px; line-height: 1.65; color: #596276; }
.entry-arrow { position: absolute; right: 14px; top: 20px; font-size: 22px; color: var(--nh-text-dark); }
.home-course-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-course-links a { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid #1fc0db; padding-top: 18px; text-decoration: none; }
.home-course-links span, .home-course-links small { font-size: 12px; }
.home-course-links strong { font-size: 17px; }
.learning-horizon a:focus-visible, .entry-paths a:focus-visible, .motion-control:focus-visible { outline: 3px solid #f46c0f; outline-offset: 4px; }
/* A shared background keeps the photograph continuous across section edges. */
@media (min-width: 681px) {
  body.homepage { position: relative; isolation: isolate; }
  body.homepage::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: 0 0 auto; height: max(800px, calc(100vw * 941 / 1672)); background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.5) 18%, transparent 34%, transparent 65%, #fff 100%), linear-gradient(90deg, #f6f8fb 0%, rgba(246,248,251,.96) 32%, rgba(246,248,251,.8) 44%, transparent 65%), url('hero-training-neutral.webp') center top / 100% auto no-repeat; }
  .homepage .site-header { background: rgba(255,255,255,.76); }
  .homepage .learning-horizon { background: transparent; }
  .homepage .horizon-art { visibility: hidden; }
  .homepage .entry-paths { background: rgba(255,255,255,.78); }
}
@media (max-width: 1050px) {
  .academy-preview .learning-horizon { display: flex; flex-direction: column; min-height: 0; }
  .academy-preview .horizon-content { order: 0; padding: 30px 0 12px; }
  .academy-preview .horizon-art { position: relative; inset: auto; order: 1; z-index: auto; width: 100%; height: 260px; }
  .academy-preview .horizon-bottom { position: static; order: 2; padding: 0 24px 8px; }
  .academy-preview .horizon-fallback { height: 100%; }
  .learning-horizon h1 { font-size: 36px; max-width: 480px; }
  .horizon-intro { max-width: 390px; font-size: 16px; }
  .horizon-content { padding-top: 40px; }
  .learning-horizon { min-height: 420px; }
  .entry-heading { display: block; }
  .entry-heading p { margin-bottom: 8px; }
}
@media (max-width: 680px) {
  .advice-offer-grid { grid-template-columns: 1fr; gap: 24px; }
  .advice-offer-grid article + article { border-left: 0; border-top: 1px solid #cbdfe4; padding: 24px 0 0; }
  .advice-offer-grid h3 { font-size: 18px; }
  .homepage .compact-training-nav { gap: 6px; }
  .audience-direct { width: 100%; justify-content: space-between; gap: 8px; }
  .homepage .audience-direct a { font-size: 11px; width: auto; text-align: left; }
  .learning-horizon { min-height: 0; display: flex; flex-direction: column; }
  .horizon-content { order: 0; width: calc(100% - 36px); padding: 25px 0 18px; }
  .horizon-kicker { font-size: 10px; margin-bottom: 16px; }
  .learning-horizon h1 { font-size: 30px; max-width: 100%; }
  .horizon-intro { font-size: 14px; margin: 18px 0; max-width: 360px; }
  .horizon-cta { min-height: 46px; font-size: 13px; }
  .horizon-advice { font-size: 12px; }
  .horizon-art { position: relative; inset: auto; order: 1; z-index: auto; width: 100%; height: auto; aspect-ratio: 1672 / 941; }
  .horizon-fallback { width: 100%; height: 100%; inset: 0; object-position: right center; transform: none; }
  .horizon-art::after { display: block; background: linear-gradient(180deg, #f6f8fb 0%, rgba(246,248,251,0) 20%, rgba(255,255,255,0) 80%, #fff 100%); }
  .glass-plane-back { width: 90px; height: 65px; top: auto; bottom: 100px; right: 5%; }
  .glass-plane-front { width: 110px; height: 60px; right: auto; left: 6%; bottom: 16px; }
  .glass-plane { display: none; }
  .horizon-bottom { position: static; order: 2; padding: 0 18px; background: #fff; border-bottom: 1px solid #e5e8ee; }
  .horizon-topics { width: 100%; gap: 12px; justify-content: space-between; }
  .horizon-topics a { display: flex; align-items: center; min-height: 44px; font-size: 11px; background: transparent; }
  .entry-paths { padding: 25px 18px 28px; }
  .entry-heading h2 { font-size: 20px; }
  .entry-options { grid-template-columns: 1fr; }
  .entry-options > a, .entry-options > a:first-child { border-left: 0; border-bottom: 1px solid #dcdfe7; padding: 17px 35px 17px 0; }
  .entry-options > a:last-child { border-bottom: 0; }
  .entry-options strong { font-size: 16px; margin: 4px 0; }
  .entry-options .entry-arrow { right: 5px; top: 28px; }
  .home-course-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .entry-options > a { transition: none; } }
