/* Retrograde Amnesie: (M)ein Leben mit Gedächtnisverlust
   Eine Zeitachse, die erst am 7. Mai 2020 beginnt. Davor stehen nur einzelne Striche.
   Text: Literata. Titel und Bedienung: Familjen Grotesk. Beide liegen in assets/fonts. */

@font-face { font-family: "Literata"; src: url("fonts/literata-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/familjen-grotesk-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --papier: #F1F2EE;
  --flaeche: #E4E6E1;
  --graphit: #1F2328;
  --neben: #5B616B;
  --glas: #2F6A5C;
  --scherbe: #B5652A;
  --linie: #A7ABAD;
  --auf-glas: #F1F2EE;

  --lese: "Literata", Georgia, serif;
  --titel: "Familjen Grotesk", "Helvetica Neue", sans-serif;

  --spalte: 56px;      /* Spalte, in der die Achse läuft */
  --achse: 27.5px;     /* x-Position der Achse */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #15181B; --flaeche: #1F2327; --graphit: #E6E7E3; --neben: #9AA1A9;
    --glas: #7FB8A6; --scherbe: #E39A55; --linie: #4B5157; --auf-glas: #15181B;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--graphit);
  font: 400 17px/1.62 var(--lese);
  padding-bottom: 40px;
}
html.mit-player body { padding-bottom: 150px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: var(--glas); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glas); outline-offset: 3px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 8px; top: -60px; background: var(--graphit); color: var(--papier); padding: 10px 14px; font: 500 15px var(--titel); z-index: 20; }
.sprung:focus { top: 8px; }

/* Kopf */
.kopf { padding: 22px 20px 0 20px; display: flex; flex-direction: column; gap: 14px; }
.marke { font: 400 16px/1.3 var(--titel); }
.marke a { color: var(--graphit); text-decoration: none; display: inline-block; }
.marke-thema { display: block; font-weight: 600; font-size: 19px; letter-spacing: -0.005em; }
.marke-zeile { display: block; color: var(--neben); }
.marke-m { color: var(--graphit); font-weight: 600; }
.marke-m .kl { color: var(--glas); font-weight: 400; }
.wege { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 400 15px var(--titel); }
.wege a { color: var(--neben); text-decoration: none; padding: 6px 0; }
.wege a:hover, .wege button:hover { color: var(--graphit); text-decoration: underline; }
.wege button { font: inherit; color: var(--neben); padding: 6px 0; }

/* Einstieg: Leere, und eine Achse, die noch nicht da ist */
.blatt { position: relative; }
.anfang { display: grid; grid-template-columns: var(--spalte) 1fr; min-height: 380px; padding-right: 20px; position: relative; }
.vorher { position: relative; }
.vorher i { position: absolute; left: var(--achse); width: 1px; background: var(--linie); }
.vorher i:nth-child(1) { top: 21%; height: 3px; }
.vorher i:nth-child(2) { top: 44%; height: 9px; }
.vorher i:nth-child(3) { top: 63%; height: 22px; }
.vorher i:nth-child(4) { top: 84%; bottom: 0; }
.anfang-text { align-self: end; padding: 150px 0 40px 0; }
.satz { font: 400 27px/1.26 var(--lese); letter-spacing: -0.012em; }
.satz span { display: block; }
.satz .z2 { margin-top: 0.18em; }
.satz-weiter { margin-top: 16px; color: var(--neben); max-width: 17em; margin-left: 22px; }
.satz-quelle { margin-top: 22px; font: 400 14px var(--titel); color: var(--neben); margin-left: 22px; }

/* Der Tag, an dem die Achse beginnt */
.tag { display: grid; grid-template-columns: var(--spalte) 1fr; padding-right: 20px; position: relative; padding-bottom: 44px; }
.tag::before { content: ""; position: absolute; left: var(--achse); top: 0; bottom: 0; width: 1px; background: var(--linie); }
.tag-strich { position: relative; }
.tag-strich::before { content: ""; position: absolute; left: 19px; top: 11px; width: 18px; height: 1px; background: var(--graphit); }
.tag-datum { font: 600 15px/1.5 var(--titel); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.tag-hinweis { margin-top: 6px; font: 400 15px/1.5 var(--titel); color: var(--neben); max-width: 26em; }

/* Folgen */
.folge { position: relative; display: grid; grid-template-columns: var(--spalte) 1fr; padding: 0 20px 68px 0; --ab: 30%; --rest: 16%; }
.folge::before, .folge::after { content: ""; position: absolute; left: var(--achse); width: 1px; background: var(--linie); }
.folge::before { top: 0; bottom: var(--ab); }
.folge::after { top: calc(100% - var(--rest)); bottom: 0; }
.folge.v1 { --ab: 22%; --rest: 9%; }
.folge.v2 { --ab: 41%; --rest: 24%; }
.folge.v3 { --ab: 18%; --rest: 0%; }
.folge.v4 { --ab: 52%; --rest: 0%; }
.folge.letzte { --rest: 0%; }
.folge.letzte::after { display: none; }

.nr { grid-column: 1; grid-row: 1 / span 2; align-self: start; justify-self: center; position: relative; z-index: 1; background: var(--papier); font: 400 42px/1 var(--titel); color: var(--neben); padding: 4px 0 10px; min-width: 30px; text-align: center; font-variant-numeric: lining-nums; }
.dauer { grid-column: 2; font: 400 14px/1.45 var(--titel); color: var(--neben); letter-spacing: 0.01em; padding-top: 6px; }
.dauer span + span::before { content: "· "; }
.inhalt { grid-column: 2; min-width: 0; }
.folge h3 { font: 600 22px/1.2 var(--titel); letter-spacing: -0.008em; margin-top: 4px; max-width: 17em; text-wrap: balance; }
.text { margin-top: 12px; max-width: 33em; }

/* Versatz: nicht alles steht auf derselben Kante */
.folge.v2 .text, .folge.v2 .hoeren, .folge.v2 .notizen, .folge.v2 .fehlt { margin-left: 18px; }
.folge.v4 .text { margin-left: 10px; }

/* Die Bonusfolge steht neben der Achse */
.folge.bonus { margin-top: 26px; padding-left: 34px; grid-template-columns: 40px 1fr; }
.folge.bonus::before, .folge.bonus::after { display: none; }
.folge.bonus .nr { justify-self: start; background: none; min-width: 0; }

.folge.aktiv .nr { color: var(--scherbe); }

/* Abspielen */
.hoeren { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.spiel { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--glas); display: grid; place-items: center; }
.spiel svg { width: 22px; height: 22px; fill: var(--auf-glas); }
.spiel:hover { background: color-mix(in srgb, var(--glas) 86%, var(--graphit)); }
.spiel .i-pause, .spiel.spielt .i-play { display: none; }
.spiel.spielt .i-pause { display: block; }
.fehlt { margin-top: 18px; font: 400 15px/1.4 var(--titel); color: var(--neben); }
.leer { padding: 0 20px 0 var(--spalte); font: 400 15px var(--titel); color: var(--neben); }
.hoeren-text { font: 500 15px/1.3 var(--titel); display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.stand { display: block; width: 132px; height: 2px; background: var(--linie); }
.stand i { display: block; height: 2px; background: var(--scherbe); }

/* Shownotes */
.notizen { margin-top: 22px; max-width: 33em; }
.notizen summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; font: 500 15px/1.3 var(--titel); color: var(--glas); padding: 11px 0; position: relative; }
.notizen summary::-webkit-details-marker { display: none; }
.notizen summary::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie); }
.notizen summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; color: var(--neben); }
.notizen[open] summary::after { content: "–"; }
.notizen .dateien { padding-top: 2px; }
.dateien li + li { border-top: 1px solid color-mix(in srgb, var(--linie) 55%, transparent); }
.dateien a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; text-decoration: none; color: var(--graphit); }
.dateien a:hover .d-name { text-decoration: underline; }
.d-name { font-size: 16px; line-height: 1.4; color: var(--glas); }
.d-art { flex: none; font: 400 13px var(--titel); color: var(--neben); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* Über den Podcast, Rückmeldung */
.abschnitt { padding: 96px 20px 0 20px; }
.abschnitt h2 { font: 600 15px/1.4 var(--titel); letter-spacing: 0.02em; color: var(--neben); }
.ueber-text { margin-top: 22px; max-width: 32em; }
.ueber-text p + p { margin-top: 1em; }
.ueber-text p:nth-child(2) { margin-left: 22px; }
.ueber-text .ueber-kern { font: 500 22px/1.28 var(--titel); letter-spacing: -0.008em; margin: 44px 0 44px 0; max-width: 15em; }
.ueber-text p:nth-child(5) { margin-left: 22px; }

.rueck-inhalt { margin-top: 22px; max-width: 32em; }
.rueck-meldung { margin-top: 18px; font: 500 16px/1.4 var(--titel); }
.formular { margin-top: 26px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld { margin-top: 20px; }
.feld label { display: block; font: 500 15px/1.4 var(--titel); margin-bottom: 7px; }
.feld .frei { font-weight: 400; color: var(--neben); margin-left: 6px; }
.feld input, .feld textarea { display: block; width: 100%; font: 400 17px/1.5 var(--lese); color: var(--graphit); background: transparent; border: 1px solid var(--neben); border-radius: 0; padding: 11px 12px; -webkit-appearance: none; appearance: none; }
.feld textarea { resize: vertical; min-height: 9em; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--glas); outline-offset: 1px; border-color: var(--glas); }
.feld [aria-invalid="true"] { border-color: var(--scherbe); border-width: 2px; }
.senden { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.knopf { font: 500 16px/1 var(--titel); background: var(--glas); color: var(--auf-glas); padding: 15px 26px; min-height: 48px; }
.knopf:hover { background: color-mix(in srgb, var(--glas) 86%, var(--graphit)); }
.knopf[disabled] { opacity: 0.55; cursor: default; }
.senden-meldung { font: 500 15px/1.4 var(--titel); }

/* Fuss mit Impressum und Datenschutz */
.fuss { margin-top: 112px; padding: 0 20px 28px 20px; font: 400 14px/1.6 var(--titel); color: var(--neben); }
.fuss-zeile { margin-bottom: 14px; }
.recht { border-top: 1px solid var(--linie); }
.recht:last-child { border-bottom: 1px solid var(--linie); }
.recht summary { list-style: none; cursor: pointer; padding: 13px 0; display: flex; gap: 10px; align-items: baseline; font: 500 15px/1.3 var(--titel); color: var(--graphit); }
.recht summary::-webkit-details-marker { display: none; }
.recht summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; color: var(--neben); }
.recht[open] summary::after { content: "–"; }
.recht-text { font: 400 16px/1.62 var(--lese); color: var(--graphit); max-width: 34em; padding: 4px 0 30px 0; }
.recht-text p + p { margin-top: 0.9em; }
.recht-text h3 { font: 600 15px/1.4 var(--titel); margin: 1.7em 0 0.4em; }
.recht-text .recht-stand { font: 400 14px var(--titel); color: var(--neben); margin-top: 1.6em; }
mark.offen { background: none; color: inherit; border-bottom: 2px solid var(--scherbe); }

/* Player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--flaeche); padding: 0 max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.p-balken { position: relative; height: 26px; margin: 0 4px; cursor: pointer; touch-action: none; }
.p-balken::before { content: ""; position: absolute; inset: -12px 0 -2px 0; }   /* grössere Fläche für den Daumen */
.p-spur, .p-fort { position: absolute; left: 0; top: 12px; height: 2px; }
.p-spur { right: 0; background: var(--linie); }
.p-fort { background: var(--scherbe); height: 3px; top: 11.5px; }
.p-griff { position: absolute; top: 5px; width: 3px; height: 16px; margin-left: -1.5px; background: var(--scherbe); }
/* Handy: Titel in einer eigenen Zeile, darunter die Bedienung */
.p-reihe { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: "titel titel titel titel titel" "spiel zeit zurueck vor tempo"; align-items: center; column-gap: 4px; row-gap: 6px; }
.player .spiel { grid-area: spiel; margin-right: 8px; }
.p-titel { display: contents; }
.p-folge { grid-area: titel; padding: 0 4px; font: 500 14px/1.3 var(--titel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-zeit { grid-area: zeit; color: var(--neben); font: 400 14px/1.3 var(--titel); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
#p-jetzt { color: var(--graphit); font-weight: 500; }
@media (max-width: 359px) { .p-rest { display: none; } }
.p-zurueck { grid-area: zurueck; } .p-vor { grid-area: vor; } .p-tempo { grid-area: tempo; }
.p-taste { min-width: 44px; height: 44px; font: 500 15px var(--titel); font-variant-numeric: tabular-nums; color: var(--graphit); }
.p-taste:hover { color: var(--glas); }
.p-tempo { color: var(--neben); min-width: 50px; }
.p-rest::before { content: " · "; }
.p-balken:focus-visible { outline-offset: 0; }
.p-balken.zieht .p-griff { height: 22px; top: 2px; width: 4px; margin-left: -2px; }

/* Ab Tablet: die Achse rückt nach innen, links davon bleibt es leer */
@media (min-width: 860px) {
  :root { --spalte: 88px; --achse: 43.5px; }
  body { font-size: 18px; }
  html.mit-player body { padding-bottom: 104px; }
  .kopf { flex-direction: row; justify-content: space-between; align-items: flex-start; max-width: 1120px; margin-inline: auto; padding: 34px 40px 0 40px; }
  .marke { font-size: 17px; }
  .marke-thema { font-size: 21px; }
  .wege { gap: 28px; padding-top: 2px; }

  .blatt { max-width: 1120px; margin-inline: auto; padding: 0 40px; }
  .anfang, .tag, .folge { grid-template-columns: 210px var(--spalte) minmax(0, 1fr); padding-right: 0; }
  .vorher { grid-column: 2; }
  .anfang { min-height: 520px; }
  .anfang-text { grid-column: 3; padding: 200px 0 72px 64px; }
  .satz { font-size: 35px; line-height: 1.24; }
  .satz span { display: inline; }
  .satz .z2 { margin-top: 0; }
  .satz .z2::before { content: "\A"; white-space: pre; }
  .satz-weiter { margin-left: 64px; font-size: 19px; }
  .satz-quelle { margin-left: 64px; }

  .tag { padding-bottom: 72px; }
  .tag::before, .folge::before, .folge::after { left: calc(210px + var(--achse)); }
  .tag-strich { grid-column: 2; }
  .tag-strich::before { left: 30px; width: 28px; top: 12px; }
  .tag-text { grid-column: 3; }
  .tag-datum { font-size: 16px; }
  .tag-hinweis { font-size: 16px; }

  .folge { padding-bottom: 104px; }
  .nr { grid-column: 2; grid-row: 1; font-size: 64px; padding: 0 0 14px; }
  .dauer { grid-column: 1; grid-row: 1; text-align: right; padding: 26px 22px 0 0; font-size: 15px; }
  .dauer span { display: block; }
  .dauer span + span::before { content: none; }
  .inhalt { grid-column: 3; grid-row: 1; }
  .folge h3 { font-size: 29px; line-height: 1.15; margin-top: 14px; }
  .text { margin-top: 16px; max-width: 31em; }

  .folge.v2 .inhalt { margin-left: 84px; }
  .folge.v2 .text, .folge.v2 .hoeren, .folge.v2 .notizen, .folge.v2 .fehlt { margin-left: 0; }
  .folge.v3 .text, .folge.v3 .hoeren, .folge.v3 .notizen, .folge.v3 .fehlt { margin-left: 30px; }
  .folge.v4 .inhalt { margin-left: 40px; }
  .folge.v4 .text { margin-left: 0; }

  .folge.bonus { grid-template-columns: 210px var(--spalte) minmax(0, 1fr); padding-left: 0; margin-top: 12px; }
  .folge.bonus .nr { grid-column: 3; justify-self: start; margin-left: 196px; font-size: 64px; }
  .folge.bonus .dauer { grid-column: 3; text-align: left; padding: 0; margin-left: 196px; grid-row: 2; }
  .folge.bonus .inhalt { grid-row: 3; margin-left: 196px; }
  .leer { padding: 0 0 0 calc(210px + var(--spalte)); }

  .abschnitt { display: grid; grid-template-columns: 210px var(--spalte) minmax(0, 1fr); padding: 120px 0 0 0; }
  .abschnitt h2 { grid-column: 1; text-align: right; padding: 5px 22px 0 0; font-size: 16px; }
  .ueber-text, .rueck-inhalt { grid-column: 3; margin-top: 0; }
  .ueber-text p:nth-child(2), .ueber-text p:nth-child(5) { margin-left: 64px; }
  .ueber-text .ueber-kern { font-size: 30px; margin: 64px 0 64px -40px; }
  .rueck-inhalt { margin-left: 30px; }
  .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .feld-paar .frei { display: block; margin-left: 0; }

  .fuss { max-width: 1120px; margin-inline: auto; margin-top: 150px; padding: 0 40px 36px calc(40px + 210px + var(--spalte)); }

  .player { padding: 0 max(28px, calc((100vw - 1120px) / 2 + 40px)) 14px; }
  .p-balken { margin: 0; }
  .p-reihe { display: flex; gap: 12px; }
  .player .spiel { margin-right: 6px; }
  .p-titel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .p-folge { padding: 0; font-size: 15px; }
}

/* ---------- «Anhören» neben dem Einstiegssatz ---------- */
.anhoeren { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: 10px; padding: 0 2px; font: 500 15px var(--titel); color: var(--glas); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; vertical-align: middle; }
.anhoeren svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Intro beim ersten Besuch ----------
   Zwölf Balken wachsen, einer pro Jahr. Am 7. Mai 2020 geht ein Schnitt durch das Bild,
   die Balken ziehen sich rückwärts zurück (retrograd), der dunkle Grund schliesst sich zur
   Linie, und die Seite bleibt übrig. Ablauf: assets/intro.js. Dauer rund 7 Sekunden,
   jede Berührung überspringt es. */
.intro, .intro-linie { display: none; }

html.intro-an .intro { display: block; position: fixed; inset: 0; z-index: 50; overflow: hidden; --ax: 27.5px; --ay: 62vh; --dx: 56px; --dy: calc(62vh - 11px); --strich: 9px; --dl: 0px; --dr: 0px; --schnitt: #E39A55; --grund: #1F2328; --hell: #E6E7E3;
  /* Sicherung: Falls intro.js nicht lädt, verschwindet der dunkle Grund nach 9 Sekunden von selbst. */
  animation: intro-weg 0.01s linear 9s forwards; }
@media (prefers-color-scheme: dark) { html.intro-an .intro { --grund: #0A0C0E; } }
html.intro-laeuft { overflow: hidden; }

.intro-dunkel { position: absolute; inset: 0; background: var(--grund); color: var(--hell); }
.intro-zahl { position: absolute; left: var(--ax); top: 30px; margin: 0; display: flex; align-items: baseline; gap: 12px; font: 600 68px/1 var(--titel); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.intro-ziffern { display: block; height: 1em; overflow: hidden; }
.intro-rolle { display: block; }
.intro-rolle b { display: block; height: 1em; font-weight: inherit; }
.intro-wort { display: block; height: 1em; overflow: hidden; font: 400 26px/1 var(--titel); letter-spacing: 0; color: #9AA1A9; }
/* Jede Zeile ist höher als ihre Schrift, damit die Unterlänge des «J» nicht in die Nachbarzeile ragt. */
.intro-wort .intro-rolle b { font-size: 0.72em; height: 1.3889em; line-height: 1.3889em; }
.intro-jahre { position: absolute; left: var(--ax); right: 20px; top: 122px; height: calc(var(--ay) - 122px - 34px); max-width: 720px; display: flex; flex-direction: column; gap: 5px; }
.intro-jahre i { display: block; flex: 1 1 0; min-height: 3px; transform: scaleX(0); transform-origin: left center; }
.intro-datum { position: absolute; left: var(--dx); top: var(--dy); margin: 0; font: 600 15px/1.5 var(--titel); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; opacity: 0; }
/* Der Schnitt läuft über die ganze Breite und lässt nur für das Datum eine Lücke. */
.intro-schnitt { position: absolute; left: 0; right: 0; top: calc(var(--ay) - 1px); height: 2px; background: linear-gradient(to right, var(--schnitt) 0 var(--dl), transparent var(--dl) var(--dr), var(--schnitt) var(--dr) 100%); clip-path: inset(0 100% 0 0); }

@keyframes intro-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-aus { from { opacity: 1; } to { opacity: 0; } }
@keyframes intro-weg { to { visibility: hidden; } }
@keyframes intro-wachsen { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-weichen { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes intro-zaehlen {
  0% { transform: translateY(0); }
  5.556% { transform: translateY(0); animation-timing-function: steps(12, end); }
  36.222% { transform: translateY(-12em); }
  66.667% { transform: translateY(-12em); animation-timing-function: steps(12, end); }
  92% { transform: translateY(0); }
  100% { transform: translateY(0); }
}
@keyframes intro-zu { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(var(--ay) 0 calc(100% - var(--ay)) 0); } }
@keyframes intro-schneiden { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes intro-strich {
  from { clip-path: inset(0 0 0 0); opacity: 1; }
  65% { clip-path: inset(0 calc(100% - var(--ax) - var(--strich)) 0 calc(var(--ax) - var(--strich))); opacity: 1; }
  to { clip-path: inset(0 calc(100% - var(--ax) - var(--strich)) 0 calc(var(--ax) - var(--strich))); opacity: 0; }
}

/* Der Ablauf beginnt erst, wenn intro.js die Positionen gemessen hat. */
html.intro-laeuft .intro-rolle { animation: intro-zaehlen 4.5s linear both; }   /* Zahl und Wort laufen im selben Takt */
html.intro-laeuft .intro-jahre i { animation: intro-wachsen 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both, intro-weichen 0.4s cubic-bezier(0.6, 0, 0.9, 0.4) forwards; }
html.intro-laeuft .intro-schnitt { animation: intro-schneiden 0.55s cubic-bezier(0.3, 0, 0.1, 1) 2.15s both, intro-strich 0.75s ease-in-out 5.45s forwards; }
html.intro-laeuft .intro-datum { animation: intro-ein 0.4s ease 2.6s both; }
html.intro-laeuft .intro-zahl { animation: intro-aus 0.3s ease 4.5s forwards; }
html.intro-laeuft .intro-dunkel { animation: intro-zu 0.8s cubic-bezier(0.7, 0, 0.2, 1) 4.75s forwards; }
html.intro-an .intro-jahre .j1 { width: 30%; background: #7FB8A6; animation-delay: 0.250s, 4.045s; }
html.intro-an .intro-jahre .j2 { width: 52%; background: #E6E7E3; animation-delay: 0.365s, 3.950s; }
html.intro-an .intro-jahre .j3 { width: 41%; background: #4B5157; animation-delay: 0.480s, 3.855s; }
html.intro-an .intro-jahre .j4 { width: 66%; background: #2F6A5C; animation-delay: 0.595s, 3.760s; }
html.intro-an .intro-jahre .j5 { width: 37%; background: #9AA1A9; animation-delay: 0.710s, 3.665s; }
html.intro-an .intro-jahre .j6 { width: 80%; background: #7FB8A6; animation-delay: 0.825s, 3.570s; }
html.intro-an .intro-jahre .j7 { width: 58%; background: #E6E7E3; animation-delay: 0.940s, 3.475s; }
html.intro-an .intro-jahre .j8 { width: 47%; background: #2F6A5C; animation-delay: 1.055s, 3.380s; }
html.intro-an .intro-jahre .j9 { width: 92%; background: #7FB8A6; animation-delay: 1.170s, 3.285s; }
html.intro-an .intro-jahre .j10 { width: 69%; background: #4B5157; animation-delay: 1.285s, 3.190s; }
html.intro-an .intro-jahre .j11 { width: 44%; background: #9AA1A9; animation-delay: 1.400s, 3.095s; }
html.intro-an .intro-jahre .j12 { width: 84%; background: #E6E7E3; animation-delay: 1.515s, 3.000s; }

/* Die Seite darunter: Die Linie vor dem 7. Mai steht zuerst ganz da und zerfällt dann in ihre Striche. */
html.intro-laeuft .intro-linie { display: block; position: absolute; left: var(--achse); top: 0; bottom: 0; width: 1px; background: var(--linie); animation: intro-aus 1.2s ease 5.7s forwards; }
html.intro-laeuft .anfang-text { animation: intro-ein 0.9s ease 5.8s both; }
html.intro-laeuft .kopf, html.intro-laeuft .tag-hinweis, html.intro-laeuft .folgen, html.intro-laeuft .abschnitt, html.intro-laeuft .fuss { animation: intro-ein 0.8s ease 6.5s both; }

@media (min-width: 860px) {
  html.intro-an .intro { --strich: 14px; }
  .intro-zahl { font-size: 104px; top: 44px; gap: 16px; }
  .intro-wort { font-size: 33px; }
  .intro-jahre { top: 176px; height: calc(var(--ay) - 176px - 44px); gap: 7px; right: 40px; }
  .intro-datum { font-size: 16px; }
}
