/* Company pages: home (/) and Defect Vision (/defect-vision/).
   Loaded after style.css and marketing.css; uses their tokens. */

/* ---------- Hero ---------- */
.co-hero .marketing-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.co-hero .display { font-size: clamp(2.2rem, 4.6vw, 4.25rem); }
.co-hero .display .accent { max-width: 13em; }
.co-hero__visual { margin: 0; width: 100%; max-width: 500px; justify-self: end; }
.co-facts-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.co-facts-inline li { display: inline-flex; align-items: center; gap: 8px; }
.co-facts-inline .icon { width: 16px; height: 16px; color: var(--copper-ink); stroke-width: 2.4; }

/* ---------- Status chip ---------- */
.co-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--copper-tint); color: var(--copper-ink); white-space: nowrap; }
.co-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--open); }
.co-status--live { background: rgba(47, 148, 96, .1); color: #22714a; }
.co-status--live::before { background: var(--done); }

/* ---------- Defect Vision example view ---------- */
.dv-figure { margin: 0; }
.dv-view { margin: 0; position: relative; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; font-size: .86rem; }
.dv-view__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; min-width: 0; }
.dv-view__bar b { color: var(--text); font-weight: 600; white-space: nowrap; }
.dv-view__bar .co-status { margin-left: auto; }
.dv-view__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); flex: none; }
.dv-photo { position: relative; margin: 0; background: var(--paper-2); }
.dv-photo img { display: block; width: 100%; height: auto; }
/* Markierung wie im Ergebnis von Defect Vision: Rechteck in Prozent des Fotos, Etikett oben links (1, 1a, 2 ...). */
.dv-box { --c: #e5484d; position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 2px solid var(--c); border-radius: 3px; background: color-mix(in srgb, var(--c) 9%, transparent); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .35); pointer-events: none; }
.dv-box > span { position: absolute; left: -2px; top: -2px; min-width: 20px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 3px 0 5px 0; background: var(--c); color: #fff; font: 700 .68rem/1 var(--font-text); letter-spacing: .01em; }
.dv-box--2, .dv-find.dv-find--2 { --c: #6e56cf; }
.dv-box--3, .dv-find.dv-find--3 { --c: #0b8a7d; }
.dv-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.dv-sum b { font-weight: 650; }
.dv-sum span { color: var(--muted); font-size: .8rem; }

.dv-panel { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.dv-panel__label { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.dv-trade { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font: 650 1.08rem/1.25 var(--font-display); letter-spacing: -.01em; margin: 0; }
.dv-trade small { font: 500 .78rem/1.3 var(--font-text); color: var(--muted); letter-spacing: 0; }
/* KI-Badge wie in der App (task_compose_ai_badge.dart): Farbverlauf der Glow-Farben im Kreis, weisser Vierpunkt-Funke, Ring in Hintergrundfarbe. */
.dv-ki { flex: none; box-sizing: border-box; display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: conic-gradient(from 90deg, #8b5cf6, #ec4899, #f97316, #3b82f6, #22d3ee, #a855f7, #f43f5e, #fbbf24, #6366f1, #d946ef, #8b5cf6); }
.dv-ki svg { display: block; width: 100%; height: 100%; fill: #fff; }
.dv-findings { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dv-find { --c: #e5484d; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 11px; align-items: start; padding: 11px 12px; border-radius: 10px; background: #faf8f5; border: 1px solid var(--line); }
.dv-find__num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 .74rem/1 var(--font-text); color: #fff; background: var(--c); }
.dv-find b { display: block; font-weight: 620; line-height: 1.35; }
.dv-find__seen { display: block; margin-top: 3px; font-size: .76rem; color: var(--muted); }
.dv-desc { margin: 0; font-size: .86rem; line-height: 1.5; }
.dv-find__check { display: block; margin-top: 7px; font-size: .82rem; line-height: 1.4; }
.dv-find__check::before { content: "Prüfhinweis: "; font-weight: 620; color: var(--copper-ink); }
.dv-note { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--copper-tint); color: #5c3a1b; font-size: .78rem; line-height: 1.45; }
.dv-credit { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.dv-credit a { color: inherit; text-underline-offset: 3px; }

/* Wide demo: photo left, panel right */
.dv-demo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.dv-demo .dv-photo { border-right: 1px solid var(--line); }
.dv-demo__caption { margin: 12px 0 0; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.dv-demo__caption a { color: inherit; text-underline-offset: 3px; }

/* Hero slider: several results in one view. Without JS a sideways scrollable row, with JS arrows, keys and counter. */
.dv-slider__ctrl { display: none; align-items: center; gap: 6px; flex: none; }
.dv-slider.is-ready .dv-slider__ctrl { display: inline-flex; }
.dv-slider__btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--text); cursor: pointer; transition: border-color .18s, background .18s, opacity .18s; }
.dv-slider__btn:hover:not(:disabled) { border-color: var(--text); background: var(--paper); }
.dv-slider__btn:disabled { opacity: .35; cursor: default; }
.dv-slider__btn .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.dv-slider__btn--prev .icon { transform: rotate(90deg); }
.dv-slider__live { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dv-slider__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.dv-slider__track::-webkit-scrollbar { display: none; }
.dv-slider__track:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
.dv-slider:not(.is-ready) .dv-slider__track { scrollbar-width: thin; }
.dv-slider:not(.is-ready) .dv-slider__track::-webkit-scrollbar { display: block; height: 6px; }
.dv-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
/* Equal slide heights: the photo sits centred in its column, the panel keeps the white card ground. */
.dv-slide .dv-demo { height: 100%; background: var(--paper-2); }
.dv-slide .dv-demo .dv-photo { align-self: center; border-right: 0; }
.dv-slide .dv-panel { background: #fff; border-left: 1px solid var(--line); }

/* ---------- Products (home) ---------- */
/* Two rows shared by both cards (subgrid): media tops and text tops line up, buttons sit at the bottom. */
.co-products { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto; gap: 24px; }
.co-product { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.co-product__media { margin: 0; padding: clamp(18px, 2.4vw, 28px); background: var(--paper); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.co-product__media .dv-view { box-shadow: 0 30px 60px -42px rgba(17, 19, 21, .45); }
.co-product__media figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.co-product__media figcaption a { color: inherit; text-underline-offset: 3px; }
.co-product__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.co-product__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-product__body h3 { font: 620 clamp(1.5rem, 2.2vw, 1.9rem)/1.13 var(--font-display); letter-spacing: -.025em; margin: 14px 0 10px; }
.co-product__body > p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.co-product .checks { margin: 0 0 6px; }
.co-product .checks li { font-size: .92rem; padding: 5px 0; }
.co-product__actions { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- App stage: real web + phone views stepping through plan, KI result and task ---------- */
/* Devices and steps share one grid cell: the steps sit under the browser, next to the phone */
.app-stage { --dur: 4.5s; container-type: inline-size; display: grid; }
.app-stage > * { grid-area: 1 / 1; }
.app-stage__devices { position: relative; padding-bottom: 12%; }
.app-stage__web { width: 90%; border-radius: 1.4cqw; background: #fff; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 3cqw 6cqw -3cqw rgba(17, 19, 21, .38); }
.app-stage__bar { display: flex; align-items: center; gap: clamp(4px, .9cqw, 8px); height: clamp(16px, 3.4cqw, 30px); padding: 0 clamp(8px, 1.6cqw, 16px); background: #f3f1ed; border-bottom: 1px solid var(--line); }
.app-stage__bar i { width: clamp(5px, 1cqw, 10px); aspect-ratio: 1; border-radius: 50%; background: #e9776c; }
.app-stage__bar i:nth-child(2) { background: #efbd5a; }
.app-stage__bar i:nth-child(3) { background: #7cc36c; }
.app-stage__bar span { flex: 0 1 36%; height: 56%; margin: 0 auto; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.app-stage__view { position: relative; overflow: hidden; }
.app-stage__track { display: flex; transform: translateX(calc(var(--i, 0) * -100%)); transition: transform .75s cubic-bezier(.65, 0, .35, 1); }
.app-stage__track > img { flex: 0 0 100%; width: 100%; height: auto; display: block; }
.app-stage__phone .app-stage__track { transition-delay: .09s; }
.app-stage.is-jump .app-stage__track, .app-stage.is-jump .app-stage__status .is-dark { transition: none; }
/* Phone: black glass bezel in a thin titanium band, turned towards the browser; the stacked
   shadows draw the metal side that faces the viewer */
.app-stage__phone { position: absolute; right: 2%; bottom: 0; width: 25%; padding: .72cqw; border: .26cqw solid transparent; border-radius: 4cqw;
  background: linear-gradient(#0b0c0e, #0b0c0e) padding-box, linear-gradient(150deg, #f4f2ee 0%, #bdb8b0 20%, #e8e5e0 44%, #a39e96 70%, #d6d2cc 88%, #8f8a83 100%) border-box;
  transform: perspective(120cqw) rotateY(-15deg) rotateX(4deg); transform-origin: 40% 60%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), .12cqw .07cqw 0 0 #aaa59d, .24cqw .14cqw 0 0 #9c978f, .36cqw .21cqw 0 0 #8d8881, .48cqw .28cqw 0 0 #7e7a73, .5cqw .3cqw 0 1px rgba(22, 24, 26, .2), 2cqw 3.6cqw 5cqw -1.6cqw rgba(17, 19, 21, .42), .6cqw 1.2cqw 1.8cqw -.6cqw rgba(17, 19, 21, .24); }
.app-stage__phone::after { content: ""; position: absolute; top: 24%; right: -.62cqw; width: .3cqw; height: 10%; border-radius: 0 .2cqw .2cqw 0; background: linear-gradient(90deg, #7e7a73, #b3aea6); }
.app-stage__screen { position: relative; border-radius: 3.02cqw; overflow: hidden; background: #fff; transform: translateZ(0); }
.app-stage__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .05) 32%, rgba(255, 255, 255, 0) 48%); }
.app-stage__status { position: relative; }
.app-stage__status img { display: block; width: 100%; height: auto; }
.app-stage__status .is-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease .2s; }
.app-stage[data-step="1"] .app-stage__status .is-dark, .app-stage[data-step="2"] .app-stage__status .is-dark { opacity: 1; }
.app-stage__island { position: absolute; top: 1.2%; left: 50%; width: 31%; height: 3.9%; transform: translateX(-50%); border-radius: 99px; background: #0b0c0d; }
/* Steps: a thin bar fills while a step is shown */
.app-stage__steps { position: relative; z-index: 1; align-self: start; width: 70%; margin: calc(48.1cqw + clamp(16px, 3.4cqw, 30px) + 2px + 2.6cqw) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(8px, 1.6vw, 16px); }
.app-stage__steps button { position: relative; display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 10px 0 0; border: 0; background: none; text-align: left; font: 500 .74rem/1.3 var(--font-text); color: var(--muted); cursor: pointer; }
.app-stage__steps button::before, .app-stage__steps button::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; }
.app-stage__steps button::before { right: 0; background: var(--line-2); }
.app-stage__steps button::after { width: 0; background: var(--copper); }
.app-stage__steps button[data-done="true"]::after { width: 100%; }
.app-stage__steps button[aria-current="step"] { color: var(--text); }
.app-stage__steps button[aria-current="step"]::after { animation: app-stage-fill var(--dur) linear forwards; }
.app-stage.is-paused .app-stage__steps button::after { animation-play-state: paused; }
.app-stage.is-static .app-stage__steps button[aria-current="step"]::after { animation: none; width: 100%; }
.app-stage__steps button:hover { color: var(--text); }
.app-stage__steps button:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 3px; }
.app-stage__n { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; color: var(--copper-ink); }
@keyframes app-stage-fill { from { width: 0; } to { width: 100%; } }
.app-stage--hero { max-width: 1080px; margin-top: clamp(40px, 5vw, 64px); }
.app-stage--hero .app-stage__steps button { font-size: .86rem; }
/* four steps: two rows in narrow stages (phone width, home page card) */
@container (max-width: 600px) {
  .app-stage__steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
}
@container (max-width: 440px) {
  .app-stage__devices { padding-bottom: 9%; }
  .app-stage__steps { grid-area: 2 / 1; width: 100%; margin-top: 14px; gap: 14px 16px; }
}
.app-stage__caption { margin: 18px 0 0; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }

/* ---------- Holo slide: Defect Vision searches the photo, then the edge lands on each finding ----------
   Sizes are app px (web, 1296 wide) or pt (phone, 393 wide), scaled with the slide via --u. */
@property --holo-ang { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.app-stage__track > .holo { flex: 0 0 100%; min-width: 0; }
.holo { --holo: #8b5cf6, #a855f7, #d946ef, #ec4899, #f43f5e, #f97316, #fbbf24, #22d3ee, #3b82f6, #6366f1, #8b5cf6; --holo-ease: cubic-bezier(.65, 0, .25, 1);
  position: relative; overflow: hidden; container-type: inline-size; font-family: var(--font-text); }
.holo > img { display: block; width: 100%; height: auto; }
.holo--web { --u: calc(100cqw / 1296); }
.holo--phone { --u: calc(100cqw / 393); --holo-from: 90deg; background: #000; }
.holo.is-live { animation: holo-spin 5s linear infinite; }
.holo__photo { position: absolute; overflow: hidden; --x0: 0; --y0: 0; }
.holo--web .holo__photo { left: calc(27 * var(--u)); top: calc(132 * var(--u)); width: calc(638 * var(--u)); height: calc(424 * var(--u)); border-radius: calc(7 * var(--u)); --w0: 638; --h0: 424; --r0: 7; }
.holo--phone .holo__photo { left: calc(10.4 * var(--u)); top: calc(52.8 * var(--u)); width: calc(372.8 * var(--u)); height: calc(496.6 * var(--u)); --w0: 372.8; --h0: 496.6; --r0: 0;
  transform-origin: 0 0; transform: translate(calc(-10.4 * var(--u)), calc(-52.8 * var(--u))) scale(1.0542); transition: transform .75s var(--holo-ease); }
.holo--phone .holo__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.holo--phone.is-found .holo__photo { transform: none; }
/* frame geometry: the whole photo while searching (…0), the finding once found (…1) */
.holo__g { position: absolute; left: calc(var(--x0) * var(--u)); top: calc(var(--y0) * var(--u)); width: calc(var(--w0) * var(--u)); height: calc(var(--h0) * var(--u)); border-radius: calc(var(--r0) * var(--u));
  transition-property: left, top, width, height, border-radius, box-shadow; transition-duration: var(--du, .75s); transition-timing-function: var(--holo-ease); transition-delay: var(--dl, 0s); }
.holo.is-found .holo__g { left: calc(var(--x1) * var(--u)); top: calc(var(--y1) * var(--u)); width: calc(var(--w1) * var(--u)); height: calc(var(--h1) * var(--u)); border-radius: calc(12 * var(--u)); }
/* the photo dims to 82 % while the first edge lands */
.holo__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); opacity: 0; transition: opacity var(--du, .75s) var(--holo-ease) var(--dl, 0s); }
.holo.is-found .holo__dim { opacity: 1; }
/* web gradients start at 12 o'clock (CSS), phone at 3 o'clock (Flutter sweep) */
.holo__ring { position: absolute; inset: 0; border-radius: inherit; padding: calc(var(--rw, 2.5) * var(--u)); background: conic-gradient(from calc(var(--holo-ang) + var(--holo-from, 0deg)), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); transition: padding .4s, opacity .3s; }
.holo__halo { position: absolute; inset: 0; border-radius: inherit; filter: blur(calc(12 * var(--u))); opacity: .45; transition: opacity .4s; }
.holo--phone .holo__halo { filter: blur(calc(6 * var(--u))); }
.holo__halo .holo__ring { --rw: 9; }
.holo.is-live .holo__halo { animation: holo-breathe 2.4s ease-in-out infinite; }
/* web found: the halo becomes a crisp 9 px band (blur, then the band mask on the same layer) */
.holo__band { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .35s; }
.holo__band .holo__ring { --rw: 9; filter: blur(calc(12 * var(--u))); opacity: .8; }
.holo.is-live .holo__band .holo__ring { animation: holo-breathe 2.4s ease-in-out infinite; }
.holo__glass { position: absolute; inset: 0; border-radius: inherit; box-sizing: border-box; border: calc(1.5 * var(--u)) solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, .2), 0 calc(8 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .25); opacity: 0; transition: opacity .4s; }
.holo--web .holo__glass { -webkit-backdrop-filter: brightness(1.18) saturate(1.25); backdrop-filter: brightness(1.18) saturate(1.25); }
.holo--phone .holo__glass { background: rgba(255, 255, 255, .12); }
.holo.is-found .is-sel > .holo__glass { opacity: 1; transition-delay: .6s; }
/* the other findings split off the first edge one after another, thin and quiet */
.holo__t:not(.is-sel) > * { opacity: 0; }
.holo.is-found .holo__t:not(.is-sel) > .holo__ring { opacity: 1; padding: calc(1.5 * var(--u)); transition-delay: var(--dl), var(--dl); }
.holo.is-found .holo__t:not(.is-sel) > .holo__halo { opacity: .25; animation: none; transition-delay: var(--dl); }
/* web: once a frame has landed its soft halo hands over to the crisp band (selected breathes, others .25) */
.holo--web.is-found .holo__t > .holo__band { opacity: 1; transition-delay: calc(var(--dl) + var(--du) - .2s); }
.holo--web.is-found .is-sel > .holo__halo { opacity: 0; animation: none; transition-delay: calc(var(--dl) + var(--du) - .2s); }
.holo--web.is-found .holo__t:not(.is-sel) > .holo__halo { opacity: 0; transition: opacity .35s calc(var(--dl) + var(--du) - .2s); }
.holo__t:not(.is-sel) .holo__band .holo__ring { animation: none !important; opacity: .25; }
.holo__disc { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; display: grid; place-items: center;
  font-size: calc(12 * var(--u)); font-weight: 700; line-height: 1; color: #1f2937; background: #fff; box-shadow: 0 calc(1 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, .35); opacity: 0; scale: .5; transition: opacity .3s, scale .3s; }
.holo__disc.is-sel { background: conic-gradient(var(--holo)); color: #fff; }
.holo--phone .holo__disc { font-size: calc(11.5 * var(--u)); color: var(--c, #1f2937); box-shadow: 0 calc(1 * var(--u)) calc(5 * var(--u)) rgba(0, 0, 0, .3); }
.holo--phone .holo__disc.is-sel { background: conic-gradient(from calc(var(--holo-ang) + 90deg), var(--holo)); color: #fff; text-shadow: 0 calc(1 * var(--u)) 0 rgba(0, 0, 0, .5); }
.holo.is-found .holo__disc { opacity: 1; scale: 1; transition-delay: .8s; }
.holo__label { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); max-width: calc(var(--w, 9999) * var(--u)); padding: calc(6 * var(--u)) calc(9 * var(--u)); border-radius: calc(6 * var(--u)); box-sizing: border-box;
  background: rgba(17, 24, 39, .82); box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, .3); color: #fff; font-size: calc(12 * var(--u)); font-weight: 600; line-height: calc(12 * var(--u));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .35s; }
.holo--phone .holo__label { padding: calc(4 * var(--u)) calc(9 * var(--u)); line-height: 1.2; border-radius: calc(7 * var(--u)); background: rgba(22, 18, 34, .78); box-shadow: none; }
.holo.is-found .holo__label { opacity: 1; transition-delay: 1.2s; }
/* the toggle chip: a 24 px glass circle with a white X, centred on the top-right corner */
.holo__x { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; box-sizing: border-box;
  background: rgba(22, 18, 34, .72); -webkit-backdrop-filter: blur(calc(8 * var(--u))); backdrop-filter: blur(calc(8 * var(--u))); border: calc(1.5 * var(--u)) solid rgba(255, 255, 255, .85);
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, .35); opacity: 0; scale: .6; transition: opacity .3s ease-out, scale .3s ease-out; }
.holo__x::before, .holo__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(11.4 * var(--u)); height: calc(1.46 * var(--u)); border-radius: 99px; background: #fff; translate: -50% -50%; rotate: 45deg; }
.holo--phone .holo__x::before, .holo--phone .holo__x::after { width: calc(11.5 * var(--u)); height: calc(1.2 * var(--u)); border-radius: 0; }
.holo__x::after { rotate: -45deg; }
.holo.is-found .holo__x { opacity: 1; scale: 1; transition-delay: .9s; }
/* web: the right column searches with a progress line and two pulsing placeholders */
.holo__panel { position: absolute; left: calc(690 * var(--u)); top: calc(126 * var(--u)); width: calc(414 * var(--u)); height: calc(420 * var(--u)); background: #fff; transition: opacity .35s, visibility 0s; }
.holo.is-found .holo__panel { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.holo__col { position: absolute; left: calc(8.6 * var(--u)); top: calc(8.5 * var(--u)); width: calc(397 * var(--u)); }
.holo__h { display: block; font-size: calc(20 * var(--u)); line-height: calc(28 * var(--u)); font-weight: 700; color: #111827; white-space: nowrap; }
.holo__bar { display: block; height: calc(4 * var(--u)); margin-top: calc(8 * var(--u)); border-radius: 99px; background: rgb(244, 231, 224); overflow: hidden; }
.holo__bar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: rgb(178, 95, 46); transform: translateX(-100%); }
.holo.is-live .holo__bar i { animation: holo-bar 1.6s ease-in-out infinite; }
.holo__sk { display: grid; gap: calc(10 * var(--u)); margin-top: calc(20 * var(--u)); }
.holo__card { display: flex; gap: calc(12 * var(--u)); padding: calc(14 * var(--u)); border: 1px solid rgb(231, 231, 231); border-radius: calc(12 * var(--u)); }
.holo.is-live .holo__card { animation: holo-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.holo__card b, .holo__card i { display: block; border-radius: 99px; background: rgba(178, 95, 46, .1); }
.holo__card b { flex: 0 0 auto; width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.holo__card span { flex: 1; display: grid; align-content: start; gap: calc(8 * var(--u)); padding-top: calc(2 * var(--u)); }
.holo__card i { height: calc(14 * var(--u)); width: 80%; }
.holo__card i + i { height: calc(12 * var(--u)); width: 45%; }
.holo__card + .holo__card i { width: 65%; }
.holo__card + .holo__card i + i { width: 38%; }
/* phone: full width photo on black while searching; the found screen and its sheet come in on the result */
.holo__blk { position: absolute; left: 0; right: 0; top: 0; height: 69%; background: #000; transition: opacity .4s .1s; }
.holo__blkb { position: absolute; left: 0; right: 0; top: 69%; bottom: 0; background: #000; }
.holo.is-found .holo__blk { opacity: 0; }
.holo__sheet { position: absolute; left: 0; top: 0; width: 100%; height: auto; clip-path: inset(68.9% 0 0 0); transform: translateY(32%); transition: transform .55s cubic-bezier(.2, .8, .2, 1) .25s; }
.holo.is-found .holo__sheet { transform: none; }
.holo__close, .holo__chip, .holo__manual { position: absolute; transition: opacity .3s; }
.holo.is-found .holo__close, .holo.is-found .holo__chip, .holo.is-found .holo__manual { opacity: 0; }
.holo__close { left: calc(15 * var(--u)); top: calc(15 * var(--u)); width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: 50%; background: rgba(30, 28, 36, .62); }
.holo__close::before, .holo__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(15 * var(--u)); height: calc(2 * var(--u)); border-radius: 2px; background: #fff; translate: -50% -50%; rotate: 45deg; }
.holo__close::after { rotate: -45deg; }
.holo__chip { left: calc(13 * var(--u)); top: calc(483 * var(--u)); height: calc(31 * var(--u)); padding: 0 calc(12 * var(--u)); display: flex; align-items: center; border-radius: 99px; box-sizing: border-box;
  font-size: calc(13 * var(--u)); font-weight: 500; color: #fff; white-space: nowrap; background: rgba(22, 18, 34, .55); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.holo__manual { left: 0; right: 0; top: calc(564 * var(--u)); translate: 0 -50%; text-align: center; font-size: calc(16 * var(--u)); font-weight: 600; color: #fff; }
.holo__spark { position: absolute; color: #fff; pointer-events: none; filter: drop-shadow(0 0 calc(3 * var(--u)) rgba(200, 180, 255, .9)); transform: translate(-50%, -50%) scale(0); }
.holo__spark svg { display: block; width: 100%; height: 100%; }
/* review step (stage .is-review, one run over the step): the result is taken over on the same screen.
   Web: the pointer comes in from the right, rests on „Übernehmen“ and clicks it. Phone: a finger taps
   „Alle speichern (2)“ and the button splashes. Button boxes measured on the screenshots, in app px / pt */
.holo__press, .holo__tap { position: absolute; pointer-events: none; }
.holo__press { overflow: hidden; background-color: rgba(0, 0, 0, 0); }
.holo__tap { opacity: 0; }
.holo--web .holo__press { left: calc(750.3 * var(--u)); top: calc(257.2 * var(--u)); width: calc(110.3 * var(--u)); height: calc(33.4 * var(--u)); border-radius: calc(2.5 * var(--u)); }
/* the pointer tip (2, 1.5 in its 20 × 28 box) sits on the click point; pointer and finger keep a minimum size on small screens */
.holo--web .holo__tap { --cs: max(var(--u), .45px); left: calc(826 * var(--u) - 2 * var(--cs)); top: calc(281 * var(--u) - 1.5 * var(--cs)); width: calc(20 * var(--cs)); height: calc(28 * var(--cs)); }
.holo__tap svg { position: relative; display: block; width: 100%; height: 100%; transform-origin: 10% 5.4%; filter: drop-shadow(0 calc(1 * var(--cs)) calc(2 * var(--cs)) rgba(0, 0, 0, .35)); }
.holo__click { position: absolute; left: calc(-18 * var(--cs)); top: calc(-18.5 * var(--cs)); width: calc(40 * var(--cs)); height: calc(40 * var(--cs)); border-radius: 50%; background: rgba(255, 255, 255, .55); opacity: 0; }
.holo--phone .holo__press { left: calc(9 * var(--u)); top: calc(713.1 * var(--u)); width: calc(375 * var(--u)); height: calc(44.2 * var(--u)); border-radius: calc(7.5 * var(--u)); }
.holo__splash { position: absolute; left: calc(171 * var(--u)); top: calc(-97.9 * var(--u)); width: calc(240 * var(--u)); height: calc(240 * var(--u)); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .42), rgba(255, 255, 255, .2) 55%, rgba(255, 255, 255, 0)); opacity: 0; scale: .2; }
.holo--phone .holo__tap { --ts: max(calc(34 * var(--u)), 10px); left: calc(300 * var(--u)); top: calc(735.2 * var(--u)); width: var(--ts); height: var(--ts); margin: calc(var(--ts) / -2); border-radius: 50%; box-sizing: border-box;
  background: rgba(255, 255, 255, .42); border: max(calc(1.5 * var(--u)), 1px) solid rgba(255, 255, 255, .92); box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, .28); }
.app-stage.is-review .holo--web .holo__tap { animation: holo-pointer var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo--web .holo__tap svg { animation: holo-click var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo__click { animation: holo-click-ring var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo--web .holo__press { animation: holo-press-web var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo--phone .holo__tap { animation: holo-touch var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo--phone .holo__press { animation: holo-press-phone var(--dur, 4.5s) linear both; }
.app-stage.is-review .holo__splash { animation: holo-splash var(--dur, 4.5s) linear both; }
/* reduced motion: the pointer and the finger rest on the button */
.app-stage.is-static.is-review .holo__tap { opacity: 1; }
.app-stage.is-static.is-review .holo--web .holo__press { background-color: rgba(0, 0, 0, .08); }
/* reset to the search without motion; pause with the stage; reduced motion shows the result still */
.holo.is-reset, .holo.is-reset * { transition: none !important; }
.app-stage.is-paused .holo, .app-stage.is-paused .holo * { animation-play-state: paused !important; }
.app-stage.is-static .holo, .app-stage.is-static .holo * { animation: none !important; transition: none !important; }
@keyframes holo-spin { to { --holo-ang: 360deg; } }
@keyframes holo-breathe { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }
@keyframes holo-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes holo-pulse { 50% { opacity: .5; } }
/* review timeline (share of the step): pointer in 8–38 %, hover, press at 49 %; finger in at 32 %, tap at 49 % */
@keyframes holo-pointer {
  0%, 8% { opacity: 1; translate: calc(500 * var(--u)) calc(160 * var(--u)); animation-timing-function: cubic-bezier(.4, .1, .2, 1); }
  38%, 100% { opacity: 1; translate: 0 0; }
}
@keyframes holo-click { 0%, 49% { scale: 1; } 51%, 54% { scale: .86; } 57%, 100% { scale: 1; } }
@keyframes holo-click-ring {
  0%, 49% { opacity: 0; scale: .2; }
  50% { opacity: .9; scale: .25; animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  64%, 100% { opacity: 0; scale: 1; }
}
@keyframes holo-press-web {
  0%, 36% { background-color: rgba(0, 0, 0, 0); }
  39%, 49% { background-color: rgba(0, 0, 0, .08); }
  51%, 55% { background-color: rgba(0, 0, 0, .2); }
  60%, 100% { background-color: rgba(0, 0, 0, .08); }
}
@keyframes holo-touch {
  0%, 32% { opacity: 0; scale: 1.35; animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  38%, 49% { opacity: 1; scale: 1; }
  52%, 54% { opacity: 1; scale: .8; }
  58%, 64% { opacity: 1; scale: 1; animation-timing-function: ease-in; }
  74%, 100% { opacity: 0; scale: 1.12; }
}
@keyframes holo-press-phone {
  0%, 49% { background-color: rgba(0, 0, 0, 0); }
  51%, 57% { background-color: rgba(0, 0, 0, .12); }
  66%, 100% { background-color: rgba(0, 0, 0, 0); }
}
@keyframes holo-splash {
  0%, 49% { opacity: 0; scale: .2; }
  50% { opacity: 1; scale: .25; animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  60% { opacity: 1; scale: 1; animation-timing-function: ease-out; }
  72%, 100% { opacity: 0; scale: 1.1; }
}

/* ---------- Services (home) ---------- */
.co-service { display: flex; flex-direction: column; }
.co-service .marketing-text-link { margin-top: auto; padding-top: 18px; color: var(--copper-ink); }

/* ---------- References (home) ---------- */
.co-refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.co-ref { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.co-ref__shot { padding: 16px 16px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.co-ref__shot .browser { border-radius: 10px 10px 0 0; box-shadow: 0 24px 50px -36px rgba(17, 19, 21, .5); }
.co-ref__shot img { display: block; width: 100%; height: auto; }
.co-ref figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.co-ref figcaption b { font: 620 1.12rem/1.25 var(--font-display); letter-spacing: -.015em; }
.co-ref figcaption span:not(.marketing-label) { color: var(--muted); font-size: .9rem; }
.co-ref__credit { color: var(--muted); font-size: .74rem; margin-top: auto; padding-top: 4px; }
.co-ref__credit a { color: inherit; text-underline-offset: 2px; }
.co-refs__more { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ---------- About (home) ---------- */
.co-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.co-about__copy > p:not(.eyebrow) { color: var(--on-ink-muted); max-width: 36em; }
.co-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.co-facts > div { padding: 18px 20px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.co-facts dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em; text-transform: uppercase; color: var(--copper-light); }
.co-facts dd { margin: 8px 0 0; font-weight: 560; line-height: 1.4; }
.co-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
/* /baukmu/ about: facts stacked in the side column */
.co-facts--stack { grid-template-columns: minmax(0, 1fr); }
[data-theme="light"] .about .co-facts > div { background: var(--paper); border-color: transparent; }
.hero__person .avatar-photo__mono .icon { width: 20px; height: 20px; }

/* ---------- Defect Vision page ---------- */
.dv-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.dv-hero__head { max-width: 820px; }
.dv-hero .display .accent { max-width: 15em; }
.dv-hero__status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; font-size: .9rem; color: var(--muted); }
.dv-hero .marketing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dv-hero .dv-view { margin-top: clamp(36px, 4.5vw, 56px); }
.btn--outline-ink { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-2); }
.btn--outline-ink:hover { border-color: var(--text); background: #fff; }
/* Example cards: photo, trade, text and finding share rows across cards (subgrid), so every card has the same height and parts line up. */
.dv-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dv-examples .dv-view { box-shadow: none; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.dv-examples .dv-panel { display: contents; }
.dv-examples .dv-photo { border-bottom: 1px solid var(--line); }
.dv-examples .dv-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.dv-examples .dv-panel > * { padding-inline: 18px; }
.dv-examples .dv-panel > :first-child { padding-top: 18px; }
.dv-examples .dv-desc { padding-top: 10px; }
.dv-examples .dv-findings { padding-top: 16px; padding-bottom: 18px; }
.dv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* API facts and data protection side by side: short check lists, no marketing cards. */
.dv-api-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dv-api-col { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 10px; background: #faf8f5; }
.dv-api-col h3 { margin: 0 0 10px; font: 620 1.2rem/1.25 var(--font-display); letter-spacing: -.015em; }
.dv-api-col .checks { margin: 0; }
.dv-api-note { margin: 12px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.dv-actions { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px; }
.dv-credits { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: .86rem; color: var(--muted); }
.dv-credits li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.dv-credits b { color: var(--text); font-weight: 600; }
.dv-credits a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.dv-bildnachweis { background: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .co-hero .marketing-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .co-products { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .co-product { grid-row: auto; grid-template-rows: auto 1fr; }
  .dv-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .co-hero .marketing-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .co-hero .display { font-size: clamp(2.2rem, 8.6vw, 3.6rem); }
  .co-hero__visual { justify-self: stretch; max-width: none; }
  .dv-demo { grid-template-columns: minmax(0, 1fr); }
  .dv-demo .dv-photo { border-right: 0; border-bottom: 1px solid var(--line); }
  .dv-slide .dv-demo { grid-template-rows: auto 1fr; }
  .dv-slide .dv-demo .dv-photo { align-self: start; border-bottom: 1px solid var(--line); }
  .dv-slide .dv-panel { border-left: 0; }
  .co-about__grid { grid-template-columns: minmax(0, 1fr); }
  .dv-steps, .dv-api-grid { grid-template-columns: minmax(0, 1fr); }
  .co-refs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .dv-examples { grid-template-columns: minmax(0, 1fr); }
  .co-facts { grid-template-columns: minmax(0, 1fr); }
  .dv-box { border-width: 1.5px; }
  .dv-box > span { min-width: 16px; height: 15px; padding: 0 3px; font-size: .58rem; }
  .dv-slider .dv-view__brand, .dv-slider .dv-view__sep { display: none; }
  .dv-hero .marketing-actions .btn { width: 100%; }
  .co-product__actions .btn { width: 100%; }
}
