/* möbius — Weihnachtsbestellung (Seite + Warenkorb) */

.xm-page { background: var(--ink); color: var(--linen); }

/* ---------- Hero ---------- */
.xm-hero {
  position: relative; min-height: 56vh; padding: 170px 0 72px;
  display: flex; align-items: flex-end; text-align: center; overflow: hidden;
  border-bottom: 1px solid rgba(243,236,223,.08);
}
.xm-hero-bg { position: absolute; inset: 0; z-index: 0; }
.xm-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.xm-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,19,.6) 0%, rgba(20,16,19,.45) 40%, rgba(20,16,19,.92) 100%);
}
.xm-hero .container { position: relative; z-index: 1; }
.xm-hero .eyebrow { color: var(--gold); }
.xm-hero h1 {
  font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6vw, 76px);
  line-height: 1.03; letter-spacing: -.025em; margin: 18px 0 20px; color: var(--linen);
}
.xm-hero h1 em { font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--gold); }
.xm-hero p { max-width: 560px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: rgba(243,236,223,.85); }
.xm-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.xm-facts li { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,236,223,.75); }
.xm-facts b { color: var(--gold); font-weight: 500; }

/* ---------- Hauptbereich ---------- */
.xm-main { background: var(--linen); color: var(--ink); padding: 64px 0 110px; }
.xm-list-title { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: clamp(38px, 4.6vw, 54px); line-height: 1.1; color: var(--ink); text-align: center; margin: 0 0 30px; }

.xm-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 auto 44px; max-width: 760px; }
.xm-legend span { font-size: 13px; color: #6a6267; display: inline-flex; align-items: center; gap: 7px; }

.xm-grid { display: block; max-width: 820px; margin: 0 auto; }
.xm-side { display: none; }

/* ---------- Kategorien & Gerichte ---------- */
.xm-cat { margin: 0 0 52px; }
.xm-cat h2 {
  font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em;
  margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); text-align: center;
}
.xm-cat-note { text-align: center; font-size: 13px; color: #6a6267; margin: 10px 0 0; }

.xm-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 22px; padding: 20px 0; border-bottom: 1px solid rgba(20,16,19,.09); }
.xm-item-name { font-family: var(--sans); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.005em; margin: 0; }
.xm-item-desc { margin: 5px 0 0; font-size: 14.5px; line-height: 1.5; color: #4f484d; }
.xm-item-meta { margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: #6a6267; }
.xm-price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.xm-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .04em; color: #5d5559; background: var(--paper); border: 1px solid rgba(20,16,19,.08); padding: 3px 9px 3px 7px; border-radius: 99px; }
.xm-ico { width: 14px; height: 14px; flex: none; color: #a88a52; }

.xm-qtys { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; justify-content: center; }
.xm-qrow { display: flex; align-items: center; gap: 12px; }
.xm-qlabel { font-size: 13px; color: #4f484d; }
.xm-step { display: inline-flex; align-items: center; border: 1px solid rgba(20,16,19,.22); background: #fff; }
.xm-step button {
  width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink);
}
.xm-step button:disabled { color: rgba(20,16,19,.22); cursor: default; }
.xm-step button:not(:disabled):hover { background: var(--paper); }
.xm-step output { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.xm-item.is-picked { background: linear-gradient(90deg, rgba(201,169,107,.12), transparent 70%); }
.xm-item.is-picked .xm-step { border-color: var(--gold); }

/* ---------- Warenkorb ---------- */
.xm-cart { position: sticky; top: 96px; background: #fff; border: 1px solid rgba(20,16,19,.08); border-top: 3px solid var(--gold); padding: 26px 24px 24px; }
.xm-cart h3 { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: 26px; margin: 0 0 14px; }
.xm-cart-empty { font-size: 14px; color: #6a6267; margin: 0 0 6px; }
.xm-cart ul { list-style: none; margin: 0; padding: 0; max-height: 42vh; overflow: auto; }
.xm-cart li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(20,16,19,.07); font-size: 14px; line-height: 1.35; }
.xm-cart li small { display: block; color: #7a7378; font-size: 12px; }
.xm-cart li .q { font-weight: 600; }
.xm-cart li .s { white-space: nowrap; }
.xm-sum { margin: 14px 0 0; font-size: 14px; }
.xm-sum div { display: flex; justify-content: space-between; padding: 3px 0; color: #5d5559; }
.xm-sum .xm-total { margin-top: 8px; padding-top: 10px; border-top: 2px solid var(--gold); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 20px; }
.xm-sum-note { font-size: 12px; color: #7a7378; margin: 10px 0 0; line-height: 1.45; }
.xm-btn {
  display: block; width: 100%; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--gold); background: var(--gold);
  color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; text-align: center;
}
.xm-btn:hover { background: #d4b67c; }
.xm-btn:disabled { opacity: .45; cursor: default; }

/* Mobile-Leiste */
/* Summe immer unten in der schwarzen Leiste – der Warenkorb rechts entfällt */
.xm-cart { display: none !important; }
.xm-bar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; gap: 18px;
  padding: 14px max(18px, calc((100vw - 820px) / 2)) calc(14px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--linen);
  transform: translateY(110%); transition: transform .25s ease;
}
.xm-bar.on { transform: none; }
.xm-bar-sum { flex: 1; font-size: 13px; line-height: 1.3; }
.xm-bar-sum b { display: block; font-family: var(--sans); font-size: 21px; font-weight: 600; color: var(--gold); }
.xm-bar .xm-btn { width: auto; margin: 0; padding: 15px 22px; }
.xm-main { padding-bottom: 130px; }
.xm-vat { text-align: center; font-size: 12.5px; color: #7a7378; margin: -18px 0 30px; }
/* Zusammenfassung im Abschluss */
.xm-summary { max-width: 560px; margin: 0 auto 34px; background: #fff; border: 1px solid rgba(20,16,19,.08); border-top: 3px solid var(--gold); padding: 22px 24px; }
.xm-summary h3 { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: 26px; margin: 0 0 12px; }
.xm-summary ul { list-style: none; margin: 0; padding: 0; }
.xm-summary li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(20,16,19,.07); font-size: 14px; line-height: 1.35; }
.xm-summary li small { display: block; color: #7a7378; font-size: 12px; }
.xm-summary li .q { font-weight: 600; }
.xm-summary li .s { white-space: nowrap; }

/* ---------- Abschluss-Formular ---------- */
.xm-checkout { max-width: 760px; margin: 30px auto 0; padding-top: 56px; border-top: 1px solid rgba(20,16,19,.12); scroll-margin-top: 80px; }
.xm-checkout h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); text-align: center; margin: 0 0 8px; }
.xm-checkout > p.lead { text-align: center; color: #5d5559; margin: 0 0 36px; }
.xm-step-h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #a88a52; margin: 34px 0 14px; }
.xm-day { margin: 0 0 8px; font-family: var(--sans); font-weight: 500; font-size: 17px; }
.xm-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.xm-slot { position: relative; }
.xm-slot input { position: absolute; opacity: 0; pointer-events: none; }
.xm-slot span { display: inline-block; min-width: 76px; padding: 11px 12px; text-align: center; border: 1px solid rgba(20,16,19,.2); background: #fff; font-variant-numeric: tabular-nums; cursor: pointer; font-size: 15px; }
.xm-slot input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.xm-slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.xm-slot input:disabled + span { opacity: .35; text-decoration: line-through; cursor: default; }
.xm-hint { font-size: 13px; color: #6a6267; margin: 10px 0 0; }

.xm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.xm-f { display: flex; flex-direction: column; gap: 6px; }
.xm-f.full { grid-column: 1 / -1; }
.xm-f label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5d5559; }
.xm-f input, .xm-f select, .xm-f textarea {
  font: 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid rgba(20,16,19,.2); background: #fff; color: var(--ink); border-radius: 0; width: 100%;
}
.xm-f textarea { min-height: 96px; resize: vertical; }
.xm-f input:focus, .xm-f select:focus, .xm-f textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,107,.2); }
.xm-f.bad input, .xm-f.bad select { border-color: #b4483f; }
.xm-row3 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 16px; grid-column: 1 / -1; }

.xm-check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: #3a3438; }
.xm-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.xm-review { background: var(--paper); border-left: 3px solid var(--gold); padding: 18px 20px; margin: 30px 0 0; font-size: 14.5px; }
.xm-review b { font-weight: 600; }
.xm-err { margin: 16px 0 0; padding: 12px 16px; background: #f7e3df; color: #7c2d25; font-size: 14.5px; display: none; }
.xm-err.on { display: block; }
.xm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.xm-checkout .xm-btn { max-width: 380px; margin: 28px auto 0; }

/* ---------- Danke ---------- */
.xm-done { max-width: 620px; margin: 0 auto; text-align: center; padding: 30px 0; }
.xm-done h2 { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: clamp(34px, 4vw, 46px); margin: 0 0 14px; }
.xm-done .no { display: inline-block; margin: 8px 0 18px; padding: 10px 20px; border: 1px solid var(--gold); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.xm-done p { color: #4f484d; line-height: 1.65; }

/* ---------- Info-Block ---------- */
.xm-info { max-width: 760px; margin: 64px auto 0; text-align: center; }
.xm-info p { color: #4f484d; line-height: 1.65; }
.xm-info h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #a88a52; font-weight: 500; margin: 28px 0 10px; }
.xm-info ul { list-style: none; padding: 0; margin: 0; line-height: 1.9; color: #3a3438; }

.xm-closed { max-width: 620px; margin: 0 auto 40px; text-align: center; padding: 22px; border: 1px solid var(--gold); background: #fff; }
.xm-loading { text-align: center; color: #6a6267; padding: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .xm-grid { grid-template-columns: 1fr; gap: 0; }
  .xm-cart { position: static; margin-top: 10px; }
}
@media (max-width: 600px) {
  .xm-hero { padding: 140px 0 56px; }
  .xm-main { padding-top: 44px; }
  .xm-item { grid-template-columns: 1fr; }
  .xm-qtys { align-items: stretch; }
  .xm-qrow { justify-content: space-between; }
  .xm-item-name { font-size: 18px; }
  .xm-fields, .xm-row3 { grid-template-columns: 1fr; }
  .xm-slot span { min-width: 68px; padding: 10px 8px; }
}
.xm-check a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- Papier-Liste ---------- */
/* „Lieber auf Papier?“ – eine dünne Zeile unter dem Titel */
.xm-paper-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; text-align: center; font-size: 13.5px; color: #6a6267; margin: -14px auto 26px; max-width: 900px; }
.xm-paper-line a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.xm-paper-line .xm-paper-ico { width: 18px; height: 18px; color: #a88a52; }

/* ---------- Zahlungsart ---------- */
.xm-pay-intro { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #3a3438; max-width: 640px; }
.xm-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xm-pay label { position: relative; display: block; cursor: pointer; }
.xm-pay input { position: absolute; opacity: 0; pointer-events: none; }
.xm-pay span { display: block; height: 100%; padding: 16px 18px 16px 46px; border: 1px solid rgba(20,16,19,.2); background: #fff; font-size: 15px; line-height: 1.4; position: relative; }
.xm-pay span::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 1px solid rgba(20,16,19,.4); border-radius: 50%; background: #fff; }
.xm-pay small { display: block; margin-top: 4px; font-size: 13px; color: #6a6267; }
.xm-pay input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.xm-pay input:checked + span::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, #fff 5px); }
.xm-pay input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) {
  .xm-pay { grid-template-columns: 1fr; }
}

/* Sonstige Wünsche & Anfragen (ganz unten in der Liste) */
.xm-wish-text { font-size: 15px; line-height: 1.6; color: #4a4347; margin: 0 auto 18px; max-width: 60ch; text-align: center; }
.xm-wish-lbl { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6a6267; margin: 0 0 6px; }
.xm-wish-lbl em { text-transform: none; letter-spacing: 0; font-style: normal; color: #9a9397; }
.xm-wish textarea { width: 100%; min-height: 110px; padding: 12px 14px; border: 1px solid rgba(20,16,19,.18); background: #fff; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; box-sizing: border-box; }
.xm-wish textarea:focus { outline: none; border-color: #c9a96b; box-shadow: 0 0 0 3px rgba(201,169,107,.18); }
.xm-wish-note { font-size: 12px; color: #7a7378; margin: 8px 0 0; }
.xm-cart-wish { font-size: 14px; color: #4a4347; margin: 0 0 6px; }

/* Die Weihnachtsgans – hervorgehoben */
#cat-gans .xm-item { background: #f5efe3; border: 0; border-left: 3px solid var(--gold, #c9a96b); padding: 28px 30px; }
#cat-gans .xm-item-name { font-size: 30px; line-height: 1.15; }
#cat-gans .xm-item-desc { font-size: 16px; margin-top: 10px; }
#cat-gans .xm-price { font-size: 18px; }
@media (max-width: 640px) { #cat-gans .xm-item { padding: 22px 18px; } #cat-gans .xm-item-name { font-size: 25px; } }
