/* Lager-Hub · Projektseite „Schweizer Plakat“
   Signalrot, Weiß, schwarzer Strichcode. Strenges Raster (12 Spalten ab 960 px, darunter 4),
   sehr große, enge Archivo 800, IBM Plex Mono für Etiketten und Ziffern.
   Kontrast: Weiß auf Signalrot nur für große Schrift; Lesetext steht auf Weiß oder auf dunklerem Rot.
   Abschnitte: 1 Plakat · 2 Ausgangslage · 3 Zerfall · 4 Eine Fläche · 5 Im Detail · 6 Zusammenspiel ·
   7 Motive · 8 Technik & Rolle · 9 Weitere Projekte. Ohne JS steht überall der Endzustand. */

/* ---------- Seitenwechsel: diese Welt fährt von unten herein, die vorige Seite tritt zurück (View Transitions; ohne Unterstützung oder bei reduzierter Bewegung normaler Seitenaufruf) ---------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition{background:#ffffff}
  ::view-transition-old(root){animation:sw-zurueck .6s cubic-bezier(.5,0,.2,1) both;mix-blend-mode:normal}
  ::view-transition-new(root){animation:sw-herein .8s cubic-bezier(.16,1,.3,1) .05s both;mix-blend-mode:normal}
}
@keyframes sw-zurueck{to{transform:translateY(-4%) scale(.9);opacity:.2}}
@keyframes sw-herein{from{transform:translateY(100%)}}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-normal-400_800-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-normal-400_800-latin-ext.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-normal-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #d6271b;            /* Grund: Signalrot */
  --red-2: #b81d13;          /* dunkleres Rot: Fläche für kleine weiße Schrift (6,5 : 1) */
  --red-line: rgba(60, 0, 0, .17);
  --white: #fff;
  --ink: #111;
  --ink-2: #3a3a3a;
  --hair: #d9d9d9;
  --pad: clamp(1rem, 4vw, 3rem);
  --gut: clamp(.75rem, 1.7vw, 1.5rem);
  --cols: 4;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (min-width: 960px) { :root { --cols: 12; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--red); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; overflow-x: clip;
  background: var(--red); color: var(--white);
  font: 500 1.125rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; line-height: .92; text-wrap: balance; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--white); }

/* Raster */
.wrap { max-width: 1600px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); }
.lines {
  background-image: repeating-linear-gradient(to right, var(--red-line) 0 1px, transparent 1px calc((100% + var(--gut)) / var(--cols)));
  background-origin: content-box; background-clip: padding-box;
  background-size: 100% 100%; background-repeat: no-repeat repeat;   /* Linien laufen ohne Lücke durch alle Abschnitte */
}

/* Etiketten in Mono: immer auf dunklerem Rot oder Weiß */
.chip, .meta span, .byline, .note {
  display: inline-block; padding: .5rem .65rem;
  background: var(--red-2); color: var(--white);
  font: 500 .875rem/1.2 var(--mono); letter-spacing: .01em;
}
a.byline { text-decoration: none; transition: background-color .2s; }   /* Name führt zur Startseite */
a.byline:hover { background: var(--ink); }

/* Vor dem ersten Bild: nur das Kopf-Skript setzt die Klasse, das JS hebt sie auf (spätestens nach 3 s) */
.pre .hero .meta, .pre .hero .title, .pre .hook, .pre .label, .pre .cue { opacity: 0; }

.skip {
  position: absolute; left: 1rem; top: 1rem; z-index: 50; padding: .7rem 1rem;
  background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-220%);
}
.skip:focus { transform: none; }

/* ——— Kopf ———
   Eine Grammatik auf allen Projektseiten (Freigabe 31.10.2026): links „← Profil“, rechts „Demo ausprobieren“ direkt vor
   dem Namen, der ganz rechts zur Startseite führt; volle Breite, jedes Ziel mindestens 44 px hoch, bei 320 px eine Zeile. */
.top { display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(16px, 3vw, 40px); }
.back {
  display: inline-flex; flex: none; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem;
  background: var(--white); color: var(--ink); font: 700 1rem/1 var(--sans); white-space: nowrap; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.back:hover { background: var(--ink); color: var(--white); }
.back.demo{margin-left:auto;gap:0} /* Bedien-Demo mit Fantasiedaten (demo-lager-hub.html), steht direkt vor dem Namen */
@media (max-width:599px){.demo-zusatz{display:none}}
.top .byline { display: inline-flex; flex: none; align-items: center; min-height: 44px; white-space: nowrap; }
@media (max-width: 400px) {
  .top { gap: .5rem; }
  .back { gap: .375rem; padding: .55rem .625rem; font-size: .9375rem; }
  .top .byline { padding: 0 .5rem; font-size: .75rem; letter-spacing: 0; }
}

/* ——— 1 · Plakat ——— */
.hero .wrap { padding-top: clamp(1rem, 4vh, 2.5rem); padding-bottom: clamp(3.5rem, 10vh, 6.5rem); row-gap: clamp(1rem, 3vh, 2rem); align-items: end; }
.meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
.title {
  grid-column: 1 / -1; margin-left: -.05em; padding-bottom: .05em;
  font-size: clamp(4.5rem, 1rem + 15.5vw, 16rem); line-height: .8; letter-spacing: -.055em; color: var(--white);
}
.title .t { display: inline-block; }
.hook { grid-column: 1 / -1; font: 800 clamp(1.9rem, 1.05rem + 2.7vw, 3.5rem)/1 var(--sans); letter-spacing: -.035em; }
.hook > span { display: block; text-wrap: balance; }
.nw { white-space: nowrap; }
.h-a { color: var(--ink); }
.h-b { color: var(--white); }

.label { grid-column: 1 / -1; background: var(--white); color: var(--ink); padding: 14px 16px 12px; }
.lab-row { display: flex; justify-content: space-between; gap: 1rem; font: 500 .8125rem/1 var(--mono); }
.lab-code { position: relative; height: clamp(110px, 13vw, 190px); margin: 12px 0; padding: 10px 14px; }
.code { width: 100%; height: 100%; fill: var(--ink); }
.brk { position: absolute; width: 22px; height: 22px; border: 0 solid var(--red); }
.k1 { left: 0; top: 0; border-width: 4px 0 0 4px; }
.k2 { right: 0; top: 0; border-width: 4px 4px 0 0; }
.k3 { left: 0; bottom: 0; border-width: 0 0 4px 4px; }
.k4 { right: 0; bottom: 0; border-width: 0 4px 4px 0; }
.scanline { position: absolute; top: -6px; bottom: -6px; left: 0; width: 4px; background: var(--red); opacity: 0; pointer-events: none; }

.cue {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .55rem 1rem; background: var(--ink); color: var(--white); font: 700 1rem/1 var(--sans); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.cue:hover { background: var(--white); color: var(--ink); }

@media (min-width: 960px) {
  .hero .wrap { min-height: calc(100vh - 4.75rem); min-height: calc(100svh - 4.75rem); grid-template-rows: auto auto 1fr auto; }
  .hook { grid-column: 1 / span 6; }
  .label { grid-column: 7 / -1; }
}
@media (max-width: 699px) {
  .title { font-size: clamp(4.5rem, 31vw, 10rem); }
  .title .t { display: block; }
}

/* ——— 2 · Ausgangslage: fünf Fragen auf einem Bogen, eine feste Scanlinie beantwortet sie ——— */
.ask .wrap { padding-top: clamp(4.5rem, 13vh, 8.5rem); padding-bottom: clamp(4.5rem, 13vh, 8.5rem); row-gap: clamp(1.25rem, 3.5vh, 2.25rem); align-items: start; }
.a-chip { grid-column: 1 / -1; justify-self: start; }
.a-title, .d-title, .z-title { font-size: clamp(2.6rem, 1.1rem + 5.4vw, 7.5rem); line-height: .86; letter-spacing: -.05em; }
.a-title { grid-column: 1 / -1; margin-bottom: clamp(.25rem, 2vh, 1.25rem); }
.a-title span, .d-title span, .z-title span { display: block; }
.a-title .k, .d-title .k, .z-title .k { color: var(--ink); }
.a-title .w, .d-title .w, .z-title .w { color: var(--white); }
.a-sheet { grid-column: 1 / -1; position: relative; background: var(--white); color: var(--ink); padding: 4px clamp(14px, 2vw, 28px); }
.a-row { padding: 12px 0 10px; border-bottom: 4px solid var(--ink); }
.qs { list-style: none; margin: 0; padding: 0; }
.q {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem; row-gap: .65rem;
  padding: clamp(16px, 2.4vh, 24px) 0; border-top: 1px solid var(--hair);
}
.q:first-child { border-top: 0; }
.q-t { font: 800 clamp(1.375rem, .8rem + 1.75vw, 2.375rem)/1.05 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.q-a {
  justify-self: end; display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .7rem .45rem .6rem;
  border: 2px solid var(--red-2); background: var(--red-2); color: var(--white); font: 500 1rem/1.1 var(--mono); white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.ask.armed .q-a { background: var(--white); color: var(--ink); border-color: var(--ink); }
.ask.armed .q.is-hit .q-a { background: var(--red-2); color: var(--white); border-color: var(--red-2); }
.q-line { position: absolute; left: -10px; right: -10px; top: 0; height: 4px; margin-top: -2px; background: var(--red); opacity: 0; pointer-events: none; transition: opacity .2s; }
.a-sheet.scanning .q-line { opacity: 1; }
.a-text { grid-column: 1 / -1; max-width: 34rem; }
@media (min-width: 960px) {
  .a-sheet { grid-column: 1 / span 7; }
  .a-text { grid-column: 8 / -1; }
}
@media (max-width: 599px) {
  .q { grid-template-columns: minmax(0, 1fr); }
  .q-a { justify-self: start; }
}

/* ——— 3 · Zerfall: Bühne + Schritte ——— */
.hub-grid { align-items: start; }
.stage { grid-column: 1 / -1; }
.sheet { background: var(--white); }
.hub-svg { width: 100%; height: auto; }
.hub-svg .rule { fill: var(--ink); }
.hub-svg .bar { fill: var(--ink); }
.hub-svg .bar.r { fill: var(--red); }
.hub-svg .cur { fill: var(--red); opacity: 0; transition: opacity .25s; }
.hub-svg .fld.is-current .cur { opacity: 1; }
.hub-svg .idx { font: 500 30px var(--mono); fill: var(--ink); }
.hub-svg .nm { font: 800 26px var(--sans); letter-spacing: -.02em; fill: var(--ink); }
.hub-svg .fld.is-current .idx, .hub-svg .fld.is-current .nm { fill: var(--red); }
.hub-svg .s-line { fill: var(--red); opacity: 0; }
.hub-svg .s-brk { fill: none; stroke: var(--red); stroke-width: 6; opacity: 0; }

.steps { grid-column: 1 / -1; }
.step { position: relative; }
.step .chip { margin-bottom: 1.25rem; transition: background-color .25s, color .25s; }
.step.is-current .chip { background: var(--white); color: var(--red-2); }
.step h2 { font-size: clamp(2.4rem, 1.2rem + 3.2vw, 4.6rem); margin-bottom: 1.4rem; }
.step h3 { font-size: clamp(2.6rem, 1.3rem + 3.1vw, 5rem); margin-bottom: 1.2rem; }
.say {
  max-width: 30rem; padding: 1rem 1.15rem 1.1rem; background: var(--white); color: var(--ink);
  font: 500 clamp(1.125rem, 1.05rem + .25vw, 1.25rem)/1.45 var(--sans);
}
.say p + p { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--hair); }

@media (min-width: 960px) {
  .stage { grid-column: 1 / span 7; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
  .sheet { width: 100%; padding: clamp(14px, 1.8vw, 28px); }
  .steps { grid-column: 8 / -1; padding: 6vh 0 24vh; }
  .step { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .step.intro { min-height: 130vh; }
}
@media (max-width: 959px) {
  .stage { position: sticky; top: 0; z-index: 3; margin: 0 calc(-1 * var(--pad)); }
  .sheet { padding: 10px var(--pad); border-bottom: 4px solid var(--ink); }
  .hub-svg { width: min(100%, calc(46vh / .6)); margin: 0 auto; }
  .steps { padding: 2.5rem 0 30vh; }
  .step { min-height: 62vh; min-height: 62svh; padding-top: 1.5rem; }
  .step.intro { min-height: 90vh; min-height: 90svh; padding-top: 0; }
}

@media (max-width: 599px) {
  .hub-svg .nm { display: none; }
  .hub-svg .idx { font-size: 46px; }
}

/* ——— 4 · Eine gemeinsame Oberfläche ——— */
.gather { overflow: hidden; overflow: clip; }
.gather .wrap { padding-top: clamp(5rem, 14vh, 9rem); padding-bottom: clamp(4rem, 10vh, 7rem); }
.gather .chip { margin-bottom: 1.4rem; }
.g-title { font-size: clamp(2.6rem, 1.1rem + 5.4vw, 7.5rem); line-height: .86; letter-spacing: -.05em; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.g-title span { display: block; }
.g-title .k { color: var(--ink); }
.g-title .w { color: var(--white); }
.board { position: relative; background: var(--white); color: var(--ink); padding: clamp(14px, 2vw, 28px); }
.b-code {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding-bottom: clamp(14px, 2vw, 24px); border-bottom: 4px solid var(--ink);
}
.b-lab { font: 500 .8125rem/1 var(--mono); }
.mini-code { width: 100%; height: clamp(44px, 6vw, 72px); fill: var(--ink); }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tasks li {
  display: flex; flex-direction: column; align-items: flex-start; gap: .45rem;
  padding: clamp(14px, 1.6vw, 22px) clamp(10px, 1.2vw, 18px); border-left: 1px solid var(--hair);
}
.tasks li:first-child { border-left: 0; padding-left: 0; }
.ti { font: 500 .875rem/1 var(--mono); color: var(--red-2); }
.tasks strong { font: 800 clamp(1.1rem, .5rem + 1.1vw, 1.75rem)/1 var(--sans); letter-spacing: -.03em; }
.pic { height: clamp(96px, 9vw, 140px); width: auto; margin: .5rem 0 .3rem; fill: var(--ink); }
.pic .r { fill: var(--red); }
.tl { font: 500 .875rem/1.35 var(--mono); color: var(--ink-2); }
.gather .note { margin-top: 1.2rem; }

@media (max-width: 959px) {
  .tasks { grid-template-columns: minmax(0, 1fr); }
  .tasks li {
    display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; column-gap: .75rem; row-gap: .3rem; align-items: start;
    padding: 14px 0; border-left: 0; border-top: 1px solid var(--hair);
  }
  .tasks li:first-child { border-top: 0; }
  .tasks .ti { grid-column: 1; grid-row: 1 / span 3; padding-top: .35rem; }
  .tasks strong { grid-column: 2; font-size: 1.375rem; }
  .tasks .tl { grid-column: 2; }
  .tasks .pic { grid-column: 3; grid-row: 1 / span 3; height: 76px; margin: 0; }
}

/* ——— 5 · Im Detail: drei kleine Plakatszenen ——— */
.deep .wrap, .links .wrap { padding-top: clamp(4.5rem, 13vh, 8.5rem); padding-bottom: clamp(4.5rem, 13vh, 8.5rem); }
.deep .chip, .links .chip { margin-bottom: 1.4rem; }
.d-title, .z-title { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.deep-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.scene { background: var(--white); color: var(--ink); padding: clamp(14px, 1.6vw, 22px); }
.sc-art { margin-bottom: 1.15rem; padding-bottom: clamp(10px, 1.2vw, 16px); border-bottom: 4px solid var(--ink); }
.sc-svg { width: 100%; height: auto; margin-top: 10px; fill: var(--ink); }
.scene h3 { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); margin-bottom: .85rem; }
.scene p { font: 500 clamp(1.0625rem, 1rem + .2vw, 1.1875rem)/1.5 var(--sans); }
.sc-ton .arc { fill: none; stroke: var(--red); stroke-width: 8; }
.sc-scan, .sc-print .lab-red, .sc-print .led { fill: var(--red); }
.sc-link .sq { fill: var(--red); stroke: var(--ink); stroke-width: 5; }
.sc-link .ok { fill: none; stroke: var(--white); stroke-width: 5; }
.sv-t { font: 800 30px var(--sans); letter-spacing: -.02em; }
.sc-print .lab-paper { fill: var(--white); stroke: var(--ink); stroke-width: 6; }
.sc-print .slot { fill: #6b6b6b; }
.deep .note { margin-top: clamp(1.5rem, 4vh, 2.5rem); }
@media (min-width: 960px) {
  .deep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
  .scene:nth-child(2) { margin-top: clamp(3rem, 9vh, 6rem); }
  .scene:nth-child(3) { margin-top: clamp(6rem, 18vh, 12rem); }
}
@media (max-width: 959px) {
  .scene { width: 100%; max-width: 34rem; }
  .scene:nth-child(2) { justify-self: end; }
}

/* ——— 6 · Zusammenspiel: liegender Strichcode, vier Leitungen, vier Karten ——— */
.z-lead { max-width: 36rem; margin-bottom: clamp(2rem, 5vh, 3.25rem); }
.z-net { --zpad: clamp(14px, 1.6vw, 22px); display: grid; grid-template-columns: clamp(32px, 9vw, 150px) minmax(0, 1fr); }
.z-bar { position: relative; }
.z-bar svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); }
.z-lab { position: absolute; left: 0; top: 100%; margin-top: .6rem; padding: .4rem .5rem; background: var(--red-2); color: var(--white); font: 500 .875rem/1 var(--mono); }
.z-list { list-style: none; margin: 0; padding: clamp(.75rem, 3vh, 2rem) 0; display: grid; gap: clamp(1rem, 3vh, 1.75rem); }
.z-row { display: grid; grid-template-columns: clamp(20px, 22vw - 60px, 300px) minmax(0, 46rem); align-items: start; }
.z-wire { position: relative; display: block; height: 22px; margin-top: calc(var(--zpad) + .6rem - 11px); }
.z-ln { position: absolute; left: 0; right: 12px; top: 6px; height: 10px; background: var(--ink); transform-origin: 0 50%; transition: background-color .2s; }
.z-plug { position: absolute; right: 0; top: 0; width: 22px; height: 22px; background: var(--white); border: 4px solid var(--ink); transition: background-color .2s, border-color .2s; }
.z-card { position: relative; background: var(--white); color: var(--ink); padding: var(--zpad) clamp(16px, 2vw, 28px) clamp(16px, 1.8vw, 24px); transition: background-color .2s, color .2s; }
.z-code { font: 500 1rem/1.2 var(--mono); color: var(--red-2); margin-bottom: .6rem; transition: color .2s; }
.z-card h3 { font-size: clamp(1.125rem, 5.6vw, 2.75rem); margin-bottom: .65rem; }
.z-card h3 a { text-decoration: none; }
.z-card h3 a::after { content: ""; position: absolute; inset: 0; }
.z-card p:last-child { max-width: 40rem; font: 500 clamp(1.0625rem, 1rem + .2vw, 1.1875rem)/1.45 var(--sans); }
.z-row:hover .z-card, .z-row:focus-within .z-card { background: var(--ink); color: var(--white); }
.z-row:hover .z-code, .z-row:focus-within .z-code { color: var(--white); }
.z-row:hover .z-ln, .z-row:focus-within .z-ln { background: var(--white); }
.z-row:hover .z-plug, .z-row:focus-within .z-plug { background: var(--ink); border-color: var(--white); }
.z-card a:focus-visible { outline: none; }
.z-card:has(a:focus-visible) { outline: 3px solid var(--white); outline-offset: 4px; }

/* ——— 7 · Motive ——— */
.shots .wrap { padding-top: clamp(4rem, 10vh, 7rem); padding-bottom: clamp(5rem, 12vh, 8rem); }
.shots .chip { margin-bottom: 1.4rem; }
.shots h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 5.2rem); margin-bottom: 1.2rem; }
.shot-grid { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 5vh, 3.5rem); }
.shot { margin: 0; padding: 10px 10px 16px; background: var(--white); color: var(--ink); }
.shot-link { position: relative; display: block; overflow: hidden; background: var(--ink); }
.shot-link img { width: 100%; height: auto; }
.shot-laser { position: absolute; left: 0; right: 0; top: 0; height: 4px; margin-top: -2px; background: var(--red); pointer-events: none; }
.shot figcaption { display: flex; flex-direction: column; gap: .3rem; padding: 14px 6px 0; }
.shot figcaption strong { font: 800 1.375rem/1.1 var(--sans); letter-spacing: -.025em; }
.shot figcaption small { font: 500 .875rem/1.3 var(--mono); color: var(--ink-2); }
@media (min-width: 800px) {
  .shot-grid { grid-template-columns: 1fr 1fr; gap: var(--gut); align-items: start; }
  .shot:nth-child(2) { margin-top: clamp(4rem, 16vh, 10rem); }
}

/* ——— 8 · Technik & Rolle: Bausteine als Striche auf der Grundlinie, daneben das Typenschild ——— */
.tech .wrap { padding-top: clamp(4.5rem, 13vh, 8.5rem); padding-bottom: clamp(4rem, 11vh, 7rem); row-gap: clamp(1.25rem, 3.5vh, 2.25rem); align-items: start; }
.t-chip { grid-column: 1 / -1; justify-self: start; }
.t-title { grid-column: 1 / -1; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 5.2rem); margin-bottom: clamp(.25rem, 2vh, 1.25rem); }
.t-art { grid-column: 1 / -1; background: var(--white); color: var(--ink); padding: 14px 16px 16px; }
.t-svg { width: 100%; height: auto; margin-top: 12px; fill: var(--ink); }
.t-svg .r { fill: var(--red); }
.t-svg text { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; fill: var(--white); }
.t-svg text.m { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.plate { grid-column: 1 / -1; margin: 0; padding: 4px clamp(16px, 2vw, 28px); background: var(--white); color: var(--ink); border-top: 6px solid var(--ink); }
.pr { display: grid; grid-template-columns: minmax(6.5rem, 28%) minmax(0, 1fr); column-gap: 1rem; row-gap: .15rem; padding: .9rem 0; border-top: 1px solid var(--hair); }
.pr:first-child { border-top: 0; }
.plate dt { font: 500 1rem/1.45 var(--mono); color: var(--red-2); }
.plate dd { margin: 0; font: 500 clamp(1.0625rem, 1rem + .25vw, 1.25rem)/1.4 var(--sans); }
@media (min-width: 960px) {
  .t-art { grid-column: 1 / span 5; }
  .plate { grid-column: 6 / -1; }
}
@media (max-width: 459px) { .pr { grid-template-columns: minmax(0, 1fr); } }

/* ——— 9 · Weitere Projekte ——— */
.more .wrap { padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: clamp(4rem, 11vh, 7rem); }
.more .chip { margin-bottom: 1.4rem; }
.n-strip { background: var(--white); color: var(--ink); padding: 14px 16px 10px; margin-bottom: var(--gut); }
.n-track { position: relative; padding-top: 1.6rem; }
.n-at { position: absolute; top: 0; left: calc((var(--at, 6) * 40 + 20) / 1000 * 100%); transform: translateX(-50%); font: 500 .8125rem/1 var(--mono); color: var(--red-2); transition: left .45s cubic-bezier(.2, .8, .2, 1); }
.n-strip svg { width: 100%; height: auto; margin-bottom: 6px; fill: var(--ink); }
.n-strip .cur { fill: var(--red); }
.n-brk { fill: none; stroke: var(--red); stroke-width: 5; transform: translateX(calc(var(--at, 6) * 40px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.n-grid { display: grid; gap: var(--gut); }
.n-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: clamp(18px, 2.2vw, 30px);
  background: var(--white); color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s;
}
.n-next { align-items: flex-end; text-align: right; }
.n-dir { font: 500 1rem/1.2 var(--mono); color: var(--red-2); transition: color .2s; }
.n-dir > span { display: inline-block; transition: transform .25s; }
.n-code { margin-top: .35rem; font: 800 clamp(3.4rem, 1.6rem + 6.4vw, 8.5rem)/.82 var(--sans); letter-spacing: -.055em; }
.n-name { font: 800 clamp(1.35rem, 1rem + 1.1vw, 2.1rem)/1.05 var(--sans); letter-spacing: -.03em; }
.n-card:hover, .n-card:focus-visible { background: var(--ink); color: var(--white); }
.n-card:hover .n-dir, .n-card:focus-visible .n-dir { color: var(--white); }
.n-prev:hover .n-dir > span, .n-prev:focus-visible .n-dir > span { transform: translateX(-6px); }
.n-next:hover .n-dir > span, .n-next:focus-visible .n-dir > span { transform: translateX(6px); }
.n-card:focus-visible { outline-color: var(--white); }
.n-all {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: var(--gut); padding: .55rem 1rem;
  background: var(--ink); color: var(--white); font: 700 1rem/1 var(--sans); text-decoration: none; transition: background-color .2s, color .2s;
}
.n-all:hover { background: var(--white); color: var(--ink); }
@media (min-width: 700px) { .n-grid { grid-template-columns: 1fr 1fr; } }

/* ——— Fuß ——— */
.end { background: var(--ink); color: var(--white); }
.end-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-top: clamp(2.5rem, 7vh, 4rem); padding-bottom: clamp(2.5rem, 7vh, 4rem); }
.cta {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .8rem 1.4rem;
  background: var(--red); color: var(--white); font: 800 1.25rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.cta:hover { background: var(--white); color: var(--ink); }
.end-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.end-links a { display: inline-flex; align-items: center; min-height: 44px; font: 600 1rem/1.2 var(--sans); text-underline-offset: .25em; }
.sig { font: 500 .875rem/1 var(--mono); color: #bdbdbd; }
.end :focus-visible { outline-color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ——— Druck ———
   Aufs Papier kommt der Endzustand ohne JavaScript (projekt-lager-hub.js setzt ihn beim Drucken ein). Signalrot und das
   Raster druckt der Browser ohne Hintergrundgrafik nicht: Weiß auf Rot wird darum Schwarz und dunkleres Rot auf
   Papier (#b81d13, 6,5 : 1), Etiketten werden zu roten Rahmen. Bühne und Schritte untereinander statt klebend, keine
   Bildschirmhöhen, keine Knöpfe; Karten, Szenen und Motive werden nicht zerschnitten. */
@page { margin: 14mm 12mm; }
@media print {
  html, body { background: #fff; color: var(--ink); }
  .skip, .back, .cue, .cta, .shot-laser { display: none; }
  .chip, .meta span, .byline, .note, .z-lab { background: none; color: var(--red-2); box-shadow: inset 0 0 0 1.5px var(--red-2); }
  .title, .h-b, .a-title .w, .d-title .w, .z-title .w, .g-title .w { color: var(--red-2); }
  .q-a { background: none; color: var(--red-2); }
  .z-wire { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .n-all { background: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
  .end { background: none; color: var(--ink); border-top: 4px solid var(--ink); }
  .sig { color: var(--ink-2); }
  .top { padding-top: 0; }
  .hero .wrap { min-height: 0; padding-top: 0; padding-bottom: 1.5rem; }
  .ask .wrap, .gather .wrap, .deep .wrap, .links .wrap, .shots .wrap, .tech .wrap, .more .wrap { padding-top: 2rem; padding-bottom: 1.5rem; }
  .stage { position: static; height: auto; margin: 0; }
  .stage, .steps { grid-column: 1 / -1; }
  .sheet { padding: 0 0 10px; }
  .hub-svg { width: 100%; }
  /* Schritte, Szenen (Bild links, Text rechts) und Motive paarweise nebeneinander, sonst steht fast jedes allein auf einer Seite */
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gut); padding: 1.5rem 0 0; }
  .step.intro { grid-column: 1 / -1; }
  .step, .step.intro { min-height: 0; padding: 0; }
  .step h3 { font-size: 2.25rem; }
  .deep-grid { grid-template-columns: minmax(0, 1fr); }
  .scene, .scene:nth-child(2), .scene:nth-child(3) { display: flow-root; max-width: none; margin-top: 0; justify-self: stretch; }
  .sc-art { float: left; width: calc(50% - var(--gut) / 2); margin: 0 var(--gut) 0 0; }
  .scene h3, .scene p { display: flow-root; }
  .shot-grid { grid-template-columns: 1fr 1fr; gap: var(--gut); }
  .shot:nth-child(2) { margin-top: 0; }
  .tech .wrap { row-gap: .75rem; }
  .t-svg { max-width: 300px; }
  .plate { break-inside: avoid; }
  .pr { padding: .55rem 0; }
  .end-grid { padding-top: 1rem; padding-bottom: 0; }
  /* Etiketten stehen als Inline-Blöcke über ihren Überschriften: die Überschrift bleibt bei ihnen */
  h1, h2, h3, .lab-row { break-after: avoid; }
  .chip + h2, .chip + h3, .n-strip { break-before: avoid; }
  .a-title, .g-title, .d-title, .z-title, .label, .q, .stage, .step, .board, .scene, .z-lead, .z-net, .shot, .t-art, .pr, .n-strip, .n-card { break-inside: avoid; }
}
