/* Levelpage Klick-Dummy · Dashboard. Tokens, Maße und Typografie aus der Figma-Datei „levelpage.co_business_dashboard_01". */
:root {
  /* Farben */
  --bg: #f6f8fb; --surface: #fff; --line: #e6e7eb; --primary: #3532f9; --sky: #dbedff; --sky-soft: #f1f6fe; --panel: #f2f7ff;
  --ink: #131313; --text: #2d2d2d; --muted: #6d727f; --faint: #9ca3af; --input: #fafafa;
  --ok-bg: #d8ffd5; --warn-bg: #ffecc8; --warn-ink: #785229; --danger: #ff7d7d; --green: #4fbf4a; --orange: #f59b45;
  /* Schrift: Nunito für Überschriften und Bedienelemente, Inter für Fließtext und Formulare */
  --display: Nunito, "Segoe UI", system-ui, sans-serif; --body: Inter, "Segoe UI", system-ui, sans-serif;
  /* Layout: Inhaltsspalte 1104px wie im Figma-Raster, Builder mit Formular links und Handy-Vorschau rechts */
  --col: 1104px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/20px var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
a { color: var(--primary); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ic { flex: none; display: block; }
.lvl { display: block; flex: none; }
#app { min-height: 100%; display: flex; flex-direction: column; }
.view { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* ---------- Hinweisleiste ---------- */
.banner { padding: 9px 20px; background: var(--sky); color: #1c2a6b; font: 400 13px/20px var(--body); text-align: center; }
.banner a { margin-left: 8px; font-weight: 600; color: var(--primary); }
.banner-demo { background: #1c1b4a; color: #e7e9ff; } .banner-demo a { color: #ffc250; }
.banner-warn { background: #fff1e0; color: #8a4b00; }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 68px; padding: 0 20px 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.top-plain { display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 22px 0 28px; }
.top-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.top-logo { display: block; flex: none; border: 0; background: none; padding: 0; border-radius: 6px; }
.top-name { min-width: 0; padding-left: 16px; border-left: 1px solid var(--line); font: 800 15px/24px var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-name:empty { display: none; }
.top-nav { display: flex; align-items: center; gap: 4px; }
.nav-tab { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 15px; border: 0; border-radius: 11px; background: none; color: #6b7180; font: 700 15px/20px var(--display); white-space: nowrap; transition: background .15s, color .15s; }
.nav-tab svg { flex: none; }
.nav-tab:hover { background: #f4f6fa; color: var(--ink); }
.nav-tab.on { background: #eef1f8; color: var(--ink); }
.nav-tab.on svg { color: var(--primary); }
.top-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.top .top-set { width: 40px; height: 40px; border-radius: 11px; color: #6b7180; }
.top .top-set:hover, .top .top-set.on { background: #eef1f8; color: var(--ink); }
.avatar { width: 39px; height: 39px; border: 0; border-radius: 50%; background: #57b4fb; color: #fff; font: 800 14px/1 var(--display); display: grid; place-items: center; }
.avatar.on { box-shadow: 0 0 0 3px rgba(50, 177, 249, .3); }

/* ---------- Seiten ---------- */
.page { width: 100%; max-width: calc(var(--col) + 48px); margin: 0 auto; padding: 36px 24px 96px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.h1 { font: 800 36px/45px var(--display); letter-spacing: -.02em; color: #000; text-wrap: balance; }
.h2 { font: 800 32px/40px var(--display); letter-spacing: -.02em; color: #000; text-wrap: balance; }
.h3 { font: 800 22px/28px var(--display); letter-spacing: -.01em; color: #000; }
.sub { color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 14px/20px var(--body); }
.back:hover { color: var(--primary); }

/* Schaltflächen */
/* Knöpfe: klare Kante statt blasser Linie. Zweitaktion mit dunklem Text, sichtbarem Rahmen und leichter Tiefe; Hauptaktion mit feiner Innenkante. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 32px; border: 1px solid transparent; border-radius: 10px; font: 700 14.500px/20px var(--display); white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--primary); border-color: #2a27d8; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(10, 13, 60, .18); }
.btn-primary:hover { background: #2b28e0; }
.btn-ghost { background: #fff; border-color: #cfd4dc; color: #344054; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), inset 0 -2px 0 rgba(16, 24, 40, .04); }
.btn-ghost:hover { background: #f9fafb; border-color: #b9c0cc; color: #101828; }
.btn-line { background: #fff; border-color: var(--primary); color: var(--primary); box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.btn-line:hover { background: var(--sky-soft); }
.btn-danger { background: #d92d20; border-color: #b42318; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 -2px 0 rgba(90, 10, 5, .2); }
.btn-danger:hover { background: #c4271b; }
.btn-x { width: 46px; min-height: 46px; padding: 0; background: #fff; border-color: #fda29b; color: #d92d20; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.btn-x:hover { background: #fef3f2; border-color: #f97066; }
.btn-sm { min-height: 36px; padding: 0 16px; border-radius: 8px; font-size: 13px; }
.btn-wide { min-width: 208px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 33px; height: 33px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: #9ea3ae; }
.icon-btn:hover, .icon-btn.on { background: var(--sky-soft); color: #3b82f6; }
.link-btn { padding: 0; border: 0; background: none; color: var(--primary); font: 700 14px/20px var(--display); display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { text-decoration: underline; }

/* Abzeichen und Chips */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 29px; padding: 0 9px; border-radius: 8px; font: 700 14px/19px var(--display); color: #4f4f4f; white-space: nowrap; }
.badge-active { background: var(--ok-bg); }
.badge-paused { background: var(--warn-bg); color: var(--warn-ink); }
.badge-draft { background: rgba(164, 164, 164, .12); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 29px; padding: 0 9px; border-radius: 8px; background: var(--sky); color: var(--primary); font: 700 14px/19px var(--display); white-space: nowrap; }
.chip-sm { font-size: 12px; padding: 0 12px; }
.chip-btn { border: 0; background: #f9f9f9; color: var(--muted); font-weight: 500; }
.chip-btn:hover { background: var(--sky-soft); color: var(--primary); }
.chip-violet { background: #eadcff; color: #4a1d96; }
.chip-warn { background: var(--warn-bg); color: #b45309; }
.chip-ok { background: #ecfdf3; color: #067647; box-shadow: inset 0 0 0 1px #abefc6; border-radius: 16px; height: 24px; font: 500 12px/18px var(--body); }
.chip-bad { background: #fef3f2; color: #b42318; box-shadow: inset 0 0 0 1px #fecdca; border-radius: 16px; height: 24px; font: 500 12px/18px var(--body); }
.bars { display: inline-block; width: 40px; height: 9px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 4px, currentColor 4px 5px, transparent 5px 7px); }

/* ---------- Kampagnen-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.card-top { position: relative; height: 160px; padding: 0; border: 0; border-radius: 14px 14px 0 0; background: var(--sky); display: grid; place-items: center; overflow: hidden; }
.card-top .play-pill { position: absolute; left: 50%; bottom: 12px; translate: -50% 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--primary); font: 700 12px/18px var(--display); opacity: 0; transition: opacity .15s, translate .15s; box-shadow: 0 4px 10px rgba(20, 30, 90, .14); }
.card-top:hover .play-pill, .card-top:focus-visible .play-pill { opacity: 1; translate: -50% 0; }
.card-body { padding: 30px 20px 21px; display: flex; flex-direction: column; flex: 1; }
.card-name { font: 800 17px/19px var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-date { margin-top: 10px; font: 700 12px/13px var(--display); color: #9ea3ae; }
.card-row { display: flex; align-items: center; gap: 11px; margin-top: 26px; }
.card-row .icon-btn { margin-left: auto; }
.empty { grid-column: 1 / -1; padding: 56px 24px; border: 1.5px dashed #cdd3df; border-radius: 15px; text-align: center; color: var(--muted); }
.empty b { display: block; margin-bottom: 6px; font: 800 18px/24px var(--display); color: var(--ink); }
.empty .btn { margin-top: 18px; }

/* Aufklapp-Menü */
.menu { position: absolute; z-index: 60; width: 220px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 3px 4px rgba(0, 0, 0, .1), 0 12px 28px rgba(20, 30, 80, .1); animation: menu-in .14s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu button { display: flex; align-items: center; gap: 14px; width: 100%; height: 40px; padding: 0 23px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 500 14px/20px var(--body); text-align: left; }
.menu button:hover, .menu button:focus-visible { background: var(--bg); }
.menu hr { height: 1px; margin: 4px -10px; border: 0; background: var(--line); }
.menu .m-green { color: var(--green); } .menu .m-orange { color: var(--orange); } .menu .m-red { color: #ff6b6b; }
.menu.menu-wide { width: auto; min-width: 100%; left: 0; right: 0; max-height: 300px; overflow: auto; }
.menu.menu-wide button { height: auto; min-height: 44px; padding: 8px 14px; color: var(--text); }
.menu .m-new { color: var(--primary); font-weight: 600; }

/* ---------- Tabellen ---------- */
.table-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.tbl th { height: 41px; padding: 0 12px; background: #f9fafb; border-bottom: 1px solid var(--line); font: 700 12px/13px var(--display); color: #6c6c6c; text-align: left; white-space: nowrap; }
.tbl td { height: 65px; padding: 8px 12px; border-bottom: 1px solid #eef0f3; font: 500 14px/19px var(--display); color: #000; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th:first-child, .tbl td:first-child { padding-left: 29px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 22px; text-align: right; }
.tbl tbody tr:hover td { background: #fbfcfe; }
.tbl .dim { color: #b3b3b3; }
.tbl .cell-flex { display: flex; align-items: center; gap: 8px; }
.tbl .num { font-variant-numeric: tabular-nums; }
.tbl tr.fresh td { animation: fresh 2.4s ease-out; }
@keyframes fresh { from { background: #e8f8e6; } }
.tbl .name-btn { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; }
.tbl .name-btn:hover { color: var(--primary); }
.tbl .name-btn .ic { color: var(--primary); }

/* ---------- Formulare ---------- */
.lbl { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; font: 500 12px/20px var(--body); color: var(--faint); text-transform: uppercase; }
.lbl .ic { color: var(--primary); }
.field { margin-bottom: 30px; min-width: 0; }
.inp, .sel, .area { display: block; width: 100%; height: 56px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); font: 400 14px/20px var(--body); color: var(--text); outline: none; transition: border-color .15s, background .15s; }
.inp::placeholder, .area::placeholder { color: var(--faint); }
.inp:focus, .sel:focus, .area:focus { border-color: var(--primary); background: #fff; }
.inp.bad { border-color: var(--danger); background: #fff8f8; }
.sel { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.500 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.area { height: auto; min-height: 86px; padding: 12px 14px; resize: vertical; }
.inp-sm { height: 45px; }
.unit { position: relative; }
.unit .inp { padding-right: 58px; }
.unit > span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--faint); pointer-events: none; }
.adorn { position: relative; }
.adorn .inp { padding-right: 96px; }
.adorn > .chip { position: absolute; right: 13px; top: 50%; translate: 0 -50%; }
.hint { margin-top: 8px; font: 400 12px/18px var(--body); color: var(--muted); }
.hint.ok { color: #067647; } .hint.bad { color: #d92d20; }
.row { display: flex; gap: 26px; }
.row > * { flex: 1; min-width: 0; }
.row > .w120 { flex: 0 0 120px; }
.opts { display: flex; flex-wrap: wrap; gap: 15px; }
.opt { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 14px; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); font: 400 14px/20px var(--body); color: var(--text); }
.opt:hover { border-color: #c9ccd6; }
.opt .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e7e7ea; display: grid; place-items: center; color: transparent; }
.opt.on { border-color: var(--primary); background: #fff; }
.opt.on .dot { background: var(--primary); color: #fff; }
.opt.opt-pic { min-width: 166px; min-height: 64px; padding: 6px 22px 6px 12px; }
.opt.opt-pic.on { background: var(--sky); color: var(--primary); }
.opt-wide { display: flex; width: 100%; justify-content: flex-start; }
.opt-wide .chip { margin-left: auto; }
.opt[disabled] { opacity: .5; cursor: not-allowed; }
.chk { appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); display: inline-grid; place-items: center; cursor: pointer; }
.chk:checked { border-color: var(--primary); background: var(--primary); }
.chk:checked::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.chk-row { display: flex; align-items: center; gap: 9px; cursor: pointer; font: 400 14px/20px var(--body); }
.switch { appearance: none; flex: none; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 12px; background: #d5d8e0; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: translate .15s; }
.switch:checked { background: var(--primary); }
.switch:checked::after { translate: 20px 0; }
.more { margin: 6px 0 24px; }
.drop { position: relative; }
.drop-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px 8px 22px; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); color: var(--text); font: 400 14px/20px var(--body); text-align: left; }
.drop-btn:hover { border-color: #c9ccd6; }
.drop-btn .ic:last-child { margin-left: auto; color: var(--faint); }
.drop-btn.ph { color: var(--muted); font-size: 16px; }
.swatches { display: inline-flex; gap: 8px; margin-left: auto; }
.swatch { width: 29px; height: 29px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.set-name { font-weight: 500; color: #1e1e1e; } .set-by { color: var(--muted); }
.colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 15px; }
.color { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); font: 400 14px/20px var(--body); overflow: hidden; }
.color input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.color.locked { opacity: .75; } .color.locked input { display: none; }
.items { display: grid; gap: 15px; margin-top: 24px; }
.item { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 4px 8px 4px 10px; border: 1px solid #d3d6de; border-radius: 6px; background: #fff; font: 400 16px/20px var(--body); color: var(--text); }
.item .grip { color: #b9bdc7; cursor: grab; display: grid; }
.item .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .txt b { font-weight: 500; color: #111; }
.item .pct { font: 500 12px/16px var(--body); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .icon-btn { width: 30px; height: 30px; }
.item.drag { opacity: .4; } .item.over { border-color: var(--primary); box-shadow: 0 0 0 2px var(--sky); }
.item input.bare { flex: 1; min-width: 0; height: 36px; border: 0; background: none; outline: none; font: inherit; }
.count { margin-top: 20px; text-align: right; font: 400 14px/20px var(--body); color: #ff6b6b; }
.count.ok { color: #067647; }
.upload { display: grid; place-items: center; gap: 4px; padding: 16px 24px; border: 1px dashed #d5d9e2; border-radius: 12px; background: var(--input); text-align: center; font: 400 14px/20px var(--body); color: #475467; cursor: pointer; }
.upload:hover { border-color: var(--primary); background: #fff; }
.upload .u-ic { width: 40px; height: 40px; margin-bottom: 8px; border: 1px solid #eaecf0; border-radius: 8px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.upload b { color: var(--primary); font-weight: 600; }
.upload small { font-size: 12px; line-height: 18px; }
.upload input { display: none; }
.seg.seg-full { display: flex; margin-bottom: 16px; }
.seg.seg-full button { flex: 1; font-size: 14px; line-height: 20px; }
.codes-gen > .field { margin-bottom: 16px; }
#codePrefix::placeholder { text-transform: none; }
.codes-box { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid #cfe0ff; border-radius: 12px; background: #f4f8ff; }
.codes-box .cb-ic { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.codes-box .cb-main { flex: 1; min-width: 0; display: grid; gap: 2px; font: 400 13px/18px var(--body); color: var(--muted); }
.codes-box .cb-main b { font: 800 16px/22px var(--display); color: var(--ink); }
.codes-box code, .hint code { font: 600 13px/18px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #344054; letter-spacing: .02em; }
.hint code { font-size: 12px; }
.codes-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
@media (max-width: 640px) { .codes-box { flex-wrap: wrap; } .codes-box .btn { width: 100%; } }
.upload img { max-width: 100%; max-height: 90px; border-radius: 8px; }

/* ---------- Kampagnen-Builder ---------- */
.builder { flex: 1; display: flex; min-height: 0; padding-bottom: 98px; }
.b-form { flex: 0 0 49.300%; min-width: 0; background: #fff; border: 1px solid #eee; border-left: 0; border-radius: 0 20px 0 0; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); }
.b-form-in { max-width: 709px; margin: 0 auto; padding: 129px 50px 60px; }
.b-form .h2 { margin-bottom: 48px; }
.b-prev { position: relative; flex: 1; min-width: 0; display: flex; justify-content: center; padding: 100px 24px 40px; }
.b-prev > .chip { position: absolute; left: 44px; top: 29px; }
.b-prev-tools { position: absolute; right: 80px; top: 26px; display: flex; gap: 8px; }
/* Handy-Vorschau immer im echten Format 373 × 808. Reicht die Fensterhöhe nicht, wird das ganze Gerät kleiner statt unten abgeschnitten.
   --vh und --vw setzt core.js als reine Zahlen; die negativen Ränder geben den Platz frei, den die Verkleinerung spart. */
.phone { --z: clamp(.5, calc((var(--vh, 1040) - 264) / 808), 1); position: sticky; top: 100px; width: 373px; height: 808px; margin: 0 calc(373px * (var(--z) - 1)) calc(808px * (var(--z) - 1)) 0; transform: scale(var(--z)); transform-origin: 0 0; border-radius: 54px; background: #fff; overflow: hidden; box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 26px 50px rgba(20, 30, 80, .16); flex: none; }
.phone-in { width: 100%; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.phone-in::-webkit-scrollbar { display: none; }
.phone-in > .pl { min-height: 100%; }
.b-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 22px; height: 98px; padding: 0 41px 0 28px; background: #fff; box-shadow: 0 -2px 6px rgba(0, 0, 0, .14); }
.b-bar .name { width: 419px; max-width: 34vw; height: 45px; margin-left: 19px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; background: #f4f9ff; font: 400 18px/20px var(--display); color: var(--ink); outline: none; }
.b-bar .name:focus { border-color: var(--primary); background: #fff; }
.b-steps { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.b-steps i { width: 26px; height: 5px; border-radius: 3px; background: #e3e7ef; transition: background .2s, width .2s; }
.b-steps i.done { background: #b9c4ff; } .b-steps i.on { width: 40px; background: var(--primary); }
.b-steps span { margin-left: 10px; font: 600 12px/16px var(--body); color: var(--muted); white-space: nowrap; }
.b-bar .btn-ghost { min-width: 208px; } .b-bar .btn-primary { min-width: 222px; }
.b-games { max-width: 1314px; margin: 0 auto; padding: 11px 24px 150px; width: 100%; }
.b-games .h1 { text-align: center; margin-bottom: 62px; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 57px 54px; }
.game { position: relative; min-height: 210px; padding: 28px 28px 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-align: left; box-shadow: 0 3px 4px rgba(0, 0, 0, .06); transition: border-color .15s, background .15s, transform .15s; display: flex; flex-direction: column; }
.game:hover { transform: translateY(-2px); border-color: #c6c9ff; }
.game.on { border-color: var(--primary); background: var(--sky); }
.game b { display: block; font: 800 36px/40px var(--display); letter-spacing: -.02em; color: var(--ink); }
.game span.s { display: block; margin-top: 6px; font: 500 15px/20px var(--display); color: #333; }
.game .pic { margin-top: auto; padding-top: 14px; height: 86px; display: flex; align-items: flex-end; }
.game .pic svg { margin: -6px 0 -10px -8px; }
.game .tick { position: absolute; right: 19px; bottom: 17px; width: 24px; height: 24px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; display: grid; place-items: center; color: transparent; }
.game.on .tick { border-color: var(--primary); background: var(--primary); color: #fff; }
.b-done { max-width: 596px; margin: 0 auto; padding: 16px 24px 60px; width: 100%; text-align: center; }
.b-done .h1 { margin-bottom: 14px; }
.seg { display: inline-flex; gap: 2px; padding: 5px; border: 1px solid #eaecf0; border-radius: 10px; background: #f9fafb; }
.seg button { padding: 9px 14px; border: 0; border-radius: 6px; background: none; font: 600 16px/24px var(--body); color: #667085; }
.seg button.on { background: #fff; color: #344054; box-shadow: 0 1px 3px rgba(16, 24, 40, .1), 0 1px 2px rgba(16, 24, 40, .06); }
.seg button.on.g { background: var(--ok-bg); } .seg button.on.y { background: var(--warn-bg); color: var(--warn-ink); }
.qr-card { width: 220px; margin: 22px auto 36px; padding: 32px 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 3px 4px rgba(0, 0, 0, .1); }
.qr { display: block; width: 100%; height: auto; }
.url-row { display: flex; align-items: center; gap: 14px; min-height: 56px; margin-bottom: 19px; padding: 0 19px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: left; font: 400 14px/20px var(--display); color: #2d2d2d; }
.url-row .ic { color: var(--muted); }
.url-row span.u { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-align: left; }
.box h3 { font: 600 18px/28px var(--body); color: #101828; }
.box p { margin-top: 4px; color: #475467; }
.file { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; }
.file div { flex: 1; min-width: 0; font: 400 14px/15px var(--display); } .file small { display: block; color: var(--muted); font-size: 14px; }

/* ---------- Gewinn-Formular ---------- */
.sheet { max-width: 748px; margin: -22px auto 0; padding: 45px 56px 66px 86px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 3px 4px rgba(0, 0, 0, .06); }
.sheet .h2 { margin-bottom: 22px; }
.sheet .field { margin-bottom: 23px; }
.red { display: grid; gap: 29px; }
.red-row { border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); }
.red-head { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 0 13px; }
.red-head .r { margin-left: auto; color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 12px; }
.red-head .r u { text-underline-offset: 3px; color: #475467; }
.red-body { padding: 0 13px 13px; }
.sheet-foot { display: flex; gap: 32px; margin-top: 66px; }
.sheet-foot .btn { flex: 1; }
.ean-prev { display: flex; align-items: center; gap: 22px; margin-top: 12px; padding: 14px 18px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; }
.ean-prev .ean { width: 210px; height: auto; flex: none; }

/* ---------- Zweispaltige Arbeitsbereiche (Einstellungen, Umfrage-Editor) ---------- */
.split { flex: 1; display: flex; min-height: 0; }
.side { flex: 0 0 421px; padding: 37px 55px 40px; background: var(--panel); border-right: 1px solid #e9eef6; }
.side .h2 { margin-bottom: 55px; }
.side-nav { display: grid; gap: 17px; }
.side-nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 26px; border: 0; border-radius: 8px; background: none; font: 500 17px/24px var(--body); color: #1e1e1e; text-align: left; }
.side-nav button .ic { color: #6c7384; }
.side-nav button:hover { background: rgba(219, 237, 255, .55); }
.side-nav button.on { background: var(--sky); }
.side-nav .add { color: var(--primary); }
.side-nav .q-del { margin-left: auto; opacity: 0; color: #9ea3ae; display: grid; }
.side-nav button:hover .q-del, .side-nav button:focus-within .q-del { opacity: 1; }
.main { flex: 1; min-width: 0; background: #fff; padding: 22px 22px 120px 72px; }
.main-top { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.main-in { max-width: 666px; }
.main .h3 { margin: 0 0 56px; font-size: 24px; }
.locs { display: grid; gap: 4px; margin-top: 18px; }
.loc { display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 8px; font: 400 15px/22px var(--body); }
.loc span { flex: 1; }
.logos { display: flex; gap: 25px; flex-wrap: wrap; }
.logo-box { width: 251px; min-height: 163px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 14px; border: 1px dashed #d5d9e2; border-radius: 12px; background: var(--input); }
.logo-box .acts { display: flex; gap: 18px; margin-top: auto; font: 500 12px/18px var(--body); }
.logo-box .acts button { border: 0; background: none; padding: 0; display: inline-flex; gap: 6px; align-items: center; color: var(--primary); }
.logo-box .acts .del { color: #ff5f5f; }
.logo-box .demo-logo { margin-top: auto; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.plan { position: relative; padding: 38px 20px 28px; border: 2px solid transparent; border-radius: 6px; background: #f9fafb; text-align: center; }
.plan.on { border-color: var(--primary); }
.plan .p-ic { position: absolute; left: 50%; top: -22px; translate: -50% 0; width: 44px; height: 44px; border: 1px solid #eaecf0; border-radius: 8px; background: #fff; display: grid; place-items: center; color: #111; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.plan h3 { font: 600 18px/28px var(--body); color: #101828; }
.plan .price { margin-top: 6px; font: 700 44px/54px var(--display); letter-spacing: -.02em; color: #101828; }
.plan .price small { font: 700 20px/1 var(--display); }
.plan .vat { margin: 4px 0 18px; color: #475467; }
.plan .btn { width: 100%; min-height: 44px; border-radius: 6px; }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 15px; text-align: left; font: 400 14px/20px var(--body); color: #475467; }
.plan li { display: flex; gap: 12px; }
.plan li i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #dcfae6; color: #17b26a; display: grid; place-items: center; }
.plan li.no i { background: #eef0f3; color: #b6bcc8; }
.plan li.no { color: #98a2b3; }

/* ---------- Statistiken ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin: 35px 0; }
.tile { padding: 24px; border: 1px solid #eaecf0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.tile .t-l { font: 500 14px/20px var(--body); color: #475467; }
.tile .t-n { margin-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tile .t-n b { font: 600 36px/44px var(--body); letter-spacing: -.02em; color: #101828; font-variant-numeric: tabular-nums; }
.tile .spark { display: block; width: 100%; height: 44px; margin-top: 14px; }
.panel { padding: 34px 34px 30px; border: 1px solid #eaecf0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.panel .h3 { margin-bottom: 8px; }
.funnel { display: block; width: 100%; height: auto; margin-top: 18px; }
.funnel text { font-family: Inter, sans-serif; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; font: 400 13px/20px var(--body); color: #475467; }
.two { display: grid; grid-template-columns: 1.150fr 1fr; gap: 21px; margin-top: 21px; }
.stock { display: grid; gap: 16px; margin-top: 20px; }
.stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 74px; align-items: center; gap: 14px; font: 500 14px/20px var(--display); }
.stock-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meter { height: 8px; border-radius: 8px; background: #eef0f5; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: var(--primary); }
.meter.low i { background: #f79009; }
.stock-row .v { text-align: right; font-variant-numeric: tabular-nums; color: #475467; }

/* ---------- Kontakte ---------- */
.tools { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; margin-bottom: 50px; }
.tools .sel { width: 484px; max-width: 100%; background-color: #fff; padding-left: 54px; }
.tools .sel-wrap { position: relative; max-width: 100%; }
.tools .sel-wrap > .ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--primary); pointer-events: none; }
.bulk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: flex-end; gap: 30px; height: 96px; padding: 0 43px; background: #fff; box-shadow: 0 -2px 6px rgba(0, 0, 0, .14); animation: bulk-in .2s ease-out; }
@keyframes bulk-in { from { transform: translateY(100%); } }
.bulk span { margin-right: auto; font: 600 14px/20px var(--body); color: var(--muted); }

/* ---------- Live-Vorschau und POS ---------- */
/* Vorschau und Teilen: links Link und Werbemittel, rechts das Handy */
.live { flex: 1; display: grid; grid-template-columns: minmax(0, 640px) auto; gap: 64px; align-items: start; justify-content: center; padding: 8px 24px 60px; }
.live-main .h2 { font-size: 28px; line-height: 34px; margin: 0 0 6px; word-break: break-word; }
.live-main > .sub { display: flex; align-items: center; gap: 10px; }
.live-card { margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.live-card .h3 { margin: 0 0 4px; } .live-card > .sub { margin-bottom: 16px; }
.link-row { display: flex; gap: 10px; flex-wrap: wrap; } .link-row .inp { flex: 1 1 240px; min-width: 0; font-weight: 600; color: var(--ink); background: var(--sky-soft); }
.live-phone { position: sticky; top: 96px; display: grid; justify-items: center; gap: 14px; }
.live .phone { --z: clamp(.5, calc((var(--vh, 1040) - 262) / 808), 1); position: relative; top: 0; }
.live-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.live-hint { max-width: 340px; margin: 0; text-align: center; font: 400 13px/19px var(--body); color: var(--muted); }
.kit { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: start; }
.kit-prev { position: relative; border-radius: 16px; overflow: hidden; background: var(--sky); box-shadow: 0 8px 22px rgba(20, 30, 80, .14); }
.kit-prev canvas { display: block; width: 100%; height: auto; }
.kit-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .6); overflow: hidden; } .kit-bar i { display: block; width: 0; height: 100%; background: var(--primary); }
.kit-side { display: grid; gap: 14px; }
.kit .seg small { font-weight: 500; opacity: .7; margin-left: 4px; }
.kit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.kit-row b { display: block; font: 700 15px/20px var(--body); color: var(--ink); } .kit-row span { font: 400 13px/18px var(--body); color: var(--muted); }
.kit-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.kit-cap { display: grid; gap: 8px; justify-items: start; } .kit-cap textarea { width: 100%; resize: vertical; font: 400 14px/20px var(--body); }
.linklike { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; }
/* Einrichtungsassistent: links die Fragen, rechts eine Vorschau in den gewählten Farben */
.wz { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; background: #fff; overflow-y: auto; }
.wz-open { overflow: hidden; }
.wz-top { display: flex; align-items: center; gap: 28px; padding: 18px 32px; border-bottom: 1px solid var(--line); }
.wz-top .link-btn { margin-left: auto; color: var(--muted); font-weight: 500; }
.wz-steps { display: flex; gap: 22px; margin: 0 auto; padding: 0; list-style: none; }
.wz-steps li { display: flex; align-items: center; gap: 9px; font: 600 14px/20px var(--body); color: #9aa1af; }
.wz-steps i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e7ebf3; color: #fff; font: 700 12px/1 var(--body); font-style: normal; }
.wz-steps .done { color: #475467; } .wz-steps .done i { background: #b9c4ff; }
.wz-steps .on { color: var(--ink); } .wz-steps .on i { background: var(--primary); box-shadow: 0 0 0 4px var(--sky); }
.wz-body { flex: 1; display: grid; grid-template-columns: minmax(0, 560px) 380px; gap: 80px; justify-content: center; align-items: start; padding: 56px 32px 40px; }
.wz-h { margin: 0 0 12px; font: 900 34px/1.12 var(--display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.wz-sub { margin: 0 0 32px; font: 400 16px/24px var(--body); color: var(--muted); max-width: 520px; }
.wz-form .field { margin-bottom: 24px; } .wz-form .inp.err { border-color: #d92d20; }
.wz-nav { display: flex; gap: 12px; align-items: center; margin-top: 36px; } .wz-nav .btn-primary { margin-left: auto; min-width: 190px; } .wz-nav .btn { min-height: 50px; padding: 0 24px; }
.wz-logo { display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; } .wz-logo img { max-width: 190px; max-height: 70px; }
.wz-sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wz-set { display: grid; gap: 10px; padding: 10px 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: 700 14px/18px var(--body); color: var(--ink); cursor: pointer; text-align: center; }
.wz-set i { display: block; height: 62px; border-radius: 9px; }
.wz-set.on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--sky); }
.wz-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.wz-prizes { display: grid; gap: 10px; margin-bottom: 16px; }
.wz-prize { display: grid; grid-template-columns: 50px minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, .8fr) 36px; gap: 8px; align-items: center; }
.wz-emo { height: 50px; border: 1px solid #e5e7eb; border-radius: 6px; background: var(--input); font-size: 24px; cursor: pointer; }
.wz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-done { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; font: 500 15px/22px var(--body); color: var(--muted); }
.wz-done li { display: flex; gap: 12px; align-items: center; } .wz-done i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #eef0f3; color: #98a2b3; }
.wz-done .ok { color: var(--ink); } .wz-done .ok i { background: var(--primary); color: #fff; }
.wz-trial { margin-top: 0; }
.wz-side { position: sticky; top: 24px; display: grid; gap: 14px; justify-items: center; } .wz-side p { margin: 0; font: 400 13px/18px var(--body); color: var(--muted); }
.wz-prev { display: grid; justify-items: center; gap: 12px; width: 100%; padding: 30px 24px 28px; border-radius: 34px; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), 0 24px 50px rgba(20, 30, 80, .14); transition: background .2s; }
.wz-chip { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 12px 18px; border-radius: 12px; font: 800 18px/1.2 var(--display); } .wz-chip img { max-width: 170px; max-height: 44px; } .wz-chip.wz-slot { height: 52px; padding: 0; border-radius: 0; }
.wz-pz { max-width: 100%; padding: 7px 12px; border-radius: 9px; background: #fff; font: 400 13px/18px var(--body); color: #1b1b3a; } .wz-pz b { font-weight: 700; }
.wz-cta { width: 100%; margin-top: 6px; padding: 14px; border-radius: 12px; text-align: center; font: 800 15px/1 var(--display); }

.kv { display: grid; gap: 14px; }
.kv .lbl { margin-bottom: 8px; }
.note { padding: 14px 16px; border-radius: 10px; background: var(--sky-soft); font: 400 13px/19px var(--body); color: #3b4a6b; }
.note b { color: var(--ink); }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-stats div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mini-stats b { display: block; font: 700 22px/28px var(--body); color: #101828; font-variant-numeric: tabular-nums; }
.mini-stats span { font: 400 12px/16px var(--body); color: var(--muted); }
.pos { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; padding: 8px 40px 60px; max-width: 1500px; margin: 0 auto; width: 100%; }
.pos-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 12px #14162b, 0 0 0 14px #2b2f4d, 0 30px 60px rgba(20, 30, 80, .25); container-type: inline-size; }
.pos-screen .pl { position: absolute; inset: 0; min-height: 0; display: grid; grid-template-columns: 26% 1fr 30%; align-items: center; padding: 0 3cqw; }
.pos-qr { justify-self: center; width: 15cqw; padding: 1.800cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.100cqw var(--c4); aspect-ratio: 1; display: grid; place-items: center; }
.pos-qr .qr { width: 78%; }
.pos-l { display: grid; gap: 2.400cqw; justify-items: center; text-align: center; }
.pos-l p { font: 700 1.500cqw/1.3 var(--display); color: var(--pl-ink); max-width: 18cqw; }
.pos-wheel { width: 100%; max-height: 100%; }
.pos-wheel .g { max-width: none; }
.pos-wheel .wh-coin, .pos-wheel .g-hint, .pos-wheel svg > path:first-of-type, .pos-wheel svg > path:nth-of-type(2), .pos-wheel svg > polygon { display: none; }
.pos-wheel .wh-svg { margin-bottom: -12%; }
.pos-r { display: grid; gap: 1.400cqw; justify-items: start; }
.pos-title { font: 900 5.600cqw/.95 var(--display); letter-spacing: -.02em; font-style: italic; color: var(--pl-ink); }
.pos-title span { display: block; } .pos-title span:nth-child(2) { color: var(--c2); } .pos-title span:nth-child(3) { color: var(--c4); }
.pos-r .pl-chip { font-size: 1.250cqw; line-height: 1.5; padding: .4cqw .8cqw; }
.pos-r .pl-brand { height: 4.600cqw; min-width: 0; padding: 0 1.600cqw; font-size: 1.800cqw; border-radius: 1.200cqw; margin-bottom: 1cqw; }
.pos-r .pl-brand .pl-glyph { font-size: 1.800cqw; } .pos-r .pl-brand.pl-slot { padding: 0; border-radius: 0; }
.pos-win { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9, 14, 60, .55); backdrop-filter: blur(3px); z-index: 20; }
.pos-win div { padding: 3cqw 5cqw; border-radius: 2cqw; background: #fff; text-align: center; font: 800 3cqw/1.2 var(--display); color: #090e76; animation: pl-pop .6s cubic-bezier(.2, 1.5, .4, 1) both; }
.pos-win big { display: block; font-size: 8cqw; line-height: 1.1; }
.pos-phone { display: grid; gap: 16px; justify-items: center; }
.pos-phone .phone { --z: .7; position: relative; top: 0; }
.pos-phone .pl-main { justify-content: center; }

/* ---------- Dialog und Meldungen ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(15, 20, 50, .38); animation: fade .16s; }
.modal-wrap.out { opacity: 0; transition: opacity .16s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 460px; max-height: calc(100vh - 48px); overflow: auto; border-radius: 15px; background: #fff; box-shadow: 0 24px 60px rgba(15, 20, 60, .28); animation: menu-in .18s ease-out; }
.modal-wide { max-width: 860px; }
.modal-3 { max-width: 600px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.modal-head h2 { font: 800 22px/28px var(--display); color: #000; }
.modal-body { padding: 14px 24px 22px; }
.modal-text { color: #475467; font-size: 15px; line-height: 22px; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 12px; padding: 0 24px 22px; }
.modal-foot .btn { min-height: 42px; padding: 0 20px; }
/* Kurzliste in Dialogen und im Assistenten: drei Zusagen statt Fließtext */
.facts { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; font: 500 15px/22px var(--body); color: var(--ink); }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--primary); color: #fff; }
.redeem-form { display: grid; gap: 10px; }
.redeem-form .chk-row { margin-top: 10px; font-weight: 600; color: var(--ink); }
.redeem-form .inp:disabled, .main .inp:disabled { opacity: .5; }
.req { margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--sky); color: #1c2a6b; font: 600 11px/16px var(--body); letter-spacing: 0; text-transform: none; vertical-align: 2px; }
.motifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.motif { display: grid; gap: 10px; text-align: center; font: 600 12px/16px var(--body); color: var(--muted); }
.motif-art { border-radius: 12px; overflow: hidden; background: var(--sky); box-shadow: 0 6px 16px rgba(20, 30, 80, .12); display: grid; place-items: center; text-align: center; padding: 8%; gap: 4%; align-content: center; }
.motif-art b { font: 900 clamp(15px, 2.200vw, 24px)/1.05 var(--display); color: #090e76; letter-spacing: -.01em; }
.motif-art small { font: 700 11px/1.3 var(--display); color: #2d6aa8; }
.motif-art .qr { width: 34%; padding: 4%; background: #fff; border-radius: 8px; }
.toasts { position: fixed; left: 50%; bottom: 118px; z-index: 200; translate: -50% 0; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; max-width: min(520px, 92vw); padding: 11px 16px; border-radius: 10px; background: #1c1b4a; color: #fff; font: 500 14px/20px var(--body); box-shadow: 0 10px 26px rgba(15, 20, 60, .3); animation: toast-in .22s cubic-bezier(.2, 1.3, .4, 1); }
.toast .ic { color: #7ee787; } .toast-err .ic { color: #ffb4a8; }
.toast.out { opacity: 0; translate: 0 8px; transition: opacity .25s, translate .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1180px) {
  .games { gap: 24px; } .game b { font-size: 28px; line-height: 32px; }
  .b-form-in { padding: 64px 32px 48px; }
  .b-bar .btn-ghost, .b-bar .btn-primary { min-width: 0; } .b-steps span { display: none; }
  .side { flex-basis: 300px; padding: 28px 24px; } .main { padding-left: 36px; }
  .tiles { grid-template-columns: repeat(2, 1fr); } .two { grid-template-columns: 1fr; }
  .live { grid-template-columns: minmax(0, 640px); gap: 32px; } .live-phone { position: static; }
  .pos { grid-template-columns: 1fr; } .plans { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .wz-body { grid-template-columns: minmax(0, 560px); gap: 32px; padding: 32px 20px; } .wz-side { position: static; order: -1; } .wz-prev { max-width: 300px; padding: 20px 18px; } .wz-prev .mini-wheel { width: 130px; height: 130px; } .wz-steps span { display: none; } .wz-steps { gap: 10px; } .wz-top { padding: 14px 18px; gap: 14px; } .wz-h { font-size: 27px; }
  .builder { flex-direction: column; } .b-form { flex: none; border-radius: 0 0 20px 20px; border-right: 0; } .b-prev { padding-top: 80px; }
  .games { grid-template-columns: 1fr 1fr; } .split { flex-direction: column; } .side { flex: none; border-right: 0; } .side .h2 { margin-bottom: 24px; }
  .main { padding: 22px 24px 120px; } .sheet { padding: 32px 24px 40px; } .row { flex-direction: column; gap: 0; } .row > .w120 { flex: none; }
  .b-bar { gap: 10px; padding: 0 16px; } .b-bar .name { margin-left: 4px; } .b-steps { display: none; } .b-bar .btn { padding: 0 16px; } .b-bar .btn-ghost { margin-left: auto; }
  .colors { grid-template-columns: 1fr 1fr; } .motifs { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) { .top-name { display: none; } }
@media (max-width: 860px) {
  .top { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 12px 14px 0; row-gap: 10px; }
  .top-nav { grid-column: 1 / -1; grid-row: 2; margin: 0 -14px; padding: 8px 14px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .nav-tab { height: 38px; padding: 0 12px; font-size: 14px; }
}
@media (max-width: 620px) {
  .wz-sets { grid-template-columns: 1fr 1fr; } .wz-prize { grid-template-columns: 50px minmax(0, 1fr) 36px; } .wz-prize .inp:nth-of-type(2), .wz-prize .inp:nth-of-type(3) { grid-column: 2 / 3; } .wz-two, .wz-colors { grid-template-columns: 1fr; } .wz-nav { flex-wrap: wrap; } .wz-nav .btn-primary { min-width: 0; flex: 1; }
  .kit { grid-template-columns: 1fr; } .kit-prev { max-width: 220px; margin: 0 auto; } .live-card { padding: 18px; } .live { padding: 8px 14px 48px; }
  .h1 { font-size: 28px; line-height: 34px; } .page-head { margin-bottom: 28px; }
  .games { grid-template-columns: 1fr; } .tiles { grid-template-columns: 1fr; } .tools { gap: 16px; }
  .b-bar .name { display: none; } .phone { --z: clamp(.5, min(calc((var(--vh, 800) - 150) / 808), calc((var(--vw, 400) - 56) / 373)), 1); } .panel { padding: 22px 16px; }
  .stock-row { grid-template-columns: minmax(0, 1fr) 70px 64px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- Emoji-Auswahl ---------- */
.emo-pop { position: fixed; z-index: 500; width: 336px; max-width: calc(100vw - 16px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgba(15, 20, 60, .22); animation: menu-in .14s ease-out; overflow: hidden; }
.emo-tabs { display: flex; gap: 4px; padding: 10px 10px 8px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.emo-tabs::-webkit-scrollbar { display: none; }
.emo-tabs button { flex: none; padding: 5px 10px; border: 0; border-radius: 8px; background: none; font: 600 12px/18px var(--body); color: var(--muted); }
.emo-tabs button.on, .emo-tabs button:hover { background: var(--sky-soft); color: var(--primary); }
.emo-list { position: relative; max-height: 262px; overflow-y: auto; padding: 4px 10px 12px; overscroll-behavior: contain; }
.emo-h { padding: 10px 2px 6px; font: 600 11px/16px var(--body); color: var(--faint); }
.emo-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emo { aspect-ratio: 1; border: 0; border-radius: 8px; background: none; font-size: 22px; line-height: 1; }
.emo:hover, .emo:focus-visible { background: var(--sky); }
.emo-tip { position: fixed; z-index: 450; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 17px; line-height: 28px; opacity: .65; filter: grayscale(1); }
.emo-tip:hover { opacity: 1; filter: none; background: var(--sky); }
.has-emo { padding-right: 44px !important; }
.emo-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; cursor: pointer; }
.emo-btn span { font-size: 22px; line-height: 1; }
.kit-step { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.kit-step b { font: 700 14px/20px var(--display); color: var(--ink); } .kit-step span { font: 400 13px/18px var(--body); color: var(--muted); }

/* ---------- Einrichtung: Website eingeben, Marke wird gelesen ---------- */
.wz-magic { position: relative; display: flex; gap: 10px; padding: 8px; border-radius: 16px; background: linear-gradient(120deg, #eaf1ff, #f1ecff); box-shadow: inset 0 0 0 1px #d6dcfb; }
.wz-magic .inp { flex: 1; min-width: 0; height: 52px; padding-left: 48px; border-color: transparent; background: #fff; font-size: 16px; }
.wz-magic .inp:focus { border-color: var(--primary); }
.wz-wand { position: absolute; left: 22px; top: 50%; margin-top: -11px; color: var(--primary); pointer-events: none; transform-origin: 20% 80%; }
.wz-magic .btn { min-height: 52px; padding: 0 22px; }
.wz-magic.busy .wz-wand { animation: wz-wave .9s ease-in-out infinite; }
.wz-spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: wz-spin .7s linear infinite; }
.wz-reading { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 2px 0; padding: 0; list-style: none; font: 500 13px/18px var(--body); color: var(--muted); }
.wz-reading li { display: flex; align-items: center; gap: 7px; opacity: .35; animation: wz-step 2.400s ease-in-out infinite; } .wz-reading li:nth-child(2) { animation-delay: .8s; } .wz-reading li:nth-child(3) { animation-delay: 1.600s; }
.wz-reading li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.wz-skel { display: grid; gap: 14px; margin-top: 26px; } .wz-skel i { height: 50px; border-radius: 8px; background: linear-gradient(90deg, #f1f3f8 25%, #e6e9f2 37%, #f1f3f8 63%); background-size: 400% 100%; animation: wz-shimmer 1.300s linear infinite; } .wz-skel i:last-child { height: 96px; }
.wz-found { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #ecfdf3; color: #05603a; }
.wz-found b { display: block; font: 700 15px/20px var(--display); } .wz-found span { font: 400 13px/18px var(--body); }
.wz-found-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #12b76a; color: #fff; }
.wz-sw { flex: none; display: flex; margin-left: auto; padding-left: 8px; } .wz-sw i { width: 28px; height: 28px; margin-left: -7px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.wz-nosite { margin-top: 16px; color: var(--muted); font-weight: 500; }
.wz-manual { margin-top: 28px; }
.wz-logo { flex-wrap: wrap; } .wz-logo img { margin-right: auto; }
.opt-note { margin-left: 6px; font: 400 12px/1 var(--body); color: var(--faint); text-transform: none; letter-spacing: 0; }
@keyframes wz-spin { to { transform: rotate(360deg); } }
@keyframes wz-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }
@keyframes wz-step { 0%, 100% { opacity: .35; } 20%, 45% { opacity: 1; } }
@keyframes wz-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 640px) { .wz-magic { flex-wrap: wrap; } .wz-magic .btn { width: 100%; } .wz-magic .inp { flex-basis: 100%; } .wz-wand { top: 34px; } }
@media (prefers-reduced-motion: reduce) { .wz-magic.busy .wz-wand, .wz-reading li, .wz-skel i { animation: none; } .wz-reading li { opacity: 1; } }
