/* =====================================================================
   Media Thresher – Produktseite (Beta)
   Ergänzt styles.css. Eingebunden nur von media-thresher.html und
   en/media-thresher.html. Keine externen Abhängigkeiten.
   Hinweis: deploy.py versioniert bisher nur styles.css und script.js –
   für Cache-Busting "media-thresher.css" in VERSIONED aufnehmen.
   ===================================================================== */

/* Phones: 16px Seitenrand (übrige Seiten: min. 20px über --margin) */
@media (max-width: 480px) {
  :root { --margin: 16px; }
}

/* Anker nicht unter dem Sticky-Header verstecken */
html { scroll-padding-top: 88px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.mt-hero .grid { align-items: center; row-gap: 56px; }
.mt-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.mt-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mt-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--band-muted);
}
/* „Beta“ hinter einem Werkzeug (Orte, Dateidatum), wie in der App. */
.mt-tool .mt-pill {
  margin-left: 10px;
  vertical-align: 0.2em;
  font-size: 0.62rem;
  color: var(--accent);
}
/* Das App-Symbol, als CSS gezeichnet. Die App zeichnet dieselbe Form
   (Tools/MakeIcon/main.swift im Projekt media-thresher). Seit 8.10.2026
   fällt die vierte Kachel heraus; das reine 2×2-Raster glich zu sehr dem
   SF Symbol „square.grid.2x2.fill“. */
.mt-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 9px;
  background: var(--accent);
  flex: none;
}
.mt-icon i { background: rgba(255, 255, 255, 0.95); border-radius: 2px; }
/* Die vierte Kachel kippt aus dem Raster und fällt heraus (Entwurf „Fallende
   Kachel“). Dieselben Maße wie im App-Symbol: versetzt um 46/58 von 904,
   gedreht um 17 Grad, 55 % Weiß. */
.mt-icon i:nth-child(4) {
  background: rgba(255, 255, 255, 0.55);
  transform: translate(1.8px, 2.3px) rotate(17deg);
}

.mt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--band-muted);
}
.mt-meta li { display: inline-flex; align-items: center; gap: 8px; }
.mt-meta li::before { content: ""; width: 5px; height: 5px; background: currentColor; opacity: 0.6; }

.mt-note { font-size: 0.9rem; color: var(--muted); }
.band.ink .mt-note { color: var(--band-muted); }
.mt-note a { color: inherit; text-underline-offset: 3px; }
.mt-note a:hover { color: var(--band-text); }
.mt-pending { display: inline-flex; align-items: baseline; gap: 10px; }
.mt-pending::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9a93c;
  flex: none;
  transform: translateY(-1px);
}

/* ---------- Illustrationen (schematisch, keine Screenshots) ---------- */
.mt-shot { width: 100%; max-width: 560px; margin-inline: auto; }

.mt-window {
  background: #ffffff;
  color: var(--text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.3;
}
.mt-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding-inline: 12px;
  background: #eef1f5;
  border-bottom: 1px solid #dde2e8;
}
.mt-titlebar i { width: 10px; height: 10px; border-radius: 50%; background: #c6cdd6; }
.mt-titlebar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.mt-app { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
.mt-side {
  display: grid;
  gap: 2px;
  align-content: start;
  padding: 12px 8px;
  background: #f5f7fa;
  border-right: 1px solid #e3e7ec;
}
.mt-side span { padding: 5px 8px; border-radius: 5px; color: #4a5565; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-side .on { background: #dfe8f7; color: var(--ink); font-weight: 500; }
.mt-main { display: grid; gap: 10px; align-content: start; padding: 14px; min-width: 0; }
.mt-main-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; }
.mt-main-head b { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink); }
.mt-main-head small { font-family: var(--mono); font-size: 9.5px; color: var(--muted); }
.mt-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  margin-bottom: 4px;
}
.mt-cand { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mt-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #f1f3f6;
}
.mt-cand.keep .mt-slot { box-shadow: 0 0 0 2px var(--accent); }
.mt-cand .meta {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-keep, .mt-drop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.mt-keep { background: var(--accent); color: #ffffff; }
.mt-keep::before {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}
.mt-drop { background: #eef1f5; color: var(--muted); }

/* Abstrakte Bildkachel: Himmel, Sonne, Hügel – per Variablen eingefärbt */
.mt-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky, #c9d7ee), var(--sky2, #e8eef7));
}
.mt-tile::before {
  content: "";
  position: absolute;
  top: 16%;
  right: 18%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun, #f6f8fc);
}
.mt-tile::after {
  content: "";
  position: absolute;
  inset: 42% 0 0 0;
  background: var(--hill, #7b95bc);
  clip-path: polygon(0 62%, 20% 22%, 38% 52%, 60% 6%, 100% 66%, 100% 100%, 0 100%);
}
.mt-t2 { --sky: #ddd5c6; --sky2: #f1ece3; --sun: #fbf8f1; --hill: #8f8a78; }
.mt-t3 { --sky: #c3d6d1; --sky2: #e6efec; --sun: #f5faf8; --hill: #5f8079; }
.mt-dark { --sky: #3a4555; --sky2: #2a323f; --sun: #586273; --hill: #1b212b; }
.mt-bright { --sky: #f6f8fb; --sky2: #ffffff; --sun: #ffffff; --hill: #e2e8f0; }
.mt-s70 { width: 70%; }
.mt-s48 { width: 48%; }
.mt-blur { filter: blur(1.4px); }
.mt-doc { background: #ffffff; box-shadow: inset 0 0 0 1px #e3e7ec; }
.mt-doc::before {
  inset: 18% 20% auto 20%;
  width: auto;
  height: 60%;
  aspect-ratio: auto;
  border-radius: 0;
  background: repeating-linear-gradient(180deg, #c9d0d9 0 2px, transparent 2px 9px);
}
.mt-doc::after { display: none; }

/* Qualität: Schieberegler + Treffer */
.mt-figure { display: grid; gap: 12px; margin: 8px 0 0; max-width: 560px; }
.mt-figure figcaption { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--muted); }
.mt-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 18px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.3;
}
.mt-sliders { display: grid; gap: 14px; align-content: start; }
.mt-slider { display: grid; gap: 7px; color: var(--text); }
.mt-slider span { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.mt-slider span b { font-family: var(--mono); font-weight: 400; color: var(--muted); }
.mt-slider i {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 var(--v, 50%), #dfe4ea var(--v, 50%));
}
.mt-slider i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--v, 50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px #c6cdd6, 0 1px 3px rgba(13, 27, 40, 0.25);
  transform: translate(-50%, -50%);
}
.mt-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.mt-thumb { position: relative; min-width: 0; }
.mt-thumb em {
  position: absolute;
  left: 4px;
  bottom: 4px;
  max-width: calc(100% - 8px);
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(13, 27, 40, 0.84);
  color: #ffffff;
  font: 500 9px/1.5 var(--mono);
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-thumb.flag .mt-tile { box-shadow: 0 0 0 2px #d9a93c; }

/* Ausrichten: Original → Vorschau */
.mt-ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 420px;
}
.mt-ba-item { display: grid; gap: 6px; min-width: 0; }
.mt-ba-item span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.mt-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #121c27;
}
.mt-frame .mt-tile { border-radius: 0; }
.mt-frame.bars .mt-tile { width: 78%; transform: rotate(-5deg); }
.mt-ba-arrow { font-family: var(--mono); color: var(--muted); }

/* ---------- Symbole (Funktionen, Ausgangslage) ----------
   Inline-SVG aus Lucide 1.53.0 (https://lucide.dev), ISC-Lizenz:
   Copyright (c) 2026 Lucide Icons and Contributors. Permission to use, copy,
   modify, and/or distribute this software for any purpose with or without fee
   is hereby granted, provided that the above copyright notice and this
   permission notice appear in all copies.
   „triangle-alert“ stammt aus Feather, MIT-Lizenz, Copyright (c) 2013-present
   Cole Bemis.
   Bewusst keine SF Symbols: Apples Lizenz erlaubt sie nur auf Apple-Plattformen.
   Die Funktionen tragen dieselben Motive wie die Seitenleiste der App
   (Section.icon in Sources/MediaThresher/Model/AppState.swift). */
.mt-idx,
.mt-pain-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 107, 214, 0.09);
  color: var(--accent);
  flex: none;
}
.mt-idx svg,
.mt-pain-icon svg { width: 22px; height: 22px; }
/* Funktionen: Symbol links neben dem Titel, in derselben Zeile */
.mt-tool { display: flex; align-items: center; gap: 14px; align-self: start; }
.mt-tool .mt-idx { width: 40px; height: 40px; }

/* ---------- Ausgangslage: sechs Beobachtungen als Karten ---------- */
.mt-pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}
.mt-pains li {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #f7f9fb;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
@media (max-width: 960px) {
  .mt-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mt-pains { grid-template-columns: 1fr; gap: 12px; }
  .mt-pains li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 18px 20px;
  }
  .mt-pain-icon { width: 40px; height: 40px; }
  .mt-pains li > span:last-child { padding-top: 7px; }
}

/* ---------- Quellen ---------- */
.mt-src svg { width: 28px; height: 28px; color: var(--ink); }

/* ---------- FAQ ---------- */
.mt-faq { border-top: 1px solid var(--rule-strong); }
.mt-faq details { border-bottom: 1px solid var(--rule); }
.mt-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
}
.mt-faq summary::-webkit-details-marker { display: none; }
.mt-faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--muted);
}
.mt-faq details[open] > summary::after { content: "–"; }
.mt-faq summary h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.3;
}
.mt-faq summary:hover h3 { color: var(--accent); }
.mt-faq .answer { display: grid; gap: 12px; max-width: 62ch; padding-bottom: 26px; color: var(--muted); }
.mt-faq .answer a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Beta (dunkles Band) ---------- */
.mt-aside { grid-column: 8 / span 5; align-self: start; }
.mt-specs { display: grid; margin: 0; border-top: 1px solid var(--band-rule); }
.mt-specs > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 4px 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--band-rule);
}
.mt-specs dt {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.mt-specs dd { margin: 0; font-size: 0.97rem; color: var(--band-text); overflow-wrap: anywhere; }
.mt-specs dd small { display: block; font-size: 0.88rem; color: var(--band-muted); }
.mt-specs a { color: inherit; text-underline-offset: 3px; }

.mt-asks { margin-top: clamp(56px, 7vw, 88px); }
.mt-asks > h3 { margin-bottom: 28px; }
.band.ink .mt-cols > div { border-top-color: var(--band-rule); }
.band.ink .mt-cols p { color: var(--band-muted); }

.mt-fine { font-size: 0.88rem; color: var(--muted); max-width: 72ch; }
.band.ink .mt-fine { color: var(--band-muted); }
.mt-finebox { display: grid; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--band-rule); }
.mt-finebox .mt-fine:last-child { font-size: 0.8rem; }
/* Die beiden Absätze am Fuß des Beta-Bands nutzen die volle Breite des Inhalts. */
.mt-finebox .mt-fine { max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .mt-aside { grid-column: span 12; }
}
@media (max-width: 560px) {
  .mt-app { grid-template-columns: 1fr; }
  .mt-side { display: none; }
  .mt-main { padding: 10px; }
  .mt-group { gap: 6px; padding: 8px; }
  .mt-panel { grid-template-columns: 1fr; }
  .mt-specs > div { grid-template-columns: 1fr; }
}

/* Unterpunkte im Beta-Band (h4 unter „Darauf kommt es uns an“) */
.mt-cols h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.band.ink .mt-cols h4 { color: var(--band-text); }

/* Zweite Hinweiszeile unter „Download folgt“ bündig zum Text nach dem Punkt */
.mt-note + .mt-note { margin-top: -8px; padding-left: 18px; }

/* ---------- Praxisbeispiel ---------- */
.mt-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  border-top: 1px solid var(--rule-strong);
}
.mt-stat { display: grid; gap: 6px; align-content: start; padding-top: 22px; }
.mt-stat b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mt-stat span { color: var(--text); }
.mt-stat small { font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.mt-stat.hl b { color: var(--accent); }
.mt-stand { margin-top: 28px; }
@media (max-width: 960px) {
  .mt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 480px) {
  .mt-stats { grid-template-columns: 1fr; row-gap: 0; border-top: 0; }
  .mt-stat { padding-block: 18px; border-top: 1px solid var(--rule); }
  .mt-stat:first-child { border-top-color: var(--rule-strong); }
}

/* ---------- Video umwandeln (schematisch) ---------- */
.mt-conv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 480px;
}
.mt-file {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.mt-file b {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: anywhere;
}
.mt-file span { font-size: 0.85rem; color: var(--muted); }
.mt-file.new { border-color: var(--accent); }
.mt-file.new span:last-child { color: var(--accent); font-weight: 500; }

/* ---------- Zeitersparnis im Praxisbeispiel ---------- */
.mt-time {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 40px;
}
.mt-time-item {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
}
.mt-time-item small {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mt-time-item b {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mt-time-item span { color: var(--muted); }
.mt-time-item.hl { border-color: var(--accent); }
.mt-time-item.hl b { color: var(--accent); }
.mt-calc { margin-top: 20px; }
.mt-calc summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 500;
  width: fit-content;
}
.mt-calc summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mt-calc-table { overflow-x: auto; margin: 14px 0 10px; }
.mt-calc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; }
.mt-calc th, .mt-calc td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mt-calc th { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mt-calc td:last-child, .mt-calc th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-calc td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.mt-calc tfoot td { font-weight: 600; border-bottom: 0; }
@media (max-width: 720px) {
  .mt-time { grid-template-columns: 1fr; }
}

/* Abschnittsköpfe mit Text rechts: Der Text endet auf Höhe der letzten Zeile
   der Überschrift links, statt oben bündig zu stehen. Auf dem Telefon stehen
   beide untereinander, dort wirkt das nicht. */
.grid.mt-head { align-items: last baseline; }

/* Echte Screenshots aus der Demo-Sammlung (statt Schemazeichnungen) */
.mt-real img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); background: #fff; }
.mt-ba.mt-real { align-items: center; }
.mt-ba.mt-real img { aspect-ratio: 3 / 2; object-fit: cover; object-position: center 70%; }
.mt-guide { position: relative; }
.mt-guide::after { content: ""; position: absolute; left: 0; right: 0; top: calc((100% - 22px) * 0.72); height: 1px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 .5px rgba(0,0,0,.3); pointer-events: none; }

/* Erklärvideo im Kopf, Klick öffnet es groß */
.mt-video { position: relative; margin: 0; }
.mt-video video { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); background: #0d1b28; }
.mt-video-open { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #0d1b28; font: 600 0.95rem/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.mt-video-open svg { width: 18px; height: 18px; }
.mt-video-open span { font-weight: 400; color: #5a6675; }
.mt-video-open:hover { background: #fff; }
.mt-video-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mt-lightbox { width: min(1280px, 94vw, calc(84vh * 16 / 9)); max-width: none; padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.mt-lightbox::backdrop { background: rgba(5, 12, 20, .82); }
.mt-lightbox video { display: block; width: 100%; height: auto; border-radius: 12px; }
.mt-lightbox-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #0d1b28; font-size: 22px; line-height: 36px; cursor: pointer; }

/* Erklärvideo groß vor den Werkzeugen */
.mt-video-wide { margin: 0 0 56px; display: grid; gap: 12px; }
.mt-video-wide video { display: block; width: 100%; height: auto; border-radius: 12px; background: #0d1b28; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); }
.mt-video-wide figcaption { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--muted); }
.mt-video-wide-frame { position: relative; }
.mt-video-wide video { aspect-ratio: 16 / 9; object-fit: cover; }
.mt-video-play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #0d1b28; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.4); display: grid; place-items: center; }
.mt-video-play svg { width: 40px; height: 40px; margin-left: 6px; }
.mt-video-play:hover { background: #fff; transform: scale(1.04); }
.mt-video-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mt-video-wide.playing .mt-video-play { display: none; }
