/* neuerungen.css - Seite "Neuerungen / What's new": senkrechte Zeitleiste mit Tageskarten.
   Nur Tokens aus style.css (Build 7). Keine Animation, keine Bewegung. */
.nw { max-width: var(--w-text); margin: 0 auto; } /* Build 13 (Dev L2): Token */
.nw .page-head { margin-bottom: 0; }

/* Sprungleiste: kleine Datums-Chips */
.nw-toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.nw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Zeitleiste */
.nw-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.nw-item { position: relative; padding-left: 2rem; }
.nw-item::before { /* Linie */
  content: ""; position: absolute; left: .55rem; top: 1.6rem; bottom: calc(-1 * var(--space-5));
  width: var(--nw-line-w, 2px); background: var(--line); }
.nw-item:last-child::before { bottom: 0; }
.nw-item::after { /* Punkt */
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--accent-edge, var(--accent)); box-sizing: border-box; }

.nw-day { scroll-margin-top: 5.5rem; gap: var(--space-4); }
.nw-day:focus { outline: none; }
.nw-day:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.nw-day__head { gap: var(--space-2); }
.nw-date { margin: 0; align-self: flex-start; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.nw-date .icon { width: 1.1em; height: 1.1em; color: var(--text-muted); }
.nw-day h2 { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.45rem); line-height: 1.3; }

.nw-group { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: var(--nw-group-w, 1px) solid var(--line); }
.nw-group h3 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: var(--fs-body); }
.nw-group h3 .icon { color: var(--care-line); flex: none; }
.nw-list { margin: 0; padding-left: 1.3rem; display: grid; gap: .55rem; line-height: 1.6; max-width: 62ch; }
.nw-list li::marker { color: var(--accent-text); }
.nw-list li { overflow-wrap: break-word; }
.nw-note { max-width: 40rem; }

@media (min-width: 640px) {
  .nw-item { padding-left: 2.6rem; }
  .nw-item::before { left: .8rem; }
  .nw-item::after { width: 1.25rem; height: 1.25rem; top: 1.1rem; }
}
@media (max-width: 480px) {
  .nw-item { padding-left: 1.4rem; }
  .nw-item::before { left: .35rem; }
  .nw-item::after { width: 1rem; height: 1rem; top: 1.05rem; }
  .nw-day.card { padding: 1rem .9rem; border-radius: var(--radius-m); }
  .nw-list { padding-left: 1.1rem; }
}

/* Barrierefreie Ansicht: staerkere Linie, kraeftigere Kanten */
html.view-a11y body { --nw-line-w: 3px; --nw-group-w: 2px; } /* Build 14 (C14): Tokens; Kartenkante 2px kommt aus --edge-w */

@media (forced-colors: active) {
  .nw-item::before { background: CanvasText; }
  .nw-item::after { forced-color-adjust: none; background: Highlight; border-color: Canvas; box-shadow: 0 0 0 2px CanvasText; }
  .nw-day.card, .nw-group { border-color: CanvasText; }
  .nw-group h3 .icon, .nw-date .icon { color: CanvasText; }
}

@media print {
  .nw-toc, .nw-note a { display: none; }
  .nw-timeline { gap: 1rem; }
  .nw-item::after { box-shadow: none; background: #000; }
  .nw-item::before { background: #999; }
  .nw-day.card { border-color: #999; box-shadow: none; break-inside: avoid-page; }
  .nw-group { break-inside: avoid; }
}
