/* BF POS Demo-Kasse — Seite, Geräte-Rahmen und Kassen-UI. Nutzt die Site-Tokens (site.css). */
.dk-hero { padding-bottom: 2.5rem; }
.dk-hero .lead { max-width: 640px; }
.dk-note { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--text-muted); background: var(--surface-tint); border: 1px solid var(--border); border-radius: 999px; padding: .4rem .9rem; }
.dk-note i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.18); }

.dk-stage-section { padding-top: 2rem; }
.dk-controls { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.dk-control { display: flex; flex-direction: column; gap: .4rem; }
.dk-control label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.dk-seg { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--surface-tint-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.dk-seg::-webkit-scrollbar { display: none; }
.dk-control { max-width: 100%; }
.dk-seg button { border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: .875rem; font-weight: 500; padding: .5rem .95rem; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease-smooth); white-space: nowrap; }
.dk-seg button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
[data-theme="dark"] .dk-seg button[aria-pressed="true"] { background: var(--surface-tint-strong); }
.dk-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.dk-stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
@media (max-width: 1023px) { .dk-stage { grid-template-columns: minmax(0, 1fr); } }

.dk-frame-wrap { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.dk-frame-scale { transform-origin: top left; }
.dk-frame { position: relative; background: #0b0d16; border-radius: 28px; padding: 14px; box-shadow: 0 30px 80px -30px rgba(10,14,42,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.dk-frame--phone { border-radius: 44px; padding: 12px; }
.dk-frame--pax { border-radius: 26px; padding: 14px 14px 22px; background: #14161f; }
.dk-frame--pax::before { content: ''; position: absolute; left: 50%; top: 5px; transform: translateX(-50%); width: 60%; height: 5px; border-radius: 3px; background: #2b2e3b; }
.dk-frame--pax::after { content: 'PAX A920 · Demo'; position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.35); text-transform: uppercase; }
.dk-frame--phone::before { content: ''; position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 96px; height: 24px; border-radius: 12px; background: #000; z-index: 3; }
.dk-screen { position: relative; overflow: hidden; background: var(--dk-bg); color: var(--dk-text); border-radius: 16px; font-family: var(--font-body); font-size: 14px; line-height: 1.35; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
.dk-frame--phone .dk-screen { border-radius: 34px; }
.dk-frame--tablet .dk-screen { width: 1024px; height: 700px; }
.dk-frame--phone .dk-screen { width: 390px; height: 800px; }
.dk-frame--pax .dk-screen { width: 400px; height: 700px; }

/* Kassen-Theme: neutral, hell; im Dark-Mode dunkel */
.dk-screen { --dk-bg: #f3f4f8; --dk-panel: #ffffff; --dk-line: rgba(10,14,42,.10); --dk-text: #0a0e2a; --dk-muted: rgba(10,14,42,.58); --dk-faint: rgba(10,14,42,.4); --dk-primary: #183ae0; --dk-primary-2: #3e7bff; --dk-ok: #1f9d55; --dk-warn: #e0a100; --dk-danger: #d8383a; --dk-tint: rgba(24,58,224,.08); --dk-tile: #ffffff; }
[data-theme="dark"] .dk-screen { --dk-bg: #0f1119; --dk-panel: #171a26; --dk-line: rgba(255,255,255,.10); --dk-text: #ffffff; --dk-muted: rgba(255,255,255,.6); --dk-faint: rgba(255,255,255,.4); --dk-tint: rgba(76,140,255,.16); --dk-tile: #1b1f2e; }

.dk-screen *, .dk-screen *::before, .dk-screen *::after { box-sizing: border-box; }
.dk-screen button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dk-screen input { font: inherit; }
.dk-money { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* App-Bar */
.dk-appbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--dk-panel); border-bottom: 1px solid var(--dk-line); min-height: 56px; flex: 0 0 auto; }
.dk-frame--phone .dk-appbar { padding-top: 44px; }
.dk-appbar h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.01em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-appbar small { display: block; font-weight: 500; font-size: 11.5px; color: var(--dk-muted); font-family: var(--font-body); }
.dk-iconbtn { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--dk-tint); color: var(--dk-primary); font-weight: 700; font-size: 16px; flex: 0 0 auto; }
.dk-iconbtn:hover { filter: brightness(.96); }
.dk-user { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dk-muted); }
.dk-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--dk-primary), var(--dk-primary-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }

.dk-body { flex: 1 1 auto; min-height: 0; display: flex; position: relative; }
.dk-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Bottom-Nav */
.dk-nav { display: flex; background: var(--dk-panel); border-top: 1px solid var(--dk-line); flex: 0 0 auto; }
.dk-nav button { flex: 1; padding: 8px 4px 10px; font-size: 11px; font-weight: 600; color: var(--dk-faint); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dk-nav button span:first-child { font-size: 18px; }
.dk-nav button[aria-current="page"] { color: var(--dk-primary); }
.dk-frame--phone .dk-nav { padding-bottom: 14px; }

/* Login */
.dk-login { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.dk-login h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -.02em; }
.dk-login p { margin: 0; color: var(--dk-muted); font-size: 13px; }
.dk-users { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dk-users button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 16px; background: var(--dk-panel); border: 2px solid transparent; min-width: 96px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dk-users button[aria-pressed="true"] { border-color: var(--dk-primary); background: var(--dk-tint); }
.dk-users .dk-avatar { width: 40px; height: 40px; font-size: 15px; }
.dk-users b { font-size: 13px; } .dk-users small { color: var(--dk-muted); font-size: 11px; }
.dk-pin { display: flex; gap: 10px; }
.dk-pin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--dk-faint); }
.dk-pin i.on { background: var(--dk-primary); border-color: var(--dk-primary); }
.dk-numpad { display: grid; grid-template-columns: repeat(3, 72px); gap: 8px; }
.dk-numpad button { height: 56px; border-radius: 14px; background: var(--dk-panel); font-size: 20px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.dk-numpad button:active { background: var(--dk-tint); }
.dk-numpad button.muted { color: var(--dk-muted); font-size: 14px; }
.dk-hintline { font-size: 11.5px; color: var(--dk-faint); }

/* Tische */
.dk-tables { flex: 1; padding: 14px; }
.dk-zone { margin-bottom: 16px; }
.dk-zone h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dk-faint); }
.dk-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.dk-wide .dk-tgrid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.dk-table { position: relative; aspect-ratio: 1.15; border-radius: 16px; background: var(--dk-panel); border: 1.5px solid var(--dk-line); display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; text-align: left; transition: transform .15s var(--ease-smooth); }
.dk-table:hover { transform: translateY(-2px); }
.dk-table b { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.dk-table small { font-size: 11px; color: var(--dk-muted); }
.dk-table .dk-money { font-weight: 600; font-size: 13px; }
.dk-table--open { border-color: var(--dk-primary); background: var(--dk-tint); }
.dk-table--open::after { content: ''; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--dk-primary); }
.dk-table--draft { border-style: dashed; }
.dk-table--draft::after { background: var(--dk-warn); }
.dk-quick { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

/* Bestellen: Layout */
.dk-order { flex: 1; display: flex; min-height: 0; }
.dk-cats { flex: 0 0 120px; border-right: 1px solid var(--dk-line); background: var(--dk-panel); display: flex; flex-direction: column; overflow-y: auto; }
.dk-cats button { padding: 12px 8px; font-size: 12px; font-weight: 600; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; border-left: 3px solid transparent; color: var(--dk-muted); }
.dk-cats button span { font-size: 22px; }
.dk-cats button[aria-pressed="true"] { border-left-color: var(--dk-primary); color: var(--dk-text); background: var(--dk-tint); }
.dk-catbar { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; background: var(--dk-panel); border-bottom: 1px solid var(--dk-line); scrollbar-width: none; flex: 0 0 auto; }
.dk-catbar::-webkit-scrollbar { display: none; }
.dk-chip { padding: 7px 12px; border-radius: 999px; background: var(--dk-bg); border: 1px solid var(--dk-line); font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--dk-muted); }
.dk-chip[aria-pressed="true"] { background: var(--dk-primary); border-color: var(--dk-primary); color: #fff; }
.dk-chip--small { padding: 3px 9px; font-size: 11px; }
.dk-gridwrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dk-grid { flex: 1; overflow-y: auto; padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; align-content: start; }
.dk-narrow .dk-grid { grid-template-columns: repeat(3, 1fr); }
.dk-big .dk-grid { grid-template-columns: repeat(2, 1fr); }
.dk-wide.dk-big .dk-grid { grid-template-columns: repeat(4, 1fr); }
.dk-tile { border-radius: 16px; background: var(--dk-tile); border: 1px solid var(--dk-line); padding: 10px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; transition: transform .12s var(--ease-smooth), box-shadow .12s; }
.dk-big .dk-tile { min-height: 120px; }
.dk-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(10,14,42,.3); }
.dk-tile:active { transform: scale(.97); }
.dk-tile .e { font-size: 26px; line-height: 1; }
.dk-tile b { font-size: 12.5px; font-weight: 600; line-height: 1.2; display: block; margin-top: 8px; }
.dk-big .dk-tile b { font-size: 15px; }
.dk-tile .p { font-size: 12px; color: var(--dk-muted); margin-top: 3px; display: flex; justify-content: space-between; align-items: center; }
.dk-tile .v { font-size: 10px; background: var(--dk-tint); color: var(--dk-primary); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.dk-tile--pfand::after { content: '+ Pfand'; font-size: 10px; color: var(--dk-faint); }

/* Bestelldetails (Warenkorb) */
.dk-cart { flex: 0 0 340px; background: var(--dk-panel); border-left: 1px solid var(--dk-line); display: flex; flex-direction: column; min-height: 0; }
.dk-narrow .dk-cart { flex: 1; border-left: 0; }
.dk-cart-head { padding: 10px 12px; border-bottom: 1px solid var(--dk-line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dk-cart-head b { font-size: 13px; flex: 1; }
.dk-gangbar { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--dk-line); overflow-x: auto; scrollbar-width: none; }
.dk-gangbar span { font-size: 11px; color: var(--dk-faint); align-self: center; white-space: nowrap; }
.dk-rows { flex: 1; overflow-y: auto; min-height: 0; }
.dk-course-h { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-faint); display: flex; align-items: center; gap: 8px; }
.dk-course-h::after { content: ''; flex: 1; height: 1px; background: var(--dk-line); }
.dk-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 8px 12px; border-bottom: 1px solid var(--dk-line); align-items: center; }
.dk-row .n { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dk-row .n .sent { font-size: 10px; color: var(--dk-ok); font-weight: 700; }
.dk-row .n .canc { font-size: 10px; color: var(--dk-danger); font-weight: 700; }
.dk-row .sub { font-size: 11.5px; color: var(--dk-muted); grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dk-row .sub .note { font-style: italic; }
.dk-row .amt { font-size: 13px; font-weight: 600; text-align: right; }
.dk-row--canc .n, .dk-row--canc .amt { text-decoration: line-through; color: var(--dk-faint); }
.dk-qty { display: inline-flex; align-items: center; gap: 2px; background: var(--dk-bg); border-radius: 10px; padding: 2px; }
.dk-qty button { width: 28px; height: 28px; border-radius: 8px; font-weight: 700; font-size: 16px; color: var(--dk-primary); }
.dk-qty button.minus { color: var(--dk-danger); }
.dk-qty b { min-width: 22px; text-align: center; font-size: 13px; }
.dk-empty { padding: 30px 16px; text-align: center; color: var(--dk-faint); font-size: 13px; }
.dk-empty span { font-size: 34px; display: block; margin-bottom: 8px; }
.dk-cart-foot { border-top: 1px solid var(--dk-line); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.dk-totalline { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dk-muted); }
.dk-totalline.big { font-size: 17px; font-weight: 800; color: var(--dk-text); font-family: var(--font-display); }
.dk-btnrow { display: flex; gap: 8px; }
.dk-btn { flex: 1; height: 48px; border-radius: 14px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: filter .15s; }
.dk-btn:hover { filter: brightness(.95); }
.dk-btn:disabled { opacity: .4; cursor: default; }
.dk-btn--primary { background: var(--dk-primary); color: #fff; }
.dk-btn--ok { background: var(--dk-ok); color: #fff; }
.dk-btn--soft { background: var(--dk-tint); color: var(--dk-primary); }
.dk-btn--ghost { background: var(--dk-bg); color: var(--dk-muted); }
.dk-btn--danger { background: rgba(216,56,58,.12); color: var(--dk-danger); }
.dk-btn--sm { height: 38px; font-size: 13px; border-radius: 11px; flex: 0 0 auto; padding: 0 14px; }
.dk-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: var(--dk-primary); font-size: 11px; font-weight: 800; padding: 0 6px; }

/* Cart-Bar (schmal) */
.dk-cartbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--dk-primary); color: #fff; flex: 0 0 auto; }
.dk-cartbar b { flex: 1; font-size: 14px; }
.dk-cartbar small { display: block; font-size: 11px; opacity: .8; font-weight: 500; }

/* Rechnung */
.dk-bill { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dk-bill-list { flex: 1; overflow-y: auto; padding: 12px 14px; }
.dk-bill-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed var(--dk-line); }
.dk-bill-row.sel { background: var(--dk-tint); margin: 0 -8px; padding: 6px 8px; border-radius: 8px; }
.dk-bill-row input { width: 18px; height: 18px; accent-color: var(--dk-primary); }
.dk-section { padding: 10px 14px; border-top: 1px solid var(--dk-line); background: var(--dk-panel); }
.dk-section h4 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-faint); }
.dk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dk-sum { padding: 10px 14px; background: var(--dk-panel); border-top: 1px solid var(--dk-line); }

/* Zahlen */
.dk-pay { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.dk-amount { text-align: center; padding: 22px 14px 12px; }
.dk-amount small { display: block; font-size: 12px; color: var(--dk-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.dk-amount b { font-family: var(--font-display); font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
.dk-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px 14px; }
.dk-method { border-radius: 16px; padding: 16px 8px; background: var(--dk-panel); border: 2px solid var(--dk-line); display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.dk-method span { font-size: 28px; }
.dk-method[aria-pressed="true"] { border-color: var(--dk-primary); background: var(--dk-tint); }
.dk-cashpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px 14px; }
.dk-cashpad button { height: 46px; border-radius: 12px; background: var(--dk-panel); border: 1px solid var(--dk-line); font-weight: 700; font-size: 15px; }
.dk-cashpad button.q { background: var(--dk-tint); color: var(--dk-primary); border-color: transparent; font-size: 13px; }
.dk-change { display: flex; justify-content: space-between; padding: 8px 14px; font-size: 14px; }
.dk-change b { font-size: 18px; font-family: var(--font-display); }
.dk-change.ok b { color: var(--dk-ok); }

/* Beleg */
.dk-receipt-wrap { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dk-paper { background: #fff; color: #111; width: 100%; max-width: 300px; padding: 16px 16px 22px; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.45; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); position: relative; border-radius: 4px 4px 0 0; }
.dk-paper::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(135deg, transparent 50%, #fff 50%) 0 0/12px 8px, linear-gradient(45deg, #fff 50%, transparent 50%) 0 0/12px 8px; }
.dk-paper h5 { margin: 0 0 2px; text-align: center; font-family: var(--font-display); font-size: 15px; font-weight: 900; }
.dk-paper .c { text-align: center; color: #555; }
.dk-paper hr { border: 0; border-top: 1px dashed #999; margin: 8px 0; }
.dk-paper .l { display: flex; justify-content: space-between; gap: 8px; }
.dk-paper .l.b { font-weight: 700; font-size: 13px; }
.dk-paper .ticket-item { display: flex; gap: 8px; font-size: 13px; font-weight: 700; }
.dk-paper .ticket-item small { font-weight: 400; font-size: 11px; color: #444; display: block; }
.dk-paper .gang { margin: 8px 0 3px; font-weight: 700; border-bottom: 2px solid #111; font-size: 12px; }
.dk-paper.k { font-size: 12.5px; }
.dk-qr { width: 96px; height: 96px; margin: 8px auto 4px; display: grid; grid-template-columns: repeat(21, 1fr); gap: 0; }
.dk-qr i { background: transparent; } .dk-qr i.on { background: #111; }

/* Bericht */
.dk-report { flex: 1; overflow-y: auto; padding: 14px; }
.dk-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.dk-wide .dk-kpis { grid-template-columns: repeat(4, 1fr); }
.dk-kpi { background: var(--dk-panel); border: 1px solid var(--dk-line); border-radius: 14px; padding: 12px; }
.dk-kpi small { display: block; font-size: 11px; color: var(--dk-muted); font-weight: 600; }
.dk-kpi b { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.dk-card { background: var(--dk-panel); border: 1px solid var(--dk-line); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.dk-card h4 { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--dk-muted); }
.dk-card .l { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }

/* Bestellungen-Liste */
.dk-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dk-list button { background: var(--dk-panel); border: 1px solid var(--dk-line); border-radius: 14px; padding: 12px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.dk-list button b { display: block; font-size: 14px; } .dk-list button small { color: var(--dk-muted); font-size: 11.5px; }

/* Modale */
.dk-modal-bg { position: absolute; inset: 0; background: rgba(6,8,20,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 20; animation: dkFade .15s ease-out; }
.dk-wide .dk-modal-bg { align-items: center; }
.dk-modal { background: var(--dk-panel); color: var(--dk-text); width: 100%; max-width: 420px; border-radius: 22px 22px 0 0; padding: 16px 16px 20px; max-height: 92%; overflow-y: auto; animation: dkUp .2s var(--ease-smooth); }
.dk-wide .dk-modal { border-radius: 22px; }
.dk-frame--phone .dk-modal { padding-bottom: 30px; }
.dk-modal h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.dk-modal p { margin: 0 0 12px; color: var(--dk-muted); font-size: 13px; }
.dk-modal .dk-section { padding: 10px 0 0; border-top: 0; background: none; }
.dk-modal input[type="text"] { width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--dk-line); background: var(--dk-bg); color: var(--dk-text); }
.dk-modal .dk-numpad { justify-content: center; margin: 10px auto; }
.dk-modal .dk-pin { justify-content: center; margin: 8px 0; }
.dk-modal .dk-btnrow { margin-top: 14px; }
.dk-err { color: var(--dk-danger); font-size: 12.5px; font-weight: 600; min-height: 16px; text-align: center; }
@keyframes dkUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dkFade { from { opacity: 0; } to { opacity: 1; } }

/* Terminal-Simulation */
.dk-term { background: #0b0d16; color: #fff; text-align: center; padding: 26px 20px 30px; border-radius: 22px; max-width: 320px; width: 100%; }
.dk-term .amt { font-family: var(--font-display); font-size: 34px; font-weight: 900; margin: 6px 0 14px; }
.dk-term .msg { font-size: 14px; color: rgba(255,255,255,.75); min-height: 20px; }
.dk-term .spin { width: 42px; height: 42px; border: 4px solid rgba(255,255,255,.15); border-top-color: #4c8cff; border-radius: 50%; margin: 18px auto; animation: dkSpin .8s linear infinite; }
.dk-term .okmark { width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; margin: 14px auto; display: flex; align-items: center; justify-content: center; font-size: 28px; animation: dkPop .3s var(--ease-smooth); }
.dk-term .brand { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.dk-term .cardimg { width: 120px; height: 76px; margin: 10px auto 0; border-radius: 10px; background: linear-gradient(135deg, #3e7bff, #86bbff); position: relative; animation: dkTap 1.6s ease-in-out infinite; }
.dk-term .cardimg::after { content: ''; position: absolute; left: 12px; top: 22px; width: 28px; height: 20px; border-radius: 4px; background: rgba(255,255,255,.7); }
@keyframes dkSpin { to { transform: rotate(360deg); } }
@keyframes dkPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dkTap { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Drucker-Animation */
.dk-printer { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 340px; }
.dk-printer .slot { width: 100%; height: 26px; border-radius: 10px 10px 4px 4px; background: linear-gradient(#2b2e3b, #14161f); position: relative; z-index: 2; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.dk-printer .slot::after { content: ''; position: absolute; left: 10%; right: 10%; top: 18px; height: 3px; background: #000; border-radius: 2px; }
.dk-printer .out { width: 92%; overflow: hidden; }
.dk-printer .dk-paper { animation: dkPrint 1.4s var(--ease-smooth) forwards; max-width: none; border-radius: 0; margin-top: -6px; }
.dk-printer + .dk-printer { margin-top: 12px; }
.dk-printers { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; }
.dk-wide .dk-printers { flex-direction: row; align-items: flex-start; justify-content: center; gap: 16px; }
.dk-wide .dk-printer + .dk-printer { margin-top: 0; }
@keyframes dkPrint { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Scanner */
.dk-scan { height: 120px; border-radius: 16px; background: #0b0d16; position: relative; overflow: hidden; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: 13px; }
.dk-scan::before { content: ''; position: absolute; left: 10%; right: 10%; height: 2px; background: #ff3b30; box-shadow: 0 0 12px #ff3b30; animation: dkScan 1.1s ease-in-out infinite; }
@keyframes dkScan { 0%,100% { top: 20%; } 50% { top: 80%; } }

/* Toast */
.dk-toast { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); background: #0b0d16; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; z-index: 30; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); animation: dkToast 2.4s ease-in-out forwards; }
@keyframes dkToast { 0% { opacity: 0; transform: translate(-50%, 10px); } 12%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* Tour-Hinweis */
.dk-hint { animation: dkHint 1.3s ease-in-out infinite; position: relative; z-index: 5; }
@keyframes dkHint { 0%,100% { box-shadow: 0 0 0 0 rgba(62,123,255,.55); } 50% { box-shadow: 0 0 0 7px rgba(62,123,255,0); } }

/* Rundgang-Karte (ausserhalb des Rahmens) */
.dk-tour { position: sticky; top: 90px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-card); }
.dk-tour h3 { margin: 0 0 .25rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }
.dk-tour h3 span { font-size: .75rem; color: var(--text-faint); font-family: var(--font-body); font-weight: 600; }
.dk-tour p { margin: .5rem 0 0; font-size: .92rem; color: var(--text-muted); line-height: 1.5; }
.dk-tour-progress { height: 4px; background: var(--surface-tint-strong); border-radius: 2px; margin: .9rem 0; overflow: hidden; }
.dk-tour-progress i { display: block; height: 100%; background: var(--gradient-stripe); transition: width .3s var(--ease-smooth); }
.dk-tour ol { margin: .75rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.dk-tour li { font-size: .82rem; color: var(--text-faint); display: flex; gap: .5rem; align-items: center; }
.dk-tour li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border-strong); flex: 0 0 auto; }
.dk-tour li.done { color: var(--text-muted); text-decoration: line-through; } .dk-tour li.done::before { background: #2fbf71; border-color: #2fbf71; }
.dk-tour li.cur { color: var(--text); font-weight: 600; } .dk-tour li.cur::before { border-color: var(--brand-electric); box-shadow: 0 0 0 3px rgba(62,123,255,.25); }
.dk-tour .dk-tour-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.dk-tour .btn { padding: .6rem 1.1rem; font-size: .85rem; }
.dk-tour--idle p { margin-top: .25rem; }

.dk-features { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.dk-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.dk-feature span { font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.dk-feature h4 { margin: 0 0 .3rem; font-size: .98rem; font-weight: 700; }
.dk-feature p { margin: 0; font-size: .86rem; color: var(--text-muted); line-height: 1.5; }
.dk-cta { margin-top: 3rem; text-align: center; }
.dk-cta .hero-actions { justify-content: center; }
