/* Schichtplanung und Helfereinsätze: Ergänzung zu site.css, gleiche Tokens */
.sp-mod { display: inline-flex; align-items: center; gap: 10px; }
.sp-mod .sep { width: 1px; height: 22px; background: var(--line); }
.sp-mod a.mod { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--link); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.sp-sub { display: none; border-bottom: 1px solid var(--line); background: var(--head-bg); }
.sp-sub .wrap { display: flex; gap: 18px; overflow-x: auto; height: 44px; align-items: center; font-size: 14px; font-weight: 700; scrollbar-width: none; }
.sp-sub a { color: var(--ink2); text-decoration: none; white-space: nowrap; }
.sp-sub a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
@media (max-width: 900px) { .sp-sub { display: block; } .head-cta .btn-ghost { display: none; } }
@media (max-width: 560px) { .sp-mod .sep, .sp-mod a.mod { display: none; } .wrap { padding: 0 16px; } }

.dia { font-style: normal; }
.note-hd { font-size: 14px; color: var(--muted); margin: 0; }
.price-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; }
.price-card.hi { border: 2px solid var(--blue); }
.price-card .amt { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; margin: 6px 0 0; }
.price-card .per { font-size: 14px; color: var(--muted); margin: 0; }
.price-card ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.price-card .btn { margin-top: auto; }
.badge { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* Wochenplan, der sich aufbaut */
.wk { display: grid; grid-template-columns: 74px repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.wk .h { font-family: var(--mono); color: var(--muted); text-align: center; padding-bottom: 2px; }
.wk .r { font-weight: 800; align-self: center; font-size: 12px; color: var(--ink2); }
.wk .c { min-height: 46px; border-radius: 8px; border: 1px dashed var(--line); padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.wk .c b { display: block; background: var(--sel); box-shadow: inset 0 -2px 0 var(--tc, var(--blue)); border-radius: 4px; padding: 1px 5px 2px; font-weight: 700; font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk .c.gap { border-color: var(--rose); }
.wk .c.gap::after { content: '1 frei'; font-family: var(--mono); font-size: 10.5px; color: var(--red); }
.wk-foot { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.anim .wk .c b { opacity: 0; transform: translateY(6px); }
.anim.go .wk .c b { animation: sp-in .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes sp-in { to { opacity: 1; transform: none; } }

/* Handy mit Einsatzliste */
.phone { width: 280px; max-width: 100%; margin: 0 auto; background: var(--surface); border: 10px solid #0E1A2B; border-radius: 34px; padding: 18px 12px; box-shadow: 0 24px 60px -32px rgba(14, 26, 43, .45); }
.phone .ph-h { font-family: var(--display); font-weight: 800; font-size: 17px; margin: 0 0 2px; }
.phone .ph-s { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.slotx { border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; transition: box-shadow .2s, border-color .2s; }
.slotx strong { display: block; font-size: 14px; }
.slotx strong::before, .dsh .top > span:first-child::before, .tev2 .top > span:first-child::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--tc, var(--blue)); margin-right: 7px; vertical-align: 0; }
.slotx .cnt { font-family: var(--mono); font-size: 11.5px; color: var(--ink2); }
.slotx .go { font: inherit; font-weight: 800; font-size: 12px; background: var(--blue); color: #fff; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; white-space: nowrap; }
.slotx.sel { box-shadow: 0 0 0 3px var(--focus); }
.slotx.done .go { background: var(--ok); }
.phone .toast { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ok); min-height: 18px; }

/* Interaktive Demo */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.demo-tabs { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; align-self: flex-start; flex-wrap: wrap; }
.demo-tabs button { font: inherit; font-weight: 800; font-size: 14px; border: 0; background: transparent; color: var(--ink2); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(14, 26, 43, .12); }
.demo-label { display: inline-flex; align-self: flex-start; background: #FFF3DC; color: #7A4A00; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin: 0; }
.board-d { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.dcol h4 { margin: 0 0 6px; font-size: 13px; font-family: var(--mono); color: var(--muted); font-weight: 600; }
.dsh { border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-bottom: 8px; font-size: 12.5px; display: flex; flex-direction: column; gap: 4px; }
.dsh .top { display: flex; justify-content: space-between; gap: 6px; font-weight: 800; }
.occ2 { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #FDECEC; color: #A40D0D; white-space: nowrap; }
.occ2.part { background: #FFF3DC; color: #7A4A00; }
.occ2.full { background: #E3F4EA; color: #1F7A4D; }
.dsh .who { display: flex; flex-wrap: wrap; gap: 4px; }
.dsh .who span { background: var(--soft); border-radius: 999px; padding: 1px 7px; font-weight: 700; }
.dsh .who span.new { background: var(--sel); outline: 1px dashed var(--blue); }
.why { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink2); display: grid; gap: 3px; }
.demo-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tev2 { --tc: var(--ok); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; }
.tev2 .top { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 14px; }
.rb3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rb3 button { font: inherit; font-weight: 800; font-size: 13px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.rb3 button[aria-pressed="true"].y { background: #E3F4EA; color: #1F7A4D; border-color: #1F7A4D; }
.rb3 button[aria-pressed="true"].m { background: #FFF3DC; color: #7A4A00; border-color: #E0A040; }
.rb3 button[aria-pressed="true"].n { background: #FDECEC; color: #A40D0D; border-color: #A40D0D; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
:root:not([data-theme="light"]) .occ2, :root:not([data-theme="light"]) .demo-label { filter: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { border-color: #000; }
  :root:not([data-theme="light"]) .occ2 { background: #3D1C20; color: #FFA8A8; }
  :root:not([data-theme="light"]) .occ2.part, :root:not([data-theme="light"]) .demo-label { background: #3A2E12; color: #F5C76B; }
  :root:not([data-theme="light"]) .occ2.full { background: #16352A; color: #86DDAF; }
}
:root[data-theme="dark"] .occ2 { background: #3D1C20; color: #FFA8A8; }
:root[data-theme="dark"] .occ2.part, :root[data-theme="dark"] .demo-label { background: #3A2E12; color: #F5C76B; }
:root[data-theme="dark"] .occ2.full { background: #16352A; color: #86DDAF; }
@media (prefers-reduced-motion: reduce) {
  .anim .wk .c b { opacity: 1; transform: none; }
  .anim.go .wk .c b { animation: none; }
  .slotx { transition: none; }
}
:lang(en) .wk .c.gap::after { content: '1 open'; }
:lang(fr) .wk .c.gap::after { content: '1 libre'; }
:lang(it) .wk .c.gap::after { content: '1 libero'; }

/* ---------- Szenen: zwei Funktionen als Text, daneben eine kleine Animation ----------
   Ohne JavaScript ist der Endzustand sichtbar. schicht.js setzt html.sp-js und beim Sichtbarwerden .go,
   dann laufen die Elemente einmal vom Anfangs- in den Endzustand. */
.scenes { display: grid; gap: 0; }
.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 36px 0; }
.scene + .scene { border-top: 1px solid var(--line); }
.scenes .scene:nth-child(even) .scene-art { order: -1; }
.scenes .scene:first-child { padding-top: 0; }
.scene-txt { display: grid; gap: 22px; align-content: center; }
.scene-solo .scene-txt { gap: 14px; }
.feat h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 6px; }
.feat p { margin: 0; color: var(--ink2); }
.scene-art { margin: 0; background: var(--canvas); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-height: 240px; display: grid; align-content: center; }
@media (min-width: 861px) {
  .scene-art { padding: 32px 36px; min-height: 280px; }
  .sx { font-size: 14.5px; gap: 16px; }
  .sx-pair { grid-template-columns: 112px minmax(0, 1fr); }
  .sx .bar { grid-template-columns: 88px minmax(0, 1fr) 50px; }
  .sx .cal span { height: 28px; }
  .sx .ans span { width: 36px; height: 36px; }
}
@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .scenes .scene:nth-child(even) .scene-art { order: 0; }
  .scene-art { min-height: 0; padding: 18px; }
}
.sx { display: grid; gap: 14px; font-size: 13px; color: var(--ink); }
.sx b, .sx strong { font-weight: 800; }
.sx .cap2 { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.sx-types { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-types span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px; font-weight: 800; display: inline-flex; gap: 7px; align-items: center; }
.sx-types span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--tc); }
.sx-types i { font-style: normal; font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: 12px; }
.sx-types em { font-style: normal; font-size: 11px; color: var(--ok); }
.sx-pair { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; }
.sx-pool { display: grid; gap: 6px; }
.sx-pool b, .sx .who b, .sx-cells b { display: block; background: var(--sel); border-radius: 7px; padding: 5px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-slot { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; box-shadow: 0 14px 30px -24px rgba(14, 26, 43, .5); }
.sx .top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sx-slot .top strong::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--tc, var(--blue)); margin-right: 7px; }
.sx .who { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { display: inline-grid; font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.sw > span { grid-area: 1 / 1; transition: opacity .35s ease-out, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--sw, 1.2s); }
.sw .a { opacity: 0; transform: translateY(-5px); }
.sp-js .anim:not(.go) .sw .a { opacity: 1; transform: none; }
.sp-js .anim:not(.go) .sw .b { opacity: 0; transform: translateY(5px); }
.sw.st > span { font-family: var(--display); font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; justify-self: end; }
.sw.st .a { background: var(--soft); color: var(--ink2); }
.sw.st .b { background: #E3F4EA; color: #1F7A4D; }
/* Zuteilen: Noah verlässt die Liste und landet in der Schicht */
.sx-drag .leave { opacity: .35; background: transparent; outline: 1px dashed var(--soll); outline-offset: -1px; transition: opacity .4s, background-color .4s, outline-color .4s; transition-delay: .5s; }
.sp-js .anim:not(.go) .sx-drag .leave { opacity: 1; background: var(--sel); outline-color: transparent; }
.sx .land { transition: opacity .5s ease-out, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: .7s; }
.sp-js .anim:not(.go) .sx .land { opacity: 0; transform: translateX(-56px); }
/* Vorschlag: Knopf, Plätze füllen sich, Begründungen erscheinen */
.sx-btn { justify-self: start; background: var(--blue); color: #fff; font-weight: 800; border-radius: 10px; padding: 9px 14px; }
.go .sx-btn { animation: sx-press .5s cubic-bezier(.16, 1, .3, 1) .25s; }
.sx-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sx-cells > span { border: 1px dashed var(--line); border-radius: 10px; padding: 6px; background: var(--surface); }
.sx-cells b { outline: 1px dashed var(--blue); outline-offset: -1px; transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.75s + var(--i) * .18s); }
.sp-js .anim:not(.go) .sx-cells b:not(.no) { opacity: 0; transform: translateY(8px) scale(.96); }
.sx-cells .off { background: var(--soft); }
.sx-cells b.no { background: transparent; outline: 0; color: var(--muted); text-decoration: line-through; font-weight: 600; }
.sx-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; color: var(--ink2); }
.sx-why li { transition: opacity .4s ease-out, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(1.5s + var(--i) * .2s); }
.sx-why li::before { content: ''; display: inline-block; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-3px); margin-right: 9px; }
.sp-js .anim:not(.go) .sx-why li { opacity: 0; transform: translateX(-8px); }
/* Veröffentlichen und Export */
.sx-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 12px; box-shadow: 0 14px 30px -24px rgba(14, 26, 43, .5); }
.sx-doc .lines { display: grid; gap: 7px; }
.sx-doc .lines i { display: block; height: 9px; border-radius: 4px; background: var(--soft); }
.sx-doc .lines i:nth-child(2) { width: 82%; } .sx-doc .lines i:nth-child(3) { width: 64%; } .sx-doc .lines i:nth-child(4) { width: 74%; }
.sx-pub { --sw: .9s; }
.sx-files { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-files span { font-family: var(--mono); font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(1.4s + var(--i) * .15s); }
.sp-js .anim:not(.go) .sx-files span { opacity: 0; transform: translateY(12px); }
/* Helfereinsatz: Link im Chat, zwei Leute, ein Platz */
.sx-chat { --sw: 1.15s; }
.sx .bub { margin: 0; justify-self: start; max-width: 300px; background: var(--sel); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-weight: 700; transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: .1s; }
.sx .bub u { display: block; text-decoration: none; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--link); margin-top: 2px; }
.sp-js .anim:not(.go) .sx .bub { opacity: 0; transform: translateY(10px); }
.sx .taps { display: flex; gap: 8px; flex-wrap: wrap; }
.sx .tap { display: inline-flex; gap: 6px; align-items: center; background: var(--soft); border-radius: 999px; padding: 5px 11px; font-weight: 800; transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); }
.sx .tap em { font-style: normal; font-weight: 700; font-size: 12px; }
.sx .tap.ok { transition-delay: .9s; } .sx .tap.ok em { color: var(--ok); }
.sx .tap.no { transition-delay: 1.5s; } .sx .tap.no em { color: var(--red); }
.sp-js .anim:not(.go) .sx .tap { opacity: 0; transform: scale(.9); }
/* Erinnerung und Abmeldung */
.sx .mail { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: grid; gap: 2px; box-shadow: 0 14px 30px -24px rgba(14, 26, 43, .5); transition: opacity .4s ease-out, transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: .1s; }
.sx .mail strong::before { content: ''; display: inline-block; width: 14px; height: 10px; margin-right: 8px; border: 1.5px solid currentColor; border-radius: 2px; background: linear-gradient(to bottom right, transparent 46%, currentColor 48%, currentColor 52%, transparent 54%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 46%, currentColor 48%, currentColor 52%, transparent 54%) right / 50% 100% no-repeat; vertical-align: -1px; }
.sx .mail span { color: var(--ink2); }
.sp-js .anim:not(.go) .sx .mail { opacity: 0; transform: translateY(-12px); }
.sx-mail { --sw: 1.1s; }
.sx .who .out { text-decoration: line-through; opacity: .4; transition: opacity .4s; transition-delay: 1s; }
.sp-js .anim:not(.go) .sx .who .out { opacity: 1; text-decoration: none; }
.sx .note { margin: 0; font-size: 12px; color: var(--ok); font-weight: 700; transition: opacity .4s; transition-delay: 1.4s; }
.sp-js .anim:not(.go) .sx .note { opacity: 0; }
/* Balken: Auswertung und Teilnahme */
.sx .bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-weight: 700; }
.sx .bar i { display: block; height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.sx .bar i::after { content: ''; display: block; height: 100%; width: calc(var(--f) * 100%); border-radius: inherit; background: var(--ok); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.25s + var(--i) * .15s); }
.sx-bars .bar:nth-of-type(n + 3) i::after { background: var(--blue); }
.sp-js .anim:not(.go) .sx .bar i::after { transform: scaleX(0); }
.sx .bar em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.sx .priv { margin: 4px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--ink2); transition: opacity .4s; transition-delay: 1.1s; }
.sp-js .anim:not(.go) .sx .priv { opacity: 0; }
.sx .lock { font-family: var(--display); font-weight: 800; font-size: 12px; background: var(--soft); color: var(--ink2); border-radius: 999px; padding: 3px 9px 3px 22px; position: relative; }
.sx .lock::before { content: ''; position: absolute; left: 9px; top: 50%; width: 7px; height: 6px; margin-top: -1px; background: currentColor; border-radius: 1.5px; }
.sx .lock::after { content: ''; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 3px 3px 0 0; box-sizing: border-box; }
/* Team: Saison und Antworten */
.sx .cal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.sx .cal b { font-family: var(--mono); font-weight: 600; font-size: 12px; color: var(--muted); text-align: center; }
.sx .cal span { height: 24px; border-radius: 7px; transition: opacity .35s ease-out, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.1s + var(--i) * .07s); }
.sx .cal .t, .sx .legend .t::before { background: var(--ok); opacity: .85; }
.sx .cal .s, .sx .legend .s::before { background: var(--blue); }
.sp-js .anim:not(.go) .sx .cal span { opacity: 0; transform: scale(.4); }
.sx .legend { margin: 0; display: flex; gap: 14px; font-size: 12px; color: var(--ink2); }
.sx .legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.sx .ans { display: flex; gap: 8px; }
.sx .ans span { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 14px; transition: opacity .3s ease-out, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(1s + var(--i) * .12s); }
.sx .ans .y { background: #E3F4EA; color: #1F7A4D; } .sx .ans .m { background: #FFF3DC; color: #7A4A00; } .sx .ans .n { background: #FDECEC; color: #A40D0D; }
.sp-js .anim:not(.go) .sx .ans span { opacity: 0; transform: scale(.4); }
.sx .rcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; box-shadow: 0 14px 30px -24px rgba(14, 26, 43, .5); transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: .15s; }
.sx .rcard .pill { background: #FDECEC; color: #A40D0D; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.sx .rcard strong { flex: 1; }
.sp-js .anim:not(.go) .sx .rcard { opacity: 0; transform: translateY(10px); }
.sx .dl { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.sx .dl span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sx .dl i { display: block; height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.sx .dl i::after { content: ''; display: block; height: 100%; background: #E0A040; border-radius: inherit; transform-origin: left; transform: scaleX(.3); transition: transform 1.8s cubic-bezier(.16, 1, .3, 1); transition-delay: .7s; }
.sp-js .anim:not(.go) .sx .dl i::after { transform: scaleX(1); }
/* Preisseite: Grenze der Gratisversion */
.scene-solo { padding: 0; }
.sx-limit .lockd { border-style: dashed; color: var(--muted); transition: opacity .4s ease-out, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.4s + var(--i) * .25s); }
.sx-limit .lockd em { color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 7px; font-weight: 800; }
.sx-limit .sx-types span:not(.lockd) { transition: opacity .35s ease-out, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.2s + var(--i) * .2s); }
.sp-js .anim:not(.go) .sx-limit .sx-types span { opacity: 0; transform: translateY(8px); }
.go .sx-limit .lockd { animation: sx-shake .5s cubic-bezier(.16, 1, .3, 1) 1.5s; }
.sx .hint { margin: 0; justify-self: start; background: var(--sel); color: var(--link-d); font-weight: 800; border-radius: 10px; padding: 7px 12px; transition: opacity .4s; transition-delay: 1.9s; }
.sx .hint.soft { background: var(--soft); color: var(--ink2); transition-delay: 2.6s; }
.sp-js .anim:not(.go) .sx .hint { opacity: 0; }
.sx .meter { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.sx .meter i { height: 12px; border-radius: 3px; background: var(--ok); transition: opacity .25s; transition-delay: calc(1.2s + var(--i) * 35ms); }
.sp-js .anim:not(.go) .sx .meter i { opacity: .15; }
.sx .meter-l { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: -8px; }
@keyframes sx-press { 40% { transform: scale(.95); } }
@keyframes sx-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
/* So funktioniert es: die Linien füllen sich nacheinander */
.steps-anim li { position: relative; }
.steps-anim li::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: var(--soll); transform-origin: left; transition: transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--n, 0) * .3s); }
.steps-anim li.end::before { background: var(--red); }
.sp-js .steps-anim li { border-top-color: var(--line); }
.sp-js .steps-anim:not(.go) li::before { transform: scaleX(0); }
/* Demo: der wichtigste Knopf meldet sich dreimal */
.demo .demo-acts .btn-primary { animation: sx-pulse 1.8s ease-out 1.5s 3; }
@keyframes sx-pulse { 0% { box-shadow: 0 0 0 0 rgba(50, 100, 164, .45); } 100% { box-shadow: 0 0 0 14px rgba(50, 100, 164, 0); } }
:root[data-theme="dark"] .sw.st .b, :root[data-theme="dark"] .sx .ans .y { background: #16352A; color: #86DDAF; }
:root[data-theme="dark"] .sx .ans .m { background: #3A2E12; color: #F5C76B; }
:root[data-theme="dark"] .sx .ans .n, :root[data-theme="dark"] .sx .rcard .pill { background: #3D1C20; color: #FFA8A8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sw.st .b, :root:not([data-theme="light"]) .sx .ans .y { background: #16352A; color: #86DDAF; }
  :root:not([data-theme="light"]) .sx .ans .m { background: #3A2E12; color: #F5C76B; }
  :root:not([data-theme="light"]) .sx .ans .n, :root:not([data-theme="light"]) .sx .rcard .pill { background: #3D1C20; color: #FFA8A8; }
}
@media (prefers-reduced-motion: reduce) {
  .sx *, .sx *::before, .sx *::after, .steps-anim li::before, .sw > span { transition: none !important; animation: none !important; }
  .demo .demo-acts .btn-primary { animation: none; }
}

/* ==========================================================================
   Verkaufen: CHF 99 sichtbar (Preiszeile im Hero, Kaufknopf in der Preisbox, Kaufleiste)
   ========================================================================== */
.hero-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero-price .hp-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 15px; }
.hero-price a { font-weight: 800; color: var(--link); }
.price-card .btn-buy .nw { white-space: nowrap; }
.price-card .btn-buy { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.price-card .buy-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.sp-buybar { display: none; }
html.sp-js .sp-buybar { position: fixed; z-index: 50; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 12px; width: min(620px, calc(100vw - 24px)); padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(14, 26, 43, .45), 0 0 0 1px var(--line); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s ease; }
html.sp-js .sp-buybar.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sp-buybar .bb-price { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 16px; }
.sp-buybar .bb-txt { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; }
.sp-buybar .btn { flex: none; }
.sp-buybar .bb-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.sp-buybar .bb-x:hover { background: var(--soft); color: var(--ink); }
.sp-buybar .bb-x:focus-visible, .sp-buybar .btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 560px) {
  html.sp-js .sp-buybar { bottom: 10px; gap: 8px; }
  .sp-buybar .bb-txt { font-size: 13px; }
  .sp-buybar .bb-price { font-size: 14px; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) { html.sp-js .sp-buybar { transition: none; } }
