@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:100;src:url('/assets/fonts/work-sans-v19-latin-100.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-100.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:200;src:url('/assets/fonts/work-sans-v19-latin-200.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-200.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:300;src:url('/assets/fonts/work-sans-v19-latin-300.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-300.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:400;src:url('/assets/fonts/work-sans-v19-latin-regular.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-regular.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:500;src:url('/assets/fonts/work-sans-v19-latin-500.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-500.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:600;src:url('/assets/fonts/work-sans-v19-latin-600.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-600.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:700;src:url('/assets/fonts/work-sans-v19-latin-700.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-700.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:800;src:url('/assets/fonts/work-sans-v19-latin-800.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-800.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:900;src:url('/assets/fonts/work-sans-v19-latin-900.woff2') format('woff2'),url('/assets/fonts/work-sans-v19-latin-900.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:100;src:url('/assets/fonts/noto-serif-v23-latin-100.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-100.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:200;src:url('/assets/fonts/noto-serif-v23-latin-200.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-200.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:300;src:url('/assets/fonts/noto-serif-v23-latin-300.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-300.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:400;src:url('/assets/fonts/noto-serif-v23-latin-regular.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-regular.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:500;src:url('/assets/fonts/noto-serif-v23-latin-500.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-500.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:600;src:url('/assets/fonts/noto-serif-v23-latin-600.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-600.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:700;src:url('/assets/fonts/noto-serif-v23-latin-700.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-700.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:800;src:url('/assets/fonts/noto-serif-v23-latin-800.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-800.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Noto Serif';font-style:normal;font-weight:900;src:url('/assets/fonts/noto-serif-v23-latin-900.woff2') format('woff2'),url('/assets/fonts/noto-serif-v23-latin-900.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:100;src:url('/assets/fonts/roboto-condensed-v27-latin-100.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-100.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:200;src:url('/assets/fonts/roboto-condensed-v27-latin-200.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-200.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:300;src:url('/assets/fonts/roboto-condensed-v27-latin-300.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-300.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:400;src:url('/assets/fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:500;src:url('/assets/fonts/roboto-condensed-v27-latin-500.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-500.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:600;src:url('/assets/fonts/roboto-condensed-v27-latin-600.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-600.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:700;src:url('/assets/fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-700.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:800;src:url('/assets/fonts/roboto-condensed-v27-latin-800.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-800.ttf') format('truetype')}@font-face{font-display:swap;font-family:'Roboto Condensed';font-style:normal;font-weight:900;src:url('/assets/fonts/roboto-condensed-v27-latin-900.woff2') format('woff2'),url('/assets/fonts/roboto-condensed-v27-latin-900.ttf') format('truetype')}:root{--accent:#e8562b;--accent-dark:#c7431c;--bg:#faf7f2;--ink:#22201d;--text-muted:#615c56;--border-color:#efebe6;--qrcode-size:180px}html,body{height:100%;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}.hide-on-empty:empty{display:none}.card{--bs-card-border-color:var(--border-color)}.app-shell{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.06)}.app-header{padding:1rem 1.25rem;border-bottom:1px solid #efebe6;display:flex;align-items:center;gap:.6rem}.app-header .logo{width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#4a3418,#1a1207);box-shadow:inset 0 0 0 1px rgba(212,175,85,.45);display:flex;align-items:center;justify-content:center;flex-shrink:0}.app-header .logo img{width:20px;height:20px}.app-header h1{font-size:1rem;font-weight:700;margin:0}.app-header small{color:var(--text-muted)}.lang-switch{margin-left:auto;display:flex;gap:.2rem;background:var(--bg);border-radius:999px;padding:.2rem;flex-shrink:0}.lang-btn{border:0;background:transparent;font-size:.72rem;font-weight:700;padding:.32rem .6rem;border-radius:999px;color:var(--text-muted);line-height:1}.lang-btn.active{background:var(--accent);color:#fff}.resume-bar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;background:#fcefe8;color:var(--accent-dark);font-size:.8rem;font-weight:600;padding:.6rem .9rem;border-bottom:1px solid #f3dcc9}.resume-bar .resume-text{display:flex;align-items:center;gap:.4rem}.resume-btn{background:var(--accent);color:#fff;border:0;font-weight:700;font-size:.75rem;padding:.4rem .8rem;border-radius:999px;flex-shrink:0}main,#form-step1,#form-step2,#form-step3{flex:1;display:flex;flex-direction:column}.screen{display:none;flex:1;flex-direction:column;padding:1.5rem 1.25rem 1rem}.screen.active{display:flex}.btn-accent{background:var(--accent);border:0;color:#fff;font-weight:700;padding:.9rem 1.25rem;border-radius:14px;font-size:1.05rem}.btn-accent:hover,.btn-accent:focus{background:var(--accent-dark);color:#fff}.btn-accent:disabled{background:#e3dfd8;color:#a29c90}.btn-outline-accent{border:1px solid #e3dfd8;color:var(--ink);font-weight:600;padding:.8rem 1.1rem;border-radius:14px;background:#fff}.btn-sm-outline{border:1px solid #e3dfd8;color:var(--ink);font-weight:600;font-size:.82rem;padding:.5rem .9rem;border-radius:12px;background:#fff}.ticket-card{border:1px solid var(--border-color);border-radius:16px;padding:1rem 1.1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.9rem}.ticket-card .info{display:flex;align-items:center;gap:.75rem}.ticket-card .icon{width:44px;height:44px;border-radius:12px;background:#fcefe8;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ticket-card .icon img{width:24px;height:24px}.ticket-card .name{font-weight:700;font-size:.98rem;margin:0}.ticket-card .price{color:var(--text-muted);font-size:.85rem;margin:0}.ticket-card .total{text-align:right;width:55px}.qty-control{display:flex;align-items:center;gap:.125rem}.qty-btn{width:36px;height:36px;border-radius:50%;border:1px solid #e3dfd8;background:#fff;font-size:1.1rem;font-weight:700;color:var(--accent);display:flex;align-items:center;justify-content:center;line-height:1}.qty-btn:active{background:#fcefe8}.qty-value{min-width:22px;max-width:30px;text-align:center;font-weight:700;border:0}.subtotal-line{display:flex;justify-content:space-between;font-size:.85rem;color:var(--text-muted);padding:0 .1rem;margin-bottom:.25rem}.sticky-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid #efebe6;padding:1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:.6rem}.total-row{display:flex;justify-content:space-between;align-items:baseline}.total-row .label{color:#6b655c;font-size:.9rem}.total-row .amount{font-size:1.4rem;font-weight:800}.step-indicator{display:flex;gap:.35rem;justify-content:center;margin-bottom:1rem}.step-dot{width:6px;height:6px;border-radius:50%;background:#e3dfd8}.step-dot.active{background:var(--accent);width:18px;border-radius:3px}.form-label{color:#6b655c;margin-bottom:.3rem}.form-control{border-radius:10px;border-color:#e3dfd8;padding:.65rem .8rem}.form-control:focus{border-color:var(--accent);box-shadow:0 0 0 .2rem rgba(232,86,43,.15)}.form-check-input:checked{background-color:var(--accent);border-color:var(--accent)}.company-fields{background:var(--bg);border-radius:14px;padding:.9rem;margin-top:.5rem}.payment-card{border:1px solid #efebe6;border-radius:14px;padding:.85rem 1rem;display:flex;align-items:center;gap:.75rem;margin-bottom:.6rem;cursor:pointer}.payment-card.selected{border-color:var(--accent);background:#fcefe8}.payment-icon{display:flex;align-items:center}.payment-icon img{width:20px;height:20px}.payment-label{flex:1;font-weight:600;font-size:.92rem}.radio-dot{width:20px;height:20px;border-radius:50%;border:2px solid #e3dfd8;flex-shrink:0}.payment-card.selected .radio-dot{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 40%,transparent 42%)}.payment-forward{align-items:center;text-align:center;gap:.9rem}.icon-circle{width:100px;height:100px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffd8c4,var(--accent));display:flex;align-items:center;justify-content:center;margin:0 auto}.icon-circle img{width:40px;height:40px}.placeholder-note{font-size:.78rem;color:#a29c90;background:var(--bg);border-radius:10px;padding:.6rem .8rem}#screen-success{gap:.4rem}.check-circle{width:70px;height:70px;border-radius:50%;background:#e8f6ec;display:flex;align-items:center;justify-content:center;margin-bottom:.2rem}.check-circle img{width:32px;height:32px}.spinner-border{color:var(--accent);width:2.2rem;height:2.2rem}.ticket-mock{border:2px dashed #e3dfd8;border-radius:16px;padding:1.25rem;width:100%;display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:.3rem}.qr-wrap{position:relative;width:var(--qrcode-size);height:var(--qrcode-size)}.qr-placeholder{width:var(--qrcode-size);height:var(--qrcode-size);border-radius:10px;border:4px solid #2e9e4e;background:repeating-linear-gradient(45deg,#22201d 0 6px,#fff 6px 12px);transition:filter .2s,border-color .2s}.qr-placeholder.qr-used{border-color:#c7c2ba;filter:grayscale(1) opacity(.55)}.qr-stamp{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-14deg);border:3px solid #c0392b;color:#c0392b;background:rgba(255,255,255,.88);font-weight:800;font-size:.85rem;letter-spacing:.05em;padding:.25rem .65rem;border-radius:8px;white-space:nowrap}.ticket-id{font-family:monospace;font-size:.95rem;letter-spacing:.05em;color:#6b655c}.ticket-nav{display:flex;align-items:center;justify-content:space-between;width:100%;margin:.4rem 0}.nav-btn{width:40px;height:40px;border-radius:50%;border:1px solid #e3dfd8;background:#fff;font-size:1.3rem;color:var(--accent);display:flex;align-items:center;justify-content:center}.nav-btn:active{background:#fcefe8}.ticket-position{font-size:.85rem;color:#6b655c;font-weight:600}.ticket-type-badge{display:inline-block;background:#fcefe8;color:var(--accent-dark);font-weight:700;font-size:.8rem;padding:.25rem .7rem;border-radius:999px}.status-badge{display:inline-block;font-weight:700;font-size:.78rem;padding:.3rem .8rem;border-radius:999px;margin-top:.15rem}.status-valid{background:#e8f6ec;color:#2e9e4e}.status-used{background:#f1efea;color:var(--text-muted)}.ticket-dots{display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap;margin:.7rem 0 .3rem}.ticket-dot{width:10px;height:10px;border-radius:50%;cursor:pointer;border:2px solid transparent;padding:0}.dot-valid{background:#2e9e4e}.dot-used{background:#c7c2ba}.ticket-dot.dot-current{border-color:var(--ink)}.summary-status{font-size:.82rem;color:#6b655c;margin:.3rem 0 0}.app-footer{text-align:center;font-size:.7rem;line-height:1.6;color:#a29c90;padding:.7rem 1rem 1.1rem}.app-footer a{color:#a29c90;text-decoration:underline;text-underline-offset:2px}.app-footer a:hover{color:var(--accent-dark)}.legal-page{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;padding:1.5rem 1.25rem;box-shadow:0 0 40px rgba(0,0,0,.06)}.legal-page h1{font-size:1.15rem;font-weight:700;margin:0 0 1.1rem}.legal-page p{font-size:.92rem;color:#4a453e;line-height:1.6;margin-bottom:.9rem}.legal-page .back-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;color:var(--accent-dark);text-decoration:none;font-weight:600;margin-bottom:1.5rem}.legal-page .back-link:hover{text-decoration:underline}:root{--ok:#1e7e34;--ok-bg:#e8f6ec;--used:#e07b00;--used-bg:#fff3e0;--bad:#c62828;--bad-bg:#fdecea;--safe-top:env(safe-area-inset-top,0);--safe-bottom:env(safe-area-inset-bottom,0)}html,body{height:100%;background:#0f1115}body{padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);-webkit-tap-highlight-color:transparent}.app-header{background:#12151b;color:#fff}.app-header .logo img{width:20px;height:20px}.app-header h1{font-size:1rem;font-weight:700;margin:0}.app-header small{color:#8a8378}.app-header .badge-count{font-variant-numeric:tabular-nums}.scan-stage{position:relative;width:100%;max-width:520px;margin:0 auto;aspect-ratio:3 / 4;background:#000;border-radius:1rem;overflow:hidden}.scan-stage video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;inset:12%;border:3px solid rgba(255,255,255,.75);border-radius:1rem;box-shadow:0 0 0 999px rgba(0,0,0,.35);pointer-events:none}.scan-hint{position:absolute;bottom:.75rem;left:0;right:0;text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6);font-size:.9rem;pointer-events:none}.scan-stage.paused::after{content:"Scanner pausiert";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.65);color:#fff;font-weight:600;font-size:1.1rem}#resultOverlay{position:fixed;inset:0;z-index:1050;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(var(--safe-top) + 1.5rem) 1.5rem calc(var(--safe-bottom) + 1.5rem)}#resultOverlay.show{display:flex}#resultOverlay.state-valid{background:var(--ok);color:#fff}#resultOverlay.state-used{background:var(--used);color:#fff}#resultOverlay.state-invalid{background:var(--bad);color:#fff}.result-icon{font-size:6.5rem;line-height:1;margin-bottom:1rem}.result-title{font-size:2.1rem;font-weight:800;letter-spacing:.02em;margin-bottom:.5rem}.result-sub{font-size:1.15rem;font-weight:500;opacity:.95;margin-bottom:.25rem}.result-detail{font-size:1rem;opacity:.9;background:rgba(255,255,255,.15);border-radius:.75rem;padding:.75rem 1rem;margin-top:1rem;max-width:420px}#resultOverlay .btn-continue{margin-top:2.25rem;min-width:220px;font-weight:700}.stat-tile{border-radius:.75rem;padding:.6rem .4rem;text-align:center}.stat-num{font-size:1.4rem;font-weight:800;font-variant-numeric:tabular-nums}.stat-label{font-size:.72rem;opacity:.75;text-transform:uppercase;letter-spacing:.03em}#manualPanel,#adminPanel{background:#fff}.log-item{font-size:.85rem;border-bottom:1px solid #eee;padding:.4rem 0}.log-item:last-child{border-bottom:0}#qrPreview canvas,#qrPreview img{image-rendering:pixelated}