/* Mission Advacare 2027 – hell, modern, Advacare-CI (Logo-Grün und -Limette, Lato) mit Outfit als Display-Schrift */
[hidden] { display: none !important; }
:root {
  --bg: #F3F5F1;
  --surface: #FFFFFF;
  --ink: #15201D;
  --muted: #5F6C68;
  --line: #E1E7E3;
  --mist: #E6EFEC;
  --teal: #6E9A91;
  --teal-d: #4F7A71;
  --deep: #24403B;
  --lime: #D2D690;
  --lime-t: #F2F3DD;
  --olive: #7E8246;
  --warn: #C9824A;
  --brand: linear-gradient(135deg, #9CC1B9 0%, #6E9A91 55%, #4F7A71 100%);
  --glow: linear-gradient(120deg, #D2D690 0%, #9CC1B9 100%);
  --display: 'Outfit', 'Lato', system-ui, sans-serif;
  --body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --c0: #3E6A61; --c1: #C8CD86; --c2: #C9D3CF; --c3: #ECEFEC;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@keyframes rise { from { opacity: 0; transform: translateY(1.2vw); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes float { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translateY(-6vh) scale(1.1); } 100% { transform: translateY(-80vh) scale(1); opacity: 0; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(110, 154, 145, .45); } 50% { box-shadow: 0 0 0 1vw rgba(110, 154, 145, 0); } }
@keyframes scan { 0% { left: -30%; } 100% { left: 130%; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =================== LEINWAND =================== */
body.bm { overflow: hidden; }
.bm #app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.stage { position: relative; flex: 1; overflow: hidden; padding: 2.6vw 4vw 2.2vw; display: flex; flex-direction: column; isolation: isolate; }
.stage::before, .stage::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(4vw); opacity: .55; }
.stage::before { width: 38vw; height: 38vw; right: -10vw; top: -14vw; background: radial-gradient(circle, #B9D3CD 0%, rgba(185, 211, 205, 0) 70%); }
.stage::after { width: 30vw; height: 30vw; left: -10vw; bottom: -14vw; background: radial-gradient(circle, #E4E6B9 0%, rgba(228, 230, 185, 0) 70%); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 2vw; margin-bottom: 2vw; }
.top .logo { height: 2.4vw; width: auto; }
.chip { display: inline-flex; align-items: center; gap: .7vw; font: 700 1vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.chip b { font: 700 .95vw/1 var(--display); letter-spacing: .04em; color: #fff; background: var(--brand); border-radius: 99px; padding: .45vw .8vw; }
.mprog { display: flex; gap: .4vw; align-items: center; }
.mprog i { display: block; width: 1.9vw; height: .45vw; border-radius: 99px; background: var(--line); }
.mprog i.done { background: var(--teal); }
.mprog i.now { background: var(--glow); width: 3.2vw; }
.toplft { display: flex; align-items: center; gap: 1.6vw; }

h1 { font: 700 3.5vw/1.06 var(--display); letter-spacing: -.02em; margin: 0 0 1vw; max-width: 72vw; text-wrap: balance; animation: rise .5s both; }
h1.mid { font-size: 2.7vw; }
.lead { font-size: 1.45vw; line-height: 1.45; color: var(--muted); margin: 0 0 1.8vw; max-width: 62vw; animation: rise .5s .08s both; }
.body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; }
.card { background: var(--surface); border-radius: 1.2vw; box-shadow: 0 .3vw 1.8vw rgba(36, 64, 59, .07); }

.xp { display: flex; align-items: center; gap: .8vw; font: 700 .9vw/1 var(--body); color: var(--muted); }
.xp .lv { font: 700 .95vw/1 var(--display); color: var(--deep); background: var(--lime-t); border: 1px solid #DADCAA; border-radius: 99px; padding: .4vw .8vw; }
.xp .bar { width: 10vw; height: .5vw; background: var(--line); border-radius: 99px; overflow: hidden; }
.xp .bar i { display: block; height: 100%; background: var(--glow); border-radius: 99px; transition: width .8s; }

/* Lobby */
.lobby { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4vw; align-items: center; }
.lobby h1 { font-size: 5vw; }
.lobby h1 span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lobby ul { list-style: none; padding: 0; margin: 1.6vw 0 0; display: grid; gap: .9vw; }
.lobby li { display: flex; gap: 1vw; align-items: baseline; font-size: 1.4vw; line-height: 1.4; animation: rise .5s both; }
.lobby li b { font: 700 1.1vw/1 var(--display); color: var(--teal-d); min-width: 1.6vw; }
.qrcard { padding: 2vw; text-align: center; animation: rise .6s .2s both; }
.qrcard svg { width: 100%; height: auto; display: block; border-radius: .6vw; }
.qrcard .url { font: 700 1.25vw/1.2 var(--display); margin-top: 1.1vw; color: var(--deep); }
.qrcard .ppl { margin-top: .6vw; font-size: 1.05vw; color: var(--muted); }
.wall { display: flex; flex-wrap: wrap; gap: .7vw; margin-top: 2.2vw; min-height: 3.4vw; }
.av { display: inline-flex; align-items: center; gap: .5vw; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: .35vw .9vw .35vw .4vw; font-size: 1vw; font-weight: 700; color: var(--deep); animation: pop .45s both; }
.av span { font-size: 1.5vw; line-height: 1; }

/* Warten auf Antworten */
.waiting { display: grid; grid-template-columns: auto 1fr; gap: 3.5vw; align-items: center; }
.ring { position: relative; width: 17vw; height: 17vw; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: url(#ringgrad); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.ring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .num b { font: 700 5.4vw/1 var(--display); color: var(--deep); }
.ring .num small { font-size: 1vw; color: var(--muted); margin-top: .3vw; }
.waiting .q { font: 600 2.2vw/1.25 var(--display); max-width: 52vw; margin-bottom: 1.2vw; text-wrap: balance; }
.waiting .hint { font-size: 1.15vw; color: var(--muted); }
.answered { display: flex; flex-wrap: wrap; gap: .5vw; margin-top: 1.6vw; max-width: 54vw; }
.answered span { font-size: 1.9vw; line-height: 1; animation: pop .4s both; }

/* Zeitstrahl */
.tl { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2vw; margin-top: 1vw; }
.tl::before { content: ''; position: absolute; left: 1vw; right: 1vw; top: 1.05vw; height: .3vw; border-radius: 99px; background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 66%, var(--line) 80%); }
.st { position: relative; padding-top: 3.2vw; animation: rise .5s both; }
.st .dot { position: absolute; top: 0; left: 0; width: 2.4vw; height: 2.4vw; border-radius: 50%; background: var(--surface); border: .35vw solid var(--teal); display: grid; place-items: center; font: 700 .9vw/1 var(--display); color: var(--teal-d); }
.st.done .dot { background: var(--teal); color: #fff; }
.st.now .dot { background: var(--glow); border-color: var(--lime); color: var(--deep); animation: pulse 2s infinite; }
.st.next .dot { border-color: var(--line); color: var(--muted); }
.st .when { font: 700 .9vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.st h3 { font: 700 1.5vw/1.2 var(--display); margin: .5vw 0 .5vw; }
.st p { font-size: 1.05vw; line-height: 1.45; color: var(--muted); margin: 0; }
.st.now { background: var(--surface); border-radius: 1.2vw; padding: 3.6vw 1.1vw 1.2vw; margin-top: -.4vw; box-shadow: 0 .4vw 2vw rgba(36, 64, 59, .1); }
.st.now .dot { left: 1.1vw; top: .4vw; }
.st .quote { margin-top: .8vw; font: 600 1.1vw/1.35 var(--display); color: var(--deep); border-left: .3vw solid var(--lime); padding-left: .7vw; }

/* Maschinenraum */
.blocks { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .7vw; }
.blk { position: relative; overflow: hidden; border-radius: .9vw; padding: .8vw .8vw; min-height: 4.4vw; background: var(--surface); border: 1px solid var(--line); animation: pop .45s both; }
.blk .n { font: 700 .85vw/1 var(--display); color: var(--muted); }
.blk b { display: block; font: 600 1vw/1.2 var(--display); margin-top: .5vw; }
.blk.done { background: var(--brand); border-color: transparent; color: #fff; }
.blk.done .n { color: rgba(255, 255, 255, .8); }
.blk.done::after { content: '✓'; position: absolute; right: .7vw; top: .6vw; font-size: .95vw; }
.blk.here { border: .2vw dashed var(--teal); }
.blk.here::before { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, rgba(210, 214, 144, 0), rgba(210, 214, 144, .6), rgba(210, 214, 144, 0)); animation: scan 2.2s linear infinite; }
.legend2 { display: flex; gap: 1.6vw; margin-top: 1vw; font-size: .95vw; color: var(--muted); }
.legend2 i { display: inline-block; width: .9vw; height: .9vw; border-radius: .25vw; margin-right: .4vw; vertical-align: -.1vw; }

/* Geschäftsfelder */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; }
.f { padding: 2vw 2.2vw; animation: rise .5s both; }
.f .n { display: inline-grid; place-items: center; width: 3vw; height: 3vw; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1.5vw/1 var(--display); }
.f:nth-child(2) .n { background: var(--glow); color: var(--deep); }
.f h2 { font: 700 2vw/1.15 var(--display); margin: 1vw 0 1.2vw; }
.f dl { margin: 0; display: grid; gap: .8vw; }
.f dt { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.f dd { margin: .3vw 0 0; font-size: 1.15vw; line-height: 1.45; }
.logic { margin-top: 1.8vw; display: flex; gap: 1vw; align-items: center; font: 600 1.5vw/1.3 var(--display); color: var(--deep); animation: rise .5s .3s both; }
.logic i { font-style: normal; background: var(--glow); border-radius: 99px; padding: .4vw .9vw; font-size: .95vw; letter-spacing: .08em; text-transform: uppercase; }

/* Ergebnisse allgemein */
.legend { display: flex; flex-wrap: wrap; gap: 1.4vw; font-size: .95vw; color: var(--muted); margin-bottom: 1vw; }
.legend span { display: inline-flex; align-items: center; gap: .4vw; }
.legend i { width: .9vw; height: .9vw; border-radius: .25vw; display: inline-block; }
.c0 { background: var(--c0); color: #fff; } .c1 { background: var(--c1); color: var(--ink); } .c2 { background: var(--c2); color: var(--ink); } .c3 { background: var(--c3); color: var(--muted); }
.stack { display: flex; height: 2vw; border-radius: .6vw; overflow: hidden; background: var(--c3); }
.stack i { display: flex; align-items: center; justify-content: center; font: 700 .85vw/1 var(--display); font-style: normal; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bigstat { display: flex; align-items: baseline; gap: .8vw; }
.bigstat b { font: 700 4vw/1 var(--display); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat span { font-size: 1.1vw; color: var(--muted); max-width: 18vw; line-height: 1.35; }

/* KI-Kasten */
.ai { position: relative; border-radius: 1.2vw; padding: 1.3vw 1.6vw; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--glow) border-box; border: .2vw solid transparent; box-shadow: 0 .4vw 2vw rgba(110, 154, 145, .18); animation: rise .5s both; }
.ai .lbl { display: inline-flex; gap: .5vw; align-items: center; font: 700 .85vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .6vw; }
.ai .lbl::before { content: '✦'; font-size: 1.1vw; color: var(--olive); }
.ai p { font: 500 1.45vw/1.45 var(--display); margin: 0; white-space: pre-line; }
.ai .typing::after { content: '▍'; animation: caret 1s steps(1) infinite; color: var(--teal); }
.ai.loading p { color: transparent; border-radius: .4vw; background: linear-gradient(90deg, var(--mist) 0%, #F7F9F7 50%, var(--mist) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.ai .src { margin-top: .6vw; font-size: .8vw; color: var(--muted); }

/* Wortwolke */
.cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3vw 1.6vw; padding: 1vw 2vw; line-height: 1.15; }
.cloud span { font-family: var(--display); font-weight: 700; animation: pop .5s both; }
.cloud .empty { font-size: 1.4vw; color: var(--muted); font-weight: 600; }
.wordsres { display: grid; grid-template-columns: 1fr; gap: 1.4vw; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; }
.compare > div { padding: 1.2vw; }
.compare h3 { font: 700 .9vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 .6vw; text-align: center; }

/* Schätzen */
.est { display: grid; gap: 1.4vw; }
.er { display: grid; grid-template-columns: 22vw 1fr 15vw; gap: 2vw; align-items: center; }
.er .t { font: 600 1.2vw/1.3 var(--display); }
.er .t small { display: block; font: 400 .95vw/1.4 var(--body); color: var(--muted); margin-top: .3vw; }
.strip { position: relative; height: 4.2vw; border-radius: .9vw; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.strip .band { position: absolute; top: 0; bottom: 0; background: rgba(210, 214, 144, .55); border-left: .2vw solid var(--olive); border-right: .2vw solid var(--olive); }
.strip .dt { position: absolute; width: .95vw; height: .95vw; margin-left: -.47vw; border-radius: 50%; background: var(--teal); opacity: .85; animation: pop .4s both; }
.strip .med { position: absolute; top: -.6vw; bottom: -.6vw; width: .25vw; margin-left: -.12vw; background: var(--deep); border-radius: 99px; }
.strip .med span { position: absolute; top: -1.4vw; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 .8vw/1 var(--body); color: var(--deep); }
.strip .ax { position: absolute; bottom: -1.3vw; font-size: .75vw; color: var(--muted); }
.er .sol b { display: block; font: 700 1.5vw/1.1 var(--display); color: var(--deep); }
.er .sol span { font-size: .9vw; color: var(--muted); line-height: 1.35; }
.estfoot { display: flex; gap: 3vw; align-items: center; margin-top: 1vw; }

/* Zuordnen */
.asgwrap { display: grid; grid-template-columns: 1fr 19vw; gap: 2.4vw; align-items: start; }
.asg { display: grid; gap: .45vw; }
.asg .r { display: grid; grid-template-columns: 17vw 1fr 10vw; gap: 1.2vw; align-items: center; padding: .45vw .8vw; border-radius: .8vw; background: var(--surface); }
.asg .r.moved { box-shadow: 0 0 0 .2vw var(--lime); }
.asg .t { font: 600 1.05vw/1.2 var(--display); }
.asg .t small { display: block; font: 400 .78vw/1.3 var(--body); color: var(--muted); margin-top: .15vw; }
.asg .stack { height: 1.6vw; }
.sol { font: 700 .85vw/1.2 var(--body); padding: .4vw .6vw; border-radius: .5vw; text-align: center; }
.sol.f0 { background: var(--mist); color: var(--teal-d); } .sol.f1 { background: var(--lime-t); color: var(--olive); }
.side { display: grid; gap: 1.2vw; }
.side .note { font-size: 1vw; line-height: 1.45; color: var(--ink); background: var(--lime-t); border-radius: .9vw; padding: 1vw; }
.side .note b { display: block; font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: .4vw; }

/* Bewerten */
.split { display: grid; grid-template-columns: 1fr 22vw; gap: 2.4vw; align-items: start; }
.rate { display: grid; gap: .6vw; }
.rate .r { display: grid; grid-template-columns: 1fr 22vw 5.5vw; gap: 1.2vw; align-items: center; padding: .55vw .9vw; border-radius: .8vw; background: var(--surface); }
.rate .t { font-size: 1.12vw; line-height: 1.35; }
.rate.dense .t { font-size: .98vw; }
.rate.dense .stack { height: 1.6vw; }
.pct { font: 700 1.5vw/1 var(--display); color: var(--deep); text-align: right; }
.pct small { display: block; font: 400 .7vw/1.2 var(--body); color: var(--muted); }
.tag { display: inline-block; font: 700 .7vw/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .25vw .5vw; border-radius: .3vw; margin-right: .5vw; vertical-align: .1vw; }
.tag.s { background: var(--mist); color: var(--teal-d); } .tag.w { background: #F6E7DA; color: #9A5A2C; } .tag.o { background: var(--lime-t); color: var(--olive); } .tag.t { background: #EFE3E3; color: #8A4646; }
.comments { display: grid; gap: .5vw; max-height: 34vh; overflow: hidden; }
.comments div { font-size: .95vw; line-height: 1.4; background: var(--surface); border-radius: .7vw; padding: .6vw .8vw; color: var(--ink); animation: rise .4s both; }

/* Diskussion */
.deb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6vw; }
.deb .d { padding: 1.6vw; display: flex; flex-direction: column; gap: 1vw; animation: rise .5s both; }
.deb .k { font: 700 .85vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.deb p { font: 600 1.4vw/1.35 var(--display); margin: 0; flex: 1; }

/* Auswahl */
.cho { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6vw; }
.cho .q { padding: 1.4vw; }
.cho h3 { font: 700 1.2vw/1.3 var(--display); margin: 0 0 1vw; }
.cho .o { margin-bottom: .7vw; }
.cho .l { display: flex; justify-content: space-between; gap: 1vw; font-size: .95vw; margin-bottom: .3vw; }
.cho .l b { font-family: var(--display); }
.cho .o.dk { opacity: .55; }
.cho .bar { height: 1vw; border-radius: 99px; background: var(--mist); overflow: hidden; }
.cho .bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .8s; }

/* Warum: Sätze und Entwürfe */
.sentences { columns: 3; column-gap: 1.2vw; }
.sentences div { break-inside: avoid; margin-bottom: 1vw; background: var(--surface); border-radius: .9vw; padding: .9vw 1.1vw; font: 500 1.05vw/1.4 var(--display); animation: rise .5s both; }
.drafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6vw; }
.draft { position: relative; padding: 1.8vw 1.6vw 1.6vw; display: flex; flex-direction: column; gap: 1vw; animation: rise .5s both; }
.draft .k { width: 2.6vw; height: 2.6vw; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 1.2vw/1 var(--display); }
.draft p { font: 600 1.55vw/1.35 var(--display); margin: 0; flex: 1; }
.draft .bar { height: .8vw; border-radius: 99px; background: var(--mist); overflow: hidden; }
.draft .bar i { display: block; height: 100%; background: var(--brand); transition: width .8s; }
.draft .v { font: 700 1.8vw/1 var(--display); color: var(--deep); }
.draft.win { box-shadow: 0 0 0 .3vw var(--lime), 0 .6vw 3vw rgba(110, 154, 145, .3); transform: translateY(-.4vw); }
.draft.win::after { content: 'Favorit des Teams'; position: absolute; top: -1vw; right: 1.2vw; background: var(--glow); color: var(--deep); font: 700 .8vw/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .5vw .8vw; border-radius: 99px; }
.gen { display: flex; flex-direction: column; align-items: center; gap: 1.4vw; padding: 3vw; text-align: center; }
.gen .orb { width: 9vw; height: 9vw; border-radius: 50%; background: conic-gradient(from 0deg, #D2D690, #9CC1B9, #4F7A71, #D2D690); animation: spin 2.4s linear infinite; filter: blur(.1vw); box-shadow: 0 0 4vw rgba(156, 193, 185, .6); }
.gen b { font: 600 1.8vw/1.3 var(--display); color: var(--deep); }
.gen span { font-size: 1.1vw; color: var(--muted); }
.fine { font-size: .95vw; color: var(--muted); margin-top: 1.4vw; }

/* Pause */
.pause { text-align: center; }
.pause .clock { font: 700 14vw/1 var(--display); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }

/* Abschluss */
.done-h { font: 700 6vw/1 var(--display); letter-spacing: -.03em; margin: 0; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pop .7s both; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4vw; margin: 2vw 0; }
.stats div { padding: 1.4vw; animation: rise .5s both; }
.stats b { display: block; font: 700 3.4vw/1 var(--display); color: var(--deep); }
.stats span { font-size: 1vw; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 1vw; }
.badge { display: flex; gap: .8vw; align-items: center; padding: .7vw 1.2vw .7vw .7vw; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); animation: pop .5s both; }
.badge i { font-style: normal; width: 2.6vw; height: 2.6vw; border-radius: 50%; display: grid; place-items: center; background: var(--glow); font-size: 1.3vw; }
.badge b { font: 700 1.05vw/1.15 var(--display); display: block; }
.badge span { font-size: .8vw; color: var(--muted); }
.badge.off { opacity: .35; filter: grayscale(1); }
.nexts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4vw; margin-top: 2vw; }
.nexts div { border-left: .3vw solid var(--lime); padding-left: 1vw; }
.nexts b { font: 700 1.2vw/1.2 var(--display); display: block; }
.nexts span { font-size: .95vw; color: var(--muted); line-height: 1.4; }

/* Mini-QR und Reaktionen */
.minqr { position: absolute; right: 2.4vw; bottom: 1.6vw; display: flex; gap: .8vw; align-items: center; background: var(--surface); padding: .6vw .9vw .6vw .6vw; border-radius: .9vw; box-shadow: 0 .3vw 1.4vw rgba(36, 64, 59, .08); font-size: .8vw; color: var(--muted); }
.minqr svg { width: 4.6vw; height: 4.6vw; }
.minqr b { color: var(--deep); }
.fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.fx span { position: absolute; bottom: 2vh; font-size: 3vw; animation: float 3.6s ease-out forwards; }

/* Steuerleiste */
.bar-ctl { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #17211F; color: #E8ECEA; font-size: 13px; }
.bar-ctl.hidden { display: none; }
.bar-ctl button { background: #2C3835; color: #fff; border: 0; border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.bar-ctl button:hover { background: #3A4945; }
.bar-ctl button.on { background: var(--teal); }
.bar-ctl button.ki { background: linear-gradient(120deg, #9AA35A, #6E9A91); }
.bar-ctl .sp { flex: 1; }
.bar-ctl .stepname { opacity: .8; max-width: 26vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-ctl .cnt { background: #23302D; border-radius: 8px; padding: 6px 10px; }
.bar-ctl .timer { font-variant-numeric: tabular-nums; font-weight: 700; }
.bar-ctl .timer.over { color: #F0B37E; }
.menu { position: fixed; right: 14px; bottom: 52px; background: #17211F; border-radius: 10px; padding: 6px; display: none; flex-direction: column; gap: 4px; z-index: 20; }
.menu.open { display: flex; }
.menu button { background: transparent; color: #fff; border: 0; text-align: left; padding: 9px 12px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.menu button:hover { background: #2C3835; }
.menu .warn { color: #F0B37E; }
.confirm { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: none; align-items: center; justify-content: center; z-index: 30; }
.confirm.open { display: flex; }
.confirm .in { background: #fff; border-radius: 14px; padding: 22px; max-width: 420px; font-size: 15px; line-height: 1.45; }
.confirm .row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.confirm button { border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; background: #EEF1F0; }
.confirm .yes { background: #B5562B; color: #fff; }
.login { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: var(--bg); }
.login .in { width: 340px; text-align: center; }
.login img { height: 40px; margin-bottom: 24px; }
.login input { width: 100%; font-size: 22px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); text-align: center; letter-spacing: .3em; }
.login button { margin-top: 12px; width: 100%; padding: 12px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.login .err { color: #B5562B; margin-top: 10px; min-height: 1.2em; }

/* =================== HANDY =================== */
.ph { max-width: 520px; margin: 0 auto; min-height: 100%; padding: 14px 16px 120px; }
.ph header { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 14px; }
.ph header .logo { height: 24px; }
.me { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px 4px 5px; font-size: 13px; font-weight: 700; color: var(--deep); }
.me span { font-size: 18px; line-height: 1; }
.ph .part { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 6px; }
.ph h1 { font-size: 24px; line-height: 1.15; max-width: none; margin: 0 0 8px; }
.ph .lead { font-size: 15px; max-width: none; margin: 0 0 16px; }
.pcard { background: var(--surface); border-radius: 16px; padding: 16px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(36, 64, 59, .06); animation: rise .4s both; }
.wait2 { text-align: center; padding: 30px 18px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.wait2 .big { font-size: 44px; margin-bottom: 8px; }
.ph input[type=text], .ph textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #FAFBFA; margin-bottom: 8px; color: var(--ink); }
.ph textarea { min-height: 84px; resize: vertical; }
.ph input:focus, .ph textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.note-s { font-size: 12px; color: var(--muted); }
.q { font-weight: 700; font-size: 15px; line-height: 1.35; margin-bottom: 10px; }
.opts { display: grid; gap: 8px; }
.opts.row { grid-template-columns: 1fr 1fr 1fr; }
.opt { font: inherit; font-size: 14px; font-weight: 700; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: #FAFBFA; color: var(--ink); cursor: pointer; text-align: center; }
.opt.on { background: var(--brand); color: #fff; border-color: transparent; }
.opt.dk { font-weight: 400; color: var(--muted); }
.opt.dk.on { background: var(--deep); color: #fff; }
.slider .val { font: 700 34px/1 var(--display); text-align: center; color: var(--deep); margin: 6px 0 12px; }
.slider input[type=range] { width: 100%; accent-color: var(--teal); height: 28px; }
.slider .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.submit { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(243, 245, 241, 0), var(--bg) 30%); }
.submit .in { max-width: 520px; margin: 0 auto; }
.btn { width: 100%; font: 700 17px/1 var(--display); padding: 17px; border-radius: 14px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }
.btn:disabled { background: #C7D1CE; color: #F3F5F1; }
.btn.ghost { background: transparent; color: var(--teal-d); border: 1px solid var(--line); margin-top: 8px; font-size: 14px; padding: 11px; }
.saved { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--teal-d); font-weight: 700; margin-bottom: 8px; }

/* Avatar wählen */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font: 700 14px/1.2 var(--display); color: var(--deep); cursor: pointer; }
.pick button span { font-size: 40px; line-height: 1; }
.pick button.on { border-color: transparent; box-shadow: 0 0 0 3px var(--teal); }

/* Wischkarten */
.deck { position: relative; height: 330px; margin: 6px 0 14px; touch-action: pan-y; }
.sw { position: absolute; inset: 0; background: var(--surface); border-radius: 22px; padding: 22px 20px; box-shadow: 0 8px 28px rgba(36, 64, 59, .14); display: flex; flex-direction: column; justify-content: center; text-align: center; user-select: none; touch-action: none; transition: transform .25s, opacity .25s; }
.sw.behind { transform: scale(.95) translateY(12px); box-shadow: 0 4px 14px rgba(36, 64, 59, .08); }
.sw .k { position: absolute; top: 14px; left: 0; right: 0; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sw h2 { font: 700 26px/1.15 var(--display); margin: 0 0 10px; }
.sw p { font-size: 15px; line-height: 1.45; color: var(--muted); margin: 0; }
.sw .stmt { font: 600 20px/1.35 var(--display); color: var(--ink); }
.sw .hintl, .sw .hintr { position: absolute; top: 18px; font: 700 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; opacity: 0; transition: opacity .1s; }
.sw .hintl { left: 16px; background: var(--mist); color: var(--teal-d); }
.sw .hintr { right: 16px; background: var(--lime-t); color: var(--olive); }
.swbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.swbtns.three { grid-template-columns: 1fr 1fr 1fr; }
.swbtns .opt { padding: 14px 6px; font-size: 13px; }
.swfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.swfoot button { background: none; border: 0; color: var(--teal-d); font-weight: 700; font-size: 13px; cursor: pointer; padding: 6px 0; }
.dots { display: flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--teal); }
.dots i.cur { background: var(--olive); }
.react { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; gap: 8px; }
.react button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 24px; cursor: pointer; box-shadow: 0 2px 10px rgba(36, 64, 59, .08); transition: transform .12s; }
.react button:active { transform: scale(.88); }
.fb { background: var(--lime-t); border-radius: 14px; padding: 14px; font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
.fb b { font-family: var(--display); }
.draftpick { text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font: 600 16px/1.4 var(--display); color: var(--ink); width: 100%; cursor: pointer; margin-bottom: 8px; display: flex; gap: 10px; }
.draftpick i { font-style: normal; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--teal-d); display: grid; place-items: center; font-size: 14px; }
.draftpick.on { border-color: transparent; box-shadow: 0 0 0 3px var(--teal); }
.draftpick.on i { background: var(--brand); color: #fff; }

/* Animationen nur beim Wechsel abspielen, nicht bei jeder Aktualisierung */
.stage:not(.anim) *:not(.live):not(.new) { animation: none !important; }

.side .bigstat { flex-direction: column; align-items: flex-start; gap: .4vw; }
.side .bigstat span { max-width: none; }
.split { grid-template-columns: 1fr 27vw; }
.ai.small p { font-size: 1.15vw; }
.cho + .cmts .comments, .cmts .comments { display: grid; grid-template-columns: 1fr 1fr; gap: .5vw; }
.sentences { columns: 4; }
.sentences div { font-size: .92vw; padding: .7vw .9vw; margin-bottom: .7vw; }
h1.small { font-size: 2.2vw; }

/* Zeitstrahl mit Namen und Stichpunkten */
.tl { grid-template-columns: 1.5fr 1.2fr 1.05fr 1fr .95fr .9fr; align-items: start; }
.st .who { font: 700 .9vw/1.3 var(--body); color: var(--teal-d); margin: -.1vw 0 .5vw; }
.st ul { margin: 0; padding-left: 1.05vw; display: grid; gap: .3vw; font-size: .98vw; line-height: 1.35; color: var(--ink); }
.st.next ul { color: var(--muted); }
.st h3 { font-size: 1.35vw; }

/* Maschinenraum: anklickbare Bausteine */
button.blk { font: inherit; color: inherit; text-align: left; cursor: pointer; display: block; width: 100%; }
button.blk:hover { border-color: var(--teal); }
button.blk:focus-visible, .binfo .back:focus-visible { outline: .2vw solid var(--deep); outline-offset: .15vw; }
.blk.sel { box-shadow: 0 0 0 .25vw var(--deep); }
.blk.dep { background: var(--lime-t); border-color: #DADCAA; color: var(--ink); }
.blk.dep.done { background: linear-gradient(135deg, #D2D690, #9CC1B9); color: var(--deep); }
.blk.dep.done .n { color: var(--deep); }
.blk.dep.new { animation: pop .45s both; }
.chainline { margin-top: 1vw; font: 600 1.2vw/1.3 var(--display); color: var(--deep); }
.legend2 { margin-top: .5vw; flex-wrap: wrap; }
.binfo { padding: 1.5vw 1.6vw; }
.binfo.new { animation: rise .35s both; }
.binfo .k { font: 700 .85vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.binfo h3 { font: 700 2.2vw/1.1 var(--display); margin: .6vw 0 1vw; }
.binfo dl { margin: 0; display: grid; gap: .9vw; }
.binfo dt { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.binfo dd { margin: .3vw 0 0; font-size: 1.25vw; line-height: 1.45; }
.chainnote { margin-top: 1.1vw; padding: .8vw 1vw; border-radius: .8vw; background: var(--lime-t); font-size: 1.05vw; line-height: 1.4; }
.binfo .back { margin-top: 1vw; font: 700 .95vw/1 var(--body); color: var(--teal-d); background: none; border: 0; padding: .4vw 0; cursor: pointer; }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; }
.voices div { font: 500 1.05vw/1.4 var(--display); color: var(--deep); background: var(--surface); border-radius: .9vw; padding: .8vw 1vw; }

/* Handy: eigener Name und Bausteinliste */
.own { margin-top: 14px; }
.emorow { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.emorow button { width: 42px; height: 42px; font-size: 22px; border-radius: 12px; border: 1px solid var(--line); background: #FAFBFA; cursor: pointer; }
.emorow button.on { box-shadow: 0 0 0 3px var(--teal); border-color: transparent; }
.blklist { display: grid; gap: 6px; }
.blkrow { display: grid; grid-template-columns: 30px 1fr 20px; gap: 10px; align-items: center; text-align: left; font: 700 15px/1.2 var(--display); padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.blkrow b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--teal-d); font-size: 13px; }
.blkrow.done b { background: var(--brand); color: #fff; }
.blkrow i { font-style: normal; color: var(--teal-d); }
.blkinfo { background: var(--lime-t); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.blkinfo p { margin: 0 0 6px; }
.blkinfo p:last-child { margin: 0; }

.st ul { font-size: 1.08vw; gap: .4vw; }
.st .who { font-size: .98vw; }
.st h3 { font-size: 1.45vw; }

/* Mit Namen: wer geantwortet hat, von wem ein Satz stammt */
.answered { gap: .4vw; max-width: 56vw; }
.answered .av.sm { font-size: .85vw; padding: .25vw .7vw .25vw .3vw; animation: none; }
.answered .av.sm.new { animation: pop .4s both; }
.answered .av.sm span { font-size: 1.15vw; animation: none; }
.comments cite, .voices cite, .sentences cite { display: block; margin-top: .3vw; font: 700 .78vw/1.2 var(--body); font-style: normal; color: var(--teal-d); }
.emorow button { width: 40px; height: 40px; font-size: 21px; }

/* Zeitstrahl mit fünf Stationen */
.tl { grid-template-columns: 1.5fr 1.45fr 1.05fr .95fr .85fr; }
.tl::before { background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 72%, var(--line) 88%); }

/* Sprint-Übersicht */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1vw; align-items: stretch; }
.day { padding: 1.2vw 1.2vw 1.1vw; display: flex; flex-direction: column; animation: rise .5s both; }
.day .k { font: 700 .8vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.day h3 { font: 700 1.5vw/1.15 var(--display); margin: .6vw 0 .8vw; text-wrap: balance; }
.day ul { margin: 0 0 1vw; padding-left: 1.05vw; display: grid; gap: .4vw; font-size: 1vw; line-height: 1.35; flex: 1; align-content: start; }
.day .out { background: var(--lime-t); border-radius: .7vw; padding: .6vw .8vw; font: 600 1.02vw/1.3 var(--display); color: var(--deep); }
.day .out span { display: block; font: 700 .7vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: .3vw; }
.sprintfoot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4vw; align-items: center; margin-top: 1.6vw; }
.nums { display: flex; gap: 1.8vw; }
.nums div { display: flex; flex-direction: column; gap: .2vw; }
.nums b { font: 700 2.6vw/1 var(--display); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums span { font-size: .85vw; line-height: 1.25; color: var(--muted); max-width: 9vw; }
.bridge { font: 600 1.25vw/1.35 var(--display); color: var(--deep); border-left: .3vw solid var(--lime); padding-left: 1vw; }

.sprintfoot { margin-top: 1.2vw; }
.nums span { max-width: 7vw; }

/* Fazit */
.fazit { display: grid; gap: 1.2vw; }
.starcard { position: relative; border-radius: 1.2vw; padding: 1.5vw 2vw 1.3vw 6.2vw; background: var(--deep); color: #F3F5F1; animation: rise .5s both; }
.starcard::before { content: '✦'; position: absolute; left: 2vw; top: 50%; transform: translateY(-50%); font-size: 2.8vw; color: var(--lime); }
.starcard .k { font: 700 .85vw/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.starcard p { font: 600 1.75vw/1.3 var(--display); margin: .6vw 0 .5vw; max-width: 60vw; text-wrap: balance; }
.starcard small { font-size: .95vw; color: #B9CCC7; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2vw; }
.fcol { padding: 1.3vw 1.4vw; animation: rise .5s both; }
.fcol h3 { font: 700 1.25vw/1.2 var(--display); margin: 0 0 .8vw; color: var(--teal-d); }
.fcol ul { margin: 0; padding-left: 1.1vw; display: grid; gap: .5vw; font-size: 1.08vw; line-height: 1.35; }
.fsign { display: flex; justify-content: space-between; align-items: baseline; gap: 2vw; font: 500 1.05vw/1.4 var(--display); color: var(--deep); border-left: .3vw solid var(--lime); padding-left: 1vw; }
.fsign b { white-space: nowrap; font: 700 .95vw/1 var(--body); color: var(--teal-d); }

/* Warum mit Wucht */
.why { display: grid; gap: 1.3vw; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2vw; }
.reason { padding: 1.5vw 1.6vw; animation: rise .5s both; }
.reason .k { font: 700 .82vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.reason h3 { font: 700 1.7vw/1.15 var(--display); margin: .7vw 0 .6vw; }
.reason p { font-size: 1.12vw; line-height: 1.45; color: var(--ink); margin: 0; }
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2vw; }
.def { background: var(--lime-t); border-radius: 1vw; padding: 1.1vw 1.4vw; animation: rise .5s both; }
.def b { display: block; font: 700 1.2vw/1.2 var(--display); color: var(--deep); margin-bottom: .4vw; }
.def span { font-size: 1.05vw; line-height: 1.45; }
.punch { font: 600 1.4vw/1.35 var(--display); color: var(--deep); border-left: .3vw solid var(--lime); padding-left: 1vw; max-width: 70vw; animation: rise .5s 1.2s both; }

/* Handy: Mehrfachauswahl, Werte-Karte */
.opt.pk { text-align: left; display: block; }
.opt.pk b { display: block; font: 700 15px/1.2 var(--display); }
.opt.pk small { display: block; font: 400 12.5px/1.4 var(--body); color: var(--muted); margin-top: 3px; }
.opt.pk.on small { color: #E6EFEC; }
.valcard { border-radius: 16px; padding: 16px; margin-bottom: 12px; background: var(--deep); color: #F3F5F1; }
.valcard span { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.valcard b { display: block; font: 700 26px/1.1 var(--display); margin: 6px 0; }
.valcard p { margin: 0; font-size: 14px; line-height: 1.45; color: #D6E2DE; }

/* Rangliste (Mehrfachauswahl) */
.rank { display: grid; gap: .5vw; }
.rk { display: grid; grid-template-columns: 24vw 1fr 3vw; gap: 1.2vw; align-items: center; padding: .6vw 1vw; border-radius: .8vw; background: var(--surface); animation: rise .4s both; }
.rank.dense .rk { padding: .42vw 1vw; }
.rk .t { font: 600 1.1vw/1.25 var(--display); }
.rk .bar { height: 1.1vw; border-radius: 99px; background: var(--mist); overflow: hidden; }
.rk .bar i { display: block; height: 100%; background: var(--c2); border-radius: 99px; transition: width .8s; }
.rk b { font: 700 1.4vw/1 var(--display); text-align: right; color: var(--muted); }
.rk.top { box-shadow: 0 0 0 .18vw var(--lime); }
.rk.top .bar i { background: var(--brand); }
.rk.top b { color: var(--deep); }
.rk.tie { cursor: pointer; box-shadow: 0 0 0 .18vw var(--warn); }
.rk.tie.top { box-shadow: 0 0 0 .25vw var(--deep); }

/* Zehn Werte */
.vgrid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.4vw; align-items: start; }
.vcol { display: grid; gap: .6vw; }
.vcol .k { font: 700 .85vw/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .2vw; }
.vcard { padding: .75vw 1vw; animation: rise .45s both; }
.vcard b { display: block; font: 700 1.25vw/1.15 var(--display); color: var(--deep); }
.vcard span { display: block; font-size: .88vw; line-height: 1.38; color: var(--muted); margin-top: .25vw; }

/* Werte: Sätze sammeln und auswerten */
.vsum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1vw; align-items: start; }
.vs { padding: 1.1vw; animation: rise .45s both; }
.vs b { display: block; font: 700 1.4vw/1.15 var(--display); color: var(--deep); }
.vs .cnt { font-size: .85vw; color: var(--muted); margin: .3vw 0 .7vw; }
.vs .cnt span { font: 700 1.05vw/1 var(--display); color: var(--teal-d); }
.vs p { margin: 0 0 .5vw; font-size: .92vw; line-height: 1.38; padding-left: .7vw; border-left: .2vw solid var(--lime); }
.vtabs { display: flex; gap: .6vw; margin-bottom: 1vw; flex-wrap: wrap; }
.vtabs button { font: 700 1.05vw/1 var(--display); padding: .7vw 1.2vw; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--deep); cursor: pointer; }
.vtabs button.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.vhead { display: grid; grid-template-columns: 22vw 1fr; gap: 2vw; align-items: center; margin-bottom: 1vw; }
.vcols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6vw; align-items: start; }
.vl h3 { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 .6vw; }
.vrow { display: grid; grid-template-columns: 1fr 6vw; gap: 1vw; align-items: center; background: var(--surface); border-radius: .7vw; padding: .5vw .9vw; margin-bottom: .45vw; }
.vrow .tx { font-size: 1vw; line-height: 1.35; }
.vrow cite { display: block; font: 700 .72vw/1.2 var(--body); font-style: normal; color: var(--teal-d); margin-top: .15vw; }
.vrow .pc { font: 700 1.05vw/1 var(--display); color: var(--deep); text-align: right; }
.vrow .pc .bar { display: block; height: .4vw; border-radius: 99px; background: var(--mist); margin-top: .3vw; overflow: hidden; }
.vrow .pc .bar i { display: block; height: 100%; background: var(--brand); }
.vl .more { font-size: .85vw; color: var(--muted); padding: .3vw .2vw; }
.starcard p { font-size: 1.6vw; }

.ph .tag { font-size: 11px; padding: 4px 8px; border-radius: 6px; margin-right: 0; }

/* Sterne 1 bis 10 */
.starpad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.starpad button { font-size: 26px; line-height: 1; padding: 8px 0 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: #C9D3CF; cursor: pointer; }
.starpad button small { display: block; font: 700 12px/1 var(--body); color: var(--muted); margin-top: 3px; }
.starpad button.on { color: #C9A227; border-color: #E4D9A6; background: #FBF8EA; }
.starends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.tag.neu { background: var(--deep); color: #fff; }

/* Stärken und Schwächen: Cluster und Sterne */
.clcols { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; align-items: start; }
.clcols h3, .scols h3 { font: 700 .9vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 .7vw; display: flex; justify-content: space-between; }
.clcols h3 span { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 400; }
button.clu { font: inherit; color: inherit; text-align: left; width: 100%; border: 0; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: .2vw 1vw; padding: .8vw 1.1vw; margin-bottom: .6vw; animation: rise .45s both; }
.clu b { font: 600 1.2vw/1.3 var(--display); }
.clu span { font: 700 1vw/1.3 var(--display); color: var(--teal-d); white-space: nowrap; }
.clu em { grid-column: 1 / -1; font: 700 .72vw/1 var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clu.neu { box-shadow: 0 0 0 .18vw var(--lime); }
.clu.neu em { color: var(--olive); }
.clu.hid { opacity: .35; box-shadow: none; }
.clu.hid b { text-decoration: line-through; }
.scols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8vw; align-items: start; }
.srow { display: grid; grid-template-columns: 1fr 6.5vw; gap: 1vw; align-items: center; background: var(--surface); border-radius: .7vw; padding: .5vw .9vw; margin-bottom: .45vw; animation: rise .4s both; }
.srow .tx { font-size: .98vw; line-height: 1.35; }
.srow .sc b { display: block; font: 700 1.4vw/1 var(--display); color: var(--deep); text-align: right; }
.srow .sc b::after { content: ' ★'; font-size: .9vw; color: #C9A227; }
.srow .sc .bar { display: block; height: .4vw; border-radius: 99px; background: var(--mist); margin-top: .3vw; overflow: hidden; }
.srow .sc .bar i { display: block; height: 100%; background: var(--brand); }
.hist10 { display: flex; align-items: flex-end; gap: .25vw; height: 3.4vw; }
.hist10 i { flex: 1; background: var(--mist); border-radius: .2vw .2vw 0 0; }
.hist10 i.on { background: var(--teal); }
.histax { display: flex; justify-content: space-between; font: 700 .75vw/1 var(--body); color: var(--muted); margin-top: .3vw; }

/* Fünf Sterne in einer Reihe, gewählte werden golden */
.starpad { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.starpad button { flex: 1; max-width: 64px; font-size: 46px; line-height: 1; padding: 6px 0; border: 0; border-radius: 12px; background: transparent; color: #CBD3CF; cursor: pointer; transition: color .12s, transform .12s; }
.starpad button.on { color: #F2B01E; background: transparent; border: 0; }
.starpad button:active { transform: scale(1.18); }
.starpad button:focus-visible { outline: 2px solid var(--teal); }
.srow .sc b::after { content: ''; }
.starmeter { position: relative; display: block; width: max-content; margin-left: auto; font-size: 1.05vw; line-height: 1; letter-spacing: .1vw; color: #D5DCD8; margin-top: .25vw; }
.starmeter i { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; font-style: normal; color: #F2B01E; }
.hist10 { gap: .5vw; }

/* Sätze rotierend, alle Begriffe in der Wolke */
.wordsres { gap: 1vw; }
.voices { align-items: stretch; }
.voices div { font-size: 1.02vw; }
.voices div.new { animation: rise .5s both; }
.vdots { display: flex; align-items: center; justify-content: center; gap: .4vw; margin-top: -.3vw; font-size: .8vw; color: var(--muted); }
.vdots i { width: .5vw; height: .5vw; border-radius: 50%; background: var(--line); }
.vdots i.on { background: var(--teal); }
.vdots span { margin-left: .6vw; }
.cloud { padding: .4vw 2vw; }

/* Was ist ein Geschäftsfeld? */
.exp { display: grid; gap: 1.4vw; }
.cases { display: grid; grid-template-columns: 1fr 14vw 1fr; gap: 1.4vw; align-items: center; }
.case { padding: 1.4vw 1.8vw; display: grid; grid-template-columns: 4vw 1fr; gap: .2vw 1.2vw; align-items: center; animation: rise .5s both; }
.case .ic { font-size: 3vw; line-height: 1; grid-row: span 2; }
.case h3 { font: 700 1.7vw/1.1 var(--display); margin: 0; }
.case dl { margin: .4vw 0 0; display: grid; grid-template-columns: 8.5vw 1fr; gap: .35vw 1vw; font-size: 1.08vw; line-height: 1.35; }
.case dt { font: 700 .78vw/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); }
.case dd { margin: 0; }
.cases .mid { font: 600 1.25vw/1.3 var(--display); color: var(--deep); text-align: center; animation: rise .5s 1s both; }
.expfoot { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.4vw; }
.defbox, .whybox { border-radius: 1vw; padding: 1.1vw 1.5vw; animation: rise .5s 1.4s both; }
.defbox { background: var(--deep); color: #F3F5F1; }
.defbox b { font: 700 1.2vw/1.2 var(--display); color: var(--lime); }
.defbox ol { margin: .6vw 0 0; padding-left: 1.4vw; display: grid; gap: .3vw; font: 600 1.25vw/1.3 var(--display); }
.whybox { background: var(--lime-t); }
.whybox b { display: block; font: 700 1.2vw/1.2 var(--display); color: var(--deep); margin-bottom: .5vw; }
.whybox span { font-size: 1.15vw; line-height: 1.45; }

/* Zwei Geschäftsfelder mit Überlegung */
.fields { gap: 1.4vw; }
.f { padding: 1.4vw 1.8vw 1.3vw; }
.f .say { font: 700 2.5vw/1.1 var(--display); color: var(--deep); letter-spacing: -.01em; }
.f:nth-child(2) .say { color: var(--olive); }
.f .nm { display: flex; align-items: center; gap: .7vw; font: 700 1.05vw/1.25 var(--display); margin: .8vw 0 .6vw; }
.f .nm .n { flex: none; width: 1.9vw; height: 1.9vw; font-size: 1vw; }
.f p { font-size: 1.1vw; line-height: 1.45; margin: 0 0 .8vw; }
.f .meta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1vw; font-size: .98vw; line-height: 1.35; }
.f .meta i { display: block; font: 700 .72vw/1.5 var(--body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.think { margin-top: 1.2vw; }
.think .k { font: 700 .82vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .6vw; }
.throw { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1vw; }
.th { border-radius: .9vw; padding: .8vw 1vw; background: var(--surface); animation: rise .5s both; }
.th b { display: block; font: 700 1.1vw/1.2 var(--display); margin-bottom: .3vw; }
.th span { font-size: .95vw; line-height: 1.4; color: var(--muted); }
.th.no { opacity: .8; }
.th.no b { color: var(--muted); text-decoration: line-through; text-decoration-color: #C9824A; }
.th.yes { background: var(--deep); }
.th.yes b { color: var(--lime); }
.th.yes span { color: #E6EFEC; }

.f .say { font-size: 2.05vw; }

/* Hilfestellung: Was ist Feld 1, was Feld 2 */
.ph .fhelp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -4px 0 10px; }
.ph .fhelp div { border-radius: 12px; padding: 9px 10px; background: var(--mist); }
.ph .fhelp div.fh1 { background: var(--lime-t); text-align: right; }
.ph .fhelp b { display: block; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); }
.ph .fhelp .fh1 b { color: var(--olive); }
.ph .fhelp em { display: block; font: 700 13.5px/1.25 var(--display); font-style: normal; color: var(--deep); margin: 5px 0 3px; }
.ph .fhelp span { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.deck.low { height: 250px; }
.swbtns .opt small { display: block; font: 400 11px/1.2 var(--body); color: var(--muted); margin-top: 3px; }
.swbtns .opt.on small { color: #E6EFEC; }
.waiting .fhelp { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw; max-width: 54vw; margin: 1.2vw 0 .2vw; }
.waiting .fhelp div { background: var(--surface); border-radius: .9vw; padding: .8vw 1.1vw; }
.waiting .fhelp b { display: block; font: 700 .78vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.waiting .fhelp em { display: block; font: 700 1.3vw/1.2 var(--display); font-style: normal; color: var(--deep); margin: .4vw 0 .2vw; }
.waiting .fhelp span { font-size: .95vw; color: var(--muted); }
.miss { font-size: .92vw; line-height: 1.35; }
.miss > b { display: block; font: 700 .82vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .5vw; }
.miss > div { background: var(--surface); border-radius: .6vw; padding: .45vw .7vw; margin-bottom: .35vw; font-weight: 700; }
.miss i.sol { font-style: normal; display: inline-block; margin-left: .5vw; padding: .15vw .45vw; font-size: .7vw; }
.miss cite { display: block; font: 700 .7vw/1.2 var(--body); font-style: normal; color: var(--teal-d); margin-top: .1vw; }
.miss > span { color: var(--muted); }

/* Werte: Ergänzungen zu den anderen Werten */
.vcols.three { grid-template-columns: 1fr 1fr .78fr; gap: 1.3vw; }
.vcols.three .vrow { grid-template-columns: 1fr 4.6vw; gap: .7vw; padding: .45vw .8vw; }
.vcols.three .vrow .tx { font-size: .95vw; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcols.three .vrow .tx cite { display: block; }
.vadd { background: color-mix(in srgb, var(--lime) 22%, var(--surface)); border-radius: 1vw; padding: .9vw 1vw 1vw; }
.vadd h3 span { display: inline-block; margin-left: .4vw; padding: .15vw .5vw; border-radius: 99px; background: var(--deep); color: #fff; letter-spacing: 0; }
.vnote { background: var(--surface); border-radius: .7vw; padding: .55vw .8vw; margin-bottom: .45vw; font-size: .95vw; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vnote.new { animation: rise .5s both; }
.vnote cite { display: block; font: 700 .72vw/1.2 var(--body); font-style: normal; color: var(--teal-d); margin-top: .2vw; }
.vnote.hint { background: transparent; color: var(--muted); padding: .2vw 0; -webkit-line-clamp: 6; }
.vadd .vdots { margin-top: .3vw; }
.ph .addv { display: block; margin-top: 12px; }
.ph .addv b { display: block; font: 700 15px/1.2 var(--display); color: var(--deep); }
.ph .addv small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); margin: 2px 0 6px; }
.ph .addv textarea { min-height: 58px; }

/* Wirkung: Porträt-Runde */
.faces { display: grid; grid-template-columns: 1fr 26vw; gap: 2.4vw; align-items: start; }
.podium { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.4vw; align-items: end; }
.pd { position: relative; background: var(--surface); border-radius: 1.4vw; padding: .8vw .8vw 1vw; text-align: center; animation: rise .6s both; box-shadow: 0 .4vw 1.6vw rgba(20, 40, 35, .06); }
.pd img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1vw; }
.pd i { position: absolute; top: 1.3vw; left: 1.3vw; width: 2.4vw; height: 2.4vw; border-radius: 50%; background: var(--deep); color: #fff; font: 700 1.2vw/2.4vw var(--display); font-style: normal; }
.pd.p0 i { background: var(--lime); color: var(--deep); }
.pd b { display: block; font: 700 1.5vw/1.2 var(--display); color: var(--deep); margin-top: .8vw; }
.pd.p0 b { font-size: 1.8vw; }
.pd span { display: block; font-size: 1vw; color: var(--muted); margin-top: .2vw; }
.fside h3 { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 .6vw; }
.fside h3:not(:first-child) { margin-top: 1.3vw; }
.frest div { display: grid; grid-template-columns: 2.4vw 1fr auto; gap: .8vw; align-items: center; background: var(--surface); border-radius: .7vw; padding: .3vw .8vw .3vw .3vw; margin-bottom: .35vw; font-size: 1vw; }
.frest img { width: 2.4vw; height: 2.4vw; border-radius: .5vw; object-fit: cover; display: block; }
.frest b { font: 700 1.05vw/1 var(--display); color: var(--deep); }
.fside .cloud { min-height: 0; padding: .4vw 0; justify-content: flex-start; }
.fvals { display: flex; flex-wrap: wrap; gap: .4vw; }
.fvals span { font: 700 .9vw/1 var(--display); padding: .5vw .8vw; border-radius: 99px; background: var(--deep); color: #fff; }
.lnk { font: inherit; color: var(--teal-d); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.crd { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: rgba(20, 35, 32, .45); }
.crd.open { display: flex; }
.crd .in { background: var(--surface); border-radius: 16px; padding: 22px 24px; width: min(760px, 92vw); max-height: 84vh; overflow: auto; font-size: 13px; line-height: 1.45; }
.crd h3 { font: 700 18px/1.2 var(--display); margin: 0 0 6px; }
.crd p { color: var(--muted); margin: 0 0 12px; }
.crd .list div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 4px 0; border-top: 1px solid var(--line); }
.crd button { margin-top: 14px; font: 700 14px/1 var(--display); padding: 10px 16px; border-radius: 10px; border: 0; background: var(--deep); color: #fff; cursor: pointer; }
.ph h1.long { font-size: 21px; line-height: 1.2; }
.ph .fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ph .fc { position: relative; padding: 0 0 6px; border: 0; border-radius: 14px; background: var(--surface); overflow: hidden; cursor: pointer; font: inherit; color: inherit; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .15s, transform .15s; }
.ph .fc img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ph .fc span { display: block; font: 600 11.5px/1.2 var(--display); padding: 6px 4px 0; color: var(--deep); }
.ph .fc.on { outline-color: var(--teal); transform: scale(.97); }
.ph .fc.on::after { content: '✓'; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 14px/24px var(--display); text-align: center; }
.ph .fcount { position: sticky; top: 0; z-index: 3; background: var(--bg); padding: 6px 0; margin-bottom: 4px; font-weight: 700; }
.ph .credits { font-size: 11.5px; line-height: 1.4; color: var(--muted); margin: 4px 0 14px; }
.ph .credits summary { cursor: pointer; text-decoration: underline; }
.ph .credits div { padding: 3px 0; border-top: 1px solid var(--line); }
.ph .credits a, .crd a { color: var(--teal-d); }

.faces { grid-template-columns: 1fr 24vw; }
.podium { max-width: 55vw; }
.fvalrow { margin-top: 1.2vw; }
.fvalrow h3, .fside h3 { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 .6vw; }
.faces + .fine { margin-top: .9vw; }

/* ---------- Details per Klick ---------- */
button.card, button.st { font: inherit; color: inherit; text-align: left; border: 0; cursor: pointer; }
button.st { background: none; }
button.card:focus-visible, button.st:focus-visible { outline: .2vw solid var(--deep); outline-offset: .15vw; }
.hintline { margin-top: 1.2vw; font-size: .95vw; color: var(--muted); }
.hintline::before { content: '＋ '; color: var(--teal-d); font-weight: 700; }
.tl.slim { grid-template-columns: repeat(5, 1fr); align-items: start; }
.tl.slim .st { border-radius: 1.2vw; padding: 3.6vw 1.1vw 1.1vw; margin-top: -.4vw; }
.tl.slim .st .dot { left: 1.1vw; top: .4vw; }
.tl.slim .st:hover, .tl.slim .st.open { background: var(--surface); box-shadow: 0 .4vw 2vw rgba(36, 64, 59, .1); }
.tl.slim .st h3 { font-size: 1.6vw; }
.tl.slim .st ul { margin: .7vw 0 0; padding-left: 1.05vw; display: grid; gap: .35vw; font-size: 1vw; line-height: 1.35; }
.days.slim { align-items: start; }
.days.slim .day { width: 100%; }
.days.slim .day h3 { font-size: 1.7vw; margin: .7vw 0 1.2vw; }
.days.slim .day.open { box-shadow: 0 .5vw 2.2vw rgba(36, 64, 59, .14); }
.fcol p { font: 600 1.25vw/1.35 var(--display); color: var(--deep); margin: 0; }
.fcol ul { margin-top: .9vw; font-size: 1vw; color: var(--muted); }
.fazit .hintline { margin-top: 0; }
.reason p.more { margin-top: .7vw; color: var(--muted); font-size: 1.02vw; }
.reason h3 { font-size: 1.9vw; }
.defchips { display: flex; flex-wrap: wrap; align-items: center; gap: .6vw; font-size: 1vw; }
.defchips button { font: 700 .9vw/1 var(--display); padding: .55vw .9vw; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.defchips button.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.defchips span { color: var(--ink); margin-left: .4vw; }
.vcard b em { font: 400 .78vw/1.2 var(--body); font-style: normal; color: var(--muted); margin-left: .5vw; white-space: nowrap; }
/* ---------- Tandems ---------- */
.waiting.pairs .ring .num small { font-size: .8vw; }
.tandems { display: grid; grid-template-columns: 1fr 1fr; gap: .45vw .8vw; max-width: 56vw; }
.tandems div { display: flex; justify-content: space-between; gap: 1vw; align-items: center; background: var(--surface); border-radius: .7vw; padding: .5vw .9vw; font-size: 1vw; opacity: .75; }
.tandems div.ok { opacity: 1; box-shadow: inset .3vw 0 0 var(--teal); }
.tandems div.ok span::after { content: ' ✓'; color: var(--teal-d); font-weight: 700; }
.tandems b { font: 700 .85vw/1.2 var(--display); color: var(--teal-d); white-space: nowrap; }
.ph .tandem { background: var(--lime-t); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ph .tandem span { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); width: 100%; }
.ph .tandem b { font: 700 17px/1.2 var(--display); color: var(--deep); }
.ph .tandem em { font-style: normal; font-size: 13px; color: var(--muted); }
/* ---------- Klassiker ---------- */
.klass { display: grid; gap: 1.2vw; }
.ktop { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.2vw; align-items: stretch; }
.kl { position: relative; padding: 1.6vw 1.6vw 1.3vw 4.6vw; animation: rise .6s both; }
.kl i { position: absolute; left: 1.3vw; top: 1.4vw; width: 2.4vw; height: 2.4vw; border-radius: 50%; background: var(--deep); color: #fff; font: 700 1.2vw/2.4vw var(--display); font-style: normal; text-align: center; }
.kl.k0 i { background: var(--lime); color: var(--deep); }
.kl p { font: 600 1.5vw/1.3 var(--display); color: var(--deep); margin: 0 0 .8vw; text-wrap: balance; }
.kl.k0 p { font-size: 1.75vw; }
.kl span { font-size: .95vw; color: var(--muted); }
.krest { display: grid; grid-template-columns: 1fr 1fr; gap: .45vw 1vw; }
.krest div { display: flex; justify-content: space-between; gap: 1vw; background: var(--surface); border-radius: .7vw; padding: .5vw .9vw; font-size: 1vw; }
.krest b { font: 700 1.05vw/1.2 var(--display); color: var(--deep); }
.ph .vlist { display: grid; gap: 8px; margin-bottom: 14px; }
.ph .vl { text-align: left; font-weight: 600; line-height: 1.35; }
.ph .vl small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
/* ---------- Was brauche ich / Mitdenken / Das nehmen wir mit ---------- */
.rank.needs { max-width: 70vw; }
.rank.needs .rk { grid-template-columns: 30vw 1fr 3vw; }
.whogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; }
.wg { padding: 1vw 1.2vw; animation: rise .45s both; }
.wg h3 { display: flex; justify-content: space-between; gap: 1vw; font: 700 1.2vw/1.25 var(--display); margin: 0 0 .7vw; color: var(--deep); }
.wg h3 span { color: var(--teal-d); }
.wgp { display: flex; flex-wrap: wrap; gap: .4vw; min-height: 2vw; }
.wg.none { background: transparent; box-shadow: none; opacity: .7; }
.sumgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1vw; }
.sumgrid .sm { padding: 1.1vw 1.2vw; animation: rise .5s both; }
.sumgrid .sm.wide { grid-column: span 2; background: var(--deep); color: #F3F5F1; }
.sumgrid .k { font: 700 .75vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .6vw; }
.sumgrid .wide .k { color: var(--lime); }
.sumgrid p { font: 600 1.15vw/1.35 var(--display); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sumgrid small { display: block; margin-top: .4vw; font-size: .85vw; color: var(--muted); }
.sumgrid ul { margin: 0; padding-left: 1.05vw; display: grid; gap: .3vw; font: 600 1.02vw/1.3 var(--display); }
.sumgrid .fvals span { font-size: .85vw; }
.sumface { display: grid; grid-template-columns: 4.6vw 1fr; gap: .9vw; align-items: center; }
.sumface img { width: 4.6vw; height: 4.6vw; border-radius: .9vw; object-fit: cover; display: block; }
button.fcol, button.reason { display: block; width: 100%; }
.fcols, .reasons { align-items: start; }
.kl p { font-size: 1.8vw; }
.kl.k0 p { font-size: 2.1vw; }
.kl { padding-top: 1.8vw; padding-bottom: 1.5vw; }
.vcard b em { display: block; margin: .15vw 0 0; font-size: .72vw; white-space: normal; }
.vcard { padding: .6vw 1vw; }
.vcard span { font-size: .84vw; line-height: 1.34; }

/* ---------- Zeitplan in der Steuerleiste ---------- */
.bar-ctl .stepname { max-width: 19vw; }
.bar-ctl .plan { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.bar-ctl .plan b { padding: 6px 10px; border-radius: 8px; font-weight: 700; color: #fff; }
.bar-ctl .plan b.ok { background: #2F6B5A; }
.bar-ctl .plan b.late { background: #A3542A; }
.bar-ctl .plan b.early { background: #3C6384; }
.bar-ctl .plan span { opacity: .8; }
.bar-ctl .timer { white-space: nowrap; }

/* ---------- Team-Tipp ---------- */
.tipbox { display: grid; grid-template-columns: 21vw 1fr 17vw; gap: 1.6vw; align-items: center; margin-top: 1.4vw; padding: 1.1vw 1.3vw 1.5vw; border-radius: 1.1vw; background: color-mix(in srgb, var(--lime) 20%, var(--surface)); animation: rise .5s .4s both; }
.tipbox .k { font: 700 .75vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: .4vw; }
.tipbox .tpl b { display: block; font: 700 1.05vw/1.25 var(--display); color: var(--deep); }
.tipbox .tpl span { display: block; font-size: .85vw; line-height: 1.3; color: var(--muted); margin-top: .2vw; }
.tipbox .strip { height: 3.4vw; margin-top: .9vw; }
.tipbox .strip .band { background: var(--olive); border: 0; border-radius: 99px; top: -.5vw; bottom: -.5vw; margin-left: -.15vw; }
.tipbox .tpr b { display: block; font: 700 2vw/1 var(--display); color: var(--deep); }
.tipbox .tpr span { font: 700 .75vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.tipbox .tpr em { display: block; font-style: normal; font-size: .85vw; line-height: 1.35; color: var(--muted); margin-top: .4vw; }
.ph .tipc { background: var(--lime-t); }
.ph .tipc .tk { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: 6px; }
.ph .tipv { font: 700 26px/1 var(--display); color: var(--deep); text-align: center; margin-bottom: 6px; }
.ph .tipc input[type=range] { width: 100%; accent-color: var(--teal); }
.ph .tipax { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.xp .lv { white-space: nowrap; }
.scols.dense .srow { padding: .3vw .9vw; margin-bottom: .3vw; }
.scols.dense .srow .tx { font-size: .92vw; line-height: 1.26; }
.scols.dense .srow .sc b { font-size: 1.25vw; }
.scols.dense + .fine { margin-top: .5vw; }

/* ---------- Zuordnung der Angebote (Vorschlag prüfen) ---------- */
.rvwrap { display: grid; grid-template-columns: 1fr 21vw; gap: 2vw; align-items: start; }
.rvcols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2vw; align-items: start; }
.rvcol { padding: 1vw 1.1vw 1.1vw; animation: rise .5s both; }
.rvh { margin-bottom: .7vw; }
.rvh b { font: 700 .8vw/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.rvh em { display: block; font: 700 1.35vw/1.2 var(--display); font-style: normal; color: var(--deep); margin: .3vw 0 .15vw; }
.rv1 .rvh em { color: var(--olive); }
.rvh span { font-size: .9vw; color: var(--muted); }
.rvrow { display: grid; grid-template-columns: 1fr auto; gap: .8vw; align-items: center; padding: .42vw .7vw; border-radius: .6vw; background: var(--bg); margin-bottom: .3vw; }
.rvrow b { display: block; font: 700 1vw/1.2 var(--display); }
.rvrow small { display: block; font-size: .78vw; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rvrow i { font: 700 .8vw/1 var(--display); font-style: normal; color: var(--teal-d); white-space: nowrap; }
.rvrow.flag { background: color-mix(in srgb, #E8A66B 22%, var(--surface)); }
.rvrow.flag i { color: #8A4B2A; background: #F4D9BF; border-radius: 99px; padding: .3vw .6vw; }
.rvwait { text-align: center; }
.rvwait .ring { margin: 0 auto 1vw; }
.rvwait p { font-size: 1vw; line-height: 1.4; color: var(--muted); }
.rvwrap .side .bigstat b { font-size: 2.6vw; }
.rvwrap .side .miss { margin-top: 1.2vw; }
.ph .rvf { padding-bottom: 8px; }
.ph .rvh b { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.ph .rvh em { display: block; font: 700 17px/1.2 var(--display); font-style: normal; color: var(--deep); margin: 3px 0 1px; }
.ph .rv1 .rvh em { color: var(--olive); }
.ph .rvh span { font-size: 13px; color: var(--muted); }
.ph .rvh { margin-bottom: 10px; }
.ph .rvi { display: block; width: 100%; text-align: left; margin-bottom: 6px; }
.ph .rvi b { display: block; font-size: 15px; }
.ph .rvi small { display: block; font-weight: 400; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.ph .rvi i { display: block; font: 700 12px/1.2 var(--display); font-style: normal; color: #8A4B2A; margin-top: 3px; }
.ph .rvi i:empty { display: none; }
.ph .rvi.on { background: #FBEBDD; border-color: #E8A66B; color: inherit; }
.ph .rvok { display: block; width: 100%; margin: 4px 0 14px; padding: 14px; font-weight: 700; }

.ph .rvl { margin: 0; padding: 0; list-style: none; }
.ph .rvl li { padding: 7px 0; border-top: 1px solid var(--line); }
.ph .rvl b { display: block; font: 700 14.5px/1.25 var(--display); color: var(--deep); }
.ph .rvl small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 1px; }

/* ---------- Zuerst erzählen, dann tippen ---------- */
.talk { display: grid; gap: .3vw; max-width: 46vw; margin: 0 0 1.2vw; padding: 1vw 1.3vw; border-radius: 1vw; background: var(--deep); color: #F3F5F1; }
.talk b { font: 700 1.5vw/1.2 var(--display); color: var(--lime); }
.talk span { font-size: 1.1vw; line-height: 1.4; }
.ph .talk { max-width: none; gap: 4px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; }
.ph .talk b { font-size: 16px; }
.ph .talk span { font-size: 14px; }

/* ---------- Werte-Sätze: nach aussen und nach innen ---------- */
.viocols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6vw; align-items: start; }
.vio { border-radius: 1.2vw; padding: 1.1vw 1.2vw 1.2vw; }
.vio.out { background: color-mix(in srgb, var(--lime) 26%, var(--surface)); }
.vio.inn { background: color-mix(in srgb, var(--teal) 16%, var(--surface)); }
.vio h3 { font: 700 1.5vw/1.1 var(--display); color: var(--deep); margin: 0 0 .8vw; }
.vio h3 span { display: block; font: 400 .9vw/1.3 var(--body); color: var(--muted); margin-top: .25vw; }
.vior { background: var(--surface); border-radius: .7vw; padding: .5vw .9vw; margin-bottom: .4vw; font-size: 1.02vw; line-height: 1.35; animation: rise .4s both; }
.vior cite { display: block; font: 700 .72vw/1.2 var(--body); font-style: normal; color: var(--teal-d); margin-top: .15vw; }
.vior.x { box-shadow: inset .3vw 0 0 var(--olive); }
.vio .more { font-size: .85vw; color: var(--muted); padding: .2vw; }
.ph .xtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ph .xtabs button { font: 700 13px/1 var(--display); padding: 9px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--deep); cursor: pointer; }
.ph .xtabs button.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.ph .xtabs button.has::after { content: ' ✓'; }
/* ---------- Das nehmen wir mit: zwei Seiten ---------- */
.sumgrid ol { margin: 0; padding-left: 1.2vw; display: grid; gap: .3vw; font: 600 1.02vw/1.3 var(--display); }
.sumgrid .q2 { font-size: 1vw; font-weight: 500; margin-bottom: .4vw; -webkit-line-clamp: 2; }
.sumgrid ul b { color: var(--teal-d); }
.sumgrid .wide ul b { color: var(--lime); }
.fvals.lt span { background: var(--mist); color: var(--deep); }
/* ---------- Ganzer Workshop als PDF ---------- */
#print { display: none; }
body.printing > *:not(#print) { display: none !important; }
body.printing { overflow: auto; background: #777; }
body.printing #print { display: block; }
.pstage { width: 100vw; height: 56.25vw; flex: none; overflow: hidden; margin: 0 0 12px; background: var(--bg); break-after: page; page-break-after: always; break-inside: avoid; }
.pbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #17211F; color: #E8ECEA; font-size: 14px; }
.pbar span { flex: 1; opacity: .8; }
.pbar button { font: 700 14px/1 var(--display); padding: 10px 14px; border-radius: 8px; border: 0; background: var(--teal); color: #fff; cursor: pointer; }
.pbar button#pclose { background: #2C3835; }
@page { size: 338.67mm 190.5mm; margin: 0; }
@media print {
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .pbar { display: none !important; }
  .pstage { margin: 0; }
  .pstage * { animation: none !important; }
}

@media print {
  .pstage::before, .pstage::after { display: none !important; }
  .pstage * { box-shadow: none !important; }
  .pstage .done-h { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--teal-d); }
  .pstage .card, .pstage .pcard { box-shadow: none; }
}

.pbar button[hidden] { display: none; }

/* ---------- Workshop-PDF für alle ---------- */
.pdfcta { display: flex; align-items: center; gap: 1.2vw; margin-top: 1.6vw; padding: 1vw 1.2vw; border-radius: 1vw; background: var(--surface); font-size: 1vw; color: var(--muted); }
.pdfcta button { font: 700 .95vw/1 var(--display); padding: .7vw 1.1vw; border-radius: .7vw; border: 1px solid var(--line); background: transparent; color: var(--deep); cursor: pointer; white-space: nowrap; }
.pdfcta button.go { font-size: 1.15vw; padding: .95vw 1.5vw; border: 0; background: var(--deep); color: #fff; }
.pdfcta span { flex: 1; }
.pdfcta span:first-child { color: var(--deep); font-weight: 700; }
.ph .pdfc { background: var(--lime-t); }

/* Maschinenraum wie im Cockpit: drei Phasen, 13 Bausteine in Reihenfolge, dazwischen die Prüfung durch Menschen */
.path { display: grid; grid-template-columns: 8.6vw repeat(6, minmax(0, 1fr) 2.7vw) minmax(0, 1fr); grid-template-rows: auto 2.3vw auto 2.3vw auto; align-items: stretch; }
.lane { grid-column: 1; align-self: center; }
.lane b { display: block; font: 700 .95vw/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.lane span { display: block; margin-top: .45vw; font: 600 .95vw/1 var(--display); color: var(--muted); }
.lanenote { align-self: center; font: 600 1.25vw/1.35 var(--display); color: var(--deep); padding-left: .4vw; animation: rise .5s .7s both; }
.path .blk { min-height: 6vw; padding: .75vw .8vw; display: flex; flex-direction: column; justify-content: space-between; border-radius: 1vw; box-shadow: 0 .3vw 1.2vw rgba(36, 64, 59, .07); }
.path .blk .n { font-size: 1.3vw; line-height: 1; }
.path .blk b { font-size: .92vw; line-height: 1.18; margin-top: .5vw; hyphens: manual; overflow-wrap: break-word; }
.path .blk.done::after { right: .8vw; top: .75vw; font-size: 1vw; }
.path .blk.wip { border: .2vw dashed var(--teal); }
.path .blk.wip::before { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, rgba(210, 214, 144, 0), rgba(210, 214, 144, .6), rgba(210, 214, 144, 0)); animation: scan 2.2s linear infinite; }
.path .blk.sel { box-shadow: 0 0 0 .25vw var(--deep); }
.lnk { position: relative; display: grid; place-items: center; animation: rise .4s both; }
.lnk::before { content: ''; position: absolute; left: 0; right: .45vw; top: 50%; border-top: .16vw dashed #B9C6C1; transform: translateY(-50%); }
.lnk::after { content: ''; position: absolute; right: 0; top: 50%; border: .4vw solid transparent; border-right-width: 0; border-left-color: #B9C6C1; transform: translateY(-50%); }
.lnk.done::before { border-top-style: solid; border-top-color: var(--teal); }
.lnk.done::after { border-left-color: var(--teal); }
.lnk.d { justify-self: start; width: 3.2vw; }
.lnk.d::before { left: 50%; right: auto; top: 0; bottom: .45vw; border-top: 0; border-left: .16vw dashed #B9C6C1; transform: translateX(-50%); }
.lnk.d::after { right: auto; left: 50%; top: auto; bottom: 0; border: .4vw solid transparent; border-bottom-width: 0; border-top-color: #B9C6C1; transform: translateX(-50%); }
.lnk.d.done::before { border-left-style: solid; border-left-color: var(--teal); }
.lnk.d.done::after { border-left-color: transparent; border-top-color: var(--teal); }
.lnk i { position: relative; z-index: 1; width: 1.75vw; height: 1.75vw; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: .13vw dashed var(--teal); color: var(--teal-d); }
.lnk.done i { background: var(--deep); border: .13vw solid var(--deep); color: #fff; }
.lnk svg { width: 1.15vw; height: 1.15vw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.under { margin-top: 1.3vw; min-height: 9.6vw; }
.under .legend2 { margin-top: 0; align-items: center; gap: .8vw 2vw; font-size: 1vw; }
.legend2 .lg { display: inline-flex; align-items: center; gap: .5vw; }
.legend2 .lg .lnk { animation: none; }
.legend2 .lg .lnk::before, .legend2 .lg .lnk::after { display: none; }
.legend2 .lg .lnk i { width: 1.6vw; height: 1.6vw; margin: 0; }
.legend2 .lg .lnk svg { width: 1.05vw; height: 1.05vw; }
.binfo.wide { position: relative; display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 2.2vw; padding: 1.1vw 3.4vw 1.1vw 1.5vw; align-items: start; }
.binfo.wide h3 { font-size: 1.6vw; margin: .45vw 0 .6vw; }
.binfo.wide .chainnote { margin-top: 0; font-size: .92vw; padding: .55vw .8vw; }
.binfo.wide .dt { font: 700 .85vw/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.binfo.wide p { margin: .45vw 0 0; font-size: 1.1vw; line-height: 1.4; }
.binfo.wide .back { position: absolute; right: .9vw; top: .7vw; margin: 0; width: 2vw; height: 2vw; border-radius: 50%; background: var(--mist); font: 700 1.3vw/1 var(--display); padding: 0; }
.blkph { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin: 10px 2px 2px; }
.blkph:first-child { margin-top: 0; }
