/* ================================================
   Wall-Check – Dark Mode Stylesheet
   ================================================ */

:root {
  --bg:          #0d0d12;
  --surface:     #16161f;
  --surface2:    #1e1e2a;
  --border:      rgba(255,255,255,0.08);
  --border2:     rgba(255,255,255,0.12);
  --accent:      #6c63ff;
  --accent-hover:#7c74ff;
  --accent-dim:  rgba(108,99,255,0.15);
  --text:        #f0f0f5;
  --text2:       #9898b0;
  --text3:       #5a5a72;
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.12);
  --yellow:      #f59e0b;
  --yellow-dim:  rgba(245,158,11,0.12);
  --red-dim:     rgba(239,68,68,0.12);
}

.dqc-app {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text);
}

/* Steps */
.dqc-step { display: block; }
.dqc-step.hidden { display: none !important; }
.dqc-step.is-active { display: block; }

/* ── Card ── */
.dqc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}
.dqc-card-head {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px;
}
.dqc-card-head h2 {
  margin: 0 0 4px; font-size: 1.3rem; font-weight: 700;
  letter-spacing: -.025em; color: var(--text);
}
.dqc-card-head p { margin: 0; font-size: .875rem; color: var(--text2); }

.dqc-step-badge {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  box-shadow: 0 0 20px rgba(108,99,255,0.4);
}

/* ── Drop-Zone ── */
.dqc-dropzone {
  border: 1.5px dashed var(--border2);
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  background: var(--surface2);
  cursor: pointer;
  transition: border-color .18s, background .18s;
  margin-bottom: 20px;
  position: relative;
}
.dqc-dropzone:hover,
.dqc-dropzone.drag-over { border-color: var(--accent); background: var(--accent-dim); }
.dqc-dz-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.dqc-dz-icon { width: 48px; height: 48px; color: var(--accent); opacity: .85; }
.dqc-dz-icon svg { width: 100%; height: 100%; }
.dqc-dz-text { display: flex; flex-direction: column; gap: 4px; }
.dqc-dz-text strong { font-size: 1rem; color: var(--text); }
.dqc-dz-text span   { font-size: .82rem; color: var(--text2); }
.dqc-dz-formats     { font-size: .78rem !important; color: var(--text3) !important; }

.dqc-file-chip {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); color: var(--accent);
  font-size: .85rem; font-weight: 600;
  padding: 7px 14px; border-radius: 20px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Progress ── */
.dqc-progress-wrap {
  margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px;
}
.dqc-prog-bar {
  height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden;
}
#dqc-prog-fill {
  height: 100%; background: var(--accent);
  border-radius: 2px; width: 0; transition: width .3s;
}
#dqc-prog-label { font-size: .8rem; color: var(--text2); }

/* ── Alerts ── */
.dqc-alert {
  border-radius: 10px; padding: 12px 16px;
  font-size: .875rem; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.dqc-alert.hidden { display: none !important; }
.dqc-alert-error  { background: var(--red-dim); border: 1px solid rgba(239,68,68,0.2); color: #f87171; }
.dqc-alert-warn   { background: var(--yellow-dim); border: 1px solid rgba(245,158,11,0.2); color: #fbbf24; }
.dqc-ratio-notice { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Image Info Bar ── */
.dqc-img-info-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface2); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 20px;
}
.dqc-ib-thumb {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--border);
}
.dqc-ib-meta { display: flex; flex-direction: column; gap: 2px; }
.dqc-ib-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.dqc-ib-px   { font-size: .8rem; color: var(--text2); }
.dqc-ib-meta span { font-size: .78rem; color: var(--text3); }

/* ── Dimension Row ── */
.dqc-dim-row {
  display: flex; align-items: flex-end; gap: 12px; margin-bottom: 20px;
}
.dqc-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dqc-field label { font-size: .8rem; font-weight: 600; color: var(--text2); letter-spacing: .04em; text-transform: uppercase; }
.dqc-field input {
  padding: 11px 14px; background: var(--surface2);
  border: 1.5px solid var(--border2); border-radius: 10px;
  font-size: .95rem; color: var(--text); outline: none;
  transition: border-color .15s;
}
.dqc-field input:focus { border-color: var(--accent); }
.dqc-field-sep { font-size: 1.2rem; color: var(--text3); padding-bottom: 11px; }

/* ── Buttons ── */
.dqc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .15s; text-decoration: none;
}
.dqc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.dqc-btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.dqc-btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 24px rgba(108,99,255,0.5); }
.dqc-btn-primary:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.dqc-btn-secondary {
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border2);
}
.dqc-btn-secondary:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.dqc-btn-ghost {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border);
  font-size: .85rem; padding: 9px 16px;
}
.dqc-btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.dqc-btn-sm { font-size: .8rem; padding: 8px 14px; margin-top: 10px; }

/* ── Quality Banner ── */
.dqc-quality-banner {
  border-radius: 14px; padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px; border: 1px solid transparent;
}
.dqc-quality-banner.good {
  background: var(--green-dim); border-color: rgba(34,197,94,0.2);
}
.dqc-quality-banner.warn {
  background: var(--yellow-dim); border-color: rgba(245,158,11,0.2);
}
.dqc-qb-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.dqc-qb-title { margin: 0 0 4px; font-weight: 700; font-size: 1rem; color: var(--text); }
.dqc-qb-text  { margin: 0; font-size: .85rem; color: var(--text2); }

/* ── Metrics Grid ── */
.dqc-metrics-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 10px; margin-bottom: 20px;
}
@media (max-width: 640px) { .dqc-metrics-grid { grid-template-columns: repeat(2,1fr); } }
.dqc-metric {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px;
}
.dqc-metric.ok   { border-color: rgba(34,197,94,0.2); }
.dqc-metric.warn { border-color: rgba(245,158,11,0.2); }
.dqc-metric.bad  { border-color: rgba(239,68,68,0.2); }
.dqc-m-label { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.dqc-m-val   { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.dqc-m-sub   { font-size: .75rem; color: var(--text2); }

/* ── Preview Section ── */
.dqc-preview-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; margin-bottom: 20px;
  /* kein overflow:hidden – SVG-Labels müssen nach unten sichtbar sein */
}
.dqc-preview-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dqc-preview-head h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text); }
.dqc-preview-hint    { font-size: .8rem; color: var(--text3); }




/* ── Crop Overlay ── */
.dqc-crop-overlay {
  position: absolute; inset: 0; pointer-events: none;
}
.dqc-shadow {
  position: absolute; background: rgba(0,0,0,0.55); pointer-events: none;
}
.dqc-shadow-top    { top:0; left:0; right:0; }
.dqc-shadow-bottom { left:0; right:0; bottom:0; }
.dqc-shadow-left   { left:0; }
.dqc-shadow-right  { right:0; }

.dqc-crop-rect {
  position: absolute; border: 2px solid #ff7c2a;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.45);
  cursor: move; pointer-events: all;
}
.dqc-crop-rect.proportional-ok { border-color: #22c55e; }
.dqc-crh {
  position: absolute; width: 11px; height: 11px;
  background: #ff7c2a; border-radius: 2px;
}
.dqc-crop-rect.proportional-ok .dqc-crh { background: #22c55e; }
.dqc-crh-tl { top:-5px; left:-5px; } .dqc-crh-tr { top:-5px; right:-5px; }
.dqc-crh-bl { bottom:-5px; left:-5px; } .dqc-crh-br { bottom:-5px; right:-5px; }
.dqc-crh-tc { top:-5px; left:50%; transform:translateX(-50%); }
.dqc-crh-bc { bottom:-5px; left:50%; transform:translateX(-50%); }
.dqc-crh-lc { left:-5px; top:50%; transform:translateY(-50%); }
.dqc-crh-rc { right:-5px; top:50%; transform:translateY(-50%); }

/* ── Crop Info ── */
.dqc-crop-info { margin-top: 10px; min-height: 28px; }
.dqc-ci-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600;
}
.dqc-ci-ok   { background: var(--green-dim); color: var(--green); }
.dqc-ci-warn { background: var(--yellow-dim); color: var(--yellow); }

/* ── Confirm / Action Buttons ── */
.dqc-confirm-wrap { margin-top: 16px; }
.dqc-action-btns  { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ── Material / Bahnen ── */
.dqc-material-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; flex-wrap: wrap;
}
.dqc-material-label {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--text2);
  white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
}
.dqc-material-select {
  padding: 9px 14px; border: 1.5px solid var(--border2);
  border-radius: 10px; font-size: .875rem;
  color: var(--text); background: var(--surface2);
  outline: none; cursor: pointer; transition: border-color .15s; flex: 1;
}
.dqc-material-select:focus { border-color: var(--accent); }
.dqc-material-select option { background: var(--surface2); }

/* Bahnen-SVG über Canvas */
.dqc-bahn-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  /* Breite/Höhe wird per JS gesetzt – KEIN inset:0 */
}

/* Bahn-Labels unter Canvas – keine abgerundeten Ecken oben */
.dqc-bahn-labels {
  display: none;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  /* Breite = Breite des Canvas (inline-block) über display:flex am Elternteil */
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}
.dqc-bahn-labels.visible { display: flex; }
.dqc-bahn-label {
  font-size: 10px; font-weight: 500; color: var(--text2);
  text-align: center; padding: 5px 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-right: 1px solid var(--border);
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
}
.dqc-bahn-label:last-child { border-right: none; }

/* ── Footer ── */
.dqc-footer-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}
.dqc-privacy {
  font-size: .78rem; color: var(--text3); text-align: center; margin: 0;
}

/* Hidden util */
.hidden { display: none !important; }

/* ── Two-Column Layout ── */
.dqc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}
@media (max-width: 700px) {
  .dqc-two-col { grid-template-columns: 1fr; }
}
.dqc-col-left { min-width: 0; }
.dqc-col-left .dqc-preview-section { overflow: visible; }

.dqc-canvas-wrap {
  position: relative;
  display: block;
  overflow: visible;
}
#dqc-canvas {
  display: block;
  border-radius: 0;
  max-width: 100%;
  height: auto;
}
.dqc-canvas-scroll { overflow: visible; width: 100%; }
.dqc-col-left { min-width: 0; overflow: hidden; }
.dqc-col-left .dqc-preview-section { overflow: visible; }
.dqc-col-right { min-width: 0; }
.dqc-col-right .dqc-preview-section { height: 100%; box-sizing: border-box; }

/* ── Lupe Panel ── */
.dqc-lupe-panel { display: flex; flex-direction: column; }

.dqc-lupe-placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 32px 20px;
  color: var(--text3); text-align: center;
}
.dqc-lupe-placeholder svg { width: 64px; height: 64px; }
.dqc-lupe-placeholder p { font-size: .85rem; line-height: 1.6; margin: 0; max-width: 220px; }

.dqc-lupe-instruction {
  font-size: .8rem; color: var(--text2); margin: 0 0 10px;
}

.dqc-lupe-preview-wrap { margin-bottom: 12px; }

.dqc-lupe-img-wrap {
  position: relative; display: inline-block;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); cursor: crosshair;
  width: 100%;
}
.dqc-lupe-img-wrap img {
  display: block; width: 100%; height: auto;
  border-radius: 8px;
}
.dqc-lupe-crosshair {
  position: absolute; pointer-events: none;
  display: none; width: 0; height: 0;
}
.dqc-lupe-crosshair::before,
.dqc-lupe-crosshair::after {
  content: ''; position: absolute; background: rgba(108,99,255,0.9);
}
.dqc-lupe-crosshair::before { width: 1px; height: 40px; left: 0; top: -20px; }
.dqc-lupe-crosshair::after  { width: 40px; height: 1px; left: -20px; top: 0; }

/* Lupe Result */
.dqc-lupe-result { }
.dqc-lupe-result-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.dqc-lupe-result-label {
  font-size: .75rem; font-weight: 600; color: var(--text2);
  text-transform: uppercase; letter-spacing: .05em;
}
.dqc-lupe-img-result-wrap {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface2);
  min-height: 120px; display: flex; align-items: center; justify-content: center;
}
.dqc-lupe-img-result-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Verhindert Streckung bei quadratischen Bildern */
  object-fit: contain;
}
.dqc-lupe-loader {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 32px; color: var(--text3); font-size: .85rem;
}
.dqc-spinner {
  width: 28px; height: 28px; border: 2px solid var(--border2);
  border-top-color: var(--accent); border-radius: 50%;
  animation: dqc-spin .7s linear infinite;
}
@keyframes dqc-spin { to { transform: rotate(360deg); } }

/* ── Lupe-Ring (Kreis-Cursor über Canvas) ── */
.dqc-lupe-ring {
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid rgba(108,99,255,0.9);
  border-radius: 50%;
  pointer-events: none;
  display: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(0,0,0,0.2);
  transition: opacity .1s;
}
.dqc-lupe-ring::before {
  content: '';
  position: absolute;
  width: 1px; height: 20px;
  background: rgba(108,99,255,0.9);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.dqc-lupe-ring::after {
  content: '';
  position: absolute;
  width: 20px; height: 1px;
  background: rgba(108,99,255,0.9);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
/* Canvas bekommt Crosshair-Cursor nach Bestätigung */
.dqc-canvas-lupe-active { cursor: none !important; }

/* ── Logo ── */
.dqc-logo-wrap {
  margin-bottom: 20px;
}
.dqc-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* ── Export + Bahnen in einer Zeile ── */
.dqc-export-bahn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dqc-material-inline {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.dqc-material-inline.hidden { display: none !important; }
.dqc-material-inline:not(.hidden) { display: flex; }
.dqc-material-inline .dqc-material-select {
  flex: 1;
  min-width: 0;
}

/* ── Disclaimer ── */
.dqc-disclaimer {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.dqc-disclaimer-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .82rem;
  color: var(--text2);
  line-height: 1.5;
}
.dqc-disclaimer-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Labels-Box immer genau so breit wie Canvas via JS canvas.style.width */
.dqc-canvas-scroll .dqc-bahn-labels {
  /* Breite wird per JS auf canvas.style.width gesetzt */
}

/* ══════════════════════════════════════════
   UX v3.2 – Schritt-A/B-Führung
   ══════════════════════════════════════════ */

/* Canvas breiter */
.dqc-canvas-scroll { max-width: 100%; }
#dqc-canvas { max-width: 100%; }

/* Schritt-Indikator (A / B) */
.dqc-step-indicator {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.dqc-step-mini-badge {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  box-shadow: 0 0 14px rgba(108,99,255,0.45);
  transition: all .3s;
}
.dqc-step-mini-badge--dim {
  background: var(--surface2);
  color: var(--text3);
  box-shadow: none;
}
.dqc-step-indicator-title {
  font-size: .95rem; font-weight: 700; color: var(--text);
  margin-bottom: 2px;
}
.dqc-step-indicator-hint {
  font-size: .78rem; color: var(--text3);
}

/* Bestätigen-Button: groß, leuchtend, pulsierend */
.dqc-btn-confirm {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #ff7c2a, #ff5a00);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(255,124,42,0.45), 0 0 0 0 rgba(255,124,42,0.4);
  animation: dqc-pulse-confirm 2s ease-in-out infinite;
  transition: box-shadow .15s, transform .1s;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px;
  text-decoration: none;
}
.dqc-btn-confirm svg { width: 20px; height: 20px; flex-shrink: 0; }
.dqc-btn-confirm:hover {
  animation: none;
  box-shadow: 0 6px 28px rgba(255,124,42,0.6);
  transform: translateY(-1px);
}
@keyframes dqc-pulse-confirm {
  0%, 100% { box-shadow: 0 4px 24px rgba(255,124,42,0.45), 0 0 0 0 rgba(255,124,42,0.3); }
  50%       { box-shadow: 0 4px 24px rgba(255,124,42,0.45), 0 0 0 8px rgba(255,124,42,0); }
}

/* dqc-confirm-wrap */
.dqc-confirm-wrap { margin-top: 4px; }

/* dqc-action-btns */
.dqc-action-btns {
  display: flex; flex-direction: column; gap: 12px; margin-top: 14px;
}
.dqc-action-btns.hidden { display: none !important; }

/* Materialauswahl als Kachel */
.dqc-material-card {
  background: var(--surface2);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 0 16px rgba(108,99,255,0.15);
}
.dqc-material-card.hidden { display: none !important; }
.dqc-material-card-head {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700; color: var(--accent);
}
.dqc-material-icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.dqc-material-card .dqc-material-select {
  width: 100%;
  padding: 10px 14px;
  font-size: .9rem;
  border-color: var(--border2);
  border-radius: 8px;
}

/* Rechte Spalte: Blocked-State */
.dqc-right-panel-blocked #dqc-lupe-placeholder,
.dqc-right-panel-blocked #dqc-lupe-result { opacity: .35; pointer-events: none; }

#dqc-right-panel {
  transition: opacity .3s;
  position: relative;
}
#dqc-right-panel.is-blocked {
  opacity: .5;
  pointer-events: none;
}

.dqc-right-blocked {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  text-align: center;
}
.dqc-right-blocked.hidden { display: none !important; }
.dqc-right-blocked-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text3);
}
.dqc-right-blocked-inner svg { opacity: .5; }
.dqc-right-blocked-inner p {
  font-size: .85rem; line-height: 1.6; margin: 0;
  max-width: 200px; color: var(--text3);
}
.dqc-right-blocked-inner strong { color: var(--text2); }

/* Klick-Hinweis auf Canvas nach Bestätigung */
.dqc-click-hint {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(108,99,255,0.92);
  color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: 7px 14px; border-radius: 20px;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  pointer-events: none;
  animation: dqc-hint-fade 3s ease-in-out forwards;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  z-index: 10;
}
.dqc-click-hint svg { width: 14px; height: 14px; flex-shrink: 0; }
.dqc-click-hint.hidden { display: none !important; }
@keyframes dqc-hint-fade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Lupe-Placeholder nach Bestätigung */
.dqc-click-prompt {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.dqc-click-prompt-icon { width: 48px; height: 48px; color: var(--accent); }
.dqc-lupe-placeholder p { max-width: 220px; }

/* Badge B wird aktiv nach Bestätigung */
.dqc-step-mini-badge.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 14px rgba(108,99,255,0.45);
}

/* ── Hinweis-Box Schritt 2 ── */
.dqc-hint-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: .85rem;
  color: var(--text2);
  line-height: 1.6;
}
.dqc-hint-icon {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.dqc-hint-box strong { color: var(--text); }
.dqc-hint-tip {
  display: block;
  margin-top: 6px;
  color: var(--text3);
  font-size: .82rem;
}
.dqc-hint-tip strong { color: var(--text2); }
