:root {
  --bg: #fdfdfd;
  --surface: #ffffff;
  --text: #0a0b0c;
  --muted: #6e7480;
  --faint: #9aa1ac;
  --line: #e7e9ed;
  --line-strong: #0a0b0c;
  --accent: #0798b4;
  --warn: #a8531b;
  --tier-rct: #04333d;
  --tier-human: #0a6d80;
  --tier-review: #128fa6;
  --tier-animal: #2eaac0;
  --tier-invitro: #5ec1d4;
  --tier-ongoing: #9aa1ac;
  --tier-other: #9aa1ac;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060607;
    --surface: #0c0d0f;
    --text: #f2f4f6;
    --muted: #878d97;
    --faint: #565c65;
    --line: #1b1d21;
    --line-strong: #f2f4f6;
    --accent: #2fd6f2;
    --warn: #e9a06a;
    --tier-rct: #a7f0fc;
    --tier-human: #2fd6f2;
    --tier-review: #1ba3c4;
    --tier-animal: #167a92;
    --tier-invitro: #175c6e;
    --tier-ongoing: #565c65;
    --tier-other: #565c65;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }

.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; z-index: 10;
}
@media (prefers-color-scheme: dark) {
  body::before {
    content: ""; position: fixed; top: -20vh; left: -10vw; right: -10vw;
    height: 70vh;
    background: radial-gradient(55% 65% at 28% 0%, rgba(47,214,242,.07), transparent 70%);
    pointer-events: none; z-index: -1;
  }
}

.shell { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.narrow { max-width: 860px; }

/* ---------- hero ---------- */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.hero.compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem;
}
h1 {
  font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .98; font-weight: 650;
  letter-spacing: -.035em; text-wrap: balance; max-width: 12ch;
}
h1.sm { font-size: clamp(2.1rem, 5.5vw, 4rem); max-width: 20ch; }
h1.xs { font-size: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 34ch; line-height: 1.1; }
h1 .hl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
h1 .hl span { display: block; }
html.js h1 .hl span { transform: translateY(112%); animation: rise .95s cubic-bezier(.16,.84,.26,1) .1s forwards; }
html.js h1 .hl:nth-child(2) span { animation-delay: .22s; }
html.js .hero .eyebrow, html.js .hero .meta, html.js .crumb {
  opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) forwards;
}
html.js .crumb { animation-delay: .05s; }
html.js .hero .eyebrow { animation-delay: .15s; }
html.js .hero .meta { animation-delay: .55s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .meta {
  display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-top: 2.2rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; color: var(--muted);
}

/* ---------- crumb ---------- */
.crumb {
  padding: 1.6rem 0 0; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.crumb a { text-decoration: none; transition: color .25s ease; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--faint); margin: 0 .6em; }

/* ---------- note ---------- */
.note {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr);
  gap: 1.5rem 4rem; padding: 2.2rem 0 3rem; border-top: 1px solid var(--line-strong);
}
.note .label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); padding-top: .25rem;
}
.note p { font-size: .95rem; color: var(--muted); max-width: 58ch; }
.note p + p { margin-top: .9rem; }
.note p b { color: var(--text); font-weight: 550; }

/* ---------- index grid ---------- */
nav.index {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-bottom: clamp(4rem, 9vw, 8rem);
}
nav.index a {
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 1.1rem 1.2rem 1rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: background .3s ease, color .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
}
nav.index a:hover { background: var(--text); color: var(--bg); transform: translateY(-3px); }
nav.index a:hover .no, nav.index a:hover .ev { color: inherit; opacity: .6; }
nav.index .no { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--faint); }
nav.index .nm { font-size: .92rem; font-weight: 550; letter-spacing: -.01em; }
nav.index .ev { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; color: var(--muted); margin-top: -.7rem; }
html.js nav.index a { opacity: 0; transform: translateY(16px); }
html.js nav.index.in a { opacity: 1; transform: none; }
html.js nav.index.in a:nth-child(1){transition-delay:0s,0s,.00s,.00s}
html.js nav.index.in a:nth-child(2){transition-delay:0s,0s,.05s,.05s}
html.js nav.index.in a:nth-child(3){transition-delay:0s,0s,.10s,.10s}
html.js nav.index.in a:nth-child(4){transition-delay:0s,0s,.15s,.15s}
html.js nav.index.in a:nth-child(5){transition-delay:0s,0s,.20s,.20s}
html.js nav.index.in a:nth-child(6){transition-delay:0s,0s,.25s,.25s}
html.js nav.index.in a:nth-child(7){transition-delay:0s,0s,.30s,.30s}
html.js nav.index.in a:nth-child(8){transition-delay:0s,0s,.35s,.35s}
html.js nav.index.in a:nth-child(9){transition-delay:0s,0s,.40s,.40s}
html.js nav.index.in a:nth-child(10){transition-delay:0s,0s,.45s,.45s}
html.js nav.index.in a:hover { transition-delay: 0s; }

/* ---------- substance section (index) ---------- */
section.pep {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: 2rem clamp(3rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line-strong); scroll-margin-top: 2rem;
}
@media (min-width: 861px) { .pep .head-inner { position: sticky; top: 3rem; } }
.pep .no, .sec-no {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .15em;
  color: var(--accent); margin-bottom: 1.4rem;
}
.pep h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; font-weight: 630;
  letter-spacing: -.028em; text-wrap: balance;
}
.pep h2 a { text-decoration: none; transition: color .25s ease; }
.pep h2 a:hover { color: var(--accent); }
.size {
  display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 400;
  letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line);
  border-radius: 99px; padding: .25em .8em; margin-top: 1rem; vertical-align: middle; white-space: nowrap;
}
.pep .wirkung { margin-top: 1.3rem; font-size: .95rem; color: var(--muted); max-width: 34ch; }
.dossier-link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .25s ease, gap .25s ease;
}
.dossier-link:hover { border-color: var(--accent); gap: .9em; }

dl.spec { display: grid; grid-template-columns: 6.5rem minmax(0,1fr); column-gap: 1.6rem; }
dl.spec dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); padding: .85rem 0; border-top: 1px solid var(--line);
}
dl.spec dd {
  font-size: .93rem; padding: .78rem 0; border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
dl.spec dt:first-of-type, dl.spec dd:first-of-type { border-top: 0; padding-top: 0; }
dl.spec dd em { font-style: normal; color: var(--muted); font-size: .85rem; }
html.js .pep dl.spec dt, html.js .pep dl.spec dd {
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
html.js .pep.in dl.spec dt, html.js .pep.in dl.spec dd { opacity: 1; transform: none; }
html.js .pep.in dl.spec dt:nth-of-type(1), html.js .pep.in dl.spec dd:nth-of-type(1){transition-delay:.10s}
html.js .pep.in dl.spec dt:nth-of-type(2), html.js .pep.in dl.spec dd:nth-of-type(2){transition-delay:.17s}
html.js .pep.in dl.spec dt:nth-of-type(3), html.js .pep.in dl.spec dd:nth-of-type(3){transition-delay:.24s}
html.js .pep.in dl.spec dt:nth-of-type(4), html.js .pep.in dl.spec dd:nth-of-type(4){transition-delay:.31s}
html.js .pep.in dl.spec dt:nth-of-type(5), html.js .pep.in dl.spec dd:nth-of-type(5){transition-delay:.38s}

/* ---------- timeline ---------- */
.tl { margin-top: 2.4rem; }
.tl-label, .sub-label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem;
}
.tl span.step { position: relative; display: block; padding: 0 0 1.15rem 1.6rem; font-size: .9rem; color: var(--muted); }
.tl span.step::before { content: ""; position: absolute; left: .28rem; top: .55em; bottom: -.55em; width: 1px; background: var(--line); }
.tl span.step:last-child::before { display: none; }
.tl span.step::after {
  content: ""; position: absolute; left: 0; top: .42em; width: .58rem; height: .58rem;
  border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent);
}
.tl b {
  display: block; color: var(--text); font-weight: 560; font-variant-numeric: tabular-nums;
  font-size: .82rem; font-family: var(--mono); letter-spacing: .02em; margin-bottom: .1rem;
}
html.js .pep .tl span.step { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
html.js .pep .tl span.step::before { transform: scaleY(0); transform-origin: top; transition: transform .6s cubic-bezier(.4,0,.2,1); }
html.js .pep .tl span.step::after { transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
html.js .pep.in .tl span.step { opacity: 1; transform: none; }
html.js .pep.in .tl span.step::before { transform: scaleY(1); }
html.js .pep.in .tl span.step::after { transform: scale(1); }
html.js .pep.in .tl span.step:nth-of-type(1){transition-delay:.40s}
html.js .pep.in .tl span.step:nth-of-type(2){transition-delay:.55s}
html.js .pep.in .tl span.step:nth-of-type(3){transition-delay:.70s}
html.js .pep.in .tl span.step:nth-of-type(1)::before{transition-delay:.55s}
html.js .pep.in .tl span.step:nth-of-type(2)::before{transition-delay:.70s}
html.js .pep.in .tl span.step:nth-of-type(1)::after{transition-delay:.45s}
html.js .pep.in .tl span.step:nth-of-type(2)::after{transition-delay:.60s}
html.js .pep.in .tl span.step:nth-of-type(3)::after{transition-delay:.75s}

/* ---------- section shell ---------- */
section.block {
  padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line-strong);
  scroll-margin-top: 2rem;
}
section.block > h2, .stacks h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 630; letter-spacing: -.028em;
  margin-bottom: 1.6rem; text-wrap: balance;
}
.lede { font-size: 1.02rem; color: var(--muted); max-width: 62ch; }
.lede + .lede { margin-top: .9rem; }
.body-copy p { color: var(--muted); max-width: 62ch; }
.body-copy p + p { margin-top: .9rem; }

/* ---------- stat row ---------- */
.statrow {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 2rem 0;
}
.stat { background: var(--bg); padding: 1.1rem 1.2rem 1rem; }
.stat .n {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 640; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.05;
}
.stat .k {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin-top: .5rem;
}

/* ---------- evidence strip (unit chart: 1 Zelle = 1 Studie) ---------- */
.evidence { margin: 2rem 0 0; }
.strip { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 1.2rem; }
.cell {
  width: 26px; height: 26px; border-radius: 4px; display: block;
  background: var(--c); text-decoration: none;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), outline-color .2s ease;
  outline: 2px solid transparent; outline-offset: 2px;
}
a.cell:hover { transform: translateY(-3px) scale(1.08); outline-color: var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.legend .item { display: flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted); }
.legend .swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.legend .cnt { font-family: var(--mono); font-size: .78rem; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- study list ---------- */
.studylist { border-top: 1px solid var(--line); }
.srow {
  display: grid; grid-template-columns: 2.2rem minmax(0,1fr) auto;
  gap: .2rem 1.2rem; align-items: baseline;
  padding: 1.05rem .6rem 1.05rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: background .25s ease, padding-left .25s ease;
}
a.srow:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); padding-left: .6rem; }
.srow .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-top: .45em; }
.srow .ttl { font-size: .95rem; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.srow .sub {
  grid-column: 2; font-family: var(--mono); font-size: .7rem; letter-spacing: .04em;
  color: var(--muted); margin-top: .25rem;
}
.srow .one { grid-column: 2; font-size: .88rem; color: var(--muted); margin-top: .4rem; max-width: 70ch; }
.srow .go { font-family: var(--mono); font-size: .72rem; color: var(--faint); white-space: nowrap; }
a.srow:hover .go { color: var(--accent); }
.badge {
  display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .25em .7em; border-radius: 99px;
  border: 1px solid var(--c); color: var(--c); white-space: nowrap;
}
.badge.solid { background: var(--c); color: var(--bg); border-color: var(--c); }

/* ---------- community ---------- */
.proto {
  display: grid; grid-template-columns: minmax(0,4fr) minmax(0,8fr);
  gap: .3rem clamp(2rem,4vw,4rem); padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.proto .plabel {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding-top: .15rem;
}
.proto .pval { font-size: .93rem; }
.proto .pnote { grid-column: 2; font-size: .86rem; color: var(--muted); margin-top: .35rem; }
.proto .psrc { grid-column: 2; margin-top: .4rem; }
.srclink {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint); text-decoration: none; border-bottom: 1px solid var(--line);
  transition: color .25s ease, border-color .25s ease;
}
.srclink:hover { color: var(--accent); border-color: var(--accent); }

.efflist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.eff { background: var(--bg); padding: .95rem 1.1rem; }
.eff .top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem; }
.eff .name { font-size: .95rem; font-weight: 520; }
.eff .freq {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .2em .7em;
}
.eff .when { font-family: var(--mono); font-size: .68rem; color: var(--accent); letter-spacing: .04em; }
.eff .det { font-size: .88rem; color: var(--muted); margin-top: .35rem; }

.quote {
  border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1.3rem; margin: 1.4rem 0;
  font-size: .98rem; color: var(--text);
}
.quote .who {
  display: block; margin-top: .6rem; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .08em; color: var(--muted);
}
.quote .who a { color: inherit; }

.tiplist { list-style: none; }
.tiplist li {
  position: relative; padding: .55rem 0 .55rem 1.5rem; font-size: .92rem;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.tiplist li::before {
  content: ""; position: absolute; left: 0; top: 1.05em; width: .45rem; height: .45rem;
  border-radius: 50%; border: 1.5px solid var(--accent);
}
.tiplist li b { color: var(--text); font-weight: 520; }

/* ---------- callouts ---------- */
.callout {
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  padding: 1.2rem 1.4rem; margin: 1.8rem 0; background: var(--surface);
}
.callout.warn { border-left-color: var(--warn); }
.callout .ctitle {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .6rem;
}
.callout p { font-size: .92rem; color: var(--muted); max-width: 68ch; }
.callout p + p { margin-top: .7rem; }

/* ---------- study page ---------- */
.metagrid {
  display: grid; grid-template-columns: 8.5rem minmax(0,1fr); column-gap: 1.6rem;
  margin: 2rem 0;
}
.metagrid dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); padding: .8rem 0; border-top: 1px solid var(--line);
}
.metagrid dd { font-size: .93rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.metagrid dt:first-of-type, .metagrid dd:first-of-type { border-top: 0; padding-top: 0; }
.metagrid dd a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
.metagrid dd a:hover { border-color: var(--accent); }

.findings { list-style: none; counter-reset: f; }
.findings li {
  position: relative; counter-increment: f; padding: .7rem 0 .7rem 2.4rem;
  border-bottom: 1px solid var(--line); font-size: .95rem;
}
.findings li::before {
  content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: .78rem;
  font-family: var(--mono); font-size: .68rem; color: var(--accent); letter-spacing: .06em;
}

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.pill {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
  border: 1px solid var(--line); border-radius: 99px; padding: .35em .95em;
  text-decoration: none; color: var(--muted);
  transition: border-color .25s ease, color .25s ease;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- stacks ---------- */
.stacks { padding: clamp(3.5rem,7vw,6rem) 0 2rem; border-top: 1px solid var(--line-strong); }
.stacks .row {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: .3rem clamp(3rem,6vw,6rem); padding: 1.05rem 0;
  border-top: 1px solid var(--line); font-size: .93rem;
}
.stacks .row span:first-child {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding-top: .2rem; transition: color .3s ease;
}
.stacks .row:hover span:first-child { color: var(--accent); }
.caveat { margin-top: 2.5rem; font-size: .88rem; color: var(--muted); max-width: 58ch; }

/* ---------- compare table (evidenz.html) ---------- */
.cmp { border-top: 1px solid var(--line-strong); }
.cmprow {
  display: grid; grid-template-columns: minmax(0,3fr) minmax(0,5fr) auto;
  gap: .6rem clamp(1.5rem,3vw,3rem); align-items: center;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: background .25s ease;
}
a.cmprow:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.cmprow .nm { font-size: 1.05rem; font-weight: 570; letter-spacing: -.015em; }
.cmprow .verdict { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); margin-top: .2rem; }
.cmprow .cnt { font-family: var(--mono); font-size: .74rem; color: var(--faint); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
footer {
  margin-top: clamp(3rem,6vw,5rem); padding: 1.4rem 0 2.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js nav.index a, html.js .pep dl.spec dt, html.js .pep dl.spec dd,
  html.js .pep .tl span.step, html.js h1 .hl span, html.js .hero .eyebrow, html.js .hero .meta, html.js .crumb {
    opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  }
  html.js .pep .tl span.step::before, html.js .pep .tl span.step::after { transform: none !important; transition: none !important; }
  .progress { display: none; }
}

/* ---------- Druck / PDF ----------
   Die Scroll-Reveals werden erst beim Hineinscrollen sichtbar gemacht. Wer die
   Seite druckt oder als PDF sichert, ohne vorher durchzuscrollen, bekaeme sonst
   leere Seiten. Sichtbarkeit von Inhalt darf nicht vom Scroll-Zustand abhaengen. */
@media print {
  html.js .reveal, html.js nav.index a, html.js .pep dl.spec dt, html.js .pep dl.spec dd,
  html.js .pep .tl span.step, html.js h1 .hl span, html.js .hero .eyebrow,
  html.js .hero .meta, html.js .crumb {
    opacity: 1 !important; transform: none !important;
    transition: none !important; animation: none !important;
  }
  html.js .pep .tl span.step::before, html.js .pep .tl span.step::after {
    transform: none !important; transition: none !important;
  }
  .progress { display: none !important; }

  /* Sticky-Kopf wuerde im Druck auf jeder Seite kleben */
  .pep .head-inner { position: static !important; }

  /* Zusammengehoeriges nicht ueber Seitengrenzen reissen */
  h1, h2, .sec-no, .eyebrow, .sub-label, .tl-label { break-after: avoid; page-break-after: avoid; }
  .srow, .eff, .callout, .quote, .proto, .stat, .findings li, .tiplist li,
  .tl span.step, .cmprow, .stacks .row, nav.index a, .metagrid > * {
    break-inside: avoid; page-break-inside: avoid;
  }
  .strip { break-inside: avoid; page-break-inside: avoid; }

  /* Externe Ziele im Ausdruck nachvollziehbar machen */
  .srclink[href^="http"]::after, .pill[href^="http"]::after {
    content: " (" attr(href) ")"; font-size: .85em; word-break: break-all;
  }
}

@media (max-width: 860px) {
  section.pep, .note, .stacks .row, .proto, .cmprow { grid-template-columns: 1fr; }
  .note { gap: .8rem; }
  .pep .wirkung { max-width: 60ch; margin-bottom: 1.2rem; }
  .stacks .row { gap: .15rem; }
  .proto .pnote, .proto .psrc { grid-column: 1; }
  .srow { grid-template-columns: 1.6rem minmax(0,1fr); }
  .srow .go { display: none; }
  /* Badge braucht eine eigene Zeile in Spalte 2, sonst laeuft es aus der
     schmalen ersten Spalte heraus und ueberlagert die Autorenzeile */
  .srow .badge { grid-column: 2; justify-self: start; margin-top: .45rem; }
  .srow .sub, .srow .one { grid-column: 2; }
}
@media (max-width: 480px) {
  dl.spec { grid-template-columns: 5.2rem minmax(0,1fr); column-gap: 1rem; }
  .metagrid { grid-template-columns: 1fr; }
  .metagrid dd { padding-top: 0; border-top: 0; }
  .cell { width: 22px; height: 22px; }
}
