/* Timeline "Von Lenova zu Novaire", relaunch 25.11.2026.
   One centred column: a line on the left, each chapter a row of date, title and text.
   Nothing is pinned. Without JavaScript or with reduced motion the line is full and every chapter bright;
   with motion, storyline.js sets [data-story-live], fills the line (--story-progress) and marks chapters .is-reached.
   Selectors carry .marketing-page .story-section so they outrank the older rules in evolution.css and premium.css. */

.marketing-page main > .story-section { display: block; --story-indent: 44px; }
.marketing-page .story-section .story-column { max-width: 720px; margin-inline: auto; }
.marketing-page .story-section .story-column > h2 {
  margin: 0 0 clamp(48px, 6vw, 80px);
  color: var(--text);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}

/* The line: a faint track, and a fill from white to green on top of it. */
.marketing-page .story-section .story-timeline {
  position: relative; display: block;
  margin: 0; padding: 0 0 0 var(--story-indent);
  border: 0; list-style: none;
}
.marketing-page .story-section .story-timeline::before,
.marketing-page .story-section .story-timeline::after {
  content: ""; display: block;
  position: absolute; top: 8px; bottom: 8px; left: 3px; width: 2px;
  border-radius: 1px; pointer-events: none;
}
.marketing-page .story-section .story-timeline::before { background: #ffffff1a; transform: none; }
.marketing-page .story-section .story-timeline::after {
  background: linear-gradient(to bottom, #ffffff, var(--neon));
  transform-origin: top;
  transform: scaleY(var(--story-progress, 1));
}

/* Chapters. */
.marketing-page .story-section .story-timeline > li.chapter {
  position: relative; display: block;
  padding: 0 0 clamp(48px, 6vw, 72px);
  opacity: 1; visibility: visible;
}
.marketing-page .story-section .story-timeline > li.chapter:last-child { padding-bottom: 0; }
.marketing-page .story-section .story-timeline > li.chapter::before {
  content: ""; position: absolute; z-index: 1;
  top: 6px; left: calc(4px - var(--story-indent) - 4.5px);
  width: 9px; height: 9px; box-sizing: border-box;
  border: 1px solid #ffffff; border-radius: 50%;
  background: #ffffff; box-shadow: none;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.marketing-page .story-section .story-timeline > li.story-next::before { border-color: var(--neon); background: var(--neon); }
.marketing-page .story-section .story-timeline > li.chapter > div {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
.marketing-page .story-section .story-timeline time {
  display: block; margin: 0 0 10px; padding: 0;
  color: #9a9fae; text-align: left;
  font-size: 13px; line-height: 1.4; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.marketing-page .story-section .story-timeline h3 {
  max-width: none; margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15;
  text-wrap: balance;
}
.marketing-page .story-section .story-timeline p {
  max-width: 560px; margin: 0;
  color: #a9adba; font-size: 17px; line-height: 1.47;
}
.marketing-page .story-section .story-timeline .story-count {
  display: block; margin: 18px 0 8px;
  color: var(--text); background: none;
  -webkit-background-clip: border-box; background-clip: border-box;
  font-size: clamp(56px, 8vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.marketing-page .story-section .story-timeline .story-detail {
  display: block; margin-top: 12px;
  color: #858a9b; font-size: 13px; line-height: 1.5;
}

/* With motion: chapters ahead stay dimmed until their top passes 60 % of the viewport, then stay bright. */
.marketing-page .story-section[data-story-live] .story-timeline > li.chapter {
  opacity: .45;
  transition: opacity .5s var(--ease-out);
}
.marketing-page .story-section[data-story-live] .story-timeline > li.chapter.is-reached { opacity: 1; }
.marketing-page .story-section[data-story-live] .story-timeline > li.chapter:not(.is-reached)::before {
  border-color: #ffffff59; background: #07080c;
}

@media (max-width: 600px) {
  .marketing-page main > .story-section { --story-indent: 30px; }
  .marketing-page .story-section .story-timeline > li.chapter { padding-bottom: 44px; }
  .marketing-page .story-section .story-timeline p { font-size: 16px; }
}
@media (forced-colors: active) {
  .marketing-page .story-section .story-timeline::before { background: GrayText; }
  .marketing-page .story-section .story-timeline::after,
  .marketing-page .story-section .story-timeline > li.chapter::before { background: Highlight; border-color: Highlight; }
}
