/* KEBU Cockpit · Farben und Schriften aus site/css/style.css */
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --y: #F2BF29; --y-2: #FFD24D; --y-soft: #FDF3D0; --y-ink: #3A2E00;
  --ink: #2C3C43; --night: #111619; --night-2: #1A2328; --paper: #F3F1EC; --white: #fff;
  --line: rgba(44, 60, 67, .14); --line-2: rgba(44, 60, 67, .08);
  --muted: #56666D;
  --ok: #1E8E4E; --ok-soft: #E3F3E9; --warn: #B7791F; --bad: #C8402B; --bad-soft: #FBE7E3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --r-s: 12px;
  --wrap: 1240px; --pad: clamp(16px, 3.4vw, 40px);
  --shadow: 0 1px 2px rgba(17, 22, 25, .05), 0 14px 34px -18px rgba(17, 22, 25, .22);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.55 var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--y); }
#view:focus, #view:focus-visible { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--y); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 30px; height: 30px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.fine { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 80px; height: auto; }
.brand__name { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-left: 12px; border-left: 2px solid var(--y); }
.tabs { display: flex; gap: 6px; margin-left: auto; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); transition: background-color .2s; white-space: nowrap; }
.tab:hover { background: var(--paper); }
.tab[aria-current="page"] { background: var(--night); color: #fff; }
.tab .ic { display: none; }
.badge { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--y); color: var(--night); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.top__right { flex: none; min-width: 132px; display: flex; justify-content: flex-end; }
.undo { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; background: #fff; }
.undo:hover { border-color: var(--ink); }
.undo .ic { width: 18px; height: 18px; }

.tabbar { display: none; }
main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--pad) 64px; outline: none; }
.foot { border-top: 1px solid var(--line); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; color: inherit; font-weight: 600; }
.linkbtn:hover { color: var(--night); }

/* Typo */
.eyebrow { font: 600 13px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--y); }
.h1 { font: 800 clamp(2.7rem, 6.2vw, 5rem)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.h1 span { color: var(--muted); }
.h1--stack span { display: block; }
.h2 { font: 800 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 14px; }
.page-head { margin-bottom: clamp(24px, 3.4vw, 40px); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 600 17px/1.1 var(--text); text-decoration: none; border: 2px solid transparent; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--y { background: var(--y); color: var(--night); }
.btn--y:hover { background: var(--y-2); box-shadow: 0 10px 26px -10px rgba(242, 191, 41, .8); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { border-color: var(--line); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--ok { border-color: var(--ok); color: #136337; background: #fff; }
.btn--ok:hover { background: var(--ok); color: #fff; }
.btn--s { min-height: 46px; padding: 0 18px; font-size: 15.5px; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 19px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* Heute */
.todo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.todo__card { position: relative; display: flex; flex-direction: column; padding: 26px 28px 24px; text-decoration: none; min-height: 268px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.todo__card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(17, 22, 25, .06), 0 26px 44px -20px rgba(17, 22, 25, .32); }
.todo__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c, var(--y)); }
.todo__num { font: 800 clamp(4.6rem, 8vw, 6.6rem)/.85 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.todo__card h2 { font: 800 1.75rem/1 var(--display); text-transform: uppercase; margin-bottom: 8px; text-wrap: balance; }
.todo__card p { color: var(--muted); font-size: 16px; line-height: 1.45; }
.todo__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.todo__go .ic { transition: transform .3s var(--ease); }
.todo__card:hover .todo__go .ic { transform: translateX(5px); }
.todo__card.is-done .todo__num { color: var(--ok); }
.todo__done { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin-bottom: 18px; }
.todo__done .ic { width: 40px; height: 40px; stroke-width: 2.6; }

.paste { margin-top: 18px; background: var(--night); color: #fff; border-radius: var(--r); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.paste h2 { font: 800 clamp(2rem, 3.4vw, 2.8rem)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.paste h2 em { font-style: normal; color: var(--y); }
.paste p { color: #A9B5BA; margin-top: 10px; font-size: 16px; }
.linkform { display: flex; gap: 10px; background: #fff; border-radius: 999px; padding: 7px; }
.linkform input, .linkform textarea { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; font-size: 18px; color: var(--night); outline: none; border-radius: 999px; }
.linkform input::placeholder, .linkform textarea::placeholder { color: #7C8A90; }
.linkform:focus-within { box-shadow: 0 0 0 4px var(--y); }
.examples { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: #A9B5BA; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--night); color: #fff; border-color: var(--night); }
.chip:disabled { opacity: .5; cursor: not-allowed; }
.dark .chip { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.dark .chip:hover { border-color: var(--y); color: var(--y); }
.chip .cnt { font-variant-numeric: tabular-nums; opacity: .7; font-weight: 500; }

.sec { margin-top: clamp(36px, 5vw, 56px); }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.mfrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mfr { background: #fff; border-radius: var(--r-s); padding: 16px 18px; display: flex; gap: 14px; align-items: center; text-decoration: none; border: 1.5px solid transparent; transition: border-color .2s; }
a.mfr:hover { border-color: var(--ink); }
.mfr--off { background: transparent; border: 1.5px dashed var(--line); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--c, #B9C2C6); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #B9C2C6) 22%, transparent); }
.dot--ok { --c: var(--ok); } .dot--warn { --c: var(--y); } .dot--bad { --c: var(--bad); } .dot--off { --c: #B9C2C6; }
.mfr__name { font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; }
.mfr__meta { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Schritte */
.steps { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15.5px; color: var(--muted); }
.step b { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 15px; color: var(--ink); }
.step.is-on { background: var(--night); color: #fff; }
.step.is-on b { background: var(--y); color: var(--night); }
.step.is-done b { background: var(--ok); color: #fff; }
.step.is-done { color: var(--ink); }

.bigpaste { padding: clamp(22px, 3.4vw, 40px); }
.bigpaste label { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.bigpaste__row { display: flex; gap: 12px; margin-top: 18px; align-items: stretch; }
.bigpaste textarea { flex: 1; min-width: 0; resize: none; border: 2px solid var(--line); border-radius: 18px; padding: 16px 20px; font-size: 18px; line-height: 1.5; background: var(--paper); min-height: 64px; height: 64px; outline: none; transition: border-color .2s, background-color .2s; }
.bigpaste textarea:focus { border-color: var(--night); background: #fff; }
.bigpaste .examples { color: var(--muted); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-s); background: var(--y-soft); color: var(--y-ink); font-size: 15px; line-height: 1.45; }
.note--bad { background: var(--bad-soft); color: #7A2114; }
.note--quiet { background: rgba(44, 60, 67, .06); color: var(--muted); }
.note .ic { width: 20px; height: 20px; margin-top: 1px; }

.progress { padding: clamp(22px, 3.4vw, 40px); }
.progress ol { margin-top: 20px; display: grid; gap: 12px; }
.progress li { display: flex; align-items: center; gap: 14px; font-size: 18px; animation: rise .4s var(--ease) both; }
.progress li .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.progress li .tick .ic { width: 17px; height: 17px; stroke-width: 3; }
.progress li.is-run .tick { background: none; border: 3px solid var(--line); border-top-color: var(--night); animation: spin .8s linear infinite; }
.progress li.is-run { color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.ba > div:not(.ba__arrow) { display: flex; flex-direction: column; min-width: 0; }
.ba .src, .ba .tile { flex: 1; }
.ba__arrow { display: grid; place-items: center; }
.ba__arrow span { width: 48px; height: 48px; border-radius: 50%; background: var(--y); display: grid; place-items: center; box-shadow: var(--shadow); }
.ba__cap { font: 600 13px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.src { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.src__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #E9E6DF; font-size: 13px; color: var(--muted); }
.src__bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9C4B8; }
.src__bar span { margin-left: 8px; background: #fff; border-radius: 999px; padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.src__body { padding: 18px; font-size: 14px; line-height: 1.5; color: #4A565B; display: grid; gap: 12px; align-content: start; }
.src__body h3 { font: 700 18px/1.3 var(--text); color: var(--ink); }
.src__imgs { display: flex; gap: 8px; overflow: hidden; }
.src__imgs img { width: 88px; height: 88px; object-fit: contain; background: var(--paper); border-radius: 8px; flex: none; }
.src__text { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.src__tab { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13.5px; }
.src__tab dt { color: var(--muted); }
.src__more { font-size: 13px; color: var(--muted); }

.tile { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.tile__img { background: var(--paper); height: clamp(220px, 25vw, 330px); display: grid; place-items: center; position: relative; }
.tile__img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; mix-blend-mode: multiply; }
.tile__tag { position: absolute; left: 14px; top: 14px; background: var(--y); color: var(--night); font: 700 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.tile__body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.tile__vendor { font: 600 12px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile__title { font: 800 clamp(1.6rem, 2.4vw, 2rem)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
.tile__facts { display: grid; gap: 6px; font-size: 15px; margin-top: 2px; }
.tile__facts li { display: flex; gap: 10px; align-items: baseline; }
.tile__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--y); flex: none; transform: translateY(-2px); }
.tile__facts b { font-weight: 600; }
.tile__desc { font-size: 15px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.tile__buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tile__price { font: 800 1.6rem/1 var(--display); }
.tile__price small { display: block; font: 400 13px/1.3 var(--text); color: var(--muted); margin-top: 3px; }
.fakebtn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--y); font-weight: 600; font-size: 15px; color: var(--night); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.decide { margin-top: 22px; padding: clamp(20px, 3vw, 30px); }
.decide__row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.used { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.used span { display: inline-flex; gap: 6px; align-items: center; }
.used .ic { width: 15px; height: 15px; color: var(--ok); stroke-width: 3; }

.done { padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.done__ic { width: 92px; height: 92px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: pop .5s var(--ease) both; }
.done__ic .ic { width: 46px; height: 46px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.list { display: grid; gap: 10px; }
.item { background: #fff; border-radius: var(--r-s); padding: 12px 16px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; overflow: hidden; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb--none { color: #B9C2C6; }
.item__t { font-weight: 600; line-height: 1.3; }
.item__m { font-size: 14px; color: var(--muted); }

/* Abgleich */
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sum { padding: clamp(22px, 3.4vw, 38px); }
.sum__line { font: 800 clamp(1.9rem, 3.9vw, 3.3rem)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
.sum__line b { color: var(--bad); font-weight: 800; }
.sum__line i { font-style: normal; color: var(--muted); }
.bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 22px 0 10px; background: var(--paper); }
.bar span { display: block; min-width: 3px; transition: flex-grow .5s var(--ease); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.stat { text-align: left; background: var(--paper); border-radius: var(--r-s); padding: 14px 16px; border: 2px solid transparent; transition: border-color .2s, background-color .2s; display: grid; gap: 2px; align-content: start; }
.stat:hover { border-color: var(--line); }
.stat[aria-pressed="true"] { background: #fff; border-color: var(--night); }
.stat--na { opacity: .6; }
.stat--na:hover { border-color: transparent; }
.stat__n { font: 800 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; }
.stat__l { font-weight: 600; font-size: 15.5px; }
.stat__h { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.sum__meta { margin-top: 16px; font-size: 14px; color: var(--muted); }

.pairs { display: grid; gap: 12px; margin-top: 18px; }
.pairs__head { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr) 250px; gap: 16px; padding: 0 20px; font: 600 12.5px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }
.pair { background: #fff; border-radius: var(--r); padding: 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr) 250px; gap: 16px; align-items: center; box-shadow: 0 1px 2px rgba(17, 22, 25, .04); transition: opacity .3s, transform .3s var(--ease); }
.pair.is-out { opacity: 0; transform: translateX(24px) scale(.98); }
.side { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.side .thumb { width: 72px; height: 72px; }
.side__cap { display: none; font: 600 11.5px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.side__t { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.side__m { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.side__m a { text-underline-offset: 3px; }
.side--none { border: 2px dashed var(--line); border-radius: 14px; padding: 14px 16px; grid-template-columns: 1fr; color: var(--muted); font-size: 15px; min-height: 72px; }
.link { display: grid; justify-items: center; text-align: center; gap: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.link__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--bg, var(--paper)); color: var(--fg, var(--ink)); white-space: nowrap; }
.link__pill .dot { width: 10px; height: 10px; box-shadow: none; }
.link--ok .link__pill { --bg: var(--ok-soft); --fg: #136337; }
.link--warn .link__pill { --bg: var(--y-soft); --fg: #6B5200; }
.link--bad .link__pill { --bg: var(--bad-soft); --fg: #8E2A19; }
.acts { display: grid; gap: 8px; }
.acts .btn { width: 100%; }
.acts__more { font-size: 13.5px; color: var(--muted); text-align: center; }
.acts select { width: 100%; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; padding: 0 10px; font-size: 14px; }
.more { display: grid; justify-items: center; margin-top: 18px; }
.empty { background: #fff; border-radius: var(--r); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty .todo__done { margin: 0; }
.off { background: transparent; border: 2px dashed var(--line); border-radius: var(--r); padding: clamp(28px, 5vw, 56px); display: grid; gap: 12px; justify-items: start; }

/* Lager */
.lager { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.stats--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stats--3 .stat { background: #fff; }
.srow { background: #fff; border-radius: var(--r-s); padding: 12px 16px; display: grid; grid-template-columns: 14px 56px minmax(0, 1fr) 88px 200px; gap: 14px; align-items: center; }
.srow .thumb { width: 56px; height: 56px; }
.srow__qty { text-align: right; line-height: 1.15; }
.srow__qty b { font: 800 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; display: block; }
.srow__qty span { font-size: 12.5px; color: var(--muted); }
.slider { display: grid; gap: 2px; }
.slider label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); gap: 8px; }
.slider output { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--night) var(--p, 50%), #DCD8CE var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: #DCD8CE; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--night); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--y); border: 3px solid var(--night); margin-top: -9px; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--y); border: 3px solid var(--night); }
.order { position: sticky; top: 92px; padding: 22px; display: grid; gap: 14px; background: var(--night); color: #fff; border-radius: var(--r); }
.order h2 { font: 800 1.9rem/1 var(--display); text-transform: uppercase; }
.order h2 em { font-style: normal; color: var(--y); }
.order p { color: #A9B5BA; font-size: 14.5px; line-height: 1.45; }
.order__list { max-height: 340px; overflow: auto; display: grid; gap: 2px; margin: 0 -8px; padding: 0 8px; scrollbar-color: #47555B transparent; }
.order__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; line-height: 1.3; }
.order__list b { font: 800 1.25rem/1.1 var(--display); color: var(--y); font-variant-numeric: tabular-nums; }
.order__list small { display: block; color: #A9B5BA; font-size: 12.5px; }
.order__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.order__btns .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
.order .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.order .btn--line:hover { border-color: var(--y); color: var(--y); }
.order__sel { display: flex; flex-wrap: wrap; gap: 6px; }
.order__sel .chip { min-height: 36px; padding: 0 12px; font-size: 14px; }

/* Meldung */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; background: var(--night); color: #fff; border-radius: 999px; padding: 10px 12px 10px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 18px 44px -12px rgba(17, 22, 25, .5); font-size: 15.5px; max-width: calc(100vw - 24px); animation: toast .35s var(--ease) both; }
.toast .ic { color: #6FD39A; width: 20px; height: 20px; stroke-width: 3; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.toast button { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--y); color: var(--night); font-weight: 700; font-size: 14.5px; flex: none; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }

#print-area { display: none; }

/* Tablet */
@media (max-width: 1100px) {
  .top__right { min-width: 0; }
  .undo span { display: none; }
  .undo { width: 42px; padding: 0; justify-content: center; }
  .tab { padding: 0 14px; }
  .pairs__head { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); row-gap: 14px; }
  .acts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .acts__more { grid-column: 1 / -1; }
  .acts:has(select) { grid-template-columns: 1fr 1fr 1.2fr; }
  .acts:has(select) .acts__more { grid-column: auto; }
  .acts select { height: 46px; border-radius: 999px; padding: 0 14px; }
  .side__cap { display: block; }
  .lager { grid-template-columns: 1fr; }
  .order { position: static; order: -1; }
  .order__list { max-height: 220px; }
  .mfrs { grid-template-columns: repeat(2, 1fr); }
  .todo__card { padding: 22px 22px 20px; min-height: 250px; }
}
@media (max-width: 860px) {
  .paste { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; gap: 10px; }
  .ba__arrow span { transform: rotate(90deg); }
}

/* Mobil */
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .top__in { height: 60px; }
  .brand img { width: 66px; }
  .brand__name { font-size: 22px; }
  .tabs { display: none; }
  .top__right { margin-left: auto; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar .tab { flex-direction: column; gap: 3px; height: 64px; border-radius: 0; padding: 0 4px; font-size: 12.5px; position: relative; color: var(--muted); }
  .tabbar .tab .ic { display: block; width: 24px; height: 24px; }
  .tabbar .tab[aria-current="page"] { background: none; color: var(--night); }
  .tabbar .tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; background: var(--y); border-radius: 0 0 3px 3px; }
  .tabbar .badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; font-size: 11.5px; padding: 0 5px; }
  .foot { display: none; }
  .src__text { -webkit-line-clamp: 4; }
  .src__tab > :nth-child(n+9) { display: none; }
  .src__imgs img { width: 68px; height: 68px; }
  .todo { grid-template-columns: 1fr; gap: 12px; }
  .todo__card { min-height: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px 18px 18px; }
  .todo__num { font-size: 4.2rem; margin: 0; grid-row: 1 / span 3; text-align: center; }
  .todo__done { width: 60px; height: 60px; margin: 0 auto; grid-row: 1 / span 3; }
  .todo__card h2 { font-size: 1.45rem; margin-bottom: 4px; }
  .todo__card p { font-size: 14.5px; }
  .todo__go { padding-top: 8px; font-size: 15px; }
  .linkform { flex-direction: column; border-radius: 22px; padding: 8px; }
  .linkform input { height: 52px; font-size: 17px; padding: 0 14px; }
  .linkform .btn { width: 100%; }
  .mfrs { grid-template-columns: 1fr; }
  .bigpaste__row { flex-direction: column; }
  .bigpaste textarea { height: 96px; font-size: 17px; }
  .examples { gap: 6px; }
  .examples .chip { font-size: 14px; padding: 0 12px; min-height: 38px; }
  .step { padding: 6px 12px 6px 6px; font-size: 14px; }
  .step:not(.is-on) span { display: none; }
  .step:not(.is-on) { padding-right: 6px; }
  .progress li { font-size: 16px; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats--3 { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stats--3 .stat { padding: 10px 10px; }
  .stats--3 .stat__h { display: none; }
  .stats--3 .stat__l { font-size: 13.5px; }
  .stat__n { font-size: 2rem; }
  .pair { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
  .link { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 10px; }
  .acts, .acts:has(select) { grid-template-columns: 1fr 1fr; }
  .acts .btn { padding: 0 10px; font-size: 14.5px; }
  .acts:has(select) .acts__more { grid-column: 1 / -1; }
  .side { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .side .thumb { width: 60px; height: 60px; }
  .side--none { grid-template-columns: 1fr; min-height: 0; padding: 12px 14px; }
  .item { grid-template-columns: 52px minmax(0, 1fr); }
  .item .thumb { width: 52px; height: 52px; }
  .item > .btn { grid-column: 1 / -1; }
  .srow { grid-template-columns: 12px 48px minmax(0, 1fr) 64px; gap: 10px; padding: 12px; }
  .srow .thumb { width: 48px; height: 48px; }
  .srow .slider { grid-column: 1 / -1; }
  .srow .dot { width: 12px; height: 12px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); border-radius: 18px; }
  .decide__row .btn { width: 100%; }
  .pick { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad); scrollbar-width: none; }
  .pick .chip { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body > *:not(#print-area) { display: none !important; }
  body { background: #fff; padding: 0; display: block; }
  #print-area { display: block; font: 12pt/1.4 var(--text); color: #000; padding: 10mm; }
  #print-area h1 { font: 800 26pt/1 var(--display); text-transform: uppercase; margin-bottom: 4mm; }
  #print-area p { margin-bottom: 6mm; color: #333; }
  #print-area table { width: 100%; border-collapse: collapse; }
  #print-area th, #print-area td { text-align: left; padding: 2.4mm 2mm; border-bottom: .3mm solid #999; vertical-align: top; }
  #print-area th { font-size: 10pt; text-transform: uppercase; letter-spacing: .06em; }
  #print-area td:first-child, #print-area th:first-child { width: 22mm; font-weight: 700; }
}
