/* Offer pains ("Dein Problem"), from people/timo/projects/adict-homepage/sections/offer-pains.html, 2026-10-29 */
.op-band{background:#060606}
.op{--ink:#f7f8f8;--dim:#8a8f98;--mute:#62666d;--quiet:#3e4147;--line:rgba(255,255,255,.08);color:var(--ink);max-width:70rem;margin:0 auto;padding:clamp(4rem,8vw,7rem) 1.5rem}
.op-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px;align-items:start}   /* headline top in line with the subline's (Timo 2026-11-04 12:34) */
/* the line under the headline, half strength (Timo 2026-11-04 12:34) */
.op-kick{margin:14px 0 0;font-size:clamp(18px,1.6vw,22px);font-weight:500;line-height:1.3;letter-spacing:-.02em;color:rgba(247,248,248,.5)}
.op-h2{margin:0;font-size:clamp(28px,4.6vw,48px);font-weight:500;line-height:1.06;letter-spacing:-.035em;;color:var(--ink,#f7f8f8)}
.op-sub{margin:0;color:var(--dim);font-size:15px;line-height:1.55;max-width:400px}.op-sub b{color:var(--ink);font-weight:500}
.op-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,7vw,88px);align-items:center;margin-top:40px}   /* 72 → 40px (Timo 2026-11-04 12:39) */
.op-sub-hi{color:var(--ink)}   /* the second paragraph at full white, same weight (Timo 12:37) */

.op-list{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line)}
.op-it{padding:24px 0;border-top:1px solid var(--line)}
.op-it h3{margin:0;font-size:clamp(17px,1.4vw,20px);font-weight:500;letter-spacing:-.022em;color:var(--mute);transition:color .45s ease}
.op-it h3{display:flex;align-items:center;gap:14px}
.op-ic{flex:none;width:22px;height:22px}
/* "Am häufigsten": a muted purple pill at the far right of its row, independent of the title's grey/white */
.op-tag{margin-left:auto;flex:none;padding:5px 11px;border-radius:999px;border:1px solid rgba(152,80,243,.16);background:rgba(152,80,243,.05);color:rgba(176,156,214,.6);font-size:12px;font-weight:500;letter-spacing:0;line-height:1.2;white-space:nowrap}
.op-it:hover h3{color:#a0a4ab}
.op-it.on h3{color:var(--ink)}
/* only the lit row shows its subline: it opens with grid-rows 0fr -> 1fr */
.op-it p{display:grid;grid-template-rows:0fr;margin:0;font-size:14px;line-height:1.55;color:var(--quiet);max-width:400px;
  transition:grid-template-rows .5s cubic-bezier(.65,0,.35,1),margin .5s cubic-bezier(.65,0,.35,1),color .45s ease}
.op-it p>span{overflow:hidden}
.op-it p b{font-weight:400;transition:color .45s ease}
.op-it.on p{grid-template-rows:1fr;margin-top:6px;color:var(--dim)}
.op-it.on p b{color:var(--ink)}

/* only the subline sweeps; title and icon stay still on hover (Timo 2026-10-29: re-animating them read as flicker) */
.op-it.sweep p>span{-webkit-mask-image:linear-gradient(90deg,#000 45%,transparent 55%);mask-image:linear-gradient(90deg,#000 45%,transparent 55%);
  -webkit-mask-size:260% 100%;mask-size:260% 100%;animation:op-sweep .55s cubic-bezier(.3,0,.2,1) both}
.op-it.sweep p>span{animation-delay:.08s;animation-duration:.65s}
@keyframes op-sweep{from{-webkit-mask-position:100% 0;mask-position:100% 0;filter:blur(3px)}to{-webkit-mask-position:0 0;mask-position:0 0;filter:blur(0)}}

/* ASCII decode on the subline: the real letter keeps its place (transparent), the symbol is drawn over it, so no line moves */
.op .ch{position:relative}
.op .ch.s{-webkit-text-fill-color:transparent}
.op .ch.s::after{content:attr(data-g);position:absolute;left:50%;top:0;transform:translateX(-50%);-webkit-text-fill-color:currentColor}

.op-frame{width:clamp(240px,32vw,340px);aspect-ratio:4/5.4;border-radius:12px;border:1px solid var(--line);overflow:hidden;
  background:radial-gradient(120% 60% at 50% 0%,rgba(255,255,255,.06),transparent 60%),#0f1011}
.op-frame video{display:block;width:100%;height:100%;object-fit:cover}
.op-frame{position:relative}   /* the ASCII canvas sits in it (op-ascii.js) */
/* no box while the ASCII stands in for the video (Timo 2026-11-04 10:21 "lose the frame"); a video brings it back */
.op-frame:not(:has(video)){border:0;background:none;overflow:visible}

@media(max-width:760px){
  .op-head{grid-template-columns:1fr;gap:16px}
  .op-grid{grid-template-columns:1fr;gap:28px}
  .op-frame{order:-1;margin:0 auto;width:min(46vw,190px)}
  .op-it{padding:14px 0}
}
@media(prefers-reduced-motion:reduce){.op *{transition:none!important;animation:none!important}}

/* The chart below the pains (Timo 2026-11-02, moved here from the Statistik section), composed like his reference slide:
   the 87 % claim and its points left, the chart panel right. No card: no rounded box, no fill, no line above or below
   (Timo 2026-11-02); the chart panel is boxed in by thin lines left and right, its title row and legend row split off
   by lines too. Drawn by stat.js, base styles in stat.css (".op" in front: stat.css loads later). */
.op .op-chart{--ac:#9850F3;position:relative;margin-top:clamp(56px,7vw,96px);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  border:0;border-radius:0;background:none;overflow:visible}
.op .op-chart .st-l{padding:clamp(32px,4vw,56px) clamp(24px,4vw,56px) clamp(32px,4vw,56px) 0}
.op .op-chart .st-r{border-left:1px solid var(--line);border-right:1px solid var(--line)}
@media(max-width:860px){
  .op .op-chart{grid-template-columns:1fr}
  .op .op-chart .st-l{padding:32px 0}
  .op .op-chart .st-r{border-left:0;border-right:0;border-top:1px solid var(--line)}
}
