/* Szene Raum: Scroll-Film "Eins zu eins" (beispiele/scroll-film), für die Website übernommen am 14.10.2026.
   Stile aus der Quelle unverändert, nur in eine Datei verlegt (CSP: style-src 'self'), Schriften aus /fonts/.
   Ergänzt: Zurück-Link in der Kopfzeile, Fußzeile mit Impressum und Datenschutz, Standbilder ohne JavaScript
   über html:not(.js) statt <noscript><style> (Inline-Stile blockt die CSP). */
@font-face { font-family: 'Google Sans Flex'; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url(/fonts/google-sans-flex-latin-slim.woff2) format('woff2-variations');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Google Sans Flex'; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url(/fonts/google-sans-flex-latin-ext-slim.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Google Sans Code'; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(/fonts/google-sans-code-wght.woff2) format('woff2-variations'); }

:root {
  --papier: #F2F0EB;
  --tinte: #1B1A18;
  --rot: #FD3A25;
  --stein: #D9CDBB;
  --end: 0;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--papier); }
body { background: var(--papier); color: var(--tinte); font-family: 'Google Sans Flex', system-ui, sans-serif;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }

/* Kopfzeile */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.4vw, 28px) clamp(16px, 3.2vw, 44px); pointer-events: none; }
.kopf { transition: color .5s var(--ease); }
.kopf.dunkel { color: var(--papier); }
.kopf.dunkel .stand-linie { background: rgba(242,240,235,.35); }
.marke { font-weight: 620; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: -.01em; font-variation-settings: 'ROND' 0; }
.marke span { color: var(--rot); }
.stand { display: flex; align-items: center; gap: 14px; font-family: 'Google Sans Code', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.stand-linie { position: relative; width: clamp(64px, 9vw, 140px); height: 1px; background: rgba(27,26,24,.22); overflow: hidden; }
#meter-fill { position: absolute; inset: 0; background: var(--rot); transform-origin: 0 50%; transform: scaleX(0); }
#station { min-width: 9ch; text-align: right; }

/* Kennzeichnung nach Art. 50 KI-VO, immer sichtbar */
.ki { position: fixed; left: clamp(16px, 3.2vw, 44px); bottom: clamp(14px, 2.4vw, 26px); z-index: 20;
  font-family: 'Google Sans Code', ui-monospace, monospace; font-size: clamp(12.5px, 1.5vw, 18px); letter-spacing: .04em;
  padding: .5em .85em .5em .75em; border-radius: 999px; background: rgba(242,240,235,.86); color: var(--tinte);
  box-shadow: 0 0 0 1px rgba(27,26,24,.08); display: inline-flex; align-items: center; gap: 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ki i { width: .48em; height: .48em; border-radius: 50%; background: var(--rot); display: block; }

/* Ladeanzeige */
#loader { position: fixed; inset: 0; z-index: 40; background: var(--papier); display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.is-live #loader { opacity: 0; visibility: hidden; }
.loader-box { width: min(320px, 72vw); display: grid; gap: 14px; }
.loader-titel { font-weight: 560; font-size: 15px; letter-spacing: -.005em; }
.loader-spur { height: 1px; background: rgba(27,26,24,.16); overflow: hidden; }
#loader-bar { height: 100%; background: var(--tinte); transform-origin: 0 50%; transform: scaleX(0); transition: transform .25s linear; }
#loader-pct { font-family: 'Google Sans Code', ui-monospace, monospace; font-size: 12px; color: rgba(27,26,24,.6); }

/* Fahrt */
#fahrt { position: relative; height: 760vh; }
.buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stein); }
#film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.buehne::after { /* leichte Vignette, nimmt zum Schluss ab */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(27,26,24,calc(.22 - .14 * var(--end))) 100%); }
.boden { position: absolute; inset: auto 0 0 0; height: 52%; pointer-events: none; opacity: var(--end);
  background: linear-gradient(to top, rgba(242,240,235,.9), rgba(242,240,235,.55) 45%, rgba(242,240,235,0)); }

.beat { --dy: 18px; position: absolute; z-index: 5; left: clamp(16px, 6vw, 96px); top: 50%;
  font-size: clamp(34px, 5.2vw, 84px); width: min(9.6em, calc(100vw - 32px)); transform: translate3d(0, calc(-50% + var(--dy)), 0);
  opacity: 0; visibility: hidden; will-change: opacity, transform; transition: color .5s var(--ease); }
.beat::before { content: ""; position: absolute; z-index: -1; inset: -45% -22% -45% -16%; transition: opacity .5s var(--ease);
  background: radial-gradient(56% 54% at 40% 50%, rgba(242,240,235,.62), rgba(242,240,235,.30) 50%, transparent 76%); }
.beat::after { content: ""; position: absolute; z-index: -1; inset: -45% -22% -45% -16%; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(56% 54% at 40% 50%, rgba(27,26,24,.58), rgba(27,26,24,.28) 50%, transparent 76%); }
.beat.dunkel { color: var(--papier); text-shadow: 0 1px 18px rgba(27,26,24,.45); }
/* Einblenden als Vorhang von oben nach unten: sichtbare Buchstaben stehen immer in voller Deckkraft,
   statt lange halbtransparent (grau auf dunklem Grund) durchzuscheinen. --cut setzt film.js. */
.beat > * { clip-path: inset(-0.3em -0.4em var(--cut, 0%) -0.4em); }
.beat.dunkel::before { opacity: 0; }
.beat.dunkel::after { opacity: 1; }
.beat h1, .beat h2 { font-weight: 560; font-size: 1em; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.beat .klein { display: block; margin-bottom: 18px; font-family: 'Google Sans Code', ui-monospace, monospace;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 450; }
.beat .klein b { color: var(--rot); font-weight: 600; }
.beat.rechts { left: auto; right: clamp(16px, 6vw, 96px); text-align: right; }
.beat.hero { top: auto; bottom: 14vh; transform: translate3d(0, var(--dy), 0); width: min(8.6em, calc(100vw - 32px)); }

.beat.schluss { position: absolute; z-index: 6; left: 50%; top: auto; bottom: clamp(56px, 10vh, 120px); transform: translate3d(-50%, var(--dy), 0);
  font-size: 16px; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
.beat.schluss::before, .beat.schluss::after { display: none; }
.beat.schluss.dunkel { color: var(--tinte); }
.schluss .name { display: block; font-weight: 500; font-size: clamp(15px, 1.4vw, 20px); letter-spacing: -.005em; margin-bottom: 10px; }
.schluss a { display: inline-block; text-decoration: none; font-weight: 600; font-size: clamp(30px, 5vw, 76px);
  letter-spacing: -.035em; line-height: 1; pointer-events: auto; }
.schluss a::after { content: ""; display: block; height: 2px; margin-top: .14em; background: var(--rot);
  transform-origin: 0 50%; transform: scaleX(.18); transition: transform .6s var(--ease); }
.schluss a:hover::after, .schluss a:focus-visible::after { transform: scaleX(1); }
.schluss .zeile { display: block; margin-top: 16px; font-family: 'Google Sans Code', ui-monospace, monospace; font-size: 12.5px;
  letter-spacing: .07em; text-transform: uppercase; }

.hint { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 46px; background: rgba(27,26,24,.18); overflow: hidden; z-index: 6; }
.hint::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--tinte);
  animation: tropfen 2.4s var(--ease) infinite; }
@keyframes tropfen { 0% { top: -40%; } 70%, 100% { top: 100%; } }

/* Standbild-Abfolge bei reduzierter Bewegung (und ohne JavaScript) */
.still { display: none; }
.is-still #fahrt, .is-still #loader { display: none; }
.is-still .still { display: block; }
.is-still .kopf { position: absolute; }
.still figure { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still figcaption { position: absolute; left: clamp(16px, 6vw, 96px); bottom: 14vh; width: min(9.6em, calc(100vw - 32px));
  font-weight: 560; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.03; letter-spacing: -.03em; }
.still figcaption::before { content: ""; position: absolute; z-index: -1; inset: -60% -30% -60% -22%;
  background: radial-gradient(58% 56% at 34% 50%, rgba(242,240,235,.82), rgba(242,240,235,.5) 46%, transparent 76%); }
.still figcaption.dunkel { color: var(--papier); }
.still figcaption.dunkel::before { background: radial-gradient(58% 56% at 34% 50%, rgba(27,26,24,.5), rgba(27,26,24,.22) 46%, transparent 76%); }
.still figcaption.mitte { left: 50%; transform: translateX(-50%); text-align: center; width: max-content; max-width: 92vw; }

@media (max-aspect-ratio: 4/5) {
  .beat { top: auto; bottom: 18vh; left: 16px; transform: translate3d(0, var(--dy), 0); font-size: clamp(32px, 9.4vw, 44px); }
  .beat.rechts { right: auto; left: 16px; text-align: left; }
  .beat.hero { bottom: 18vh; }
  .stand-linie { display: none; }
  .beat.schluss { bottom: 15vh; }
  .ki { bottom: 16px; }
  .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hint::after { animation: none; }
}

/* ---------- Ergänzungen für die Website (14.10.2026) ---------- */
.kopf a { pointer-events: auto; text-decoration: none; }
.kopf .zurueck { font-family: 'Google Sans Code', ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-left: clamp(14px, 2vw, 28px); }
.kopf .zurueck:hover, .kopf .marke:hover { color: var(--rot); }
.kopf-links { display: flex; align-items: center; }
/* Ohne JavaScript: Standbilder statt Fahrt */
html:not(.js) #fahrt, html:not(.js) #loader { display: none; }
html:not(.js) .still { display: block; }
html:not(.js) .kopf { position: absolute; }
.raum-fuss { position: relative; z-index: 21; background: var(--papier); border-top: 1px solid rgba(27,26,24,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 24px clamp(16px, 3.2vw, 44px) 32px; font-family: 'Google Sans Code', ui-monospace, monospace; font-size: 12px; color: rgba(27,26,24,.7); }
.raum-fuss ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.raum-fuss a { text-decoration: none; color: var(--tinte); }
.raum-fuss a:hover { color: var(--rot); }
