/* Asal Sammelbesteller – Rundbrief-Look und spätere Anpassungen (lädt nach styles.css, überschreibt dort Grundwerte). */

/* ── Rundbrief-Elemente ───────────────────────────────── */
.sky { background: linear-gradient(180deg, #1f7fd0 0%, #64b3ea 55%, #bfe3f7 100%); color: #fff; position: relative; overflow: hidden; }
.sky-in { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 1rem 1rem 4.2rem; }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 86px; z-index: 0; display: block; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0; }
.cat-head { color: #fff; border-radius: 14px 14px 0 0; font-size: 1rem; }
.cat-head small { color: rgb(255 255 255 / .85); }
.cat-head + .plist { border: 2px dashed #8cc66a; border-top: 0; }
.price-tag { display: inline-grid; justify-items: end; background: var(--red); color: #fff; padding: .25rem .6rem .3rem; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 3px 8px -3px rgb(150 20 20 / .5); line-height: 1.1; }
.price-tag s { font-size: .74rem; color: rgb(255 255 255 / .85); font-weight: 500; }
.price-tag s::before { content: 'statt '; text-decoration: none; display: inline; }
.price-tag b { font-size: 1.12rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.save-bubble { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.05; text-align: center; box-shadow: 0 3px 8px -3px rgb(20 90 140 / .5); }
.save-bubble b { font-size: .86rem; font-weight: 800; display: block; }
.gratis-stamp { font-family: var(--hand); font-size: 1.35rem; color: #fff; background: var(--navy-2); border: 2px solid #fff; border-radius: 10px; padding: 0 .5rem; transform: rotate(-6deg); display: inline-block; box-shadow: 0 2px 6px rgb(0 0 0 / .18); line-height: 1.35; }
.gift-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.gift-step { position: relative; background: var(--surface); border: 2px dashed #8cc66a; border-radius: 14px; padding: 1.1rem .7rem .7rem; text-align: center; }
.gift-step .gratis-stamp { position: absolute; top: -14px; left: 8px; font-size: 1rem; }
.gift-step b { display: block; color: var(--navy); font-size: .95rem; }
.gift-step span { display: block; font-size: .8rem; color: var(--ink-2); line-height: 1.3; margin-top: .15rem; }
.gift-step em { font-style: normal; display: inline-block; margin-top: .35rem; font-size: .72rem; color: #fff; background: var(--red); border-radius: 5px; padding: .05rem .4rem; }
.gift-step.reached { background: var(--green-tint); border-style: solid; border-color: var(--green); }
.gift-step.reached::after { content: ''; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.gift-progress { display: grid; gap: .35rem; }
.gift-progress .meter { background: var(--green-tint); height: 8px; }
.gift-progress .meter i { background: var(--navy-2); }
.gift-progress p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.gift-progress p b { color: var(--red); }
.cmp { display: grid; gap: .35rem; }
.cmp-bar { position: relative; height: 10px; border-radius: 999px; background: rgb(255 255 255 / .2); }
.cmp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--yellow); }
.cmp-bar u { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: #fff; }
.cmp p { margin: 0; font-size: .82rem; color: rgb(255 255 255 / .9); }
.sumbar .cmp-mini { font-size: .78rem; color: var(--ink-3); }
.sumbar .cmp-mini b.up { color: var(--green); }
.sumbar .cmp-mini b.down { color: var(--amber); }
.offer-price { display: flex; align-items: center; gap: .3rem; flex: none; }
.offer-c { color: var(--red); }
.kpi-row.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .kpi-row.four { grid-template-columns: repeat(4, 1fr); } }
.kpi small { display: block; font-size: .74rem; color: rgb(255 255 255 / .82); margin-top: .1rem; }
.kpi .cmp-bar { margin-top: .45rem; height: 6px; }
.cust-name { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.actions-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; }
.label-sm { font-size: .82rem; font-weight: 700; color: var(--ink-2); margin: 0 0 .35rem; text-transform: none; }
.gift-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.25rem .9rem .9rem; display: grid; gap: .8rem; box-shadow: var(--shadow-1); }
.gift-title { font-family: var(--hand); font-size: 1.45rem; color: var(--red); margin: .25rem 0 -.2rem; }

/* ── Korrekturen nach Prüfrunde 1 ─────────────────────── */
.toolbar { position: static; padding-top: 1.25rem; }
.actions-row { grid-template-columns: 1fr; }
.actions-row .btn { width: 100%; }
@media (min-width: 560px) { .actions-row { grid-template-columns: 1fr auto; } .actions-row .btn { width: auto; } }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .btn-icon-sm { padding: 0; width: 52px; min-height: 52px; }
  .sumbar .btn { padding: 0 1rem; }
}
@media (max-width: 560px) {
  .gift-ladder { grid-template-columns: 1fr; gap: .45rem; }
  .gift-step { display: grid; grid-template-columns: auto auto 1fr auto; gap: .5rem; align-items: center; text-align: left; padding: .6rem .7rem .6rem .5rem; }
  .gift-step .gratis-stamp { position: static; font-size: .95rem; justify-self: start; }
  .gift-step span { margin: 0; }
  .gift-step em { margin: 0; white-space: nowrap; }
  .gift-step.reached::after { top: -6px; right: -6px; }
}

/* ── Runde 2: weiße Kopfleiste, Kundenkarte ───────────── */
.appbar { background: rgb(255 255 255 / .96); color: var(--ink); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 var(--line); }
.appbar .icon-btn { color: var(--ink-2); }
.appbar .icon-btn:hover { background: var(--surface-2); }
.appbar-title span { color: var(--ink-3); }
.back { color: var(--navy); }
.back:hover { background: var(--green-tint); }
.tabs-nav button { color: var(--ink-2); }
.tabs-nav button:hover { background: var(--surface-2); color: var(--ink); }
.tabs-nav button.on { background: var(--green-tint); color: var(--navy); }
.appbar + .sky .sky-in { padding-top: 1.25rem; }

.cust-card { padding: 1.2rem 1.2rem 1rem; display: grid; gap: 1.1rem; }
.cust-card h1 { font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.cust-card .kdnr { font-size: .88rem; color: var(--ink-3); }
.contact { display: grid; gap: .55rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact > * { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.35; }
.contact .ico { color: var(--navy-2); margin-top: .1rem; }
.contact a:hover { border-color: var(--navy-2); }
.contact small { display: block; font-size: .76rem; color: var(--ink-3); }
.contact b { font-weight: 600; }
.kpis-l { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (min-width: 640px) { .kpis-l { grid-template-columns: repeat(4, 1fr); } }
.kpi-l { border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); padding: .7rem .8rem; }
.kpi-l span { display: block; font-size: .78rem; color: var(--ink-3); }
.kpi-l b { display: block; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: .1rem; }
.kpi-l small { display: block; font-size: .76rem; color: var(--ink-3); margin-top: .15rem; }
.kpi-l small.up { color: var(--green); }
.kpi-l small.down { color: var(--amber); }
.kpi-l .cmp-bar { margin-top: .45rem; height: 6px; background: var(--surface-2); }
.kpi-l .cmp-bar i { background: var(--navy-2); }
.kpi-l .cmp-bar u { background: var(--ink); }
.qchart { display: grid; grid-template-columns: repeat(8, 1fr); gap: .35rem; align-items: end; }
.qchart > div { display: grid; gap: .25rem; justify-items: center; }
.qchart .bar { width: 100%; max-width: 44px; height: 64px; display: flex; align-items: flex-end; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.qchart .bar i { display: block; width: 100%; background: var(--navy-2); border-radius: 6px 6px 0 0; min-height: 0; }
.qchart small { font-size: .68rem; color: var(--ink-3); white-space: nowrap; }
.qchart b { font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-title { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-3); margin-bottom: -.4rem; }
.pfav.pop { color: var(--sky); }

/* Angebotspreis wie im Rundbrief: rotes Schild „statt … €“ + blauer Ersparnis-Kreis an der Ecke */
.offer-price { position: relative; display: inline-block; padding: 10px 14px 0 0; flex: none; }
.price-tag { display: grid; justify-items: end; gap: 1px; background: var(--red); color: #fff; padding: .35rem .65rem .4rem; border-radius: 8px; transform: rotate(-3deg); box-shadow: 0 4px 10px -4px rgb(150 20 20 / .55); line-height: 1.05; }
.price-tag .statt { font-size: .72rem; font-weight: 600; color: rgb(255 255 255 / .88); white-space: nowrap; }
.price-tag .statt s { text-decoration-thickness: 1.5px; }
.price-tag s::before { content: none; }
.price-tag b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.save-bubble { position: absolute; top: -4px; right: -6px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: -.02em; border: 2px solid #fff; box-shadow: 0 3px 8px -3px rgb(20 90 140 / .6); z-index: 1; }
.appbar .logo { height: 24px; }
.gift-step .gratis-stamp { display: inline-block; color: #fff; font-size: 1.12rem; margin: 0; padding: 0 .55rem; text-shadow: 0 1px 1px rgb(0 0 0 / .25); }

/* ── Runde 3: Original-Kopf aus dem Rundbrief ─────────── */
.banner { position: relative; background: #2287ca; }
.banner-img { display: block; width: 100%; height: clamp(110px, 25vw, 300px); object-fit: cover; object-position: 30% 100%; }
.banner-logo { position: absolute; right: max(4%, calc((100% - 820px) / 2)); bottom: clamp(-30px, -3vw, -16px); width: clamp(130px, 26vw, 250px); height: auto; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .28)); z-index: 2; }
.round-card { background: var(--surface); color: var(--ink); }
.round-top h2 { color: var(--ink); }
.round-top span { color: var(--ink-3); }
.round-card .meter { background: var(--green-tint); }
.round-card .meter i { background: var(--navy-2); }
.round-stats div span { color: var(--ink-3); }
.hero-card { padding: 1.2rem 1.2rem 1.1rem; display: grid; gap: .75rem; }
.hero-card h1 { font-size: clamp(1.4rem, 5vw, 1.8rem); font-weight: 800; line-height: 1.2; }
.hero-card .fact { background: var(--green-tint); color: var(--navy); }
.hero-card .fact .ico { color: var(--navy-2); }
.sum-gift { font-style: normal; font-weight: 700; color: var(--red); }
.sum-gift.ok { color: var(--green); }
.banner-img { height: clamp(110px, 22vw, 230px); }
@media (max-width: 560px) {
  .gift-step { grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; row-gap: .2rem; padding: .7rem .8rem; }
  .gift-step .gratis-stamp { grid-column: 1; grid-row: 1; }
  .gift-step b { grid-column: 1; grid-row: 2; justify-self: center; }
  .gift-step span { grid-column: 2; grid-row: 1; font-weight: 600; color: var(--ink); }
  .gift-step em { grid-column: 2; grid-row: 2; justify-self: start; }
}
@media (max-width: 480px) {
  .ptop { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .ptop .pprice { text-align: left; }
}

/* ── Runde 4: Durchgangs-Kästchen, zweispaltige Bestellseite, Kundenbestellung, Verlauf ── */
.qchips { display: flex; gap: 3px; }
.qchips i { font-style: normal; font-size: .68rem; font-weight: 700; width: 26px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--ink-4); border: 1px solid var(--line); }
.qchips i.on { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.qchips-cap { font-size: .68rem; color: var(--ink-4); }

.order-layout { display: grid; gap: 1rem; }
.order-layout .side, .order-layout .main-col { min-width: 0; }
@media (min-width: 1024px) {
  .order-layout { max-width: 1320px; grid-template-columns: minmax(360px, 420px) 1fr; gap: 1.5rem; align-items: start; }
  .order-layout .side { position: sticky; top: 76px; max-height: calc(100vh - 76px - 96px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
  .order-layout .side .kpis-l { grid-template-columns: repeat(2, 1fr); }
  .order-layout .side .contact { grid-template-columns: 1fr; }
  .order-layout ~ .sumbar .sumbar-in { max-width: 1320px; }
  .order-layout .main-col .toolbar { position: sticky; top: 60px; z-index: 6; background: var(--ground); padding-top: .75rem; }
  .order-layout .main-col .cat-head { top: 172px; }
}

.cust-order { padding: 1.2rem; display: grid; gap: .9rem; border: 2px solid #f1c46b; }
.cust-order-head { display: flex; gap: .75rem; align-items: flex-start; color: var(--amber); }
.cust-order-head h2 { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.cust-order-head span { font-size: .86rem; color: var(--ink-3); }
.order-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order-lines li { display: grid; grid-template-columns: 3rem 1fr auto; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.order-lines li b { color: var(--navy); }
.order-lines .gift-line { color: var(--green); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.order-total b { font-size: 1.35rem; font-weight: 800; }
.order-note { margin: 0; padding: .7rem .8rem; background: var(--amber-tint); border-radius: var(--r-m); color: #6b4300; }
.cust-order-actions { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; }

.history h3 { display: flex; align-items: center; gap: .45rem; font-size: .95rem; margin-bottom: .7rem; }
.history ol { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.history ol > li { position: relative; }
.history ol > li::before { content: ''; position: absolute; left: calc(-.9rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); border: 2px solid var(--surface); }
.history ol > li.ev-kunde::before { background: #2b4f9a; }
.history ol > li.ev-sb::before { background: var(--navy-2); }
.ev-top { font-size: .9rem; }
.ev-meta { font-size: .8rem; color: var(--ink-3); }
.ev-changes { list-style: none; margin: .3rem 0 0; padding: 0; font-size: .84rem; display: grid; gap: .15rem; }
.ev-changes .up { color: var(--green); font-weight: 800; }
.ev-changes .down { color: var(--red); font-weight: 800; }
.sum-cmp { font-style: normal; font-weight: 700; }
.sum-cmp.up { color: var(--green); }
.sum-cmp.down { color: var(--amber); }
.crow.todo { background: #fff8e8; border-color: #f1c46b; }
.crow.by-customer { background: #eef3fc; border-color: #c9d7f3; }
.crow.by-customer .avatar { background: #dfe8fa; color: #2b4f9a; }
.cside > b { font-size: .95rem; font-weight: 800; }
.appbar.order-bar .appbar-in { max-width: 1320px; }
[hidden] { display: none !important; }
/* Original-Kopf ohne Beschnitt; die weiße Fläche unter dem Logo gehört zum Bild (wie auf dem Papier). */
.banner { background: #fff; border-bottom: 1px solid var(--line); }
.banner-img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; object-fit: contain; }
.banner-logo { display: none; }

/* ── Runde 5: volle Breite, schmaler Kopf, kompakte Karten und Zeilen ───────── */
.appbar-in, .appbar.wide .appbar-in, .appbar.order-bar .appbar-in { max-width: 1600px; }
.banner { height: clamp(96px, 12vw, 170px); background: #2287ca url('/img/landschaft.jpg') center 17% / cover no-repeat; border-bottom: 0; }
.banner-in { position: relative; max-width: 1600px; height: 100%; margin: 0 auto; }
.banner-logo { display: block; position: absolute; right: 1rem; bottom: -16px; width: clamp(118px, 15vw, 220px); height: auto; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .3)); z-index: 2; }
.banner-img { display: none; }
.page.home { max-width: 1600px; }
@media (min-width: 1100px) {
  .page.home .clist { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .page.home .clist li + li { margin-top: 0; }
}
.page.wide { max-width: 1600px; }
@media (min-width: 1024px) {
  .order-layout { max-width: 1600px; grid-template-columns: 380px 1fr; }
  .order-layout ~ .sumbar .sumbar-in { max-width: 1600px; }
}
.sumbar-in { max-width: 1600px; }

/* Kundenkarte kompakt */
.cust-card { gap: .8rem; padding: 1rem; }
.cust-card h1 { font-size: 1.25rem; }
.contact { gap: .4rem; }
.contact > * { padding: .5rem .65rem; gap: .5rem; font-size: .92rem; }
.contact small { display: none; }
.kpis-l { gap: .4rem; }
.kpi-l { padding: .45rem .6rem; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: .4rem; }
.kpi-l span { font-size: .74rem; grid-column: 1 / -1; }
.kpi-l b { font-size: 1rem; margin: 0; }
.kpi-l small { margin: 0; font-size: .72rem; text-align: right; }
.kpi-l .cmp-bar { grid-column: 1 / -1; margin-top: .3rem; height: 5px; }
.kpi-l .cmp-bar + small { grid-column: 1 / -1; text-align: left; margin-top: .2rem; }
.qchart .bar { height: 38px; }
.qchart b, .qchart small { font-size: .64rem; }

/* Kategorien einklappbar */
.cat-tools { display: flex; justify-content: space-between; align-items: center; margin: .25rem 0 -.5rem; font-size: .86rem; color: var(--ink-3); }
button.cat-head { width: 100%; border: 0; cursor: pointer; gap: .6rem; justify-content: flex-start; text-align: left; margin-top: .6rem; position: static; }
button.cat-head span { flex: 1; }
button.cat-head .cat-chev { transform: rotate(-90deg); }
button.cat-head.closed { border-radius: 14px; }
button.cat-head.closed .cat-chev { transform: none; }
button.cat-head:hover { background: #377f22; }

/* Artikelzeile kompakt: Preis und Menge in einer Reihe */
.prow { grid-template-columns: 64px 1fr; gap: .75rem; padding: .7rem .8rem; }
.pimg { width: 64px; height: 64px; }
@media (min-width: 720px) { .prow { grid-template-columns: 72px 1fr; } .pimg { width: 72px; height: 72px; } }
.pmain { gap: .2rem; }
.pname { font-size: .98rem; }
.pinfo { display: flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--ink-4); min-width: 0; }
.pinfo span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; margin-top: .3rem; }
.pbottom .pprice { text-align: left; font-size: 1.05rem; }
.pbottom .pline { text-align: right; font-size: .84rem; }
.pbottom .offer-price { padding: 8px 12px 0 0; }
.pbottom .price-tag { padding: .25rem .55rem .3rem; }
.pbottom .price-tag b { font-size: 1.02rem; }
.pbottom .save-bubble { width: 34px; height: 34px; font-size: .66rem; top: -6px; right: -4px; }
.stepper button { width: 38px; height: 38px; }
.stepper input { width: 40px; }

/* Geschenkstaffel: auf dem Handy wischbar statt untereinander */
@media (max-width: 720px) {
  .gift-box { padding: 1rem .8rem .8rem; gap: .6rem; }
  .gift-title { font-size: 1.2rem; }
  .gift-ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: .5rem; padding: 14px 2px 4px; scrollbar-width: none; }
  .gift-ladder::-webkit-scrollbar { display: none; }
  .gift-step { scroll-snap-align: start; display: block; text-align: center; padding: 1rem .6rem .6rem; }
  .gift-step .gratis-stamp { position: absolute; top: -13px; left: 8px; font-size: .95rem; }
  .gift-step b, .gift-step span, .gift-step em { grid-column: auto; grid-row: auto; justify-self: auto; }
  .gift-step span { font-weight: 500; margin-top: .1rem; }
  .gift-step em { margin-top: .3rem; }
  .gift-step.reached::after { top: 6px; right: 6px; }
}
/* Banner: Ausschnitt mit Schriftzug, Turm und Hügeln (im Original y≈60–330 von 497) */
.banner { height: clamp(96px, 13.5vw, 260px); background-position: center 26%; }
.hist-mob { display: block; }
.hist-desk { display: none; }
@media (min-width: 1024px) { .hist-mob { display: none; } .hist-desk { display: block; } }
.danger-text { color: var(--red); }
.danger-text:hover { background: var(--red-tint); }
.save-bubble, .pbottom .save-bubble { white-space: nowrap; width: auto; min-width: 38px; height: 38px; padding: 0 5px; border-radius: 999px; font-size: .68rem; letter-spacing: -.03em; }
@media (max-width: 480px) {
  .pbottom { grid-template-columns: auto 1fr auto; }
  .pbottom .pline { display: none; }
  .stepper { padding: 2px; }
  .stepper button { width: 36px; height: 36px; }
  .stepper input { width: 34px; font-size: 1rem; }
  .prow { grid-template-columns: 56px 1fr; padding: .65rem .7rem; }
  .pimg { width: 56px; height: 56px; }
}
.pbottom .stepper { grid-column: 3; justify-self: end; }
.pbottom .offer-price { padding: 12px 24px 0 0; }
.pbottom .save-bubble { top: -2px; right: -2px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--navy); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--navy) 35%, transparent); text-underline-offset: 3px; }
.link-btn:hover { text-decoration-color: var(--navy); }
.dlg { width: min(640px, calc(100% - 2rem)); }
.dlg-body { max-height: 70vh; overflow-y: auto; }

/* Auswertungen */
.qbig { display: grid; grid-template-columns: repeat(8, 1fr); gap: .6rem; align-items: end; margin-top: .8rem; }
.qbig > div { display: grid; gap: .25rem; justify-items: center; }
.qbig .bars { position: relative; width: 100%; max-width: 70px; height: 150px; display: flex; align-items: flex-end; gap: 4px; }
.qbig .bars i { flex: 1; border-radius: 6px 6px 0 0; display: block; }
.qbig .bars i.prev { background: #d6dde6; }
.qbig .bars i.now { background: var(--navy-2); }
.qbig .bars i.now.running { background: repeating-linear-gradient(45deg, var(--navy-2) 0 6px, #5aa83a 6px 12px); }
.qbig b { font-size: .78rem; font-variant-numeric: tabular-nums; }
.qbig small { font-size: .7rem; color: var(--ink-3); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 .2rem 0 .6rem; vertical-align: middle; }
.lg-now { background: var(--navy-2); }
.lg-prev { background: #d6dde6; }
.up { color: var(--green); font-weight: 700; }
.down { color: var(--red); font-weight: 700; }
@media (max-width: 720px) { .qbig { grid-template-columns: repeat(4, 1fr); } }
.qchips i.cur { outline: 2px solid var(--navy-2); outline-offset: 1px; }
.qchips i.cur:not(.on) { color: var(--navy); }

/* Schmale Smartphones (z. B. 320 px): Preis oben, Mengenwahl darunter rechtsbündig – der Plus-Knopf bleibt ganz sichtbar. */
@media (max-width: 400px) {
  .pbottom { grid-template-columns: auto 1fr; row-gap: .45rem; }
  .pbottom .stepper { grid-column: 1 / -1; justify-self: end; }
  .prow { grid-template-columns: 56px minmax(0, 1fr); gap: .6rem; padding: .7rem .65rem; }
  .pimg { width: 56px; height: 56px; }
}
.stepper button:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 2px; }
