*{box-sizing:border-box}body{margin:0;font:14px system-ui,-apple-system,Segoe UI,sans-serif;background:#f5f6f8;color:#20242a}a{color:#126b5a;text-decoration:none}header{position:sticky;top:0;z-index:5;background:#17211f;color:white;padding:14px 24px;display:flex;justify-content:space-between;align-items:center}header strong{font-size:20px}header span{margin-left:12px;color:#bdc9c6}nav a{color:white;margin-left:18px}main{max-width:1500px;margin:24px auto;padding:0 18px}.login{max-width:480px;margin:8vh auto;background:white;padding:28px;border-radius:14px;box-shadow:0 10px 35px #0001}.login h1{margin-top:0}label{display:block;margin:12px 0;font-weight:600}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:10px;border:1px solid #ccd2d0;border-radius:7px;background:white}textarea{min-height:80px}button{border:0;border-radius:7px;background:#126b5a;color:white;padding:10px 14px;cursor:pointer}.secondary{background:#56645f}.danger{background:#a83232}.err,.ok,.stats{padding:12px 14px;border-radius:8px;margin:12px 0}.err{background:#ffe5e5}.ok{background:#e1f6e9}.stats{background:white}.tools{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;margin-bottom:14px}.check{display:flex;gap:8px;align-items:center;margin:0;background:white;padding:8px 12px;border-radius:7px}.check input{width:auto}.tablewrap{overflow:auto;background:white;border-radius:10px}table{border-collapse:collapse;width:100%;min-width:1000px}th,td{padding:10px;border-bottom:1px solid #e5e8e7;text-align:left;vertical-align:top}th{background:#edf1f0;position:sticky;top:0}.qty{width:72px}.stock,.full{color:#087a48;font-weight:700}.muted,small{color:#69736f;display:block}.checkout{max-width:650px;background:white;margin:20px 0;padding:20px;border-radius:10px}.tabs{display:flex;gap:8px;margin-bottom:16px}.tabs a{background:white;padding:10px 14px;border-radius:8px}.tabs .active{background:#126b5a;color:white}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:14px}.cards article{background:white;padding:16px;border-radius:10px}.inline{display:inline-block;margin:6px 6px 0 0}.inline select{width:auto}.rowfull{background:#e7f7ed}.actions{display:flex;flex-wrap:wrap;gap:6px}.actions form{margin:0}.stockform{display:flex;gap:5px}.stockform input{width:70px}@media(max-width:700px){.tools{grid-template-columns:1fr}header{align-items:flex-start}.login{margin:20px}.cards{grid-template-columns:1fr}}
/* Katalog-Navigation und fester Warenkorb */
.catalogtools{background:#f5f6f8;position:relative;margin-bottom:14px}.searchrow{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;margin-bottom:10px}.carttop{white-space:nowrap}.themebar{display:flex;gap:7px;overflow-x:auto;padding:2px 0 9px;scrollbar-width:thin}.themechip,.viewtab{background:white;color:#33413d;border:1px solid #d9dfdd;white-space:nowrap}.themechip span,.viewtab span{font-size:12px;color:#6d7874;margin-left:4px}.themechip.active,.viewtab.active{background:#126b5a;color:white;border-color:#126b5a}.themechip.active span,.viewtab.active span{color:#dff2ec}.viewtabs{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.resultcount{margin-left:auto;color:#69736f}.tablewrap{max-height:calc(100vh - 235px);min-height:360px}.tablewrap th{top:0;z-index:2}.cartbar{position:fixed;z-index:20;left:50%;bottom:18px;transform:translateX(-50%);width:min(900px,calc(100% - 28px));background:#17211f;color:white;padding:12px 14px;border-radius:12px;box-shadow:0 12px 35px #0004;display:flex;align-items:center;justify-content:space-between;gap:12px}.cartbar[hidden]{display:none}.cartbar button{white-space:nowrap}.checkoutOverlay{position:fixed;z-index:50;inset:0;background:#0008;padding:18px;display:grid;place-items:center}.checkoutOverlay[hidden]{display:none}.checkoutModal{position:relative;background:white;border-radius:14px;padding:24px;width:min(680px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 70px #0006}.checkoutModal h2{margin-top:0;padding-right:35px}.modalClose{position:absolute;right:12px;top:10px;background:transparent;color:#45534f;font-size:28px;padding:2px 10px}.orderSummary{border:1px solid #e1e6e4;border-radius:8px;max-height:240px;overflow:auto}.orderSummary div{display:flex;justify-content:space-between;gap:15px;padding:9px 11px;border-bottom:1px solid #edf0ef}.orderSummary div:last-child{border-bottom:0}.orderSummary span{min-width:0}.orderSummary b{white-space:nowrap}.modalActions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.modalOpen{overflow:hidden}
@media(max-width:800px){.themeCol{display:none}.tablewrap{max-height:none}.cartbar{bottom:10px}.cartbar>div span{display:none}.searchrow{grid-template-columns:1fr auto}.carttop{padding:10px}.resultcount{width:100%;margin-left:0}.modalActions{flex-direction:column-reverse}.modalActions button{width:100%}}

/* Mobile Produktkarten */
.stepper{display:flex;align-items:center;gap:6px}.qtyBtn{display:none;width:42px;height:42px;padding:0;font-size:22px;line-height:1}.stepper .qty{text-align:center}
@media(max-width:700px){
 body{font-size:15px;padding-bottom:82px}
 header{padding:11px 14px;position:sticky;top:0}header strong{font-size:18px}header span{display:none}nav a{margin-left:12px}
 main{margin:12px auto;padding:0 10px}
 .catalogtools{position:sticky;top:51px;z-index:4;padding:8px 0 7px;background:#f5f6f8}
 .searchrow{grid-template-columns:minmax(0,1fr) auto;margin-bottom:7px}.searchrow input{min-width:0}.carttop{font-size:0}.carttop:before{content:'🛒';font-size:17px}.carttop b{font-size:14px;margin-left:5px}
 .themebar{padding-bottom:7px}.themechip,.viewtab{padding:8px 11px}.viewtabs{gap:5px}.resultcount{font-size:12px}
 .tablewrap{overflow:visible;background:transparent;border-radius:0;min-height:0}
 table{display:block;min-width:0;width:100%}thead{display:none}tbody{display:grid;grid-template-columns:1fr;gap:10px}tbody tr{display:grid!important;grid-template-columns:1fr 1fr;background:white;border-radius:12px;padding:12px;box-shadow:0 2px 10px #0000000b;border:1px solid #e5e8e7}tbody tr[hidden]{display:none!important}
 td{display:flex;border:0;padding:5px 0;min-width:0;align-items:baseline;justify-content:space-between;gap:10px}td:before{content:attr(data-label);font-size:12px;color:#69736f;font-weight:600;flex:0 0 auto}
 .productNo{grid-column:1;display:block;font-size:12px;color:#69736f;padding:0}.productNo:before{display:none}
 .productName{grid-column:1/-1;display:block;font-size:16px;padding:2px 0 8px;border-bottom:1px solid #edf0ef}.productName:before{display:none}.productName b{display:block}.stock{font-size:12px;margin-top:4px}
 .themeCol{display:flex;grid-column:1/-1}.veState{grid-column:1/-1;border-top:1px solid #edf0ef;margin-top:3px;padding-top:9px}.veState small{display:inline;margin-left:5px}
 .qtyCell{grid-column:1/-1;align-items:center;padding-top:9px}.qtyCell:before{font-size:14px;color:#20242a}.stepper{margin-left:auto}.qtyBtn{display:inline-grid;place-items:center}.stepper .qty{width:58px;height:42px;padding:7px;font-size:16px;font-weight:700}
 .cartbar{left:10px;right:10px;bottom:8px;transform:none;width:auto;border-radius:11px;padding:10px 11px}.cartbar>div{min-width:0}.cartbar>div b{white-space:nowrap}.cartbar button{padding:10px 12px}
 .checkoutOverlay{padding:8px;align-items:end}.checkoutModal{width:100%;max-height:92vh;border-radius:16px 16px 8px 8px;padding:20px 16px}.orderSummary{max-height:32vh}
}

/* Bestellhinweis */
.orderinfo{background:#fff7d6;border:1px solid #ead78b;border-radius:10px;padding:12px 14px;margin:0 0 14px;display:flex;gap:10px;align-items:flex-start}.orderinfo b{white-space:nowrap}.orderinfo span{line-height:1.45}
