/* Peruanísima – Fase 1
   Layout: Mobile first. Cremefarbene Basis, farbige Bänder pro Abschnitt,
   dicke schwarze Konturen, Pillen-Buttons mit harter Schatten-Kante. Einziges Theme (kein Dark Mode in Phase 1). */
:root {
  --coral: #FF5757;
  --coral-deep: #D93F3F;
  --blue: #0B4DB0;
  --paper: #F4EDE1;
  --paper-raised: #FAF6F0;
  --ink: #1D1712;
  --ink-soft: #6B5D4F;
  --line: #E3D6BF;
  --line-strong: #CBB98F;
  --peach: #F7B569;
  --sky: #AEDCDA;
  --sun: #F6D34D;
  --rose: #F3B9C6;
  --leaf: #C7DDA8;
  --ok: #2F7D4A;
  --err: #C62828;
  --err-bg: #FDE3E0;
  --wa: #25D366;

  --f-display: "Lilita One", "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 18px;
  --bw: 2px;
  --shadow: 0 2px 0 rgba(29, 23, 18, .9);
  --shadow-lg: 0 4px 0 rgba(29, 23, 18, .9);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 400; line-height: 1.05; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: 1.3rem; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--ink-soft); }
p { margin: 0; }

.sec-head { display: grid; justify-items: center; gap: 6px; text-align: center; margin-bottom: 28px; }
.sec-head h2 { display: flex; align-items: center; gap: .35em; }
.sec-head h2::before, .sec-head h2::after { content: "✦"; font-size: .45em; color: var(--coral); }
.sec-head .sub { font-weight: 600; }
.stitch { width: 150px; height: 18px; color: var(--coral); }
.on-color .sec-head h2::before, .on-color .sec-head h2::after { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow);
  font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .02em; text-decoration: none;
  background: var(--coral); color: var(--paper-raised);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn[disabled] { background: var(--line); color: var(--ink-soft); cursor: not-allowed; transform: none; box-shadow: none; border-color: var(--line-strong); }
.btn.blue { background: var(--blue); }
.btn.peach { background: var(--peach); color: var(--ink); }
.btn.ghost { background: var(--paper-raised); color: var(--ink); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; font-size: .92rem; padding: 0 1em; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee { background: var(--coral); color: var(--paper-raised); border-bottom: var(--bw) solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; padding-block: 7px; }
.marquee-track span { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; white-space: nowrap; padding-right: 3rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: var(--bw) solid var(--ink); }
.header .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav button { background: none; border: 0; font-family: var(--f-display); font-size: 1.05rem; padding: 8px 12px; border-radius: 999px; }
.nav button:hover, .nav button[aria-current="page"] { background: var(--paper-raised); box-shadow: inset 0 0 0 var(--bw) var(--ink); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper-raised); }
.lang button { border: 0; background: none; font-family: var(--f-mono); font-size: .78rem; font-weight: 500; padding: 7px 9px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper-raised); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--paper-raised); box-shadow: var(--shadow); }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: var(--paper-raised); border: var(--bw) solid var(--ink); font: 600 .72rem/18px var(--f-mono); text-align: center; }
.burger { display: grid; }
@media (min-width: 900px) { .nav { display: flex; } .burger { display: none; } .logo img { height: 52px; } }

/* Mobile menu */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter-r) 24px var(--gutter-l); display: flex; flex-direction: column; gap: 10px; }
.mnav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav > button.item { text-align: left; background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 20px; font-family: var(--f-display); font-size: 1.5rem; }

/* ---------- Sections ---------- */
.band { padding-block: 64px; position: relative; }
.band.sun { background: var(--sun); }
.band.sky { background: var(--sky); }
.band.rose { background: var(--rose); }
.band.leaf { background: var(--leaf); }
.band.stripes { background: repeating-linear-gradient(90deg, var(--coral) 0 34px, var(--coral-deep) 34px 68px); color: var(--paper-raised); }
.band.bordered { border-block: var(--bw) solid var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 56px; }
.hero-card {
  position: relative; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: calc(var(--r) + 8px);
  background: var(--paper-raised); box-shadow: var(--shadow-lg);
  display: grid; gap: 8px;
}
.hero-card::before { /* Naht-Rahmen wie ein Stoffbanner */
  content: ""; position: absolute; inset: 10px; border: 2px dashed var(--coral); border-radius: var(--r); pointer-events: none; z-index: 2;
}
.hero-copy { position: relative; z-index: 3; padding: 34px 26px 10px; display: grid; gap: 16px; align-content: start; }
.hero-copy .kicker { color: var(--coral-deep); }
.hero-copy h1 { color: var(--ink); }
.hero-copy h1 em { font-style: normal; color: var(--coral); }
.hero-copy p { max-width: 34ch; font-size: 1.06rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-art { position: relative; min-height: 260px; z-index: 1; width: 100%; max-width: 420px; justify-self: center; overflow: hidden; }
.hero-art .blob { position: absolute; color: var(--coral); }
.hero-art .b1 { width: 92%; right: -14%; bottom: -16%; }
.hero-art .b2 { width: 34%; left: 4%; top: 6%; color: var(--sun); }
.hero-art .draw { position: absolute; color: var(--ink); }
.hero-art .d-emp { width: 62%; left: 18%; top: 14%; transform: rotate(-8deg); }
.hero-art .d-cup { width: 26%; right: 6%; top: 2%; transform: rotate(10deg); }
.hero-art .d-flan { width: 24%; left: 2%; bottom: 6%; transform: rotate(-6deg); }
.hero-art .sticker { position: absolute; right: 8%; bottom: 12%; z-index: 4; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); transform: rotate(-6deg); font-family: var(--f-display); font-size: 1.05rem; text-align: center; line-height: 1.1; }
.hero-art .sticker small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .05em; }
@media (min-width: 860px) {
  .hero-card { grid-template-columns: 1.05fr 1fr; min-height: 470px; }
  .hero-copy { padding: 58px 20px 58px 54px; align-content: center; }
  .hero-art { min-height: 0; max-width: none; overflow: visible; }
}

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1080px) { .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; min-width: 0; }
.card .pic {
  position: relative; aspect-ratio: 4 / 4.4; max-width: 100%; border: var(--bw) solid var(--ink); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; padding: 0; display: block; width: 100%;
}
.card .pic:hover .draw { transform: rotate(-4deg) scale(1.04); }
.card .pic .blob { position: absolute; width: 86%; left: 7%; top: 10%; color: var(--paper-raised); opacity: .65; }
.card .pic .draw { position: absolute; inset: 14% 14% 18%; color: var(--ink); transition: transform .25s ease; }
.card .pic img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { color: var(--ink); position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 3px 10px; font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.inbox { position: absolute; bottom: 10px; right: 10px; z-index: 2; background: var(--ink); color: var(--paper-raised); border-radius: 999px; padding: 3px 10px; font: 500 .7rem/1.4 var(--f-mono); }
.card .add { min-height: 40px; font-size: .9rem; padding: 0 .8em; }
.card .meta { display: grid; gap: 2px; align-content: start; }
.card .meta h3 { font-size: 1.12rem; }
.card .meta .cat { font-size: .82rem; color: var(--ink-soft); }
.card .meta .price { font-family: var(--f-display); font-size: 1.2rem; margin-top: 2px; }
.card .meta .price small { font-family: var(--f-body); font-size: .78rem; color: var(--ink-soft); }
.stripes .card .meta .cat, .stripes .card .meta .price small { color: var(--paper-raised); opacity: .9; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.cat-tile { position: relative; overflow: hidden; text-align: left; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 16px 16px; min-height: 170px; display: grid; align-content: end; gap: 4px; transition: transform .15s; }
.cat-tile:hover { transform: translateY(-3px) rotate(-.5deg); }
.cat-tile .draw { position: absolute; width: 84px; right: 10px; top: 10px; color: var(--ink); }
.cat-tile h3 { font-size: 1.35rem; position: relative; }
.cat-tile p { font-size: .86rem; position: relative; max-width: 22ch; }
@media (min-width: 760px) { .cat-tile { min-height: 210px; padding: 22px; } .cat-tile .draw { width: 110px; } .cat-tile h3 { font-size: 1.6rem; } }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 8px; align-content: start; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: var(--paper-raised); border: var(--bw) solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; }
.step:nth-child(2) .num { background: var(--blue); }
.step:nth-child(3) .num { background: var(--peach); color: var(--ink); }

/* ---------- Reviews placeholder ---------- */
.soon { border: 2px dashed var(--ink); border-radius: var(--r); padding: 26px; text-align: center; background: color-mix(in srgb, var(--paper-raised) 60%, transparent); max-width: 680px; margin: 0 auto; display: grid; gap: 12px; justify-items: center; }
.quotes { display: flex; gap: 6px; }
.quotes span { width: 52px; height: 36px; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--paper-raised); }

/* ---------- Pickup ---------- */
.pickup { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .pickup { grid-template-columns: 1fr 1.1fr; gap: 40px; } }
.pickup .txt { display: grid; gap: 14px; justify-items: start; }
.pickup address { font-style: normal; font-family: var(--f-display); font-size: 1.5rem; }
.map { position: relative; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 16 / 11; max-width: 100%; background: #EDE6D6; }
.map svg { width: 100%; height: 100%; display: block; }
.map .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 4px; }
.map .pin b { background: var(--ink); color: var(--paper-raised); border-radius: 999px; padding: 4px 10px; font: 500 .72rem var(--f-mono); white-space: nowrap; }
.map .links { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Shop ---------- */
.shop-head { padding-block: 34px 18px; display: grid; gap: 10px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--paper-raised); padding: 8px 14px; font-weight: 600; font-size: .9rem; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper-raised); }
.shop-cat { margin-top: 36px; display: grid; gap: 16px; }
.shop-cat-head { display: flex; align-items: center; gap: 12px; }
.shop-cat-head .dot { width: 26px; height: 26px; border-radius: 50%; border: var(--bw) solid var(--ink); flex-shrink: 0; }
.shop-cat-head h2 { font-size: 1.8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: 48px 90px; }
.fcols { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .fcols { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.fcols .brand { grid-column: 1 / -1; display: grid; gap: 12px; align-content: start; }
@media (min-width: 860px) { .fcols .brand { grid-column: auto; } }
.fcols .brand img { height: 52px; width: auto; }
.fcols h4 { font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); margin: 0 0 12px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fcols button { background: none; border: 0; padding: 0; color: inherit; text-align: left; }
.fcols a, .fcols button { text-decoration: none; opacity: .9; }
.fcols a:hover, .fcols button:hover { opacity: 1; text-decoration: underline; }
.fbottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(244,237,225,.2); font-size: .82rem; opacity: .75; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Overlays (modal + drawer) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(29, 23, 18, .5); animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.modal {
  position: fixed; z-index: 91; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 640px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border: var(--bw) solid var(--ink); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding: 22px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  animation: up .22s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes up { from { transform: translate(-50%, 30px); opacity: 0; } }
@media (min-width: 700px) {
  .modal { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-bottom: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 30px; max-height: 88dvh; }
  @keyframes up { from { transform: translate(-50%, -46%); opacity: 0; } }
}
.close { position: sticky; top: 0; float: right; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--paper-raised); display: grid; place-items: center; }
.close svg { width: 18px; height: 18px; }
.m-head { display: grid; gap: 6px; margin-bottom: 16px; padding-right: 50px; }
.m-head h2 { font-size: 1.9rem; }
.m-art { position: relative; height: 150px; border: var(--bw) solid var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.m-art .draw { position: absolute; height: 82%; left: 50%; top: 9%; transform: translateX(-50%); color: var(--ink); }
.m-art img.photo { width: 100%; height: 100%; object-fit: cover; }
.m-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.m-price .big { font-family: var(--f-display); font-size: 1.8rem; }

.alg { display: flex; flex-wrap: wrap; gap: 6px; }
.alg span { border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 9px; font: 500 .68rem/1.5 var(--f-mono); letter-spacing: .03em; background: var(--paper-raised); }
.alg span.pending { border-style: dashed; color: var(--ink-soft); }
.alg-block { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line-strong); }
.alg-block .note { font-size: .78rem; color: var(--ink-soft); }

/* Filling cards with steppers */
.fills { display: grid; gap: 10px; }
@media (min-width: 520px) { .fills { grid-template-columns: 1fr 1fr; } }
.fill { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 12px 12px 12px 14px; display: grid; gap: 8px; transition: background .15s, border-color .15s; }
.fill.bad { background: var(--err-bg); border-color: var(--err); }
.fill .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fill .nm { font-weight: 700; line-height: 1.2; min-width: 0; }
.fill .nm small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.fill .msg { font-size: .78rem; font-weight: 700; color: var(--err); }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.stepper button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; border: var(--bw) solid var(--ink); background: var(--paper); font: 600 .86rem var(--f-mono); }
.stepper button.plus { background: var(--coral); color: var(--paper-raised); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font: 600 1rem var(--f-mono); font-variant-numeric: tabular-nums; }
.stepper.multi { flex-wrap: wrap; justify-content: flex-end; }

.tierbox { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 14px; margin-bottom: 12px; display: grid; gap: 8px; }
.tierbox .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.tiers { display: flex; gap: 6px; flex-wrap: wrap; }
.tiers span { font: 500 .72rem var(--f-mono); padding: 3px 8px; border-radius: 999px; border: 1.5px solid var(--line-strong); }
.tiers span.on { background: var(--ink); color: var(--paper-raised); border-color: var(--ink); }
.bar { height: 14px; border-radius: 999px; border: var(--bw) solid var(--ink); background: var(--paper); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--coral); border-right: var(--bw) solid var(--ink); transition: width .25s ease; }
.bar.done i { background: var(--leaf); }
.hint { font-size: .86rem; font-weight: 600; }
.hint.err { color: var(--err); }
.hint.ok { color: var(--ok); }

.m-foot { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom, 0px)); margin: 18px calc(-1 * var(--gutter-r)) calc(-24px - env(safe-area-inset-bottom, 0px)) calc(-1 * var(--gutter-l)); padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: var(--paper); border-top: var(--bw) solid var(--ink); display: grid; gap: 8px; }
@media (min-width: 700px) { .m-foot { bottom: -30px; margin: 18px -30px -30px; padding: 14px 30px 18px; } }
.m-foot .sum { display: flex; justify-content: space-between; font-weight: 700; }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.single-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 12px 14px; }
.single-row.bad { background: var(--err-bg); border-color: var(--err); }

/* Drawer */
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: var(--bw) solid var(--ink); display: flex; flex-direction: column; animation: slidein .22s ease; padding-top: env(safe-area-inset-top, 0px); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer .d-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter-r) 14px 20px; border-bottom: var(--bw) solid var(--ink); }
.drawer .d-head h2 { font-size: 1.8rem; }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 16px var(--gutter-r) 16px 20px; display: grid; gap: 12px; align-content: start; overscroll-behavior: contain; }
.drawer .d-foot { border-top: var(--bw) solid var(--ink); padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) 20px; display: grid; gap: 10px; background: var(--paper-raised); }
.progress { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 8px; }
.progress .small { font-size: .8rem; color: var(--ink-soft); }
.bline { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 8px; }
.bline.bad { border-color: var(--err); background: var(--err-bg); }
.bline .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bline .top b { font-family: var(--f-display); font-weight: 400; font-size: 1.12rem; }
.bline .opt { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .9rem; }
.bline .opt span { min-width: 0; }
.bline .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .86rem; }
.empty { text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: 40px; }
.empty .draw { width: 120px; color: var(--ink); }
.tot { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

/* ---------- Checkout ---------- */
.co { display: grid; gap: 26px; padding-block: 30px 70px; }
@media (min-width: 960px) { .co { grid-template-columns: 1.25fr 1fr; align-items: start; } .co .side { position: sticky; top: 96px; } }
.panel { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; }
.panel h2 { font-size: 1.6rem; }
.ship-opts { display: grid; gap: 10px; }
.ship-opt { display: flex; gap: 12px; align-items: center; border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 12px 14px; cursor: pointer; background: var(--paper); }
.ship-opt:has(input:checked) { background: var(--sun); }
.ship-opt input { width: 20px; height: 20px; accent-color: var(--ink); flex-shrink: 0; }
.ship-opt .t { flex: 1; min-width: 0; display: grid; }
.ship-opt .t small { color: var(--ink-soft); }
.ship-opt b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.notice { font-size: .84rem; background: var(--paper); border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 10px 12px; }
.fields { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.field { display: grid; gap: 4px; grid-column: span 6; min-width: 0; }
@media (min-width: 560px) { .field.h { grid-column: span 3; } .field.s4 { grid-column: span 4; } .field.s2 { grid-column: span 2; } }
.field label { font-size: .84rem; font-weight: 600; }
.field input, .field textarea { width: 100%; font: inherit; border: var(--bw) solid var(--ink); border-radius: 12px; padding: 10px 12px; background: var(--paper); min-height: 46px; }
.field textarea { min-height: 84px; resize: vertical; }
.field.bad input, .field.bad textarea { border-color: var(--err); background: var(--err-bg); }
.field .msg { font-size: .78rem; color: var(--err); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--coral); margin-top: 1px; }
.check.bad { color: var(--err); }
.alert { background: var(--err-bg); border: var(--bw) solid var(--err); color: var(--err); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .9rem; }
.sumrow { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; font-variant-numeric: tabular-nums; }
.sumrow span:first-child { min-width: 0; }
.sumrow.total { font-family: var(--f-display); font-size: 1.4rem; border-top: var(--bw) solid var(--ink); padding-top: 10px; }
.hp { position: absolute; left: -9999px; }

/* Thanks */
.thanks { padding-block: 40px 80px; display: grid; gap: 22px; max-width: 720px; margin: 0 auto; }
.paybox { display: grid; gap: 0; border: var(--bw) solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--paper-raised); box-shadow: var(--shadow-lg); }
.paybox .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1.5px dashed var(--line-strong); flex-wrap: wrap; }
.paybox .r:last-child { border-bottom: 0; }
.paybox .r span { color: var(--ink-soft); font-size: .86rem; }
.paybox .r b { font: 600 1rem var(--f-mono); word-break: break-all; }
.paybox .r.hl { background: var(--sun); }

/* Legal */
.legal { padding-block: 40px 80px; max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 10px; }
.legal .draft { background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 700; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 99; background: var(--ink); color: var(--paper-raised); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); animation: fade .2s; max-width: calc(100% - 32px); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Freikarten-Aktion ---------- */
.mx-strip { width: 100%; margin-top: -32px; margin-bottom: 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; text-align: left; background: var(--blue); color: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; }
.mx-strip .mono { grid-column: 1; opacity: .85; }
.mx-strip b { grid-column: 1; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.mx-strip .mx-arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 1.6rem; }
.mx-strip:hover { transform: translateY(-1px); }
.mx-hero { background: var(--blue); color: var(--paper-raised); border-bottom: var(--bw) solid var(--ink); padding-block: 44px 52px; }
.mx-hero .wrap { display: grid; gap: 18px; justify-items: start; }
.mx-hero h1 { color: var(--paper-raised); font-size: clamp(2rem, 6vw, 3.6rem); max-width: 18ch; }
.mx-lead { max-width: 52ch; font-size: 1.08rem; }
.mx-note { font-size: .86rem; opacity: .85; }
.mx-pill { background: var(--sun); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 4px 12px; font: 500 .74rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.mx-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mx-facts li { background: var(--paper-raised); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 14px; padding: 8px 14px; display: grid; }
.mx-facts li span { font-size: .82rem; color: var(--ink-soft); }
.mx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: mx; }
@media (min-width: 760px) { .mx-steps { grid-template-columns: repeat(4, 1fr); } }
.mx-steps li { counter-increment: mx; background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 6px; align-content: start; }
.mx-steps li::before { content: counter(mx); width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: var(--paper-raised); border: var(--bw) solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.15rem; }
.mx-steps li span { font-size: .92rem; }
.mx-rule { margin-top: 18px; text-align: center; }
.mx-formwrap { max-width: 760px; }
.mx-formbox { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 14px; justify-items: start; }
.mx-formbox.loaded { padding: 0; overflow: hidden; }
.mx-formbox iframe { width: 100%; height: 2300px; border: 0; display: block; }
.mx-small { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }
.mx-two { display: grid; gap: 18px; }
@media (min-width: 760px) { .mx-two { grid-template-columns: 1fr 1fr; } }
.mx-card { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.mx-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.mx-faq details { background: var(--paper-raised); border: var(--bw) solid var(--ink); border-radius: 14px; padding: 12px 16px; }
.mx-faq summary { font-weight: 700; cursor: pointer; }
.mx-faq p { margin-top: 8px; }
.mx-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mx-help { background: var(--paper-raised); border: 2px dashed var(--ink); border-radius: var(--r); padding: 14px 18px; margin-bottom: 16px; font-size: .9rem; }
.mx-help ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
