:root { --rot: #c8102e; --text: #1d1d1f; --leise: #5f6368; --rand: #dadce0; --bg: #fff; --fl: #fafafa; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) { :root { --text: #eee; --leise: #aaa; --rand: #444; --bg: #161616; --fl: #1f1f1f; } }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--text); background: var(--bg); }
main { max-width: 1040px; margin: 0 auto; padding: 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 4px solid var(--rot); flex-wrap: wrap; gap: 8px; }
.brand { font-weight: 700; font-size: 1.3rem; color: var(--rot); text-decoration: none; }
nav a, footer a { margin-left: 16px; color: inherit; }
footer { border-top: 1px solid var(--rand); padding: 16px; text-align: center; font-size: .9rem; }
.lead { color: var(--leise); }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card a { display: block; border: 1px solid var(--rand); border-radius: 8px; padding: 12px; color: inherit; text-decoration: none; background: var(--fl); }
.card img, .product img { width: 100%; height: auto; border-radius: 6px; background: var(--rand); }
.card h2 { font-size: 1.05rem; margin: 8px 0 0; }
.price { font-weight: 600; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .product, .two { grid-template-columns: 1fr !important; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label { display: block; margin: 12px 0; }
input, select, textarea { display: block; width: 100%; padding: 8px; font: inherit; border: 1px solid var(--rand); border-radius: 6px; background: var(--bg); color: inherit; }
button { font: inherit; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--rot); color: #fff; cursor: pointer; }
button.link { background: none; color: var(--rot); padding: 0; text-decoration: underline; }
button.danger { background: #7a0019; }
.note, small { color: var(--leise); font-size: .9rem; }
.msg.error { color: var(--rot); font-weight: 600; }
table.cart { width: 100%; border-collapse: collapse; }
table.cart td { border-bottom: 1px solid var(--rand); padding: 8px; vertical-align: top; }
table.cart input { width: 80px; }
.total { font-weight: 600; text-align: right; }
button.secondary { background: none; color: var(--rot); border: 1px solid var(--rot); }
