/* =====================================================================
   NOTORIOUS CONCEPTS
   Inhaber: Alex Fritz
   Designsprache: Andruckbogen / Druckmarken
   ===================================================================== */

/* ----- Schrift: Poppins (freie, geometrische Sans), selbst gehostet
   Die Dateien liegen im Ordner /fonts und werden direkt mitgeliefert —
   kein Laden von fremden Servern (DSGVO-sicher), auf jedem Gerät gleich.
   Hinweis: Eine noch nähere Avenir-Next-Alternative wäre Mulish; siehe
   fonts/LIESMICH.txt für den (optionalen) Wechsel. ---------------------*/
/* Anton (SIL Open Font License) — schmale, fette Schrift der "BE …"-Sequenz, selbst gehostet */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/anton-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 300;
  font-display: swap; src: url("fonts/poppins-300.woff") format("woff");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/poppins-400.woff") format("woff");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/poppins-500.woff") format("woff");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/poppins-700.woff") format("woff");
}

/* ----- Design-Tokens --------------------------------------------------*/
:root {
  /* Flächen */
  --paper:        #ffffff;
  --paper-soft:   #f5f5f1;
  --ink:          #0a0a0a;
  --ink-soft:     #161616;
  --muted:        #8d8d87;
  --line:         #0a0a0a;
  --hairline:     rgba(10, 10, 10, .14);

  /* Druck-Primärfarben (CMYK) */
  --c: #00aeef;
  --m: #ec008c;
  --y: #ffed00;
  --k: #0a0a0a;

  /* Spot-/Schmuckfarben aus dem Kontrollstreifen */
  --s-blue:  #2b2a8c;
  --s-green: #00a651;
  --s-red:   #e3001b;
  --p-cream: #f7efc0;
  --p-pink:  #f4a9c6;
  --p-blue:  #92cdee;
  --p-gray:  #9d9d9c;

  /* Typografie */
  --font: "Poppins", "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont,
          "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Raster */
  --edge: clamp(20px, 4vw, 56px);   /* Seitenrand = Beschnittzone */
  --maxw: 1280px;

  /* Bewegung */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ----- Reset ----------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;   /* clip erzeugt keinen Scroll-Container -> position: sticky (.chrome) funktioniert */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--m); color: #fff; }

/* ----- Hilfsklassen Typo ---------------------------------------------*/
.eyebrow {
  font-size: clamp(.62rem, .9vw, .72rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.label {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Wortmarke: NOTORIOUS fett, CONCEPTS leicht — beide exakt gleich lang */
.wordmark { display: inline-block; line-height: .92; text-align: left; }
.wordmark .n {
  display: block;
  font-weight: 800;
  letter-spacing: -.01em;
}
.wordmark .c {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: 300;
  font-size: .9em;
}
.wordmark .c span { display: inline-block; }

/* =====================================================================
   DRUCKBOGEN-RAHMEN  (Schnittmarken + Passkreuze, fix im Viewport)
   ===================================================================== */
.sheet-frame { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* Schnittmarken: untere in den Ecken, obere mit Abstand unter der Navigation.
   z-index unter der Kopfleiste, damit das mobile Menü sie sauber überdeckt. */
.crop {
  position: fixed;
  width: 34px; height: 34px;
  z-index: 40;
  pointer-events: none;
  transition: top .45s var(--ease);
}
.crop::before, .crop::after {
  content: ""; position: absolute; background: var(--line);
}
/* horizontale + vertikale Linie je Marke */
.crop::before { width: 34px; height: 1px; }
.crop::after  { width: 1px;  height: 34px; }

.crop.tl { top: 158px; left: 14px; }
.crop.tl::before { top: 0; left: 14px; }
.crop.tl::after  { top: 14px; left: 0; }

.crop.tr { top: 158px; right: 14px; }
.crop.tr::before { top: 0; right: 14px; }
.crop.tr::after  { top: 14px; right: 0; }

.crop.bl { bottom: 14px; left: 14px; }
.crop.bl::before { bottom: 0; left: 14px; }
.crop.bl::after  { bottom: 14px; left: 0; }

.crop.br { bottom: 14px; right: 14px; }
.crop.br::before { bottom: 0; right: 14px; }
.crop.br::after  { bottom: 14px; right: 0; }

/* Beim Scrollen werden die oberen Marken von der Navigation "aufgefangen":
   sie rücken mit Abstand unter die Kopfleiste. Ganz oben (Hero) sitzen sie
   wieder unter den Farbkontrollstreifen (Basiswert oben). */
html.scrolled .crop.tl, html.scrolled .crop.tr { top: 76px; }

/* Unterseiten (Kontakt/Impressum/Datenschutz) haben keinen Hero-Streifen —
   dort sitzen die oberen Marken dauerhaft direkt unter dem Header (gleicher
   Abstand wie im gescrollten Zustand). */
body.subpage .crop.tl, body.subpage .crop.tr { top: 76px; }

/* Scroll-Fortschritt als CMYK-Kontrollstreifen ganz oben */
.progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%;
  z-index: 70; display: flex; transform-origin: left center;
  transform: scaleX(0); transition: transform .08s linear;
}
.progress span { flex: 1; }
.progress .pc { background: var(--c); }
.progress .pm { background: var(--m); }
.progress .py { background: var(--y); }
.progress .pk { background: var(--k); }

/* Passkreuz als rotierender Scroll-Indikator unten rechts */
.regmark-fixed {
  position: fixed; right: 22px; bottom: 22px; width: 38px; height: 38px;
  z-index: 60; color: var(--ink); pointer-events: none;
}

/* Randmarken links/rechts: stille Kontrollstreifen-Deko am äußeren Rand,
   fix im Viewport, ohne eigene Bewegung (im Gegensatz zum Passkreuz oben). */
.edge-mark {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 35; display: flex; flex-direction: column; align-items: center;
  gap: 20px; color: var(--muted); pointer-events: none;
}
.edge-mark--left  { left: 18px; }
.edge-mark--right { right: 18px; }

.edge-mark .edge-reg { width: 18px; height: 18px; opacity: .5; flex-shrink: 0; }

.edge-mark .edge-bars {
  width: 14px; height: 50px; flex-shrink: 0; opacity: .45;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 3px,
    var(--ink) 3px, var(--ink) 4px, transparent 4px, transparent 6px,
    var(--ink) 6px, var(--ink) 8px, transparent 8px, transparent 10px,
    var(--ink) 10px, var(--ink) 11px, transparent 11px, transparent 14px
  );
}

.edge-mark .edge-swatches { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.edge-mark .edge-swatches i { display: block; width: 8px; height: 8px; }

.edge-mark .edge-text {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .6rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; white-space: nowrap;
}

@media (max-width: 1150px), (max-height: 720px) {
  .edge-mark { display: none; }
}

/* =====================================================================
   KOPFLEISTE  (Navigation im Stil eines Kontrollstreifens)
   ===================================================================== */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--edge);
  color: var(--ink);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.topbar a { color: inherit; }
/* sobald gescrollt wird: leichtes Papier-Backdrop, Höhe bleibt stabil */
.topbar.scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline);
  padding-top: 16px; padding-bottom: 16px;
}

.brand-mini { font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.brand-mini b { font-weight: 800; }
.brand-mini span { font-weight: 300; letter-spacing: .18em; }

.nav { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.nav a {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.nav-toggle { display: none; }

/* Druck-Deko im mobilen Menü — standardmäßig aus, nur im offenen Menü sichtbar.
   Passermarke unten mittig. */
.menu-deco { display: none; position: absolute; inset: 0; pointer-events: none; }
.menu-deco .mreg { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; color: var(--ink); opacity: .6; }

/* Bei offenem Menü: Weichzeichner der Kopfleiste abschalten, damit sie nicht
   zum Bezugsrahmen des fixierten Menüs wird (sonst klemmt es im gescrollten
   Zustand am oberen Rand). Außerdem die Kopfleiste über die animierte Passermarke
   (z-index 60) heben, sodass das Menü sie beim Hereinfahren überdeckt, statt sie
   schlagartig verschwinden zu lassen. */
html.menu-open .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 70; }

/* Menü gleitet von oben herein */
@keyframes menuIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes menuLinkIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
/* Menü gleitet beim Schließen wieder nach oben hinaus */
@keyframes menuOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* =====================================================================
   GRAUKEIL & FARBSTREIFEN  (wiederkehrende Designelemente)
   ===================================================================== */
.bar { display: flex; height: 14px; width: 100%; }
.bar i { flex: 1; display: block; }
.bar.bordered { border: 1px solid var(--ink); }

/* Graustufenkeil (11 Stufen schwarz -> weiss) */
.wedge i:nth-child(1){background:#000} .wedge i:nth-child(2){background:#1a1a1a}
.wedge i:nth-child(3){background:#333}  .wedge i:nth-child(4){background:#4d4d4d}
.wedge i:nth-child(5){background:#666}  .wedge i:nth-child(6){background:#808080}
.wedge i:nth-child(7){background:#999}  .wedge i:nth-child(8){background:#b3b3b3}
.wedge i:nth-child(9){background:#ccc}  .wedge i:nth-child(10){background:#e6e6e6}
.wedge i:nth-child(11){background:#fff}

/* Farb-Kontrollstreifen */
.cbar i:nth-child(1){background:var(--y)}
.cbar i:nth-child(2){background:var(--m)}
.cbar i:nth-child(3){background:var(--c)}
.cbar i:nth-child(4){background:var(--s-blue)}
.cbar i:nth-child(5){background:var(--s-green)}
.cbar i:nth-child(6){background:var(--s-red)}
.cbar i:nth-child(7){background:var(--k)}
.cbar i:nth-child(8){background:var(--p-cream)}
.cbar i:nth-child(9){background:var(--p-pink)}
.cbar i:nth-child(10){background:var(--p-blue)}
.cbar i:nth-child(11){background:var(--p-gray)}

/* =====================================================================
   HERO  (Andruckbogen + zeitgesteuerte Intro-Animation)
   ===================================================================== */
.hero-wrap { position: relative; min-height: 100svh; overflow: hidden; }

.hero-stage {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 132px var(--edge) 80px;
  text-align: center;
  overflow: hidden;
}

/* Mess-Streifen oben im Hero — mit deutlichem Abstand zur Kopfleiste */
.hero-strip {
  position: absolute; top: clamp(104px, 13vh, 130px); left: var(--edge); right: var(--edge);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.hero-strip .wedge, .hero-strip .cbar { width: clamp(120px, 18vw, 230px); }

.hero-reg { color: var(--ink); width: 40px; height: 40px; margin: 0 auto 30px; }

.hero-center { position: relative; }

/* Logo + Begleittexte — Grundzustand: sichtbar (auch ohne JS) */
.hero-logo { display: block; width: min(78vw, 620px); height: auto; margin: 0 auto;
  filter: brightness(0);               /* schwarz auf hellem Hero */
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  animation: logoGlitch 10s steps(1, end) infinite; }

/* Dezenter Glitch wie im Video: dauerhaft ganz leichter RGB-Versatz (cyan /
   orange um das schwarze Logo), alle 5 Sekunden ein kurzes, kleines Zucken (abwechselnd einfach und doppelt).
   brightness(0) zuerst, dann die farbigen Schatten — so bleibt das Logo schwarz. */
@keyframes logoGlitch {
  /* Zyklus 10 s = alle 5 s ein Zucken: erst einmal, dann zweimal */
  0%, 100% { filter: brightness(0) drop-shadow(.6px 0 0 rgba(0,170,255,.55)) drop-shadow(-.6px 0 0 rgba(255,130,0,.5)); transform: none; }
  /* 5 s: einmal */
  25%   { filter: brightness(0) drop-shadow(1.6px 0 0 rgba(0,170,255,.65)) drop-shadow(-1.6px 0 0 rgba(255,130,0,.6)); transform: translateX(.8px); }
  25.8% { filter: brightness(0) drop-shadow(-1.2px 0 0 rgba(0,170,255,.6)) drop-shadow(1.2px 0 0 rgba(255,130,0,.55)); transform: translateX(-.6px); }
  26.6% { filter: brightness(0) drop-shadow(.6px 0 0 rgba(0,170,255,.55)) drop-shadow(-.6px 0 0 rgba(255,130,0,.5)); transform: none; }
  /* 10 s: zweimal, mit kurzer Pause dazwischen */
  75%   { filter: brightness(0) drop-shadow(1.6px 0 0 rgba(0,170,255,.65)) drop-shadow(-1.6px 0 0 rgba(255,130,0,.6)); transform: translateX(.8px); }
  75.8% { filter: brightness(0) drop-shadow(-1.2px 0 0 rgba(0,170,255,.6)) drop-shadow(1.2px 0 0 rgba(255,130,0,.55)); transform: translateX(-.6px); }
  76.6% { filter: brightness(0) drop-shadow(.6px 0 0 rgba(0,170,255,.55)) drop-shadow(-.6px 0 0 rgba(255,130,0,.5)); transform: none; }
  78.4% { filter: brightness(0) drop-shadow(-1.2px 0 0 rgba(0,170,255,.6)) drop-shadow(1.2px 0 0 rgba(255,130,0,.55)); transform: translateX(-.6px); }
  79.2% { filter: brightness(0) drop-shadow(1.6px 0 0 rgba(0,170,255,.65)) drop-shadow(-1.6px 0 0 rgba(255,130,0,.6)); transform: translateX(.8px); }
  80%   { filter: brightness(0) drop-shadow(.6px 0 0 rgba(0,170,255,.55)) drop-shadow(-.6px 0 0 rgba(255,130,0,.5)); transform: none; }
}
.hero-eyebrow { margin-bottom: 26px; }
.hero-tagline { max-width: 34ch; margin: 26px auto 0; font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 300; line-height: 1.5; color: var(--ink-soft); }

/* =====================================================================
   VIDEO-HERO
   Die "BE …"-Sequenz (Code, früher Video) ist der erste, vollflächige Abschnitt der
   Seite (ganz normal im Scroll-Fluss, Dauerschleife). Die feste Seiten-Deko (Navigation, Marken,
   Fortschritt) gehört zur weißen Seite und fährt mit ihr herein (s. u.).
   Ohne Klasse "vi-on" (reduzierte Bewegung) gibt es das Video nicht.
   ===================================================================== */
.video-hero { display: none; }
html.vi-on .video-hero {
  display: block; position: relative; width: 100%;
  height: 100vh; height: 100svh;
  background: #0b0b0b; overflow: hidden;
}

/* ----- "BE …"-Sequenz als Code ---------------------------------------
   main.js setzt pro Bild (40 ms) --bg / --fg, das Wort und data-f (Zustand):
   calm = ruhig, in0–in5 = Einstieg eines Wortes, out0–out2 = Ausstieg,
   end0–end6 = Ende vor dem Loop, micro = kurzes Zucken zwischendurch.
   Ebenen des Wortes: k = Hauptauszug, cy / ma = Farbauszüge für RGB-Versatz. */
.bh {
  position: absolute; inset: 0; overflow: hidden;
  --bg: #0a0809; --fg: #fff700; --rm: rgba(255,255,255,.28);
  color: var(--fg); isolation: isolate;
}
.bh-bg {
  position: absolute; inset: 0; background: var(--bg);
}
.bh-bg::after {   /* Bildmitte leicht aufgehellt wie auf dem Röhrenschirm */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(255,255,255,.14), transparent 70%);
}
.bh-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.bh-be {
  font-family: var(--font); font-weight: 600; letter-spacing: .32em; padding-left: .32em;
  font-size: clamp(14px, min(6svh, 7vw), 64px); line-height: 1; margin-bottom: .3em;
  text-shadow: 0 0 .4em var(--fg);
}
.bh-word { position: relative; display: block; line-height: .9; font-size: 100px; }
.bh-w {
  display: block; white-space: nowrap;
  font-family: "Anton", "Impact", "Arial Narrow", sans-serif; font-weight: 400;
  letter-spacing: -.005em; text-transform: uppercase;
}
.bh[data-word="NOTORIOUS"] .bh-w { font-family: var(--font); font-weight: 700; letter-spacing: -.005em; }
.bh-w.k {
  position: relative;
  text-shadow: -.012em 0 rgba(0,190,255,.42), .012em 0 rgba(255,50,60,.38), 0 0 .14em var(--fg);
}
.bh-w.cy, .bh-w.ma { position: absolute; left: 0; top: 0; opacity: 0; mix-blend-mode: screen; }
.bh-w.cy { color: #19a8ff; }
.bh-w.ma { color: #ff2d8a; }
.bh.light .bh-w.cy, .bh.light .bh-w.ma { mix-blend-mode: multiply; }

.bh-line { position: absolute; left: 0; right: 0; top: 18%; height: 2px; background: rgba(255,255,255,.55); opacity: 0; }
.bh-arc {   /* Lichtbogen beim "Einschalten" */
  position: absolute; left: 4%; right: 4%; bottom: -78%; height: 90%;
  border-radius: 50%; border-top: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 -4px 18px rgba(255,255,255,.35); opacity: 0;
}
.bh-bars, .bh-vbars { position: absolute; inset: 0; pointer-events: none; }
.bh-bars i { position: absolute; left: 0; right: 0; background: #050505; }
.bh-vbars i { position: absolute; top: 34%; height: 32%; }

.bh-reg { position: absolute; width: clamp(14px, 1.7vw, 26px); height: clamp(14px, 1.7vw, 26px); color: var(--rm); }
.bh-reg.tl { top: 2.4%; left: 1.3%; } .bh-reg.tr { top: 2.4%; right: 1.3%; } .bh-reg.bl { bottom: 2.4%; left: 1.3%; }
/* Kontrollstreifen unten rechts: CMY, Lücke, 16 Felder */
.bh-strip { position: absolute; right: 1.4%; bottom: 3.6%; display: flex; gap: 2px; height: clamp(6px, .85vw, 12px); }
.bh-strip i, .bh-strip b { display: block; width: clamp(6px, .85vw, 12px); }
.bh-strip b { width: clamp(8px, 1.2vw, 18px); }
.bh-strip i:nth-child(1) { background: #00a0e4; } .bh-strip i:nth-child(2) { background: #e2007a; } .bh-strip i:nth-child(3) { background: #ffe500; }
.bh-strip b ~ i:nth-of-type(4)  { background: #2fa4e7; } .bh-strip b ~ i:nth-of-type(5)  { background: #6cc4ee; }
.bh-strip b ~ i:nth-of-type(6)  { background: #a9daf2; } .bh-strip b ~ i:nth-of-type(7)  { background: #d6338f; }
.bh-strip b ~ i:nth-of-type(8)  { background: #e46fae; } .bh-strip b ~ i:nth-of-type(9)  { background: #efa8cf; }
.bh-strip b ~ i:nth-of-type(10) { background: #e9cf2a; } .bh-strip b ~ i:nth-of-type(11) { background: #efdc72; }
.bh-strip b ~ i:nth-of-type(12) { background: #f3e9b0; } .bh-strip b ~ i:nth-of-type(13) { background: #3a3a3a; }
.bh-strip b ~ i:nth-of-type(14) { background: #6d6d6d; } .bh-strip b ~ i:nth-of-type(15) { background: #a3a3a3; }
.bh-strip b ~ i:nth-of-type(16) { background: #d02a2a; } .bh-strip b ~ i:nth-of-type(17) { background: #1f9a4a; }
.bh-strip b ~ i:nth-of-type(18) { background: #26307a; } .bh-strip b ~ i:nth-of-type(19) { background: #c8c8c8; }
.bh .crt {
  z-index: 5;
  background:   /* feineres Raster + weichere Ecken als in der Kachel, wie im Video */
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 80% 75% at 50% 50%, transparent 55%, rgba(0, 0, 0, .38) 100%);
}
.bh .crt-noise { opacity: .07; }

/* Original-Video über der Code-Sequenz: unsichtbar, bis es übernimmt */
.bh-video {
  position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; pointer-events: none;
}
.bh.video-on .bh-video { opacity: 1; }

/* --- Zustände (je ein Bild) ------------------------------------------ */
/* Startphase, solange auf das Video gewartet wird: nur schwarzer Schirm */
.bh[data-f="blank"] .bh-text { opacity: 0; }
/* Einstieg: Lichtbogen, Farbauszüge stark versetzt */
.bh[data-f="in0"] .bh-arc, .bh[data-f="in0"] .bh-line { opacity: 1; }
.bh[data-f="in0"] .k  { opacity: 0; }
.bh[data-f="in0"] .cy { opacity: 1; color: #2b6dff; transform: translateX(-.07em) scaleY(.9); clip-path: polygon(0 0,100% 0,100% 40%,0 40%,0 55%,100% 55%,100% 100%,0 100%); }
.bh[data-f="in0"] .ma { opacity: .9; color: #45e0a0; transform: translateX(.05em) translateY(.03em); clip-path: inset(30% 0 0 0); }
.bh[data-f="in0"] .bh-be { transform: translateX(-.4em); text-shadow: -.15em 0 #ff2d2d, .15em 0 #2dff6a; }
/* Umriss-Schrift, mehrfach versetzt */
.bh[data-f="in1"] .k, .bh[data-f="in2"] .k { color: transparent; -webkit-text-stroke: .02em var(--fg); text-shadow: none; }
.bh[data-f="in1"] .k { transform: translateX(.03em) scaleY(1.06); }
.bh[data-f="in1"] .cy, .bh[data-f="in2"] .cy { opacity: 1; color: transparent; -webkit-text-stroke: .018em #ff3a2e; transform: translate(-.04em, .05em); }
.bh[data-f="in1"] .ma, .bh[data-f="in2"] .ma { opacity: 1; color: transparent; -webkit-text-stroke: .018em #39ff6b; transform: translate(.05em, -.02em); }
.bh[data-f="in2"] .k { -webkit-text-stroke: .01em var(--fg); transform: translateY(.04em); }
.bh[data-f="in2"] .bh-be { transform: translateX(.3em); opacity: .6; }
/* zerschnitten, Farbauszüge grün/rot daneben */
.bh[data-f="in3"] .k  { clip-path: polygon(0 0,100% 0,100% 48%,0 48%,0 62%,100% 62%,100% 100%,0 100%); transform: translateX(.04em); }
.bh[data-f="in3"] .cy { opacity: 1; color: #3dff6a; transform: translateX(-.06em); clip-path: inset(0 0 52% 0); }
.bh[data-f="in3"] .ma { opacity: 1; color: #ff3030; transform: translateX(.08em); clip-path: inset(48% 0 0 0); }
.bh[data-f="in3"] .bh-be { transform: translateX(-.2em) skewX(-20deg); }
/* kurzer Schriftwechsel (breit, magenta) */
.bh[data-f="in4"] .k  { font-family: var(--font); font-weight: 700; font-size: .62em; color: #ff2d8a; text-shadow: -.03em 0 #2b6dff, .03em 0 #ff3030; }
.bh[data-f="in4"] .cy, .bh[data-f="in4"] .ma { opacity: 0; }
.bh[data-f="in4"] .bh-be { opacity: .4; transform: skewX(-25deg); }
/* fast ruhig, untere Kante leicht versetzt */
.bh[data-f="in5"] .k  { clip-path: inset(0 0 14% 0); }
.bh[data-f="in5"] .ma { opacity: 1; color: var(--fg); mix-blend-mode: normal; clip-path: inset(86% 0 0 0); transform: translateX(.03em); }
.bh[data-f="in5"] .bh-be { transform: translateY(-.1em); }
/* kurzes Zucken mitten im Wort */
.bh[data-f="micro"] .bh-line { opacity: .6; top: 63%; height: 1px; }
.bh[data-f="micro"] .k  { clip-path: inset(0 0 22% 0); }
.bh[data-f="micro"] .ma { opacity: 1; color: var(--fg); mix-blend-mode: normal; clip-path: inset(78% 0 0 0); transform: translateX(-.025em); }
/* Ausstieg: Wort staucht sich zu einem Farbband, Querbalken */
.bh[data-f^="out"] .k  { color: #ffd400; text-shadow: -.04em 0 #ff2a2a, .04em 0 #2aff5a; }
.bh[data-f="out0"] .bh-word { transform: scale(1.1, .3); }
.bh[data-f="out1"] .bh-word { transform: scale(1.35, .14); }
.bh[data-f="out2"] .bh-word { transform: scale(1.6, .07); }
.bh[data-f^="out"] .bh-be { opacity: 0; }
/* Ende: NOTORIOUS fällt in Linien zusammen */
.bh[data-f="end0"] .k  { clip-path: inset(0 0 52% 0); transform: translateY(-.08em) scaleX(1.03); }
.bh[data-f="end0"] .cy { opacity: 1; clip-path: inset(0 0 52% 0); transform: translate(-.04em,-.08em); }
.bh[data-f="end0"] .bh-be { text-shadow: -.12em 0 #ff2d2d, .12em 0 #2d8bff; }
.bh[data-f="end1"] .bh-word { transform: translateY(.22em) scaleY(.3); }
.bh[data-f="end1"] .bh-be { opacity: .3; transform: translateX(-1.5em) scaleX(.5); }
.bh[data-f="end2"] .bh-word { transform: translateY(.05em) scaleY(.16); }
.bh[data-f="end2"] .cy, .bh[data-f="end3"] .cy { opacity: 1; transform: translateX(-.03em); }
.bh[data-f="end2"] .ma, .bh[data-f="end3"] .ma { opacity: 1; transform: translateX(.03em); }
.bh[data-f="end3"] .bh-word { transform: translateY(.1em) scaleY(.12); }
.bh[data-f="end3"] .ma { transform: translate(-.04em, 2.6em); }
.bh[data-f="end4"] .bh-text, .bh[data-f="end5"] .bh-text, .bh[data-f="end6"] .bh-be { opacity: 0; }
.bh[data-f="end4"] .bh-line, .bh[data-f="end5"] .bh-line { opacity: .35; top: 54%; height: 1px; }
.bh[data-f="end6"] .bh-word { transform: scaleY(.25); opacity: .35; }

/* Feste Deko "sitzt" auf der weißen Seite: Der Wrapper steht direkt nach dem Video
   (nimmt per negativem Margin keinen Platz ein) und klebt per sticky am oberen
   Bildrand. Davor fährt er mit der Seite herein, danach steht er fest — vom
   Browser selbst gescrollt, also ohne Ruckeln. Die Elemente darin sind relativ
   zu diesem Wrapper (= Viewport-Größe) positioniert. */
.chrome {
  position: sticky; top: 0; z-index: 60;
  height: 100vh; height: 100dvh;
  margin-bottom: -100vh; margin-bottom: -100dvh;
  pointer-events: none;
}
.chrome .progress, .chrome .crop, .chrome .regmark-fixed,
.chrome .edge-mark, .chrome .topbar { position: absolute; }
.chrome .topbar { pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) { .chrome .crop { transition: top .45s var(--ease); } }

.scrollcue {
  position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scrollcue .tick {
  width: 1px; height: 42px; background: var(--ink);
  transform-origin: top; animation: tickdrop 1.8s var(--ease) infinite;
}
@keyframes tickdrop {
  0%, 100% { transform: scaleY(.3); opacity: .3; }
  50%      { transform: scaleY(1);  opacity: 1; }
}

/* Video-Hinweis: sitzt unten im Video-Abschnitt und scrollt mit ihm. main.js misst die
   Helligkeit des Bildes darunter und setzt .on-light (dunkler Hinweis) — sonst weiß. Erscheint mit einem
   kurzen Glitch im Tempo der Wortwechsel im Video (~0,5 s). */
.scrollcue--video {
  position: absolute; z-index: 2; bottom: 38px;
  color: #fff; transition: color .12s linear;
  pointer-events: none; opacity: 0; visibility: hidden;
}
.scrollcue--video .tick { background: currentColor; }
.scrollcue--video.on-light { color: #0b0b0b; }
/* Ersatz, falls das Videobild nicht ausgelesen werden kann */
.scrollcue--video.cue-blend { color: #fff; mix-blend-mode: difference; }
html.vi-on.cue1-show .scrollcue--video { visibility: visible; opacity: 1; animation: cueGlitchIn .5s steps(1, end) both; }
/* Verschwinden: war er sichtbar, glitcht er heraus — sonst bleibt er einfach weg */
html.vi-on.cue1-gone .scrollcue--video { visibility: hidden; opacity: 0; animation: none; }
html.vi-on.cue1-show.cue1-gone .scrollcue--video { animation: cueGlitchOut .45s steps(1, end) both; }
@keyframes cueGlitchOut {
  0%   { visibility: visible; opacity: 1; transform: translateX(-50%); }
  12%  { visibility: visible; opacity: 1; transform: translateX(calc(-50% - 4px)); text-shadow: 2px 0 #1ea7ff, -2px 0 #ff3b6b; clip-path: inset(30% 0 0 0); }
  26%  { visibility: visible; opacity: .2; transform: translateX(-50%); clip-path: none; text-shadow: none; }
  38%  { visibility: visible; opacity: 1; transform: translateX(calc(-50% + 6px)); text-shadow: -2px 0 #1ea7ff, 2px 0 #ff3b6b; clip-path: inset(0 0 55% 0); }
  52%  { visibility: visible; opacity: 0; }
  64%  { visibility: visible; opacity: .8; transform: translateX(calc(-50% - 3px)); text-shadow: 1px 0 #1ea7ff, -1px 0 #ff3b6b; clip-path: inset(50% 0 10% 0); }
  80%  { visibility: visible; opacity: 0; }
  88%  { visibility: visible; opacity: .4; transform: translateX(calc(-50% + 2px)); clip-path: inset(70% 0 0 0); }
  100% { visibility: hidden; opacity: 0; transform: translateX(-50%); clip-path: none; text-shadow: none; }
}
@keyframes cueGlitchIn {
  0%   { opacity: 0; }
  10%  { opacity: 1; transform: translateX(calc(-50% + 6px)); text-shadow: -2px 0 #1ea7ff, 2px 0 #ff3b6b; clip-path: inset(0 0 60% 0); }
  22%  { opacity: 0; }
  32%  { opacity: 1; transform: translateX(calc(-50% - 5px)); text-shadow: 2px 0 #1ea7ff, -2px 0 #ff3b6b; clip-path: inset(35% 0 0 0); }
  46%  { opacity: 1; transform: translateX(calc(-50% + 3px)); text-shadow: -1px 0 #1ea7ff, 1px 0 #ff3b6b; clip-path: inset(0 0 25% 0); }
  58%  { opacity: .3; transform: translateX(-50%); clip-path: none; }
  70%  { opacity: 1; transform: translateX(calc(-50% - 2px)); text-shadow: 1px 0 #1ea7ff, -1px 0 #ff3b6b; }
  84%  { opacity: 1; transform: translateX(calc(-50% + 1px)); text-shadow: none; }
  100% { opacity: 1; transform: translateX(-50%); text-shadow: none; }
}

/* =====================================================================
   SEKTIONEN allgemein
   ===================================================================== */
.section { padding: clamp(80px, 13vh, 160px) var(--edge); position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-head {
  border-top: 1px solid var(--ink); padding-top: 16px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .head-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section-head .num {
  font-size: .72rem; letter-spacing: .26em; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -.02em;
  line-height: .95;
}
.section-head .section-tag {
  margin-top: 14px; font-size: clamp(1.05rem, 2.4vw, 1.6rem);
  font-weight: 300; color: var(--muted); line-height: 1.3;
}
.section-head .regmark-sm { width: 26px; height: 26px; color: var(--ink); flex: none; }

/* ----- Haltung / Über (mit Porträt) ----------------------------------*/
.haltung-grid {
  display: grid; grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(26px, 5vw, 64px); align-items: start;
}

/* Porträt als kleiner Andruckbogen: Karte + Druckmarken ringsum */
.sheet { position: relative; align-self: start; padding: 42px 38px; }

/* Farbkontrollstreifen oben (mittig, kürzer als die Karte) */
.sheet .sheet-cbar {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 56%; height: 8px;
}
/* Passkreuze an den Seitenmitten */
.sheet .sheet-reg {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink);
}
.sheet .sheet-reg.l { left: 9px; }
.sheet .sheet-reg.r { right: 9px; }

/* die eigentliche Karte */
.portrait {
  position: relative; background: var(--paper); border: 1px solid var(--ink);
  line-height: 0;
}
.portrait .photo-area { background: #ededeb; }   /* helles Grau hinter dem freigestellten Motiv */
.portrait img { width: 100%; height: auto; display: block; }
.portrait figcaption {
  background: var(--ink); color: #fff; line-height: 1.2;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 16px 15px;
}
.portrait .pc-name { font-weight: 800; letter-spacing: .02em; font-size: 1rem; }
.portrait .pc-role { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: #bdbdbd; }

/* Schnittmarken korrekt: je Ecke zwei getrennte Striche, mit 8px Abstand zur Schnittkante */
.portrait .pcrop { position: absolute; width: 0; height: 0; pointer-events: none; }
.portrait .pcrop::before, .portrait .pcrop::after { content: ""; position: absolute; background: var(--ink); }
.portrait .pcrop::before { width: 1px;  height: 15px; }   /* senkrechter Strich (an der Seitenkante) */
.portrait .pcrop::after  { width: 15px; height: 1px;  }   /* waagerechter Strich (an der Ober-/Unterkante) */
.portrait .pcrop.tl { top: 0; left: 0; }
.portrait .pcrop.tl::before { left: 0;  bottom: 8px; }
.portrait .pcrop.tl::after  { top: 0;   right: 8px; }
.portrait .pcrop.tr { top: 0; right: 0; }
.portrait .pcrop.tr::before { right: 0; bottom: 8px; }
.portrait .pcrop.tr::after  { top: 0;   left: 8px; }
.portrait .pcrop.bl { bottom: 0; left: 0; }
.portrait .pcrop.bl::before { left: 0;  top: 8px; }
.portrait .pcrop.bl::after  { bottom: 0; right: 8px; }
.portrait .pcrop.br { bottom: 0; right: 0; }
.portrait .pcrop.br::before { right: 0; top: 8px; }
.portrait .pcrop.br::after  { bottom: 0; left: 8px; }

.lead-entry { margin-bottom: 2.4em; }
/* dünne Trennlinien zwischen Notorious / Concepts / Fließtext */
.lead-entry + .lead-entry,
.lead-entry + .body { border-top: 1px solid var(--hairline); padding-top: 2.4em; }

.lead-word {
  font-weight: 800; font-size: clamp(1.5rem, 3.1vw, 2.3rem);
  letter-spacing: .04em; line-height: 1.05;
  text-transform: uppercase;
}
.lead-word.thin { font-weight: 300; letter-spacing: .18em; }

.lead-attrs {
  display: flex; align-items: center; gap: 10px;
  margin-top: 1.1rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.lead-attrs::before { content: ""; flex: none; width: 20px; height: 1px; background: var(--muted); }

.lead {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 300; line-height: 1.45;
  letter-spacing: 0; margin-top: .7em;
}
.lead.compact { font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.5; }
.body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.8em 0 .6em; }
.body p { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 1.1em; max-width: 56ch; }
.body p:last-child { margin-bottom: 0; }

/* ----- Philosophie-Akzent --------------------------------------------*/
.philo { padding: clamp(72px, 13vh, 150px) var(--edge); border-top: 1px solid var(--ink); }

.philo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.philo-text {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(24px, 3.5vw, 48px);
  background: radial-gradient(140% 120% at 50% 0%, #3d3d3d 0%, #1a1a1a 45%, #050505 100%);
  color: var(--paper);
  text-align: left;
  position: relative;
}
/* Schnittmarke oben-links */
.philo-text::before {
  content: ''; position: absolute;
  width: 22px; height: 1px; background: var(--ink);
  top: 0; left: -26px;
}
.philo-text::after {
  content: ''; position: absolute;
  width: 1px; height: 22px; background: var(--ink);
  top: -26px; left: 0;
}
/* Passermarke */
.philo-regmark {
  width: clamp(60px, 7.5vw, 96px);
  height: clamp(60px, 7.5vw, 96px);
  pointer-events: none;
  align-self: center;
  margin-bottom: auto;
  flex-shrink: 0;
  position: relative; z-index: 1;
  overflow: visible;
  color: rgba(255, 255, 255, .82);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .22));
  animation: regGlitch 6.5s steps(1, end) infinite;
}
/* Desktop: Marke mittig im freien Raum über dem Text statt ganz oben */
@media (min-width: 881px) {
  .philo-regmark { margin-top: auto; }
}
/* Farbauszüge liegen im Ruhezustand exakt unter dem Weiß (= im Passer) */
.philo-regmark .sep { mix-blend-mode: screen; animation: sepShift 6.5s steps(1, end) infinite; }
.philo-regmark .sep-c { color: #00b4ff; }
.philo-regmark .sep-m { color: #ff2d8a; animation-name: sepShiftM; }
.philo-regmark .sep-y { color: #ffd400; animation-name: sepShiftY; }

/* Marke in Streifen zerschnitten + seitlich versetzt, kurz vor Zyklusende */
@keyframes regGlitch {
  0%, 86%, 100% { clip-path: none; transform: none; }
  87%   { clip-path: polygon(0 0,100% 0,100% 38%,0 38%, 0 52%,100% 52%,100% 100%,0 100%); transform: translateX(3px); }
  88.5% { clip-path: inset(0 0 46% 0); transform: translateX(-4px); }
  90%   { clip-path: inset(30% 0 0 0); transform: translateX(2px); }
  91.5% { clip-path: none; transform: translateX(-1px); }
  93%   { clip-path: none; transform: none; }
}
@keyframes sepShift {   /* Cyan */
  0%, 86%, 93%, 100% { transform: none; }
  87%   { transform: translate(-3px, 0); }
  88.5% { transform: translate(2px, -1px); }
  90%   { transform: translate(-1.5px, 1px); }
  91.5% { transform: translate(-.5px, 0); }
}
@keyframes sepShiftM {  /* Magenta */
  0%, 86%, 93%, 100% { transform: none; }
  87%   { transform: translate(3px, 1px); }
  88.5% { transform: translate(-2px, 0); }
  90%   { transform: translate(2px, -1px); }
  91.5% { transform: translate(.5px, 0); }
}
@keyframes sepShiftY {  /* Gelb */
  0%, 86%, 93%, 100% { transform: none; }
  87%   { transform: translate(0, -2px); }
  88.5% { transform: translate(1px, 2px); }
  90%   { transform: translate(-1px, 0); }
  91.5% { transform: translate(0, .5px); }
}

/* Headline: ruhig, mit feinem Farbsaum (wie im Logo-Loop) und leichtem Leuchten */
.philo-text .quote {
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.04;
  position: relative; z-index: 1;
  text-shadow:
    -1.5px 0 rgba(0, 180, 255, .55),
     1.5px 0 rgba(255, 110, 40, .5),
     0 0 14px rgba(255, 255, 255, .22);
}
.philo-text .quote .thin {
  font-weight: 300;
  text-shadow:
    -1px 0 rgba(0, 180, 255, .45),
     1px 0 rgba(255, 110, 40, .4),
     0 0 12px rgba(255, 255, 255, .18);
}
/* Fließtext: kein Farbsaum (bleibt scharf), nur dezentes Leuchten */
.philo-text p {
  margin: 16px 0 0; max-width: none; color: #f2f2f2;
  font-weight: 300; font-size: clamp(.82rem, 1.3vw, .95rem); line-height: 1.6;
  position: relative; z-index: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, .16);
}

/* ----- Röhrenbildschirm-Ebene über der Kachel --------------------------
   liegt über Text und Marke (pointer-events: none -> Text bleibt markierbar) */
.crt {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none;
  /* Zeilenraster + abgedunkelte Ecken */
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .26) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 85% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
  animation: crtFlicker 7.3s linear infinite;
}
/* Bildrauschen: SVG-Turbulenz als Kachel, ruckartig verschoben */
.crt-noise {
  position: absolute; inset: -60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .09; mix-blend-mode: screen;
  animation: crtNoise .42s steps(1, end) infinite;
}
@keyframes crtNoise {
  0%   { transform: translate(0, 0); }
  14%  { transform: translate(-37px, 21px); }
  28%  { transform: translate(18px, -44px); }
  42%  { transform: translate(-52px, -9px); }
  57%  { transform: translate(29px, 38px); }
  71%  { transform: translate(-11px, -27px); }
  85%  { transform: translate(46px, 12px); }
}
/* Bildsync-Zeile: läuft gelegentlich hell von oben nach unten durch */
.crt-sync {
  position: absolute; left: 0; right: 0; top: -20%; height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .05) 55%, transparent);
  animation: crtSync 11s linear infinite;
}
@keyframes crtSync {
  0%, 68%  { transform: translateY(0); opacity: 0; }
  69%      { opacity: 1; }
  100%     { transform: translateY(680%); opacity: 1; }
}
/* unregelmäßiges, sehr dezentes Helligkeitsflackern */
@keyframes crtFlicker {
  0%, 100% { opacity: 1; }
  9%   { opacity: .9; }  11% { opacity: 1; }
  37%  { opacity: .94; } 38% { opacity: 1; }
  52%  { opacity: .86; } 53% { opacity: 1; } 54% { opacity: .93; } 55.5% { opacity: 1; }
  81%  { opacity: .92; } 83% { opacity: 1; }
}

/* Bildkacheln */
.philo-img {
  aspect-ratio: 1 / 1;
  position: relative;
}
.philo-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Schnittmarke oben-rechts */
.philo-img:nth-child(2)::before {
  content: ''; position: absolute;
  width: 22px; height: 1px; background: var(--ink);
  top: 0; right: -26px;
}
.philo-img:nth-child(2)::after {
  content: ''; position: absolute;
  width: 1px; height: 22px; background: var(--ink);
  top: -26px; right: 0;
}
/* Schnittmarke unten-links */
.philo-img:nth-child(3)::before {
  content: ''; position: absolute;
  width: 22px; height: 1px; background: var(--ink);
  bottom: 0; left: -26px;
}
.philo-img:nth-child(3)::after {
  content: ''; position: absolute;
  width: 1px; height: 22px; background: var(--ink);
  bottom: -26px; left: 0;
}
/* Schnittmarke unten-rechts */
.philo-img:nth-child(4)::before {
  content: ''; position: absolute;
  width: 22px; height: 1px; background: var(--ink);
  bottom: 0; right: -26px;
}
.philo-img:nth-child(4)::after {
  content: ''; position: absolute;
  width: 1px; height: 22px; background: var(--ink);
  bottom: -26px; right: 0;
}

/* ----- Leistungen ----------------------------------------------------*/
.services { border-top: 1px solid var(--hairline); }
.service {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 24px;
  border-bottom: 1px solid var(--hairline);
  padding: clamp(20px, 3vw, 34px) 0;
  position: relative; transition: padding-left .4s var(--ease);
}
.service .idx { font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-weight: 600; }
.service .name {
  font-size: clamp(1.25rem, 3.2vw, 2.1rem); font-weight: 700; letter-spacing: -.01em;
  transition: transform .4s var(--ease);
}
.service .desc {
  font-size: .92rem; color: var(--muted); text-align: left;
  width: min(34ch, 40vw);   /* feste Breite: alle Texte beginnen an derselben Kante */
  justify-self: end;
}
/* CMYK-Tick, der beim Hover einfährt */
.service .tick {
  position: absolute; left: -6px; top: 50%; height: 0; width: 4px;
  transform: translateY(-50%); transition: height .4s var(--ease);
}
.service:hover .tick { height: 60%; }
.service:hover .name { transform: translateX(14px); }
.service:hover { padding-left: 6px; }

.service:nth-child(4n+1) .tick { background: var(--c); }
.service:nth-child(4n+2) .tick { background: var(--m); }
.service:nth-child(4n+3) .tick { background: var(--y); }
.service:nth-child(4n)   .tick { background: var(--k); }

.service.is-focus { background: linear-gradient(90deg, var(--paper-soft), transparent); }
.service.is-focus .badge {
  display: inline-block; margin-left: 12px; font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 700; vertical-align: middle;
  border: 1px solid var(--ink); padding: 3px 7px;
}

/* ----- Prozess (echte Abfolge -> Nummerierung gerechtfertigt) --------*/
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step .step-no {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: .9;
  letter-spacing: -.03em;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 8px; letter-spacing: .02em; }
.step p { font-size: .9rem; color: var(--muted); }
.step .step-bar { position: absolute; top: -2px; left: 0; height: 2px; width: 0; transition: width .9s var(--ease); }
.step:nth-child(1) .step-bar { background: var(--c); }
.step:nth-child(2) .step-bar { background: var(--m); }
.step:nth-child(3) .step-bar { background: var(--y); }
.step:nth-child(4) .step-bar { background: var(--k); }
.step:nth-child(5) .step-bar { background: var(--c); }
.step.in .step-bar { width: 100%; }

/* Prozess-Icons: rechtsbündig mit dem Ende der Farblinie, oben/unten bündig mit der
   Ziffer (gleiche Höhe wie die Ziffernzeile = Schriftgröße × .9), Farbe = Linienfarbe.
   Kurzes Zucken im Takt des Hero-Logos, je Icon zeitversetzt (Saum s. u.). */
.step .step-ico {
  position: absolute; top: 26px; right: 0;
  width: clamp(2.16rem, 5.4vw, 3.6rem); height: clamp(2.16rem, 5.4vw, 3.6rem);
  overflow: visible;
  animation: icoGlitch 10s steps(1, end) infinite;
}
.step:nth-child(1) .step-ico { color: var(--c); animation-delay: 0s; }
.step:nth-child(2) .step-ico { color: var(--m); animation-delay: -1.3s; }
.step:nth-child(3) .step-ico { color: var(--y); animation-delay: -2.6s; }
.step:nth-child(4) .step-ico { color: var(--k); animation-delay: -3.9s; }
.step:nth-child(5) .step-ico { color: var(--c); animation-delay: -5.2s; }
/* Glitch im eigenen Farbton: in Ruhe kein Saum; beim Zucken ein halbtransparenter
   Versatz in der Farbe des Icons selbst (kein fremdes Cyan/Orange wie beim Logo). */
.step .step-ico { --gh: color-mix(in srgb, currentColor 45%, transparent); }
@keyframes icoGlitch {
  0%, 100% { filter: none; transform: none; }
  25%   { filter: drop-shadow(1.6px 0 0 var(--gh)) drop-shadow(-1.6px 0 0 var(--gh)); transform: translateX(.8px); }
  25.8% { filter: drop-shadow(-1.2px 0 0 var(--gh)); transform: translateX(-.6px); }
  26.6% { filter: none; transform: none; }
  75%   { filter: drop-shadow(1.6px 0 0 var(--gh)) drop-shadow(-1.6px 0 0 var(--gh)); transform: translateX(.8px); }
  75.8% { filter: drop-shadow(-1.2px 0 0 var(--gh)); transform: translateX(-.6px); }
  76.6% { filter: none; transform: none; }
  78.4% { filter: drop-shadow(-1.2px 0 0 var(--gh)); transform: translateX(-.6px); }
  79.2% { filter: drop-shadow(1.6px 0 0 var(--gh)) drop-shadow(-1.6px 0 0 var(--gh)); transform: translateX(.8px); }
  80%   { filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step .step-ico { animation: none; filter: none; }
}

/* ----- Plakativ: voll-schwarzer Statement-Block ----------------------*/
.statement {
  background: #0b0b0b; color: #fff;
  position: relative; overflow: hidden;
}
.statement ::selection { background: var(--y); color: var(--ink); }
/* nur für Screenreader: Logo + Spruch stehen im Video */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* ----- Logo-Loop als Code (Statement-Abschnitt) ----------------------
   Nachbau des Videos "notorious-logo-loop": schwarzer Röhrenbildschirm (Rauschen,
   Zeilenraster, Vignette — .crt wie in der Philosophie-Kachel), Passkreuze in den
   Ecken, Logo + Spruch mit feinem Farbsaum. In der 9-s-Schleife laufen dieselben
   Glitch-Momente wie im Video (0 s, 2 s, 3,5 s, 6,3 s, 8,6 s). Jede Zeile besteht aus
   einem weißen Hauptauszug und zwei Farbauszügen (Cyan, Magenta) für den RGB-Versatz.
   Größen in cqw = Prozent der Abschnittsbreite, damit alles wie im Video skaliert. */
.logo-loop {
  position: relative; container-type: inline-size;
  aspect-ratio: 3 / 1; overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 50% 45%, #1a1a1a 0%, #0d0d0d 55%, #050505 100%);
  display: flex; align-items: center; justify-content: center;
  --ll-size: 7cqw; --ll-sub: 1.05cqw;
}
.ll-reg { position: absolute; width: 2cqw; height: 2cqw; color: rgba(255,255,255,.32); }
.ll-reg.tl { top: 1.6cqw; left: 1.4cqw; }  .ll-reg.tr { top: 1.6cqw; right: 1.4cqw; }
.ll-reg.bl { bottom: 1.6cqw; left: 1.4cqw; } .ll-reg.br { bottom: 1.6cqw; right: 1.4cqw; }

.ll-logo {
  position: relative; display: flex; flex-direction: column; align-items: stretch;
  font-size: var(--ll-size); color: #fff; margin-top: -1.2cqw;
}
.ll-row { position: relative; display: block; }
.ll-l { display: block; white-space: nowrap; }
.ll-n .ll-l { font-weight: 700; letter-spacing: .005em; line-height: 1.02; }
.ll-c .ll-l { font-weight: 300; line-height: 1.12; display: flex; justify-content: space-between; font-size: .9em; }
.ll-c .ll-l i { font-style: normal; }
/* Hauptauszug: weiß, ruhig, mit feinem Farbsaum + Leuchten wie im Video */
.ll-k {
  position: relative;
  text-shadow: -.012em 0 rgba(0,180,255,.55), .012em 0 rgba(255,110,40,.5), 0 0 .25em rgba(255,255,255,.28);
}
/* Farbauszüge: liegen deckungsgleich darunter, sichtbar nur im Glitch */
.ll-cy, .ll-ma { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; }
.ll-cy { color: #00c8ff; }
.ll-ma { color: #ff2d8a; }

.ll-sub {
  display: block; text-align: center; margin-top: 1.05em;
  font-size: calc(var(--ll-sub) / var(--ll-size) * 1em);
  font-weight: 300; color: rgba(255,255,255,.72); letter-spacing: .01em;
  text-shadow: 0 0 .6em rgba(255,255,255,.2);
}
/* durchgezogene Störlinie über die ganze Breite */
.ll-hline {
  position: absolute; left: 0; right: 0; top: 46%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 15%, rgba(255,255,255,.55) 85%, transparent);
  opacity: 0; font-size: var(--ll-size);
}
.logo-loop .crt { z-index: 3; }
.statement .colorflow { z-index: 4; }

.ll-n .ll-k { animation: llNk 9s steps(1, end) infinite; }
.ll-c .ll-k { animation: llCk 9s steps(1, end) infinite; }
.ll-n .ll-cy, .ll-c .ll-cy { animation: llCy 9s steps(1, end) infinite; }
.ll-n .ll-ma, .ll-c .ll-ma { animation: llMa 9s steps(1, end) infinite; }
.ll-c .ll-cy, .ll-c .ll-ma { animation-delay: -.04s; }   /* Zeilen glitchen leicht versetzt */
.ll-hline { animation: llHl 9s steps(1, end) infinite; }
.ll-sub { animation: llSub 9s steps(1, end) infinite; }

/* Handy: höherer Ausschnitt, Logo größer (wie zuvor beim Video) */
@media (max-width: 880px) {
  .logo-loop { aspect-ratio: 16 / 9; --ll-size: 11.5cqw; --ll-sub: 2.9cqw; }
  .ll-reg { width: 3.4cqw; height: 3.4cqw; }
}
/* Reduzierte Bewegung: ruhiges Standbild */
@media (prefers-reduced-motion: reduce) {
  .logo-loop *, .logo-loop *::before, .logo-loop *::after { animation: none !important; }
}

@keyframes llNk {
  0.00% { transform: translateX(.05em) skewX(-6deg); clip-path: inset(0 0 8% 0); color: #fff; opacity: 1; }
  0.56% { transform: translateX(-.06em) scaleY(.92); clip-path: inset(12% 0 22% 0); color: #fff; opacity: 1; }
  1.11% { transform: translateX(.02em); clip-path: none; color: #fff; opacity: .7; }
  1.67% { transform: translateX(-.02em); clip-path: inset(0 0 42% 0); color: #fff; opacity: 1; }
  2.22% { transform: skewX(-8deg); clip-path: none; color: #fff; opacity: 1; }
  2.78% { transform: translateX(.01em); clip-path: none; color: #fff; opacity: 1; }
  3.33% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  39.33% { transform: translateX(-.03em) scaleY(.88); clip-path: inset(0 0 14% 0); color: #ff2d8a; opacity: 1; }
  40.22% { transform: translateX(-.07em) scaleY(1.14); clip-path: none; color: #38b6ff; opacity: 1; }
  41.11% { transform: translateX(.02em); clip-path: inset(22% 0 0 0); color: #fff; opacity: 1; }
  42.00% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  70.44% { transform: translateX(.03em) skewX(-6deg); clip-path: inset(0 0 38% 0); color: #fff; opacity: 1; }
  71.33% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  96.22% { transform: translateX(.015em); clip-path: inset(0 0 52% 0); color: #fff; opacity: 1; }
  96.89% { transform: translateX(-.03em) skewX(-7deg); clip-path: none; color: #fff; opacity: 1; }
  97.56% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  98.22% { transform: translateX(.06em); clip-path: inset(0 0 48% 0); color: #fff; opacity: 1; }
  98.89% { transform: translateX(-.02em) skewX(-4deg); clip-path: none; color: #fff; opacity: 1; }
  100.00% { transform: translateX(.05em) skewX(-6deg); clip-path: inset(0 0 8% 0); color: #fff; opacity: 1; }
}
@keyframes llCk {
  0.00% { transform: translateX(-.04em) scaleY(1.12) skewX(10deg); clip-path: none; color: #fff; opacity: 1; }
  0.56% { transform: translateX(.03em); clip-path: none; color: #fff; opacity: 1; }
  1.11% { transform: translateX(-.05em); clip-path: inset(0 0 26% 0); color: #fff; opacity: 1; }
  1.67% { transform: translateX(.015em) translateY(.03em); clip-path: none; color: #fff; opacity: 1; }
  2.78% { transform: translateY(.02em); clip-path: inset(40% 0 0 0); color: #fff; opacity: 1; }
  3.33% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  4.44% { transform: translateX(.012em); clip-path: none; color: #fff; opacity: 1; }
  5.00% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  22.22% { transform: translateX(.02em); clip-path: inset(0 0 40% 0); color: #fff; opacity: 1; }
  23.11% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  39.33% { transform: translateX(.025em); clip-path: inset(0 0 30% 0); color: #fff; opacity: 1; }
  40.22% { transform: translateX(-.05em) skewX(12deg); clip-path: none; color: #fff; opacity: 1; }
  41.11% { transform: translateX(.025em); clip-path: inset(25% 0 0 0); color: #fff; opacity: 1; }
  42.00% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  69.56% { transform: translateX(-.05em) skewX(14deg); clip-path: inset(28% 0 0 0); color: #fff; opacity: 1; }
  70.44% { transform: none; clip-path: none; color: #e8c840; opacity: 1; }
  71.33% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  95.56% { transform: translateX(.02em); clip-path: inset(52% 0 0 0); color: #fff; opacity: 1; }
  96.22% { transform: none; clip-path: none; color: #fff; opacity: 1; }
  97.56% { transform: translateY(.035em) skewX(-6deg); clip-path: none; color: #fff; opacity: 1; }
  98.22% { transform: translateX(-.035em); clip-path: none; color: #fff; opacity: 1; }
  98.89% { transform: translateX(.05em) skewX(12deg); clip-path: none; color: #fff; opacity: 1; }
  100.00% { transform: translateX(-.04em) scaleY(1.12) skewX(10deg); clip-path: none; color: #fff; opacity: 1; }
}
@keyframes llCy {
  0.00% { transform: translate(-0.072em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  0.56% { transform: translate(-0.054em, 0); clip-path: inset(10% 0 30% 0); opacity: .9; }
  1.11% { transform: translate(-0.032em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  1.67% { transform: translate(-0.036em, 0); clip-path: inset(0 0 50% 0); opacity: .9; }
  2.22% { transform: translate(-0.022em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  2.78% { transform: translate(-0.013em, 0); clip-path: inset(30% 0 0 0); opacity: .9; }
  3.33% { transform: none; clip-path: none; opacity: 0; }
  39.33% { transform: translate(-0.045em, 0); clip-path: inset(0 0 20% 0); opacity: .9; }
  40.22% { transform: translate(-0.063em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  41.11% { transform: translate(-0.027em, 0); clip-path: inset(20% 0 0 0); opacity: .9; }
  42.00% { transform: none; clip-path: none; opacity: 0; }
  69.56% { transform: translate(-0.045em, 0); clip-path: inset(30% 0 0 0); opacity: .9; }
  70.44% { transform: translate(-0.032em, 0); clip-path: inset(0 0 40% 0); opacity: .9; }
  71.33% { transform: none; clip-path: none; opacity: 0; }
  96.89% { transform: translate(-0.027em, 0); clip-path: inset(0 0 45% 0); opacity: .9; }
  97.56% { transform: none; clip-path: none; opacity: 0; }
  98.22% { transform: translate(-0.045em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  98.89% { transform: translate(-0.063em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  100.00% { transform: translate(-0.072em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
}
@keyframes llMa {
  0.00% { transform: translate(0.072em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  0.56% { transform: translate(0.054em, 0); clip-path: inset(10% 0 30% 0); opacity: .9; }
  1.11% { transform: translate(0.032em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  1.67% { transform: translate(0.036em, 0); clip-path: inset(0 0 50% 0); opacity: .9; }
  2.22% { transform: translate(0.022em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  2.78% { transform: translate(0.013em, 0); clip-path: inset(30% 0 0 0); opacity: .9; }
  3.33% { transform: none; clip-path: none; opacity: 0; }
  39.33% { transform: translate(0.045em, 0); clip-path: inset(0 0 20% 0); opacity: .9; }
  40.22% { transform: translate(0.063em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  41.11% { transform: translate(0.027em, 0); clip-path: inset(20% 0 0 0); opacity: .9; }
  42.00% { transform: none; clip-path: none; opacity: 0; }
  69.56% { transform: translate(0.045em, 0); clip-path: inset(30% 0 0 0); opacity: .9; }
  70.44% { transform: translate(0.032em, 0); clip-path: inset(0 0 40% 0); opacity: .9; }
  71.33% { transform: none; clip-path: none; opacity: 0; }
  96.89% { transform: translate(0.027em, 0); clip-path: inset(0 0 45% 0); opacity: .9; }
  97.56% { transform: none; clip-path: none; opacity: 0; }
  98.22% { transform: translate(0.045em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  98.89% { transform: translate(0.063em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
  100.00% { transform: translate(0.072em, 0); clip-path: inset(0 0 0 0); opacity: .9; }
}
@keyframes llHl {
  0.00% { opacity: .7; transform: none; }
  0.56% { opacity: .5; transform: translateY(.6em); }
  1.11% { opacity: 0; transform: none; }
  39.33% { opacity: .6; transform: none; }
  40.22% { opacity: .45; transform: translateY(-.2em); }
  41.11% { opacity: 0; transform: none; }
  100.00% { opacity: .7; transform: none; }
}
@keyframes llSub {
  0.00% { transform: translateX(.3em); opacity: .6; }
  1.11% { transform: translateX(-.2em); opacity: 1; }
  1.67% { transform: none; opacity: 1; }
  96.89% { transform: translateX(-.25em); opacity: .7; }
  98.22% { transform: translateX(.2em); opacity: 1; }
  100.00% { transform: translateX(.3em); opacity: .6; }
}

/* durchgehend laufender Farbstreifen — nahtlose Schleife (eine Kachel = 528px) */
.statement .colorflow {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 10px;
  background-image: repeating-linear-gradient(90deg,
    var(--y) 0, var(--y) 48px,
    var(--m) 48px, var(--m) 96px,
    var(--c) 96px, var(--c) 144px,
    var(--s-blue) 144px, var(--s-blue) 192px,
    var(--s-green) 192px, var(--s-green) 240px,
    var(--s-red) 240px, var(--s-red) 288px,
    #2b2b2b 288px, #2b2b2b 336px,
    var(--p-cream) 336px, var(--p-cream) 384px,
    var(--p-pink) 384px, var(--p-pink) 432px,
    var(--p-blue) 432px, var(--p-blue) 480px,
    var(--p-gray) 480px, var(--p-gray) 528px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  animation: colorflow 18s linear infinite;
}
@keyframes colorflow { to { background-position-x: -528px; } }

/* ----- Kontakt-CTA ---------------------------------------------------*/
.cta { text-align: center; }
.cta h2 {
  font-size: clamp(2rem, 7vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.cta p { color: var(--muted); max-width: 40ch; margin: 0 auto 40px; font-weight: 300; font-size: 1.1rem; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  padding: 16px 30px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; transition: background .3s var(--ease), color .3s var(--ease);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  border-top: 1px solid var(--ink);
  padding: clamp(40px, 6vw, 70px) var(--edge) 56px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start;
}
.footer .footer-logo { height: clamp(56px, 7vw, 76px); width: auto; display: block; filter: brightness(0); }
.footer .owner { color: var(--muted); margin-top: 12px; font-size: .9rem; }
.footer h4 { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { font-size: .95rem; position: relative; }
.footer ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  max-width: var(--maxw); margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .76rem; color: var(--muted); letter-spacing: .04em;
}

/* =====================================================================
   UNTERSEITEN  (Impressum / Kontakt / Datenschutz)
   ===================================================================== */
.page { padding: clamp(120px, 18vh, 200px) var(--edge) 90px; min-height: 70vh; }
.page-inner { max-width: 820px; margin: 0 auto; }
.page h1 {
  font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em;
  line-height: 1; margin-bottom: 8px;
}
.page .page-eyebrow { margin-bottom: 22px; }
.page h2 { font-size: 1.2rem; font-weight: 700; margin: 34px 0 10px; }
.page h3 { font-size: 1.04rem; font-weight: 700; margin: 26px 0 8px; }
.page h4 { font-size: .94rem; font-weight: 700; margin: 18px 0 6px; color: var(--ink); }
.page p, .page address {
  font-style: normal; color: var(--ink-soft); margin-bottom: 1em; line-height: 1.7;
}
.page ul { margin: 0 0 1em 1.15em; color: var(--ink-soft); line-height: 1.7; }
.page ul li { margin-bottom: .5em; }
.page a.inline { text-decoration: underline; text-underline-offset: 3px; }
.note {
  background: var(--paper-soft); border-left: 3px solid var(--m);
  padding: 16px 20px; margin: 18px 0; font-size: .9rem; color: var(--ink-soft);
}
.note b { font-weight: 700; }

/* ----- Kontaktformular -----------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: start; }
.contact-aside p { color: var(--ink-soft); max-width: 34ch; }
.contact-aside .line { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.contact-aside .line span { color: var(--muted); min-width: 70px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-aside .contact-strip { max-width: 220px; margin: 22px 0 28px; }

form .field { margin-bottom: 22px; position: relative; }
form label {
  display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
form input, form textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1.5px solid var(--hairline);
  padding: 10px 2px; font-size: 1rem; transition: border-color .3s var(--ease);
}
form input:focus, form textarea:focus { outline: none; border-bottom-color: var(--ink); }
form textarea { resize: vertical; min-height: 120px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--m); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; opacity: 0; }   /* Honeypot gegen Spam */

.form-msg { margin-top: 18px; font-size: .9rem; display: none; }
.form-msg.ok  { display: block; color: var(--s-green); }
.form-msg.err { display: block; color: var(--s-red); }

/* =====================================================================
   SCROLL-REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 880px) {
  .philo-text::before, .philo-text::after,
  .philo-img::before, .philo-img::after { display: none; }
  .haltung-grid { grid-template-columns: 1fr; gap: 38px; }
  .sheet { max-width: 380px; margin: 0 auto; }
  .process { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 44px 1fr; }
  .service .desc { display: none; }
  .hero-strip { top: 96px; }
  /* obere Schnittmarken mit klarem Abstand UNTER die Kontrollstreifen */
  .crop.tl, .crop.tr { top: 134px; }
  /* Scroll-Hinweis höher, damit er den Farbstreifen im Mobil-Video nicht überdeckt */
  .scrollcue, .scrollcue--video { bottom: 56px; }
  /* Haltung mobil: nur Text, ohne Porträt und Druck-Deko */
  .haltung-grid .sheet { display: none; }
  /* ohne Porträt mehr Luft zwischen Abschnittskopf und "Notorious" — klare Hierarchie */
  #haltung .section-head { margin-bottom: 76px; }
  .hero-strip .wedge, .hero-strip .cbar { width: clamp(90px, 30vw, 150px); }

  .nav { display: none; position: fixed; inset: 0;
         background: rgba(255, 255, 255, .86);
         -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
         flex-direction: column; justify-content: center; align-items: center;
         gap: 28px; }
  .nav.open { display: flex; animation: menuIn .42s cubic-bezier(.22,.61,.36,1) both; }
  .nav.open.closing { animation: menuOut .38s cubic-bezier(.4,0,.7,.35) both; }
  /* Menüpunkte leicht versetzt von oben nach unten einblenden */
  .nav.open a { animation: menuLinkIn .5s var(--ease) both; }
  .nav.open a:nth-child(1) { animation-delay: .12s; }
  .nav.open a:nth-child(2) { animation-delay: .19s; }
  .nav.open a:nth-child(3) { animation-delay: .26s; }
  .nav.open a:nth-child(4) { animation-delay: .33s; }
  .nav a { color: var(--ink); font-size: 1rem; }
  /* Druck-Deko nur im offenen Menü zeigen */
  .nav.open .menu-deco { display: block; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 6px; z-index: 80; position: relative;
  }
  .nav-toggle span { width: 26px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .philo-grid { grid-template-columns: 1fr; }
  .philo-text { aspect-ratio: auto; min-height: 320px; }
  .process { grid-template-columns: 1fr; }
  .crop { width: 22px; height: 22px; }
  .crop::before { width: 22px; } .crop::after { height: 22px; }
  .crop.tl::before { left: 9px; } .crop.tl::after { top: 9px; }
  .crop.tr::before { right: 9px; } .crop.tr::after { top: 9px; }
  .crop.bl::before { left: 9px; } .crop.bl::after { bottom: 9px; }
  .crop.br::before { right: 9px; } .crop.br::after { bottom: 9px; }
}

/* Niedrige Fenster: mehr Luft unter dem Hero-Text, damit der Scroll-Hinweis nicht hineinläuft */
@media (max-height: 720px) {
  .hero-stage { padding-bottom: 130px; }
}

/* =====================================================================
   BARRIEREFREIHEIT
   ===================================================================== */
:focus-visible { outline: 2px solid var(--m); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   ARBEITEN – Couchtisch mit Arbeitsproben (Abschnitt #arbeiten)
   Objekte zum Aufheben: Bücher/Hefte, Wickelfalz-Flyer, Drucksachen,
   Sticker und ein Handy mit eingebetteter Website (siehe main.js)
   ===================================================================== */

.ws-section { padding-top: 0; padding-bottom: 0; }
.ws-section .section-head { margin-bottom: clamp(24px, 3vw, 40px); }

/* ----- Szene: Foto über die volle Breite ---------------------------- */
.ws-scene {
  position: relative;
  margin: 0 calc(-1 * var(--edge));          /* aus dem Seitenrand heraus = volle Breite */
  aspect-ratio: 3000 / 1500;                  /* Desktop: Couchtisch quer, mittig */
  background: #e9e6e1;
  overflow: hidden;
}
.ws-scene picture, .ws-scene .ws-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Tischplatte im Foto (pixelgenau gemessen) – alle Objekte liegen in diesem Kasten */
.ws-table { position: absolute; left: 23.267%; top: 21.867%; width: 53.467%; height: 56.267%; }

@media (max-width: 700px) {
  .ws-scene { aspect-ratio: 1100 / 2100; }    /* Mobil: Foto gedreht, Tisch hochkant */
  .ws-table { left: 11.636%; top: 11.810%; width: 76.727%; height: 76.381%; }
}

.ws-hint {
  display: flex; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); margin: 14px 0 0;
}
.ws-hint::before { content: ""; width: 18px; height: 2px; background: var(--m); }

/* ----- Objekte auf dem Tisch --------------------------------------- */
.ws-obj, .ws-deco {
  position: absolute; display: block; padding: 0; border: 0; background: none;
  transform: rotate(var(--rot, 0deg));
  left: var(--dl); top: var(--dt); width: var(--dw); --rot: var(--dr);
  container-type: inline-size;                /* Maße innen relativ zur Objektbreite (cqw) */
}
@media (max-width: 700px) {
  .ws-obj, .ws-deco { left: var(--ml); top: var(--mt); width: var(--mw); --rot: var(--mr); }
}
.ws-obj { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ws-deco { pointer-events: none; }
.ws-obj .ws-body { transition: transform .35s var(--ease); pointer-events: none; }
@media (hover: hover) {
  .ws-obj:hover .ws-body { transform: scale(1.04); }
  .ws-obj:hover { z-index: 20; }
  .ws-obj:hover .ws-face, .ws-obj:hover .ws-book-shadow, .ws-obj:hover .ws-roll-shadow, .ws-obj:hover .ws-phone-shadow {
    box-shadow: 0 1.4cqw 4cqw rgba(0,0,0,.42), 0 .4cqw 1cqw rgba(0,0,0,.25);
  }
}
.ws-obj:focus-visible { outline: 2px solid var(--m); outline-offset: 4px; }
.ws-obj.is-out { visibility: hidden; }

.ws-body { position: absolute; inset: 0; }
.ws-body img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }

/* ----- Detailansicht (Overlay) ------------------------------------- */
.ws-overlay { position: fixed; inset: 0; z-index: 1000; touch-action: none; }
.ws-backdrop {
  position: absolute; inset: 0; background: rgba(10,10,10,.76);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .6s var(--ease);
}
.ws-overlay.is-open .ws-backdrop { opacity: 1; }

.ws-fly { position: absolute; container-type: inline-size; transform-origin: 50% 50%; will-change: transform; }
.ws-fly.is-moving { transition: transform .8s cubic-bezier(.3,.9,.3,1); }
.ws-fly.is-returning { transition: transform .75s cubic-bezier(.55,0,.25,1); }

/* Schatten: liegt flach (klein) – schwebt (groß) */
.ws-face, .ws-book-shadow, .ws-roll-shadow, .ws-phone-shadow {
  box-shadow: 0 .5cqw 1.6cqw rgba(0,0,0,.34), 0 .15cqw .4cqw rgba(0,0,0,.24);
  transition: box-shadow .8s var(--ease);
}
.ws-fly.is-lifted .ws-face, .ws-fly.is-lifted .ws-book-shadow, .ws-fly.is-lifted .ws-roll-shadow, .ws-fly.is-lifted .ws-phone-shadow {
  box-shadow: 0 6cqw 14cqw rgba(0,0,0,.5), 0 2cqw 4cqw rgba(0,0,0,.28);
}
/* Buchseiten selbst ohne eigenen Schatten (das Buch hat einen gemeinsamen) */
.ws-book .ws-face, .ws-fly.is-lifted .ws-book .ws-face, .ws-obj:hover .ws-book .ws-face { box-shadow: none; }

/* Steuerleiste */
.ws-controls {
  position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 0 16px; opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.ws-overlay.is-ready .ws-controls { opacity: 1; transform: none; pointer-events: auto; }
.ws-btn {
  appearance: none; border: 1.5px solid #fff; background: #fff; color: var(--ink);
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 13px 18px; cursor: pointer; line-height: 1; min-height: 44px;
  transition: background .25s, color .25s, opacity .25s;
}
.ws-btn:hover { background: var(--ink); color: #fff; }
.ws-btn.ghost { background: transparent; color: #fff; }
.ws-btn.ghost:hover { background: #fff; color: var(--ink); }
.ws-btn:disabled { opacity: .35; cursor: default; }
.ws-btn:focus-visible { outline: 2px solid var(--m); outline-offset: 3px; }
.ws-pageno { color: #fff; font-size: .72rem; letter-spacing: .2em; min-width: 64px; text-align: center; font-weight: 500; }
.ws-label {
  position: absolute; top: max(18px, env(safe-area-inset-top)); left: 16px; right: 16px; text-align: center;
  color: rgba(255,255,255,.75); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transition: opacity .4s;
}
.ws-overlay.is-ready .ws-label { opacity: 1; }
.ws-drag { position: absolute; left: 0; right: 0; top: calc(max(18px, env(safe-area-inset-top)) + 24px);
  text-align: center; color: rgba(255,255,255,.6); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transition: opacity .4s; pointer-events: none; }
.ws-overlay.can-drag .ws-drag { opacity: 1; }

/* =====================================================================
   DRUCKSACHEN MIT VORDER-/RÜCKSEITE (Visitenkarte, A4-Blatt, Sticker)
   ===================================================================== */
.ws-flipwrap { position: absolute; inset: 0; perspective: 400cqw; transform-style: preserve-3d; }
.ws-flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.45,.05,.25,1);
}
.ws-flip.is-flipped { transform: rotateY(180deg); }
.ws-face {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: #fff;
}
.ws-flip .ws-back { transform: rotateY(180deg); }
.ws-fly .ws-flip { cursor: pointer; }
.ws-t-card .ws-face { border-radius: 1.2cqw; }

/* Neigen per Maus in der Detailansicht (nur Sticker) */
.ws-fly .ws-tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }

/* Glanz auf Stickern (nur in der Detailansicht sichtbar) */
.ws-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.6) 46%, rgba(255,255,255,.15) 52%, transparent 62%);
  background-size: 260% 100%; background-position: var(--sx, 85%) 0; mix-blend-mode: screen;
}
.ws-fly .ws-sheen { opacity: 1; }

/* Konturgeschnittener Sticker (Bildmarke mit weißem Rand) */
.ws-cutface { background: none !important; box-shadow: none !important; overflow: visible; }
.ws-cut {
  width: 100%; height: 100%; object-fit: contain !important;
  filter: drop-shadow(2.6cqw 0 0 #fff) drop-shadow(-2.6cqw 0 0 #fff) drop-shadow(0 2.6cqw 0 #fff) drop-shadow(0 -2.6cqw 0 #fff)
          drop-shadow(0 1cqw 1.6cqw rgba(0,0,0,.45));
  transition: filter .8s var(--ease);
}
.ws-fly.is-lifted .ws-cut {
  filter: drop-shadow(2.6cqw 0 0 #fff) drop-shadow(-2.6cqw 0 0 #fff) drop-shadow(0 2.6cqw 0 #fff) drop-shadow(0 -2.6cqw 0 #fff)
          drop-shadow(0 7cqw 10cqw rgba(0,0,0,.55));
}
/* Rückseite: Trägerpapier in Sticker-Form (spiegelverkehrt, wie in echt) */
.ws-cut.back {
  transform: scaleX(-1);
  filter: brightness(0) invert(.93) drop-shadow(2.6cqw 0 0 #efeeea) drop-shadow(-2.6cqw 0 0 #efeeea) drop-shadow(0 2.6cqw 0 #efeeea) drop-shadow(0 -2.6cqw 0 #efeeea)
          drop-shadow(0 1cqw 1.6cqw rgba(0,0,0,.4));
}
.ws-cutface .ws-sheen { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }

/* Rechteckiger Sticker mit abgerundeten Ecken */
.ws-rectface { border-radius: 5cqw; }
.ws-rect-in { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 9cqw; }
.ws-rect-in img { width: 100%; height: auto !important; object-fit: contain !important; }
.ws-backing {
  background: repeating-linear-gradient(135deg, #f1efea 0 6cqw, #ebe8e1 6cqw 6.4cqw) !important;
}
.ws-backing span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 3.2cqw; letter-spacing: .4em; text-transform: uppercase; color: #b9b4a9; font-weight: 600;
}

/* Handy: Bildschirm (Vorschau bzw. echte Website) unter dem Rahmen-Bild */
.ws-pscreen { position: absolute; left: 6.42%; top: 3%; width: 87.16%; height: 94.2%;
  border-radius: 8cqw; overflow: hidden; background: #f3ece0; isolation: isolate; }  /* eigene Ebene: Rahmen + Notch liegen darüber */
/* Statusleiste (44 von 820 px = 5,366 %); Ohren links/rechts der Notch je 20,2 % der Gerätebreite */
.ws-pstatus { position: absolute; left: 0; right: 0; top: 0; height: 5.366%; z-index: 2;
  display: flex; justify-content: space-between; background: var(--sbg); color: var(--sfg); }
.ws-pstatus > span { width: 20.2cqw; height: 7.4cqw; display: flex; align-items: center; justify-content: center; gap: 1.1cqw; }
.ws-pstatus .t { font: 600 3.45cqw/1 -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; padding-left: 1.5cqw; }
.ws-pstatus svg { height: 2.55cqw; width: auto; fill: currentColor; }
.ws-pstatus svg.bat { height: 2.7cqw; }
.ws-pstatus .ic { padding-right: 1.5cqw; }
.ws-pview { position: absolute; left: 0; right: 0; bottom: 0; top: 5.366%; overflow: hidden; background: var(--sbg); }
.ws-pview iframe { position: absolute; left: 0; top: 0; width: 390px; height: 776px; border: 0;
  transform-origin: 0 0; background: #fff; opacity: 0; transition: opacity .38s ease; }
.ws-pview iframe.is-loaded { opacity: 1; }
.ws-body img.ws-pframe { position: absolute; inset: 0; pointer-events: none; }
.ws-phone-shadow { position: absolute; inset: .3% .5%; border-radius: 13cqw; }
.ws-overlay.is-phone { touch-action: auto; }

/* Briefumschlag (nur Deko) */
.ws-deco .ws-face { border-radius: .6cqw; }

/* =====================================================================
   FLYER IM WICKELFALZ (6 Felder, die sich nacheinander aufwickeln)
   Jedes Feld hängt am Nachbarfeld (Scharnier); Feld 5 ist die Rückseite.
   ===================================================================== */
.ws-roll { position: absolute; inset: 0; perspective: 900cqw; }
.ws-rsheet { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%;
  transition: transform .62s cubic-bezier(.4,.1,.25,1); }
.ws-rsheet.is-dragging { transition: none; }
.ws-rflip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.45,.05,.25,1); }
.ws-rflip.is-flipped { transform: rotateY(180deg); }
.ws-roll-shadow { position: absolute; top: 0; height: 100%; left: 0; width: 100%; transform: translateZ(-2px);
  transition: left .26s ease-in, width .26s ease-in, box-shadow .8s var(--ease); }
.ws-roll.is-growing .ws-roll-shadow {
  transition: left .34s ease-out .28s, width .34s ease-out .28s, box-shadow .8s var(--ease); }

.ws-pan { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.4,.1,.25,1); }
/* gefaltet: Felder liegen mit etwas Abstand übereinander (verhindert Flackern) */
/* Versatz halbiert sich je Ebene, damit jedes gefaltete Feld in JEDEM Zwischenschritt
   zwischen seinem Elternfeld und dessen Unterlage liegt (sonst springen Felder nach vorn) */
.ws-pan[data-k="6"] { left: -100%; transform-origin: 100% 50%; transform: translateZ(10px) rotateY(180deg); }
.ws-pan[data-k="4"] { left: 100%; transform-origin: 0 50%; transform: translateZ(8px) rotateY(-180deg); }
.ws-pan[data-k="3"] { left: 100%; transform-origin: 0 50%; transform: translateZ(4px) rotateY(-180deg); }
.ws-pan[data-k="2"] { left: 100%; transform-origin: 0 50%; transform: translateZ(2px) rotateY(-180deg); }
.ws-pan[data-k="1"] { left: 100%; transform-origin: 0 50%; transform: translateZ(1px) rotateY(-180deg); }
/* verdeckte Felder werden gar nicht erst gezeichnet */
.ws-pan.is-hid > .ws-pf { visibility: hidden; }
.ws-roll.o6 .ws-pan[data-k="6"], .ws-roll.o4 .ws-pan[data-k="4"], .ws-roll.o3 .ws-pan[data-k="3"],
.ws-roll.o2 .ws-pan[data-k="2"], .ws-roll.o1 .ws-pan[data-k="1"] { transform: none; }

.ws-pf { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background-color: #fff; background-size: 600% 100%; background-repeat: no-repeat; }
.ws-pf.ws-in  { background-image: url("img/arbeiten/br-flyer-innen.webp"); }
.ws-pf.ws-out { background-image: url("img/arbeiten/br-flyer-aussen.webp"); transform: rotateY(180deg); }
/* feine Falzlinie */
.ws-pf::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 1px 0 0 rgba(0,0,0,.06), inset -1px 0 0 rgba(0,0,0,.06); }
.ws-fly .ws-roll { cursor: grab; }

/* =====================================================================
   BUCH / HEFT – Blätter mit Vorder-/Rückseite, Drehachse = Rücken
   Das Buch ist doppelt so breit wie sein Kasten; die rechte Hälfte = Kasten.
   ===================================================================== */
.ws-book {
  position: absolute; top: 0; bottom: 0; left: -100%; width: 200%;
  perspective: 500cqw;
  transform: translateX(var(--pan, 0%));
  transition: transform .82s cubic-bezier(.45,.05,.25,1);
}
.ws-book-shadow {
  position: absolute; top: 0; bottom: 0; left: 50%; right: 0; border-radius: 0 .6cqw .6cqw 0;
  transition: box-shadow .8s var(--ease);
}
/* linke Hälfte: erscheint erst, wenn das Blatt über 90° ist und aufliegt (ab ca. 0,3 s),
   verschwindet beim Zuklappen sofort, sobald es sich anhebt */
.ws-book-shadow.l { left: 0; right: 50%; border-radius: .6cqw 0 0 .6cqw; opacity: 0;
  transition: opacity .26s ease-in, box-shadow .8s var(--ease); }
.ws-book.is-open .ws-book-shadow.l { opacity: 1;
  transition: opacity .42s ease-out .3s, box-shadow .8s var(--ease); }

.ws-board { position: absolute; top: 0; bottom: 0; width: 50%; background: #f8f7f3; }
.ws-board.r { left: 50%; border-radius: 0 .6cqw .6cqw 0; }
.ws-board.l { left: 0; border-radius: .6cqw 0 0 .6cqw; opacity: 0; transition: opacity .26s ease-in; }
.ws-book.is-open .ws-board.l { opacity: 1; transition: opacity .42s ease-out .3s; }
.ws-board.r::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.14), rgba(0,0,0,.03) 7%, transparent 16%); }

.ws-leaf {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 50%;
  transform-origin: 0 50%; transform-style: preserve-3d;
  transition: transform .82s cubic-bezier(.45,.05,.25,1);
}
.ws-leaf.is-hid { visibility: hidden; }
.ws-leaf.no-anim { transition: none; }
.ws-leaf.is-turned { transform: rotateY(-180deg); }
.ws-leaf .ws-face { background: #fbfaf7; }
.ws-leaf .ws-back { transform: rotateY(180deg); }
.ws-leaf .ws-front { border-radius: 0 .6cqw .6cqw 0; }
.ws-leaf .ws-back  { border-radius: .6cqw 0 0 .6cqw; }

/* Bundschatten (zum Rücken hin dunkler) */
.ws-leaf .ws-face::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(to right, rgba(0,0,0,.16), rgba(0,0,0,.04) 7%, transparent 16%);
}
.ws-leaf .ws-back::before {
  background: linear-gradient(to left, rgba(0,0,0,.16), rgba(0,0,0,.04) 7%, transparent 16%);
}
.ws-leaf .ws-cover::before { background: linear-gradient(to right, rgba(255,255,255,.14), rgba(0,0,0,.05) 2.5%, transparent 6%); }
/* Schattierung während des Umblätterns */
.ws-leaf .ws-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4; opacity: 0;
  background: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,.08));
}
.ws-leaf.is-turning .ws-face::after { animation: wsShade .82s cubic-bezier(.45,.05,.25,1); }
@keyframes wsShade { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* ----- Reduzierte Bewegung: kurze Überblendungen statt Flug/Drehung ---- */
@media (prefers-reduced-motion: reduce) {
  .ws-fly.is-moving, .ws-fly.is-returning, .ws-flip, .ws-leaf, .ws-book, .ws-book-shadow,
  .ws-pan, .ws-rsheet, .ws-rflip, .ws-roll-shadow { transition-duration: .01s !important; }
  .ws-leaf.is-turning .ws-face::after { animation: none; }
}
