/* ==========================================================
   Animierte und interaktive Beispiele (alle gezeichnet, keine echten Daten)
   ========================================================== */
.demo { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; color: var(--ink); position: relative; }
.dark-section .demo, .hero .demo { color: var(--ink); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.demo-top b { font-size: .95rem; color: var(--navy); }
.demo-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.demo-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dbtn { font: inherit; font-size: .85rem; font-weight: 700; border: 1.5px solid #c9d1e6; background: #fff; color: var(--navy); border-radius: 10px; padding: 7px 14px; cursor: pointer; min-height: 38px; }
.dbtn:hover { border-color: var(--navy); }
.dbtn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.dbtn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.dbtn.danger { color: #b3261e; border-color: #e6b7b3; }
.dbtn[disabled] { opacity: .45; cursor: not-allowed; }
.chipbtn { font: inherit; font-size: .8rem; font-weight: 600; border: 1px solid #d5dbec; background: #f4f6fb; color: var(--navy); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.chipbtn:hover { border-color: var(--navy); }

/* ---------- Kurzform-Baukasten ---------- */
.kf { display: grid; gap: 16px; }
.kf > * { min-width: 0; }
.kf-groups { display: grid; gap: 14px; }
.kf-group h5 { margin: 0 0 8px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #eef1f7; margin-bottom: 6px; transition: background .2s; }
.kf-row.on { background: var(--ok-soft); }
.kf-name { font-weight: 600; font-size: .95rem; flex: 1; min-width: 0; }
.kf-name small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.kf-name .plus { background: var(--warn-soft); color: #8a4b00; border-radius: 8px; padding: 0 6px; margin-left: 6px; font-weight: 700; font-size: .78rem; }
.stepper { display: inline-flex; border: 1.5px solid #c9d1e6; border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { font: inherit; font-weight: 800; width: 34px; border: 0; background: #f4f6fb; cursor: pointer; color: var(--navy); }
.stepper span { min-width: 78px; text-align: center; font-weight: 700; font-size: .85rem; padding: 7px 4px; }
.kf-row:not(.on) .stepper { opacity: .45; pointer-events: none; }
.switch { position: relative; width: 46px; height: 26px; border-radius: 99px; background: #c4cbdb; border: 0; cursor: pointer; flex: none; transition: background .2s; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.kf-bon { background: #fff; border: 2px solid var(--navy); border-radius: 16px; overflow: hidden; align-self: start; }
.kf-bon header { background: var(--ok); color: #fff; padding: 10px 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 8px; }
.kf-bon .body { padding: 14px; }
.kf-bon .dish { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.kf-bon .short { background: #f4f6fb; border-radius: 10px; padding: 10px 12px; font-size: .95rem; min-height: 64px; }
.kf-bon .short div { margin-bottom: 3px; }
.kf-bon .short .none { color: var(--muted); }
.kf-bon .sum { display: flex; justify-content: space-between; padding: 12px 14px; border-top: 1px dashed #c9d1e6; font-weight: 800; }
.kf-hint { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.kf-kitchen { margin-top: 12px; background: #2b4a8a; border-radius: 12px; padding: 10px; color: #fff; font-size: .85rem; }
.kf-kitchen .k { background: #fff; color: var(--ink); border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.kf-kitchen .k b { display: block; }
.kf-kitchen .k .c { float: right; background: var(--ok-soft); color: #14703c; border-radius: 99px; font-weight: 800; padding: 0 8px; font-size: .75rem; }

/* ---------- Bestell-Reise ---------- */
.journey { display: grid; gap: 14px; }
.j-stage { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.j-stage.active { border-color: var(--accent); box-shadow: 0 10px 28px rgba(228, 87, 46, .22); transform: translateY(-3px); }
.j-stage h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .95rem; }
.j-stage h4 i { font-style: normal; background: var(--navy); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.j-bon { background: #f4f6fb; border-radius: 10px; padding: 9px 11px; font-size: .88rem; min-height: 62px; opacity: .35; transition: opacity .4s; }
.j-stage.active .j-bon, .j-bon.show { opacity: 1; }
.j-bon b { display: block; }
.j-timer { margin-top: 8px; font-weight: 800; font-size: .85rem; background: var(--ok-soft); color: #14703c; border-radius: 99px; padding: 2px 10px; display: inline-block; }
.j-nums { display: flex; gap: 8px; flex-wrap: wrap; min-height: 48px; }
.j-nums span { background: #fff; border: 2px solid #c9d1e6; border-radius: 10px; font-weight: 800; font-size: 1.3rem; padding: 2px 14px; transition: all .5s; }
.j-nums.fertig span { background: var(--ok-soft); border-color: var(--ok); color: #14703c; }
.j-label { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.j-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.j-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9d1e6; transition: background .3s, transform .3s; }
.j-dots i.on { background: var(--accent); transform: scale(1.3); }

/* ---------- Wartezeit-Simulator ---------- */
.ws-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.ws-clock { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--navy); }
.ws-eta { background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: .95rem; }
.ws-eta b { font-size: 1.4rem; color: #ffb59c; }
.ws-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); margin: 8px 0 12px; }
.ws-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; background: var(--c); }
.ws-chart { background: #f4f6fb; border-radius: 12px; padding: 10px 10px 10px 0; min-height: 120px; overflow: hidden; }
.ws-plot { position: relative; margin-left: 98px; }
.ws-axis { position: relative; height: 18px; margin-bottom: 4px; font-size: .68rem; color: var(--muted); }
.ws-axis span { position: absolute; transform: translateX(-50%); }
.ws-row { position: relative; height: 22px; margin-bottom: 4px; }
.ws-track { position: absolute; inset: 0; overflow: hidden; border-radius: 5px; }
.ws-row .lab { position: absolute; left: -94px; width: 88px; font-size: .7rem; font-weight: 700; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.ws-seg { position: absolute; top: 0; height: 22px; border-radius: 5px; font-size: .62rem; font-weight: 800; color: #fff; text-align: center; line-height: 22px; transition: left .5s ease, width .5s ease; overflow: hidden; }
.ws-seg.v { background: #5cc0ee; }
.ws-seg.b { background: #1f4fd0; }
.ws-seg.n { background: #f2a40a; }
.ws-seg.w { background: repeating-linear-gradient(135deg, #cdd3e2 0 4px, #e4e8f2 4px 8px); }
.ws-row.done { opacity: .35; }
.ws-now { position: absolute; top: 0; bottom: 0; width: 2px; background: #d6362b; z-index: 2; transition: left .25s linear; }
.ws-cap { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ---------- Lernkurve ---------- */
.lc svg { width: 100%; height: auto; background: #f4f6fb; border-radius: 12px; }
.lc-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.lc-stats div { flex: 1; min-width: 120px; background: #f4f6fb; border-radius: 12px; padding: 10px 12px; font-size: .82rem; color: var(--muted); }
.lc-stats b { display: block; font-size: 1.25rem; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---------- KI-Speisekarte ---------- */
.ki-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.ki-ask { display: flex; gap: 8px; align-items: flex-start; }
.ki-text { flex: 1; min-height: 64px; border: 1.5px solid #c9d1e6; border-radius: 12px; padding: 10px 12px; background: #fff; font-size: .95rem; position: relative; }
.ki-text .caret { display: inline-block; width: 2px; height: 1em; background: var(--navy); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ki-load { display: flex; align-items: center; gap: 10px; padding: 14px; color: var(--muted); font-size: .9rem; }
.ki-load i { width: 18px; height: 18px; border: 3px solid #c9d1e6; border-top-color: var(--accent); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ki-plan { margin-top: 12px; display: grid; gap: 8px; }
.ki-plan .verstanden { background: #eef1f7; border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.ki-step { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s, border-color .3s, background .3s; }
.ki-step.in { opacity: 1; transform: none; }
.ki-step.off { opacity: .5; background: #f4f6fb; }
.ki-step .cb { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #9aa4bd; display: grid; place-items: center; flex: none; margin-top: 2px; color: #fff; font-weight: 800; font-size: .8rem; background: #fff; cursor: pointer; }
.ki-step.on .cb { background: var(--ok); border-color: var(--ok); }
.ki-step b { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy-2); display: block; }
.ki-step span { font-size: .92rem; display: block; }
.ki-step small { color: var(--muted); display: block; }
.ki-step.ok { border-color: #8fd3ab; }
.ki-warn { background: var(--warn-soft); border-radius: 10px; padding: 8px 12px; font-size: .88rem; color: #6b5200; }
.ki-foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 4px; font-size: .9rem; }
.ki-foot .good { color: #14703c; font-weight: 700; }
.ki-toast { background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* ---------- KI-Bericht ---------- */
.bericht { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: .92rem; }
.bericht h4 { margin-bottom: .3em; }
.bericht .frage { background: #eef1f7; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.bericht .kz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.bericht .kz div { background: #f4f6fb; border-radius: 10px; padding: 8px 10px; font-size: .78rem; color: var(--muted); }
.bericht .kz b { display: block; font-size: 1.05rem; color: var(--navy); }
.bericht ul { margin: 6px 0 0; }
.bericht .tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bericht .tools span { font-size: .72rem; background: #e8edfa; color: var(--navy-2); border-radius: 99px; padding: 2px 10px; font-weight: 700; }

/* ---------- Kalender / Prognose ---------- */
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-day { background: #f4f6fb; border: 2px solid transparent; border-radius: 12px; padding: 8px 4px; text-align: center; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, background .2s; }
.cal-day:hover { border-color: #c9d1e6; }
.cal-day[aria-pressed="true"] { border-color: var(--accent); background: #fff; box-shadow: 0 6px 16px rgba(228, 87, 46, .18); }
.cal-day small { display: block; color: var(--muted); font-weight: 700; font-size: .72rem; }
.cal-day .wx { width: 34px; height: 34px; margin: 4px auto; }
.cal-day .t { font-weight: 800; font-size: .95rem; }
.cal-day .f { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 800; border-radius: 99px; padding: 1px 7px; background: #e3e7f2; color: var(--navy); }
.cal-day .f.up { background: var(--ok-soft); color: #14703c; }
.cal-day .f.down { background: #fde4e1; color: #a8281b; }
.cal-bars { display: grid; gap: 4px; margin: 10px 0 12px; }
.cal-bar { position: relative; height: 20px; background: #f4f6fb; border-radius: 6px; }
.cal-bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; font-style: normal; font-size: .68rem; font-weight: 800; color: #fff; padding: 0 8px; line-height: 20px; overflow: hidden; white-space: nowrap; }
.cal-why { background: #fff8f4; border: 1.5px solid #ffd2c1; border-radius: 14px; padding: 14px; margin-top: 4px; font-size: .92rem; }
.cal-why h5 { margin: 0 0 8px; font-size: 1rem; color: var(--navy); }
.cal-why .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #ffe3d8; }
.cal-why .row:last-of-type { border: 0; }
.cal-why .st { font-size: .72rem; font-weight: 800; border-radius: 99px; padding: 1px 9px; }
.cal-why .st.wirkt { background: var(--ok-soft); color: #14703c; }
.cal-why .st.wenig { background: var(--warn-soft); color: #6b5200; }
.cal-why .st.nein { background: #e3e7f2; color: var(--muted); }
.cal-why p { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Ware ---------- */
.ww { display: grid; gap: 14px; }
.ww-list { display: grid; gap: 8px; }
.ww-item { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.ww-item b { font-weight: 700; }
.ww-bar { height: 14px; background: #e6eaf4; border-radius: 99px; overflow: hidden; }
.ww-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #36b36a, #7fd6a1); border-radius: 99px; transition: width .6s ease, background .4s; }
.ww-bar i.low { background: linear-gradient(90deg, #e0902a, #f2c066); }
.ww-bar i.crit { background: linear-gradient(90deg, #d6362b, #ef8a82); }
.ww-val { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .85rem; min-width: 64px; text-align: right; }
.ww-order { background: #f4f6fb; border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.ww-order h5 { margin: 0 0 8px; font-size: .95rem; }
.ww-order .r { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #d5dbec; gap: 8px; }
.ww-order .r:last-child { border: 0; }
.ww-recipe { background: #fff8f4; border: 1.5px solid #ffd2c1; border-radius: 14px; padding: 12px 14px; font-size: .88rem; }
.ww-recipe h5 { margin: 0 0 6px; font-size: .95rem; }
.ww-recipe .r { display: flex; justify-content: space-between; padding: 3px 0; }

/* ---------- Online-Seite ---------- */
.on-wrap { display: grid; gap: 22px; justify-items: center; grid-template-columns: minmax(0, 1fr); }
.on-wrap > * { min-width: 0; }
.on-phone { width: min(100%, 290px); min-width: 0; background: #0f1830; border-radius: 34px; padding: 10px; box-shadow: 0 22px 46px rgba(10, 20, 45, .35); }
.on-screen { background: #fff; border-radius: 26px; overflow: hidden; height: 520px; position: relative; font-size: 13px; --ac: #e4572e; display: flex; flex-direction: column; }
.on-head { padding: 14px 14px 10px; color: #fff; background: var(--ac); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; transition: background .4s; }
.on-head b { font-size: 1.05rem; display: block; }
.on-head small { opacity: .9; }
.on-head .logo { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ac); display: grid; place-items: center; font-weight: 800; }
.on-screen.f-buehne .on-head { height: 150px; align-items: flex-end; background: linear-gradient(160deg, rgba(0,0,0,.05), rgba(0,0,0,.45)), var(--ac); }
.on-screen.f-buehne .on-head .logo { align-self: flex-start; }
.on-tabs { display: flex; gap: 6px; padding: 8px 12px; overflow: hidden; border-bottom: 1px solid #eef1f7; }
.on-tabs span { background: #eef1f7; border-radius: 99px; padding: 3px 11px; font-weight: 700; white-space: nowrap; font-size: .85em; }
.on-tabs span.on { background: var(--ac); color: #fff; }
.on-body { flex: 1; overflow: hidden; padding: 8px 12px; }
.on-cat { display: none; }
.on-item { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f0f2f8; }
.on-item .th { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #ffd9c9, #ffb18f); flex: none; }
.on-item .tx { flex: 1; font-weight: 700; line-height: 1.2; }
.on-item .tx small { display: block; color: var(--muted); font-weight: 500; }
.on-item .pop { background: var(--warn-soft); color: #8a4b00; font-size: .72em; border-radius: 99px; padding: 0 7px; margin-left: 4px; }
.on-item .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; font-weight: 800; transition: background .4s; }
.on-screen.f-kompakt .on-item { padding: 5px 0; }
.on-screen.f-kompakt .on-item .th { display: none; }
.on-screen.f-kategorien .on-body { display: none; }
.on-screen.f-kategorien .on-tabs { display: none; }
.on-screen.f-kategorien .on-cat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; flex: 1; align-content: start; }
.on-cat div { height: 92px; border-radius: 14px; padding: 8px 10px; color: #fff; font-weight: 800; display: flex; align-items: flex-end; background: linear-gradient(160deg, rgba(0,0,0,.05), rgba(0,0,0,.5)), var(--c, var(--ac)); }
.on-bar { margin: 8px 12px 12px; background: var(--ac); color: #fff; border-radius: 14px; padding: 10px 14px; display: flex; justify-content: space-between; font-weight: 800; transition: background .4s; }
.on-controls { display: grid; gap: 22px; width: 100%; align-self: center; padding: 10px 0; }
.on-controls .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; align-items: center; }
.on-controls .lab { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 100%; text-align: left; margin-bottom: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #c9d1e6; cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--navy); }
.on-status { padding: 34px 18px; text-align: center; display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: center; }
.on-status .nr { font-size: 4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.on-status .st { align-self: center; background: var(--warn-soft); color: #6b5200; border-radius: 99px; padding: 5px 16px; font-weight: 800; transition: all .4s; }
.on-status .st.fertig { background: var(--ok-soft); color: #14703c; }
.on-status .prog { height: 10px; background: #e6eaf4; border-radius: 99px; overflow: hidden; }
.on-status .prog i { display: block; height: 100%; width: 10%; background: var(--ac); border-radius: 99px; transition: width .8s ease; }

/* ---------- Provisionsrechner ---------- */
.calc { display: grid; gap: 18px; }
.calc label { font-weight: 700; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .95rem; }
.calc label output { color: var(--accent-d); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); height: 34px; }
.calc-out { display: grid; gap: 10px; }
.calc-box { border-radius: 16px; padding: 16px; }
.calc-box.bad { background: #fff0ec; border: 1px solid #f5c7b9; }
.calc-box.good { background: #eaf8ef; border: 1px solid #b6e2c6; }
.calc-box .big { font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-box.bad .big { color: var(--accent-d); }
.calc-box.good .big { color: #14703c; }
.calc-box small { color: var(--muted); display: block; }
.calc-save { text-align: center; font-weight: 700; padding: 10px; background: var(--navy); color: #fff; border-radius: 14px; }
.calc-save b { color: #ffb59c; font-size: 1.25rem; }

/* ---------- Seitenleiste-Mock (echte Optik) ---------- */
.zentrale { display: grid; gap: 6px; font-size: .9rem; }
.zentrale div { display: flex; gap: 10px; align-items: center; background: #1b2a4a; color: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.zentrale div i { font-style: normal; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: .72rem; }
.zentrale div.on { background: #3b5bdb; }
.qr-mock { display: grid; gap: 14px; grid-template-columns: auto 1fr; align-items: center; }
.qr-mock svg { width: 120px; height: 120px; background: #fff; padding: 8px; border: 1px solid #d5dbec; border-radius: 14px; }
.dev-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #f4f6fb; border-radius: 10px; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.dev-row small { color: var(--muted); font-weight: 500; display: block; }

@media (min-width: 720px) {
  .kf { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .on-wrap { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; justify-items: start; }
  .calc { grid-template-columns: 1fr 1fr; align-items: center; }
  .ww { grid-template-columns: 1.3fr 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .demo { padding: 14px; }
  .kf-row { gap: 6px; padding: 8px; }
  .kf-name { font-size: .88rem; }
  .kf-name .plus { display: block; width: max-content; margin: 2px 0 0; }
  .stepper button { width: 30px; }
  .stepper span { min-width: 58px; font-size: .78rem; padding: 7px 2px; }
  .switch { width: 42px; }
  .ws-plot { margin-left: 68px; }
  .ws-row .lab { left: -64px; width: 60px; font-size: .62rem; }
  .cal-day .wx { width: 24px; height: 24px; }
  .cal-day .f { font-size: .62rem; padding: 0 4px; }
  .cal-day small { font-size: .62rem; }
  .bericht .kz { grid-template-columns: 1fr; }
}

/* ---------- Authentische Fotos: gezeichnete Anleitungen ---------- */
.fl-grid, .fw-grid, .fc-grid { display: grid; gap: 18px; align-items: center; }
.fl-svg, .fw-side, .fw-frame, .fc-frame svg { width: 100%; height: auto; display: block; border-radius: 14px; }
.fl-info p { margin: 0 0 .8em; }
.fl-rate { display: inline-block; border-radius: 99px; padding: 5px 16px; font-weight: 800; margin-bottom: 10px; font-size: .92rem; }
.fl-rate.bad { background: #fde4e1; color: #a8281b; }
.fl-rate.mid { background: var(--warn-soft); color: #6b5200; }
.fl-rate.good { background: var(--ok-soft); color: #14703c; }
#flLamp { transition: transform .8s ease; }
#flShadow { transition: transform .8s ease, opacity .8s ease; }
#flGlare, #flTint, #flSoftLight { transition: opacity .8s ease; }
#flRays { transition: transform .8s ease; transform-origin: 210px 140px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.fw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#fwCam { transition: transform .9s ease; }
#fwPlate { transition: transform .9s ease; }
#fwTop, #fwMid, #fwFront { transition: opacity .5s ease; }
.fc-items { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.fc-items li { margin: 0; }
.fc-items label { display: flex; gap: 12px; align-items: flex-start; background: #f4f6fb; border: 2px solid transparent; border-radius: 14px; padding: 10px 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.fc-items label:has(input:checked) { background: var(--ok-soft); border-color: #8fd3ab; }
.fc-items input { width: 22px; height: 22px; accent-color: var(--ok); flex: none; margin-top: 3px; }
.fc-items b { display: block; }
.fc-items small { color: var(--muted); display: block; }
#fcPic { transition: transform .8s ease; }
#fcClutter, #fcDrops, #fcGlare, #fcSmudge { transition: opacity .7s ease; }
.fc-frame { background: #1b2a4a; border-radius: 18px; padding: 8px; }
.fc-frame svg { overflow: hidden; }
.fc-score .bar { height: 10px; background: #e6eaf4; border-radius: 99px; overflow: hidden; }
.fc-score .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ff9b78); border-radius: 99px; transition: width .5s ease; }
.fc-score .msg { margin-top: 8px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.fv-steps { display: grid; gap: 12px; }
.fv-step { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.fv-step.active { border-color: var(--accent); box-shadow: 0 10px 26px rgba(228, 87, 46, .2); transform: translateY(-3px); }
.fv-step svg { width: 100%; height: auto; display: block; margin-bottom: 8px; }
.fv-step h4 { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin-bottom: .3em; }
.fv-step h4 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .8rem; flex: none; }
.fv-step p { margin: 0; font-size: .88rem; color: var(--muted); }
.fv-step.active .ph-rot { animation: fvRot 1.6s ease forwards; }
@keyframes fvRot { from { transform: rotate(0); } to { transform: rotate(90deg); } }
.fv-step.active .ph-still { animation: fvStill 1.4s ease-out; }
@keyframes fvStill { 0% { transform: translate(-4px, 2px) rotate(-5deg); } 25% { transform: translate(4px, -2px) rotate(5deg); } 55% { transform: translate(-2px, 1px) rotate(-2deg); } 100% { transform: none; } }
.fv-step.active .pour { animation: fvPour 1.8s ease-in-out infinite; }
@keyframes fvPour { 0% { stroke-dashoffset: 42; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -42; } }
.fv-step.active .fill { animation: fvFill 3s linear forwards; }
@keyframes fvFill { from { width: 0; } to { width: 92px; } }
.do-dont { display: grid; gap: 14px; }
.dd { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.dd h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.dd h3 i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .95rem; flex: none; }
.dd.ja h3 i { background: var(--ok); }
.dd.nein h3 i { background: #d6362b; }
.dd ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.offer-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.offer-card.best { border-color: var(--accent); box-shadow: var(--shadow); }
.offer-card .price-amount { margin-top: auto; }
@media (min-width: 720px) {
  .fl-grid, .fw-grid, .fc-grid { grid-template-columns: 1.25fr 1fr; }
  .fv-steps { grid-template-columns: repeat(4, 1fr); }
  .do-dont { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .fw-pair { grid-template-columns: 1fr; } }
