/* Werbung mit QR, Foto-QR-Demo und Digital-Check */

/* ---------- Werbung ---------- */
.wb-stage { display: grid; grid-template-columns: 1.05fr .9fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.wb-flyer, .wb-phone { display: grid; justify-items: center; gap: 18px; }
.fl-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.fl-tabs button { font: 500 13px var(--sans); color: var(--chalk-2); background: none; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .2s, color .2s; }
.fl-tabs button[aria-selected="true"] { background: var(--chalk); color: var(--ink); }
.paper { position: relative; width: min(100%, 400px); aspect-ratio: 2 / 3; transform: rotate(-2.5deg); background: #e9e5dc; box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.85), 0 70px 120px -40px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.paper:hover { transform: rotate(-1deg) translateY(-6px); }
.paper img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.paper img.on { opacity: 1; }
.paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), rgba(255,255,255,0) 40%, rgba(0,0,0,.06)); }
.wb-flow { list-style: none; counter-reset: f; position: relative; }
.wb-flow::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--glacier), rgba(95,212,207,.1)); }
.wb-flow li { position: relative; padding: 0 0 22px 44px; counter-increment: f; }
.wb-flow li:last-child { padding-bottom: 0; }
.wb-flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--glacier); font-family: var(--mono); font-size: 11px; color: var(--glacier); }
.wb-flow b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.wb-flow span { display: block; color: var(--chalk-3); font-size: 14px; margin-top: 2px; }
.device { position: relative; width: 300px; height: 620px; border-radius: 46px; padding: 12px; background: #1a1d21; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1px #000, 0 50px 100px -30px rgba(0,0,0,.9); }
.device iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #f3efe6; display: block; }
.notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.wb-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.wb-stats { flex: 1 1 420px; max-width: 640px; }
.wb-stats ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.wb-stats li { display: grid; grid-template-columns: 170px 1fr 36px; gap: 14px; align-items: center; font-size: 15px; color: var(--chalk-2); }
.wb-stats li i { height: 8px; border-radius: 8px; background: var(--line); position: relative; overflow: hidden; }
.wb-stats li i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 8px; background: linear-gradient(90deg, var(--glacier), #9ff0ea); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.wb-stats.in li i::after { transform: scaleX(1); }
.wb-stats li:nth-child(2) i::after { transition-delay: .12s; }
.wb-stats li:nth-child(3) i::after { transition-delay: .24s; }
.wb-stats li b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--chalk); text-align: right; }
.wb-sum { margin-top: 16px; color: var(--chalk-2); font-size: 15px; }
.wb-sum b { color: var(--chalk); font-weight: 500; }
.wb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wb-actions .ghost { font-size: 14px; padding: 12px 18px; }

/* ---------- Foto-QR ---------- */
.qf { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; margin-top: clamp(80px, 10vw, 140px); padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line-strong); border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, rgba(95,212,207,.10), rgba(95,212,207,0) 55%), var(--ink-2); }
.qf-text h3 { font-size: clamp(34px, 3.8vw, 54px); line-height: .98; letter-spacing: -.045em; font-weight: 500; margin: 16px 0 18px; }
.qf-text h3 em { font-style: normal; color: var(--glacier); }
.qf-text p:last-child { color: var(--chalk-2); max-width: 38ch; }
.qf-in { display: flex; flex-direction: column; gap: 14px; }
.qf-drop { position: relative; flex: 1; min-height: 200px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 14px; cursor: pointer; overflow: hidden; background: var(--ink); transition: border-color .2s, background .2s; }
.qf-drop:hover, .qf-drop.over { border-color: var(--glacier); background: rgba(95,212,207,.04); }
.qf-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pop .6s var(--ease) both; }
.qf-drop img:not([hidden]) + .qf-ph { opacity: 0; }
.qf-ph { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--chalk-2); transition: opacity .3s; }
.qf-ph svg { width: 34px; height: 34px; color: var(--glacier); margin-bottom: 4px; }
.qf-ph strong { font-weight: 500; font-size: 16px; color: var(--chalk); }
.qf-ph small { font-size: 13px; color: var(--chalk-3); }
.qf-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--chalk-3); cursor: pointer; }
.qf-ok input { margin-top: 2px; accent-color: var(--glacier); flex: none; width: 16px; height: 16px; }
.qf-in .run { margin-top: 0; }
.qf-err { color: #f0b45a; font-size: 14px; }
.qf-out { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }
.qf-code { width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; background: var(--ink); border: 1px dashed var(--line-strong); transition: background .5s var(--ease), border-color .5s; position: relative; overflow: hidden; }
.qf-code.live { background: #f4f3ef; border: 1px solid #f4f3ef; box-shadow: 0 0 0 8px rgba(95,212,207,.10), 0 40px 80px -30px rgba(95,212,207,.35); }
.qf-code.gone { background: var(--ink); border-style: dashed; box-shadow: none; }
.qf-wait { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-3); text-align: center; line-height: 1.7; }
.qf-code svg { width: 86%; height: 86%; }
.qf-code rect { fill: #0b0d10; opacity: 0; animation: mod .5s var(--ease) forwards; animation-delay: var(--dl); transform-box: fill-box; transform-origin: center; }
@keyframes mod { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.qf-code.gone svg { opacity: .08; filter: blur(2px); transition: opacity 1s, filter 1s; }
.qf-scan { position: absolute; left: 7%; right: 7%; height: 2px; top: 7%; background: var(--glacier); box-shadow: 0 0 16px var(--glacier); animation: scanline 2.2s ease-in-out infinite alternate; opacity: .8; }
@keyframes scanline { to { top: 93%; } }
.qf-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; animation: pop .6s .4s var(--ease) both; }
.qf-timer { display: flex; align-items: center; gap: 10px; }
.qf-timer svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.qf-timer circle { fill: none; stroke-width: 3; }
.qf-timer .b { stroke: var(--line); }
.qf-timer .v { stroke: var(--glacier); stroke-linecap: round; stroke-dasharray: 131.9; transition: stroke-dashoffset 1s linear; }
.qf-timer b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.qf-timer small { font-size: 12px; color: var(--chalk-3); }
.qf-links { display: flex; gap: 8px; }
.qf-links .ghost { font-size: 13px; padding: 9px 13px; }

/* ---------- Digital-Check ---------- */
.qz { display: grid; grid-template-columns: 5fr 7fr; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--ink-2); min-height: 620px; }
.qz-media { position: relative; overflow: hidden; background: #111; }
.qz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 7s ease-out, filter 1s; }
.qz-media img.on { opacity: 1; transform: scale(1); }
.qz-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,0) 55%, rgba(11,13,16,.55)); pointer-events: none; }
.qz.done .qz-media img.on { filter: brightness(.35) saturate(.7); }
.qz-count { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--chalk); }
.qz-score { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 2px; animation: pop .8s var(--ease) both; }
.qz-score svg { position: absolute; width: min(64%, 260px); aspect-ratio: 1; transform: rotate(-90deg); }
.qz-score circle { fill: none; stroke-width: 5; }
.qz-score .b { stroke: rgba(236,234,228,.16); }
.qz-score .v { stroke: var(--glacier); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 2s var(--ease); }
.qz-score b { font-size: clamp(56px, 7vw, 92px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; position: relative; }
.qz-score small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-2); position: relative; }
.qz-body { padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; min-width: 0; }
.qz-prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: clamp(28px, 4vw, 48px); }
.qz-prog i { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.qz-prog i::after { content: ""; position: absolute; inset: 0; background: var(--glacier); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.qz-prog i.on::after { transform: scaleX(1); }
.qz-q { flex: 1; display: flex; flex-direction: column; }
.qz-q .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--glacier); }
.qz-q h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; margin: 12px 0 10px; max-width: 20ch; }
.qz-q .hint { color: var(--chalk-3); font-size: 15px; margin-bottom: 26px; }
.qz-opts { display: grid; gap: 10px; margin-top: auto; }
.qz-opt { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--chalk); font: 16px var(--sans); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.qz-opt kbd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--chalk-3); transition: all .25s; }
.qz-opt:hover { border-color: var(--chalk-3); transform: translateX(3px); }
.qz-opt.sel { border-color: var(--glacier); background: rgba(95,212,207,.08); }
.qz-opt.sel kbd { background: var(--glacier); border-color: var(--glacier); color: var(--ink); }
.qz-q.out { animation: qout .35s var(--ease) forwards; }
.qz-q.in { animation: qin .55s var(--ease) both; }
@keyframes qout { to { opacity: 0; transform: translateX(-18px); } }
@keyframes qin { from { opacity: 0; transform: translateX(22px); } }
.qz-back { align-self: flex-start; margin-top: 18px; background: none; border: 0; color: var(--chalk-3); font: 13px var(--sans); cursor: pointer; padding: 4px 0; }
.qz-back:hover { color: var(--chalk); }
.qz-res { animation: qin .7s var(--ease) both; }
.qz-res .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--glacier); }
.qz-res h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; margin: 12px 0 8px; }
.qz-res > p { color: var(--chalk-2); max-width: 48ch; }
.dims { list-style: none; display: grid; gap: 12px; margin: 26px 0; }
.dims li { display: grid; grid-template-columns: 150px 1fr 38px; gap: 14px; align-items: center; font-size: 14px; color: var(--chalk-2); }
.dims i { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.dims i::after { content: ""; display: block; height: 100%; width: var(--v); border-radius: 6px; background: var(--c, var(--glacier)); transform: scaleX(0); transform-origin: left; animation: grow 1.4s var(--ease) forwards; animation-delay: var(--dl); }
@keyframes grow { to { transform: scaleX(1); } }
.dims b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--chalk); text-align: right; }
.gain { display: flex; gap: 28px; flex-wrap: wrap; padding: 18px 0; border-block: 1px solid var(--line); }
.gain div b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gain div span { font-size: 13px; color: var(--chalk-3); }
.gain small { flex-basis: 100%; font-size: 12px; color: var(--chalk-3); }
.levers { list-style: none; display: grid; gap: 8px; margin: 22px 0; }
.levers a { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s; animation: pop .6s var(--ease) both; animation-delay: var(--dl); }
.levers a:hover { border-color: var(--glacier); background: rgba(95,212,207,.05); }
.levers .n { font-family: var(--mono); font-size: 12px; color: var(--glacier); }
.levers b { display: block; font-weight: 500; font-size: 15px; }
.levers small { display: block; font-size: 13px; color: var(--chalk-3); }
.levers .ar { color: var(--chalk-3); }
.qz-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.qz-actions .run { width: auto; margin: 0; padding: 13px 22px; }

@media (max-width: 1100px) {
  .wb-stage { grid-template-columns: 1fr 1fr; }
  .wb-flow { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .wb-flow::before { display: none; }
  .wb-flow li { padding: 36px 0 0; }
  .qf { grid-template-columns: 1fr 1fr; }
  .qf-text { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .qz { grid-template-columns: 1fr; min-height: 0; }
  .qz-media { aspect-ratio: 16 / 10; }
  .qz-score svg { width: min(46%, 200px); }
}
@media (max-width: 700px) {
  .wb-stage { grid-template-columns: 1fr; gap: 48px; }
  .wb-flow { grid-template-columns: 1fr; gap: 0; }
  .wb-flow::before { display: block; }
  .wb-flow li { padding: 0 0 20px 44px; }
  .wb-stats li { grid-template-columns: 1fr 70px 30px; }
  .device { width: 280px; height: 580px; }
  .qf { grid-template-columns: 1fr; }
  .dims li { grid-template-columns: 1fr 90px 34px; }
}
