/* Rogue Works — dunkel, präzise, ein Signal.
   Archivo (variable Breite 62–125, Stärke 300–800) für Titel und Text, Geist Mono für Anzeigen.
   Signalfarbe nur für „live“: die LED vom Plattenspieler. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 300 800; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --schwarz: #0A0A0A;
  --weiss: #EDEAE4;
  --lesen: #D3D0C9;                 /* langer Text, minimal ruhiger als Weiß */
  --grau: #8B8880;                  /* 5,5 : 1 auf Schwarz */
  --linie: rgba(237, 234, 228, .12);
  --linie-stark: rgba(237, 234, 228, .26);
  --signal: #FF5B24;                /* die LED am Plattenspieler */
  --signal-glut: rgba(255, 91, 36, .5);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --rand: clamp(16px, 3.2vw, 48px);
  --spalt: clamp(12px, 1.6vw, 24px);
  --max: 1680px;
  --abstand: clamp(104px, 13vw, 200px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #34332f var(--schwarz); }
body {
  margin: 0; background: var(--schwarz); color: var(--weiss);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5; letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal;
}
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 500; }
ol, ul { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--schwarz); }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }

.sprite { position: absolute; }
.nb { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--rand); top: 12px; z-index: 60; padding: 10px 14px; background: var(--weiss); color: var(--schwarz); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: 0; transform: translateY(-160%); }
.skip:focus-visible { opacity: 1; transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; overflow: visible; }

.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; font-variant-numeric: tabular-nums; }
.weit { font-stretch: 125%; font-weight: 500; text-transform: uppercase; letter-spacing: -.012em; line-height: .92; }
.grau { color: var(--grau); }

/* LED: pulsiert, solange etwas „läuft“ */
/* pulsiert zweimal (unter 5 s) und leuchtet dann ruhig; nur die U/min-LED pulsiert, solange die Platte läuft (Pause-Knopf) */
.led { display: inline-block; flex: none; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--signal); vertical-align: .05em; animation: puls 2.4s ease-out 2; }
.rpm .led { animation-iteration-count: infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 var(--signal-glut); } 70%, 100% { box-shadow: 0 0 0 6px rgba(255, 91, 36, 0); } }

/* ---------- Kopfzeile ---------- */
.kopfzeile { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-block: 22px; view-transition-name: kopf; }
.kopfzeile-innen { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.marke { display: inline-flex; flex: none; color: var(--weiss); }
.marke svg { width: auto; height: 20px; }
.hauptnav { display: flex; gap: clamp(18px, 2.2vw, 32px); margin-left: auto; }
.hauptnav a { position: relative; padding-block: 10px; margin-block: -10px; color: var(--weiss); opacity: .8; transition: opacity .2s ease; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { opacity: 1; }
.hauptnav a[aria-current="page"]::before { content: ""; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: var(--signal); }
.uhr { display: flex; align-items: center; white-space: nowrap; }
@media (max-width: 640px) {
  .kopfzeile { padding-block: 18px; }
  .kopfzeile-innen { flex-wrap: wrap; row-gap: 16px; }
  .uhr { margin-left: auto; }
  .hauptnav { order: 3; width: 100%; margin-left: 0; gap: 22px; }
  .hauptnav a[aria-current="page"]::before { display: none; }
}

/* ---------- Bühne: Echtzeit-Platte ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; isolation: isolate; }
.buehne { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.buehne.ist-gegriffen { cursor: grabbing; }
.buehne img, .buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; }
.buehne canvas { opacity: 0; transition: opacity .7s ease; }
.buehne.ist-live canvas { opacity: 1; }
.hero::before, .hero::after { content: ""; position: absolute; inset-inline: 0; z-index: 1; pointer-events: none; }
.hero::before { top: 0; height: 26%; background: linear-gradient(to bottom, rgba(10, 10, 10, .62), rgba(10, 10, 10, 0)); }
.hero::after { bottom: 0; height: 58%; background: linear-gradient(to top, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .6) 34%, rgba(10, 10, 10, 0) 100%); }
.hero-schicht { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: clamp(24px, 3.6vw, 48px); pointer-events: none; }
.hero-schicht a, .hero-schicht button { pointer-events: auto; }
.hero-titel { font-size: clamp(1.75rem, 3.3vw, 3.8rem); }
.hero-titel .zeile { display: block; }

.instrument { display: flex; align-items: flex-end; gap: 14px; flex: none; }
.instrument > p { margin-left: 8px; }
.rpm { display: inline-flex; align-items: center; gap: 2px; min-width: 132px; padding: 9px 12px; border: 1px solid var(--linie-stark); background: rgba(10, 10, 10, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: border-color .2s ease; }
.rpm:hover { border-color: var(--weiss); }
.rpm [data-rpm-wert] { min-width: 4.2ch; font-size: 20px; line-height: 1; letter-spacing: 0; text-align: right; }
.rpm-einheit { margin-left: 7px; color: var(--grau); }
.rpm.ist-aus .led { background: var(--grau); animation: none; }
.rpm.ist-griff .led { animation-duration: .35s; }
.anhalten { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--linie-stark); background: rgba(10, 10, 10, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: border-color .2s ease; }
.anhalten:hover { border-color: var(--weiss); }
.anhalten .i { width: 12px; height: 12px; }
.anhalten .i-play { display: none; }
.anhalten.ist-angehalten .i-pause { display: none; }
.anhalten.ist-angehalten .i-play { display: block; }
@media (max-width: 760px) {
  .hero { height: 92svh; min-height: 560px; }
  .hero-schicht { flex-direction: column; align-items: flex-start; gap: 22px; }
  .instrument > p { margin-left: auto; }
  .instrument { width: 100%; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-top: var(--abstand); }
.abschnitt-kopf { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; margin-bottom: clamp(36px, 4.4vw, 64px); border-top: 1px solid var(--linie); }
.abschnitt-kopf::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--weiss); }
.status { display: flex; align-items: center; }

/* ---------- About ---------- */
.about-titel { font-size: clamp(1.9rem, 4.4vw, 4.6rem); margin-bottom: clamp(36px, 4.4vw, 64px); }
.about-unten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); row-gap: 40px; align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.zitat { grid-column: 1 / span 9; }
.zitat p { font-size: clamp(1.45rem, 2.7vw, 2.6rem); line-height: 1.1; letter-spacing: -.018em; font-weight: 400; text-wrap: balance; }
.zitat p:first-child { text-indent: -.36em; }
.zitat p + p { margin-top: .4em; }
.about-unten .knopf { grid-column: 10 / -1; justify-self: end; }
.knopf { display: inline-flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--linie-stark); white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.knopf .i { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.knopf:hover { background: var(--weiss); border-color: var(--weiss); color: var(--schwarz); }
.knopf:hover .i { transform: translateX(3px); }
@media (max-width: 900px) {
  .zitat, .about-unten .knopf { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Bilder mit Anmerkungen ---------- */
.anno-bild { position: relative; }
.anno-bild img { width: 100%; }
.punkt { position: absolute; z-index: 1; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(10, 10, 10, .4); }
.punkt::after { content: ""; position: absolute; inset: -7px; border: 1px solid var(--signal); border-radius: 50%; opacity: 0; }
.ist-sichtbar > .punkt::after { animation: ring 2.4s ease-out .3s 2; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.annos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.anno { position: absolute; left: calc(var(--x) + 60px); top: var(--y); width: max-content; max-width: min(30ch, calc(100% - var(--x) - 76px)); padding: 7px 10px; background: rgba(10, 10, 10, .86); color: var(--weiss); transform: translateY(-50%); transition: opacity .5s var(--ease) .35s; }
.anno::before { content: ""; position: absolute; top: 50%; right: 100%; width: 54px; height: 1px; background: var(--weiss); transform-origin: left; transition: transform .45s var(--ease-io); }
.anno.links { left: calc(var(--x) - 60px); max-width: min(30ch, calc(var(--x) - 76px)); transform: translate(-100%, -50%); }
.anno.links::before { right: auto; left: 100%; transform-origin: right; }
.js [data-sichtbar]:not(.ist-sichtbar) .anno { opacity: 0; transition-delay: 0s; }
.js [data-sichtbar]:not(.ist-sichtbar) .anno::before { transform: scaleX(0); }

.punkt { left: var(--x); top: var(--y); }
.punkt--malte, .anno--malte { --x: 66%; --y: 31%; }
.punkt--hund, .anno--hund { --x: 30.5%; --y: 51%; }
.punkt--ort, .anno--ort { --x: 40%; --y: 20%; }
.punkt--mauer, .anno--mauer { --x: 80%; --y: 62%; }
.punkt--rat { --x: 30%; --y: 46%; }
/* kleines Randbild: Beschriftung immer darunter */
.anno-bild--rat .annos { position: static; margin-top: 12px; }
.anno-bild--rat .anno { position: static; display: block; width: auto; max-width: none; padding: 0; background: none; color: var(--grau); transform: none; }
.anno-bild--rat .anno::before { display: none; }

@media (max-width: 760px) {
  .punkt { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
  .punkt::after { inset: -5px; }
}
@media (max-width: 900px) {
  .annos { position: static; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
  .anno, .anno.links { position: static; display: flex; align-items: baseline; width: auto; max-width: none; padding: 0; background: none; color: var(--grau); transform: none; }
  .anno::before, .anno.links::before { position: static; flex: none; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--signal); transform: none; }
}

/* ---------- Ventures: Statustafel ---------- */
.ventures { border-top: 1px solid var(--linie); }
.venture { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); align-items: center; padding-block: clamp(22px, 2.4vw, 34px); border-bottom: 1px solid var(--linie); isolation: isolate; }
.venture::before { content: ""; position: absolute; inset: 0 calc(var(--rand) * -1); z-index: -1; background: var(--weiss); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-io); }
.venture:hover::before { transform: scaleX(1); }
.v-index { grid-column: 1; display: flex; align-items: center; }
.v-name { grid-column: 2 / span 4; font-size: clamp(1.45rem, 2.9vw, 2.9rem); font-stretch: 125%; font-weight: 500; line-height: 1; letter-spacing: -.012em; text-transform: uppercase; transition: font-weight .45s var(--ease); }
.v-text { grid-column: 6 / span 5; max-width: 38em; font-size: .9375rem; line-height: 1.5; color: var(--grau); text-wrap: pretty; }
.v-pfeil { grid-column: 12; justify-self: end; }
.v-pfeil .i { width: 14px; height: 14px; transition: transform .35s var(--ease); }
/* Text invertiert sich dort, wo die Fläche darüberläuft */
.v-nr, .v-name, .v-text, .v-pfeil { position: relative; mix-blend-mode: difference; }
.v-nr, .v-name, .v-pfeil { color: #fff; }
.v-link::after { content: ""; position: absolute; inset: 0; }
.v-link:focus-visible { outline: none; }
.venture:has(.v-link:focus-visible) { outline: 1px solid var(--signal); outline-offset: 4px; }
.venture:hover .v-name { font-weight: 620; }
.venture:hover .v-pfeil .i { transform: translate(3px, -3px); }
@media (max-width: 760px) {
  .venture { grid-template-columns: 3.4rem minmax(0, 1fr) auto; row-gap: 10px; align-items: baseline; }
  .v-index { grid-column: 1; grid-row: 1; }
  .v-name { grid-column: 2; grid-row: 1; }
  .v-pfeil { grid-column: 3; grid-row: 1; }
  .v-text { grid-column: 2 / -1; }
  .venture:active::before { transform: scaleX(1); }
  .v-name { font-size: clamp(1.1rem, 6vw, 1.45rem); }
}

/* ---------- Behind the Scenes ---------- */
.b-kopf { padding-top: clamp(132px, 20vh, 220px); }
.b-name { margin-top: 20px; font-size: clamp(2.5rem, 9.2vw, 10.5rem); line-height: .86; }
.b-kopf-unten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); align-items: end; margin-top: clamp(40px, 6vw, 96px); }
.b-dek { grid-column: 1 / span 5; max-width: 24em; padding-bottom: 6px; font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.35; text-wrap: pretty; }
.anno-bild--portrait { grid-column: 9 / -1; }
.anno-bild--portrait img { aspect-ratio: 2 / 3; object-fit: cover; }
.b-zitat { padding-top: var(--abstand); }
.b-zitat .zitat p { max-width: 21em; }
@media (max-width: 900px) {
  .b-dek, .anno-bild--portrait { grid-column: 1 / -1; }
  .anno-bild--portrait { max-width: 440px; margin-top: 48px; }
}

.b-haupt { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); align-items: start; padding-top: var(--abstand); }
.toc { grid-column: 1 / span 3; position: sticky; top: 28px; display: flex; gap: 18px; }
.toc ol ol { padding: 2px 0 4px 14px; }
.toc a { display: block; padding-block: 5px; color: var(--grau); transition: color .2s ease; }
.toc a:hover, .toc a.ist-aktiv { color: var(--weiss); }
.toc a.ist-aktiv { position: relative; }
.toc-balken { position: relative; order: -1; flex: none; width: 1px; background: var(--linie); }
.toc-balken i { position: absolute; inset: 0; background: var(--signal); transform: scaleY(var(--f, 0)); transform-origin: top; }

.text { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--spalt); align-items: start; font-size: 1.125rem; line-height: 1.62; color: var(--lesen); }
.text > * { grid-column: 1 / span 5; }
.text > p, .notiz p { text-wrap: pretty; }
/* Rasterelemente fallen nicht zusammen: Abstände nur nach oben */
.text > * + * { margin-top: 1em; }
.text > h2 { position: relative; margin-top: 3.2em; padding-top: 16px; border-top: 1px solid var(--linie); font-size: clamp(1.45rem, 2.3vw, 2.2rem); font-stretch: 125%; font-weight: 500; line-height: 1; letter-spacing: -.012em; text-transform: uppercase; color: var(--weiss); scroll-margin-top: 40px; }
.text > h2::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--weiss); }
.text > h2 + * { margin-top: 1.1em; }
.text .callout { font-size: clamp(1.35rem, 2.1vw, 1.95rem); line-height: 1.18; letter-spacing: -.014em; color: var(--weiss); hyphens: manual; -webkit-hyphens: manual; }
.text .callout.grau { color: var(--grau); }
.text > .callout, .text > .callout + * { margin-top: 1.3em; }
.text .gross { margin-top: .6em; font-size: clamp(1.6rem, 3vw, 2.7rem); font-stretch: 125%; font-weight: 500; line-height: 1; letter-spacing: -.012em; text-transform: uppercase; color: var(--weiss); }
.notiz { scroll-margin-top: 40px; }
.notiz p + p { margin-top: 1em; }
.notiz .callout { margin-block: 1.3em; }
.text > .notiz { margin-top: 2.6em; }
.text > h2 + .notiz { margin-top: 1.8em; }
.notiz h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: .9em; }
.notiz h3 .v-nr { display: flex; align-items: center; min-width: 3.2rem; color: var(--grau); }
.notiz h3 a { display: inline-flex; align-items: baseline; gap: .5em; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-stretch: 125%; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; color: var(--weiss); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease); }
.notiz h3 a:hover { background-size: 100% 1px; }
.notiz h3 .i { width: 11px; height: 11px; color: var(--grau); }
.text > .rand-bild { grid-column: 7 / -1; grid-row: 1 / span 8; margin-top: .3em; }
.text > .breit { grid-column: 1 / -1; margin-top: 4.5em; }
.text > .breit + * { margin-top: 3.4em; }
.text > .sig { margin-top: 3.6em; padding-top: 16px; border-top: 1px solid var(--linie); color: var(--weiss); }
.sig strong { display: block; font-weight: 500; }

/* Kleine Pointen, ohne den Text anzufassen */
.streichen { background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 56% / 0 2px; transition: background-size .9s var(--ease-io) .25s, color .6s ease .6s; }
.streichen.ist-sichtbar { background-size: 100% 2px; color: var(--grau); }
.schritt { transition: color .5s ease; }
.js .schritte:not(.ist-sichtbar) .schritt { color: var(--grau); }
.schritte.ist-sichtbar .schritt:nth-child(2) { transition-delay: .55s; }
.schritte.ist-sichtbar .schritt:nth-child(3) { transition-delay: 1.1s; }
.schreibmarke { display: inline-block; width: .45em; height: .9em; margin-left: .14em; vertical-align: -.08em; background: var(--grau); }
.ist-sichtbar > .schreibmarke { animation: blinken 1.06s steps(1) 4; }
@keyframes blinken { 50% { opacity: 0; } }

@media (max-width: 1100px) {
  .toc { display: none; }
  .text { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .text > *, .text > .breit, .text > .rand-bild { grid-column: 1 / -1; }
  .text > p, .text > h2, .notiz, .text > .sig, .text > .callout { max-width: 34em; }
  .text > .rand-bild { grid-row: auto; max-width: min(60%, 320px); margin-top: 2em; }
  .text > .rand-bild + * { margin-top: 2em; }
}
@media (max-width: 600px) {
  .text { font-size: 1.0625rem; }
  .text > p, .notiz p { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
}

/* ---------- Rechtliches ---------- */
.dok-kopf { padding-top: clamp(140px, 22vh, 240px); }
.dok-kopf h1 { font-size: clamp(1.55rem, 5vw, 5.4rem); line-height: 1.02; hyphens: manual; }
.dok { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); padding-top: clamp(56px, 7vw, 112px); }
.dok-inhalt { grid-column: 5 / span 6; max-width: 36em; font-size: 1rem; line-height: 1.7; color: var(--lesen); }
.dok-inhalt p + p { margin-top: 1em; }
.dok-inhalt h2 { position: relative; margin: 2.8em 0 1em; padding-top: 12px; border-top: 1px solid var(--linie); font-family: var(--mono); font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--weiss); }
.dok-inhalt h2::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--weiss); }
.dok-inhalt h2:first-child { margin-top: 0; }
.dok-inhalt a { background: linear-gradient(var(--linie-stark), var(--linie-stark)) no-repeat 0 100% / 100% 1px; transition: background-image .2s ease; }
.dok-inhalt a:hover { background-image: linear-gradient(var(--weiss), var(--weiss)); }
.dok-inhalt a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 900px) { .dok-inhalt { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf-zahl { font-size: clamp(5rem, 17vw, 15rem); line-height: .8; }
.nf-text { margin-top: 18px; font-size: 1.125rem; }

/* ---------- Fuß ---------- */
.fusszeile { margin-top: var(--abstand); padding-block: 28px 32px; border-top: 1px solid var(--linie); color: var(--grau); }
.seite-404 .fusszeile { margin-top: 0; }
.fusszeile-innen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); align-items: start; }
.fusszeile .marke { grid-column: 1 / span 3; color: var(--grau); transition: color .2s ease; }
.fusszeile .marke svg { height: 16px; }
.fusszeile p { grid-column: 4 / span 4; }
.fusszeile nav { grid-column: 8 / span 3; display: flex; gap: 10px; }
.fusszeile a { padding-block: 8px; transition: color .2s ease; }
.fusszeile a[href^="mailto:"] { text-transform: none; }
.fusszeile nav a, .fusszeile .marke { margin-block: -8px; }
.fusszeile a:hover, .fusszeile .marke:hover { color: var(--weiss); }
.nach-oben { grid-column: 12; justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -10px; padding: 0 !important; border: 1px solid var(--linie-stark); color: var(--weiss); transition: background-color .2s ease, color .2s ease; }
.nach-oben .i { width: 12px; height: 12px; }
.nach-oben:hover { background: var(--weiss); color: var(--schwarz) !important; }
@media (max-width: 760px) {
  .fusszeile-innen { grid-template-columns: 1fr auto; row-gap: 22px; }
  .fusszeile .marke, .fusszeile p, .fusszeile nav { grid-column: 1; }
  .nach-oben { grid-column: 2; grid-row: 1; }
}

/* ---------- Rasterhilfe (Taste G) ---------- */
.rasterhilfe { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.rasterhilfe .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt); height: 100%; }
.rasterhilfe span { background: rgba(255, 91, 36, .06); border-inline: 1px solid rgba(255, 91, 36, .28); }

/* ---------- Seitenwechsel ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-raus .26s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-rein .5s var(--ease) .05s both; }
@keyframes vt-raus { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-rein { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-titel .zeile, .b-name { animation: dehnen 1.5s var(--ease) both; }
  .hero-titel .zeile + .zeile { animation-delay: .12s; }
  @keyframes dehnen { from { font-stretch: 62%; opacity: 0; } to { font-stretch: 125%; opacity: 1; } }
  @supports (animation-timeline: view()) {
    .about-titel { animation: dehnen linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    .venture { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .anno-bild--sessel img, .anno-bild--mauer img { animation: belichten linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes auftauchen { from { opacity: 0; transform: translateY(28px); } }
    @keyframes belichten { from { opacity: .15; transform: scale(1.035); } }
    .anno-bild--sessel picture, .anno-bild--mauer picture { display: block; overflow: hidden; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .led, .schreibmarke { animation: none; }
  .punkt::after { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Druck ---------- */
@media print {
  :root { --schwarz: #fff; --weiss: #000; --lesen: #111; --grau: #555; --linie: #ccc; --linie-stark: #999; }
  .skip, .uhr, .buehne canvas, .instrument, .toc, .nach-oben, .punkt, .hero::before, .hero::after { display: none !important; }
  .hero { height: auto; min-height: 0; }
  .buehne { position: relative; aspect-ratio: 1672 / 940; }
  .hero-schicht { position: static; color: #000; }
  .kopfzeile { position: static; }
}
