:root {
  --paper: #f3efe6;
  --white: #fffdf8;
  --ink: #171715;
  --muted: #68645d;
  --line: rgba(23,23,21,.18);
  --blue: #315fdb;
  --coral: #f35c3f;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--ink);
  border-bottom: 1px solid rgba(23,23,21,.22);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 22px rgba(23,23,21,.06);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 800; }
.wordmark > span {
  width: 42px;
  height: 42px;
  padding: 2px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--blue);
}
.wordmark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 14%;
}
.wordmark-copy {
  display: grid;
  gap: 3px;
  line-height: 1.15;
}
.wordmark-copy strong {
  font-size: 17px;
  letter-spacing: -.025em;
}
.wordmark-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .015em;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a, nav button {
  padding: 8px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
nav button { min-width: 42px; padding: 9px 10px; border: 1px solid currentColor; }

.case-hero { padding: 90px 0 74px; color: white; background: var(--blue); }
.back-link { display: inline-block; margin-bottom: 72px; font-size: 13px; font-weight: 700; }
.case-label {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-hero .case-label { color: #cbd7ff; }
.case-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(58px, 8.3vw, 112px);
  line-height: .91;
  letter-spacing: -.066em;
}
.case-intro {
  max-width: 760px;
  margin: 42px 0 72px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 23px);
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.case-facts dt {
  margin-bottom: 8px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-facts dd { margin: 0; font-size: 13px; }

.origin-section, .output-section {
  padding-block: clamp(95px, 11vw, 145px);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 55px;
}
.origin-section { grid-template-columns: minmax(0, 1fr); }
.origin-section > div { max-width: 980px; }
.origin-section > *, .output-section > *, .output-heading > *,
.responsibility-note > *, .workflow-proof-heading > *,
.differentiation-grid > *, .product-cta-grid > *,
.walkthrough-stage > * {
  min-width: 0;
}
.origin-section h2, .walkthrough-heading h2, .implementation-heading h2,
.output-heading h2, .differentiation-content h2, .product-cta h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(43px, 6vw, 80px);
  line-height: .98;
  letter-spacing: -.06em;
}
.origin-section > div > p, .output-heading > div > p {
  max-width: 750px;
  margin: 35px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.walkthrough-section {
  padding-block: clamp(95px, 11vw, 145px);
  color: white;
  background: var(--ink);
}
.walkthrough-heading {
  margin-bottom: 65px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}
.walkthrough-heading .case-label { color: #96aff7; }
.play-control {
  flex: 0 0 auto;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.6);
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.play-control::before { content: "Ⅱ"; display: inline-block; width: 19px; color: #96aff7; }
.play-control[aria-pressed="true"]::before { content: "▶"; }
.walkthrough {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: #20201e;
}
.walkthrough-stage {
  position: relative;
  min-height: 550px;
  padding: clamp(40px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: center;
}
.stage-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #3b3b38;
}
.stage-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
}
.walkthrough.is-playing .stage-progress i { animation: stage-progress 4.8s linear forwards; }
@keyframes stage-progress { to { width: 100%; } }
.stage-copy span {
  color: #96aff7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.stage-copy,
.stage-visual {
  min-width: 0;
}
.stage-copy h3 {
  margin: 25px 0 0;
  font-size: clamp(37px, 4.8vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.stage-copy p {
  max-width: 510px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 16px;
}
.stage-visual {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: var(--blue);
}
html[lang="de"] .walkthrough-stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 70px);
}
html[lang="de"] .stage-copy h3 {
  font-size: clamp(30px, 3.5vw, 48px);
  overflow-wrap: normal;
  hyphens: none;
}
.visual-scene {
  position: absolute;
  inset: 0;
  padding: clamp(30px, 4vw, 52px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.985);
  transition: opacity 360ms ease, transform 480ms cubic-bezier(.2,.75,.25,1);
}
.stage-visual[data-stage-visual="0"] .scene-intake,
.stage-visual[data-stage-visual="1"] .scene-dimensions,
.stage-visual[data-stage-visual="2"] .scene-gates,
.stage-visual[data-stage-visual="3"] .scene-brief {
  opacity: 1;
  transform: none;
}

.scene-intake {
  width: min(88%, 540px);
  height: calc(100% - 36px);
  margin: 18px auto;
  padding: 20px 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 #111;
}
.intake-heading { display: flex; align-items: center; gap: 12px; }
.intake-heading > span, .brief-top > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
}
.intake-heading strong { font-size: 15px; }
.intake-fields {
  margin-top: 16px;
  display: grid;
  gap: 7px;
}
.intake-fields > div {
  position: relative;
  min-height: 32px;
  padding: 6px 10px;
  display: grid;
  grid-template-columns: 28px 120px 1fr;
  align-items: center;
  border: 1px solid #dde1e9;
  background: #f7f7f4;
}
.intake-fields i {
  color: var(--blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.intake-fields span { font-size: 10px; font-weight: 700; }
.intake-fields b {
  height: 7px;
  border-radius: 6px;
  background: #dce1eb;
  transform-origin: left;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="0"] .intake-fields b {
  animation: field-fill 650ms ease both;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="0"] .intake-fields > div:nth-child(2) b { animation-delay: 120ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="0"] .intake-fields > div:nth-child(3) b { animation-delay: 240ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="0"] .intake-fields > div:nth-child(4) b { animation-delay: 360ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="0"] .intake-fields > div:nth-child(5) b { animation-delay: 480ms; }
@keyframes field-fill { from { transform: scaleX(0); } }
.intake-complete {
  width: fit-content;
  margin-top: 12px;
  padding: 5px 10px 5px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #8fd0b4;
  border-radius: 999px;
  color: #075a3d;
  background: #e7f7ef;
  font-size: 10px;
  font-weight: 800;
}
.intake-complete i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #087a54;
  font-style: normal;
}

.scene-dimensions {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 34px;
}
.scene-dimensions > *, .dimension-grid > *,
.scene-gates > *, .gate-board > *,
.scene-brief > *, .brief-page > *, .brief-badges > * {
  min-width: 0;
}
.dimension-core {
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: white;
  background: rgba(14,35,93,.38);
  box-shadow: 8px 8px 0 rgba(15,15,15,.65);
  text-align: center;
}
.dimension-core strong { font-size: 46px; line-height: .85; letter-spacing: -.06em; }
.dimension-core span { max-width: 88px; margin-top: 9px; color: #d3dcff; font-size: 8px; line-height: 1.3; text-transform: uppercase; }
.dimension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dimension-grid > div {
  position: relative;
  min-height: 68px;
  padding: 10px;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr 5px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.09);
}
.dimension-grid i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: white;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.dimension-grid span { color: white; font-size: 10px; font-weight: 700; }
.dimension-grid b {
  grid-column: 1 / -1;
  width: var(--score);
  height: 4px;
  border-radius: 4px;
  background: #cdd8ff;
  transform-origin: left;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="1"] .dimension-grid b {
  animation: dimension-score 650ms ease both;
  animation-delay: calc(var(--order) * 100ms);
}
@keyframes dimension-score { from { transform: scaleX(0); } }

.scene-gates {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 34px;
  background: #4b3fd0;
}
.score-dial {
  width: 128px;
  height: 128px;
  padding: 10px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: white;
  background:
    radial-gradient(circle at center, #4b3fd0 58%, transparent 59%),
    conic-gradient(#56d0b0 0 68%, rgba(255,255,255,.18) 68% 100%);
  box-shadow: 9px 9px 0 rgba(15,15,15,.65);
  text-align: center;
}
.score-dial div { display: flex; align-items: baseline; justify-content: center; }
.score-dial strong { font-size: 43px; line-height: 1; letter-spacing: -.07em; }
.score-dial span { font-size: 11px; }
.score-dial small { margin-top: 2px; color: #ddd9ff; font-size: 8px; text-transform: uppercase; }
.gate-board {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(20,16,71,.3);
}
.gate-board > p { margin: 0 0 14px; color: white; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gate-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gate-checks span {
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  color: #0d6c50;
  background: #dff4ea;
  font-size: 14px;
  font-weight: 800;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span {
  animation: gate-pass 360ms ease both;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span:nth-child(2) { animation-delay: 100ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span:nth-child(3) { animation-delay: 200ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span:nth-child(4) { animation-delay: 300ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span:nth-child(5) { animation-delay: 400ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .gate-checks span:nth-child(6) { animation-delay: 500ms; }
@keyframes gate-pass { from { opacity: 0; transform: translateY(10px) scale(.8); } }
.review-flag {
  margin-top: 12px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5e3b00;
  background: #ffedc9;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
}
.review-flag i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #df8a12;
  font-style: normal;
}
.walkthrough.is-playing .stage-visual[data-stage-visual="2"] .review-flag {
  animation: flag-in 450ms 750ms ease both;
}
@keyframes flag-in { from { opacity: 0; transform: translateX(-12px); } }

.scene-brief {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 18px;
  align-items: center;
}
.brief-page {
  min-height: 300px;
  padding: 25px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 11px 11px 0 #111;
}
.brief-top { display: flex; align-items: center; gap: 10px; }
.brief-top small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.brief-decision {
  margin-top: 20px;
  padding: 17px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  color: white;
  background: #0e1d3c;
}
.brief-ring {
  width: 62px;
  height: 62px;
  display: grid;
  place-content: center;
  border: 6px solid #50cbb0;
  border-radius: 50%;
  text-align: center;
}
.brief-ring strong { font-size: 20px; line-height: 1; }
.brief-ring small { font-size: 7px; }
.brief-decision > div:last-child { display: grid; }
.brief-decision > div:last-child small { color: #9eacd1; font-size: 7px; text-transform: uppercase; }
.brief-decision > div:last-child strong { margin-top: 5px; font-size: 12px; line-height: 1.2; }
.brief-bars { margin-top: 18px; display: grid; gap: 7px; }
.brief-bars i { height: 7px; background: #dce1ec; transform-origin: left; }
.brief-bars i:nth-child(1) { width: 88%; }
.brief-bars i:nth-child(2) { width: 72%; }
.brief-bars i:nth-child(3) { width: 80%; }
.walkthrough.is-playing .stage-visual[data-stage-visual="3"] .brief-bars i { animation: brief-bar 600ms ease both; }
.walkthrough.is-playing .stage-visual[data-stage-visual="3"] .brief-bars i:nth-child(2) { animation-delay: 120ms; }
.walkthrough.is-playing .stage-visual[data-stage-visual="3"] .brief-bars i:nth-child(3) { animation-delay: 240ms; }
@keyframes brief-bar { from { transform: scaleX(0); } }
.brief-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 6px 9px;
  align-items: center;
}
.brief-actions span { color: var(--blue); font-size: 8px; font-weight: 800; }
.brief-actions b { height: 5px; border-radius: 4px; background: #e0e3e9; }
.brief-badges { display: grid; gap: 10px; }
.brief-badges span {
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.55);
  color: white;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.stage-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.stage-nav li, .stage-nav button { min-width: 0; }
.stage-nav li:not(:last-child) { border-right: 1px solid rgba(255,255,255,.18); }
.stage-nav button {
  width: 100%;
  min-height: 90px;
  padding: 20px;
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  border: 0;
  color: rgba(255,255,255,.48);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.stage-nav button[aria-current="step"] { color: white; background: #2d2d2a; }
.stage-nav span { color: #96aff7; font-size: 10px; font-weight: 800; }
.stage-nav strong { font-size: 13px; }

.responsibility-note {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(34px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 55px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.responsibility-note h3 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(29px, 3.7vw, 49px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.responsibility-note > div > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 16px;
}
.workflow-proof {
  margin-top: clamp(65px, 8vw, 105px);
  padding-top: clamp(42px, 5vw, 65px);
  border-top: 1px solid rgba(255,255,255,.22);
}
.workflow-proof-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 55px;
}
.workflow-proof-heading h3 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(29px, 3.7vw, 49px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.workflow-proof-heading > div > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 16px;
}
.workflow-canvas {
  position: relative;
  width: 100%;
  margin-top: 34px;
  padding: 44px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--white);
  cursor: zoom-in;
}
.workflow-canvas > span {
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.workflow-canvas img { width: 100%; height: auto; }

.output-heading {
  display: block;
  grid-column: 1 / -1;
}
.output-heading > div { max-width: 980px; }
.report-viewer {
  grid-column: 2;
  margin-top: 25px;
}
.report-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.report-tabs button {
  padding: 11px 15px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.report-tabs button[aria-selected="true"] { color: white; background: var(--ink); }
.report-stage { margin: 0; padding: 18px; border-radius: 18px; background: #e5e2da; }
.report-image-button {
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: white;
  cursor: zoom-in;
}
.report-stage img { width: 100%; height: auto; }
.report-stage figcaption {
  padding: 16px 3px 2px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}
.view-hint { color: var(--blue); font-size: 12px; }
.report-link {
  grid-column: 2;
  width: max-content;
  margin-top: 23px;
  font-size: 14px;
  font-weight: 800;
}
.report-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.learning-section { padding-block: clamp(95px, 11vw, 145px); color: white; background: var(--blue); }
.learning-section .case-label { color: #ccd7ff; }
.differentiation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.differentiation-content > header {
  max-width: 900px;
}
.differentiation-content > header > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 17px;
}
.differentiator-list {
  list-style: none;
  margin: clamp(55px, 7vw, 85px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.35);
  border-left: 1px solid rgba(255,255,255,.22);
}
.differentiator-list li {
  min-height: 220px;
  padding: 27px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 17px;
  color: rgba(255,255,255,.74);
  border-right: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.differentiator-list li > span {
  color: #d9e2ff;
  font-size: 11px;
  font-weight: 800;
}
.differentiator-list strong {
  display: block;
  color: white;
  font-size: 18px;
}
.differentiator-list p {
  margin: 15px 0 0;
  font-size: 14px;
}

.product-cta {
  padding-block: clamp(90px, 10vw, 135px);
  color: var(--ink);
  background: var(--paper);
}
.product-cta-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 55px;
}
.product-cta-grid > div > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.product-cta-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-button {
  min-height: 52px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.product-button-primary { color: white; background: var(--ink); }
.product-button-secondary { color: var(--ink); background: transparent; }
.product-button:hover { transform: translateY(-2px); }
}

.media-dialog {
  width: min(96vw, 1560px);
  height: min(94vh, 1100px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 80px #0007;
}
.media-dialog::backdrop { background: #111c; backdrop-filter: blur(5px); }
.dialog-bar {
  height: 64px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-bar strong { font-size: 14px; }
.dialog-bar button {
  padding: 9px 12px;
  border: 1px solid var(--ink);
  background: white;
  font-weight: 700;
  cursor: pointer;
}
.dialog-canvas { height: calc(100% - 64px); padding: 24px; overflow: auto; background: #d8d4ca; }
.dialog-canvas img { width: max(100%, 1200px); max-width: none; height: auto; margin: auto; background: white; }
footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.product-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.product-legal-links a {
  color: inherit;
  text-decoration: none;
}
.product-legal-links a:hover,
.product-legal-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 40px, 760px); }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .origin-section, .output-section, .output-heading, .responsibility-note,
  .workflow-proof-heading, .differentiation-grid, .product-cta-grid { grid-template-columns: 1fr; }
  .walkthrough-heading { align-items: flex-start; flex-direction: column; }
  .walkthrough-stage { grid-template-columns: 1fr; }
  html[lang="de"] .walkthrough-stage { grid-template-columns: 1fr; gap: 38px; }
  .stage-visual { min-height: 390px; }
  .report-viewer, .report-link { grid-column: 1; }
  .differentiator-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 560px); }
  nav { gap: 15px; }
  nav a { display: none; }
  .header-inner { min-height: 72px; }
  .wordmark { gap: 10px; }
  .wordmark > span { width: 38px; height: 38px; }
  .wordmark-copy strong { font-size: 15px; }
  .wordmark-copy small { font-size: 9px; }
  .case-hero { padding-top: 60px; }
  .back-link { margin-bottom: 65px; }
  .case-hero h1 { font-size: clamp(50px, 14vw, 70px); }
  .case-facts { grid-template-columns: 1fr; }
  .origin-section, .output-section { gap: 24px; }
  .walkthrough-stage { padding: 35px 24px; }
  html[lang="de"] .stage-copy h3 {
    font-size: clamp(31px, 9vw, 43px);
    overflow-wrap: break-word;
    hyphens: auto;
  }
  html[lang="de"] .origin-section h2,
  html[lang="de"] .output-heading h2,
  html[lang="de"] .differentiation-content h2,
  html[lang="de"] .product-cta h2 {
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .stage-visual { min-height: 390px; }
  .visual-scene { padding: 22px 18px; }
  .scene-intake { width: calc(100% - 34px); height: calc(100% - 34px); margin: 17px; padding: 20px; }
  .intake-fields > div { grid-template-columns: 25px 105px 1fr; }
  .scene-dimensions {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 14px;
  }
  .dimension-core { width: 86px; height: 86px; justify-self: center; }
  .dimension-core strong { font-size: 38px; }
  .dimension-core span { max-width: 70px; font-size: 7px; }
  .dimension-grid { gap: 6px; }
  .dimension-grid > div { min-height: 52px; padding: 8px; grid-template-columns: 24px 1fr; }
  .dimension-grid i { width: 19px; height: 19px; font-size: 7px; }
  .dimension-grid span { font-size: 8px; white-space: nowrap; }
  .scene-gates { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .score-dial { width: 98px; height: 98px; padding: 8px; }
  .score-dial strong { font-size: 35px; }
  .gate-board { padding: 12px; }
  .gate-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gate-checks span { height: 30px; }
  .review-flag { padding: 7px; font-size: 7px; }
  .scene-brief { grid-template-columns: minmax(0, 1fr) 68px; gap: 8px; }
  .brief-page { min-height: 315px; padding: 18px; }
  .brief-badges span { padding: 9px 4px; font-size: 6px; white-space: nowrap; }
  .dimension-grid span { overflow-wrap: normal; }
  .stage-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-nav strong { overflow-wrap: anywhere; }
  .stage-nav li:nth-child(2) { border-right: 0; }
  .stage-nav li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .report-tabs { display: grid; grid-template-columns: 1fr; }
  .report-stage figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .workflow-canvas { padding: 42px 12px 12px; }
  .differentiator-list li { min-height: 0; padding: 24px 20px; }
  .product-cta-actions { align-items: stretch; flex-direction: column; }
  .product-button { width: 100%; }
  .dialog-canvas { padding: 12px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
