/* Lokal gehostetes Manrope. Die Variable Font enthält Gewichte von 200 bis 800. */
@font-face {
  font-family: "Umkleide Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* Alle Layout-Regeln sind auf die Section beschränkt: kein globaler CSS-Reset. */
.umkleide-hero {
  --uh-blue: #3047ff;
  --uh-blue-hover: #2436e0;
  --uh-ink: #0b0d12;
  --uh-muted: #5b6275;
  --uh-line: #e4e7ee;
  --uh-surface: #f5f6f9;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  background: #ffffff;
  color: var(--uh-ink);
  font-family: "Umkleide Manrope", Manrope, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.umkleide-hero *, .umkleide-hero *::before, .umkleide-hero *::after { box-sizing: border-box; }
.umkleide-hero button, .umkleide-hero a { -webkit-tap-highlight-color: transparent; }
.umkleide-hero button { font: inherit; }
.umkleide-hero img, .umkleide-hero svg { display: block; }
.umkleide-hero a { text-decoration: none; }
.umkleide-hero button:focus-visible, .umkleide-hero a:focus-visible {
  outline: 3px solid var(--uh-blue);
  outline-offset: 5px;
}
.uh-layout {
  position: relative;
  width: min(100%, 1480px);
  min-height: 1070px;
  margin: 0 auto;
  padding: 0;
}
.uh-copy { position: absolute; top: 24%; left: 44px; z-index: 2; width: 41%; max-width: 560px; padding: 0; }
.uh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 9px 13px;
  border: 1px solid #e4e7ee;
  border-radius: 999px;
  background: #ffffff;
  color: var(--uh-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}
.uh-eyebrow__pixel { display: block; width: 6px; height: 6px; flex: 0 0 6px; background: var(--uh-blue); }
.uh-heading {
  max-width: 570px;
  margin: 0;
  font-size: clamp(46px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.055;
  letter-spacing: -0.04em;
  text-wrap: wrap;
}
.uh-heading > span { display: block; color: var(--uh-blue); }
.uh-description {
  max-width: 440px;
  margin: 25px 0 0;
  color: var(--uh-muted);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.8;
  letter-spacing: -0.012em;
}
.uh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.uh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  white-space: nowrap;
}
.uh-cta svg { flex: 0 0 auto; }
.uh-cta--primary { color: #ffffff; background: var(--uh-blue); }
.uh-cta--primary:hover { background: var(--uh-blue-hover); }
.uh-cta--secondary { color: var(--uh-ink); background: #ffffff; border-color: var(--uh-line); }
.uh-cta--secondary:hover { background: var(--uh-surface); }
.uh-benefits { display: flex; flex-wrap: wrap; gap: 9px 17px; padding: 0; margin: 21px 0 0; list-style: none; }
.uh-benefits li { display: inline-flex; align-items: center; gap: 5px; color: var(--uh-muted); font-size: 10px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.uh-benefits svg { flex: 0 0 16px; color: var(--uh-blue); }

/* Das Bühnen-Koordinatensystem bleibt stabil; nur transform/opacity kommen aus JS. */
.uh-experience { position: absolute; inset: 0 0 54px; z-index: 3; min-width: 0; pointer-events: none; }
.uh-scene { position: absolute; inset: 0; isolation: isolate; width: 100%; height: 100%; min-width: 0; pointer-events: none; }
.uh-stage {
  --uh-webcam-header-height: 42px;
  position: absolute;
  z-index: 1;
  top: 29%;
  right: 7.2%;
  bottom: auto;
  left: 52.7%;
  padding-top: var(--uh-webcam-header-height);
  overflow: hidden;
  border: 1px solid var(--uh-line);
  border-radius: 30px;
  background: #f3f4f7;
  box-shadow: 0 14px 45px -30px rgb(11 13 18 / 27%);
}
.uh-webcam-header { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: var(--uh-webcam-header-height); padding: 0 18px; border-bottom: 1px solid #e4e7ee; background: #ffffff; }
.uh-webcam-label { display: inline-flex; align-items: center; gap: 7px; color: var(--uh-muted); font-size: 10px; font-weight: 650; line-height: 1; }
.uh-webcam-label svg { color: var(--uh-blue); }
/* Zwei 3:4-Webcam-Ausschnitte nebeneinander; die Kopfzeile kommt in der Höhe hinzu. */
.uh-people { display: flex; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.uh-person { position: relative; flex: 1 1 50%; min-width: 0; height: auto; overflow: hidden; }
.uh-person + .uh-person { border-left: 1px solid rgb(255 255 255 / 80%); }
.uh-person [data-person-fallback], .uh-person [data-person-canvas] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.uh-person [data-person-canvas] { opacity: 0; }
/* Sichtbar im DOM belassen: Safari soll die stummen Videoquellen weiter decodieren. */
.uh-video-source { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.uh-live {
  position: static;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}
.uh-live__dot { width: 5px; height: 5px; border-radius: 50%; background: #e5484d; }
.uh-live time { padding-left: 2px; color: var(--uh-muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.uh-viewfinder { position: absolute; z-index: 2; width: 18px; height: 18px; border-color: #ffffff; border-style: solid; border-width: 0; opacity: 0.92; pointer-events: none; }
/* Innenliegender Sucher: Die seitlichen Produktkarten verdecken keine Kamera-UI. */
.uh-viewfinder--tl { top: calc(var(--uh-webcam-header-height) + 10px); left: 10px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 5px; }
.uh-viewfinder--tr { top: calc(var(--uh-webcam-header-height) + 10px); right: 10px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 5px; }
.uh-viewfinder--bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 5px; }
.uh-viewfinder--br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 5px; }
.uh-disclaimer { position: absolute; z-index: 2; right: 18px; bottom: 17px; padding: 4px 6px; border-radius: 5px; color: #5b6275; background: rgb(255 255 255 / 84%); font-size: 9px; font-weight: 550; line-height: 1.35; white-space: nowrap; }

/* Sechs unabhängige Karten; ihre Grundposition wird beim Resize nur einmal gemessen. */
.uh-card {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: clamp(140px, 12%, 178px);
  margin: 0;
  padding: 11px;
  border: 1px solid var(--uh-line);
  border-radius: 22px;
  background: #ffffff;
  color: var(--uh-ink);
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 25px -12px rgb(11 13 18 / 20%), 0 2px 5px rgb(11 13 18 / 3%);
  will-change: transform;
}
.uh-card.is-hovered, .uh-card:hover, .uh-card:focus-visible { z-index: 20; box-shadow: 0 15px 32px -13px rgb(11 13 18 / 25%), 0 3px 8px rgb(11 13 18 / 4%); }
.uh-card.is-selected, .uh-card[aria-pressed="true"] { border-color: #a9b6ff; }
.uh-card:disabled { cursor: default; opacity: 0.5; }
/* Freie Verteilung über die ganze Hero-Fläche: kein enger seitlicher Kartenstapel. */
.uh-card--pullover { left: 5.2%; top: 1.5%; }
.uh-card--bomberjacke { left: 40%; top: 7%; }
.uh-card--trenchcoat { right: 3%; top: 5%; }
.uh-card--hemd { left: 11%; bottom: 1%; }
.uh-card--blazer { left: 45%; bottom: 3%; }
.uh-card--mantel { right: 3%; bottom: 1%; }
.uh-card__shop { display: block; overflow: hidden; padding: 0 1px; color: var(--uh-muted); font-size: clamp(7px, 0.65vw, 9px); font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.01em; }
.uh-card__photo { display: block; aspect-ratio: 1.45 / 1; margin: 5px 0 7px; overflow: hidden; background: #ffffff; border-radius: 9px; }
.uh-card__image { width: 100%; height: 100%; object-fit: contain; }
.uh-card__details { display: flex; flex-direction: column; gap: 3px; padding: 0 1px; }
.uh-card__name { display: block; font-size: clamp(9px, 0.84vw, 12px); font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; }
.uh-card__price { display: block; color: var(--uh-muted); font-size: clamp(8px, 0.72vw, 10px); font-weight: 550; line-height: 1.4; }
.uh-card__action { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 29px; margin-top: 9px; border: 1px solid #e4e7ee; border-radius: 9px; background: #f5f6f9; color: var(--uh-ink); font-size: clamp(8px, 0.7vw, 10px); font-weight: 750; line-height: 1.2; transform-origin: center; }
.uh-card.is-hovered .uh-card__action, .uh-card:hover .uh-card__action, .uh-card:focus-visible .uh-card__action, .uh-card.is-selected .uh-card__action { color: var(--uh-blue); border-color: #d9dfff; background: #eef1ff; }

.uh-fx { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.uh-cta-fx { position: absolute; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
.uh-auto-cursor { position: absolute; top: 0; left: 0; z-index: 40; width: 28px; height: 34px; opacity: 0; pointer-events: none; transform-origin: 3px 2px; }
.uh-tap-ring { position: absolute; top: 0; left: 0; z-index: 40; display: none; width: 28px; height: 28px; border: 2px solid var(--uh-blue); border-radius: 50%; background: transparent; opacity: 0; pointer-events: none; }
.uh-flight { position: absolute; top: 0; left: 0; z-index: 35; width: 64px; height: 64px; object-fit: contain; padding: 5px; border: 1px solid var(--uh-line); border-radius: 16px; background: #ffffff; box-shadow: 0 4px 15px rgb(11 13 18 / 8%); pointer-events: none; transform-origin: center; }
.uh-scene-footer { position: absolute; top: calc(29% - 50px); left: 52.7%; right: 7.2%; z-index: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 16px; margin: 0; padding-right: 100px; pointer-events: none; }
.uh-scene-hint { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--uh-muted); font-size: 9px; font-weight: 550; line-height: 1.5; }
.uh-hint-pixels { display: grid; grid-template-columns: repeat(2, 3px); gap: 2px; }
.uh-hint-pixels i { display: block; width: 3px; height: 3px; background: var(--uh-blue); }
.uh-hint-pixels i:nth-child(2) { background: #a9b6ff; }
.uh-animation-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 9px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--uh-muted); font-size: 9px !important; font-weight: 600 !important; line-height: 1.4; cursor: pointer; pointer-events: auto; }
.uh-animation-toggle::before { content: ""; display: block; width: 7px; height: 8px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.uh-animation-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; }
.uh-animation-toggle:hover { color: var(--uh-ink); }
.uh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Kurzer, personengebundener Analysezustand zwischen Schockwelle und Outfit-Scan. */
.uh-analysis { position: absolute; top: 56%; left: 50%; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #e4e7ee; border-radius: 10px; background: rgb(255 255 255 / 94%); color: var(--uh-blue); font-size: 10px; font-weight: 700; line-height: 1.3; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.uh-analysis__pixels { display: grid; grid-template-columns: repeat(2, 4px); gap: 2px; }
.uh-analysis__pixels i { width: 4px; height: 4px; background: #3047ff; }
.uh-analysis__pixels i:nth-child(2) { background: #5b72ff; }
.uh-analysis__pixels i:nth-child(3) { background: #a9b6ff; }

@media (min-width: 1480px) {
  .uh-heading { font-size: 68px; }
  .uh-description { font-size: 17px; }
}
/* umkleide.ai: Etwas breitere Textspalte auf grossen Bildschirmen, damit die Überschrift zweizeilig
   bleibt (Englisch ist länger als Deutsch; Deutsch brach bei 68 px ebenfalls um). Bis zur Kamera bleibt Abstand. */
@media (min-width: 1121px) {
  .uh-copy { width: 46%; max-width: 660px; }
  .uh-heading { max-width: 660px; }
}
@media (min-width: 900px) and (max-width: 1120px) {
  .uh-layout { min-height: 980px; }
  .uh-copy { top: 28%; left: 30px; width: 43%; }
  .uh-heading { font-size: clamp(43px, 4.8vw, 54px); }
  .uh-description { font-size: 14px; line-height: 1.8; }
  .uh-eyebrow { font-size: 10px; }
  .uh-cta { padding: 13px 15px; min-height: 48px; font-size: 11px; }
  .uh-cta__icon { width: 16px; height: 16px; }
  .uh-benefits { gap: 7px 11px; }
  .uh-benefits li { font-size: 10px; }
  .uh-stage { left: 53%; right: 3.5%; top: 34%; bottom: auto; }
  .uh-card { padding: 10px; border-radius: 20px; }
  .uh-card--pullover { left: 4%; top: 2%; }
  .uh-card--bomberjacke { left: 42%; top: 7%; }
  .uh-card--trenchcoat { right: 3.5%; top: 2%; }
  .uh-card--hemd { left: 9%; bottom: 1%; }
  .uh-card--blazer { left: 44%; bottom: 2%; }
  .uh-card--mantel { right: 3.5%; bottom: 1%; }
  .uh-card__shop { font-size: 8px; }
  .uh-card__name { font-size: 11px; }
  .uh-card__price { font-size: 10px; }
  .uh-card__action { font-size: 10px; }
  .uh-webcam-header { padding: 0 14px; }
  .uh-live { font-size: 9px; }
  .uh-viewfinder--tl, .uh-viewfinder--bl { left: 10px; }
  .uh-viewfinder--tr, .uh-viewfinder--br { right: 10px; }
  .uh-disclaimer { right: 18px; }
  .uh-analysis { font-size: 9px; gap: 5px; padding: 7px 8px; }
  .uh-scene-footer { top: calc(34% - 50px); bottom: auto; left: 53%; right: 3.5%; padding-right: 0; }
}

/* Mobile: zwei lesbare Produktreihen, dazwischen eine komplett freie Kamera. */
@media (max-width: 899px) {
  .uh-layout { min-height: 0; max-width: 740px; padding: 40px 28px 28px; }
  .uh-copy { position: relative; inset: auto; width: 100%; max-width: none; padding: 0; text-align: center; }
  .uh-eyebrow { margin-bottom: 22px; }
  .uh-heading { max-width: 620px; margin: 0 auto; font-size: clamp(44px, 7.8vw, 66px); line-height: 1.06; }
  .uh-description { max-width: 475px; margin: 22px auto 0; font-size: 15px; line-height: 1.75; }
  .uh-actions { justify-content: center; margin-top: 25px; }
  .uh-benefits { justify-content: center; margin-top: 17px; gap: 8px 15px; }
  .uh-benefits li { font-size: 11px; }
  .uh-experience { position: relative; inset: auto; display: flex; flex-direction: column; width: min(100%, 600px); margin: 26px auto 0; }
  .uh-scene { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; max-height: none; padding: 250px 0; }
  .uh-stage { --uh-webcam-header-height: 40px; position: relative; inset: auto; width: 92%; max-width: 426px; margin: 0 auto; border-radius: 25px; }
  .uh-card { width: 38%; padding: 12px; border-radius: 22px; }
  .uh-card--pullover { left: 5%; top: 0; right: auto; bottom: auto; }
  .uh-card--bomberjacke { right: 3%; top: 10px; left: auto; bottom: auto; }
  .uh-card--trenchcoat { left: 3%; bottom: 10px; right: auto; top: auto; }
  .uh-card--hemd { right: 5%; bottom: 0; left: auto; top: auto; }
  .uh-card--blazer, .uh-card--mantel { display: none; }
  .uh-card__shop { font-size: 10px; }
  .uh-card__photo { aspect-ratio: 2.4 / 1; margin: 6px 0 8px; }
  .uh-card__name { font-size: 12px; }
  .uh-card__price { font-size: 11px; }
  .uh-card__action { font-size: 11px; min-height: 33px; gap: 7px; }
  .uh-auto-cursor { display: none; }
  .uh-tap-ring { display: block; }
  .uh-live { font-size: 10px; }
  .uh-disclaimer { right: 18px; bottom: 18px; translate: none; font-size: 9px; }
  .uh-viewfinder { width: 18px; height: 18px; }
  .uh-viewfinder--tl, .uh-viewfinder--bl { left: 9px; }
  .uh-viewfinder--tr, .uh-viewfinder--br { right: 9px; }
  .uh-scene-footer { position: relative; inset: auto; order: -1; flex: 0 0 auto; margin: 0 0 14px; padding: 0; gap: 4px 14px; }
  .uh-scene-hint, .uh-animation-toggle { font-size: 10px !important; }
  .uh-analysis { font-size: 10px; }
}
@media (max-width: 480px) {
  .uh-layout { padding: 30px 18px 23px; }
  .uh-eyebrow { margin-bottom: 19px; padding: 8px 11px; font-size: 10px; }
  .uh-heading { font-size: clamp(37px, 10.4vw, 48px); }
  .uh-description { max-width: 360px; font-size: 13px; line-height: 1.75; margin-top: 18px; }
  .uh-actions { gap: 8px; margin-top: 21px; }
  .uh-cta { min-height: 48px; padding: 12px 14px; font-size: 11px; border-radius: 12px; }
  .uh-cta--primary { flex: 1 1 100%; max-width: 350px; }
  .uh-cta--secondary { min-height: 44px; padding: 10px 18px; }
  .uh-benefits { gap: 6px 12px; margin-top: 14px; }
  .uh-benefits li { font-size: 10px; }
  .uh-benefits svg { width: 13px; height: 13px; flex-basis: 13px; }
  .uh-experience { margin-top: 21px; }
  .uh-scene { padding: 200px 0; }
  .uh-stage { --uh-webcam-header-height: 36px; width: 98%; border-radius: 22px; }
  .uh-webcam-header { padding: 0 12px; }
  .uh-webcam-label { gap: 5px; font-size: 9px; }
  .uh-webcam-label svg { width: 15px; height: 12px; }
  .uh-card { width: 44%; padding: 10px; border-radius: 20px; }
  .uh-card--pullover { left: 1%; top: 0; }
  .uh-card--bomberjacke { right: 1%; top: 8px; }
  .uh-card--trenchcoat { left: 1%; bottom: 8px; }
  .uh-card--hemd { right: 1%; bottom: 0; }
  .uh-card__shop { font-size: 9px; padding: 0; }
  .uh-card__photo { margin: 4px 0 6px; aspect-ratio: 2.4 / 1; }
  .uh-card__details { gap: 2px; padding: 0; }
  .uh-card__name { font-size: 11px; letter-spacing: -0.025em; }
  .uh-card__price { font-size: 10px; }
  .uh-card__action { min-height: 31px; margin-top: 7px; padding: 0 2px; border-radius: 8px; font-size: 10px; gap: 5px; }
  .uh-card__action svg { width: 12px; height: 12px; }
  .uh-live { gap: 5px; font-size: 9px; }
  .uh-live__dot { width: 4px; height: 4px; }
  .uh-disclaimer { right: 13px; bottom: 15px; font-size: 8px; padding: 3px 4px; }
  .uh-scene-footer { margin: 0 0 14px; }
  .uh-analysis { font-size: 9px; gap: 5px; padding: 7px 8px; }
}

/* JS übernimmt Reduced Motion ebenfalls: keine Autoklicks, nur manuelles kurzes Überblenden. */
@media (prefers-reduced-motion: reduce) {
  .uh-card { will-change: auto; }
  .uh-auto-cursor, .uh-tap-ring, .uh-flight, .uh-fx { visibility: hidden; }
}
