:root { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17231d; background: #e8ece9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 0, #f8faf8 0, #e3e9e5 62%, #dce3df 100%); }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
.app-shell { position: relative; width: 100%; min-height: 100vh; min-height: 100dvh; margin: 0 auto; overflow: hidden; background: #f7f7f3; box-shadow: 0 0 50px #183d2b22; }
.topbar { position: fixed; z-index: 20; top: 0; left: 50%; width: 100%; height: calc(62px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 18px 0; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; color: white; background: #153c2c; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #dcb97c; color: #e2bd79; font-family: Georgia, serif; font-size: 12px; }
.icon-button { position: relative; width: 38px; height: 38px; border: 0; color: white; background: transparent; font-size: 20px; }
.cart-button span { position: absolute; top: 0; right: -2px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: white; background: #c87535; font-size: 10px; }
main { padding-top: calc(62px + env(safe-area-inset-top)); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.screen { display: none; min-height: calc(100vh - 138px); animation: enter .25s ease; }
.screen.active { display: block; }
@keyframes enter { from { opacity: .35; transform: translateY(5px); } }
.hero { min-height: 300px; padding: 48px 24px 75px; color: white; background: linear-gradient(135deg, #163d2dE8, #204a37D9), radial-gradient(circle at 80% 20%, #bc955d 0 2%, transparent 3% 100%), #1d4a36; }
.eyebrow { margin: 0 0 9px; color: #ce9b5c; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.hero h1, .page-head h1 { margin: 0; font-family: Georgia, serif; font-size: 36px; line-height: 1.08; font-weight: 500; }
.hero > p:not(.eyebrow), .page-head > p:last-child { max-width: 345px; color: #e4ebe5; font-size: 14px; line-height: 1.55; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 3px; color: white; background: #b86b34; font-weight: 750; box-shadow: 0 8px 20px #4e230f33; }
.content-block { padding: 24px; background: #f7f7f3; }
.overlap { position: relative; margin-top: -42px; border-radius: 24px 24px 0 0; }
.welcome { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.welcome div, .profile div { display: flex; flex-direction: column; gap: 3px; }
small { display: block; color: #718078; font-size: 12px; }
.welcome strong { font-family: Georgia, serif; font-size: 20px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: #b76c38; font-size: 12px; font-weight: 800; }
h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 20px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.quick-grid button { display: flex; flex-direction: column; gap: 5px; min-height: 116px; padding: 16px; text-align: left; border: 1px solid #dde2dc; border-radius: 8px; color: #193b2c; background: white; box-shadow: 0 4px 15px #153c2c0a; }
.quick-grid button > span { color: #ad642f; font-size: 25px; }
.quick-grid b { font-size: 14px; }
.contact-card { padding: 24px; border: 2px solid #8d5321; background: #fff; color: #65554d; font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.contact-card h2 { margin: 0 0 12px; }
.contact-card p { margin: 0 0 20px; }
.contact-card dl { margin: 0; }
.contact-card dl > div { display: flex; gap: 12px; align-items: baseline; }
.contact-card dt { min-width: 40px; font-weight: 700; }
.contact-card dd { min-width: 0; margin: 0; }
.contact-card a { display: inline-block; padding-block: 8px; color: #8d5321; text-underline-offset: 3px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.section-heading h2 { margin: 0; }
.section-heading button { border: 0; color: #a75f2e; background: transparent; font-size: 12px; font-weight: 750; }
.order-card { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 12px; margin-top: 13px; padding: 13px; border: 1px solid #e1e3dd; border-radius: 8px; background: white; }
.wood-thumb { display: grid; place-items: center; height: 55px; border-radius: 5px; color: #79512e; background: repeating-linear-gradient(100deg,#d2ae78,#d2ae78 5px,#c59a62 7px); font-size: 28px; }
.order-card div:nth-child(2) { min-width: 0; }
.order-card b, .order-card small, .order-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-card b { font-size: 13px; }.order-card span { margin-top: 3px; color: #a45c2d; font-size: 11px; }.order-card strong { font-size: 12px; }
.page-head { padding: 34px 24px 31px; color: white; background: #153c2c; }
.page-head h1 { font-size: 32px; }.page-content { min-height: 500px; }.add { width: 34px; height: 34px; border: 0; border-radius: 50%; color: white; background: #b86834; font-size: 20px; }
.cart-items { display: grid; gap: 12px; }.cart-row { padding: 14px; border: 1px solid #dde1dc; border-radius: 8px; background: white; }.cart-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; }.cart-row b { font-size: 14px; }.cart-row small { margin-top: 5px; }.cart-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; }.stepper { display: flex; align-items: center; gap: 12px; }.stepper button { width: 29px; height: 29px; border: 1px solid #d5dbd5; border-radius: 50%; background: #f8f8f5; }.remove { border: 0; color: #9a4d35; background: transparent; font-size: 12px; }
.summary { margin: 20px 0; padding: 17px; border-radius: 8px; background: #e8eee9; }.summary div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }.summary .total { margin-top: 9px; padding-top: 14px; border-top: 1px solid #cbd5cd; font-size: 16px; }.wide { width: 100%; }
.summary [id$="DiscountRow"] { color: #276442; }.discount-hint { margin: 10px 0 0; color: #65554d; font-size: 11px; line-height: 1.4; }.discount-hint:empty { display: none; }
.order-list { display: grid; align-content: start; gap: 12px; }.order-history-card { position: relative; display: flex; flex-direction: column; gap: 5px; margin-top: 13px; padding: 17px; border: 1px solid #dce1db; border-radius: 8px; background: white; }.order-history-card > .order-total { position: absolute; top: 17px; right: 17px; }.status { align-self: start; margin-bottom: 8px; padding: 5px 9px; border-radius: 14px; font-size: 10px; font-weight: 800; }.progress { color: #855019; background: #f8e6c9; }.ready { color: #17633e; background: #dceee4; }.done { color: #5f6964; background: #e8ebe9; }
.orders-state { margin: 0; padding: 18px; color: #65554d; border: 1px solid #dce1db; background: white; text-align: center; }.orders-state.error { color: #9f1924; }
.repeat-order { align-self: start; min-height: 36px; margin-top: 12px; padding: 0 13px; border: 0; color: white; background: #8d5321; font-size: 10px; font-weight: 800; }.price-warning { color: #9f1924; font-weight: 700; }
.order-positions { display: grid; gap: 0; margin: 14px 0 0; padding: 0; border-top: 1px solid #d8d1cc; list-style: none; }.order-positions li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #e5e0dd; }.order-positions b,.order-positions small { display: block; }.order-positions b { font-size: 12px; }.order-positions small { margin-top: 3px; line-height: 1.35; }.order-item-values { min-width: 72px; text-align: right; }.order-item-values em,.order-item-values span { display: block; font-style: normal; }.order-item-values em { color: #8d5321; font-weight: 800; }.order-item-values span { margin-top: 4px; font-size: 11px; }.order-items-empty { display: block !important; color: #65554d; font-size: 12px; text-align: center; }
.profile { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 9px; color: white; background: #1e4936; }.avatar.large { width: 58px; height: 58px; }.profile small { color: #cfddd4; }.account-list { display: grid; margin-top: 20px; border-top: 2px solid #8d5321; }.account-list button, .account-list a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 17px 10px; border: 0; border-bottom: 1px solid #c9b8ac; color: #8d5321; background: white; text-align: left; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }.account-list span { color: #8d5321; font-size: 20px; }
.discount-account { margin-top: 16px; padding: 14px; border-left: 6px solid #8d5321; background: #eeeae7; }.discount-account b { color: #8d5321; font-size: 11px; }.discount-account p { margin: 6px 0 0; color: #65554d; font-size: 12px; line-height: 1.5; }
.tabbar { position: fixed; z-index: 20; bottom: 0; left: 50%; width: 100%; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dce0db; background: #fffffff4; backdrop-filter: blur(14px); }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: #7b8780; background: transparent; font-size: 10px; }.tabbar button span { font-size: 20px; }.tabbar button.active { color: #a65e2f; font-weight: 750; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 92px; max-width: calc(100% - 44px); padding: 12px 17px; transform: translate(-50%, 20px); border-radius: 24px; color: white; background: #17251f; opacity: 0; pointer-events: none; transition: .25s; font-size: 13px; box-shadow: 0 8px 25px #0003; }.toast.show { transform: translate(-50%, 0); opacity: 1; }


/* Holz-Kogler Website-Stil */
:root { color: #39322c; background: #dedbd9; }
body { background: #dedbd9; }
.app-shell { background: white; box-shadow: 0 0 45px #39322c38; }
.topbar { height: calc(92px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 15px 0; color: #39322c; background: white url("./assets/hk_hintergrund_menu.jpg") no-repeat right top / auto 100%; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: #8d5321; clip-path: polygon(0 0,100% 0,calc(100% - 9px) 100%,0 100%); }
.brand { align-self: stretch; flex: 1; justify-content: center; flex-direction: column; gap: 1px; margin: 0 7px; overflow: hidden; }
.brand img { width: min(100%,230px); height: 54px; object-fit: contain; }
.brand b { color: #39322c; font-size: 10px; letter-spacing: 2.1px; text-align: center; }
.icon-button { display: grid; place-items: center; color: #8d5321; }
.icon-button img { width: 27px; height: 27px; object-fit: contain; }
#menuButton,.cart-button { width: 38px; height: 42px; background: #8d5321; clip-path: polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%); }
#menuButton img { width: 23px; height: 23px; }.cart-button span { top: -3px; right: -2px; background: #9f1924; }
main { padding-top: calc(100px + env(safe-area-inset-top)); }
.hero { min-height: 286px; padding: 42px 24px 64px; color: white; background: linear-gradient(90deg,#39322ce8,#65554db8),url("./assets/hintergrund_text.png") center/cover; clip-path: polygon(0 0,100% 0,100% calc(100% - 19px),calc(100% - 19px) 100%,0 100%); }
.eyebrow { color: #e7c4a3; font-family: Arial,sans-serif; }
.hero h1,.page-head h1 { font-family: Arial,Helvetica,sans-serif; font-size: 31px; line-height: 1.12; font-weight: 800; }
.hero > p:not(.eyebrow),.page-head > p:last-child { color: white; }
.primary { min-height: 47px; border-radius: 0; background: #8d5321; box-shadow: none; font-size: 13px; letter-spacing: .5px; clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%); }
.content-block { background: white; }.overlap { margin-top: -25px; border-radius: 0; }
.welcome { padding-bottom: 18px; border-bottom: 1px solid #d1ccca; }.welcome small { color: #8d5321; font-weight: 700; letter-spacing: .6px; }.welcome strong { font-family: Arial,sans-serif; font-size: 19px; color: #65554d; }
.avatar { border-radius: 0; background: #8d5321; clip-path: polygon(0 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%); }
h2 { font-family: Arial,sans-serif; color: #65554d; font-size: 17px; }
.quick-grid button { min-height: 112px; border: 2px solid #8d5321; border-radius: 0; box-shadow: none; color: #65554d; clip-path: polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%); }
.quick-grid button:hover { color: white; background: #8d5321; }.quick-grid button > span { color: #8d5321; }.quick-grid button:hover > span,.quick-grid button:hover small { color: white; }
.section-heading button,.order-card span { color: #8d5321; }
.order-card,.order-history-card,.cart-row { border: 1px solid #65554d; border-radius: 0; box-shadow: 4px 4px 0 #d1ccca; }.wood-thumb { border-radius: 0; }
.page-head { padding-top: 38px; background: #65554d url("./assets/hk_hintergrund_menu.jpg") no-repeat right top/auto 100%; clip-path: polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%); }.add { border-radius: 0; background: #8d5321; clip-path: polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%); }
.summary { border-radius: 0; background: #d1ccca; }.profile { border-radius: 0; background: #65554d; clip-path: polygon(0 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%); }
.wide[data-requires-login="true"] { background: #65554d; }
.status { border-radius: 0; }.progress { color: white; background: #8d5321; }.ready { color: white; background: #1c773e; }
/* Keep mobile navigation on the viewport without transformed or blurred layers. */
.tabbar { left: 0; right: 0; transform: none; backdrop-filter: none; border-top: 7px solid #8d5321; background: #fff; }.tabbar button.active { color: #8d5321; }.toast { border-radius: 0; background: #65554d; border-bottom: 5px solid #8d5321; }
@media (min-width:700px) { .app-shell,.topbar,.tabbar { border-radius: 0; } }

/* Mobile Shop-Kopf wie im Webshop */
.topbar { display: block; height: calc(142px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 0 0; background: white; }
.topbar::after { display: none; }
.logo-row { height: 88px; padding: 5px 16px 2px; background: white url("./assets/hk_hintergrund_menu.jpg") no-repeat right top/auto 100%; }
.brand { height: 100%; width: 76%; margin: 0; align-items: flex-start; }
.brand img { width: 245px; max-width: 100%; height: 58px; object-position: left center; }
.brand b { width: 100%; padding-right: 8px; text-align: right; }
.shop-menubar { display: flex; align-items: center; justify-content: space-between; height: 54px; margin: 0 9px; padding: 0 8px 0 13px; color: white; background: #8d5321; clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%); }
.products-menu { display: flex; align-items: center; gap: 11px; height: 100%; border: 0; color: white; background: transparent; font-size: 14px; letter-spacing: .3px; }
#menuButton { width: auto; height: 100%; background: transparent; clip-path: none; }
.products-menu img { width: 31px; height: 31px; }
.menubar-actions { display: flex; align-items: center; gap: 3px; }.shop-menubar .icon-button,.shop-menubar .cart-button { width: 38px; height: 42px; padding: 6px; background: transparent; clip-path: none; }.shop-menubar .icon-button img { width: 27px; height: 27px; }
main { padding-top: calc(142px + env(safe-area-inset-top)); }
.category-children { display: none; margin: 0 2px 15px; border: 2px solid #8d5321; background: white; }.category-children.open { display: block; }.category-children button { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 9px; width: 100%; padding: 13px 14px; border: 0; border-bottom: 1px solid #ddd5d0; color: #333; background: white; text-align: left; }.category-children button:last-child { border-bottom: 0; }.category-children i { width: 5px; height: 5px; border-radius: 50%; background: #8d5321; }.category-children span { color: #8d5321; font-size: 19px; }
.shop-preselection-panel { display: none; }
.shop-preselection-panel.open { display: block; }
.shop-species-list { margin-bottom: 0; }
.shop-species-group + .shop-species-group { border-top: 1px solid #ddd5d0; }
.category-children .shop-species-choice .child-label { color: #8d5321; font-size: 13px; font-weight: 750; }
.shop-products-list { border-top: 1px solid #ddd5d0; }
.category-children .shop-product-choice { padding-left: 29px; }
.category-menu-back { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; margin-bottom: 14px; padding: 0 15px; border: 2px solid #8d5321; color: #8d5321; background: white; text-align: left; font-size: 11px; font-weight: 800; }.category-menu-back span { font-size: 25px; line-height: 1; }.category-screen-products { margin: 0 0 18px; }.category-screen-products:empty { display: none; }
.category-menu-back-bottom { margin-top: 18px; margin-bottom: 0; }

/* Ausfahrbares Produktmenü */
.drawer-backdrop { position: fixed; z-index: 80; inset: 0; background: #0008; opacity: 0; pointer-events: none; transition: opacity .25s; }.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.product-drawer { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(88vw,390px); overflow-y: auto; color: #333; background: white; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 10px 0 30px #0005; }.product-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: calc(72px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 18px 0; color: white; background: #8d5321; }.drawer-head b { font-size: 20px; letter-spacing: .5px; }.drawer-head button { width: 42px; height: 42px; border: 0; color: white; background: transparent; font-size: 33px; font-weight: 200; }
.drawer-search { display: flex; align-items: center; margin: 15px; border: 2px solid #8d5321; }.drawer-search img { width: 40px; height: 40px; padding: 7px; background: #8d5321; }.drawer-search input { min-width: 0; flex: 1; height: 40px; padding: 0 11px; border: 0; outline: 0; }
.drawer-links { border-top: 1px solid #d7d1cd; }.drawer-links button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 19px; border: 0; border-bottom: 1px solid #d7d1cd; color: #3e3733; background: white; text-align: left; font-weight: 650; }.drawer-links button:first-child { color: white; background: #6f3c3d; }.drawer-links span { color: #8d5321; font-size: 22px; }.drawer-links button:first-child span { color: white; }
.drawer-links .drawer-result-heading { padding: 11px 19px 8px; color: #8d5321; background: #eeeae7; font-size: 10px; font-weight: 850; letter-spacing: 1px; }.drawer-links .drawer-category-result:first-child,.drawer-links .drawer-result-heading + .drawer-category-result { color: #3e3733; background: white; }.drawer-links .drawer-category-result span { color: inherit; font-size: 14px; }.drawer-links .drawer-category-result.drawer-offers-result,.drawer-links .drawer-category-result.drawer-offers-result:first-child { color: white; background: #6f3c3d; }.drawer-links .drawer-category-result.drawer-offers-result span,.drawer-links .drawer-category-result.drawer-offers-result strong { color: white; }.drawer-links button strong { color: #8d5321; font-size: 22px; }.drawer-links .drawer-product-result { min-height: 64px; }.drawer-links .drawer-product-result > span { color: #3e3733; font-size: 13px; }.drawer-links .drawer-product-result b,.drawer-links .drawer-product-result small { display: block; }.drawer-links .drawer-product-result small { margin-top: 4px; color: #8d5321; font-size: 10px; font-weight: 600; }.drawer-search-empty { padding: 24px 19px; color: #65554d; font-size: 13px; line-height: 1.45; text-align: center; }
.drawer-level-panel { display: none; }
.drawer-level-panel.open { display: block; }
.drawer-links .drawer-level-toggle,
.drawer-links .drawer-level-toggle:first-child,
.drawer-links .drawer-level-product,
.drawer-links .drawer-level-product:first-child { color: #3e3733; background: white; }
.drawer-links .drawer-level-toggle .drawer-label { flex: 1; color: #3e3733; font-size: 14px; }
.drawer-links .drawer-species-toggle { padding-left: 31px; }
.drawer-links .drawer-species-toggle .drawer-label { color: #8d5321; }
.drawer-links .drawer-level-product { min-height: 48px; padding-left: 43px; gap: 10px; justify-content: flex-start; }
.drawer-links .drawer-level-product i { flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.drawer-links .drawer-level-product .drawer-label { flex: 1; color: #3e3733; font-size: 12px; }
/* Original shop menu: category bars, uppercase groups and indented bullets. */
.drawer-links .drawer-category-toggle,
.drawer-links .drawer-category-toggle:first-child,
.drawer-links .drawer-category-result,
.drawer-links .drawer-category-result:first-child,
.drawer-links .drawer-result-heading + .drawer-category-result { margin-top: 4px; min-height: 48px; padding: 10px 19px; gap: 12px; color: white; background: #65554d; font-size: 14px; font-weight: 650; }
.drawer-links .drawer-category-toggle .drawer-label,
.drawer-links .drawer-category-result .drawer-label { color: white; font-size: 14px; line-height: 1.4; }
.drawer-links .drawer-category-toggle > strong,
.drawer-links .drawer-category-result > strong { color: white; }
.drawer-links .drawer-category-result.drawer-offers-result { background: #6f3c3d; }
.drawer-links .drawer-species-panel { padding: 6px 12px; }
.drawer-links .drawer-species-toggle { min-height: 40px; padding: 8px 7px; gap: 12px; border: 0; font-weight: 500; }
.drawer-links .drawer-species-toggle .drawer-label { color: #8d5321; font-size: 14px; line-height: 1.4; text-transform: uppercase; }
.drawer-links .drawer-original-branch > .drawer-level-panel { padding-left: 16px; }
.drawer-links .drawer-level-product { min-height: 38px; padding: 8px 0; border: 0; gap: 9px; align-items: baseline; }
.drawer-links .drawer-level-product .drawer-label { color: #111; font-size: 14px; line-height: 1.4; font-weight: 500; }
.drawer-links .drawer-level-product i { width: 4px; height: 4px; color: #8d5321; }
.drawer-links .drawer-level-toggle > strong { display: block; flex: 0 0 20px; text-align: center; font-size: 22px; line-height: 1; }
.drawer-links .drawer-level-product > strong { display: none; }
.drawer-links .drawer-species-toggle:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
.drawer-links .drawer-species-toggle[data-drawer-toggle]::before { content: ""; flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: #8d5321; }
.drawer-links .drawer-original-branch > .drawer-species-toggle[data-drawer-toggle],
.drawer-links .drawer-original-branch > .drawer-level-panel > .drawer-level-product { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; align-items: baseline; column-gap: 9px; padding: 8px 0; }
.drawer-links .drawer-original-branch > .drawer-species-toggle[data-drawer-toggle]::before { align-self: baseline; }
.category-children .shop-species-choice[data-shop-toggle],
.category-children .shop-product-choice { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 9px; padding-left: 14px; }
.category-children .shop-species-choice[data-shop-toggle] > i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #8d5321; }
.drawer-links .menu-osb-stumpf .drawer-label,
.drawer-links .menu-livingboard > .drawer-level-panel .drawer-label,
.category-children .menu-osb-stumpf .child-label,
.category-children .menu-livingboard > .shop-preselection-panel .child-label { color: #111; }
.drawer-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; background: #65554d; }.drawer-foot button { min-height: 50px; border: 0; color: white; background: #65554d; font-size: 11px; font-weight: 700; }

/* Anmeldung und Session-Zustand */
#accountButton { position: relative; }#authDot { position: absolute; right: 4px; bottom: 6px; width: 8px; height: 8px; border: 1px solid white; border-radius: 50%; background: #999; }#authDot.online { background: #2fb36d; }
.logged-out-card { padding: 25px 20px; border: 2px solid #8d5321; text-align: center; }.logged-out-card > img { width: 58px; height: 58px; padding: 11px; background: #8d5321; }.logged-out-card h2 { margin: 18px 0 8px; }.logged-out-card p { color: #65554d; font-size: 14px; line-height: 1.5; }
.screen[data-screen="account"] .logged-out-card,
.screen[data-screen="account"] .logged-out-card h2,
.screen[data-screen="account"] .logged-out-card p,
.screen[data-screen="account"] .account-list button,
.screen[data-screen="account"] .discount-account p { color: #8d5321; }
.logout-button { width: 100%; min-height: 46px; margin-top: 22px; border: 2px solid #8d5321; color: #8d5321; background: white; font-size: 12px; font-weight: 800; }
.auth-backdrop { position: fixed; z-index: 100; inset: 0; background: #0009; opacity: 0; pointer-events: none; transition: opacity .2s; }.auth-backdrop.open { opacity: 1; pointer-events: auto; }
.login-modal { position: fixed; z-index: 110; top: 50%; left: 50%; width: min(calc(100% - 34px),420px); max-height: calc(100vh - 45px); overflow-y: auto; transform: translate(-50%,-50%); background: white; box-shadow: 0 15px 50px #0007; }.login-modal[hidden] { display: none; }
.login-head { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding-left: 20px; color: white; background: #8d5321; }.login-head h2 { margin: 0; color: white; }.login-head button { width: 55px; height: 55px; border: 0; color: white; background: transparent; font-size: 34px; }
.login-modal form { padding: 20px; }.login-modal label:not(.remember) { display: block; margin: 15px 0 6px; color: #65554d; font-size: 11px; font-weight: 800; letter-spacing: .4px; }.login-modal label > input,.password-wrap { display: flex; width: 100%; height: 47px; margin-top: 6px; border: 1px solid #9b928c; }.login-modal label > input { padding: 0 12px; }.password-wrap input { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; }.password-wrap button { width: 47px; border: 0; background: #eeeae7; }.login-modal .remember { display: flex; align-items: center; gap: 7px; margin: 14px 0; font-size: 13px; }.login-modal .remember input { width: 17px; height: 17px; accent-color: #8d5321; }
.demo-note { padding: 11px 13px; border-left: 5px solid #8d5321; background: #eeeae7; font-size: 12px; }.demo-note[hidden] { display: none; }.demo-note b,.demo-note span { display: block; }.demo-note span { margin-top: 4px; }.login-error { min-height: 20px; margin: 8px 0; color: #9f1924; font-size: 12px; font-weight: 700; }.text-link { width: 100%; margin: 16px 0; border: 0; color: #65554d; background: transparent; font-size: 11px; font-weight: 800; }.login-modal hr { border: 0; border-top: 1px solid #d8d1cc; }.login-modal form > p:not(.login-error) { font-size: 13px; }.register-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 45px; padding: 0 16px; border: 0; color: white; background: #65554d; font-size: 11px; font-weight: 800; text-decoration: none; }.register-button span { font-size: 20px; }.register-prompt { margin: 18px 0 8px; font-size: 13px !important; }

.password-reset-link { display: block; text-align: center; text-decoration: none; }
.password-reset-link:hover { text-decoration: underline; }

/* Dynamische Produktvarianten */
#discountDialog { width: min(430px, calc(100vw - 28px)); max-height: 85dvh; margin: auto; padding: 0; border: 0; color: #3e3733; background: white; box-shadow: 0 12px 45px #0005; }
#discountDialog::backdrop { background: #0008; }
#discountDialogContent { padding: 20px; font-size: 14px; line-height: 1.5; }
#discountDialogContent h3 { margin: 0 0 12px; color: #8d5321; }
#discountDialogContent table { width: 100%; border-collapse: collapse; }
#discountDialogContent th, #discountDialogContent td { padding: 10px 0; border-bottom: 1px solid #ddd5d0; text-align: left; }
#discountDialogContent th:last-child, #discountDialogContent td:last-child { text-align: right; }
.discount-dialog-shop { margin: 18px 0 0; padding: 12px; background: #eeeae7; }
.category-children .child-label { color: #333; font-size: 13px; }.category-children .child-label small { margin-top: 3px; color: #8d5321; font-size: 10px; }
.variant-panel { margin-top: 24px; border: 2px solid #8d5321; background: white; }.variant-panel[hidden] { display: none; }.variant-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 10px 13px 16px; color: white; background: #8d5321; }.variant-head small { color: #ead8c8; }.variant-head h2 { margin: 3px 0 0; color: white; font-size: 17px; }.variant-head button { width: 40px; height: 40px; border: 0; color: white; background: transparent; font-size: 30px; }.variant-loading { padding: 24px 16px; color: #65554d; text-align: center; }.variant-loading.error { color: #9f1924; }
.product-category-image { position: relative; height: 190px; margin: 0; overflow: hidden; background: #eeeae7; }.product-category-image[hidden] { display: none; }.product-category-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.variant-row .offer-product-image { grid-column: 1 / -1; display: block; width: 100%; max-height: 220px; object-fit: contain; background: white; }
.variant-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid #d8d1cc; }.variant-row:last-child { border-bottom: 0; }.variant-row b,.variant-row small,.variant-row span { display: block; }.variant-row b { font-size: 13px; }.variant-row small { margin-top: 4px; line-height: 1.35; }.variant-row div > span { margin-top: 5px; color: #8d5321; font-size: 10px; }.variant-row button { min-height: 37px; padding: 0 11px; border: 0; color: white; background: #8d5321; font-size: 10px; font-weight: 800; }
.selection-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: #eeeae7; }.selection-modes button { min-height: 43px; border: 2px solid #8d5321; color: #8d5321; background: white; font-size: 11px; font-weight: 800; }.selection-modes button.active { color: white; background: #8d5321; }
.cart-actions { display: grid; gap: 10px; margin-top: 16px; }.continue-shopping { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid #8d5321; color: #8d5321; background: white; font-size: 11px; font-weight: 800; }.continue-shopping span { margin-right: 8px; font-size: 20px; vertical-align: -2px; }
.checkout-form fieldset { margin: 0 0 18px; padding: 14px; border: 1px solid #cfc6c0; }.checkout-form legend,.checkout-form > label,.external-address label { color: #65554d; font-size: 11px; font-weight: 800; }.checkout-form fieldset label { display: flex; align-items: center; gap: 9px; margin: 10px 0; font-size: 13px; }.checkout-form fieldset input { width: 18px; height: 18px; accent-color: #8d5321; }.checkout-form > label,.external-address label { display: block; margin: 15px 0; }.checkout-form input:not([type="radio"]),.checkout-form select,.checkout-form textarea { width: 100%; min-height: 45px; margin-top: 6px; padding: 10px; border: 1px solid #9b928c; border-radius: 0; background: white; }.checkout-grid { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }.external-address[hidden] { display: none; }
.checkout-form .field-invalid { border-color: #b4232d !important; background-color: #fff2f2 !important; box-shadow: 0 0 0 1px #b4232d; }.checkout-form fieldset.field-invalid { border-width: 2px; }.checkout-form .field-invalid:focus { outline: 2px solid #b4232d; outline-offset: 1px; }
.registration-form { display: grid; gap: 16px; }.registration-section { padding: 16px; border: 1px solid #cfc6c0; background: white; }.registration-section h2 { margin: 0 0 14px; color: #8d5321; font-size: 15px; }.registration-section > p { color: #65554d; font-size: 12px; line-height: 1.45; }.registration-form label { display: block; margin: 13px 0; color: #65554d; font-size: 10px; font-weight: 800; letter-spacing: .35px; }.registration-form input:not([type="checkbox"]),.registration-form select,.registration-form textarea { width: 100%; min-height: 45px; margin-top: 6px; padding: 10px; border: 1px solid #9b928c; border-radius: 0; background: white; }.registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.registration-check { display: flex !important; align-items: flex-start; gap: 10px; padding: 12px; border: 1px dashed #65554d; background: #eeeae7; font-size: 12px !important; font-weight: 650 !important; line-height: 1.4; }.registration-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #8d5321; }.registration-check a { color: #8d5321; }.registration-consent { display: grid; gap: 8px; }.registration-consent label { margin: 0; }.registration-feedback { min-height: 18px; margin: 4px 0 10px !important; font-weight: 700; }.registration-feedback.error { color: #9f1924; }.registration-feedback.success { color: #17633e; }.registration-message { padding: 14px; border-left: 6px solid #9f1924; color: #7b121c; background: #f7e8e6; font-size: 12px; font-weight: 700; line-height: 1.5; }.registration-message.success { border-left-color: #17633e; color: #11502f; background: #e1f2e7; }.registration-message[hidden],.registration-honeypot { display: none !important; }.registration-form .field-invalid { border-color: #b4232d !important; background: #fff2f2 !important; box-shadow: 0 0 0 1px #b4232d; }.registration-section[hidden] { display: none; }
.customer-data-sections { display: grid; gap: 14px; margin-top: 16px; }.customer-data-section { min-width: 0; }.customer-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.customer-data-item { min-width: 0; padding: 11px 12px; border: 1px solid #ddd4ce; background: #f7f7f3; }.customer-data-item small,.customer-data-item strong { display: block; overflow-wrap: anywhere; }.customer-data-item small { margin-bottom: 5px; color: #806c5f; font-size: 9px; font-weight: 800; letter-spacing: .35px; text-transform: uppercase; }.customer-data-item strong { color: #8d5321; font-size: 13px; line-height: 1.35; }.customer-data-section > p { margin: 0; }
@media (max-width:600px) {
  .screen[data-screen="register"] .page-head { padding: 25px 16px 24px; }
  .screen[data-screen="register"] .page-head h1 { font-size: 25px; overflow-wrap: anywhere; }
  .screen[data-screen="register"] .page-head > p:last-child { font-size: 13px; line-height: 1.45; }
  .screen[data-screen="register"] .page-content { padding: 16px 12px 26px; }
  .screen[data-screen="register"] .category-menu-back { margin-bottom: 14px; white-space: normal; text-align: left; }
  .registration-form { gap: 12px; min-width: 0; }
  .registration-section { min-width: 0; padding: 13px 11px; }
  .registration-section h2 { font-size: 14px; }
  .registration-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .registration-form label { overflow-wrap: anywhere; }
  .registration-form input:not([type="checkbox"]),.registration-form select,.registration-form textarea { min-width: 0; font-size: 16px; }
  .registration-form .password-wrap { min-width: 0; height: auto; min-height: 47px; }
  .registration-form .password-wrap input { width: 1%; min-width: 0; font-size: 16px; }
  .registration-form .password-wrap button { flex: 0 0 72px; width: 72px; padding: 0 6px; font-size: 9px; }
  .registration-check { padding: 10px 8px; gap: 8px; overflow-wrap: anywhere; }
  .registration-check input { flex-basis: 22px; width: 22px; height: 22px; }
  #registrationSubmit { min-height: 50px; padding: 8px 13px; white-space: normal; text-align: left; }
  .screen[data-screen="customer-data"] .page-head { padding: 25px 16px 24px; }
  .screen[data-screen="customer-data"] .page-head h1 { font-size: 27px; }
  .screen[data-screen="customer-data"] .page-content { padding: 16px 12px 26px; }
  .customer-data-grid { grid-template-columns: minmax(0,1fr); }
}
.customer-prices { padding: 16px; }.customer-prices[hidden],.price-login-button[hidden] { display: none !important; }.price-list-intro { padding: 13px; border-left: 5px solid #8d5321; color: #65554d; background: #f1edeb; }.price-list-intro b,.price-list-intro span,.price-list-intro small { display: block; }.price-list-intro b { color: #8d5321; font-size: 11px; }.price-list-intro span { margin-top: 4px; color: #333; font-weight: 800; }.price-list-intro small { margin-top: 5px; line-height: 1.4; }.price-login-button { margin: 0 0 16px; }.price-list-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px 2px; border-bottom: 1px solid #d8d1cc; }.price-list-row b,.price-list-row small,.price-list-row span { display: block; }.price-list-row small { margin-top: 3px; color: #65554d; }.price-list-row span { margin-top: 4px; color: #8d5321; font-size: 10px; }.price-list-row strong { color: #153c2c; white-space: nowrap; }.price-list-row strong small { color: #65554d; font-size: 9px; text-align: right; }

.checkout-error { margin-bottom: 16px; padding: 13px; border-left: 6px solid #9f1924; color: #7b121c; background: #f7e8e6; font-size: 12px; font-weight: 700; line-height: 1.5; }.checkout-error[hidden] { display: none; }.review-comment { display: block; margin: 18px 0; color: #65554d; font-size: 11px; font-weight: 800; }.review-comment textarea { width: 100%; margin-top: 7px; padding: 11px; border: 1px solid #9b928c; border-radius: 0; background: white; }
.summary.shop-total-summary { padding: 22px 18px 0; color: white; background: #95591f; }.summary.shop-total-summary div { padding: 2px 0; color: white; font-size: 13px; font-weight: 700; }.summary.shop-total-summary [id$="DiscountRow"] { color: white; }.summary.shop-total-summary .summary-spacer { height: 18px; }.summary.shop-total-summary .gross-total { padding-bottom: 8px; }.summary.shop-total-summary .discount-hint { margin: 0 -18px; padding: 18px 12px; border-top: 1px solid #d3a778; color: white; font-size: 12px; font-weight: 700; text-align: center; }.summary.shop-total-summary .discount-hint:empty { display: none; }.summary.shop-total-summary .delivery-cost-note { margin: 0 -18px; padding: 14px 18px 17px; border-top: 1px solid #d3a778; color: white; font-size: 11px; font-weight: 650; line-height: 1.45; text-align: center; }

.review-discount-hint { margin: 14px -15px -15px !important; padding: 16px 12px; border-top: 1px solid #d3a778; color: white; background: #95591f; font-weight: 700; text-align: center; }
.review-section.review-prices { color: white; border: 0; background: #95591f; }.review-section.review-prices h2 { color: white; }.review-section.review-prices .review-total { border-top-color: #d3a778; }.review-section.review-prices .review-discount-hint { border-top-color: #d3a778; background: transparent; }

/* Produktkonfiguration */
.selection-backdrop { position: fixed; z-index: 120; inset: 0; background: #0009; opacity: 0; pointer-events: none; transition: opacity .2s; }.selection-backdrop.open { opacity: 1; pointer-events: auto; }.selection-modal { position: fixed; z-index: 130; left: 50%; bottom: 0; width: min(100%,470px); max-height: 92vh; overflow-y: auto; transform: translateX(-50%); background: white; box-shadow: 0 -15px 45px #0006; }.selection-modal[hidden] { display: none; }
.selection-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 12px 15px 19px; color: white; background: #8d5321; }.selection-head small { color: #ecd9c8; }.selection-head h2 { margin: 4px 0 0; color: white; font-size: 18px; }.selection-head button { width: 42px; height: 42px; border: 0; color: white; background: transparent; font-size: 32px; }.selection-modal form { padding: 20px; }.selection-details { padding: 14px; border-left: 6px solid #8d5321; background: #eeeae7; }.selection-details b,.selection-details span { display: block; }.selection-details span { margin-top: 5px; color: #65554d; font-size: 12px; }
.selection-modal form > label { display: block; margin: 17px 0; color: #65554d; font-size: 11px; font-weight: 800; }.selection-modal select,.selection-modal textarea { width: 100%; margin-top: 7px; padding: 11px; border: 1px solid #9b928c; border-radius: 0; background: white; }.quantity-picker { display: grid; grid-template-columns: 46px 1fr 46px; height: 46px; margin-top: 7px; border: 1px solid #8d5321; }.quantity-picker button { border: 0; color: white; background: #8d5321; font-size: 22px; }.quantity-picker input { min-width: 0; border: 0; text-align: center; }.selection-price { margin: 15px 0; padding: 14px; border-left: 6px solid #8d5321; color: #65554d; background: #f3e8df; }.selection-price > small { display: block; margin-bottom: 8px; color: #8d5321; font-size: 10px; font-weight: 800; }.selection-price-values span,.selection-price-values strong { display: flex; justify-content: space-between; gap: 15px; }.selection-price-values span { font-size: 12px; }.selection-price-values strong { margin-top: 10px; padding-top: 10px; border-top: 1px solid #cdb8a7; color: #153c2c; }.selection-price-values b { white-space: nowrap; }
.checkout-street-grid { display: grid; grid-template-columns: 1fr 115px; gap: 10px; }.checkout-checkbox { display: flex !important; align-items: flex-start; gap: 10px; padding: 13px; background: #eeeae7; }.checkout-checkbox input { width: 20px !important; min-height: 20px !important; margin: 0 !important; accent-color: #8d5321; }.checkout-form fieldset p { margin: 6px 0 12px; color: #65554d; font-size: 12px; }.simulation-note { margin-bottom: 18px; padding: 14px; border-left: 6px solid #9f1924; background: #f7e8e6; }.simulation-note b,.simulation-note span { display: block; }.simulation-note b { color: #9f1924; font-size: 12px; }.simulation-note span { margin-top: 4px; font-size: 12px; }.review-section { margin-bottom: 17px; padding: 15px; border: 1px solid #cfc6c0; background: white; }.review-section h2 { margin: 0 0 12px; color: #8d5321; font-size: 15px; }.review-section p { margin: 4px 0; font-size: 13px; }.review-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid #ddd5d0; }.review-item:last-child { border-bottom: 0; }.review-item b,.review-item small { display: block; }.review-item small { margin-top: 4px; }.review-prices div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }.review-prices .review-total { margin-top: 8px; padding-top: 12px; border-top: 2px solid #8d5321; font-size: 16px; font-weight: 800; }.checkout-success-card { margin-bottom: 20px; padding: 25px 18px; border: 2px solid #8d5321; text-align: center; }.checkout-success-card > b { color: #9f1924; font-size: 12px; }.checkout-success-card h2 { color: #8d5321; }.checkout-success-card p { font-size: 13px; line-height: 1.5; }

/* Verhindert den automatischen iOS-Zoom beim Fokussieren kleiner Formularfelder. */
input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: 16px; }

/* Abschließende Breakpoint-Overrides müssen hinter den Komponentenregeln stehen. */
@media (min-width: 700px) {
  .selection-modal { width: min(calc(100% - 64px),720px); bottom: 20px; max-height: calc(100vh - 80px); }
  .selection-modal form { padding: 28px; }
  .login-modal { width: min(calc(100% - 64px),520px); }
  .product-drawer { left: 0; width: min(52vw,430px); }
}

@media (max-width: 480px) {
  .checkout-grid,.checkout-street-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .selection-modes { grid-template-columns: minmax(0,1fr); }
  .variant-row,.price-list-row,.review-item { grid-template-columns: minmax(0,1fr); }
  .variant-row button { width: 100%; min-height: 44px; }
  .price-list-row strong,.price-list-row strong small { text-align: left; }
}

/* Responsive Grundlayout: Smartphones, iPad/Tablet im Hoch- und Querformat. */
@media (min-width: 700px) {
  body { padding: 0; }
  .app-shell { width: 100%; min-height: 100vh; min-height: 100dvh; box-shadow: none; }
  .topbar { top: 0; width: 100%; }
  .tabbar { bottom: 0; width: 100%; }
  .toast { bottom: calc(94px + env(safe-area-inset-bottom)); }

  .logo-row { padding-inline: clamp(24px,5vw,64px); }
  .brand { width: min(48%,360px); }
  .shop-menubar { margin-inline: clamp(18px,4vw,48px); padding-inline: 20px; }
  .shop-menubar .icon-button,
  .shop-menubar .cart-button { width: 46px; height: 46px; }

  .hero { min-height: 350px; padding: 64px clamp(42px,7vw,84px) 90px; }
  .hero h1 { max-width: 720px; font-size: clamp(38px,5vw,58px); }
  .hero > p:not(.eyebrow) { max-width: 560px; font-size: 16px; }
  .hero .primary { width: fit-content; min-width: 280px; }
  .page-head { padding: 48px clamp(42px,7vw,84px) 44px; }
  .page-head h1 { font-size: clamp(34px,4vw,46px); }
  .page-head > p:last-child { max-width: 620px; font-size: 15px; }
  .content-block { padding: 34px clamp(42px,7vw,84px); }
  .overlap { margin: -40px clamp(24px,4vw,54px) 0; padding-inline: clamp(34px,5vw,64px); }

  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .quick-grid button { min-height: 132px; padding: 22px; }
  .category-children.open{ display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-children button { min-width: 0; border-right: 1px solid #ddd5d0; }

  .checkout-form,
  .registration-form,
  .customer-data-sections,
  #checkoutReview,
  .review-comment { max-width: 860px; margin-inline: auto; }
  .checkout-grid { grid-template-columns: minmax(150px,.35fr) 1fr; }
  .registration-section { padding: 24px; }
  .customer-data-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cart-actions { grid-template-columns: minmax(220px,.65fr) minmax(300px,1fr); align-items: stretch; }
  .cart-actions .wide { height: 100%; }

  .variant-panel { max-width: 900px; margin-inline: auto; }
  .product-category-image { height: clamp(240px,32vw,380px); }
  .variant-row { padding: 17px 20px; }
  .selection-modal { width: min(calc(100% - 64px),720px); bottom: 20px; max-height: calc(100vh - 80px); }
  .selection-modal form { padding: 28px; }
  .login-modal { width: min(calc(100% - 64px),520px); }
  .product-drawer { left: 0; width: min(52vw,430px); }
}

@media (min-width: 1000px) {
  .quick-grid { max-width: 760px; }
  .order-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .orders-state { grid-column: 1/-1; }
}

@media (max-width: 480px) {
  .logo-row { height: 82px; padding-inline: 12px; }
  .topbar { height: calc(136px + env(safe-area-inset-top)); }
  .brand { width: 72%; }
  .brand img { height: 54px; }
  .shop-menubar { margin-inline: 6px; padding-inline: 9px 5px; }
  .products-menu { gap: 7px; font-size: 12px; }
  .products-menu img { width: 27px; height: 27px; }
  .menubar-actions { gap: 0; }
  .shop-menubar .icon-button,
  .shop-menubar .cart-button { width: 34px; padding: 5px; }
  main { padding-top: calc(136px + env(safe-area-inset-top)); }
  .hero { padding-inline: 18px; }
  .hero h1,.page-head h1 { font-size: clamp(27px,9vw,31px); overflow-wrap: anywhere; }
  .page-head,.content-block { padding-inline: 16px; }
  .quick-grid { grid-template-columns: minmax(0,1fr); }
  .quick-grid button { min-height: 96px; }
  .checkout-grid,.checkout-street-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .selection-modes { grid-template-columns: minmax(0,1fr); }
  .variant-row,.price-list-row,.review-item { grid-template-columns: minmax(0,1fr); }
  .variant-row button { width: 100%; min-height: 44px; }
  .price-list-row strong,.price-list-row strong small { text-align: left; }
  .summary div,.review-prices div { gap: 14px; }
  .summary b,.review-prices b { text-align: right; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .login-modal,.selection-modal { max-height: calc(100dvh - 24px); }
  .selection-modal { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.selection-round-package { display: block; max-width: 100%; margin: 0 0 17px; padding: 10px 12px; border: 0; border-radius: 3px; background: #8d5321; color: #fff; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; text-align: left; cursor: pointer; }
.selection-round-package[hidden] { display: none; }
.selection-round-package:disabled { opacity: .55; cursor: not-allowed; }
.selection-round-package:focus-visible { outline: 2px solid #153c2c; outline-offset: 3px; }
.selection-coverage { margin: -5px 0 17px; color: #153c2c; font-size: 13px; font-weight: 700; }
.keilbohlen-info { margin: 15px 0; padding: 14px; background: #f3e8df; border-left: 4px solid #8d5321; }
.keilbohlen-info h3 { margin: 0 0 16px; color: #153c2c; font-size: 15px; line-height: 1.4; }
.keilbohlen-diagrams { display: grid; gap: 20px; }
.keilbohlen-diagrams figure { margin: 0; text-align: center; }
.keilbohlen-diagrams img { display: block; width: 100%; max-width: 330px; height: auto; margin: 0 auto 8px; }
.keilbohlen-diagrams figcaption { font-size: 12px; font-weight: 700; line-height: 1.5; }

.selection-vpe-hint { margin: 0 0 10px; font-size: 13px; line-height: 1.5; white-space: pre-line; }

.variant-row small b,
.selection-details span b {
  font-weight: 800;
  color: #000;
}
.variant-row small b,
.selection-details span b {
  display: inline;
}
.screen[data-screen="category"] .page-head {
  display: none;
}

/* Bier zu mir - Schnellzugriff und Aktionsseite */
.quick-grid .quick-bier-aktion {
  position: relative;
  grid-column: 1 / -1;

  width: 100%;
  aspect-ratio: 1400 / 504;
  min-height: 0;

  padding: 0;
  border: 0;

  background: url("./assets/bier_zu_mir_1.jpg") center / cover no-repeat;

  clip-path: none;
  box-shadow: none;

  cursor: pointer;
  overflow: hidden;
}

.quick-grid .quick-bier-aktion:hover,
.quick-grid .quick-bier-aktion:focus-visible {
  background: url("./assets/bier_zu_mir_1.jpg") center / cover no-repeat;
}

/* AKTION-Badge oben rechts */
.quick-grid .quick-bier-aktion > .quick-bier-badge {
  position: absolute;
  top: 5px;
  right: 5px;

  display: block;

  padding: 7px 12px;

  color: #fff !important;
  background: #8d5321;

  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;

  z-index: 5;
}

/* Anleitung zum Hinzufügen zum Home-Bildschirm */
.quick-grid .quick-install {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 1778 / 885;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: none;
  box-shadow: none;
  overflow: hidden;
  background: url("./assets/home-bildschirm-button.png") center / cover no-repeat;
  cursor: pointer;
}
.quick-grid .quick-install:hover,
.quick-grid .quick-install:focus-visible {
  background: url("./assets/home-bildschirm-button.png") center / cover no-repeat;
}
.install-guide { max-width: 800px; line-height: 1.6; }
.install-guide > p { overflow-wrap: anywhere; }
.install-device { margin: 14px 0; border: 1px solid #cdb8a7; background: white; }
.install-device summary { padding: 18px; color: #65554d; font-weight: 800; cursor: pointer; }
.install-device summary small { display: block; margin-left: 18px; font-weight: 400; }
.install-device[open] summary { background: #f3e8df; border-bottom: 1px solid #cdb8a7; }
.install-steps { padding: 0 20px 0 48px; counter-reset: install-step; list-style: none; }
.install-steps li { position: relative; padding: 8px 0 18px 4px; counter-increment: install-step; }
.install-steps li::before { content: counter(install-step); position: absolute; left: -33px; top: 10px; width: 26px; height: 26px; line-height: 26px; text-align: center; color: white; background: #8d5321; border-radius: 50%; font-weight: 800; }
.install-steps h3 { margin: 0 0 8px; font-size: 16px; color: #65554d; }
.install-steps p { margin: 8px 0 0; font-size: 14px; }
.install-visual { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 12px 0; border: 1px solid #d8d1cc; border-radius: 8px; color: #65554d; background: #faf8f6; font-size: 13px; }
.install-visual svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: #8d5321; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-symbol { min-width: 30px; text-align: center; font-size: 30px; line-height: 1; color: #8d5321; }
.install-note { padding: 16px; border-left: 4px solid #8d5321; background: #eeeae7; font-size: 13px; }
.install-sources { font-size: 12px; }
.install-sources a { color: #79451b; text-decoration: underline; }
.quick-install:focus-visible,.install-device summary:focus-visible { outline: 3px solid #153c2c; outline-offset: 3px; }

/* Aktionsseite */
.bier-aktion-screen {
  background: #064a7a;
}

.bier-aktion-top {
  padding: 18px;
  background: #fff;
}

.bier-aktion-top .category-menu-back {
  margin: 0;
}

.bier-aktion-bilder {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-left: 1vw;
  padding-right: 1vw;
  font-size: 6px;
  color: #fff;
  background: #064a7a;
}

/* Bilder nahtlos untereinander */
.bier-aktion-bilder img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  border: 0;
}

/* Text unter dem letzten Bild */
.bier-aktion-bilder > p {
  margin: 0;
  padding: 24px 20px 34px;

  color: #fff;
  background: #064a7a;

  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

/* Überschrift "Bier zu mir" */
.bier-aktion-bilder h4 {
  margin: 0 0 10px;

  color: #fff;

  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
}

@media (min-width: 700px) {
  .bier-aktion-top {
    padding: 24px clamp(42px, 7vw, 84px);
  }

  .bier-aktion-bilder {
    max-width: 1400px;
    margin: 0 auto;
  }

  .bier-aktion-bilder > p {
    padding: 38px 48px 48px;
    font-size: 15px;
  }

  .bier-aktion-bilder h4 {
    font-size: 34px;
  }
}
.bier-button-wrapper {
  position: relative;
  width: 100%;
}

.bier-button-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* Transparente Klickfläche nur in der Mitte */
.bier-button-clickarea {
  position: absolute;

  left: 28%;
  right: 28%;

  top: 32%;
  bottom: 32%;

  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
  z-index: 10;
}

/* Optional: ganz leichter Effekt beim Darüberfahren */
.bier-button-clickarea:hover {
  background: rgba(255, 255, 255, 0.04);
}
