/* PASSER · Druckerei in Wels (Beispiel) · lp-284
   Papierweiß mit vier satten Druckfarben. Schrift: Schibsted Grotesk, kleine Angaben in IBM Plex Mono. */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --papier: #F6F2E9;
  --bogen: #FFFDF8;
  --tinte: #14110F;
  --gelb: #FFD400;
  --magenta: #DB0070;
  --cyan: #00A0E3;
  --grau: #6A635A;

  --schrift: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-h1: clamp(2.5rem, 6vw, 5.6rem);
  --s-h2: clamp(2rem, 3.7vw, 3.5rem);
  --s-h3: clamp(1.5rem, 2.3vw, 2.2rem);
  --s-text: clamp(1.06rem, 1.25vw, 1.2rem);
  --s-klein: .86rem;

  --a1: 8px; --a2: 16px; --a3: 28px; --a4: 48px; --a5: clamp(72px, 10vw, 150px);
  --seite: clamp(18px, 4vw, 64px);
  --leiste-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--leiste-h) + 20px); }
html:not(.bewegt) { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--schrift); font-size: var(--s-text); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--s-h1); }
h2 { font-size: var(--s-h2); }
h3 { font-size: var(--s-h3); }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; box-shadow: 0 0 0 6px var(--bogen); }
.rand { width: min(1600px, 100%); margin-inline: auto; padding-inline: var(--seite); }

.sprung { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--tinte); color: var(--papier); padding: 12px 18px; }
.sprung:focus { top: 12px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--tinte); color: var(--papier); font: 700 1.05rem/1 var(--schrift); text-decoration: none; border: 0; border-radius: 4px; cursor: pointer; transition: transform .18s cubic-bezier(.2,.7,.2,1), background-color .18s, color .18s; }
.knopf:hover { transform: translateY(-2px); background: var(--magenta); color: #fff; }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.knopf-hell { background: var(--gelb); color: var(--tinte); }
.knopf-hell:hover { background: var(--bogen); color: var(--tinte); }
.knopf-satz { font-size: .95rem; margin-top: 12px; opacity: .88; }

/* ---------- Kopfzeile ---------- */
.leiste { position: fixed; z-index: 50; top: 10px; left: var(--seite); right: var(--seite); height: var(--leiste-h); display: flex; align-items: center; gap: var(--a3); padding: 0 10px 0 18px; background: var(--bogen); border: 2px solid var(--tinte); border-radius: 6px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; min-height: 44px; }
.marke small { font-weight: 500; font-size: .78rem; color: var(--grau); letter-spacing: 0; }
.marke-kreuz { position: relative; width: 22px; height: 22px; border: 2px solid var(--tinte); border-radius: 50%; flex: none; }
.marke-kreuz::before, .marke-kreuz::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--tinte); translate: -50% -50%; }
.marke-kreuz::before { width: 30px; height: 2px; }
.marke-kreuz::after { width: 2px; height: 30px; }
.leiste-nav { margin-left: auto; display: flex; gap: 4px; }
.leiste-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; font-size: .98rem; text-decoration: none; border-radius: 4px; }
.leiste-nav a:hover { background: var(--gelb); }

/* ---------- Bühne: der Bogen druckt sich ---------- */
.druck { position: relative; }
.buehne { position: relative; display: grid; grid-template-columns: minmax(340px, 37%) 1fr; min-height: 100svh; }
html.bewegt .druck { height: 640vh; }
html.bewegt .buehne { position: sticky; top: 0; height: 100svh; overflow: clip; }

.feld { position: relative; overflow: clip; color: #fff; --feld-zart: rgba(255,255,255,.22); }
.feld-farbe { position: absolute; inset: 0; --w: 0; clip-path: inset(0 0 calc((1 - var(--w)) * 100%) 0); }
.buehne-grund { position: absolute; inset: 0; background: var(--magenta); --w: 1; clip-path: inset(calc((1 - var(--w)) * 100%) 0 0 0); overflow: clip; }
.buehne-grund span { position: absolute; left: 50%; bottom: -9.4vw; translate: -50% 0; font-weight: 900; font-size: 25.4vw; line-height: .8; letter-spacing: -.055em; color: var(--tinte); white-space: nowrap; }
html:not(.bewegt) .buehne-grund { display: none; }
.buehne[data-kap="0"] .mess { color: #fff; }
.f1 { background: var(--papier); }
.f2 { background: var(--gelb); }
.f3 { background: var(--magenta); }
.f4 { background: var(--cyan); }
.f5 { background: var(--tinte); }
.f6 { background: var(--papier); }

.buehne[data-kap="1"] .feld, .buehne[data-kap="2"] .feld, .buehne[data-kap="4"] .feld, .buehne[data-kap="6"] .feld { color: var(--tinte); --feld-zart: rgba(20,17,15,.13); }
.buehne[data-kap="5"] .feld { color: var(--papier); --feld-zart: rgba(246,242,233,.16); }
.feld { transition: color .25s; }

.riese { position: absolute; right: -2vw; bottom: -9vh; font-weight: 900; font-size: min(58vh, 34vw); line-height: .8; letter-spacing: -.06em; color: var(--feld-zart); pointer-events: none; }
.riese span { position: absolute; right: 0; bottom: 0; opacity: 0; translate: 0 14%; transition: opacity .35s, translate .6s cubic-bezier(.2,.7,.2,1); }
.buehne[data-kap="1"] .r1, .buehne[data-kap="2"] .r2, .buehne[data-kap="3"] .r3, .buehne[data-kap="4"] .r4, .buehne[data-kap="5"] .r5, .buehne[data-kap="6"] .r6 { opacity: 1; translate: 0 0; }

.kapitel { position: absolute; left: var(--seite); right: clamp(18px, 3vw, 48px); top: 50%; translate: 0 calc(-50% + 30px); opacity: 0; visibility: hidden; transition: opacity .3s, translate .5s cubic-bezier(.2,.7,.2,1), visibility 0s .3s; max-width: 30em; }
.kapitel.ist-da { opacity: 1; visibility: visible; translate: 0 -50%; transition: opacity .35s .12s, translate .6s .12s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.kapitel h2 { margin-bottom: var(--a3); }
.kapitel p + p { margin-top: var(--a2); }
.k0, .k0.ist-da { top: calc(var(--leiste-h) + 4.5vh); translate: 0 0; }
.k0 h1 span { display: block; }
.vorspann { margin-top: var(--a3); font-size: clamp(1.1rem, 1.45vw, 1.35rem); max-width: 26em; }
.beleg { margin: var(--a3) 0; font-weight: 700; font-size: 1rem; }
.k0 .knopf { background: var(--tinte); }
.k0 .knopf:hover { background: var(--gelb); color: var(--tinte); }
.maus-tipp { font-weight: 700; }
@media (pointer: coarse) { .maus-tipp { display: none; } }

.scroll-tipp { position: absolute; z-index: 3; left: auto; right: 26px; top: calc(var(--leiste-h) + 34px); writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; font: 500 var(--s-klein)/1 var(--mono); transition: opacity .3s; }
.scroll-tipp i { width: 2px; height: 26px; background: currentColor; transform-origin: top; animation: tropf 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes tropf { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.buehne:not([data-kap="0"]) .scroll-tipp { opacity: 0; }
html:not(.bewegt) .scroll-tipp { display: none; }

.tisch { position: relative; display: grid; place-items: center; padding: calc(var(--leiste-h) + 26px) 0 76px; min-width: 0; }
.bogen { position: relative; height: min(100%, 78svh); max-height: 100%; aspect-ratio: 3 / 4; max-width: 62%; background: var(--bogen); box-shadow: 0 1px 0 rgba(20,17,15,.08), 0 30px 60px -24px rgba(20,17,15,.38), 0 8px 16px -8px rgba(20,17,15,.2); }
html.bewegt .bogen { height: min(78svh, 78vw); max-width: none; }
.bogen-foto { position: absolute; inset: 7% 7%; width: 86%; height: calc(100% - 14% * 3 / 4); object-fit: cover; }
/* Rand des Bogens ist 7 % der Breite, oben und unten gleich viele Bildpunkte */
.bogen-foto { inset: auto; left: 7%; top: calc(7% * 3 / 4); height: calc(100% - 2 * 7% * 3 / 4); }
.druck-leinwand { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
html.bewegt.platten .druck-leinwand { display: block; }
html.bewegt.platten .bogen-foto { opacity: 0; z-index: 2; }

.rand-zeile { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.streifen { display: flex; gap: 6px; }
.st { display: flex; gap: 2px; opacity: .16; transition: opacity .4s; }
.st.an { opacity: 1; }
.st i { width: 22px; height: 12px; background: currentColor; }
.st i:nth-child(2) { opacity: .62; } .st i:nth-child(3) { opacity: .3; }
.st-y { color: var(--gelb); } .st-m { color: #EC008C; } .st-c { color: var(--cyan); } .st-k { color: var(--tinte); }
.mess { display: flex; gap: 22px; font: 500 var(--s-klein)/1 var(--mono); color: var(--tinte); font-variant-numeric: tabular-nums; }
html:not(.bewegt) .rand-zeile { display: none; }

/* ohne Bewegung oder ohne JavaScript: Kapitel als ruhige Folge untereinander */
html:not(.bewegt) .buehne { grid-template-columns: 1fr; }
html:not(.bewegt) .feld { display: contents; color: var(--tinte); }
html:not(.bewegt) .feld-farbe, html:not(.bewegt) .riese { display: none; }
html:not(.bewegt) .kapitel { position: static; translate: none; opacity: 1; visibility: visible; max-width: none; padding: var(--a4) var(--seite); transition: none; }
html:not(.bewegt) .kapitel > * { max-width: 34em; }
html:not(.bewegt) .k0 { order: -2; padding-top: calc(var(--leiste-h) + 60px); background: var(--magenta); color: #fff; }
html:not(.bewegt) .tisch { order: -1; padding: var(--a4) 0; }
html:not(.bewegt) .bogen { height: auto; width: min(420px, 80vw); }
html:not(.bewegt) .k2 { background: var(--gelb); }
html:not(.bewegt) .k3 { background: var(--magenta); color: #fff; }
html:not(.bewegt) .k4 { background: var(--cyan); }
html:not(.bewegt) .k5 { background: var(--tinte); color: var(--papier); }
html:not(.bewegt) .maus-tipp { display: none; }

/* ---------- Was wir drucken: Seitwärtsfahrt ---------- */
.reihe { position: relative; background: var(--papier); }
.reihe-halt { padding: var(--a5) 0; }
.reihe-band { display: flex; flex-direction: column; gap: var(--a4); padding-inline: var(--seite); }
.reihe-kopf p { margin-top: var(--a3); max-width: 24em; }
.reihe-tipp { display: none; }
.kachel-bild { position: relative; aspect-ratio: 4 / 3; background: var(--bogen); overflow: clip; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel-bild canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.kachel-text { position: relative; margin-top: var(--a2); display: grid; grid-template-columns: auto 1fr; column-gap: var(--a3); align-items: baseline; }
.kachel-nr { font: 500 var(--s-klein)/1 var(--mono); grid-row: span 2; padding-top: .7em; }
.kachel-text p { margin-top: 8px; max-width: 30em; }

@media (min-width: 821px) {
  html.bewegt .reihe-halt { position: sticky; top: 0; height: 100svh; padding: var(--leiste-h) 0 0; overflow: clip; display: flex; align-items: center; }
  html.bewegt .reihe-band { flex-direction: row; align-items: center; gap: 5vw; padding-inline: var(--seite) 14vw; will-change: transform; }
  html.bewegt .reihe-kopf { flex: none; width: 30vw; }
  html.bewegt .reihe-tipp { display: flex; align-items: center; gap: 12px; margin-top: var(--a4); font: 500 var(--s-klein)/1 var(--mono); }
  html.bewegt .reihe-tipp i { width: 46px; height: 2px; background: var(--tinte); transform-origin: left; animation: zieh 1.8s cubic-bezier(.6,0,.3,1) infinite; }
  html.bewegt .kachel { flex: none; width: min(46vw, 80svh); }
  html.bewegt .kachel-bild { box-shadow: 0 30px 60px -28px rgba(20,17,15,.4); }
  html.bewegt.platten .kachel-bild canvas { display: block; }
  html.bewegt.platten .kachel-bild img { position: relative; z-index: 1; opacity: var(--scharf, 1); }
}
@keyframes zieh { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Ablauf: Fenster geht auf, Laufzettel hakt ab ---------- */
.ablauf { position: relative; background: var(--papier); }
.ablauf-halt { position: relative; min-height: 100svh; display: grid; align-items: end; }
.ablauf-bild { position: absolute; inset: 0; overflow: clip; --e: 1; clip-path: inset(calc((1 - var(--e)) * 16vh) calc((1 - var(--e)) * 14vw) round calc((1 - var(--e)) * 22px)); }
.ablauf-bild img { width: 100%; height: 100%; object-fit: cover; scale: calc(1.12 - var(--e) * .12); }
.zettel { position: relative; margin: 0 var(--seite) var(--a4) auto; width: min(520px, 100% - 2 * var(--seite)); background: var(--bogen); padding: var(--a3) var(--a3) var(--a2); box-shadow: 0 30px 60px -24px rgba(20,17,15,.5); margin-top: 46svh; }
.zettel h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); margin-bottom: var(--a3); }
.schritte li { position: relative; padding: 14px 0 14px 46px; border-top: 2px solid var(--tinte); }
.schritte li::before { content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 26px; border: 2px solid var(--tinte); background: var(--bogen); transition: background-color .3s; }
.schritte li::after { content: ""; position: absolute; left: 7px; top: 20px; width: 12px; height: 7px; border-left: 3px solid var(--tinte); border-bottom: 3px solid var(--tinte); rotate: -45deg; scale: 0; transition: scale .35s cubic-bezier(.3,1.6,.5,1); }
.schritte b { display: block; font-size: 1.15rem; }
.schritte span { display: block; font-size: 1rem; }
html.bewegt .schritte li { opacity: .38; transition: opacity .3s; }
html.bewegt .schritte li.ok { opacity: 1; }
.schritte li.ok::after, html:not(.bewegt) .schritte li::after { scale: 1; }
.schritte li:nth-child(1).ok::before { background: var(--gelb); }
.schritte li:nth-child(2).ok::before { background: #F58BC0; }
.schritte li:nth-child(3).ok::before { background: #6FCBF2; }
.schritte li:nth-child(4).ok::before { background: var(--gelb); }
html.bewegt .ablauf { height: 230vh; }
html.bewegt .ablauf-halt { position: sticky; top: 0; height: 100svh; min-height: 0; }
html.bewegt .zettel { margin-top: 0; }
.lupe { position: absolute; left: 0; top: 0; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; border: 6px solid var(--tinte); box-shadow: 0 0 0 3px var(--bogen), 0 18px 40px rgba(20,17,15,.45); background: url("../bilder/drucker.webp") no-repeat; opacity: 0; scale: .6; transition: opacity .2s, scale .25s cubic-bezier(.2,.7,.2,1); pointer-events: none; will-change: transform; }
.lupe.an { opacity: 1; scale: 1; }

/* ---------- Preise ---------- */
.preise { background: var(--gelb); padding: var(--a5) 0; }
.preise-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.preise-wahl > p { margin-top: var(--a3); max-width: 26em; }
.wahl { margin-top: var(--a3); display: flex; flex-wrap: wrap; gap: 8px; }
.wahl legend { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--tinte); border-radius: 4px; font-weight: 700; transition: background-color .18s, color .18s, transform .18s; }
.wahl label:hover span { transform: translateY(-2px); }
.wahl input:checked + span { background: var(--tinte); color: var(--gelb); }
.wahl input:focus-visible + span { outline: 3px solid var(--tinte); outline-offset: 3px; }
.regler { margin-top: var(--a3); }
.regler label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1rem; }
.regler output { font: 800 1.5rem/1 var(--schrift); font-variant-numeric: tabular-nums; }
.regler input { width: 100%; height: 44px; margin: 6px 0 0; background: none; accent-color: var(--tinte); -webkit-appearance: none; appearance: none; cursor: pointer; }
.regler input::-webkit-slider-runnable-track { height: 6px; background: var(--tinte); border-radius: 3px; }
.regler input::-moz-range-track { height: 6px; background: var(--tinte); border-radius: 3px; }
.regler input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--magenta); border: 3px solid var(--tinte); }
.regler input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--magenta); border: 3px solid var(--tinte); }

.angebot { position: relative; padding-bottom: 20px; --blatt: var(--bogen); }
.angebot[data-papier="natur"] { --blatt: #F3E9D2; }
.angebot[data-papier="recycling"] { --blatt: #E4E1D8; }
.stapel { position: absolute; left: 0; right: 0; bottom: 0; top: 0; }
.stapel i { position: absolute; left: 0; right: 0; top: 0; bottom: 20px; background: var(--blatt); border: 1px solid rgba(20,17,15,.28); translate: calc(var(--n) * 3px) calc(var(--n) * 3px); transition: translate .45s cubic-bezier(.2,.7,.2,1), opacity .3s, background-color .3s; }
.stapel i.weg { translate: 0 0; opacity: 0; }
.angebot-blatt { position: relative; background: var(--blatt); border: 2px solid var(--tinte); padding: clamp(22px, 3vw, 44px); transition: background-color .3s; }
.angebot-zeile { font: 500 var(--s-klein)/1.4 var(--mono); }
.angebot-preis { font-weight: 900; font-size: clamp(3.4rem, 8vw, 7.4rem); line-height: 1; letter-spacing: -.04em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.angebot-stueck { margin-bottom: var(--a3); font-variant-numeric: tabular-nums; }
.angebot-klein { font-size: .9rem; margin-top: var(--a2); color: #3b352e; }

/* ---------- Anfrage ---------- */
.anfrage { background: var(--tinte); color: var(--papier); padding: var(--a5) 0; }
.anfrage :focus-visible { outline-color: var(--gelb); box-shadow: none; }
.anfrage-raster { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.anfrage-text p { margin-top: var(--a3); max-width: 26em; }
.anfrage-ruf a { font-weight: 700; white-space: nowrap; }
.kreuz { position: relative; width: 92px; height: 92px; margin-bottom: var(--a4); --v: 1; }
.kreuz i { position: absolute; inset: 0; border: 4px solid currentColor; border-radius: 50%; mix-blend-mode: screen; translate: calc(var(--x) * var(--v) * 1px) calc(var(--y) * var(--v) * 1px); transition: translate .7s cubic-bezier(.3,1.5,.5,1); }
.kreuz i::before, .kreuz i::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; translate: -50% -50%; }
.kreuz i::before { width: 150%; height: 4px; } .kreuz i::after { width: 4px; height: 150%; }
.kz-y { color: #FFE600; --x: -9; --y: -6; } .kz-m { color: #FF2AA0; --x: 8; --y: -7; } .kz-c { color: #19B5F5; --x: -7; --y: 8; } .kz-k { color: #F6F2E9; --x: 9; --y: 7; opacity: .55; }
.kreuz.sitzt { --v: 0; }

.formular { display: grid; gap: var(--a2); }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--a2); }
.eingabe label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.eingabe small { font-weight: 400; opacity: .7; }
.eingabe input, .eingabe textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: 500 1.05rem/1.4 var(--schrift); color: var(--tinte); background: var(--bogen); border: 2px solid var(--bogen); border-radius: 4px; }
.eingabe textarea { resize: vertical; }
.eingabe input::placeholder { color: #7a7268; }
.eingabe input:focus-visible, .eingabe textarea:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.eingabe [aria-invalid="true"] { border-color: #FF5AA8; }
.feld-fehler { font-size: .92rem; color: #FF9BCB; min-height: 0; margin-top: 4px; }
.formular .knopf { justify-self: start; margin-top: 6px; }
.formular-meldung { font-weight: 700; font-size: 1.1rem; color: var(--gelb); }
.formular-meldung:empty { display: none; }
.formular-meldung:focus { outline: none; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--papier); padding: var(--a5) 0 var(--a4); overflow: clip; }
.fuss-wort { position: relative; font-weight: 900; font-size: min(24.5vw, 420px); line-height: .8; letter-spacing: -.055em; text-align: center; height: .82em; --v: 1; margin-bottom: var(--a4); user-select: none; }
.fuss-wort span { position: absolute; inset: 0; mix-blend-mode: multiply; translate: calc(var(--x) * var(--v) * 1vw) calc(var(--y) * var(--v) * 1vw); }
.fw-y { color: #FFE600; --x: -1.5; --y: -.9; } .fw-m { color: #EC008C; --x: 1.3; --y: -1.1; } .fw-c { color: #00A6EB; --x: -1.1; --y: 1.2; } .fw-k { color: var(--tinte); --x: 1.6; --y: 1; }
html:not(.bewegt) .fuss-wort { --v: 0; }
.fuss-raster { display: grid; grid-template-columns: 2fr 1.4fr auto 2fr; gap: var(--a4); font-size: 1rem; }
.fuss-raster a { text-underline-offset: 3px; }
.fuss-raster p:nth-child(2) a { display: inline-block; padding: 3px 0; }
.fuss-klein { color: #4b443c; }
.zeichen-liste { display: flex; gap: 6px; align-self: start; }
.zeichen-link { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color .18s; }
.zeichen-link:hover { background: var(--gelb); }
.zeichen { width: 22px; height: 22px; }

/* ---------- Farbstreifen am Seitenrand: zeigt, wie weit die Seite gedruckt ist ---------- */
.seitenstreifen { position: fixed; z-index: 40; right: 6px; top: 50%; translate: 0 -50%; display: grid; gap: 3px; }
.seitenstreifen i { width: 8px; height: 18px; background: currentColor; opacity: .16; transition: opacity .3s; }
.seitenstreifen i.an { opacity: 1; }
.seitenstreifen i:nth-child(4n+1) { color: #FFD400; } .seitenstreifen i:nth-child(4n+2) { color: #EC008C; } .seitenstreifen i:nth-child(4n+3) { color: #00A0E3; } .seitenstreifen i:nth-child(4n) { color: #14110F; }
html:not(.bewegt) .seitenstreifen { display: none; }
.seitenstreifen.dunkel i:nth-child(4n) { color: #F6F2E9; }

/* ---------- Handy und schmale Fenster ---------- */
@media (max-width: 820px) {
  :root { --leiste-h: 56px; }
  .leiste { gap: 8px; padding: 0 6px 0 12px; }
  .leiste-nav { display: none; }
  .leiste .knopf-klein { margin-left: auto; }
  .marke small { display: none; }
  html.bewegt .buehne { grid-template-columns: 1fr; grid-template-rows: 47svh 1fr; }
  html.bewegt .tisch { order: -1; padding: calc(var(--leiste-h) + 18px) 0 44px; }
  html.bewegt .bogen { height: 100%; }
  .rand-zeile { bottom: 8px; gap: 6px; }
  .st i { width: 14px; height: 8px; }
  .mess { font-size: .74rem; gap: 14px; }
  .kapitel { top: 22px; translate: 0 24px; right: var(--seite); }
  .kapitel.ist-da { translate: 0 0; }
  .k0, .k0.ist-da { top: 22px; }
  .buehne-grund span { display: none; }
  .kapitel h2 { margin-bottom: 12px; }
  .vorspann { margin-top: 12px; font-size: 1.02rem; }
  .beleg { margin: 12px 0; font-size: .78rem; }
  .kapitel p { font-size: 1.02rem; line-height: 1.42; }
  .riese { font-size: 40vh; bottom: -6vh; }
  .scroll-tipp { display: none; }
  .preise-raster, .anfrage-raster, .feldpaar { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-raster > p:first-child, .zeichen-liste, .fuss-klein { grid-column: 1 / -1; }
  .zettel { margin-inline: var(--seite); width: auto; }
  html.bewegt .ablauf { height: auto; }
  html.bewegt .ablauf-halt { position: relative; height: auto; min-height: 100svh; }
  html.bewegt .zettel { margin-top: 44svh; }
  html.bewegt .schritte li { opacity: 1; }
  .schritte li::after { scale: 1; }
  .ablauf-bild { bottom: auto; height: 60svh; }
  .lupe { display: none; }
  .seitenstreifen { display: none; }
  .fuss-wort { font-size: 25vw; }
}
/* flaches Fenster: Text und Bogen dürfen sich nicht drängen */
@media (min-width: 821px) and (max-height: 620px) {
  :root { --s-h1: clamp(2rem, 9vh, 4rem); --s-h2: clamp(1.6rem, 7vh, 2.6rem); }
  .vorspann { margin-top: 10px; font-size: 1rem; }
  .beleg { margin: 10px 0; }
  .knopf-satz { margin-top: 6px; font-size: .85rem; }
  .kapitel p { font-size: 1rem; line-height: 1.4; }
  .kapitel h2 { margin-bottom: 12px; }
  .scroll-tipp { display: none; }
  .buehne-grund span { display: none; }
  .k0, .k0.ist-da { top: calc(var(--leiste-h) + 22px); }
  .tisch { padding-bottom: 60px; }
  html.bewegt .bogen { height: min(70svh, 78vw); }
  .zettel { padding: 16px 20px 8px; }
  .zettel h2 { font-size: 1.4rem; margin-bottom: 10px; }
  .schritte li { padding: 6px 0 6px 40px; }
  .schritte li::before { top: 8px; } .schritte li::after { top: 12px; }
  .schritte span { font-size: .9rem; line-height: 1.3; }
}

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

/* ---------- Seite Rechtliches ---------- */
.recht-seite .leiste { position: sticky; margin: 10px var(--seite) 0; left: auto; right: auto; }
.recht-knopf { margin-left: auto; }
.recht { width: min(760px, 100%); margin-inline: auto; padding: var(--a4) var(--seite) var(--a5); }
.recht h1 { font-size: var(--s-h2); margin-bottom: var(--a3); }
.recht h2 { font-size: 1.5rem; margin: var(--a4) 0 var(--a2); }
.recht p + p { margin-top: var(--a2); }
.recht dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.recht dt { font-weight: 700; } .recht dd { margin: 0; }
.hinweis-kasten { background: var(--gelb); padding: var(--a2) var(--a3); border: 2px solid var(--tinte); }
.fuss-recht { padding: var(--a3) 0; }
@media (max-width: 600px) { .recht dl { grid-template-columns: 1fr; gap: 2px; } .recht dd { margin-bottom: 10px; } }

/* schmal UND flach (kleines Fenster quer): Text links, Bogen rechts */
@media (max-width: 820px) and (max-height: 560px) and (min-aspect-ratio: 5/4) {
  html.bewegt .buehne { grid-template-columns: 56% 1fr; grid-template-rows: 1fr; }
  html.bewegt .tisch { order: 1; padding: calc(var(--leiste-h) + 20px) 0 46px; }
  .kapitel, .k0, .k0.ist-da { top: calc(var(--leiste-h) + 24px); }
  :root { --s-h1: 1.9rem; --s-h2: 1.6rem; }
  .vorspann, .kapitel p { font-size: .92rem; line-height: 1.35; margin-top: 8px; }
  .beleg { margin: 8px 0; font-size: .7rem; }
  .k0 .knopf { min-height: 44px; }
  .knopf-satz { font-size: .8rem; margin-top: 6px; }
  .riese { font-size: 46vh; }
  .mess span:first-child { display: none; }
}
