@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Regular.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Bold.ttf') format('truetype'); font-weight: 700 800; font-display: swap; }

:root {
  --ink: #14212b;
  --ink-2: #24384a;
  --text: #2a3a46;
  --muted: #5b6b76;
  --line: #e1e6ea;
  --line-2: #cdd5db;
  --soft: #f4f7f9;
  --soft-2: #eaf2f6;
  --blue: #087dad;
  --blue-hover: #056188;
  --blue-soft: #e5f3f9;
  --blue-light: #8dd5ef;
  --red: #ed1b2e;
  --on-dark: #c6d5de;
  --dark-2: #1c2c38;
  --dark-line: #2e4250;
  --ok: #1f7a4d;
  --ok-soft: #e3f3ea;
  --warn: #8a5a00;
  --warn-soft: #fff4d6;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 43, 0.06), 0 4px 16px rgba(20, 33, 43, 0.06);
  --shadow-lg: 0 2px 4px rgba(20, 33, 43, 0.06), 0 12px 32px rgba(20, 33, 43, 0.1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; font-size: 16px; }
a { color: inherit; }
a:hover { color: var(--blue-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

/* Buttons und Formulare */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-danger { background: #fff; color: #b42318; border-color: #f1b8b2; }
.btn-danger:hover { background: #fef3f2; color: #b42318; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--ink); }

input, select, textarea { font: inherit; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 12px; font-weight: 400; font-size: 16px; background: #fff; }
.field textarea { min-height: 120px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.error { background: #fdecec; color: #9b1020; border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.success { background: var(--ok-soft); color: var(--ok); border-radius: var(--radius); padding: 12px 16px; font-weight: 600; }

/* Kopfbereich */
.demo-bar { background: var(--warn-soft); color: var(--warn); font-size: 13px; text-align: center; padding: 6px 16px; }
.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 6px; }
.topbar .icon { color: var(--blue-light); }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-main { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -0.045em; line-height: 1; display: block; }
.brand-name span { color: var(--blue); }
.brand-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.search { flex: 1 1 auto; display: flex; min-width: 0; position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line-2); background: var(--soft); border-radius: var(--radius) 0 0 var(--radius); padding: 0 16px 0 44px; font-size: 15px; }
.search input:focus { background: #fff; border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.search button { border-radius: 0 var(--radius) var(--radius) 0; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.head-link { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 10px; border-radius: var(--radius); font-size: 13px; line-height: 1.25; }
.head-link:hover { background: var(--soft); color: var(--ink); }
.head-link b { display: block; font-size: 14px; }
.head-link span { color: var(--muted); }
.cart-link { position: relative; }
.head-link .badge { position: absolute; top: 0; left: 24px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; flex-wrap: wrap; gap: 4px; position: relative; }
.catnav .menu-top { display: flex; align-items: center; gap: 8px; padding: 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text); white-space: nowrap; border-bottom: 2px solid transparent; cursor: pointer; list-style: none; }
.catnav summary::-webkit-details-marker { display: none; }
.catnav .menu-top:hover, .catnav .menu-top.active, .catnav a.menu-top[aria-current='page'], .menu-group[open] > .menu-top { color: var(--blue); border-bottom-color: var(--blue); }
.catnav .icon { color: var(--blue); }
.menu-top .icon:last-child { transform: rotate(90deg); transition: transform 0.15s; }
.menu-group[open] > .menu-top .icon:last-child { transform: rotate(-90deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px; }
.menu-panel a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu-panel a:hover, .menu-panel a[aria-current='page'] { background: var(--soft); }
.menu-panel a span { display: flex; flex-direction: column; gap: 2px; }
.menu-panel b { font-size: 15px; }
.menu-panel small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.group-title { font-size: 18px; margin: 28px 0 14px; }
.group-title:first-of-type { margin-top: 0; }

/* Startseite */
.hero { background: linear-gradient(180deg, var(--soft-2) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--text); max-width: 560px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-width: 620px; }
.hero-search input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; padding: 0 12px; font-size: 17px; background: transparent; }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 52px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text); }
.chip:hover { border-color: var(--blue); color: var(--blue); }

.plate-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.plate-card h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.plate-card h2 .icon { color: var(--blue); }
.plate-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 15px; }
.plate-card li { display: flex; gap: 10px; }
.plate-card li .icon { color: var(--ok); margin-top: 2px; }
.plate { background: linear-gradient(180deg, #eef1f4, #e2e7ec); border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; padding: 18px 20px; font-family: 'Courier New', monospace; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plate-label { font-family: inherit; font-weight: 700; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.plate mark { background: var(--blue-light); padding: 4px 8px; border-radius: 4px; align-self: flex-start; font-weight: 700; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.text-link:hover { color: var(--blue-hover); text-decoration: underline; }

.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }
.band { background: var(--soft); }

.grid-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat.cat-ask { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; background: var(--ink); border-color: var(--ink); color: #fff; }
.cat.cat-ask strong { color: #fff; }
.cat.cat-ask span { color: var(--on-dark); }
.cat.cat-ask .ico { background: rgba(255,255,255,0.1); color: var(--blue-light); }
.cat.cat-ask:hover { border-color: var(--blue); }
.cat { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.cat:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.cat:hover .ico { background: var(--blue-soft); }
.cat strong { font-size: 16px; line-height: 1.3; }
.cat span { font-size: 13px; color: var(--muted); line-height: 1.45; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step strong { font-size: 19px; }
.step span { color: var(--muted); }

.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands span { padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--muted); font-size: 15px; background: #fff; }

.cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 125, 173, 0.45), transparent 70%); }
.cta h2 { font-size: 32px; }
.cta p { margin-top: 10px; color: var(--on-dark); font-size: 17px; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; color: var(--text); }

/* Produktkarten */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; position: relative; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card-media { aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--line-2); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-weight: 700; text-decoration: none; line-height: 1.35; }
.card-title::after { content: ''; position: absolute; inset: 0; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.card .price { font-size: 20px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--text); }
.tag-blue { background: var(--blue-soft); color: var(--blue-hover); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.card .tag { position: absolute; top: 12px; left: 12px; z-index: 1; }

/* Listen, Gerät, Artikel */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .icon { color: var(--line-2); }
.page-head { padding: 20px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }

.device-head { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.device-head .ico { width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.device-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.device-head > div:nth-child(2) { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.ok { color: var(--ok); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 72px; }
.layout aside { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 140px; }
.layout main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.group-link { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 15px; }
.group-link:hover { background: var(--soft); color: var(--ink); }
.group-link[aria-current='true'] { background: var(--blue-soft); color: var(--blue-hover); font-weight: 700; }
.group-link small { color: var(--muted); font-weight: 500; }
.help-box { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.help-box .icon { color: var(--blue); }
.row { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.row:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.thumb { width: 96px; height: 96px; border-radius: 10px; background: var(--soft); object-fit: contain; display: flex; align-items: center; justify-content: center; color: var(--line-2); }
.row-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-info a { font-weight: 700; font-size: 17px; text-decoration: none; }
.row-buy { display: flex; align-items: center; gap: 16px; }
.price { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.price-lg { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; }
.list-note { font-size: 13px; color: var(--muted); }

.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 24px 0 56px; }
.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 140px; }
.gallery-main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--line-2); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery-main .slide { width: 100%; height: 100%; }
.gallery input { position: absolute; opacity: 0; pointer-events: none; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs label { width: 76px; height: 76px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-box { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: #fff; box-shadow: var(--shadow); }
.buy { display: flex; gap: 12px; align-items: flex-end; }
.buy .field input { width: 84px; text-align: center; }
.buy .btn { flex: 1 1 auto; min-height: 52px; font-size: 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: 1px; }
.fit { align-self: flex-start; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.desc { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.desc h2 { font-size: 20px; }
.desc div { white-space: pre-line; color: var(--text); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.note-box { background: var(--soft); border-radius: 12px; padding: 16px; font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.note-box .icon { color: var(--blue); }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 32px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* Warenkorb und Kasse */
.progress { display: flex; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li + li::before { content: ''; width: 28px; height: 1px; background: var(--line-2); }
.progress b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.progress [aria-current='step'] { color: var(--ink); }
.progress [aria-current='step'] b, .progress .done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding: 28px 0 80px; }
.cart > div, .cart > form { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cart h1 { font-size: 34px; font-weight: 800; }
.cart-row { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px 20px; align-items: center; }
.cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 110px; }
.cart-price .price { font-size: 20px; }
.summary { background: var(--soft); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 140px; }
.summary h2 { font-size: 20px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { border-top: 1px solid var(--line-2); padding-top: 12px; font-weight: 800; font-size: 22px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { font-size: 12px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--text); }
.qty-form { display: flex; gap: 8px; align-items: center; }
.qty-form input { width: 64px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 10px; text-align: center; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin: 0; display: flex; flex-direction: column; gap: 12px; background: #fff; }
legend { font-weight: 800; padding: 0 6px; font-size: 17px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.option input { margin-top: 4px; accent-color: var(--blue); }
.option b { display: block; }
.option small { color: var(--muted); font-size: 14px; }
.radio { display: flex; gap: 10px; align-items: flex-start; }
.radio input { margin-top: 4px; accent-color: var(--blue); }
.done-box { max-width: 720px; margin: 48px auto 80px; border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.done-box .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.done-box h1 { font-size: 32px; }

.legal { max-width: 820px; padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }

/* Fußbereich */
.footer { background: var(--ink); color: var(--on-dark); font-size: 14px; margin-top: 0; }
.footer-top { border-bottom: 1px solid var(--dark-line); }
.footer-top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.footer-top b { color: #fff; font-size: 18px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.footer .cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer strong { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-name span { color: var(--blue-light); }
.footer .bottom { border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; font-size: 13px; }
.footer .pay-icons span { background: transparent; color: var(--on-dark); border-color: var(--dark-line); }

/* Admin */
.admin-bar { background: var(--soft); border-bottom: 1px solid var(--line); }
.admin-bar .wrap { display: flex; gap: 6px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; align-items: center; }
.admin-bar a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.admin-bar a[aria-current='page'] { background: #fff; box-shadow: var(--shadow); }
.admin-page { padding-top: 32px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.admin-page h1 { font-size: 30px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
table.admin th, table.admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin th { color: var(--muted); font-weight: 600; font-size: 13px; }
table.admin img, table.admin .thumb { width: 52px; height: 52px; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.panel h2 { font-size: 18px; }
.img-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.img-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.img-item img { aspect-ratio: 1; object-fit: contain; background: #fff; padding: 4px; }
.img-item div { display: flex; flex-wrap: wrap; gap: 2px 8px; justify-content: space-between; padding: 4px 6px; font-size: 12px; background: var(--soft); }
.img-item button { background: none; border: 0; padding: 2px; font: inherit; font-size: 12px; cursor: pointer; color: var(--muted); text-decoration: underline; }
.check-row { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--blue); }

/* Mobil */
@media (max-width: 1080px) {
  .header-main .head-link.hide-md { display: none; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .layout aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .layout aside .aside-title { width: 100%; margin: 0; }
  .layout aside .group-link { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
  .layout aside .help-box { display: none; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar ul { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar a { white-space: nowrap; }
  .hero-links span:first-child { display: none; }
  .header-main { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; }
  .brand { flex: 1 1 auto; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 21px; }
  .brand-sub { display: none; }
  .search { order: 3; flex-basis: 100%; }
  .search button { padding: 0 16px; }
  .head-link .label { display: none; }
  .trust .wrap { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 48px 0; }
  .grid-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { padding: 14px; }
  .cat span { display: none; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 12px; }
  .card .price { font-size: 17px; }
  .row { grid-template-columns: 72px minmax(0, 1fr); }
  .row .thumb { width: 72px; height: 72px; }
  .row-buy { grid-column: 1 / -1; justify-content: space-between; }
  .cart-row { grid-template-columns: 1fr; }
  .cart-price { flex-direction: row-reverse; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
  .hero-search { flex-direction: column; }
  .footer .cols { grid-template-columns: 1fr; }
  .device-head .ico { display: none; }
  .done-box { padding: 24px; margin: 24px auto 48px; }
}

/* EED-Katalog */
.device-search { display: flex; gap: 8px; margin-bottom: 18px; }
.device-search input { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 10px; font-size: 15px; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 24px 0 8px; font-weight: 600; }
.test-bar { background: #e7f1fb; color: #0b4f6c; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Kundenkonto */
.auth { max-width: 520px; margin: 32px auto 72px; display: flex; flex-direction: column; gap: 18px; }
.auth form { display: flex; flex-direction: column; gap: 16px; }
.account { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin: 24px 0 72px; align-items: start; }
.account section { display: flex; flex-direction: column; gap: 14px; }
.account form { display: flex; flex-direction: column; gap: 14px; }
.parcel { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } }

/* Seitenmenü für Handy und Tablet */
.menu-btn, .drawer, .drawer-backdrop { display: none; }
@media (max-width: 900px) {
  .catnav { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; border: 0; background: none; color: var(--ink); border-radius: var(--radius); cursor: pointer; flex: none; }
  .menu-btn:hover { background: var(--soft); }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(20, 33, 43, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  .drawer { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(360px, 88vw); background: #fff; box-shadow: 0 0 40px rgba(20, 33, 43, 0.25); transform: translateX(-100%); transition: transform 0.25s ease; visibility: hidden; }
  .drawer-open { overflow: hidden; }
  .drawer-open .drawer { transform: none; visibility: visible; }
  .drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
  .drawer-head strong { font-size: 18px; }
  .drawer-close { width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
  .drawer-body { flex: 1; overflow-y: auto; padding: 8px 0 16px; }
  .drawer-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; }
  .drawer-row::-webkit-details-marker { display: none; }
  .drawer-group[open] .drawer-ico { background: var(--blue-soft); }
  @media (hover: hover) { .drawer-row:hover, .drawer-link:hover { background: var(--soft); } }
  .drawer-row > .icon:last-child { margin-left: auto; color: var(--muted); transition: transform 0.2s; }
  .drawer-group[open] > .drawer-row > .icon:last-child { transform: rotate(90deg); }
  .drawer-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
  .drawer-label { display: flex; flex-direction: column; }
  .drawer-label small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .drawer-sub { display: flex; flex-direction: column; padding: 2px 0 8px 74px; }
  .drawer-sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 0; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line); }
  .drawer-sub a:last-child { border-bottom: 0; }
  .drawer-sub a .icon { color: var(--blue); }
  .drawer-sub a[aria-current='page'], .drawer-row[aria-current='page'] { color: var(--blue); }
  .drawer-title { display: block; margin: 16px 20px 4px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .drawer-link { display: flex; align-items: center; gap: 12px; padding: 11px 20px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
  .drawer-link .icon { color: var(--blue); }
  .drawer-call { display: flex; align-items: center; gap: 12px; margin: 0 16px 16px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; text-decoration: none; }
  .drawer-call .icon { color: var(--blue-light); }
  .drawer-call span { display: flex; flex-direction: column; }
  .drawer-call small { color: var(--on-dark); font-size: 13px; }
}
