/* BetterExpress – Kaufhaus-Layout: dunkle Kopfleiste, graue Seite, weiße Karten, gelbe Kaufknöpfe */
:root {
  --nav: #131921;
  --nav2: #232f3e;
  --nav-hover: #ffffff;
  --page: #e3e6e6;
  --card: #ffffff;
  --text: #0f1111;
  --muted: #565959;
  --line: #d5d9d9;
  --link: #007185;
  --link-hover: #c7511f;
  --accent: #ff9900;
  --search: #febd69;
  --yellow: #ffd814;
  --yellow-b: #fcd200;
  --orange: #ffa41c;
  --orange-b: #ff8f00;
  --deal: #cc0c39;
  --ok: #007600;
  --warn: #b12704;
  --soft: #f0f2f2;
  --c-blue: #0d4f8b;
  --c-sky: #1b6ec2;
  --c-lime: #c4ee82;
  --c-mint: #d5f29d;
  --c-violet: #8f3fb8;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  --r: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 14px/1.45 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 99; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.pix { image-rendering: pixelated; }

/* ---------- Kopfleiste ---------- */
.top { background: var(--nav); color: #fff; display: flex; align-items: center; gap: 6px; padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); position: sticky; top: 0; z-index: 30; }
.hdr-btn { display: flex; align-items: center; gap: 4px; padding: 8px 8px; border: 1px solid transparent; border-radius: 2px; background: none; color: #fff; cursor: pointer; line-height: 1.15; white-space: nowrap; }
.hdr-btn:hover { border-color: var(--nav-hover); color: #fff; text-decoration: none; }
.hdr-btn small { display: block; font-size: 12px; color: #ccc; }
.hdr-btn b { font-size: 14px; }
.logo { display: flex; flex-direction: column; padding: 6px 8px 4px; border: 1px solid transparent; border-radius: 2px; color: #fff; line-height: 1; }
.logo:hover { border-color: #fff; text-decoration: none; color: #fff; }
.logo-word { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 26px; letter-spacing: -0.5px; }
.logo-x { color: var(--accent); }
.logo-sub { font-size: 11px; color: #ccc; margin-top: 3px; padding-left: 1px; letter-spacing: .2px; }
.deliver svg { width: 18px; height: 18px; fill: #fff; align-self: flex-end; margin-bottom: 2px; }
.deliver b { max-width: 130px; overflow: hidden; text-overflow: ellipsis; display: block; }

.search { flex: 1; display: flex; height: 40px; border-radius: 6px; position: relative; min-width: 0; }
.search:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.search-cat { display: flex; }
.search-cat select { height: 100%; border: 0; border-radius: 6px 0 0 6px; background: #e6e6e6; color: #555; padding: 0 4px 0 8px; font-size: 12px; width: 64px; max-width: 170px; cursor: pointer; border-right: 1px solid #cdcdcd; }
.search-field { flex: 1; display: flex; min-width: 0; }
.search input { flex: 1; border: 0; padding: 0 10px; font-size: 15px; min-width: 0; outline: none; background: #fff; color: var(--text); }
.search button { width: 46px; border: 0; background: var(--search); border-radius: 0 6px 6px 0; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: #f3a847; }
.search button svg { width: 22px; height: 22px; fill: #333; }
.suggest { position: absolute; top: 42px; left: 0; right: 0; background: #fff; color: var(--text); border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.25); z-index: 40; overflow: hidden; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 6px 12px; color: var(--text); }
.suggest a:hover, .suggest a.on { background: var(--soft); text-decoration: none; color: var(--text); }
.suggest img { width: 28px; height: 28px; }
.suggest small { color: var(--muted); margin-left: auto; }

.curpick { position: relative; }
.curpick .hdr-btn b { font-size: 14px; }
.caret { border: 4px solid transparent; border-top-color: #aaa; margin-top: 5px; }
.curmenu { position: absolute; right: 0; top: 48px; background: #fff; color: var(--text); border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.3); padding: 12px 16px; width: 250px; z-index: 40; }
.curmenu label { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; }
.curmenu-h { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.curmenu-f { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.cartlink { align-items: flex-end; gap: 2px; }
.cart-ico { position: relative; display: block; width: 40px; height: 32px; }
.cart-ico svg { width: 40px; height: 32px; fill: #fff; color: #fff; }
.cart-count { position: absolute; left: 15px; top: -4px; width: 20px; text-align: center; color: var(--accent); font-weight: 700; font-size: 16px; }
.cartlink b { padding-bottom: 3px; }

/* ---------- Kategorieleiste ---------- */
.sub { background: var(--nav2); color: #fff; display: flex; align-items: center; gap: 2px; padding: 3px max(12px, env(safe-area-inset-right)) 3px max(12px, env(safe-area-inset-left)); overflow-x: auto; scrollbar-width: none; }
.sub::-webkit-scrollbar { display: none; }
.sub a, .sub button { color: #fff; padding: 6px 9px; border: 1px solid transparent; border-radius: 2px; white-space: nowrap; background: none; cursor: pointer; font-size: 14px; }
.sub a:hover, .sub button:hover { border-color: #fff; text-decoration: none; color: #fff; }
.sub-all { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.sub .sub-pill { background: #fff; color: var(--text); border-radius: 999px; font-weight: 600; padding: 3px 12px; margin: 0 4px; }
.sub .sub-pill:hover { color: var(--text); background: #f3f3f3; border-color: #fff; }
.sub-links { display: flex; gap: 2px; }

/* ---------- Seitenmenü ---------- */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(365px, 86vw); background: #fff; z-index: 60; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.4); animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { background: var(--nav2); color: #fff; font-size: 19px; padding: 14px 20px 14px 36px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; }
.drawer-head button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.drawer-body h3 { font-size: 18px; margin: 0; padding: 16px 20px 8px 36px; }
.drawer-body a { display: flex; justify-content: space-between; padding: 12px 20px 12px 36px; color: var(--text); }
.drawer-body a:hover { background: #eaeded; text-decoration: none; color: var(--text); }
.drawer-body hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 55; }

/* ---------- Grundlayout ---------- */
main { flex: 1; width: 100%; max-width: 1500px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right)) 32px max(16px, env(safe-area-inset-left)); outline: none; }
@media (min-width: 1280px) { body.with-sidecart { padding-right: 130px; } }
.panel { background: var(--card); padding: 18px 20px; }
.h-section { font-size: 21px; font-weight: 700; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 100px; border: 1px solid transparent; padding: 7px 16px; cursor: pointer; font-size: 13px; line-height: 1.2; text-align: center; color: var(--text); }
.btn:hover { text-decoration: none; color: var(--text); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow-b); }
.btn-yellow:hover { background: #f7ca00; }
.btn-orange { background: var(--orange); border-color: var(--orange-b); }
.btn-orange:hover { background: #fa8900; }
.btn-ghost { background: #fff; border-color: #888c8c; box-shadow: 0 2px 5px rgba(213,217,217,.5); }
.btn-ghost:hover { background: #f7fafa; }
.btn-wide { width: 100%; padding: 9px 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Preise im Kaufhaus-Stil: große Zahl, kleine Nachkommastellen */
.price { display: inline-flex; align-items: flex-start; gap: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .p-int { font-size: 21px; line-height: 1; font-weight: 500; }
.price .p-dec { font-size: 12px; line-height: 1.1; }
.price img { width: 18px; height: 18px; align-self: center; }
.price.big .p-int { font-size: 30px; }
.price.big .p-dec { font-size: 14px; }
.price.big img { width: 24px; height: 24px; }
.price.mini .p-int { font-size: 15px; font-weight: 700; }
.price.mini img { width: 15px; height: 15px; }
.old { color: var(--muted); font-size: 12px; text-decoration: line-through; }
.badge-deal { display: inline-block; background: var(--deal); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 6px; border-radius: 2px; }
.deal-label { color: var(--deal); font-size: 12px; font-weight: 700; }
.tier { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; color: #fff; }
.t-Günstig { background: #067d62; } .t-Normal { background: #5b6366; } .t-Wertvoll { background: #1a6fb5; }
.t-Selten { background: #7d3cb0; } .t-Legendär { background: #c45500; }

/* ---------- Startseite ---------- */
.hero { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr; gap: 10px; }
.hc { border-radius: 12px; padding: 16px 14px 14px; display: flex; flex-direction: column; gap: 10px; color: #fff; min-width: 0; }
.hc h2 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 30px; line-height: .98; margin: 0; letter-spacing: -.3px; text-wrap: balance; }
.hc.big h2 { font-size: 46px; }
.hc p { margin: -4px 0 0; font-size: 15px; }
.hc-blue { background: var(--c-blue); }
.hc-sky { background: var(--c-sky); }
.hc-lime { background: var(--c-lime); color: #10230a; }
.hc-mint { background: var(--c-mint); color: #10230a; }
.hc-violet { background: var(--c-violet); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.tile { background: #fff; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 8px 8px; color: var(--text); position: relative; min-height: 130px; }
.tile:hover { text-decoration: none; color: var(--text); box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.tile img { width: 72px; height: 72px; margin: auto; }
.tile .badge-deal { align-self: flex-start; }
.tile-name { font-size: 12px; text-align: center; line-height: 1.2; margin-top: 4px; }
.feature { flex: 1; display: grid; place-items: center; background: rgba(255,255,255,.45); border-radius: 10px; padding: 12px; color: var(--text); text-align: center; }
.feature:hover { text-decoration: none; color: var(--text); background: rgba(255,255,255,.65); }
.feature > span > img { width: 150px; height: 150px; display: block; margin: 0 auto 6px; }
.feature .price { margin-top: 4px; }
.feature b { display: block; font-size: 16px; }

.cards-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 10px; }
.mini-card { background: #fff; border-radius: 10px; border: 1px solid #ddd; padding: 12px; display: flex; flex-direction: column; gap: 8px; color: var(--text); min-width: 0; }
.mini-card:hover { text-decoration: none; color: var(--text); border-color: #bbb; }
.mini-card h3 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 21px; line-height: 1.05; margin: 0; }
.mini-card img { width: 96px; height: 96px; margin: 6px auto; }

.shelf { background: #fff; border-radius: 10px; border: 1px solid #ddd; margin-top: 14px; padding: 14px 16px; position: relative; }
.shelf-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.shelf-head h2 { font-size: 20px; margin: 0; }
.shelf-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
.shelf-item { flex: 0 0 156px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.shelf-item:hover { text-decoration: none; color: var(--text); }
.shelf-item .img { background: #f7f8f8; border-radius: 8px; height: 150px; display: grid; place-items: center; }
.shelf-item img { width: 96px; height: 96px; }
.shelf-item .nm { font-size: 13px; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.shelf-btn { position: absolute; top: 50%; width: 44px; height: 96px; border: 1px solid #ccc; background: rgba(255,255,255,.95); border-radius: 6px; cursor: pointer; font-size: 26px; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.shelf-btn.l { left: 6px; } .shelf-btn.r { right: 6px; }

.deal-timer { color: var(--deal); font-weight: 600; font-size: 13px; }

/* ---------- Ergebnisliste ---------- */
.results { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.filters { background: #fff; padding: 14px 16px; border-radius: 8px; position: sticky; top: 120px; }
.filters h3 { font-size: 14px; margin: 14px 0 6px; }
.filters h3:first-child { margin-top: 0; }
.filters a { display: block; padding: 3px 0; color: var(--text); font-size: 14px; }
.filters a.on { font-weight: 700; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; }
.res-bar { background: #fff; padding: 10px 14px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.res-bar select { border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 5px 8px; box-shadow: 0 2px 5px rgba(15,17,17,.15); cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card { background: #fff; border-radius: 8px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.card .img { background: #f7f8f8; border-radius: 6px; height: 170px; display: grid; place-items: center; margin: -2px -4px 6px; }
.card .img img { width: 112px; height: 112px; }
.card a.nm { color: var(--text); font-size: 15px; line-height: 1.3; }
.card a.nm:hover { color: var(--link-hover); }
.card .actions { margin-top: auto; padding-top: 6px; }
.more-wrap { text-align: center; margin: 20px 0 4px; }
.empty { background: #fff; padding: 40px 20px; border-radius: 8px; text-align: center; }
.empty img { width: 96px; height: 96px; }

/* ---------- Produktseite ---------- */
.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.product { background: #fff; padding: 20px; display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.3fr) 280px; gap: 28px; align-items: start; border-radius: 8px; }
.gallery { display: grid; grid-template-columns: 56px 1fr; gap: 12px; position: sticky; top: 120px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { width: 52px; height: 52px; border: 1px solid #ccc; border-radius: 6px; background: #fff; padding: 3px; cursor: pointer; }
.thumbs button.on { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.5); }
.thumbs img { width: 100%; height: 100%; }
.stage { background: #f7f8f8; border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; max-width: 100%; }
.stage img { width: 62%; height: auto; }
.stage.big-pix img { image-rendering: pixelated; }
.p-title { font-size: 24px; font-weight: 400; line-height: 1.3; margin: 0 0 4px; }
.p-store { font-size: 14px; }
.p-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.p-price { padding: 12px 0 8px; display: flex; flex-direction: column; gap: 4px; }
.p-price .row { display: flex; align-items: flex-start; gap: 10px; }
.p-price .pct { color: var(--deal); font-size: 28px; font-weight: 300; line-height: 1; }
.spec { border-collapse: collapse; margin-top: 12px; width: 100%; max-width: 440px; }
.spec th { text-align: left; font-weight: 700; padding: 5px 16px 5px 0; vertical-align: top; width: 45%; }
.spec td { padding: 5px 0; }
.about { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.about h3 { font-size: 16px; margin: 0 0 6px; }
.about ul { margin: 0; padding-left: 18px; }
.about li { margin: 3px 0; }
.buybox { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.buybox .stock { color: var(--ok); font-size: 18px; }
.buybox select { width: 100%; border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 7px 10px; box-shadow: 0 2px 5px rgba(15,17,17,.15); cursor: pointer; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 12px; }
.kv span:nth-child(odd) { color: var(--muted); }

/* ---------- Einkaufswagen ---------- */
.notice { background: #fff; border: 2px solid #f0c14b; border-radius: 8px; padding: 12px 18px; margin-bottom: 14px; }
.notice b { display: block; margin-bottom: 4px; }
.cart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.cart-list h1 { font-size: 28px; font-weight: 400; margin: 0; }
.cart-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #ddd; padding-bottom: 6px; }
.cart-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid #ddd; }
.cart-row .img { background: #f7f8f8; border-radius: 6px; height: 160px; display: grid; place-items: center; }
.cart-row .img img { width: 104px; height: 104px; }
.cart-row .nm { font-size: 18px; color: var(--text); line-height: 1.3; }
.cart-row .info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-row .line-price { text-align: right; }
.stepper { display: inline-flex; align-items: center; border: 3px solid var(--yellow); border-radius: 100px; height: 34px; overflow: hidden; }
.stepper button { width: 34px; height: 100%; border: 0; background: #fff; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.stepper button:hover { background: #f3f3f3; }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper span { min-width: 34px; text-align: center; font-weight: 700; }
.stepper svg { width: 15px; height: 15px; }
.row-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; margin-top: 6px; }
.row-actions .sep { width: 1px; height: 14px; background: #ddd; }
.linkbtn { background: none; border: 0; color: var(--link); cursor: pointer; padding: 0; font-size: 12px; }
.linkbtn:hover { color: var(--link-hover); text-decoration: underline; }
.subtotal { text-align: right; font-size: 18px; padding-top: 10px; }
.sumbox { background: #fff; padding: 18px 20px; border-radius: 8px; display: flex; flex-direction: column; gap: 12px; }
.sumbox .ok-line { color: var(--ok); font-size: 12px; display: flex; gap: 6px; }
.sumbox .tot { font-size: 18px; }

/* ---------- Kasse ---------- */
.checkout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.step { background: #fff; border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; }
.step h2 { font-size: 18px; margin: 0 0 12px; display: flex; gap: 10px; }
.step h2 .n { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; max-width: 420px; }
.field label { font-weight: 700; font-size: 13px; }
.field input, .field textarea { border: 1px solid #888c8c; border-radius: 4px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(15,17,17,.15) inset; }
.field input:focus, .field textarea:focus { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.5); outline: none; }
.field textarea { resize: vertical; min-height: 64px; }
.err { color: var(--warn); font-size: 12px; margin: 2px 0 0; }
.pay { display: grid; gap: 8px; }
.pay label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.pay label.on { border-color: #e77600; background: #fcf5ee; }
.pay img { width: 32px; height: 32px; }
.pay .desc { display: flex; flex-direction: column; }
.review-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eee; }
.review-row img { width: 44px; height: 44px; }
.review-row .q { color: var(--muted); font-size: 12px; }
.review-row .pr { margin-left: auto; }
.order-box { position: sticky; top: 120px; }
.order-box .kv { font-size: 14px; gap: 6px 12px; }
.order-box .total { font-size: 18px; color: var(--warn); font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; }
.testmode { background: #fff8e5; border: 1px solid #f0c14b; border-radius: 6px; padding: 8px 10px; font-size: 12px; }

/* ---------- Bestätigung / Bestellungen ---------- */
.thanks { background: #fff; border-radius: 8px; padding: 24px; border-left: 6px solid var(--ok); }
.thanks h1 { color: var(--ok); font-size: 22px; margin: 0 0 6px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
.order-card .oh { background: #f0f2f2; padding: 12px 18px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.order-card .oh b { display: block; color: var(--text); font-size: 14px; font-weight: 400; }
.order-card .ob { padding: 12px 18px; }

/* ---------- Seitlicher Einkaufswagen ---------- */
.sidecart { position: fixed; right: 0; top: 0; bottom: 0; width: 130px; background: #fff; border-left: 1px solid #ddd; z-index: 35; overflow-y: auto; padding: 14px 8px 16px; text-align: center; font-size: 12px; display: flex; flex-direction: column; gap: 10px; }
.sidecart .st { color: var(--warn); font-weight: 700; font-size: 15px; }
.sidecart a.item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text); border-top: 1px solid #eee; padding-top: 8px; }
.sidecart a.item img { width: 64px; height: 64px; }
.sidecart .q { color: var(--muted); }

/* ---------- Fußzeile ---------- */
footer { margin-top: auto; }
.totop { width: 100%; background: #37475a; color: #fff; border: 0; padding: 15px; cursor: pointer; font-size: 13px; }
.totop:hover { background: #485769; }
.foot { background: var(--nav2); color: #ddd; padding: 30px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left)); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 40px; }
.foot h3 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.foot ol { margin: 0; padding-left: 18px; }
.foot p, .foot li { font-size: 13px; line-height: 1.6; margin: 0 0 6px; }
.legal { text-align: center; max-width: 720px; margin: 26px auto 0 !important; color: #999; font-size: 12px !important; border-top: 1px solid #3a4553; padding-top: 18px; }

/* ---------- Toast / Dialog ---------- */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.3); padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 70; max-width: calc(100vw - 32px); border-left: 5px solid var(--ok); }
.toast img { width: 40px; height: 40px; }
.toast .t-ok { color: var(--ok); font-weight: 700; }
.modal { border: 0; border-radius: 10px; padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal form { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.modal h2 { margin: 0; font-size: 20px; }
.modal p { margin: 0 0 6px; color: var(--muted); }
.modal label { font-weight: 700; font-size: 13px; }
.modal input { border: 1px solid #888c8c; border-radius: 4px; padding: 9px 10px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1350px) {
  .hero { grid-template-columns: repeat(3, 1fr); }
  .hero .hc:nth-child(1) { grid-column: span 3; }
  .hero .hc:nth-child(1) .tiles { grid-template-columns: repeat(4, 1fr); }
  .cards-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1279px) {
  .sidecart { display: none !important; }
}
@media (max-width: 1100px) {
  .product { grid-template-columns: 1fr 1fr; }
  .buybox { grid-column: 2; }
  .gallery { position: static; }
}
@media (max-width: 900px) {
  .top { flex-wrap: wrap; }
  .search { order: 10; flex-basis: 100%; }
  .deliver, .curpick .hdr-btn small { display: none; }
  .account small { display: none; }
  .logo { margin-right: auto; }
  .results { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .order-box { position: static; }
  .foot-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero .hc:nth-child(1) { grid-column: auto; }
  .hero .hc:nth-child(1) .tiles { grid-template-columns: 1fr 1fr; }
  .hc.big h2 { font-size: 36px; }
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; padding: 14px; }
  .buybox { grid-column: auto; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .cart-row { grid-template-columns: 96px 1fr; }
  .cart-row .img { height: 96px; }
  .cart-row .img img { width: 72px; height: 72px; }
  .cart-row .line-price { grid-column: 2; text-align: left; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card .img { height: 120px; }
  .card .img img { width: 80px; height: 80px; }
  .account { display: none; }
  .cartlink b { display: none; }
  .shelf-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer { animation: none; }
}

/* Inventar-Slot-Ansicht auf der Produktseite */
.slot { width: 58%; aspect-ratio: 1; max-width: 100%; position: relative; display: grid; place-items: center; background: #8b8b8b; border: 6px solid; border-color: #373737 #ffffff #ffffff #373737; }
.slot img { width: 80%; height: auto; }
.slot .cnt { position: absolute; right: 4%; bottom: 0; font: 700 clamp(28px, 5vw, 52px)/1 "Courier New", monospace; color: #fff; text-shadow: 4px 4px 0 #3f3f3f; }

/* ---------- Lieferverfolgung ---------- */
.track { background: var(--card); border-radius: 12px; padding: 20px 22px; display: grid; gap: 16px; border: 1px solid var(--line); }
.track-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.track-top h2 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 30px; line-height: 1.05; text-wrap: balance; }
.track-top p { margin: 4px 0 0; color: var(--muted); }
.track-eta { text-align: right; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.track-eta b { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.track-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.track-bar span { height: 8px; border-radius: 4px; background: #e3e6e6; position: relative; overflow: hidden; }
.track-bar span.done { background: var(--accent); }
.track-bar span.now { background: #ffe1bd; }
.track-bar span.now::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); border-radius: 4px; animation: laden 1.6s ease-in-out infinite; }
@keyframes laden { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.track-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; min-width: 0; }
.track-steps li img { width: 32px; height: 32px; opacity: .35; filter: grayscale(1); flex: none; }
.track-steps li.done, .track-steps li.now { color: var(--text); font-weight: 600; }
.track-steps li.done img, .track-steps li.now img { opacity: 1; filter: none; }
.track-steps li.now img { animation: wackeln 1.8s ease-in-out infinite; }
@keyframes wackeln { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.track-steps time { display: block; font-weight: 400; color: var(--muted); font-size: 12px; min-height: 1em; }
.track-hint { margin: -6px 0 0; }
.track-ok { border-color: #9fd6a9; background: #f2fbf3; }
.track-ok .track-bar span.done { background: var(--ok); }
.track-ok h2 { color: var(--ok); }
.track-nein { border-color: #f1a7a1; background: #fff4f3; }
.track-nein h2 { color: var(--deal); }
.order-card .ob .track { margin-bottom: 10px; }
.pill { align-self: center; margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e3e6e6; color: var(--text); }
.pill-angenommen { background: #dbe9fb; color: #174ea6; }
.pill-unterwegs { background: #ffe1bd; color: #8a4500; }
.pill-geliefert { background: #d6f2db; color: #1e6b2e; }
.pill-abgelehnt { background: #fde0de; color: #a50e0e; }
.livebar { background: #fff4e5; border-bottom: 1px solid #f5d6a8; }
.livebar a { display: flex; align-items: center; gap: 10px; max-width: 1500px; margin: 0 auto; padding: 6px max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left)); color: var(--text); font-size: 14px; }
.livebar a:hover { text-decoration: none; color: var(--text); }
.livebar img { width: 28px; height: 28px; }
.live-more { margin-left: auto; color: var(--link); font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .track { padding: 16px; }
  .track-top h2 { font-size: 24px; }
  .track-eta { text-align: left; }
  .track-steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .track-bar span.now::after, .track-steps li.now img { animation: none; }
}

/* =====================================================================
   Version 4: Banner, Rezepte, Mengen-Regler, Verlauf, Handy-Kopf
   ===================================================================== */

/* ---------- Banner-Karussell (wie die große Aktionsfläche bei Amazon) ---------- */
.banner { position: relative; height: 400px; margin: -16px calc(-1 * max(16px, env(safe-area-inset-right))) 0 calc(-1 * max(16px, env(safe-area-inset-left))); overflow: hidden; }
.banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to bottom, rgba(227,230,230,0), var(--page)); pointer-events: none; z-index: 1; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide-in { max-width: 1500px; height: 100%; margin: 0 auto; padding: 34px 72px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.slide-text { color: #fff; max-width: 540px; }
.slide-text h2 { font-family: var(--display); font-weight: 900; font-stretch: 82%; font-size: 52px; line-height: .95; margin: 0 0 12px; letter-spacing: -.5px; text-wrap: balance; text-shadow: 0 2px 0 rgba(0,0,0,.15); }
.slide-text p { font-size: 18px; margin: 0 0 18px; max-width: 44ch; }
.slide-text .btn { font-size: 15px; padding: 9px 22px; font-weight: 600; }
.slide-art { position: relative; height: 210px; }
.slide-art img { position: absolute; width: 118px; height: 118px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.35)); left: calc(var(--i) * 19%); top: calc(10px + (var(--i) * 37px) % 70px); transform: rotate(calc((var(--i) - 2) * 5deg)); animation: schweben 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
@keyframes schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.s-deals { background: radial-gradient(circle at 75% 30%, #36b1d8 0, transparent 45%), linear-gradient(120deg, #0b3d6e, #11618f 60%, #138ab4); }
.s-base { background: radial-gradient(circle at 80% 25%, #f7c46c 0, transparent 40%), linear-gradient(120deg, #6b3d17, #9a5b26 55%, #c98837); }
.s-red { background: radial-gradient(circle at 78% 30%, #ff6b5b 0, transparent 42%), linear-gradient(120deg, #4a0d0d, #8c1c1c 55%, #c02f22); }
.s-track { background: radial-gradient(circle at 78% 30%, #8fe39b 0, transparent 42%), linear-gradient(120deg, #0f3d2a, #1b6b45 55%, #2a9b5f); }
.s-pay { background: radial-gradient(circle at 78% 30%, #7de6f5 0, transparent 40%), linear-gradient(120deg, #1b1f2e, #2f3550 55%, #3f4a75); }
.banner-btn { position: absolute; top: 0; height: 250px; width: 64px; z-index: 2; border: 0; background: transparent; color: #fff; font-size: 54px; line-height: 1; cursor: pointer; opacity: .8; }
.banner-btn:hover, .banner-btn:focus-visible { opacity: 1; outline: 2px solid #fff; outline-offset: -6px; border-radius: 4px; }
.banner-btn.l { left: 0; } .banner-btn.r { right: 0; }
.banner-dots { position: absolute; left: 50%; top: 222px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.banner-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.banner-dots button.on { background: #fff; }
.hero-over { position: relative; z-index: 2; margin-top: -150px; }
.hc-link { color: #fff; font-size: 13px; }
.hc-link:hover { color: #fff; }

/* ---------- Mengen-Regler auf Karten ---------- */
.stepper-wide { width: 100%; justify-content: space-between; }
.stepper-wide span { font-size: 13px; }

/* ---------- Filter-Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 12px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--text); font-size: 13px; }
.chip:hover { border-color: #888; color: var(--text); text-decoration: none; }
.chip-clear { font-size: 13px; }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ---------- Produktseite: Lupe, Rechner, Rezept, Zutaten ---------- */
.stage { overflow: hidden; cursor: zoom-in; }
.stage img { transition: transform .15s ease; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage.zoom img { transform: scale(2.1); }
.stage-hint { grid-column: 2; margin: 2px 0 0; text-align: center; }
.calc { color: var(--muted); }
.deliver-line { display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.mc-head { border-radius: 3px; image-rendering: pixelated; flex: none; }
.p-info { min-width: 0; }
.recipe { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.recipe h3 { font-size: 16px; margin: 0 0 10px; }
.mc-craft { display: inline-flex; align-items: center; gap: 16px; background: #c6c6c6; padding: 14px; border: 3px solid; border-color: #fff #555 #555 #fff; border-radius: 4px; max-width: 100%; }
.mc-grid { display: grid; grid-template-columns: repeat(3, 44px); gap: 2px; }
.mc-slot { width: 44px; height: 44px; background: #8b8b8b; border: 2px solid; border-color: #373737 #fff #fff #373737; display: grid; place-items: center; position: relative; }
a.mc-slot:hover { background: #a5a5a5; text-decoration: none; }
.mc-slot img { width: 34px; height: 34px; }
.mc-out { width: 60px; height: 60px; }
.mc-out img { width: 46px; height: 46px; }
.mc-out .cnt { position: absolute; right: 2px; bottom: 0; font: 700 16px/1 "Courier New", monospace; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-arrow { width: 34px; height: 24px; background: #8b8b8b; clip-path: polygon(0 35%, 60% 35%, 60% 0, 100% 50%, 60% 100%, 60% 65%, 0 65%); }
.together { background: #fff; border-radius: 8px; padding: 18px 20px; margin-top: 14px; }
.together h3 { margin: 0 0 12px; font-size: 18px; }
.tg-wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
.tg-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tg-item { width: 96px; height: 96px; background: #f7f8f8; border-radius: 8px; display: grid; place-items: center; }
.tg-item img { width: 70px; height: 70px; }
.tg-plus { font-size: 26px; color: var(--muted); }
.tg-buy { display: flex; flex-direction: column; gap: 8px; }
.tg-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.tg-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; }
.tg-list label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }

/* Kaufleiste unten auf dem Handy */
.buybar { display: none; }
@media (max-width: 700px) {
  body.mit-buybar { padding-bottom: 70px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.12); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); align-items: center; justify-content: space-between; gap: 12px; }
  .buybar .btn { flex: none; padding: 10px 16px; }
  .stage-hint { display: none; }
  .mc-grid { grid-template-columns: repeat(3, 38px); }
  .mc-slot { width: 38px; height: 38px; }
  .mc-slot img { width: 28px; height: 28px; }
  .tg-item { width: 72px; height: 72px; }
  .tg-item img { width: 52px; height: 52px; }
}

/* ---------- Eigene Seiten ---------- */
.page-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.page-head h1 { font-weight: 400; font-size: 28px; margin: 0; }
.card .linkbtn { align-self: flex-start; }

/* ---------- Browserverlauf (über der Fußzeile) ---------- */
.verlauf { background: #fff; border-top: 1px solid #ddd; margin-top: 24px; }
.verlauf-in { max-width: 1500px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left)); }
.verlauf-head { display: flex; align-items: baseline; gap: 16px; }
.verlauf-head h2 { font-size: 18px; margin: 0 0 10px; }
.verlauf-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.verlauf-track a { flex: none; width: 96px; height: 96px; background: #f7f8f8; border-radius: 8px; display: grid; place-items: center; border: 1px solid transparent; }
.verlauf-track a:hover { border-color: #ccc; }
.verlauf-track img { width: 70px; height: 70px; }

/* ---------- Kopfzeile: Skin-Kopf, aktive Links ---------- */
.hello-head:empty { display: none; }
.hello-head .mc-head { width: 28px; height: 28px; margin-right: 2px; }
.sub a.aktiv { border-color: #fff; }

/* ---------- Ladeskelett ---------- */
.skel { min-height: 300px; }
.skel span { display: block; border-radius: 6px; background: linear-gradient(90deg, #eceeee 25%, #f6f7f7 50%, #eceeee 75%); background-size: 200% 100%; animation: glanz 1.2s infinite linear; }
.skel span:nth-child(1) { height: 170px; }
.skel span:nth-child(2) { height: 16px; width: 80%; margin-top: 12px; }
.skel span:nth-child(3) { height: 22px; width: 40%; margin-top: 10px; }
@keyframes glanz { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Handy: Kopf mit Lieferleiste wie in der Amazon-App ---------- */
@media (max-width: 900px) {
  .top .deliver { display: flex; order: 12; flex-basis: calc(100% + 24px); margin: 6px -12px -6px; padding: 8px max(16px, env(safe-area-inset-left)); background: linear-gradient(90deg, #37475a, #232f3e); border: 0; border-radius: 0; }
  .top .deliver span { display: flex; gap: 6px; align-items: baseline; }
  .top .deliver small { display: inline; color: #ddd; }
  .top .deliver b { max-width: none; }
  .banner { height: 330px; }
  .slide-in { grid-template-columns: 1fr; padding: 22px 56px 0; }
  .slide-text h2 { font-size: 38px; }
  .slide-text p { font-size: 16px; }
  .slide-art { display: none; }
  .banner-btn { height: 200px; }
  .banner-dots { top: 190px; }
  .hero-over { margin-top: -110px; }
}
@media (max-width: 700px) {
  .banner { height: 300px; }
  .slide-in { padding: 18px 44px 0; }
  .slide-text h2 { font-size: 32px; }
  .slide-text p { font-size: 15px; margin-bottom: 12px; }
  .banner-btn { width: 40px; font-size: 40px; height: 180px; }
  .banner-dots { top: 168px; }
  .hero-over { margin-top: -90px; }
  .verlauf-track a { width: 72px; height: 72px; }
  .verlauf-track img { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.on { transition: none; }
  .slide-art img, .skel span { animation: none; }
  .stage img { transition: none; }
}

/* Eisen-Preis als Zweitpreis */
.eisen { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.eisen img { width: 16px; height: 16px; }

/* Warteschlange */
.track-steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.track-platz b { color: #b7791f; }
.pill-warteschlange { background: #fdf0c4; color: #7a5a00; }

/* Umzugs-Hinweis auf der alten Adresse */
body.umzug { background: var(--nav); color: #fff; display: grid; place-items: center; min-height: 100vh; padding: 24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left)); }
.umzug-box { max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.umzug-box .logo-word { font-size: 40px; }
.umzug-box h1 { font-family: var(--display); font-weight: 900; font-stretch: 85%; font-size: 44px; line-height: 1; margin: 6px 0 0; }
.umzug-box p { margin: 0; font-size: 17px; color: #ddd; }
.umzug-link { font-size: 18px; font-weight: 700; padding: 12px 24px; word-break: break-all; }
@media (max-width: 700px) {
  .track-steps { grid-template-columns: 1fr 1fr; }
}

/* Creator-Code */
.code-row { display: flex; gap: 8px; max-width: 420px; }
.code-row input { flex: 1; min-width: 0; border: 1px solid #888c8c; border-radius: 4px; padding: 8px 10px; text-transform: uppercase; }
.code-row input:focus { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.5); outline: none; }
.code-ok { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: #f2fbf3; border: 1px solid #9fd6a9; border-radius: 6px; padding: 10px 12px; }
.creator-danke { background: #f3eefe; border-radius: 6px; padding: 8px 12px; }
.s-creator { background: radial-gradient(circle at 75% 30%, #c3a6ff 0, transparent 42%), linear-gradient(120deg, #2a1650, #5b2bb5 55%, #9146ff); }
.slide-kopf { position: absolute; width: 190px; height: auto; left: 28%; top: 0; filter: drop-shadow(0 14px 16px rgba(0,0,0,.4)); animation: schweben 5s ease-in-out infinite; image-rendering: pixelated; }

/* =====================================================================
   Version 9: Logo, Bestseller, Kategorie-Banner, Handy-Leiste, Feinschliff
   ===================================================================== */
.logo { flex-direction: row; align-items: center; gap: 6px; }
.logo-mark { width: 38px; height: 38px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.logo-txt { display: flex; flex-direction: column; }

/* Bestseller-Abzeichen im Amazon-Orange */
.best-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge-best { display: inline-block; background: #e47911; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px 3px 7px; clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%); white-space: nowrap; }

/* Karten: leichter Schatten und Bild-Zoom beim Drüberfahren */
.card { border: 1px solid transparent; transition: box-shadow .15s ease, border-color .15s ease; }
.card:hover { box-shadow: 0 6px 18px rgba(15,17,17,.12); border-color: #e3e6e6; }
.card .img img { transition: transform .2s ease; }
.card:hover .img img { transform: scale(1.07); }
.card a.nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf-item .img { transition: background .15s ease; }
.shelf-item:hover .img { background: #eef0f0; }
.tile img, .mini-card img { transition: transform .2s ease; }
.tile:hover img, .mini-card:hover img { transform: scale(1.08); }

/* Kategorie-Banner über der Liste */
.kat-banner { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 14px; padding: 22px 26px; min-height: 150px; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22) 0, transparent 45%), linear-gradient(120deg, color-mix(in srgb, var(--kat) 70%, #000), var(--kat)); }
.kat-text h1 { font-family: var(--display); font-weight: 900; font-stretch: 85%; font-size: 42px; line-height: 1; margin: 0 0 8px; text-wrap: balance; }
.kat-text p { margin: 0 0 10px; font-size: 16px; max-width: 52ch; opacity: .95; }
.kat-zahl { display: inline-block; background: rgba(0,0,0,.25); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.kat-icons { display: flex; align-items: center; }
.kat-icons img { width: 86px; height: 86px; margin-left: -14px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); transform: rotate(calc((var(--i) - 2) * 4deg)); animation: schweben 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }

/* Warenkorb-Zähler hüpft beim Hinzufügen */
@keyframes hops { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.hops { animation: hops .35s ease; }

/* Fußzeile mit Logo und Schnellzugriff */
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #3a4553; }
.foot-logo { display: flex; align-items: center; gap: 8px; color: #fff; }
.foot-logo:hover { text-decoration: none; color: #fff; }
.foot-logo .logo-word { font-size: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.foot-links a { color: #ddd; font-size: 13px; }
.foot-links a:hover { color: #fff; }

/* Leiste unten auf dem Handy (wie in der Amazon-App) */
.tabbar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body.mit-buybar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 27; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.08); padding: 4px max(4px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); }
  body.mit-buybar .tabbar { display: none; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0 3px; color: #565959; font-size: 11px; background: none; border: 0; border-top: 3px solid transparent; cursor: pointer; }
  .tabbar a:hover { text-decoration: none; color: var(--text); }
  .tabbar .on { color: #007185; border-top-color: #007185; }
  .tabbar svg { width: 24px; height: 24px; fill: currentColor; }
  .tab-cart { position: relative; display: block; }
  .tab-cart b { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #111; font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .kat-banner { grid-template-columns: 1fr; padding: 18px; min-height: 0; }
  .kat-text h1 { font-size: 32px; }
  .kat-icons img { width: 58px; height: 58px; margin-left: -8px; }
  .logo-mark { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .kat-icons img, .hops { animation: none; }
  .card .img img, .tile img, .mini-card img { transition: none; }
}

/* Handy: Filter hinter einem Knopf, Warenkorb nur unten in der Leiste */
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .filter-toggle { display: inline-flex; margin-bottom: 10px; }
  .filters { display: none; }
  .filters.auf { display: block; }
}
@media (max-width: 700px) {
  .top .cartlink { display: none; }
}

/* =====================================================================
   Version 11: Kacheln, Konto-Menü, Herz, Uhr, Teilen
   ===================================================================== */

/* Vier-Item-Kacheln */
.quad-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.quad-row:empty { display: none; }
.quad { background: #fff; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.quad h3 { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.2; }
.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.quad-grid a { display: flex; flex-direction: column; gap: 4px; color: var(--text); min-width: 0; }
.quad-grid a:hover { text-decoration: none; color: var(--link-hover); }
.q-img { background: #f7f8f8; aspect-ratio: 1; display: grid; place-items: center; border-radius: 4px; overflow: hidden; }
.q-img img { width: 66%; height: auto; transition: transform .2s ease; }
.quad-grid a:hover .q-img img { transform: scale(1.08); }
.q-name { font-size: 12px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quad-link { font-size: 13px; margin-top: auto; }
@media (max-width: 1100px) { .quad-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Angebots-Uhr */
.deal-uhr { font-size: 15px; }
.deal-uhr b { font-variant-numeric: tabular-nums; background: rgba(0,0,0,.25); padding: 1px 7px; border-radius: 4px; letter-spacing: .5px; }

/* Herz zum Merken */
.card { position: relative; }
.herz { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); box-shadow: 0 1px 4px rgba(0,0,0,.2); display: grid; place-items: center; cursor: pointer; z-index: 2; color: #9aa0a0; transition: transform .12s ease, color .12s ease; }
.herz svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.herz:hover { transform: scale(1.1); color: #cc0c39; }
.herz.an { color: #cc0c39; }
.herz.an svg { fill: currentColor; }

/* Konto-Menü beim Drüberfahren (wie "Konto und Listen") */
.konto { position: relative; }
.konto-menu { display: none; position: absolute; right: -60px; top: 100%; width: 380px; background: #fff; color: var(--text); border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.35); padding: 16px 18px; z-index: 45; }
.konto-menu::before { content: ""; position: absolute; top: -8px; right: 96px; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
.konto:hover .konto-menu, .konto:focus-within .konto-menu { display: block; }
.konto-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.konto-kopf .btn { margin-left: auto; }
.konto-kopf .mc-head { width: 40px; height: 40px; }
.konto-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 12px; }
.konto-spalten h4 { margin: 0 0 6px; font-size: 15px; }
.konto-spalten a { display: block; color: #444; font-size: 13px; padding: 3px 0; }
.konto-spalten a:hover { color: var(--link-hover); }
@media (max-width: 900px) { .konto-menu { display: none !important; } }

/* Suchvorschläge: Treffer fett */
.suggest mark { background: none; color: inherit; font-weight: 700; }
.suggest a span { min-width: 0; }

/* Produktseite: Teilen */
.p-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.teilen { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.teilen svg { width: 15px; height: 15px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) { .q-img img, .herz { transition: none; } }

.logo-mark, .foot-logo img { image-rendering: pixelated; }

/* Stornieren */
.storno { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.track-weg { border-color: #c9cfd3; background: #f4f6f7; }
.track-weg h2 { color: #56606a; }
.pill-storniert { background: #e3e6e6; color: #56606a; }
.toast-aktion { font-size: 14px; font-weight: 700; margin-top: 2px; }

/* =====================================================================
   Kundenbewertungen
   ===================================================================== */
.sterne { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; color: #d5d9d9; vertical-align: middle; }
.sterne::before { content: "★★★★★"; }
.sterne-an { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #ffa41c; }
.sterne-an::before { content: "★★★★★"; }
.sterne.gross { font-size: 26px; }
.sterne-zeile { display: inline-flex; align-items: center; gap: 6px; color: var(--link); }
.sterne-zeile:hover { text-decoration: none; color: var(--link-hover); }
.reviews { background: #fff; border-radius: 8px; padding: 18px 20px; margin-top: 14px; }
.reviews h2 { font-size: 21px; margin: 0 0 12px; }
.reviews-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: start; }
.r-schnitt { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.r-balken { display: grid; grid-template-columns: 62px 1fr 42px; align-items: center; gap: 10px; font-size: 13px; color: var(--link); margin: 6px 0; }
.r-spur { height: 20px; background: #f0f2f2; border: 1px solid #e3e6e6; border-radius: 4px; overflow: hidden; }
.r-spur span { display: block; height: 100%; background: #ffa41c; }
.reviews-liste { display: grid; gap: 18px; }
.review { border-bottom: 1px solid #eee; padding-bottom: 14px; }
.review p { margin: 6px 0 0; line-height: 1.5; }
.r-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.r-kopf .mc-head { width: 32px; height: 32px; border-radius: 50%; }
.verifiziert { color: #c45500; font-size: 12px; font-weight: 700; margin-left: 6px; }
.bew-hinweis { background: #fff8e5; border: 1px solid #f0c14b; border-radius: 6px; padding: 8px 12px; margin: 0 0 6px; font-size: 14px; }
.review-row .bew-btn { margin-left: auto; }
.review-row .bew-done { margin-left: auto; }
.bew-form { padding: 10px 0 14px 56px; display: grid; gap: 8px; max-width: 560px; }
.bew-form textarea { border: 1px solid #888c8c; border-radius: 4px; padding: 8px 10px; min-height: 70px; resize: vertical; }
.stern-wahl { display: flex; align-items: center; gap: 2px; }
.stern-wahl button { background: none; border: 0; font-size: 30px; line-height: 1; color: #d5d9d9; cursor: pointer; padding: 0 2px; }
.stern-wahl button.an, .stern-wahl button:hover { color: #ffa41c; }
.stern-wahl .bew-sterntext { margin-left: 8px; }
.bew-aktionen { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
  .bew-form { padding-left: 0; }
}

/* Benachrichtigung */
.glocke { font-size: 12px; margin-left: 6px; }

/* Kasse im Fokus-Modus (wie bei Amazon nur Logo und "Sichere Kasse") */
.kasse-titel { display: none; }
body.kasse-modus .search, body.kasse-modus .curpick, body.kasse-modus .deliver, body.kasse-modus .konto,
body.kasse-modus .sub, body.kasse-modus .livebar, body.kasse-modus .verlauf, body.kasse-modus .tabbar { display: none !important; }
body.kasse-modus .kasse-titel { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; font-size: 22px; font-weight: 400; color: #fff; }
body.kasse-modus .kasse-titel svg { width: 20px; height: 20px; fill: #ccc; }
body.kasse-modus .top { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 700px) {
  body.kasse-modus { padding-bottom: 0; }
  body.kasse-modus .kasse-titel { font-size: 17px; }
  body.kasse-modus .top .cartlink { display: flex; }
}

/* Bedarfs-Rechner */
.bedarf { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 6px; }
.bedarf-row { display: flex; gap: 6px; }
.bedarf-row input { flex: 1; min-width: 0; border: 1px solid #888c8c; border-radius: 6px; padding: 6px 8px; }
.bedarf-row input:focus { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.5); outline: none; }
.bedarf p { margin: 0; }

/* Reiter bei Meine Bestellungen */
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.reiter a { padding: 8px 14px; color: var(--link); border-bottom: 3px solid transparent; white-space: nowrap; }
.reiter a:hover { text-decoration: none; color: var(--link-hover); }
.reiter a.on { color: var(--text); font-weight: 700; border-bottom-color: #e77600; }
.reiter span { display: inline-block; min-width: 20px; text-align: center; background: #e3e6e6; border-radius: 10px; font-size: 12px; padding: 0 6px; margin-left: 4px; color: var(--text); font-weight: 400; }

/* Ohne Internet */
.offline { background: #b12704; color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }

/* Sets */
.set-reihe { margin-top: 14px; background: #fff; border-radius: 10px; border: 1px solid #ddd; padding: 14px 16px; }
.set-reihe .shelf-head { margin-bottom: 12px; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.set-karte { background: #fff; border: 1px solid #e3e6e6; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s ease; }
.set-karte:hover { box-shadow: 0 6px 18px rgba(15,17,17,.12); }
.set-karte h3 { margin: 0; font-size: 18px; }
.set-karte p { margin: -4px 0 0; }
.set-bilder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #f7f8f8; border-radius: 8px; padding: 10px; }
.set-bilder img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.set-liste { list-style: none; margin: 0; padding: 0; font-size: 13px; display: grid; gap: 3px; }
.set-liste li { display: flex; justify-content: space-between; gap: 8px; }
.set-liste li span { color: var(--muted); white-space: nowrap; }
.set-preis { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.sets-seite .set-grid { margin-top: 4px; }

/* Beliebte Suchen */
.sug-titel { padding: 8px 12px 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.sug-ico { width: 16px; height: 16px; fill: #888; flex: none; }

/* Wird oft zusammen gekauft */
.fbt { background: #fff; border-radius: 8px; padding: 18px 20px; margin-top: 14px; }
.fbt h2 { font-size: 21px; margin: 0 0 12px; }
.fbt-body { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.fbt-bilder { display: flex; align-items: center; gap: 10px; }
.fbt-bilder a { display: block; width: 110px; height: 110px; background: #f7f8f8; border-radius: 8px; padding: 12px; transition: opacity .15s ease; }
.fbt-bilder a.aus { opacity: .3; }
.fbt-bilder img { width: 100%; height: 100%; object-fit: contain; }
.fbt-plus { font-size: 26px; color: var(--muted); }
.fbt-kasse { display: grid; gap: 8px; }
.fbt-kasse > div { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.fbt-liste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.fbt-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fbt-liste input { accent-color: #007185; margin-right: 4px; }
.fbt-einzel { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 700px) {
  .fbt { padding: 14px; }
  .fbt-bilder a { width: 76px; height: 76px; padding: 8px; }
  .fbt-kasse { width: 100%; }
  .fbt-kasse .btn { width: 100%; }
}

/* Rechnung */
.order-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.beleg { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 30px; max-width: 900px; margin: 0 auto; }
.beleg h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.beleg p { margin: 0 0 4px; }
.beleg-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 3px solid #febd69; }
.beleg-marke { display: flex; align-items: center; gap: 10px; }
.beleg-marke img { image-rendering: pixelated; }
.beleg-marke b { display: block; font-size: 22px; }
.beleg-marke span { font-size: 12px; color: var(--muted); }
.beleg-titel { text-align: right; display: grid; gap: 2px; font-size: 13px; }
.beleg-titel h1 { margin: 0 0 4px; font-size: 26px; font-weight: 400; }
.beleg-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.beleg-info p { display: flex; align-items: center; gap: 6px; }
.beleg-tabelle { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.beleg-tabelle th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); padding: 8px 6px; }
.beleg-tabelle td { padding: 10px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.beleg-tabelle td > span, .beleg-tabelle td .small { display: block; }
.beleg-tabelle .r { text-align: right; white-space: nowrap; }
.beleg-artikel { display: flex; gap: 10px; align-items: center; }
.beleg-artikel img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.beleg-artikel span { display: block; }
.beleg-deal { color: #cc0c39; font-size: 12px; font-weight: 700; }
.beleg-unten { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.beleg-notiz h2 + p { margin-bottom: 12px; }
.beleg-summen { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14px; background: #f7f8f8; border-radius: 8px; padding: 14px 16px; }
.beleg-summen dt { color: var(--muted); }
.beleg-summen dd { margin: 0; text-align: right; }
.beleg-summen .gesamt { border-top: 1px solid var(--line); padding-top: 8px; font-size: 18px; font-weight: 700; color: #b12704; }
.beleg-summen dt.gesamt { color: var(--text); }
.beleg-danke { margin-top: 16px !important; background: #eaf7ee; border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.beleg-fuss { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); text-align: center; }
.beleg-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
/* nur am Bildschirm, damit der Ausdruck auf A4 die volle Tabelle behält */
@media screen and (max-width: 700px) {
  .beleg { padding: 16px; }
  .beleg-titel { text-align: left; }
  .beleg-info, .beleg-unten { grid-template-columns: 1fr; }
  .beleg-tabelle thead { display: none; }
  .beleg-tabelle tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
  .beleg-tabelle td { border: 0; padding: 0; }
  .beleg-tabelle td:first-child { grid-column: 1 / -1; }
  .beleg-tabelle td:nth-child(3) { display: none; }
}
@media print {
  body { background: #fff !important; padding: 0 !important; }
  .top, .sub, .offline, .livebar, .drawer, .scrim, .sidecart, .verlauf, body > footer, .tabbar, .toast, .buybar, .no-print, .skip { display: none !important; }
  main#app { padding: 0 !important; max-width: none !important; }
  .beleg { border: 0; padding: 0; max-width: none; }
  .beleg-summen, .beleg-danke { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Kundenservice */
.hilfe-kopf { background: linear-gradient(135deg, #232f3e, #37475a); color: #fff; border-radius: 10px; padding: 28px 30px; }
.hilfe-kopf h1 { margin: 0 0 16px; font-size: 28px; font-weight: 700; }
.hilfe-suche { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 0 12px; max-width: 620px; box-shadow: 0 0 0 3px rgba(254,189,105,.0); transition: box-shadow .15s ease; }
.hilfe-suche:focus-within { box-shadow: 0 0 0 3px #febd69; }
.hilfe-suche svg { width: 20px; height: 20px; fill: #888; flex: none; }
.hilfe-suche input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 12px 0; color: var(--text); background: transparent; }
.hilfe-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 16px; }
.hilfe-kachel { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-align: left; font: inherit; color: var(--text); cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease; }
.hilfe-kachel:hover { text-decoration: none; color: var(--text); border-color: #c7c7c7; box-shadow: 0 4px 14px rgba(15,17,17,.12); }
.hilfe-kachel img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.hilfe-kachel b { display: block; font-size: 16px; }
.hilfe-kachel small { color: var(--muted); font-size: 13px; }
.hilfe-faq { background: #fff; border-radius: 10px; padding: 20px 24px; margin-top: 16px; }
.hilfe-faq > h2 { margin: 0 0 6px; font-size: 22px; }
.hilfe-gruppe h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 18px 0 4px; }
.hilfe-faq details { border-bottom: 1px solid var(--line); border-radius: 6px; transition: background .4s ease; }
.hilfe-faq details.blink { background: #fff4e0; }
.hilfe-faq summary { cursor: pointer; padding: 12px 30px 12px 4px; font-weight: 700; list-style: none; position: relative; }
.hilfe-faq summary::-webkit-details-marker { display: none; }
.hilfe-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #555; border-bottom: 2px solid #555; transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.hilfe-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hilfe-faq summary:hover { color: var(--link-hover); }
.hilfe-antwort { padding: 0 4px 12px; font-size: 15px; line-height: 1.5; }
.hilfe-antwort p { margin: 0 0 8px; }
.hilfe-tabelle { border-collapse: collapse; margin: 4px 0 10px; font-size: 14px; }
.hilfe-tabelle td { padding: 4px 14px 4px 0; }
.hilfe-kontakt { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 10px; padding: 18px 24px; margin-top: 16px; }
.hilfe-kontakt img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.hilfe-kontakt h2 { margin: 0 0 4px; font-size: 18px; }
.hilfe-kontakt p { margin: 0; }
@media (max-width: 700px) {
  .hilfe-kopf { padding: 20px 16px; }
  .hilfe-kopf h1 { font-size: 22px; }
  .hilfe-faq { padding: 14px 16px; }
  .hilfe-kontakt { padding: 14px 16px; align-items: flex-start; }
}
