/* Voxa Spukscheibe – Konfigurator im Website-Theme (dunkel, Betta-Palette) mit ein paar Halloween-Details.
   Alles hängt an .vxs, damit nichts in den Rest der Seite läuft. */
@font-face { font-family: "VxsCreepster"; src: url("/voxa_spukscheibe/static/fonts/creepster-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

.vxs {
  --ink: #E9EBF2; --muted: rgba(233,235,242,.66); --faint: rgba(233,235,242,.42);
  --surface: rgba(255,255,255,.045); --surface-2: rgba(255,255,255,.07); --line: rgba(255,255,255,.14); --line-soft: rgba(255,255,255,.09);
  --accent: #9C79F4; --accent-2: #E8A2F5; --accent-ink: #fff; --accent-soft: rgba(156,121,244,.18);
  --glow: #A6F57A; --glow-soft: rgba(166,245,122,.12); --pumpkin: #FF9A3C;
  --ok: #6CCB8E; --warn: #F2B04A; --bad: #F27466; --stage: #0B0A12; --radius: 16px;
  --iri: linear-gradient(100deg, #FEC4C6, #E8A2F5 24%, #9C79F4 48%, #6473CA 70%, #6EB7CC);
  color: var(--ink); font-family: var(--vx-font, "Inter", system-ui, sans-serif); font-size: 15px; line-height: 1.5;
  position: relative; padding: 8px 0 72px;
}
.vxs *, .vxs *::before, .vxs *::after { box-sizing: border-box; }
.vxs [hidden] { display: none !important; }
.vxs button { font: inherit; }

/* ---------- Kopf ---------- */
.vxs-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 28px; margin-bottom: 22px; }
.vxs-brand { position: relative; padding-right: 150px; }
.vxs-kicker { display: block; font-family: var(--vx-font-hand, "Caveat", cursive); font-size: 1.6rem; line-height: 1; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.vxs-title { font-family: "VxsCreepster", var(--vx-font-head, cursive); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .95; letter-spacing: .03em; margin: 0; color: var(--glow);
  text-shadow: 0 0 10px rgba(166,245,122,.55), 0 0 32px rgba(166,245,122,.3); animation: vxsFlicker 7s infinite; }
@keyframes vxsFlicker { 0%, 91%, 100% { opacity: 1; } 92% { opacity: .55; } 93% { opacity: 1; } 95% { opacity: .7; } 96% { opacity: 1; } }
.vxs-lede { margin: 0; color: var(--muted); max-width: 54ch; }
.vxs-bats { position: absolute; right: 0; top: -12px; width: 150px; height: 62px; color: #120f1c; overflow: visible; }
.vxs-bat path { fill: #1a1528; stroke: rgba(232,162,245,.85); stroke-width: 1; }
.vxs-bat { transform-box: fill-box; transform-origin: center; animation: vxsFlap 1.1s ease-in-out infinite alternate, vxsDrift 6s ease-in-out infinite alternate; }
.vxs-bat-2 { animation-delay: -.4s, -2s; } .vxs-bat-3 { animation-delay: -.8s, -4s; }
@keyframes vxsFlap { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
@keyframes vxsDrift { from { translate: 0 0; } to { translate: -6px 5px; } }
@media (max-width: 600px) { .vxs-brand { padding-right: 0; } .vxs-bats { width: 110px; top: -34px; } }

/* ---------- Raster ---------- */
.vxs-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.vxs-grid > * { min-width: 0; }
@media (max-width: 991.98px) { .vxs-grid { grid-template-columns: 1fr; } .vxs .stagecol { position: static !important; } }
@media (min-width: 992px) { .vxs .stageblock { max-width: max(480px, calc(100vh - 170px)); margin-inline: auto; } }
.vxs .stagecol { position: sticky; top: 90px; }

/* ---------- Glas-Panels wie auf der Startseite ---------- */
.vxs .panel { position: relative; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 50px -30px rgba(0,0,0,.8); }
.vxs .stack { display: flex; flex-direction: column; gap: 14px; }
.vxs h2 { font-family: var(--vx-font-head, "Comfortaa", sans-serif); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin: 0 0 12px; display: flex; align-items: center; gap: 9px; color: #fff; text-wrap: balance; }
.vxs h2 .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(166,245,122,.08); border: 1px solid rgba(166,245,122,.45); color: var(--glow);
  font-size: .8rem; font-variant-numeric: tabular-nums; box-shadow: 0 0 12px rgba(166,245,122,.25); flex: none; }
.vxs label.l { font-weight: 600; font-size: .84rem; display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--muted); }
.vxs .field { display: flex; flex-direction: column; gap: 6px; }
.vxs .vxs-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.vxs .hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.vxs input[type=text] { width: 100%; font: inherit; font-weight: 600; font-size: 1.3rem; padding: 8px 12px; border: 2px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.25); color: var(--ink); }
.vxs input[type=text]:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px rgba(166,245,122,.15); }
.vxs input[type=text].blocked, .vxs input[type=text].blocked:focus { border-color: var(--bad); box-shadow: none; }
.vxs input[type=number] { font: inherit; width: 5.2em; padding: 3px 6px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.25); color: var(--ink); font-variant-numeric: tabular-nums; }
.vxs input[type=range] { width: 100%; accent-color: var(--accent); }
.vxs .slider { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .85rem; }
.vxs .slider span.v { font-variant-numeric: tabular-nums; min-width: 4.6em; text-align: right; color: var(--ink); font-weight: 600; }
.vxs .slider span.k { color: var(--muted); font-weight: 600; min-width: 5.2em; display: inline-flex; align-items: center; gap: 6px; }
.vxs .seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(0,0,0,.2); }
.vxs .seg button { font-size: .84rem; font-weight: 600; padding: 6px 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.vxs .seg button + button { border-left: 1px solid var(--line); }
.vxs .seg button[aria-pressed="true"] { background: linear-gradient(135deg, #E8A2F5, #9C79F4 55%, #6473CA); color: #fff; }
.vxs .seg.glowseg button[aria-pressed="true"] { background: var(--glow); color: #0E1A08; box-shadow: 0 0 16px rgba(166,245,122,.45); }
.vxs button:focus-visible, .vxs .motif:focus-visible, .vxs .fontchip:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
.vxs .btn:not(.btn-primary) { font-weight: 600; font-size: .9rem; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.vxs .btn:not(.btn-primary):hover { border-color: var(--muted); color: #fff; }
.vxs .btn.primary { background: linear-gradient(135deg, #E8A2F5, #9C79F4 55%, #6473CA); border-color: transparent; color: #fff; }
.vxs .btn.small { padding: 5px 10px; font-size: .8rem; }
.vxs .btn.danger { color: var(--bad); }
.vxs .btn:disabled { opacity: .5; cursor: not-allowed; }
.vxs .palette { display: flex; flex-wrap: wrap; gap: 6px; }
.vxs .palette button { width: 30px; height: 30px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; padding: 0; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.vxs .palette button[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.6); }
.vxs .palette button.glowc::after { content: ""; position: absolute; inset: -5px; border-radius: 12px; box-shadow: 0 0 10px 1px var(--gc); opacity: .7; pointer-events: none; }
.vxs .palette .sep { width: 1px; background: var(--line); margin: 0 4px; }
.vxs .fontchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vxs .fontchip { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); cursor: pointer; text-align: left; min-width: 0; }
.vxs .fontchip svg { height: 22px; width: 100%; display: block; }
.vxs .fontchip small { font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vxs .fontchip[aria-pressed="true"] { border-color: var(--glow); background: var(--glow-soft); }
.vxs .motifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.vxs .motif { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 600; line-height: 1.15; text-align: center; transition: transform .15s, border-color .15s; }
.vxs .motif svg { width: 38px; height: 38px; filter: drop-shadow(0 0 4px rgba(166,245,122,.45)); }
.vxs .motif:hover { border-color: var(--glow); color: #fff; transform: translateY(-2px) rotate(-2deg); }
.vxs .moretoggle { display: block; width: 100%; margin-top: 8px; color: var(--glow) !important; }

/* ---------- Bühne ---------- */
.vxs .stage { position: relative; border-radius: var(--radius); border: 1px solid var(--line-soft); overflow: hidden;
  background: radial-gradient(60% 50% at 70% 22%, rgba(254,196,198,.10), transparent 70%), radial-gradient(120% 90% at 50% 40%, #1d1830 0%, var(--stage) 72%); }
.vxs .stage.night { background: radial-gradient(120% 90% at 50% 40%, #0c0b12 0%, #040308 75%); }
.vxs .vxs-web { position: absolute; right: 0; top: 0; width: 26%; max-width: 150px; color: rgba(233,235,242,.14); pointer-events: none; z-index: 1; }
.vxs .vxs-spider { animation: vxsSpider 5s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes vxsSpider { from { transform: translateY(0); } to { transform: translateY(6px); } }
.vxs #editor { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; position: relative; z-index: 0; }
.vxs #view3d { display: block; width: 100%; aspect-ratio: 1 / 1; max-width: 100%; touch-action: none; cursor: grab; }
.vxs .toolbar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 10px; }
.vxs .toolbar .seg button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.vxs .toolbar .acts { margin-left: auto; }
.vxs .toolbar .acts button { color: var(--ink); font-size: .86rem; min-width: 44px; }
.vxs .toolbar .acts button:not(:last-child) { font-size: 1.1rem; padding: 6px 10px; }
.vxs .toolbar .acts button:hover:not(:disabled) { background: var(--surface-2); }
.vxs .toolbar .acts button:disabled { opacity: .35; cursor: default; }
.vxs .stagefoot { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 14px; margin-top: 8px; }
.vxs .stagefoot .stagehint { margin: 2px 2px 0; flex: 1; }
.vxs .stagefoot .status { flex: none; margin-top: 0; }
.vxs .pricepanel .price { margin-top: 12px; }
.vxs .toolbar .seg.two button { flex-direction: column; align-items: flex-start; line-height: 1.15; padding: 5px 14px; }
.vxs .seg.two { flex-wrap: nowrap; } .vxs .seg.two button small { font-size: .68rem; font-weight: 500; opacity: .8; }
@media (max-width: 560px) { .vxs .seg.two { flex: 1 1 100%; } .vxs .seg.two button { flex: 1 1 0; min-width: 0; } .vxs .stagefoot { flex-direction: column-reverse; } .vxs .editbtn { font-size: .9rem; padding: 8px 13px; } }
.vxs .editbtn { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .95rem; padding: 9px 15px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #E8A2F5, #9C79F4 55%, #6473CA); color: #fff; cursor: pointer; box-shadow: 0 6px 20px -6px rgba(156,121,244,.8); z-index: 2; }
.vxs .editbtn .ic { font-size: 1.05rem; line-height: 1; }
.vxs .editbtn[aria-pressed="true"] { background: var(--glow); color: #0E1A08; box-shadow: 0 0 18px rgba(166,245,122,.55); }
.vxs .editbtn.nudge { animation: vxsNudge .9s ease 2; }
@keyframes vxsNudge { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(156,121,244,.35); } }
.vxs .edittag { position: absolute; left: 10px; bottom: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.45); color: var(--glow); pointer-events: none; z-index: 2; }
.vxs .stage.editing { outline: 2px solid var(--glow); outline-offset: -2px; }
.vxs .stage.locked #editor { touch-action: pan-x pan-y pinch-zoom; }
.vxs .stage.locked .el { cursor: pointer; }
.vxs .stage.locked #view3d { touch-action: pan-y; }
.vxs .stagehint { font-size: .8rem; color: var(--faint); margin: 8px 2px 0; }
.vxs .el { cursor: grab; } .vxs .el.drag { cursor: grabbing; } .vxs .handle { cursor: pointer; }

/* ---------- Ampel ---------- */
.vxs .status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.vxs .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.vxs .pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; box-shadow: 0 0 8px currentColor; }
.vxs .pill.ok { color: var(--ok); } .vxs .pill.warn { color: var(--warn); } .vxs .pill.bad { color: var(--bad); }
.vxs .warns { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vxs .warns li { border-left: 3px solid var(--warn); background: var(--surface-2); padding: 6px 10px; border-radius: 0 8px 8px 0; font-size: .84rem; cursor: pointer; }
.vxs .warns li.red { border-color: var(--bad); }
.vxs .warns li b { font-weight: 700; }

/* ---------- Preis ---------- */
.vxs .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.vxs .price .big { font-family: var(--vx-font-head, "Comfortaa", sans-serif); font-weight: 700; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vxs .price .vat { color: var(--muted); font-size: .8rem; }
.vxs table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 8px; color: var(--ink); }
.vxs td { padding: 4px 0; border-bottom: 1px dashed var(--line); } .vxs td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; }
.vxs tr.sum td { font-weight: 700; border-bottom: 0; }
.vxs .qtyrow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 10px; font-size: .86rem; font-weight: 600; }
.vxs .cta { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.vxs #spukCart { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; padding: 14px 18px; border-radius: 14px; }
.vxs #spukCart .vxs-pumpkin { width: 22px; height: 22px; color: var(--pumpkin); filter: drop-shadow(0 0 6px rgba(255,154,60,.7)); transition: transform .3s; }
.vxs #spukCart:hover:not(:disabled) .vxs-pumpkin { transform: rotate(-12deg) scale(1.15); }
.vxs #spukCart:disabled { opacity: .55; }
.vxs .werkstatt { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(166,245,122,.35); }
.vxs .dlgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.vxs .dlgrid .btn { width: 100%; min-height: 44px; }
@media (max-width: 420px) { .vxs .dlgrid { grid-template-columns: 1fr; } }
.vxs .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.vxs .tab { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; padding: 6px 10px; border-radius: 9px 9px 4px 4px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); cursor: pointer; max-width: 100%; }
.vxs .tab small { font-weight: 500; color: var(--faint); max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vxs .tab[aria-selected="true"] { background: var(--glow-soft); border-color: var(--glow); color: #fff; }
.vxs .tab[aria-selected="true"] small { color: var(--muted); }
.vxs .tab .x { font-size: 1rem; line-height: 1; color: var(--faint); padding: 0 2px; border-radius: 4px; }
.vxs .tab .x:hover { color: var(--bad); }
.vxs .tab.add { border-style: dashed; color: var(--glow); }
.vxs .tab:disabled { opacity: .45; cursor: not-allowed; }
@keyframes vxsFlashTab { 0%, 100% { box-shadow: 0 0 0 0 rgba(166,245,122,0); } 30%, 70% { box-shadow: 0 0 0 4px rgba(166,245,122,.55), 0 0 18px 4px rgba(166,245,122,.45); } }
.vxs .tab.flash { animation: vxsFlashTab .45s ease-in-out 3; }
@keyframes vxsFlashEl { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.vxs .el.flash { animation: vxsFlashEl .45s ease-in-out 3; }
.vxs .field > .seg { align-self: flex-start; }
.vxs .foldhead .fold { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.vxs .foldhead .fold:hover { color: #fff; border-color: var(--muted); }
.vxs .foldhead .fold svg { width: 12px; height: 12px; transition: transform .2s; }
.vxs .foldhead .fold[aria-expanded="false"] svg { transform: rotate(-90deg); }
.vxs #pPresets.closed h2 { margin-bottom: 8px; } .vxs #pPresets.closed .fold { display: none; }
@media (max-width: 560px) { .vxs .foldhead .fold .lbl { display: none; } .vxs .foldhead .fold { padding: 6px 8px; } }
.vxs .presetsum { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); font-size: .9rem; cursor: pointer; text-align: left; }
.vxs .presetsum:hover { border-color: var(--glow); }
.vxs .presetsum .mini, .vxs .presetsum .mini svg { width: 40px; height: 40px; flex: none; display: block; }
.vxs .presetsum .t { flex: 1; min-width: 0; } .vxs .presetsum .t small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; }
.vxs .presetsum .more { flex: none; font-size: .78rem; font-weight: 700; color: var(--glow); }
.vxs .presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.vxs .preset span { font-size: .72rem; hyphens: manual; }
.vxs .seg.cols2 { display: grid; grid-template-columns: 1fr 1fr; }
.vxs .seg.cols2 button { border: 0; text-align: center; padding: 9px 10px; }
.vxs .seg.cols2 button:nth-child(2n) { border-left: 1px solid var(--line); }
.vxs .seg.cols2 button:nth-child(n+3) { border-top: 1px solid var(--line); }
.vxs .preset { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 6px 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 600; line-height: 1.15; text-align: center; scroll-snap-align: start; min-width: 0; }
.vxs .preset svg { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; max-width: 92px; display: block; }
.vxs .preset:hover { border-color: var(--glow); color: #fff; }
.vxs .preset[aria-pressed="true"] { border-color: var(--glow); background: var(--glow-soft); color: #fff; }
@media (max-width: 991.98px) { .vxs .presets { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 104px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; } .vxs .preset svg { width: 84px !important; } }
.vxs .refrow { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 420px) { .vxs .refrow { grid-template-columns: 1fr; } }
.vxs .qr { background: #fff; border-radius: 10px; padding: 6px; width: 132px; aspect-ratio: 1 / 1; }
.vxs .qr svg { display: block; width: 100%; height: 100%; }
.vxs .refcol { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vxs .code { display: block; font: 600 .74rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); user-select: all; }
.vxs .loadrow { display: flex; gap: 8px; }
.vxs #loadCode { font: 600 .85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 8px 10px; border-width: 1px; min-width: 0; }
.vxs .hints { margin-top: 8px; } .vxs .hints summary { font-size: .82rem; }
.vxs .cov { margin: 0 0 12px; }
.vxs .covbar { position: relative; height: 10px; border-radius: 999px; background: rgba(0,0,0,.3); border: 1px solid var(--line); overflow: hidden; }
.vxs .covfill { height: 100%; width: 0; background: var(--glow); border-radius: 999px; transition: width .25s; box-shadow: 0 0 10px rgba(166,245,122,.6); }
.vxs .covfill.over { background: linear-gradient(90deg, var(--glow), var(--accent)); }
.vxs .covincl { position: absolute; top: -1px; bottom: -1px; width: 2px; background: #fff; opacity: .55; }
.vxs .covtext { font-size: .8rem; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.vxs .qh { position: relative; display: inline-block; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); cursor: help; flex: none; align-self: center; text-transform: none; letter-spacing: 0; }
.vxs .qh::before { content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 6.1a2 2 0 1 1 2.8 1.8c-.5.2-.8.7-.8 1.2v.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.9' r='1' fill='black'/%3E%3C/svg%3E") center/100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 6.1a2 2 0 1 1 2.8 1.8c-.5.2-.8.7-.8 1.2v.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.9' r='1' fill='black'/%3E%3C/svg%3E") center/100% no-repeat; }
.vxs .qh:hover, .vxs .qh:focus-visible, .vxs .qh.open { border-color: var(--accent); color: #fff; outline: none; }
.vxs .qtip { position: absolute; left: -10px; top: calc(100% + 8px); z-index: 20; width: max-content; max-width: min(270px, 78vw); padding: 9px 11px; border-radius: 10px; background: #1b1830; border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0,0,0,.5); color: var(--ink); font: 500 .8rem/1.45 var(--vx-font, "Inter", sans-serif); text-align: left; white-space: normal; display: none; pointer-events: none; }
.vxs .qh:hover .qtip, .vxs .qh:focus-visible .qtip, .vxs .qh.open .qtip { display: block; }
.vxs .qtip b { color: var(--accent-2); font-weight: 700; }
.vxs .vhead { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: .92rem; }
.vxs .vhead .tag { font-size: .72rem; font-weight: 700; color: var(--glow); letter-spacing: .04em; text-transform: uppercase; }
.vxs .vhead .tag.admin { color: var(--accent-2); }
.vxs .msg { border-left: 4px solid var(--warn); background: var(--surface-2); padding: 8px 12px; border-radius: 0 10px 10px 0; font-size: .86rem; margin-top: 10px; }
.vxs .msg.bad { border-color: var(--bad); } .vxs .msg.ok { border-color: var(--ok); }
.vxs .msg a { color: var(--glow); font-weight: 700; }
.vxs details { margin-top: 12px; } .vxs summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: .88rem; }
.vxs pre { background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .76rem; overflow-x: auto; white-space: pre; margin: 8px 0; color: var(--ink); max-height: 320px; }
.vxs code { color: var(--accent-2); }
.vxs .levers { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: .84rem; margin-top: 8px; }
.vxs .selhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.vxs .selname { font-family: var(--vx-font-head, "Comfortaa", sans-serif); font-weight: 700; font-size: 1rem; }
.vxs .xy { display: flex; gap: 10px; align-items: center; font-size: .84rem; color: var(--muted); font-weight: 600; }
.vxs .empty { color: var(--muted); font-size: .9rem; margin: 0; }
.vxs-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #fff; color: #120f1c; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 1060; }
.vxs-toast.show { opacity: 1; }
.vxs .busy { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .vxs *, .vxs *::before { transition: none !important; animation: none !important; } .vxs-title, .vxs-bat { animation: none !important; } }

/* ---------- Klapp-Punkte (immer nur einer offen) ---------- */
.vxs .stack > .panel.acc { padding: 0; }
.vxs .acc .acc-head { margin: 0; padding: 14px 18px; cursor: pointer; user-select: none; border-radius: var(--radius); flex-wrap: nowrap; }
.vxs .acc .acc-head:hover { background: rgba(255,255,255,.03); }
.vxs .acc .acc-head:focus-visible { outline: 3px solid var(--glow); outline-offset: -3px; }
.vxs .acc-sum { margin-left: auto; min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--vx-font, "Inter", sans-serif); font-size: .8rem; font-weight: 500; color: var(--muted); text-align: right; }
.vxs .acc-chev { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; transition: transform .2s, border-color .2s; }
.vxs .acc-chev::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.vxs .acc.open .acc-chev { transform: rotate(180deg); border-color: var(--glow); }
.vxs .acc.open .acc-chev::before { border-color: var(--glow); }
.vxs .acc .acc-body { display: none; padding: 0 18px 16px; }
.vxs .acc.open .acc-body { display: block; animation: vxsAccIn .22s ease; }
.vxs .acc.open { border-color: rgba(166,245,122,.28); box-shadow: 0 0 0 1px rgba(166,245,122,.08), 0 18px 50px -30px rgba(0,0,0,.8); }
.vxs .acc.open .acc-sum { visibility: hidden; }
.vxs .acc .step { transition: box-shadow .2s; }
.vxs .acc.open .step { box-shadow: 0 0 16px rgba(166,245,122,.55); }
@keyframes vxsAccIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.vxs .stack { gap: 10px; }

/* ---------- Beispielbilder neben der Einleitung + Großansicht ---------- */
.vxs-top > .vxs-brand { flex: 1 1 100%; }
.vxs-top > .vxs-lede { align-self: center; }
.vxs-gal { flex: 1 1 340px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 7px; }
.vxs-gal-t { font-family: var(--vx-font-hand, "Caveat", cursive); font-size: 1.3rem; line-height: 1; color: var(--ink); }
.vxs-gal-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.vxs-gal-it { flex: none; width: 92px; height: 92px; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--stage); cursor: zoom-in;
  scroll-snap-align: start; transition: transform .15s, border-color .15s, box-shadow .15s; }
.vxs-gal-it:last-child { margin-right: 40px; }
.vxs-gal-it img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vxs-gal-it:hover, .vxs-gal-it:focus-visible { transform: translateY(-2px); border-color: rgba(166,245,122,.6); box-shadow: 0 0 18px rgba(166,245,122,.25); outline: none; }
.vxs-gal-note { color: var(--faint); font-size: .74rem; }
.vxs-gal-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px;
  background: rgba(166,245,122,.12); border: 1px solid rgba(166,245,122,.4); color: var(--glow); }
@media (max-width: 767.98px) { .vxs-gal { flex-basis: 100%; max-width: none; } .vxs-gal-it { width: 84px; height: 84px; } }

.vxs-lb { padding: 0; border: 0; background: transparent; max-width: min(92vw, 88vh); width: min(92vw, 88vh); overflow: visible; color: #E9EBF2; }
.vxs-lb::backdrop { background: rgba(6,5,14,.86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vxs-lb figure { margin: 0; }
.vxs-lb img { display: block; width: auto; max-width: 100%; height: auto; max-height: 80vh; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); background: #0B0A12; }
.vxs-lb figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; color: rgba(233,235,242,.8); }
.vxs-lb-n { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; color: rgba(233,235,242,.5); }
.vxs-lb-btn, .vxs-lb-x { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: rgba(20,18,34,.75); color: #fff; font-size: 2.1rem; line-height: 1; padding: 0 0 4px; cursor: pointer; }
.vxs-lb-btn:hover, .vxs-lb-x:hover { border-color: #A6F57A; box-shadow: 0 0 14px rgba(166,245,122,.35); }
.vxs-lb-btn { top: calc(50% - 40px); }
.vxs-lb-btn.prev { left: -22px; } .vxs-lb-btn.next { right: -22px; }
.vxs-lb-x { top: -18px; right: -18px; font-size: 1.5rem; }
@media (max-width: 600px) { .vxs-lb-btn.prev { left: 6px; } .vxs-lb-btn.next { right: 6px; } .vxs-lb-x { top: 6px; right: 6px; } }

/* Kaufkarte: gemeinsames Schema voxa_base/static/lib/voxa_buy.css; Preise ohne Farbverlauf (Regel 25.10.) */
.vxs .vxb-big{font-family:var(--vx-font-head,"Comfortaa",sans-serif)}
.vxs .pricepanel.vxb .vxb-cta{margin-top:14px}
