/* ==========================================================================
   BBS-Kaminholz – Erweiterungen für den Shop (baut auf main.css + motion.css)
   Warenkorb-Popup, Merkliste, Galerie, Kasse, Sendungsverfolgung, Chat,
   Cookie-Hinweis, WhatsApp, Vorteile, Lieferung, Rechtstexte.
   ========================================================================== */

/* ---------- Kleinigkeiten ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.mono, .input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.footer .linklike { color: #fff; text-decoration: none; }
.footer .linklike:hover { color: var(--ember-2); }
.brand-img { max-height: 52px; width: auto; }
body.no-glow .cursor-glow { display: none !important; }
body.no-embers canvas.embers { display: none; }
.hero2__media::after { opacity: var(--ov, 1); }
.hero2--single .slide img { animation: kenburns 18s ease-out forwards; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading::before { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.add-btn.loading { opacity: .6; pointer-events: none; }
.withdraw-link { font-weight: 600; }
.mnav__contact { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.mnav__contact a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; color: var(--pine); }
.mnav__contact svg { width: 20px; height: 20px; color: var(--ember); }
.topbar .ticker svg { width: 15px; height: 15px; color: var(--ember-2); flex: none; }

/* Hinweise */
.flash { position: fixed; z-index: 130; top: 92px; left: 50%; translate: -50% 0; background: var(--pine); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: var(--t-sm); transition: opacity .4s, translate .4s; }
.flash--err { background: var(--err); }
.flash.hide { opacity: 0; translate: -50% -20px; pointer-events: none; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r-m); margin: 0 0 20px; font-size: var(--t-sm); background: var(--ember-soft); color: #8C3410; border: 1px solid #F3C7B0; }
.alert svg { width: 20px; height: 20px; flex: none; }
.alert--err { background: #F8E4E2; color: var(--err); border-color: #EBC4C0; }
.alert--ok { background: #DDEFE3; color: var(--ok); border-color: #BFDDC9; }
.msg { display: flex; gap: 6px; align-items: center; }
.msg svg { width: 16px; height: 16px; }
.toast span { display: inline-flex; gap: 8px; align-items: center; }
.toast svg { width: 18px; height: 18px; color: var(--ember-2); }

/* ---------- Produktkarte: Merken, Ab-Preis ---------- */
.pcard { transition: border-color .3s, box-shadow .3s, opacity .3s, transform .3s; }
.pcard[hidden] { display: none !important; }
.pcard.leaving { opacity: 0; transform: scale(.94); }
.price .from { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.chip--out { background: #F8E4E2; color: var(--err); border-color: #EBC4C0; }
.wish-btn { position: absolute; z-index: 4; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(250,251,248,.92); color: var(--pine); display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; box-shadow: 0 6px 16px -10px rgba(23,58,44,.5); }
.wish-btn svg { width: 20px; height: 20px; transition: fill .2s; }
.wish-btn:hover { transform: scale(1.1); color: var(--ember); }
.wish-btn.on, .wish-btn-lg.on { color: var(--ember); }
.wish-btn.on svg, .wish-btn-lg.on svg { fill: currentColor; animation: heart .5s var(--ease); }
@keyframes heart { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
.wish-btn-lg { flex: 1 1 100%; }
.wish-count { background: var(--pine); }
.grid-products .pcard { animation: none; }

/* ---------- Warenkorb-Popup (Desktop: Mitte, Mobil: von unten) ---------- */
.cmodal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.cmodal__bg { position: absolute; inset: 0; background: rgba(23,58,44,.42); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.cmodal__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--frost); border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(23,58,44,.65); overflow: hidden; transform: translateY(22px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.cmodal.open { pointer-events: auto; }
.cmodal.open .cmodal__bg { opacity: 1; }
.cmodal.open .cmodal__box { transform: none; opacity: 1; }
.cmodal__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px 22px; border-bottom: 1px solid var(--line); }
.cmodal__head h3 { margin: 0; flex: 1; font-size: 1.35rem; }
.cmodal__ok { width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; animation: pop .5s var(--ease); }
.cmodal__ok svg { width: 18px; height: 18px; stroke-width: 3; }
.cmodal__body { padding: 20px 22px 8px; overflow-y: auto; }
.cm-also { margin: 20px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cm-line { position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; transition: opacity .25s, transform .25s; }
.cm-line + .cm-line { border-top: 1px solid var(--line); }
.cm-line.leaving { opacity: 0; transform: translateX(24px); }
.cm-line--big { background: var(--paper); border-radius: 16px; padding: 14px; box-shadow: 0 10px 26px -18px rgba(23,58,44,.45); border: 1px solid var(--line); animation: fade .45s var(--ease); }
.cm-line--big + .cm-line { border-top: 0; }
.cm-line__img img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--sap); }
.cm-line__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cm-line__name { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: var(--pine); text-decoration: none; line-height: 1.2; }
.cm-line__price { color: var(--bark); font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.cm-line__qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cm-line__qty .qty { margin-top: 0; }
.cm-line__rm { border: 0; background: none; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cm-line__rm:hover { background: var(--frost-2); color: var(--err); }
.cm-line__rm svg { width: 16px; height: 16px; }
.cmodal__foot { padding: 18px 22px 16px; background: var(--frost-2); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cmodal__sum { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cmodal__total { font-family: var(--f-display); font-size: 1.7rem; color: var(--bark); white-space: nowrap; line-height: 1; }
.cmodal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmodal__btns .btn { letter-spacing: .02em; }
.cmodal__view { justify-self: center; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 640px) {
  .cmodal { place-items: end stretch; padding: 0; }
  .cmodal__box { width: 100%; border-radius: 24px 24px 0 0; max-height: 92vh; transform: translateY(100%); opacity: 1; }
  .cmodal__btns { grid-template-columns: 1fr; }
  .cmodal__btns .btn--ember { order: -1; }
}
.drawer .cm-line { grid-template-columns: 64px 1fr auto; }
.drawer .cm-line__img img { width: 64px; height: 64px; }

/* ---------- Produktseite ---------- */
.gallery__main { position: relative; }
.gallery__main .pbadge { z-index: 2; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; background: rgba(250,251,248,.92); color: var(--pine); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); transition: transform .3s var(--ease); pointer-events: none; }
.gallery__zoom svg { width: 16px; height: 16px; }
.gallery__main:hover .gallery__zoom { transform: translateY(-3px); }
.gallery__main:hover img { transform: scale(1.04); }
.seg button.is-out { opacity: .5; text-decoration: line-through; }
.pd-facts { margin-top: 6px; border: 0; padding: 0; gap: 10px 22px; }
.pd-buy .btn--block { flex: 1 1 100%; }

/* Lightbox-Galerie (ähnlich Fancybox) */
.gbox { position: fixed; inset: 0; z-index: 400; background: rgba(15,30,23,.96); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; color: #fff; }
.gbox.open { opacity: 1; pointer-events: auto; }
.gbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.gbox__top > div { display: flex; gap: 8px; }
.gbox__count { font-size: var(--t-sm); font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
.gbox__btn, .gbox__nav { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.gbox__btn:hover, .gbox__nav:hover { background: var(--ember); }
.gbox__btn svg { width: 20px; height: 20px; }
.gbox__stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; min-height: 0; position: relative; }
.gbox__nav { font-size: 30px; line-height: 1; flex: none; }
.gbox.single .gbox__nav { visibility: hidden; }
.gbox__fig { margin: 0; flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; overflow: hidden; }
.gbox__fig img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: 10px; cursor: zoom-in; transition: transform .35s var(--ease), opacity .2s; transform: scale(.96); }
.gbox.open .gbox__fig img { transform: none; }
.gbox__fig img.swap { opacity: 0; }
.gbox.zoomed .gbox__fig img { transform: scale(2.2); cursor: zoom-out; }
.gbox__fig figcaption { margin-top: 12px; font-size: var(--t-sm); opacity: .8; text-align: center; }
.gbox__thumbs { display: flex; gap: 8px; justify-content: center; padding: 12px 16px 18px; overflow-x: auto; }
.gbox__thumbs button { flex: none; width: 70px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .55; cursor: pointer; background: none; transition: opacity .2s, border-color .2s; }
.gbox__thumbs button.on { opacity: 1; border-color: var(--ember); }
.gbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gbox__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 40px; height: 40px; } .gbox__prev { left: 8px; } .gbox__next { right: 8px; } }

/* ---------- Unsere Vorteile ---------- */
.usp-sec { position: relative; overflow: hidden; }
.usps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.usp { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 24px 26px; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.usp::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 9px, rgba(201,138,43,.13) 9px 10px); z-index: -1; transition: transform 1s var(--ease); }
.usp:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.usp:hover::after { transform: rotate(40deg) scale(1.15); }
.usp__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--pine); color: var(--ember-2); display: grid; place-items: center; margin-bottom: 18px; transition: transform .5s var(--ease), background .3s; }
.usp:hover .usp__ico { transform: rotate(-8deg) scale(1.06); background: var(--ember); color: #fff; }
.usp__ico svg { width: 28px; height: 28px; }
.usp__n { position: absolute; top: 18px; right: 22px; font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); line-height: 1; }
.usp h3 { margin-bottom: 8px; }
.usp p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
@media (max-width: 1000px) { .usps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .usps { grid-template-columns: minmax(0, 1fr); } }

.cats--3 { grid-template-rows: 260px 220px; }
.cats--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 300px; }
.cats--2 .cat--big { grid-row: auto; } .cats--2 .cat--logs { grid-column: auto; }
.cats--1 { grid-template-columns: 1fr; grid-template-rows: 320px; }

/* ---------- Shop ---------- */
.seo-text { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.seo-text h2 { font-size: var(--t-xl); }
.seo-text p { color: var(--muted); }
.grid-products .empty-state[hidden] { display: none; }

/* ---------- Kasse ---------- */
.addr-wrap { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 50px -20px rgba(23,58,44,.45); padding: 6px; display: none; max-height: 300px; overflow: auto; }
.addr-list.open { display: block; animation: drop .2s var(--ease); }
.addr-item { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; padding: 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: var(--t-sm); }
.addr-item svg { width: 16px; height: 16px; color: var(--ember); flex: none; }
button.addr-item:hover, .addr-item.active { background: var(--frost); }
.zip-info { font-size: var(--t-xs); min-height: 1em; }
.zip-info.ok { color: var(--ok); } .zip-info.no { color: var(--err); }
.pay-opts label.is-disabled { opacity: .6; cursor: not-allowed; background: var(--frost-2); }
.pay-opts b { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-opts b svg { width: 20px; height: 20px; color: var(--ember); }
.badge-maint { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #FBEFD4; color: #8A5A0F; border: 1px solid #EBD3A1; }
.co-items { display: grid; gap: 12px; }
.co-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: var(--t-sm); }
.co-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sap); }
.co-item small { display: block; }
.trust { display: grid; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.trust li { display: flex; gap: 10px; align-items: center; font-size: var(--t-xs); color: var(--muted); }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.field.has-err .input { border-color: var(--err); }

/* ---------- Bestätigung ---------- */
.success-page { padding: clamp(36px, 6vw, 72px) var(--gut) var(--sec); }
.success { padding: 10px 0 30px; }
.success h1 { font-size: var(--t-2xl); }
.success__icon--warn { background: #FBEFD4; color: var(--warn); }
.draw-check { width: 56px !important; height: 56px !important; }
.draw-check circle { stroke: var(--ember); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ringdraw .9s var(--ease) .2s forwards; }
.draw-check path { stroke: var(--ember); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: ringdraw .5s var(--ease) .9s forwards; }
.order-no { display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; margin: 10px 0 24px; background: var(--paper); border: 1.5px dashed var(--line-2); border-radius: 999px; }
.order-no span { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.order-no b { font-family: ui-monospace, Menlo, monospace; font-size: 1.15rem; color: var(--pine); letter-spacing: .06em; }
.copy-btn { border: 0; background: var(--frost-2); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--pine); flex: none; transition: background .2s; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.copied { background: var(--ok); color: #fff; }
.success__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.success__actions form { margin: 0; }
.success-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin: 10px 0 30px; }
.success-grid h3 { display: flex; gap: 10px; align-items: center; font-size: 1.25rem; }
.success-grid h3 svg { width: 22px; height: 22px; color: var(--ember); }
.bank-card { border-left: 4px solid var(--ember); }
.bank-card--ok { border-left-color: var(--ok); }
.bank-dl { display: grid; gap: 2px; margin: 12px 0 0; }
.bank-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bank-dl dt { font-size: var(--t-xs); color: var(--muted); }
.bank-dl dd { margin: 0; display: flex; justify-content: space-between; gap: 8px; align-items: center; font-weight: 700; color: var(--pine); font-variant-numeric: tabular-nums; word-break: break-all; }
.bank-dl--sm > div { grid-template-columns: 90px 1fr; padding: 6px 0; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: ns; }
.next-steps li { position: relative; padding: 0 0 18px 44px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line-2); font-weight: 700; font-size: 13px; color: var(--muted); }
.next-steps li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.next-steps li:last-child::after { display: none; }
.next-steps li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.next-steps li.cur::before { border-color: var(--ember); color: var(--ember); animation: pulse 1.8s infinite; }
.next-steps b { display: block; color: var(--pine); }
.next-steps span { font-size: var(--t-sm); color: var(--muted); }

/* ---------- Sendungsverfolgung ---------- */
.track-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.track-form { position: relative; padding-top: 36px; }
.track-form__ico { position: absolute; top: -28px; left: 28px; width: 60px; height: 60px; border-radius: 18px; background: var(--ember); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-warm); animation: float 5s ease-in-out infinite; }
.track-form__ico svg { width: 30px; height: 30px; }
.track-form h2 { font-size: var(--t-xl); margin-top: 8px; }
.track-help { padding: 10px 0; }
.checklist { display: grid; gap: 12px; margin: 14px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); }
.checklist svg { width: 20px; height: 20px; color: var(--ember); flex: none; margin-top: 1px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.track-head h2 { margin: 2px 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); }
.status--lg { font-size: 14px; padding: 8px 16px; }
.status--vorbereitung { background: #EDE6F6; color: #5B3F8A; }
.status--widerrufen { background: #EFE3E3; color: var(--err); }
.track-progress { padding: 28px clamp(18px, 3vw, 34px) 22px; margin-bottom: 18px; overflow: hidden; }
.tp-bar { position: relative; height: 8px; background: var(--frost-2); border-radius: 8px; margin: 30px 18px 18px; }
.tp-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(90deg, var(--amber), var(--ember)); width: 0; animation: tpfill 1.6s var(--ease) forwards; }
@keyframes tpfill { from { width: 0; } }
.tp-truck { position: absolute; top: 50%; translate: -50% -78%; width: 46px; height: 46px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(23,58,44,.7); animation: tpdrive 1.6s var(--ease) both; }
.tp-truck svg { width: 24px; height: 24px; animation: bounce .8s ease-in-out infinite alternate; }
@keyframes tpdrive { from { left: 0 !important; } }
@keyframes bounce { to { transform: translateY(-2px); } }
.tp-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; text-align: center; }
.tp-steps li { display: grid; justify-items: center; gap: 8px; font-size: var(--t-xs); color: var(--muted); }
.tp-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line-2); font-weight: 700; font-size: 13px; }
.tp-dot svg { width: 16px; height: 16px; stroke-width: 3; }
.tp-steps li.done .tp-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.tp-steps li.cur .tp-dot { border-color: var(--ember); color: var(--ember); animation: pulse 1.8s infinite; }
.tp-steps li.done b, .tp-steps li.cur b { color: var(--pine); }
.track-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.track-main, .track-side { display: grid; gap: 18px; }
.track .card h3 { display: flex; gap: 10px; align-items: center; font-size: 1.2rem; }
.track .card h3 svg { width: 20px; height: 20px; color: var(--ember); }
.pay-state { font-weight: 700; }
.pay-state--offen { color: var(--warn); } .pay-state--bezahlt { color: var(--ok); } .pay-state--erstattet { color: var(--muted); }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--line-2); flex: none; margin-top: 3px; box-shadow: 0 0 0 4px var(--paper); }
.timeline li:first-child .tl-dot { background: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); }
.tl-dot--geliefert, .tl-dot--bezahlt { background: var(--ok); }
.tl-dot--storniert, .tl-dot--widerrufen { background: var(--err); }
.timeline b { color: var(--pine); display: block; }
.timeline time { font-size: var(--t-xs); color: var(--muted); }
.timeline p { margin: 6px 0 0; font-size: var(--t-sm); background: var(--frost); padding: 10px 12px; border-radius: 10px; }

/* Chat */
.chat__list { display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; padding: 14px; margin: 12px 0; background: var(--frost); border-radius: var(--r-m); scroll-behavior: smooth; }
.chat__empty { text-align: center; margin: 20px 0; font-size: var(--t-sm); }
.msg-b { max-width: 82%; display: flex; flex-direction: column; gap: 4px; }
.msg-b.new { animation: fade .4s var(--ease); }
.msg-b__in { padding: 10px 14px; border-radius: 16px; font-size: var(--t-sm); box-shadow: 0 4px 12px -8px rgba(23,58,44,.4); }
.msg-b__in p { margin: 0; }
.msg-b--customer { align-self: flex-end; align-items: flex-end; }
.msg-b--customer .msg-b__in { background: var(--pine); color: #fff; border-bottom-right-radius: 4px; }
.msg-b--admin .msg-b__in { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-b time { font-size: 11px; color: var(--muted); }
.msg-file { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-weight: 600; font-size: 12px; color: inherit; }
.msg-file svg { width: 15px; height: 15px; }
.chat__form textarea { min-height: 70px; }
.chat__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.chat__file { display: inline-flex; gap: 8px; align-items: center; font-size: var(--t-sm); font-weight: 600; color: var(--pine); cursor: pointer; padding: 8px 12px; border-radius: 999px; border: 1.5px dashed var(--line-2); max-width: 60%; overflow: hidden; }
.chat__file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__file svg { width: 18px; height: 18px; color: var(--ember); flex: none; }

/* ---------- Lieferung ---------- */
.dsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.dsteps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.dstep { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 22px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.dstep:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dstep__n { position: absolute; top: 12px; left: 16px; font-family: var(--f-display); font-weight: 700; color: var(--line-2); font-size: 1.6rem; }
.dstep__ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--ember-soft); color: var(--ember); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); }
.dstep__ico svg { width: 30px; height: 30px; }
.dstep p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
.trucks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.truck-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 24px; }
.truck-card--hot { border-color: var(--ember); box-shadow: inset 0 4px 0 var(--ember); }
.truck-card__ico { width: 54px; height: 54px; border-radius: 14px; background: var(--pine); color: var(--ember-2); display: grid; place-items: center; margin-bottom: 14px; }
.truck-card__ico svg { width: 28px; height: 28px; }
.truck-card p { color: var(--muted); font-size: var(--t-sm); }
.plz-check--big .plz-row { padding: 6px; }
.plz-check--big input { font-size: 1.2rem; }
.zone-table td { vertical-align: top; }
.zone-table .free { color: var(--ok); }
.zdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--c); margin-right: 8px; vertical-align: -1px; }
.cta-band .btn--light { margin-left: 8px; }
@media (max-width: 900px) { .dsteps { grid-template-columns: 1fr 1fr; } .dsteps::before { display: none; } .trucks { grid-template-columns: 1fr; } .track-grid, .track-find { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .dsteps { grid-template-columns: 1fr; } .tp-steps b { font-size: 10px; } .cta-band .btn--light { margin: 10px 0 0; } }

/* ---------- Kontakt: Karte nach Klick ---------- */
.map2click { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sap); display: block !important; }
.map2click > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) blur(1px); }
.map2click__over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; background: rgba(23,58,44,.62); color: #fff; }
.map2click__over svg { width: 34px; height: 34px; color: var(--ember-2); }
.map2click__over p { margin: 0; font-size: var(--t-xs); max-width: 34ch; }
.map2click iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list > .map2click svg { margin: 0; }

/* ---------- Rechtliches ---------- */
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(20px, 4vw, 48px); align-items: start; }
.legal { max-width: none; padding: clamp(22px, 4vw, 48px); }
.legal h2 { font-size: var(--t-lg); margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal blockquote { margin: 1em 0; padding: 16px 20px; background: var(--frost); border-left: 4px solid var(--amber); border-radius: 0 var(--r-s) var(--r-s) 0; }
.legal ul { padding-left: 1.2em; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 12px; }
.legal-nav h4 { font-family: var(--f-body); font-size: var(--t-sm); margin: 0; }
.legal-nav ul { display: grid; gap: 4px; }
.legal-nav a { display: block; padding: 8px 12px; border-radius: var(--r-s); text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.legal-nav a:hover { background: var(--paper); }
.legal-nav a[aria-current] { background: var(--pine); color: #fff; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; } }
@media print { .header, .topbar, .footer, .page-hero, .legal-nav, .wa, .call-fab, .consent { display: none !important; } .legal { border: 0; padding: 0; } }

/* ---------- Cookie-Hinweis ---------- */
.consent { position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent__box { pointer-events: auto; width: min(980px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; box-shadow: 0 30px 70px -25px rgba(23,58,44,.6); transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.consent.show .consent__box { transform: none; opacity: 1; }
.consent__icon svg { width: 48px; height: 48px; }
.consent h3 { margin: 0 0 4px; font-size: 1.2rem; }
.consent p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.consent__btns { display: grid; gap: 8px; }
.consent__opts { display: grid; gap: 8px; margin-top: 12px; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--frost); border-radius: 10px; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; accent-color: var(--ember); margin-top: 2px; }
.consent__opt small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .consent__box { grid-template-columns: minmax(0, 1fr); } .consent__icon { display: none; } .consent__btns { grid-template-columns: 1fr 1fr; } .consent__btns .btn--ember { grid-column: 1 / -1; } }

/* ---------- WhatsApp & Schnellanruf ---------- */
.wa { position: fixed; z-index: 90; bottom: var(--wa-off, 20px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa--right { right: 20px; } .wa--left { left: 20px; align-items: flex-start; }
.wa__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); animation: waIn .6s var(--ease) 1s both; }
.wa__btn:hover { color: #fff; transform: scale(1.08) rotate(-6deg); }
.wa__btn svg { width: 32px; height: 32px; }
.wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.4s ease-out infinite; }
.wa__dot { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ember); border: 2px solid #fff; }
@keyframes waIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wa__bubble { position: relative; width: min(320px, calc(100vw - 40px)); background: var(--paper); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(23,58,44,.55); overflow: hidden; transform: translateY(14px) scale(.96); opacity: 0; transform-origin: bottom right; transition: transform .35s var(--ease), opacity .3s; }
.wa--left .wa__bubble { transform-origin: bottom left; }
.wa.open .wa__bubble { transform: none; opacity: 1; }
.wa__head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #075E54; color: #fff; }
.wa__head b { display: block; font-size: var(--t-sm); }
.wa__head small { font-size: 12px; opacity: .85; }
.wa__avatar { position: relative; width: 42px; height: 42px; flex: none; }
.wa__avatar svg { width: 42px; height: 42px; }
.wa__avatar i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #25D366; border: 2px solid #075E54; }
.wa__msg { margin: 16px; padding: 10px 14px 6px; background: #fff; border-radius: 0 12px 12px 12px; box-shadow: 0 2px 6px rgba(0,0,0,.08); font-size: var(--t-sm); position: relative; }
.wa__msg::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; }
.wa__msg p { margin: 0 0 4px; }
.wa__msg time { display: block; text-align: right; font-size: 11px; color: var(--muted); }
.wa__bubble { background-image: radial-gradient(rgba(7,94,84,.05) 1px, transparent 1px); background-size: 14px 14px; }
.wa__cta { display: flex; justify-content: center; gap: 10px; align-items: center; margin: 0 16px 16px; padding: 12px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; text-decoration: none; }
.wa__cta:hover { color: #fff; background: #1ebe5a; }
.wa__cta svg { width: 20px; height: 20px; }
.wa__x { position: absolute; top: 10px; right: 10px; z-index: 2; border: 0; background: rgba(255,255,255,.2); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.wa__x svg { width: 14px; height: 14px; }
.call-fab { display: none; position: fixed; z-index: 89; bottom: 20px; align-items: center; gap: 8px; padding: 0 18px 0 14px; height: 52px; border-radius: 999px; background: var(--ember); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-warm); animation: waIn .6s var(--ease) 1.2s both; }
.call-fab svg { width: 22px; height: 22px; animation: ring 3s ease-in-out infinite; }
.call-fab:hover { color: #fff; }
.call-fab--right { right: 20px; } .call-fab--left { left: 20px; }
@keyframes ring { 0%, 86%, 100% { transform: none; } 88% { transform: rotate(-14deg); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); } }
@media (max-width: 900px) {
  .call-fab { display: inline-flex; }
  .wa--no-mobile { display: none; }
  .wa { bottom: 16px; } .wa--right { right: 14px; } .wa--left { left: 14px; }
  .call-fab { bottom: 18px; } .call-fab--right { right: 14px; } .call-fab--left { left: 14px; }
}
@media (min-width: 901px) { .wa--no-desktop { display: none; } }
body:has(.cmodal.open) .wa, body:has(.cmodal.open) .call-fab { opacity: 0; pointer-events: none; }
body:has(.consent.show) .wa, body:has(.consent.show) .call-fab { bottom: 190px; }

/* ---------- 404 & Wartung ---------- */
.nf { text-align: center; padding: clamp(50px, 8vw, 110px) var(--gut) var(--sec); }
.nf__art { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: clamp(6rem, 4rem + 8vw, 11rem); color: var(--pine); line-height: 1; margin-bottom: 20px; }
.nf__logo { width: clamp(90px, 14vw, 150px); height: auto; }
.mt-body { margin: 0; }
.mt { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; isolation: isolate; overflow: hidden; background: var(--bark); }
.mt__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 24s ease-out forwards; }
.mt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(23,58,44,.92), rgba(23,58,44,.6)); z-index: -1; }
.mt canvas.embers { z-index: 0; }
.mt__box { position: relative; z-index: 2; max-width: 620px; text-align: center; color: #fff; }
.mt__logo { width: 96px; height: 96px; margin: 0 auto 22px; animation: float 6s ease-in-out infinite; }
.mt h1 { color: #fff; font-size: var(--t-2xl); }
.mt .lead { color: rgba(255,255,255,.88); margin: 0 auto 18px; }
.mt__until { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.mt__until svg { width: 18px; height: 18px; color: var(--ember-2); }
.mt__contact { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Installation (verwendet admin.css) ---------- */
.section + .usp-sec { padding-top: 0; }

.cats { grid-auto-rows: 220px; }
.pd-desc img { border-radius: var(--r-m); margin: 12px 0; height: auto; }
.pd-desc table { width: 100%; border-collapse: collapse; } .pd-desc td, .pd-desc th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.opt-cur { color: var(--ember); font-weight: 700; }

/* Menü: Shop mit Kategorien */
.nav a { white-space: nowrap; }
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd > a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-dd:hover > a svg, .nav-dd:focus-within > a svg { transform: rotate(180deg); }
.nav-dd__menu { position: absolute; top: calc(100% + 8px); left: -10px; min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 50px -20px rgba(23,58,44,.45); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; z-index: 80; }
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); font-weight: 600; }
.nav-dd__menu a::after { display: none; }
.nav-dd__menu img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.nav-dd__menu a:hover { background: var(--frost); }
.nav-dd__all { color: var(--ember) !important; border-top: 1px solid var(--line); margin-top: 4px; }
.msub { display: grid; gap: 2px; padding: 4px 0 10px 14px; border-bottom: 1px solid var(--line); }
.msub a { text-decoration: none; padding: 6px 0; font-weight: 600; color: var(--pine-2); }
.seg button.is-out[aria-pressed="true"] { text-decoration: none; opacity: 1; }
