/* Projektseiten im System der Dabei!-Case-Study (Styleguide: vorschau/varianten/STYLEGUIDE-case-study.md).
   Lädt nach style.css (Entwurf 1) und mittelweg.css. Akzent pro Projekt über --accent (im <html> gesetzt).
   Alle Abstände im 4-px-Raster. */
:root {
  --accent: #f4f4f5;
  --ink: #0b0b0b; --soft: #f4f4f5;
  --w-wide: 1180px; --w-text: 760px;
  --s-sec: 120px; --s-mod: 64px; --s-grid: 12px; --s-label: 40px;
  --r-lg: 24px; --r-xl: 32px;
  --fs-l: clamp(32px, 3.4vw, 46px);
  --contour: inset 0 0 0 1px rgba(11, 11, 11, .18);
  --col: min(calc(100% - 2 * var(--gutter)), var(--w-wide));
}
@media (max-width: 1100px) { :root { --s-sec: 96px; } }
@media (max-width: 760px) { :root { --s-sec: 72px; --s-mod: 40px; --s-label: 24px; } }

main p, main h1, main h2, main h3 { text-wrap: pretty; }
main h1, main h2, main h3, .pj-lead { text-wrap: balance; }

/* ---------- Kopf ---------- */
.pj-head { width: var(--col); margin: 0 auto; padding-top: 72px; }
.pj-head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 40px; align-items: end; margin-bottom: 40px; }
.pj-title .case-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 14px; color: var(--text-tertiary); text-decoration: none; }
.pj-title .case-back:hover { color: var(--ink); }
.pj-title h1 { margin: 0; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-weight: 450; font-size: clamp(44px, 6.2vw, 84px); line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.pj-title .case-summary { margin: 24px 0 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--text-secondary); }
/* Projektangaben: Begriff als Label, Wert in »Text klein« */
.pj-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; margin: 0; padding: 0; border: 0; width: auto; }
.pj-meta > div { display: block; margin: 0; padding: 0; border: 0; }
.pj-meta dt { margin: 0 0 4px; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.pj-meta dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
/* Bühne: eingerückt = rund, in der Akzentfarbe des Projekts */
.pj-stage { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--accent); }
.pj-stage .rise-video { background: var(--accent) !important; aspect-ratio: 16 / 9; }
.pj-agency { width: auto !important; max-width: var(--w-text) !important; margin: 16px 0 0 !important; padding: 0 !important; text-align: left !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--text-tertiary); }

/* ---------- Kapitel ---------- */
.pj-chap { width: var(--col); margin: 0 auto; padding: var(--s-sec) 0 0; }
.pj-label { display: flex; gap: 10px; margin: 0 0 var(--s-label); font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.pj-num { color: var(--text-tertiary); }
.pj-lead { margin: 0 0 40px; max-width: 16em; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: var(--fs-l); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.pj-chap > div:not([class]) > p, .pj-body > div > p:not([class*="pj-"]):not(.measure-note) { max-width: var(--w-text); margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
.pj-body, .pj-body > div { display: block; width: auto; margin: 0; padding: 0; }
.pj-sub { margin: var(--s-mod) 0 12px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pj-text { max-width: var(--w-text); margin: 0; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.pj-hint, main .pj-hint { max-width: var(--w-text); margin: 16px 0 0; padding: 0; border: 0; background: none; font-size: 14px; line-height: 1.5; color: var(--text-tertiary); }
.pj-hint::before { display: none !important; }

/* Herausforderung / Lösung: zwei Karten gegenüber, Lösung in der Akzentfarbe */
.pj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-grid); margin: 40px 0 0; }
.pj-pair > div { padding: 48px; border-radius: var(--r-xl); background: var(--soft); }
.pj-pair > div + div { background: var(--accent); }
.pj-pair h3 { margin: 0 0 12px; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.pj-pair p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink); }

/* Bilder: volle breite Spalte, eingerückt = rund */
.pj-chap .rise-figure, .pj-chap .rise-pair, .pj-chap .page-strips { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.pj-chap .rise-figure { padding: 0; margin-top: 0; }
.pj-chap .rise-figure + .rise-figure, .pj-chap .rise-pair, .pj-chap .rise-figure + .pj-module, .pj-chap .pj-body + .rise-figure { margin-top: var(--s-mod); }
.pj-chap > .rise-pair:first-of-type { margin-top: 0; }
.pj-chap .rise-figure img, .pj-chap .rise-video { border-radius: var(--r-lg); overflow: hidden; }
.pj-chap .rise-pair { gap: var(--s-grid); }
.pj-chap .page-strips { margin-top: var(--s-grid); border-radius: var(--r-lg); }

/* Entscheidungen: graue Fläche, Karten im Raster, gleich hoch */
.pj-module { margin: var(--s-mod) 0 0; padding: 48px; border-radius: var(--r-xl); background: var(--soft); }
.pj-module-label { margin: 0 0 24px; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.pj-module > div { display: block; margin: 0; padding: 0; }
.pj-module .or-dec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-grid); width: 100%; margin: 0; }
.pj-module .or-dec > div { padding: 28px; border-radius: var(--r-lg); background: #fff; }
.pj-module .or-dec h3 { margin: 0 0 12px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 18px; font-weight: 600; line-height: 1.3; }
.pj-module .or-dec p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.pj-module .or-dec .dec-why { margin-top: 12px; color: var(--ink); }

/* Erfolg messen: eine Fläche in der Akzentfarbe, zwei Hälften */
.pj-measure.or-dec { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; margin: 0; padding: 0; border-radius: var(--r-xl); background: var(--accent); }
.pj-measure.or-dec > div { padding: 48px; border: 0; }
.pj-measure.or-dec > div + div { box-shadow: inset 1px 0 0 rgba(11, 11, 11, .12); }
.pj-measure .or-phase { margin: 0 0 24px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.pj-measure h3 { margin: 0 0 12px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.pj-measure p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.pj-chap .measure-note { width: auto; max-width: var(--w-text); margin: 16px 0 0; font-size: 14px; color: var(--text-tertiary); }

/* Projekt-Navigation und Footer wie Entwurf 1, nur auf die Spalte gesetzt */
main > .case-nav { width: var(--col); margin: var(--s-sec) auto var(--s-sec); padding-left: 0; padding-right: 0; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .pj-head { padding-top: 40px; }
  .pj-head-row { display: block; margin: 0; }
  .pj-title .case-back { margin-bottom: 24px; }
  .pj-title .case-summary { margin-top: 8px; font-size: 16px; }
  html body .pj-title .case-summary { text-wrap: wrap; text-wrap: pretty; } /* statt »balance«: erste Zeile füllen, kein einzelnes Wort am Schluss */
  .pj-head { display: flex; flex-direction: column; }
  .pj-head .pj-stage { order: 2; margin-top: 32px; }
  .pj-head .pj-meta { order: 3; margin-top: 32px; }
  .pj-head .pj-agency { order: 4; }
  .pj-stage .rise-video { aspect-ratio: 4 / 3; }
  .pj-chap > div:not([class]) > p, .pj-body > div > p:not([class*="pj-"]):not(.measure-note) { font-size: 16px; }
  .pj-pair, .pj-measure.or-dec, .pj-module .or-dec { grid-template-columns: 1fr; }
  .pj-pair > div, .pj-measure.or-dec > div { padding: 28px; }
  .pj-pair p { font-size: 16px; }
  .pj-measure.or-dec > div + div { box-shadow: inset 0 1px 0 rgba(11, 11, 11, .12); }
  .pj-module { padding: 24px 16px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; }
  .pj-module .or-dec > div { padding: 24px; }
  .pj-text { font-size: 22px; }
  .pj-chap .rise-pair { grid-template-columns: 1fr; }
}

/* Korrekturen nach erster Ansicht */
.pj-title .case-back { position: static; }
.pj-head-row { grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); }
.pj-chap .rise-pair .rise-figure { margin: 0 !important; padding: 0 !important; }
@media (max-width: 760px) {
  .pj-head-row { display: contents; }
  .pj-head .pj-title { order: 1; }
}

/* ===== 23.10. Runde 2: kein Akzent, ein Grau (--soft), Wechsel aus grauer Karte, Kontur-Karte und freiem Text ===== */
.pj-stage, .pj-stage .rise-video { background: var(--soft) !important; }
/* Überblick: Einstieg eine Stufe größer als der Kartentext */
.pj-chap > div:not([class]) > p.pj-intro { max-width: var(--w-text); margin: 0; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
/* Herausforderung grau, Lösung als Kontur-Karte */
.pj-pair > div + div { background: none; box-shadow: var(--contour); }
.pj-pair { margin-top: var(--s-mod); }
/* Meine Rolle: Fließtext schwarz wie bei Dabei! */
.pj-chap > div:not([class]) > p.i18n:not([class*="pj-"]) { color: var(--ink); }
/* Entscheidungen: frei auf Weiß, ohne Fläche und Kästen, Linie oben wie bei Listen */
.pj-module { padding: 0; border-radius: 0; background: none; }
.pj-module-label { margin-bottom: 24px; }
.pj-module .or-dec { gap: 40px 40px; }
.pj-module .or-dec > div { padding: 24px 0 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--border, rgba(15, 15, 15, .28)); }
/* Erfolg messen: zwei graue Karten */
.pj-measure.or-dec { gap: var(--s-grid); border-radius: 0; background: none; }
.pj-measure.or-dec > div { padding: 48px; border-radius: var(--r-xl); background: var(--soft); }
.pj-measure.or-dec > div + div { box-shadow: none; }
/* Was ich gelernt habe: Kontur-Karte */
.pj-body .pj-text { max-width: none; padding: 48px; border-radius: var(--r-xl); box-shadow: var(--contour); }
.pj-body:has(.pj-text) > div { max-width: calc(var(--w-text) + 96px); }
@media (max-width: 760px) {
  .pj-chap > div:not([class]) > p.pj-intro { font-size: 22px; }
  .pj-module { margin-left: 0; margin-right: 0; padding: 0; }
  .pj-module .or-dec { gap: 32px; }
  .pj-module .or-dec > div { padding: 24px 0 0; }
  .pj-measure.or-dec > div, .pj-body .pj-text { padding: 28px; }
  .pj-measure.or-dec > div + div { box-shadow: none; }
}
@media (max-width: 760px) { html .pj-body .pj-text, html .pj-chap > div:not([class]) > p.pj-intro { font-size: 20px; } }

/* Entscheidungen: Aussage darüber, Nummern wie die Kapitel-07-Nummern bei Dabei! (Kontur-Pille) */
.pj-module .pj-lead { margin-bottom: 40px; }
.pj-dnum { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 46px; margin: 0 0 16px; padding: 0 12px; border-radius: 999px; box-shadow: var(--contour); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ===== 23.10. Runde 3: näher an der Dabei!-Case-Study ===== */
/* Text unter der Aussage wie bei Dabei!: 18 px, grau (kein größerer Einstieg mehr) */
html .pj-chap > div:not([class]) > p.pj-intro, html .pj-chap > div:not([class]) > p.i18n:not([class*="pj-"]) { font-family: inherit; font-size: 18px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--text-secondary); margin: 0 0 24px; }
.pj-chap > div:not([class]) > p.pj-intro { margin-bottom: 0; }
/* Gelerntes: Aussage darüber, Text normal groß in der Kontur-Karte */
html .pj-body .pj-text { font-family: inherit; font-size: 18px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--ink); }
/* Entscheidungen: ohne Linien, Nummer als Kreis */
.pj-module .or-dec > div { padding-top: 0; box-shadow: none; }
.pj-dnum { width: 28px; height: 28px; min-width: 0; padding: 0; margin-bottom: 16px; border-radius: 50%; box-shadow: none; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 760px) {
  html .pj-chap > div:not([class]) > p.pj-intro, html .pj-chap > div:not([class]) > p.i18n:not([class*="pj-"]), html .pj-body .pj-text { font-size: 16px; }
}

/* Kapitel-Anzeige unter der Navigation (wie Dabei!) */
.chap { position: fixed; z-index: 59; top: 76px; left: 50%; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.chap.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.chap-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .06); backdrop-filter: blur(10px); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.chap-no { color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.chap-chev { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); transition: transform .3s; }
.chap.is-open .chap-chev { transform: rotate(180deg); }
.chap-list { position: absolute; top: 46px; left: 50%; width: 300px; max-height: 60vh; max-height: 60svh; overflow: auto; margin: 0; padding: 8px; list-style: none; transform: translateX(-50%); border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.chap.is-open .chap-list { opacity: 1; visibility: visible; transition: opacity .25s; }
.chap-list a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
.chap-list a span:first-child { width: 22px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.chap-list a:hover { background: var(--soft); }
.chap-list a[aria-current="true"] { background: var(--ink); color: #fff; }
.chap-list a[aria-current="true"] span:first-child { color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) {
  .chap-btn { max-width: calc(100vw - 32px); white-space: nowrap; }
  .chap-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}

/* Agentur-Hinweis direkt unter den Projektangaben (23.10.) */
.pj-side .pj-agency { margin-top: 24px !important; }
@media (max-width: 760px) { .pj-head .pj-side { order: 3; margin-top: 32px; } .pj-head .pj-side .pj-meta { margin-top: 0; } }

/* ===== 23.10. Runde 4 ===== */
/* Mini-Info: Agentur-Hinweis und »nicht durch Nutzertests belegt« */
.pj-side .pj-agency, .pj-mini, main .pj-mini { font-size: 12px !important; line-height: 1.5 !important; color: var(--text-tertiary); }
.pj-mini { max-width: var(--w-text); margin: 40px 0 0; padding: 0; border: 0; background: none; }
.pj-mini::before { display: none !important; }
/* Lösung als schwarze Karte */
.pj-pair > div + div { background: var(--ink); box-shadow: none; }
.pj-pair > div + div h3 { color: rgba(255, 255, 255, .6); }
.pj-pair > div + div p { color: #fff; }
/* UX: Entscheidungen direkt unter der Aussage, Sitemap danach */
.pj-module.is-first { margin-top: 0; }
.pj-module.is-first + .rise-figure { margin-top: var(--s-mod); }

/* ===== 23.10. Runde 5 ===== */
/* Gelerntes als Kachel wie bei Dabei!: Kontur, Titel S + Text klein, so breit wie eine Kennzahl-Kachel */
.pj-learn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-grid); }
.pj-learn > div { padding: 48px; border-radius: var(--r-xl); box-shadow: var(--contour); }
.pj-learn h3, .pj-measure.or-dec h3 { margin: 0 0 12px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 18px !important; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
html .pj-body .pj-learn .pj-text, .pj-measure.or-dec p:last-child { max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--text-secondary); }
.pj-body:has(.pj-learn) > div { max-width: none; }
/* Projektangaben dezenter: kleinere Werte, weniger Abstand, damit sie nicht mit dem Titel konkurrieren */
.pj-meta { gap: 16px 24px; }
.pj-meta dt { margin-bottom: 2px; }
.pj-meta dd { font-size: 14px; line-height: 1.45; color: var(--text-secondary); }
.pj-head-row { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); }
@media (max-width: 760px) {
  .pj-learn { grid-template-columns: 1fr; }
  .pj-learn > div { padding: 28px; }
}

/* ===== 23.10. Runde 6: Online-Hinweis als Vermerk, Entscheidungen ohne Nummern ===== */
html body .pj-chap > div > p.pj-hint { margin: 24px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-tertiary); }
.pj-dnum { display: none; }

/* Projektangaben: Begriff und Wert klar unterscheidbar (wie Dabei!: Label grau in Versalien, Wert schwarz Medium), nur etwas kleiner */
.pj-meta dt { font-size: 12px; letter-spacing: .08em; color: var(--text-tertiary); }
.pj-meta dd { font-size: 14px; font-weight: 500; color: var(--ink); }

/* Entscheidungen: Titel fetter und nah am Satz, dann Luft, dann der Pfeil (Lesehierarchie) */
html .pj-module .or-dec h3 { margin: 0 0 4px; font-weight: 700; }
html .pj-module .or-dec .dec-why { margin-top: 20px; }

/* Gelerntes doch ohne Kachel: Titel + Text frei, Spaltenbreite wie bisher */
.pj-learn > div { padding: 0; border-radius: 0; box-shadow: none; }
/* Entscheidungen: mehr Luft im Raster, damit sie sich optisch trennen */
html .pj-module .or-dec { gap: 64px 64px; }
@media (max-width: 760px) { html .pj-module .or-dec { gap: 40px; } }
/* Gelerntes als freier Text: normale Textspalte (760 px) statt halber Kachelbreite, sonst bricht es satzweise um */
.pj-learn { display: block; max-width: var(--w-text); }
/* Pfeil-Zeile wieder näher am Satz, damit jede Entscheidung als ein Block liest (Luft liegt zwischen den Blöcken, 64 px) */
html .pj-module .or-dec .dec-why { margin-top: 8px; }

/* Design-System: randlose graue Fläche wie bei Dabei! (randlos = eckig), darin das Bild mit runden Feldern.
   Das Bild hat denselben Grauton als Grund, die Felder liegen bei 1280 px auf der gemeinsamen linken Kante. */
.pj-ds { width: 100vw; margin: 0 0 0 calc(50% - 50vw); padding: 0; background: var(--soft); }
.pj-ds img { display: block; width: 100%; max-width: 1440px; height: auto; margin: 0 auto; border-radius: 0 !important; background: none !important; }

/* Videos (Kampagne, Laptops) halten die Rundung sonst nicht: Ausschnitt fest rund schneiden */
.pj-chap .rise-video, .pj-stage { clip-path: inset(0 round var(--r-lg)); isolation: isolate; }
.pj-stage { clip-path: inset(0 round var(--r-xl)); }
.pj-ds .pj-ds-m { display: none; }
@media (max-width: 760px) { .pj-ds .pj-ds-d { display: none; } .pj-ds .pj-ds-m { display: block; } }

/* Projektnavigation: Vorschaubilder eingerückt = rund */
.case-nav-thumb { border-radius: var(--r-lg); }

/* Entscheidungen mehr Luft (23.10.): Aussage → Karten 64, Karten → Hinweis 48, Hinweis → Sitemap 96 */
.pj-body + .pj-module.is-first { margin-top: 64px; }
.pj-module.is-first .pj-mini { margin-top: 48px; }
.pj-module.is-first + .rise-figure { margin-top: 96px; }
@media (max-width: 760px) { .pj-body + .pj-module.is-first { margin-top: 40px; } .pj-module.is-first .pj-mini { margin-top: 32px; } .pj-module.is-first + .rise-figure { margin-top: 64px; } }

/* ===== Open Rooms (23.10.) ===== */
/* Karten-Raster ohne Fläche (Gestaltungskonzept), wie die Entscheidungen: frei auf Weiß, Titel fett, Text grau */
.pj-body .or-dec:not(.is-measure) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; width: 100%; margin: 64px 0 0; }
.pj-body .or-dec:not(.is-measure) > div { padding: 0; }
.pj-body .or-dec:not(.is-measure) h3 { margin: 0 0 4px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 18px; font-weight: 700; line-height: 1.3; }
.pj-body .or-dec:not(.is-measure) p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
/* Entscheidungen: bei vier Stück zwei Spalten statt drei (keine einzelne Karte in der zweiten Reihe) */
html .pj-module .or-dec:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Einleitungstext unter der Aussage im UX-Kapitel */
.pj-body > div > p.i18n:not([class*="pj-"]) { margin-bottom: 0; }
/* alle Bildflächen rund, auch Animation und Raster */
.pj-chap .rise-figure > * { border-radius: var(--r-lg); overflow: hidden; }
.pj-chap .rise-pair + .rise-pair { margin-top: var(--s-grid); }
.pj-chap .rise-figure + .rise-pair { margin-top: var(--s-grid); }
@media (max-width: 760px) { .pj-body .or-dec:not(.is-measure), html .pj-module .or-dec:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr; gap: 40px; } }

/* Lösungs-Karte in der Projektfarbe (24.10.): dunkel = Standard, hell per ?loesung=hell zum Vergleich */
.pj-pair > div + div { background: var(--sol-dunkel, var(--ink)); }
html[data-loesung="hell"] .pj-pair > div + div { background: var(--sol-hell); }
html[data-loesung="hell"] .pj-pair > div + div h3 { color: rgba(11, 11, 11, .6); }
html[data-loesung="hell"] .pj-pair > div + div p { color: var(--ink); }

/* Kopf wie bei Dabei! (24.10., gilt für alle Projekte): Titel und Angaben bleiben stehen, das Titelbild schiebt sich beim Scrollen darüber */
.pj-head-row { position: sticky; top: 0; z-index: 0; padding-top: 72px; margin-top: -72px; }
.pj-head .pj-stage { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .pj-head-row { position: static; padding-top: 0; margin-top: 0; }
  .pj-head .pj-title { position: sticky; top: 0; z-index: 0; padding-top: 162px; margin-top: -162px; } /* 06.11.2026: Kasten beginnt ganz oben, der Titel bleibt sofort stehen wie bei Dabei! */
  .pj-head .pj-side { position: relative; z-index: 1; background: #fff; }
}

/* Helle Projektfarbe (Open Rooms: Puderblau) für die Herausforderung und die primäre Kennzahl, die Lösung bleibt dunkel */
html[data-akzent="hell"] .pj-pair > div:first-child { background: var(--sol-hell); }
html[data-akzent="hell"] .pj-measure.or-dec > div:first-child { background: var(--sol-hell); }
html[data-akzent="hell"] .pj-measure.or-dec > div:first-child p:last-child { color: var(--ink); }
html[data-akzent="hell"] .pj-pair > div:first-child h3, html[data-akzent="hell"] .pj-measure.or-dec > div:first-child .or-phase { color: rgba(11, 11, 11, .6); }

/* Headline → Absatz enger (24.10.): Aussage und Text gehören zusammen */
html .pj-chap .pj-lead { margin-bottom: 24px; }
@media (max-width: 760px) { html .pj-chap .pj-lead { margin-bottom: 16px; } }

/* Gelerntes wieder als Kontur-Kachel (24.10.), so breit wie eine Kennzahl-Kachel */
html .pj-learn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-grid); max-width: none; }
html .pj-learn > div { padding: 48px; border-radius: var(--r-xl); box-shadow: var(--contour); }
@media (max-width: 760px) { html .pj-learn { grid-template-columns: 1fr; } html .pj-learn > div { padding: 28px; } }
/* ohne Headline: Karten direkt unter dem Label (Abstand wie überall 40 px) */
.pj-body > .pj-label + div > .or-dec:first-child { margin-top: 0; }

/* Kleine Headline-Stufe (Test 24.10.): M wie »Kontakt-Conversion-Rate« bei Dabei!, 26 px Pangram Medium, nah am Text */
html .pj-chap .pj-lead.is-small { max-width: 24em; margin-bottom: 16px; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
@media (max-width: 760px) { html .pj-chap .pj-lead.is-small { font-size: 22px; margin-bottom: 12px; } }
/* Kleine Headline = gleiche Stufe wie die Entscheidungs-Titel (»Suche als Haupteinstieg«): 18 px Pangram Bold, 4 px zum Text */
html .pj-chap .pj-lead.is-small { max-width: none; margin-bottom: 4px; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
@media (max-width: 760px) { html .pj-chap .pj-lead.is-small { font-size: 18px; margin-bottom: 4px; } }

/* Ein Konzept für alle kleinen Titel (24.10.): auch in den Karten (Kennzahlen, Gelerntes) 18 px Pangram Bold, 4 px zum Text */
html .pj-measure.or-dec h3, html .pj-learn h3 { margin: 0 0 4px; font-size: 18px !important; font-weight: 700; line-height: 1.3; letter-spacing: 0; }

/* R!SE (24.10.): drei Phasen in drei Spalten; Titelbild ist ein Bild statt Laptop */
.pj-body .or-dec:not(.is-measure):has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pj-body .or-dec .or-phase { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.pj-stage > img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .pj-body .or-dec:not(.is-measure):has(> div:nth-child(3):last-child) { grid-template-columns: 1fr; } }
html .pj-body .or-dec p.or-phase { margin: 0 0 8px; font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }

/* ===== 24.10. ===== */
/* Gelerntes ohne Kasten (alle Projekte): ein Kasten nur, wo mehrere Inhalte nebeneinander stehen. Titel + Text in der Textspalte */
html .pj-learn { display: block; max-width: var(--w-text); }
html .pj-learn > div { padding: 0; border-radius: 0; box-shadow: none; }
/* zweite Kennzahl in einer zweiten Projektfarbe, falls gesetzt (R!SE: Blau) */
html .pj-measure.or-dec > div + div { background: var(--kennzahl2, var(--soft)); }
/* Drei Phasen als drei Kontur-Kästen */
html .pj-body .or-dec.is-phases { gap: var(--s-grid); }
html .pj-body .or-dec.is-phases > div { padding: 32px; border-radius: var(--r-xl); box-shadow: var(--contour); }
@media (max-width: 760px) { html .pj-body .or-dec.is-phases > div { padding: 24px; } }
/* Text auf der zweiten Projektfarbe (R!SE-Blau) dunkel, damit er lesbar bleibt */
html[data-k2] .pj-measure.or-dec > div + div p:last-child, html[data-k2] .pj-measure.or-dec > div + div h3 { color: var(--ink); }
html[data-k2] .pj-measure.or-dec > div + div .or-phase { color: rgba(11, 11, 11, .6); }
/* zweite Kennzahl auf dunkler Projektfarbe: weiße Schrift */
html[data-k2="dunkel"] .pj-measure.or-dec > div + div p:last-child, html[data-k2="dunkel"] .pj-measure.or-dec > div + div h3 { color: #fff; }
html[data-k2="dunkel"] .pj-measure.or-dec > div + div .or-phase { color: rgba(255, 255, 255, .6); }
/* Vergleich R!SE: ?kennzahl=orange */
html[data-k2-test="orange"] .pj-measure.or-dec > div + div { background: #f29100; }
html[data-k2-test="orange"] .pj-measure.or-dec > div + div p:last-child, html[data-k2-test="orange"] .pj-measure.or-dec > div + div h3 { color: var(--ink); }
html[data-k2-test="orange"] .pj-measure.or-dec > div + div .or-phase { color: rgba(11, 11, 11, .6); }

/* sechs Karten im Konzept-Raster (Organice): drei Spalten */
.pj-body .or-dec:not(.is-measure):has(> div:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pj-body .or-dec:not(.is-measure):has(> div:nth-child(6):last-child) { grid-template-columns: 1fr; } }

/* Jack Rabbit: unter dem Styleguide-Bild das lebendige Kachel-Feld (Entwurf 1) – gleiche Breite wie das Bild, Feld rund, Label als Pille */
.pj-ds.jr-sg { container-type: inline-size; padding: 0 max(0px, calc((100vw - 1440px) / 2)); }
.pj-ds.jr-sg .jr-sg-hover { background: var(--soft); }
.pj-ds.jr-sg .jr-sg-panel { border-radius: 1.39cqw; }
.pj-ds.jr-sg .jr-sg-tag { border-radius: 999px; padding-left: .97cqw; padding-right: .97cqw; }

/* Styleguide-Fläche nach Text/Karten oder Bildern mit Abstand (Organice: sonst über dem Gestaltungskonzept) */
.pj-chap .pj-body + .pj-ds, .pj-chap .rise-pair + .pj-ds, .pj-chap .rise-figure + .pj-ds { margin-top: var(--s-mod); }
/* Bildreihen mit unterschiedlichen Formaten (rise-row): alle Bilder auf einer Linie, Abstand wie bei Paaren */
.pj-chap .rise-row { width: 100%; margin-left: 0; margin-right: 0; gap: var(--s-grid); }
html .pj-chap .rise-row .rise-figure { margin: 0 !important; padding: 0 !important; }
.pj-chap .rise-row + .rise-row, .pj-chap .rise-pair + .rise-row, .pj-chap .rise-row + .rise-pair, .pj-chap .rise-figure + .rise-row, .pj-chap .rise-row + .rise-figure { margin-top: var(--s-grid); }

/* Lösung auf heller Projektfarbe (BOX40: Hellgelb): dunkle Schrift */
html[data-sol="hell"] .pj-pair > div + div h3 { color: rgba(11, 11, 11, .6); }
html[data-sol="hell"] .pj-pair > div + div p { color: var(--ink); }
/* Bild-Mosaik (BOX40): Bilder ohne Stapel-Abstand, Fugen wie bei Paaren */
.pj-chap .rise-mosaic { width: 100%; margin-left: 0; margin-right: 0; gap: var(--s-grid); }
html .pj-chap .rise-mosaic .rise-figure { margin: 0 !important; padding: 0 !important; }
/* eingerückte Bilder mit Farbfläche (BOX40 Print): die Fläche ist rund, nicht das Bild */
.pj-chap .rise-figure.is-inset { border-radius: var(--r-lg); overflow: hidden; }
html .pj-chap .rise-figure.is-inset > img { border-radius: 0; }

/* Test 24.10. (?rand=schmal): Seitenrand wie im Styleguide (56 von 1440 px ≈ 3,9 %), Inhalt so breit wie die Styleguide-Felder */
html[data-rand="schmal"] { --col: calc(100% - 2 * max(var(--gutter), 3.89vw)); }
html[data-rand="schmal"] .pj-ds img { max-width: none; }
html[data-rand="schmal"] .pj-ds.jr-sg { padding: 0; }

/* ===== Rand überall wie im Styleguide (Victoria 24.10.): 3,9 % links und rechts (56 von 1440 px), Inhalt höchstens 1680 px ===== */
:root { --col: min(calc(100% - 2 * max(var(--gutter), 3.89vw)), 1680px); }
/* Styleguide-Bild so breit, dass seine Felder genau auf der Inhaltskante liegen (Felder sitzen bei 3,89 % des Bildes) */
.pj-ds img { max-width: 1822px; }
.pj-ds.jr-sg { padding: 0 max(0px, calc((100vw - 1822px) / 2)); }

/* Kopf-Bühne in Projektfarbe, falls gesetzt (Open Rooms: Puderblau wie in Entwurf 1) */
html .pj-stage, html .pj-stage .rise-video { background: var(--buehne, var(--soft)) !important; }
/* nur die erste Kennzahl in der hellen Projektfarbe (Open Rooms), Herausforderung bleibt im Grund */
html[data-akzent="kennzahl"] .pj-measure.or-dec > div:first-child { background: var(--sol-hell); }

/* Kapitel-Menü überall im neutralen Grau, auch wo die Projektfläche farbig ist (Open Rooms) */
.chap-chev, .chap-list a:hover { background: #f4f4f5 !important; }

/* ===== 24.10. Karten-Regel (gleiche Werte wie in c-dabei/case.css) =====
   Karte 32 px (mobil 24) · Große Fläche 48 px (mobil 28) · Label → Titel 12 · Titel → Text 8 · Text → Zusatz 12 */
:root { --card-pad: 32px; --panel-pad: 48px; --gap-label: 12px; --gap-title: 8px; --gap-extra: 12px; }
@media (max-width: 760px) { :root { --card-pad: 24px; --panel-pad: 28px; } }
html .pj-pair > div, html .pj-measure.or-dec > div, html .pj-body .pj-text { padding: var(--panel-pad) !important; }
html .pj-module { padding: var(--panel-pad); }
@media (max-width: 760px) { html .pj-module { padding: 24px 16px; } }
html .pj-module .or-dec h3, html .pj-learn h3, html .pj-measure.or-dec h3, html .pj-chap .pj-lead.is-small { margin: 0 0 var(--gap-title) !important; }
html .pj-module .or-dec .dec-why { margin-top: var(--gap-extra) !important; }

/* 24.10.: »Sag hallo« auf allen Seiten gleich – mehr Luft wie in Entwurf 1, bündig mit dem Seitenrand
   Abstand zum Inhalt darüber 160 px (Handy 96), »Offen für neue Rollen« → »Sag hallo« 220 px (Handy 120) */
html body .contact-banner { min-height: 0 !important; justify-content: flex-start !important; }
html body .contact-banner > p { margin-bottom: max(64px, min(220px, 15.3vw)) !important; } /* 25.10. abends: wächst mit »Sag hallo« */
@media (max-width: 760px) { html body .contact-banner > p { margin-bottom: 120px !important; } }
html body main > .contact-banner { margin-top: 160px !important; }
@media (max-width: 760px) { html body main > .contact-banner { margin-top: 96px !important; } }

/* 25.10. (Victoria): Titelbild auf dem Handy über die volle Breite, wie bei Dabei! */
@media (max-width: 760px) {
  html body .pj-head .pj-stage { margin-left: calc(-1 * var(--gutter)) !important; margin-right: calc(-1 * var(--gutter)) !important; width: auto !important; max-width: none !important; border-radius: 0 !important; }
  html body .pj-head .pj-stage .rise-video { border-radius: 0 !important; }
  html body .pj-head .pj-stage { clip-path: inset(0) !important; } /* Ecken kamen vom Zuschnitt (clip-path), nicht vom Radius */
}

/* 25.10. (Victoria): Seitenstreifen auf dem Handy randlos – die Seiten laufen rechts aus dem Bild, man sieht, dass es weitergeht
   (vorher eingerückte Karte: der Anschnitt war kaum zu sehen, und Wischen kennt man ohne Hinweis nicht) */
@media (max-width: 760px) {
  html body .pj-chap .page-strips { margin-left: calc(-1 * var(--gutter)) !important; margin-right: calc(-1 * var(--gutter)) !important; width: auto !important; max-width: none !important; border-radius: 0 !important; clip-path: none !important; padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; scroll-padding-left: var(--gutter); }
}

/* 25.10. (Victoria): Organice auf dem Handy – Erscheinungsbild (Signet und Schriftzug) und Werbemittel im Zweierraster */
@media (max-width: 760px) {
  html body .pj-chap .rise-pair.m2 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; align-items: stretch; }
  html body .pj-chap .rise-pair.m2:not(:has(.laptop)) > .rise-figure, html body .pj-chap .rise-pair.m2:not(:has(.laptop)) > .rise-figure > * { height: 100%; }
  html body .pj-chap .rise-pair.m2:not(:has(.laptop)) > .rise-figure > :is(img, .rise-video > video) { width: 100%; height: 100%; object-fit: cover; }
  html body .pj-chap .rise-pair.m2:has(.laptop) { grid-template-columns: 1fr !important; } /* Laptops (Website-Unterseiten) bleiben untereinander */
  html body .pj-chap:has(> .rise-pair.is-trio) { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 12px; }
  html body .pj-chap:has(> .rise-pair.is-trio) > :not(.rise-pair):not(.rise-figure) { grid-column: 1 / -1; }
  html body .pj-chap:has(> .rise-pair.is-trio) > .rise-figure { margin: 0 !important; padding: 0 !important; }
  html body .pj-chap:has(> .rise-pair.is-trio) > .rise-pair { display: contents !important; }
  html body .pj-chap:has(> .rise-pair.is-trio) > .rise-pair > .rise-figure { margin: 0 !important; padding: 0 !important; }
}
@media (max-width: 760px) {
  /* 13 Werbemittel gehen im Zweierraster nicht auf: die Box nach den beiden Roll-ups läuft über die volle Breite, der Rest bleibt paarweise */
  /* 25.10. (Victoria): alle 14 Werbemittel paarweise – auch die Box und die Stempel (vorher Box und Stempel über die volle Breite) */
}
@media (max-width: 760px) {
  /* 25.10. (Victoria): kleine Flächen im Zweierraster mit kleinerem Radius (12 px statt 24 px) */
  html body .pj-chap .rise-pair.m2:not(:has(.laptop)) > .rise-figure > *, html body .pj-chap .rise-pair.m2:not(:has(.laptop)) > .rise-figure > :is(img, .rise-video > video) { border-radius: 10px !important; clip-path: inset(0 round 10px) !important; }
}

/* 25.10. (Victoria): »Was ich gelernt habe« – Text bündig unter dem Titel. Die Karten-Innenabstände für .pj-text (oben) griffen
   auch hier, obwohl die Learnings keine Karte sind – der Text stand eingerückt */
html body .pj-learn .pj-text { padding: 0 !important; }

/* 25.10. (Victoria): Open Rooms auf dem Handy – Instagram-Posts sowie Print, Merch & Leitsystem im Zweierraster
   (das quer liegende iPhone-Mockup davor bleibt in voller Breite); kleine Flächen mit 12 px Ecken */
@media (max-width: 760px) {
  html body .pj-chap .rise-pair.or-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  html body .pj-chap .rise-pair.or-grid > .rise-figure { margin: 0 !important; padding: 0 !important; }
  html body .pj-chap .rise-pair.or-grid > .rise-figure > *, html body .pj-chap .rise-pair.or-grid img { border-radius: 10px !important; clip-path: inset(0 round 10px) !important; }
}

/* 25.10. (Victoria): Entscheidungs-Karten (UX-Entscheidungen) auf dem Handy bündig mit dem Titel – die Fläche drumherum hat
   dort keinen Hintergrund mehr, ihr Innenabstand rückte alles 16 px ein */
@media (max-width: 760px) {
  html body .pj-module:not(.is-filled) { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
}
/* 25.10. (Victoria): Nähe zeigt Zugehörigkeit – innerhalb eines Blocks rücken Label, Titel, Text und Pfeilzeile zusammen,
   der Abstand zwischen den Blöcken bleibt deutlich größer (überall, wo es diese Karten gibt) */
html:root body .pj-chap .or-dec .or-phase { margin-bottom: 4px !important; }
/* 26.10. (Victoria: »zerfließt«): Titel, Satz und Zweck einer Karte als ein Block – Satz direkt unter dem Titel, Zweck mit 4 px */
html:root body .pj-chap .or-dec h3 { margin-bottom: 0 !important; }
html:root body .pj-chap .or-dec .dec-why { margin-top: 4px !important; }

/* 25.10. (Victoria): Bilder auf dem Handy überall mit demselben Abstand wie in den Paaren und Rastern (12 px statt 40 px) */
@media (max-width: 760px) {
  html body .pj-chap > :is(.rise-figure, .rise-pair, .rise-row, .rise-group) + :is(.rise-figure, .rise-pair, .rise-row, .rise-group) { margin-top: 12px !important; }
  html body .pj-chap > :is(.rise-figure, .rise-pair, .rise-row, .rise-group) { margin-bottom: 0 !important; }
}

/* 25.10. (Victoria): Jack Rabbit, Seitenentwürfe auf dem Handy – die drei Seiten passen nebeneinander in die Breite
   (vorher liefen sie über den Rand), kleiner und mit 12 px Abstand; die erste (Desktop) etwas breiter */
@media (max-width: 760px) {
  html body .pj-chap .page-strips.is-compact { overflow: hidden !important; padding-top: 32px !important; padding-bottom: 32px !important; }
  html body .page-strips.is-compact .page-strips-track { gap: 12px !important; justify-content: center !important; min-width: 0 !important; transform: none !important; }
  html body .page-strips.is-compact .page-strip { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; }
  html body .page-strips.is-compact .page-strip:first-child { flex-grow: 1.7 !important; }
}

/* 25.10. (Victoria): Organice, Werbemittel auf dem Handy – die Schablonen (Stempel) neben die Socken, damit die vier T-Shirts
   zusammen zwei Reihen bilden */
@media (max-width: 760px) {
  html body .pj-chap:has(> .rise-pair.is-trio) > .rise-pair.is-quad > .rise-figure { order: 2; }
  html body .pj-chap:has(> .rise-pair.is-trio) > .rise-figure { order: 1; }
  html body .pj-chap:has(> .rise-pair.is-trio) > :not(.rise-pair):not(.rise-figure) { order: 0; }
}

/* 25.10. (Victoria): Sitemaps auf dem Handy randlos über die ganze Breite statt als Karte – mehr Platz; Inhalt im Bild mit 24 px Rand wie der Text */
@media (max-width: 760px) {
  html body img.sm-mobil, html body .pj-chap > .rise-figure > img.sm-mobil { display: block; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-bottom: 0; border-radius: 0 !important; clip-path: none !important; } /* volle Breite = eigener Abschnitt: danach Abschnittsabstand (72 px), nicht der Bildabstand */
}

/* 25.10. (Victoria): Kapitelabstand auf dem Handy überall gleich (72 px). Bisher kamen Außenabstände des letzten Elements dazu:
   Absatz 24 px, Modul-/Phasen-Innenabstand 24 px, Abschnittsabstand der Sitemap 60 px → 96 bis 220 px. */
@media (max-width: 760px) {
  html body .pj-chap > :last-child p:last-child, html body .pj-chap > p:last-child { margin-bottom: 0 !important; }
  html body .pj-chap > .pj-module:last-child, html body .pj-chap > :last-child .or-dec.is-phases > div:last-child { padding-bottom: 0; }
  /* volle Breite mitten im Kapitel: danach Abschnittsabstand; am Kapitelende reicht der Kapitelabstand */
  html body .pj-chap > .rise-figure:not(:last-child) > img.sm-mobil { margin-bottom: calc(var(--s-sec, 72px) - 12px); }
}

/* 25.10.: BOX40 Flyer auf dem Handy (2 × 2) ohne Einrückung, volle Spaltenbreite */
@media (max-width: 760px) {
  html body .pj-chap .rise-figure.is-inset.is-full-m { padding: 0; }
  html body .pj-chap .rise-figure.is-inset.is-full-m img { width: 100%; -webkit-mask-image: none; mask-image: none; }
}

/* 26.10. (Victoria: »rechts ganz oft ganz viel Platz«): Herausforderung/Lösung auf dem Handy – lange deutsche Wörter rutschten ganz
   in die nächste Zeile. Etwas weniger Innenabstand und Silbentrennung nur bei langen Wörtern (ab 10 Zeichen, mind. 4 Zeichen je Teil) */
@media (max-width: 760px) {
  html body .pj-chap .pj-pair > div { padding-left: 22px !important; padding-right: 22px !important; }
  html body .pj-chap .pj-pair > div p { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; -webkit-hyphenate-limit-lines: 1; }
}

/* 26.10. (Victoria): Johanna Perret – im Kopfbild war um das Buch viel leere Fläche. Video 1,45-fach vergrößert, das aufgeschlagene
   Buch füllt so fast die Breite (die Ränder des Videos sind nur Hintergrundfarbe) */
html body .pj-head .pj-stage video[poster*="jp-flip"] { transform: translate(-50%, -50%) scale(1.3) !important; } /* Vergrößern nach dem Zentrieren, sonst rutscht das Buch aus der Mitte */
@media (min-width: 761px) { html body .pj-head .pj-stage video[poster*="jp-flip"] { transform: translate(-50%, -50%) scale(1.12) !important; } } /* Desktop: etwas Raum ums Buch lassen (Victoria) */

/* 26.10. (Victoria): Handy – Projektangaben (Rolle, Auftraggeber …) näher ans Kopfbild, kompakter (32 → 20 px) */
@media (max-width: 760px) { html body .pj-head .pj-side { margin-top: 20px !important; } }

/* 26.10. (Victoria): Abstände einheitlich – Label über der Überschrift abgesetzt (12 px, z. B. »Primäre Kennzahl«, »Vorher«),
   Überschrift → Text 4 px (Entscheidungen, Erfolg messen, Phasen, Learnings) */
html:root body .pj-chap .or-dec .or-phase, html:root body .pj-body .or-dec .or-phase { margin-bottom: var(--gap-label-title, 16px) !important; }
html:root body :is(.pj-chap, .pj-body) .or-dec h3 { margin-bottom: var(--gap-title-text, 6px) !important; }
html:root body .pj-learn h3 { margin-bottom: var(--gap-title-text, 6px) !important; }
/* 26.10. (Victoria, R!SE 04): die letzte Phasen-Karte »Danach« verlor durch die Regel »letztes Element ohne Abstand« ihr Polster unten */
html:root body .or-dec.is-phases.is-phases > div:last-child { padding-bottom: 24px !important; }

/* 26.10. (Victoria: »auf dem Handy ein mini bisschen größer«): große Kapitel-Überschriften wie bei Dabei! 32 → 34 px */
@media (max-width: 760px) { html:root body .pj-lead.pj-lead:not(.is-small) { font-size: 34px !important; } }

/* 26.10. (Victoria, Vorschlag aus der Abstands-Übersicht): Titel überall Semibold wie bei Dabei!, Pfeilzeile 12 px unter dem Text,
   von Entscheidung zu Entscheidung 48 px (Handy) / 64 px (Desktop) – Werte als Variablen in vorschau-links-frueh.css */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec h3, html:root body .pj-learn h3, html:root body .pj-chap .pj-lead.is-small { font-weight: 600 !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec .dec-why { margin-top: var(--gap-text-extra, 12px) !important; }
html:root body :is(.pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) { gap: var(--gap-block, 48px) !important; }
html:root body .pj-chap .pj-lead.is-small { margin-bottom: var(--gap-title-text, 6px) !important; }
/* 26.10. (Victoria): Schriftstufen überall gleich – Titel 20 px Semibold, Text 16 px / 1,5 */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec h3, html:root body .pj-learn h3, html:root body .pj-chap .pj-lead.is-small { font-size: var(--fs-card-title, 20px) !important; line-height: var(--lh-card-title, 1.3) !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec h3 ~ p:not(.or-phase), html:root body .pj-learn p { font-size: var(--fs-card-text, 16px) !important; line-height: var(--lh-card-text, 1.5) !important; }

/* 26.10. (Victoria): kurze Ein-Wort-Titel (R!SE, BOX40) so groß wie »Dabei!« (64 px Handy, 8vw bis 128 px Desktop),
   sonst wirken sie neben den langen Namen zu klein. Abstand und Unterzeile bleiben wie bei allen Projekten. */
html:is([data-projekt="rise"], [data-projekt="box-40"]) body .pj-title h1 { font-size: clamp(64px, 8vw, 128px); }

/* 29.10. Entscheidungen wie vorher (Titel, kurzer Satz, → Ziel), nur ergänzt um ein »Warum?« zum Aufklappen
   (Victoria: »wir haben viel kaputt gemacht von dem, was vorher gut war – nur ergänzen«). Aufgeklappt: Annahme und ggf. Erkenntnis
   als Zusatzzeilen, Kennwort mittelfett schwarz, Text grau, alles Inter 16 wie im Schriftsystem. »Erwartet« ist nicht sichtbar
   (steht unter »Erfolg messen«). Versuche von heute (Steckbrief, Raster in Projektfarben, Linien …): _backup/2026-10-29-hypothesen/ */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div { display: flex; flex-direction: column; }
/* 29.10. abends (Victoria: »das Warum nimmt man kaum wahr – die Annahmen einfach dazu schreiben«): Annahme sichtbar direkt unter dem
   Titel, dann der kurze Satz, dann → Ziel (Pfeil bleibt am Ende), ggf. Erkenntnis. Kein Aufklappen mehr. */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > h3 { order: 1; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > .dec-hyp { order: 2; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p.i18n:not(.dec-why) { order: 3; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > .dec-why { order: 4; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > .dec-ins { order: 5; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > :is(.dec-exp, .dec-mehr) { display: none !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p.dec-hyp { margin-top: 0 !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p.dec-hyp + p.i18n:not(.dec-why) { margin-top: var(--gap-text-extra, 12px) !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p:is(.dec-hyp, .dec-ins) { margin: var(--gap-text-extra, 12px) 0 0 !important; font-size: 16px !important; line-height: 1.5 !important; color: var(--text-secondary) !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p:is(.dec-hyp, .dec-ins) .dec-lab { font-weight: 500; color: var(--ink); }
html body .or-dec .dec-lab::after { content: ":"; }
html body .dec-mehr { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: var(--gap-text-extra, 12px) 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink); cursor: pointer; }
html body .dec-mehr svg { transition: transform .3s ease; }
html body .is-open > .dec-mehr svg { transform: rotate(180deg); }

/* 29.10. (Victoria: »Pfeil, dann Text, und es bricht um – der Text muss darunter eingerückt sein«): hängender Einzug nach dem Pfeil, überall */
html body .or-dec .dec-why { position: relative; padding-left: 1.5em !important; }
html body .or-dec .dec-why::before { content: "→" !important; position: absolute; left: 0; top: 0; }
/* Titel → Annahme 6 px wie Titel → Text im Schriftsystem */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p.dec-hyp { margin-top: 0 !important; }

/* 29.10. Muster R!SE: kleinere Entscheidungen als eine Zeile »Außerdem: …« unter den drei großen (über alle Spalten);
   Phase (Vorher / Vor Ort) als kleines Etikett über dem Titel, wie die Etiketten bei »Erfolg messen« */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div.dec-also { grid-column: 1 / -1; display: block !important; max-width: var(--w-text, 760px); padding: 0 !important; box-shadow: none !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div.dec-also > p { margin: 0 !important; font-size: 16px !important; line-height: 1.5 !important; color: var(--text-secondary) !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div > p.or-phase.i18n:not(.dec-why) { order: 0; margin: 0 0 var(--gap-label-title, 16px) !important; font-size: 12px !important; line-height: 1.4 !important; font-weight: 500 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary) !important; }

/* 03.11. (Victoria: »bei Erfolg messen muss die Kennzahl im Fokus bleiben«): Kennzahl als Titel wie bisher, Erklärung darunter,
   dann »Hypothese: …« als Zusatzzeile (12 px, Kennwort mittelfett schwarz, Text grau, Inter 16) */
html:root body .pj-measure.or-dec > div > p.dec-hyp { margin: var(--gap-text-extra, 12px) 0 0 !important; font-size: 16px !important; line-height: 1.5 !important; color: var(--text-secondary) !important; }
html:root body .pj-measure.or-dec > div > p.dec-hyp .dec-lab { font-weight: 500; color: var(--ink); }

/* 03.11. (Victoria: »Schriftgrößen überprüfen, mehr Abstand zwischen Text und Hypothese«): »Erfolg messen« einheitlich wie die Karten –
   Erklärtext grau statt schwarz (wie überall), Etikett im selben Grau wie die Etiketten über den Entscheidungen, Hinweis 16 statt 14 px,
   Text → Hypothese 24 px statt 12 */
html:root body .pj-measure.or-dec > div > p.i18n:not(.or-phase) { color: var(--text-secondary) !important; }
html:root body .pj-measure.or-dec > div > p.or-phase { color: var(--text-tertiary) !important; }
html:root body .pj-measure.or-dec > div > p.dec-hyp { margin-top: 24px !important; }
html:root body .measure-note { font-size: 16px !important; line-height: 1.5 !important; color: var(--text-secondary) !important; }

/* 03.11. (Victoria: »Außerdem« bricht zu früh um – »zwei Drittel?«): Zeile geht über genau zwei Kartenspalten und endet bündig mit
   der zweiten Karte; am Tablet/Handy (weniger Spalten) über die ganze Breite */
html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div.dec-also { grid-column: 1 / span 2; max-width: none; }
@media (max-width: 1024px) { html:root body :is(.pj-chap, .pj-body, .pj-module) .or-dec:not(.is-measure):not(.is-phases) > div.dec-also { grid-column: 1 / -1; } }

/* 03.11. (Victoria: »professionell wie Product Designer«): Hypothese direkt unter der Kennzahl (Titel → Hypothese 6 px wie Titel → Text),
   danach Erklärung der Messung mit 16 px Abstand */
html:root body .pj-measure.or-dec > div > p.dec-hyp { margin-top: var(--gap-title-text, 6px) !important; }
html:root body .pj-measure.or-dec > div > p.dec-hyp + p.i18n { margin-top: 16px !important; }

/* 03.11. (Victoria: »unter der Kennzahl muss erst stehen, was sie bedeutet«): wieder Kennzahl → Erklärung (6 px) → Hypothese (24 px) */
html:root body .pj-measure.or-dec > div > h3 + p.i18n { margin-top: var(--gap-title-text, 6px) !important; }
html:root body .pj-measure.or-dec > div > p.i18n + p.dec-hyp { margin-top: 24px !important; }

/* 03.11. Hinweis unter »Erfolg messen« zweizeilig: Umbruch vor »So würde ich messen« steht als Zeilenumbruch im Text (auch nach dem Sprachwechsel) */
html:root body .measure-note { white-space: pre-line; max-width: none !important; }

/* 03.11. (Victoria: »die Animation im Laptop funktioniert nicht richtig – das große Logo schiebt sich komisch nach oben«, »oben ist ein
   Bilder-Slider«): (Klasse jr-anim – »jr-sim« ist in style.css von einem älteren Versuch belegt) statt der Bildschirmaufnahme (Logo halb durchsichtig über dem Foto, Browser-Tabs sichtbar) eine HTML-Animation.
   Maße aus den Entwürfen (1440 px Breite, 1 px = 0,06944cqw): Kopfzeile 88 px fest, Slider 88–960 px, Intro-Logo 504 × 444 bei
   484/246, Logo der Kopfzeile Mitte 720/44. Ablauf 20 s: Intro (1,2 s) → Logo und schwarze Fläche bewegen sich gleichzeitig nach oben (0,9 s, wie beim Scrollen; Fläche 0,1 s versetzt, damit das Logo bis zum Ausblenden auf Schwarz bleibt), das Logo schrumpft in die Kopfzeile und wird dort gegen das Leisten-Logo getauscht → erst dann gleitet die schwarze Fläche unter der Kopfzeile weg (Logo liegt nie über dem Foto) →
   Slider Terrasse → Barkeeper → Seite scrollt unter der festen Kopfzeile zu den Kacheln → Neustart. */
.laptop-screen.jr-anim { container-type: inline-size; aspect-ratio: 16 / 10; background: #000; }
html body .laptop-screen.jr-anim img { position: absolute; display: block; max-width: none; opacity: 1; animation: none; transform: none; }
.jr-anim .jr-scroll { position: absolute; left: 0; top: 0; width: 100cqw; animation: jr-scroll 20s infinite; }
html body .laptop-screen.jr-anim .jr-page { position: relative; width: 100cqw; height: auto; }
html body .laptop-screen.jr-anim .jr-slide { left: 0; top: 6.111cqw; width: 100cqw; height: 60.556cqw; object-fit: cover; animation: jr-slide 20s infinite; }
html body .laptop-screen.jr-anim .jr-head { left: 0; top: 0; width: 100cqw; height: 6.111cqw; z-index: 5; animation: jr-head 20s infinite; }
.jr-anim .jr-i-bg { position: absolute; inset: 0; z-index: 3; background: #000; animation: jr-ibg 20s infinite; }
html body .laptop-screen.jr-anim .jr-i-pfeil { left: 48.611cqw; top: 56.667cqw; width: 2.639cqw; z-index: 4; animation: jr-pfeil 20s infinite; }
html body .laptop-screen.jr-anim .jr-i-logo { left: 33.611cqw; top: 17.083cqw; width: 35cqw; z-index: 6; transform-origin: 50% 50%; will-change: transform, opacity; animation: jr-logo 20s infinite; }
@keyframes jr-ibg { 0%, 6.5% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 11% { transform: translateY(-100%); opacity: 1; } 89% { transform: translateY(-100%); opacity: 0; } 90% { transform: translateY(0); opacity: 0; } 95%, 100% { transform: translateY(0); opacity: 1; } }
@keyframes jr-logo { 0%, 6% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 6.5% { opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 8.5% { opacity: 0; } 10.5% { transform: translate(-1.111cqw, -29.444cqw) scale(.5); opacity: 0; } 92% { transform: none; opacity: 0; } 97%, 100% { transform: none; opacity: 1; } }
@keyframes jr-pfeil { 0%, 5% { opacity: 1; } 6% { opacity: 0; } 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes jr-head { 0%, 7.5% { opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 9.5% { opacity: 1; } 89% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes jr-slide { 0%, 26% { opacity: 1; } 29%, 100% { opacity: 0; } } /* Slider wie im Video: erst Barkeeper (aus dem Video geschnitten), dann Terrasse */
@keyframes jr-scroll { 0%, 38% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 56%, 66% { transform: translateY(-105cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 80%, 95% { transform: translateY(-200cqw); } 95.5%, 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .jr-anim .jr-scroll, html body .laptop-screen.jr-anim img, .jr-anim .jr-i-bg { animation: none !important; } .jr-anim .jr-i-bg, html body .laptop-screen.jr-anim :is(.jr-i-logo, .jr-i-pfeil, .jr-slide) { display: none; } }

/* 04.11. (Victoria: »nur die Anfangsanimation – Navigationsleiste schiebt sich nach oben – sollte nachgebaut werden, der Rest wie vorher«, »Pausen zu groß«, »Bildwechsel im Slider raus«, »Kacheln sollen sich einfärben, im Zweierkachel-Layout«, »bis nach unten scrollen nach den Kacheln«):
   Ablauf 20 s wie in der Bildschirmaufnahme: Intro → Logo in die Kopfzeile → Terrasse (kein Slider-Wechsel) → Seite scrollt Reihe für Reihe durch die Kacheln,
   der Mauszeiger fährt abwechselnd rechts/links auf die schwarze Kachel, die sich in ihre Farbe mit Satz verwandelt (Hover-Bilder aus kacheln/sq-*-h.jpg) →
   weiter bis zum Seitenende (Team, Whiskey-Buch, Fuß) → weich abblenden, Neustart.
   Kachel-Maße aus 02-onepager.jpg: 644 × 644 px, links x 60, rechts x 736, Reihen ab y 1703 im Abstand 676, Ecken 31 px. */
.jr-anim .jr-scroll, html body .laptop-screen.jr-anim :is(.jr-head, .jr-i-pfeil, .jr-i-logo), .jr-anim .jr-i-bg { animation-duration: 20s !important; }
html body .laptop-screen.jr-anim .jr-slide { display: none; }
html body .laptop-screen.jr-anim .jr-th { width: 44.722cqw; height: 44.722cqw; border-radius: 2.153cqw; opacity: 0; animation: 20s infinite; }
/* 04.11. (Victoria: »Fläche ist eckig, dahinter Blitzer«): die Regel »alles im Laptop eckig« nahm der Kachel die Rundung, beim Einblenden schimmerten die runden Ecken der Seite durch */
/* 04.11. (Victoria: »man sieht das Schwarze da unten drunter«): die schwarzen Kacheln der Seite lagen genau darunter und standen als Haarlinie vor, deshalb ragt die Farbfläche rundum 2 px (Seitenmaß) darüber hinaus */
/* 04.11. (Victoria): Überblendung kürzer (je 0,1 s statt 0,2 bis 0,25 s), damit die schwarze Kachel nur kurz durchscheint */
html body .laptop-screen.jr-anim img.jr-th { margin: -.14cqw; width: 45.002cqw; height: 45.002cqw; border-radius: 2.29cqw !important; }
html body .laptop-screen.jr-anim .jr-th-cafe { left: 51.111cqw; top: 118.264cqw; animation-name: jr-th-0; }
@keyframes jr-th-0 { 0%, 21% { opacity: 0; } 21.5%, 26.5% { opacity: 1; } 27%, 100% { opacity: 0; } }
html body .laptop-screen.jr-anim .jr-th-bar { left: 4.167cqw; top: 165.208cqw; animation-name: jr-th-1; }
@keyframes jr-th-1 { 0%, 29% { opacity: 0; } 29.5%, 34.5% { opacity: 1; } 35%, 100% { opacity: 0; } }
html body .laptop-screen.jr-anim .jr-th-food { left: 51.111cqw; top: 212.153cqw; animation-name: jr-th-2; }
@keyframes jr-th-2 { 0%, 37% { opacity: 0; } 37.5%, 42.5% { opacity: 1; } 43%, 100% { opacity: 0; } }
html body .laptop-screen.jr-anim .jr-th-location { left: 4.167cqw; top: 259.097cqw; animation-name: jr-th-3; }
@keyframes jr-th-3 { 0%, 45% { opacity: 0; } 45.5%, 50.5% { opacity: 1; } 51%, 100% { opacity: 0; } }
html body .laptop-screen.jr-anim .jr-th-events { left: 51.111cqw; top: 306.042cqw; animation-name: jr-th-4; }
@keyframes jr-th-4 { 0%, 53% { opacity: 0; } 53.5%, 58.5% { opacity: 1; } 59%, 100% { opacity: 0; } }
@keyframes jr-scroll { 0%, 16.0% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 21.0%, 26.5% { transform: translateY(-109.236cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 29.5%, 34.5% { transform: translateY(-156.181cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 37.5%, 42.5% { transform: translateY(-203.125cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 45.5%, 50.5% { transform: translateY(-250.069cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); } 53.5%, 58.5% { transform: translateY(-297.014cqw); animation-timing-function: cubic-bezier(.4, 0, .4, 1); } 85.0%, 92.5% { transform: translateY(-579.375cqw); } 93.0%, 100% { transform: translateY(0); } }
@keyframes jr-pfeil { 0%, 5.0% { opacity: 1; } 6.0% { opacity: 0; } 94.0% { opacity: 0; } 97.5%, 100% { opacity: 1; } }
@keyframes jr-logo { 0%, 6.0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 6.5% { opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 8.5% { opacity: 0; } 10.5% { transform: translate(-1.111cqw, -29.444cqw) scale(.5); opacity: 0; } 93.0% { transform: none; opacity: 0; } 97.0%, 100% { transform: none; opacity: 1; } }
@keyframes jr-head { 0%, 7.5% { opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 9.5% { opacity: 1; } 88.0% { opacity: 1; } 92.0%, 100% { opacity: 0; } }
@keyframes jr-ibg { 0%, 6.5% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 11.0% { transform: translateY(-100%); opacity: 1; } 87.0% { transform: translateY(-100%); opacity: 0; } 87.5% { transform: translateY(0); opacity: 0; } 92.0%, 100% { transform: translateY(0); opacity: 1; } }
html body .laptop-screen.jr-anim .jr-cur { position: absolute; width: 1.4cqw; height: auto; z-index: 7; left: 58cqw; top: 46cqw; opacity: 0; animation: jr-cur 20s infinite; filter: drop-shadow(0 .2cqw .3cqw rgba(0,0,0,.35)); }
@keyframes jr-cur { 0%, 19.5% { left: 58cqw; top: 46cqw; opacity: 0; } 20.5% { left: 62cqw; top: 40cqw; opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 21.75% { left: 72.0cqw; top: 30.0cqw; opacity: 1; } 26.5% { left: 72.0cqw; top: 30.0cqw; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 29.5% { left: 25.0cqw; top: 30.0cqw; } 34.5% { left: 25.0cqw; top: 30.0cqw; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 37.5% { left: 72.0cqw; top: 30.0cqw; } 42.5% { left: 72.0cqw; top: 30.0cqw; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 45.5% { left: 25.0cqw; top: 30.0cqw; } 50.5% { left: 25.0cqw; top: 30.0cqw; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 53.5% { left: 72.0cqw; top: 30.0cqw; } 58.5% { left: 72.0cqw; top: 30.0cqw; opacity: 1; } 60.0%, 100% { left: 72.0cqw; top: 30.0cqw; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html body .laptop-screen.jr-anim :is(.jr-th, .jr-cur) { animation: none !important; display: none; } }

/* 04.11. (Victoria: »Blitzer« – haarfeine helle Linie oben am Bildschirmrand, Rundung beim Skalieren): schwarzer 2-px-Rand rundum über allem */
.laptop-screen.jr-anim::after { content: ""; position: absolute; inset: 0; z-index: 9; box-shadow: inset 0 0 0 2px #000; pointer-events: none; }

/* 04.11. (Victoria: »Pfeil auch kleiner beim Design System«): Mauszeiger im Styleguide-Kasten »Kacheln · Hover« wie im Laptop auf normale Zeigergröße */
html body .jr-grid .jr-cursor { width: 2.4%; min-width: 10px; }

/* Jack Rabbit Events-Laptop: Kopfzeile bleibt fest stehen, die Seite läuft darunter durch (wie auf der echten Seite) */
html body .laptop-screen img.lp-head { opacity: 1; animation: none; z-index: 2; }

/* 03.11. (Victoria): Handy-Reihen bei Open Rooms und Jack Rabbit als einzelne Handys statt eines flachen Bildes –
   beim Überfahren wird das Handy etwas größer, ein Klick öffnet die Handy-Großansicht mit Blättern (script.js, Gruppe .flow-row);
   am Handy wischt man seitlich durch die Reihe */
html body .rise-figure.flow-phones { box-sizing: border-box; background: var(--flow-bg); padding: 56px 32px 48px; }
.flow-row { display: flex; justify-content: center; gap: 40px; }
.flow-it { flex: 0 1 200px; min-width: 0; text-align: center; }
.flow-row:not(:has(> :nth-child(5))) .flow-it { flex-basis: 240px; }
html body .flow-phones .dabei-phone { max-width: none; margin: 0; transition: transform .5s cubic-bezier(.33, 1, .68, 1), filter .5s cubic-bezier(.33, 1, .68, 1); }
/* Schatten nur als drop-shadow am Rahmen (folgt der Handyform), kein eckiger box-shadow */
@media (hover: hover) { html body .flow-phones .dabei-phone:hover { transform: scale(1.05); filter: drop-shadow(0 22px 22px rgb(0 0 0 / .22)); } }
/* Großansicht: das Handy passt immer ganz auf den Bildschirm (Höhe des Rahmens 2760/1350 der Breite), auch auf niedrigen Laptop-Bildschirmen */
html body .dabei-lightbox .dabei-screen:not(.is-overflow) { width: min(86vw, 380px, calc((100dvh - 140px) * 1350 / 2760)); }
html body .flow-phones img { height: auto; }
html body .flow-phones p.flow-n { margin: 24px 0 0; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-primary); }
html body .flow-phones p.flow-t { margin: 6px 0 0; max-width: none; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 760px) {
  html body .rise-figure.flow-phones { padding: 32px 0 24px; }
  .flow-row { justify-content: flex-start; gap: 16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  html body .flow-phones .dabei-phone:hover { transform: none; } /* die wischbare Reihe schneidet senkrecht ab: dort nicht vergrößern */
  .flow-row::-webkit-scrollbar { display: none; }
  .flow-it { flex: 0 0 58vw; scroll-snap-align: center; }
}

/* 03.11. (Victoria, Screenshot): helle Haarlinie an der Oberkante des Laptop-Bildschirms – der Laptop sitzt auf halben Pixeln,
   an der Rahmenkante mischt der Browser den weißen Bildschirm-Hintergrund hinein. Hintergrund in Rahmenfarbe, dann ist die Kante unsichtbar
   (nur Laptops mit einem einzigen Bild oder Video; bei Überblendungen aus mehreren Bildern bleibt Weiß) */
html body .laptop-screen:not([style*="--n:2"]):not([style*="--n:3"]) { background: #18181a; }
/* 03.11. (Victoria, Screenshot: Handy beim Überfahren oben abgeschnitten): ».pj-chap .rise-figure > *« rundet und beschneidet jedes Kind
   einer Bildfläche wie ein Bild – die Handy-Reihe ist keins. Gerundet wird stattdessen die Fläche selbst, wie die übrigen Bilder (16 px) */
html body .pj-chap .rise-figure.flow-phones { border-radius: 16px; }
html body .pj-chap .rise-figure.flow-phones > .flow-row { border-radius: 0 !important; overflow: visible; }
@media (max-width: 760px) { html body .pj-chap .rise-figure.flow-phones { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0 !important; } html body .pj-chap .rise-figure.flow-phones > .flow-row { overflow-x: auto; } } /* 06.11.2026: Farbfeld randlos, das nächste Handy läuft am Bildrand an, so sieht man, dass sich die Reihe wischen lässt */

/* 03.11. (Victoria: »R!SE sieht unscharf aus«): die einzige Quelle ist das Instagram-Reel, darin ist der Bildschirm nur ≈ 710 px breit.
   Der Laptop wird deshalb am Desktop kleiner gezeigt (48 % statt 66 % der Fläche, ≈ 640 statt 880 px), damit das Video kaum hochskaliert wird */
/* 03.11. später: Quelle ist jetzt die Original-Bildschirmaufnahme aus dem After-Effects-Projekt (blob.mp4, zugeschnitten auf 940 × 588,
   projekt-dateien/rise/website-aufnahme/) – sie füllt den Bildschirm direkt, ohne Ausschnitt aus dem Reel; Laptop etwas kleiner als Standard (58 statt 66 %) */
html body .rise-video .laptop-screen video.laptop-video.is-aufnahme { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 761px) { html[data-projekt="rise"] .rise-video .laptop { width: 58%; } } /* 03.11.: Aufnahme neu geschnitten wie das Reel (schnitt.swift), hohe Datenrate gegen das Flimmern */

/* 03.11.: oben mehr Luft, damit der Titel nicht an der Leiste klebt (gleiche Titelhöhe wie bei Dabei!) */
@media (min-width: 761px) { html body .pj-head { padding-top: 168px; } }
@media (max-width: 760px) { html body .pj-head { padding-top: 110px; } }

/* 03.11.: Kapitel-Leiste wie bei Dabei!: »02 / 05« und ein Balken, wie viel von der Seite noch kommt */
html body .chap-of { margin-left: -4px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
html body .chap-bar { position: relative; width: 56px; height: 3px; border-radius: 3px; background: #e6e6e6; overflow: hidden; flex: none; }
html body .chap-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--cp, 0)); transition: transform .2s linear; }

html body .chap-btn { overflow: hidden; }
html body .chap-title { white-space: nowrap; }

/* 03.11. (Victoria): Bundesregister – »?«-Reiter und Nach-oben-Pfeil stehen wie auf der echten Seite fest am rechten Rand,
   während die Seite im Laptop durchscrollt (Lage aus Figma: 1440 × 900, »?« bei x 1396 / y 468, Pfeil bei x 1388 / y 844) */
html body .laptop-screen img.lp-fix { opacity: 1; animation: none; z-index: 4; height: auto; }
html body .laptop-screen img.lp-fix-faq { left: 96.944%; top: 52%; width: 3.056%; }
html body .laptop-screen img.lp-fix-oben { left: 96.389%; top: 93.778%; width: 3.611%; }

/* 03.11. abends: Kapitel-Leiste gleitet in der Breite (feste px-Breite per case.js/projekt.js), Nummer und Pfeil bleiben am Rand */
html body .chap-btn { box-sizing: border-box; overflow: hidden; transition: width .5s cubic-bezier(.4, 0, .2, 1); }
html body .chap-btn > :not(.chap-title) { flex: none; }
html body .chap-btn > .chap-title { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html body .chap-btn { transition: none; } }

/* 03.11. spät (Victoria: »bei Erfolg messen müsste die Kennzahl präsenter sein, da so viel Text steht«): Kennzahl-Titel in derselben
   Größe wie bei Dabei! (»Kontakt-Conversion-Rate«, --fs-h3), damit sie die Karte führt */
html body .or-dec.is-measure h3 { font-size: var(--fs-h3, clamp(24px, 2vw, 29px)) !important; line-height: 1.22 !important; letter-spacing: var(--ls-h3, -.015em) !important; }
html:root body :is(.pj-chap, .pj-body, .pj-module, main) .or-dec.is-measure.is-measure > div > h3 { font-size: var(--fs-h3, clamp(24px, 2vw, 29px)) !important; line-height: 1.22 !important; letter-spacing: var(--ls-h3, -.015em) !important; }
/* 03.11. spät (Victoria): »Geplant, noch nicht umgesetzt …« ist nur ein Hinweis – klein wie der Agentur- und der Annahme-Hinweis */
html:root body .measure-note.measure-note { font-size: 12px !important; line-height: 18px !important; color: var(--text-secondary) !important; }

/* 03.11. (Victoria): Hinweis unter den Entscheidungskarten endet an einer Spaltenkante, nicht mitten in der Spalte (2 Spalten: eine, 3 Spalten: zwei) */
@media (min-width: 761px) {
  html .pj-module > .or-dec + .pj-mini { max-width: calc((100% - 128px) / 3 * 2 + 64px); }
  html .pj-module > .or-dec:has(> div:nth-child(4):last-child) + .pj-mini { max-width: calc((100% - 64px) / 2); }
}

/* 03.11. (Victoria): Abstand Navbar → Titel einen Tick kleiner (168 → 144), und der Titel bleibt beim Scrollen sofort stehen,
   das Titelbild schiebt sich gleich darüber (vorher wanderte der Titel erst 160 px mit) */
@media (min-width: 761px) {
  html body .pj-head { padding-top: 144px; }
  html body .pj-head-row { top: var(--pj-stick, 136px) !important; }
}
@media (max-width: 760px) { html body .pj-head { padding-top: 98px; } }

/* mendi.net, Laptop im Titel (04.11.): Sprechblase und Nach-oben-Knopf bleiben stehen, nur die Seite läuft dahinter. Der Knopf erscheint erst beim Scrollen, wie auf einer echten Website */
html body .laptop-screen img.mn-news { left: .8%; top: auto; bottom: 1.8%; width: 7.4%; height: auto; opacity: 1; animation: none; z-index: 3; }
html body .laptop-screen .mn-top { position: absolute; right: 1.2%; bottom: 2.4%; z-index: 3; display: grid; place-items: center; width: 3.4%; aspect-ratio: 1; border-radius: 50% !important; background: #ea516d; color: #fff; opacity: 0; animation: mendi-top 24s linear infinite both; }
.laptop-screen .mn-top svg { width: 58%; height: 58%; }
@keyframes mendi-top { 0%, 9% { opacity: 0; } 12%, 56% { opacity: 1; } 59%, 68% { opacity: 0; } 71%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .laptop-screen .mn-top { display: none; } }
