:root {
  color-scheme: light;
  --cream:#fbf3e4; --paper:#fffaf0; --ink:#302118; --quiet:#624639;
  --red:#9c2720; --wine:#6b1414; --green:#245d37; --green-strong:#184729;
  --sun:#f7d93a; --line:#d7baa0; --shadow:0 14px 36px #4e251418;
  background:var(--cream); color:var(--ink); font:18px/1.45 system-ui,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-width:0; min-height:100vh; }
ul,ol { list-style:none; margin:0; padding:0; }
h1,h2,h3,p,dd,dl { margin:0; overflow-wrap:anywhere; }
h1,h2 { font-family:Georgia,serif; line-height:1.13; color:var(--wine); }
h1 { font-size:clamp(2.15rem,4.8vw,4.1rem); }
h2 { font-size:clamp(1.45rem,3vw,2.05rem); }
small { font-size:1rem; }
a { color:var(--green); }
button { font:inherit; font-weight:750; min-height:56px; border:1px solid var(--line); border-radius:.7rem; padding:.65rem 1rem; cursor:pointer; background:var(--paper); color:var(--wine); }
button:hover:enabled { border-color:var(--wine); }
button:disabled { cursor:default; opacity:.65; }
:focus-visible { outline:3px solid #155d91; outline-offset:4px; }
.primary { color:#fff; background:var(--green); border-color:var(--green-strong); }
.primary:hover:enabled { background:var(--green-strong); }
.masthead { display:flex; justify-content:space-between; align-items:center; gap:.7rem; padding:.65rem max(1rem,calc((100% - 73rem)/2)); background:#fffaf0; border-top:7px solid var(--red); border-bottom:1px solid var(--line); }
.brand { display:inline-flex; align-items:center; gap:.65rem; min-width:0; color:var(--green-strong); font-weight:800; text-decoration:none; }
.brand-mark { display:grid; place-items:center; position:relative; overflow:hidden; width:clamp(129px,19vw,206px); height:49px; border-radius:.35rem; background:#fff; }
.brand-mark img { position:absolute; width:145%; max-width:none; height:auto; }
.languages { display:flex; gap:.35rem; }
.languages button { padding-inline:.58rem; }
.languages button[aria-pressed="true"] { background:#e4ecd8; border-color:var(--green); color:var(--green-strong); text-decoration:underline; text-underline-offset:.18em; }
main { width:min(100% - 2rem,73rem); margin:1.2rem auto 0; min-height:calc(100vh - 185px); }
footer { padding:1.7rem 1rem 1rem; color:var(--quiet); text-align:center; font-size:.89rem; }
.channel-links { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.channel-links a { display:inline-flex; align-items:center; min-height:48px; padding:.45rem .75rem; border:1px solid var(--line); border-radius:.65rem; background:var(--paper); font-weight:700; }
.telegram-mode { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.45rem; margin-bottom:.6rem; padding:.65rem .85rem; border:1px solid #80a2b6; border-radius:.65rem; background:#eaf4fb; color:#244d68; }
.telegram-mode a { color:#244d68; font-weight:700; }
.welcome { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); align-items:center; gap:1rem; min-height:min(39rem,76vh); background:var(--paper); border:1px solid var(--line); border-radius:1.2rem; overflow:hidden; box-shadow:var(--shadow); }
.welcome-copy { padding:clamp(1.3rem,4vw,3.5rem); }
.welcome-copy > p:not(.eyebrow) { max-width:28rem; margin:1rem 0 1.35rem; color:var(--quiet); }
.storefront { min-width:0; align-self:stretch; display:grid; place-items:center; background:radial-gradient(ellipse at 50% 32%,#ffe6a9,#f1b871 94%); }
.storefront svg { width:min(100%,620px); height:auto; }
.door-left { --slide:-137px; }
.door-right { --slide:137px; }
.opening .door { animation:doors-slide .72s ease-in-out both; }
@keyframes doors-slide { to { transform:translateX(var(--slide)); } }
.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; position:sticky; top:0; background:var(--cream); padding:.4rem 0 .65rem; z-index:3; }
.steps li { display:grid; grid-template-columns:auto 1fr; place-items:center start; gap:.45rem; min-height:56px; border:1px solid var(--line); background:var(--paper); border-radius:.65rem; padding:.38rem .6rem; font-size:clamp(.84rem,2vw,1rem); }
.steps [aria-current="step"] { border:2px solid var(--green-strong); background:#e3eedb; color:var(--green-strong); }
.steps .completed { background:#f6e8c8; }
.shop-heading { display:flex; align-items:center; gap:1rem; margin:.75rem 0 1.2rem; }
.shop-heading h1 { font-size:clamp(1.9rem,4vw,3.3rem); }
.back { flex-shrink:0; }
.offers { display:flex; align-items:center; gap:1rem; color:#fff8eb; background:var(--wine); border-radius:.85rem; padding:.8rem; margin-bottom:1.1rem; border:1px solid #581111; }
.offers h2 { color:#fff8eb; }
.offers img { width:80px; height:76px; object-fit:contain; background:#fff; border-radius:.5rem; }
.offers p { margin-top:.2rem; }
.search-label { display:block; font-weight:750; }
input:not([type="radio"]) { display:block; width:100%; min-height:56px; border:1px solid #a67f64; border-radius:.65rem; padding:.55rem .8rem; font:inherit; background:#fffdf9; color:var(--ink); }
input[type="search"] { margin:.3rem 0 1rem; }
.categories { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.5rem; margin-bottom:1rem; }
.shelf { display:grid; place-items:center; gap:.15rem; border-bottom:4px solid #bb7d55; padding:.35rem .25rem; line-height:1.15; }
.shelf-art { font-size:2rem; }
.shelf[aria-pressed="true"] { border:2px solid var(--green-strong); border-bottom-width:4px; color:var(--green-strong); background:#e5eddb; }
#catalog-status { color:var(--quiet); margin-bottom:.7rem; }
.shelf-section { margin:1rem 0 1.6rem; }
.shelf-section h2 { display:inline-block; margin:0 0 .65rem; padding-bottom:.35rem; border-bottom:3px solid var(--red); }
.products { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr)); gap:.75rem; }
.product,.panel { min-width:0; border:1px solid var(--line); border-radius:.85rem; background:var(--paper); padding:.9rem; box-shadow:0 6px 16px #4e251411; }
.product { display:grid; align-content:start; grid-template-rows:auto minmax(2.6em,auto) auto auto auto auto; gap:.3rem; }
.product-art { display:grid; place-items:center; background:#eedbc1; min-height:5rem; border-radius:.5rem; font-size:3rem; }
#more-products { display:block; margin:1rem auto; }
#pickup-day { display:block; width:100%; min-height:56px; border:1px solid #a67f64; border-radius:.65rem; padding:.55rem .8rem; font:inherit; background:#fffdf9; color:var(--ink); }
.weight-price { color:var(--wine); }
.product-art.grain { background:#f2e3bf; }.product-art.sweets { background:#f3d6ce; }.product-art.snacks { background:#f3e2ad; }.product-art.pantry { background:#dce8d2; }
.product-art.product-art--photo {
  position:relative;
  overflow:hidden;
  padding:.5rem .5rem 1.05rem;
  background:
    repeating-linear-gradient(133deg,#c3d98e 0 9px,#a6c875 9px 16px) 0 100% / 100% 1.05rem no-repeat,
    radial-gradient(ellipse at 50% 35%,#fff9e8,#f0dcb4);
  border:1px solid #dcc7a4;
}
.product-art--photo img {
  width:100%; height:clamp(105px,15vw,150px); object-fit:contain;
  background:#fff; border-radius:.35rem .35rem 0 0;
}
.product-art--photo::after {
  content:''; position:absolute; right:.55rem; bottom:.16rem; width:1.48rem; height:.74rem;
  border-radius:0 0 1rem 1rem;
  border:.13rem solid #518346; border-top:0;
  background:
    radial-gradient(ellipse,#512d34 0 31%,transparent 38%) 20% 37% / .25rem .29rem no-repeat,
    radial-gradient(ellipse,#512d34 0 31%,transparent 38%) 50% 57% / .25rem .29rem no-repeat,
    radial-gradient(ellipse,#512d34 0 31%,transparent 38%) 80% 37% / .25rem .29rem no-repeat,
    #e87986;
  box-shadow:0 .12rem .3rem #3c351e33;
}
.product h3 { font-size:1.04rem; line-height:1.27; }
.product-meta,.unit { color:var(--quiet); }
.stock-label { color:var(--green-strong); font-weight:720; }
.on-request { background:#f0eeea; }
.on-request .product-art:not(.product-art--photo) { filter:grayscale(1); }
.on-request .stock-label,.basket-row .stock-label { color:#4b4844; }
.product button { margin-top:.25rem; }
.price { display:grid; place-items:center; justify-self:start; min-width:118px; height:54px; padding:0 .58rem; color:var(--wine); font-size:1.65rem; line-height:1; background:var(--sun); clip-path:polygon(7% 20%,19% 19%,24% 4%,36% 12%,50% 0,60% 12%,74% 5%,80% 19%,94% 16%,93% 37%,100% 50%,94% 62%,94% 84%,80% 83%,74% 97%,61% 88%,50% 100%,38% 88%,24% 96%,19% 82%,5% 84%,7% 65%,0 51%,8% 36%); }
.cart-link { position:fixed; z-index:5; right:max(1rem,calc((100vw - 73rem)/2)); bottom:max(1rem,env(safe-area-inset-bottom)); box-shadow:0 5px 25px #2225; }
#catalog-screen { padding-bottom:3.5rem; }
.flying { position:fixed; z-index:9; top:0; left:0; pointer-events:none; font-size:2rem; }
.checkout-grid { display:grid; grid-template-columns:minmax(13rem,.65fr) minmax(0,1.35fr); gap:.8rem; align-items:start; }
.basket-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:.4rem; border-bottom:1px solid var(--line); padding:.4rem 0; }
.quantity { display:flex; align-items:center; gap:.5rem; grid-column:1/-1; }
.quantity button { min-width:58px; line-height:1; font-size:1.3rem; }
dl { margin-top:.8rem; }
dl div { display:flex; justify-content:space-between; gap:.5rem; padding:.23rem 0; }
dl .total { font-weight:900; border-top:1px solid var(--line); }
fieldset { margin:0 0 .9rem; padding:0; border:0; min-width:0; }
legend { font-weight:800; padding:0; margin-bottom:.6rem; }
.methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.method { min-width:0; display:grid; align-content:start; gap:.25rem; padding:.65rem; cursor:pointer; background:#fffdfa; border:2px solid var(--line); border-radius:.75rem; }
.method:has(:checked) { background:#e5eddb; border-color:var(--green-strong); }
.method input { width:1.2rem; height:1.2rem; accent-color:var(--green-strong); margin:0; }
.method small { color:var(--quiet); }
.method-art { display:flex; justify-content:space-around; font-size:2.1rem; }
.method:has(:checked) .car { animation:drive 1.15s ease-out both; }
.method:has(:checked) .box { animation:pack .65s ease-out both; }
@keyframes drive { from { transform:translateX(-.8rem); } to { transform:translateX(.5rem); } }
@keyframes pack { 40% { transform:rotate(-8deg) scale(.85); } }
.contact label { display:block; margin:.55rem 0; font-weight:720; }
.contact p { color:var(--quiet); }
.contact input { margin-top:.15rem; }
.field-error,#order-status { color:var(--wine); display:block; }
.field-error:empty,#order-status:empty { display:none; }
[aria-invalid="true"] { border:2px solid var(--red) !important; }
#order button[type="submit"] { width:100%; margin-top:.8rem; }
.notice { padding:.65rem .8rem; border-left:4px solid var(--green); border-radius:.35rem; background:#e5eddb; font-weight:720; }
.finished { text-align:center; padding:clamp(1.2rem,5vw,3rem); }
.finished p { margin:.7rem 0; }
.finished .primary { margin-top:1rem; }
#confirmation { font-size:clamp(1.35rem,4vw,2.3rem); font-weight:850; }
.confetti { color:var(--red); font-size:3rem; }
.confetti span { display:inline-grid; place-items:center; color:white; background:var(--green); width:1.65em; height:1.65em; border-radius:50%; box-shadow:.8em -.28em 0 -.7em var(--sun); }
.finished:not([hidden]) .confetti { animation:spark .75s ease-out both; }
@keyframes spark { from { opacity:0; transform:scale(.55); } to { opacity:1; transform:scale(1); } }
#staff h1 { margin:.5rem 0; }
#staff-status, #import-preview, #staff .products { margin-top:.75rem; }
#orders { grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr)); }
#orders .product { grid-template-rows:none; gap:.45rem; }
.staff-line { display:grid; gap:.25rem; padding:.5rem 0; border-bottom:1px solid var(--line); }
.missing-button { width:100%; }
.missing-label,.fulfillment-block { color:var(--wine); font-weight:750; }
#import-preview summary { cursor:pointer; font-weight:780; padding:.45rem 0; }
.table-scroll { overflow:auto; }
table { width:100%; border-collapse:collapse; background:var(--paper); }
th,td { text-align:left; padding:.5rem; border:1px solid var(--line); }
@media (max-width:63rem) { .brand-town { display:none; } .categories { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:40rem) {
  main { width:calc(100% - 1rem); margin-top:.65rem; }
  .masthead { padding:.45rem .5rem; gap:.35rem; }
  .welcome,.checkout-grid,.methods { grid-template-columns:1fr; }
  .welcome { min-height:min(42rem,76vh); gap:0; grid-template-rows:auto 1fr; }
  .welcome-copy { padding:1.1rem; }
  .storefront svg { max-height:15rem; }
  .steps li { grid-template-columns:1fr; justify-items:center; text-align:center; gap:0; padding:.25rem .15rem; }
  .shop-heading { gap:.55rem; }
  .back { padding-inline:.6rem; }
  .products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product { padding:.55rem; }
  .product button { padding-inline:.35rem; }
  .method small { font-size:1rem; }
}
@media (max-width:335px) { .products { grid-template-columns:1fr; } .brand-mark { width:106px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; scroll-behavior:auto !important; } }


footer.pflicht{font-size:.85rem;line-height:1.4;padding:1rem;text-align:center;opacity:.9}footer.pflicht p{margin:.3rem 0}.method.parcel,#telegram-preview-link{display:none!important}
