/* WIRZEIT-Referenz auf /referenzen/ – „Präzise Wärme“
   Gestaltungshaltung (nach canvas-design / theme-factory, übersetzt in die DeNo-Sprache):
   Die dokumentarische Präzision von DeNo – Haarlinien, Mono-Etiketten, Bernstein als einzige
   Auszeichnung – fasst das warme Abendlicht von WIRZEIT wie eine Vitrine. Gerät und Telefon liegen
   leicht versetzt übereinander, wie Abzüge in einer Kiste. Einziges Ornament sind die generativen
   „Lebenslinien“ (algorithmic-art, Saat 1958): zwei Fäden, die sich einmal kreuzen und dann
   gemeinsam weiterlaufen. Bewegung nur über transform/opacity (assets/referenzen.js). */

.reference-case--wirzeit {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 42% at 82% 36%, rgba(200,136,74,.085), transparent 72%),
    linear-gradient(180deg, #110e0c 0%, #0d0c0c 62%, #0c0c0d 100%);
}
.reference-case--wirzeit .case-heading > p:last-child { max-width: 700px; }
.reference-case--wirzeit .case-heading h2 { letter-spacing: -.028em; }
.case-status--live { border-color: rgba(105,171,135,.5); color: #91c8a8; }
.case-status--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .55rem;
  border-radius: 50%;
  background: #91c8a8;
  vertical-align: .05em;
}

/* Bühne: Die Lebenslinien laufen als breites Band in die Seite, Browser und Telefon legen sich darüber */
.wz-stage { position: relative; margin: 0 0 6rem; padding: 0; }
.wz-threads {
  position: relative;
  z-index: 0;
  margin: -1rem -24% -9.5rem -5%;
  aspect-ratio: 1200 / 380;
  overflow: hidden;
  pointer-events: none;
}
.wz-threads__inner, .wz-threads img { display: block; width: 100%; height: 100%; }
.wz-devices { position: relative; z-index: 1; padding-right: 14%; }
.wz-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid #39332d;
  border-radius: 10px;
  background: #15110e;
  box-shadow: 0 46px 100px rgba(0,0,0,.5), 0 12px 30px rgba(0,0,0,.28);
}
.wz-browser__bar {
  display: flex;
  align-items: center;
  gap: .42rem;
  height: 34px;
  padding: 0 .9rem;
  border-bottom: 1px solid #2a2622;
  background: #1a1613;
}
.wz-browser__bar > i { width: 7px; height: 7px; border-radius: 50%; background: #3e3833; }
.wz-browser__url {
  margin: 0 auto;
  padding: .18rem 1rem;
  border-radius: 99px;
  background: #100e0c;
  color: #9d958c;
  font: 500 .64rem/1.5 "Geist Mono", monospace;
  letter-spacing: .05em;
  transform: translateX(-1.4rem);
}
.wz-browser video, .wz-phone video { display: block; width: 100%; height: auto; background: #15110e; }
.wz-browser video { aspect-ratio: 1152 / 720; }
.wz-phone {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -3rem;
  width: 24%;
  min-width: 150px;
  padding: 7px;
  border: 1px solid #4a433c;
  border-radius: 32px;
  background: #0b0a09;
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 0 0 6px rgba(200,136,74,.035);
}
.wz-phone video { aspect-ratio: 390 / 844; border-radius: 25px; }
.wz-stage__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: calc(76% - 1.5rem);
  margin-top: 1.4rem;
}
.wz-stage__note, .wz-media figcaption {
  margin: 0;
  color: #817d78;
  font: 500 .65rem/1.6 "Geist Mono", monospace;
  letter-spacing: .04em;
}
.wz-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 .9rem;
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  background: rgba(12,12,13,.6);
  color: #c4bfb8;
  font: 600 .62rem/1 "Geist Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.wz-toggle:hover { border-color: rgba(200,136,74,.6); color: var(--amber-hi); }
.wz-toggle:focus-visible, .wz-film__play:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 4px; }
.wz-toggle__icon { position: relative; width: 9px; height: 10px; }
.wz-toggle__icon::before, .wz-toggle__icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  background: currentColor;
}
.wz-toggle__icon::before { left: 0; }
.wz-toggle__icon::after { right: 0; }
.wz-toggle[data-state="paused"] .wz-toggle__icon::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent currentColor;
  background: none;
}
.wz-toggle[data-state="paused"] .wz-toggle__icon::after { display: none; }

/* Leistungen */
.wz-ledger { margin: 0 0 5rem; padding: 0; border-top: 1px solid var(--amber); list-style: none; }
.wz-ledger li {
  display: grid;
  grid-template-columns: 56px minmax(170px, .62fr) minmax(0, 1.38fr);
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--border-hi);
}
.wz-ledger li > span { color: var(--amber); font: 500 .66rem/1 "Geist Mono", monospace; letter-spacing: .08em; }
.wz-ledger h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.wz-ledger p { margin: 0; color: #a39e98; font-size: .93rem; line-height: 1.7; }

/* Film + Instagram */
.wz-media {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, .74fr);
  gap: 1.4rem;
  align-items: end;
  margin: 0 0 5.5rem;
}
.wz-media figure { margin: 0; min-width: 0; }
.wz-film__frame, .wz-insta__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #39332d;
  border-radius: 8px;
  background: #15110e;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.wz-film__frame { aspect-ratio: 16 / 9; }
.wz-film__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
}
.wz-film__play img, .wz-insta__frame img, .wz-film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.wz-film__video { background: #000; }
.wz-film__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(12,10,9,.62));
  transition: opacity .4s ease;
}
.wz-film__cta {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.4rem);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font: 600 .7rem/1 "Geist Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.wz-film__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(240,237,232,.55);
  border-radius: 50%;
  background: rgba(12,12,13,.38);
  backdrop-filter: blur(6px);
  transition: transform .45s var(--ease), background .3s ease, border-color .3s ease;
}
.wz-film__icon::before {
  content: "";
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent currentColor;
}
.wz-film__play:hover .wz-film__icon { transform: scale(1.08); background: var(--amber); border-color: var(--amber); color: var(--ink); }
.wz-insta__frame { aspect-ratio: 720 / 977; }
.wz-media figcaption { margin-top: .9rem; }

/* Kennzahlen */
.wz-proof__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.wz-proof__head p { margin: 0; }
.wz-proof__head p:last-child { color: #77736e; font: 500 .64rem/1.5 "Geist Mono", monospace; letter-spacing: .04em; }
.wz-scores { margin: 0 0 1.6rem; }
.wz-scores dt { font-variant-numeric: tabular-nums; }

@media (max-width: 940px) {
  .wz-devices { padding-right: 10%; }
  .wz-stage__foot { max-width: calc(80% - 1.5rem); }
  .wz-threads { margin-bottom: -8rem; }
}

@media (max-width: 700px) {
  .wz-stage { margin-bottom: 4.5rem; }
  .wz-threads { margin: -.5rem -46% -4.2rem -4%; }
  .wz-devices { padding-right: 20%; }
  .wz-browser { border-radius: 7px; }
  .wz-browser__bar { height: 26px; gap: .3rem; padding: 0 .6rem; }
  .wz-browser__bar > i { width: 5px; height: 5px; }
  .wz-browser__url { font-size: .56rem; padding: .1rem .7rem; transform: none; }
  .wz-phone { width: 36%; min-width: 0; bottom: -2.4rem; padding: 4px; border-radius: 20px; }
  .wz-phone video { border-radius: 16px; }
  .wz-stage__foot { flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: 3.4rem; }
  .wz-ledger li { grid-template-columns: 36px minmax(0, 1fr); gap: .5rem 1rem; padding: 1.25rem 0; }
  .wz-ledger p { grid-column: 2; }
  .wz-media { grid-template-columns: 1fr; gap: 2.4rem; }
  .wz-insta { max-width: 320px; }
  .wz-proof__head { flex-direction: column; gap: .2rem; }
}
