:root {
  --brand: #14281d;
  --brand-2: #1f3d2c;
  --gold: #d6aa4c;
  --gold-soft: #f6ecd3;
  --accent: #d2452f;
  --accent-ink: #fff;
  --bg: #f5f3ee;
  --surface: #fff;
  --surface-2: #f0ede6;
  --line: #e4dfd5;
  --ink: #1a1d1b;
  --muted: #6c706b;
  --ok: #1f8a4c;
  --warn: #b7791f;
  --danger: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,40,29,.06), 0 6px 20px rgba(20,40,29,.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 650; background: var(--surface-2); text-decoration: none; transition: transform .08s, background .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #bd3b27; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 17px; }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface-2); font-size: 20px; line-height: 1; }

/* Header */
.hero { background: radial-gradient(1200px 300px at 80% -20%, color-mix(in srgb, var(--brand) 70%, #fff 20%) 0%, transparent 60%), linear-gradient(160deg, var(--brand-2), var(--brand)); color: #fff; padding: 22px 16px 26px; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 18px; align-items: center; }
.logo { width: 76px; height: 76px; border-radius: 50%; flex: none; background: var(--brand-2) var(--logo) center/cover no-repeat; box-shadow: 0 0 0 3px var(--gold); }
.hero h1 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.01em; }
.hero h1 span { color: var(--gold); }
.hero .tag { color: #cfe0d4; margin-top: 4px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: #eef5f0; white-space: nowrap; }
.chip.open { background: rgba(46,180,100,.22); color: #c9f5d9; }
.chip.closed { background: rgba(210,69,47,.25); color: #ffd6cf; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.notice { max-width: 1180px; margin: 14px auto 0; padding: 12px 16px; border-radius: var(--radius); background: var(--gold-soft); color: #5b4511; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.notice.danger { background: #fde6e2; color: #7a2316; }
.wrap-notice { padding: 0 16px; }

/* Layout */
.layout { max-width: 1180px; margin: 0 auto; padding: 0 16px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } .cart-side { display: none; } }

/* Sticky nav */
.toolbar { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 12px 0 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.toolbar.stuck { box-shadow: 0 6px 12px -10px rgba(0,0,0,.25); }
.mode-search { display: flex; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.search { flex: 1; min-width: 0; position: relative; }
.search input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 14px 10px 38px; outline: none; }
.search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(31,61,44,.12); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catnav { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 10px; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: none; text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; color: var(--muted); }
.catnav a.active { background: var(--ink); color: #fff; }

/* Menu */
.cat { padding-top: 18px; }
.cat h2 { font-size: 22px; letter-spacing: -.01em; }
.cat .note { color: var(--muted); font-size: 14px; margin-top: 3px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.item { position: relative; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 54px 14px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 96px; transition: border-color .15s, box-shadow .15s; width: 100%; }
.item:hover { border-color: #cfc8b9; box-shadow: var(--shadow); }
.item .nm { font-weight: 650; font-size: 16px; }
.item .nr { color: var(--muted); font-weight: 500; font-size: 13px; margin-right: 4px; }
.item .ds { color: var(--muted); font-size: 14px; }
.item .pr { margin-top: auto; padding-top: 6px; font-weight: 700; }
.item .add { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--brand); }
.item .incart { position: absolute; right: 12px; top: 12px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.item.soldout { opacity: .55; }
.item .badge { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--danger); }
.empty-search { padding: 40px 0; text-align: center; color: var(--muted); }

/* Cart */
.cart-side { position: sticky; top: 16px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cart { padding: 18px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 32px); }
.cart h3 { font-size: 20px; }
.cart-lines { overflow-y: auto; display: flex; flex-direction: column; gap: 14px; margin: 0 -4px; padding: 0 4px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.line .t { font-weight: 600; }
.line .o { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.line .ctr { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; color: var(--brand); }
.qty span { min-width: 22px; text-align: center; font-weight: 650; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.sums { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.sums div { display: flex; justify-content: space-between; }
.sums .total { font-weight: 750; font-size: 18px; }
.min-hint { font-size: 13px; color: var(--warn); background: #fdf3e1; border-radius: 10px; padding: 8px 10px; }
.cart-empty { text-align: center; color: var(--muted); padding: 22px 0; }
.cart-empty .big { font-size: 40px; }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 30%); display: none; }
@media (max-width: 960px) { .cart-bar.show { display: block; } }
.cart-bar .btn { width: 100%; justify-content: space-between; box-shadow: 0 8px 24px rgba(210,69,47,.35); }
.cart-bar .count { background: rgba(255,255,255,.22); border-radius: 999px; min-width: 28px; height: 28px; display: grid; place-items: center; font-size: 14px; padding: 0 6px; }

/* Sheet / Modal */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(10,18,13,.5); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: var(--surface); width: 100%; max-width: 520px; max-height: 90vh; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; animation: pop .2s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
@media (max-width: 600px) {
  .overlay { align-items: flex-end; padding: 0; }
  .sheet { max-width: none; border-radius: 20px 20px 0 0; max-height: 92vh; animation: up .22s ease-out; }
  @keyframes up { from { transform: translateY(100%); } }
}
.sheet-head { padding: 18px 18px 6px; display: flex; gap: 12px; align-items: flex-start; }
.sheet-head h3 { font-size: 21px; flex: 1; }
.sheet-body { padding: 6px 18px 18px; overflow-y: auto; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.opt-group { margin-top: 18px; }
.opt-group h4 { margin: 0 0 8px; font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; }
.opt-group h4 small { font-weight: 500; color: var(--muted); font-size: 12px; background: var(--surface-2); padding: 2px 8px; border-radius: 999px; }
.opt-group h4 small.req { background: var(--gold-soft); color: #6b5212; }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.opt span { flex: 1; }
.codes { font-size: 12px; color: var(--muted); margin-top: 10px; }
.codes button { font-size: 12px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); outline: none; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(31,61,44,.12); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-addr { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.hp { position: absolute; left: -9999px; }

/* Checkout */
.page { max-width: 1000px; margin: 0 auto; padding: 16px 16px 120px; }
.topbar { background: var(--brand); color: #fff; padding: 12px 16px; position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.topbar .icon-btn { background: rgba(255,255,255,.12); color: #fff; }
.topbar b { font-size: 17px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .co { grid-template-columns: minmax(0, 1fr); } }
.section { padding: 18px; }
.section + .section { border-top: 1px solid var(--line); }
.section h3 { font-size: 17px; margin-bottom: 12px; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.radio-card:has(input:checked) { border-color: var(--brand); background: #f3f7f4; }
.radio-card input { margin-top: 3px; accent-color: var(--brand); }
.radio-card b { display: block; font-size: 15px; }
.radio-card small { color: var(--muted); }
.radio-card.disabled { opacity: .5; cursor: not-allowed; }
.err { background: #fde6e2; color: #7a2316; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.legal { font-size: 12px; color: var(--muted); }

/* Tracking */
.track-hero { text-align: center; padding: 26px 18px; }
.track-hero .em { font-size: 54px; line-height: 1; }
.track-hero h2 { font-size: 24px; margin-top: 10px; }
.eta-big { font-size: 44px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); margin-top: 6px; }
.steps { display: flex; justify-content: space-between; position: relative; margin: 8px 18px 22px; }
.steps::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 3px; background: var(--line); }
.steps .bar { position: absolute; left: 14px; top: 13px; height: 3px; background: var(--ok); transition: width .5s; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; text-align: center; font-size: 12px; color: var(--muted); }
.step i { width: 29px; height: 29px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.step.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.now i { border-color: var(--ok); box-shadow: 0 0 0 5px rgba(31,138,76,.15); animation: pulse 1.6s infinite; }
.step.now { color: var(--ink); font-weight: 600; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(31,138,76,0); } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* Footer */
.foot { background: var(--brand); color: #cfdcd3; padding: 32px 16px calc(100px + var(--safe-b)); font-size: 14px; }
.foot-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.foot h4 { color: #fff; margin: 0 0 8px; font-size: 15px; }
.foot a { color: #fff; }
.hours-tbl { border-collapse: collapse; }
.hours-tbl td { padding: 2px 14px 2px 0; }
.hours-tbl tr.today td { color: var(--gold); font-weight: 650; }

.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%); z-index: 80; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: fade .2s; max-width: calc(100vw - 32px); }
.install { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.install .em { font-size: 26px; }

/* Fotos & Merkmale */
.item.has-img { padding-right: 128px; min-height: 128px; }
.item .pic { position: absolute; right: 12px; top: 12px; width: 104px; height: 104px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.item.has-img .add, .item.has-img .incart { top: auto; bottom: 10px; right: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.18); background: var(--surface); }
.item.has-img .incart { background: var(--brand); }
.tgs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tg { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.dlg-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; display: block; }
