/* NT3D – technisches, sachliches Design
   Farben aus dem Logo: Grau #7b7b7b, Cyan #5ec5dc */

:root {
  --ink: #15181b;
  --ink-2: #2a2f34;
  --graphite: #1b1f23;
  --graphite-2: #23282d;
  --steel: #6b737b;
  --steel-2: #9aa2a9;
  --line: #e2e5e8;
  --line-strong: #cfd4d8;
  --bg: #ffffff;
  --surface: #ffffff;
  --header-bg: rgba(255,255,255,.94);
  --primary: var(--ink);
  --primary-hover: var(--accent-ink);
  --on-primary: #ffffff;
  --selected-bg: #fbfdfe;
  --bg-alt: #f4f6f7;
  --accent: #3fb6d1;
  --accent-ink: #0d6f86;   /* Cyan für Text auf Weiß (Kontrast AA) */
  --accent-soft: #e6f6fa;
  --ok: #1f8a5b;
  --warn: #a8660b;
  --warn-soft: #fff5e6;
  --danger: #b42318;
  --danger-soft: #fdecea;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--steel); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--steel); }
.brand img { height: 40px; width: auto; }
.brand-tag { font-family: var(--mono); font-size: .68rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; border-left: 1px solid var(--line-strong); padding-left: 14px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: var(--radius);
}
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); border-radius: var(--radius); }
.cart-link:hover { background: var(--bg-alt); color: var(--ink); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  font: 600 11px/18px var(--mono); text-align: center; color: #fff; background: var(--accent-ink); border-radius: 9px;
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }

@media (max-width: 860px) {
  .brand-tag { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .header-actions { margin-left: auto; }
}

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-primary:disabled { background: var(--steel-2); cursor: not-allowed; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow:hover { color: var(--accent-ink); }

/* ------------------------------------------------------------ Kicker / Abschnittsköpfe */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--steel);
  margin-bottom: 18px;
}
.kicker-idx { color: var(--accent-ink); padding-right: 10px; border-right: 1px solid var(--line-strong); }
.kicker-light { color: var(--steel-2); }
.kicker-light .kicker-idx { color: var(--accent); border-color: rgba(255,255,255,.2); }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head h2 { margin-bottom: .35em; }
.section-intro { color: var(--steel); font-size: 1.05rem; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: 32px 0 clamp(56px, 8vw, 96px); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-more { margin: 32px 0 0; }

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(1200px 600px at 85% 30%, #26323a 0%, var(--graphite) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 104px); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 14ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c9d0d6; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-primary { background: var(--accent); color: var(--ink); }
.hero-actions .btn-primary:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Kennzahlen */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font: 600 1.6rem/1.1 var(--mono); letter-spacing: -0.02em; }
.stat-label { font-size: .85rem; color: var(--steel); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------ Produkte */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: var(--ink); box-shadow: 0 8px 24px -16px rgba(0,0,0,.35); }
.product-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product-card-media { position: relative; aspect-ratio: 5 / 4; background: var(--bg-alt); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-media img { transform: scale(1.03); }
.product-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin-bottom: 6px; }
.product-card h3 { margin-bottom: 4px; }
.product-card-sub { color: var(--steel); font-size: .9rem; margin-bottom: 16px; }
.product-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.product-card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.product-card.is-draft { border-style: dashed; }
.price { font: 600 1.15rem/1 var(--mono); letter-spacing: -0.01em; }
.price-lg { font-size: 2rem; }
.badge {
  position: absolute; top: 12px; left: 12px;
  font: 600 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px;
}
.badge + .badge { top: 40px; }
.badge-warn { background: var(--warn-soft); color: var(--warn); border-color: #f1d2a5; }
.img-placeholder {
  width: 100%; height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--steel-2); font: .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px, var(--bg-alt);
}

/* ------------------------------------------------------------ Split / Schritte */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-text { align-items: start; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { list-style: none; margin: 24px 0 32px; padding: 0; border-top: 1px solid var(--line-strong); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.steps p { margin: 4px 0 0; color: var(--steel); font-size: .95rem; }
.step-no { color: var(--accent-ink); font-weight: 600; padding-top: 2px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
}

.service-teaser { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; }
.service-teaser .section-head { margin: 0; }
@media (max-width: 960px) { .service-teaser { grid-template-columns: 1fr; gap: 24px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: none; color: var(--accent-ink); margin-top: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.feature { padding: 32px 28px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature-no { display: block; color: var(--accent-ink); font-weight: 600; margin-bottom: 20px; }
.feature p { color: var(--steel); margin: 0; }
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: 0; }
}

.cta-box { border: 1px solid var(--line-strong); background: var(--surface); padding: 32px; border-radius: var(--radius); }

/* ------------------------------------------------------------ Zahlungsleiste */
.pay-strip { background: var(--graphite); color: #cfd6dc; }
.pay-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 22px; padding-bottom: 22px; font-size: .9rem; }
.pay-strip .mono { font-size: .72rem; letter-spacing: .14em; color: var(--steel-2); margin-right: 8px; }
.pay-chip { border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 2px; color: #fff; font-weight: 500; }
.pay-note { margin-left: auto; color: var(--steel-2); }
@media (max-width: 760px) { .pay-note { margin-left: 0; width: 100%; } }

/* ------------------------------------------------------------ Seitenkopf */
.page-head { padding: 40px 0 8px; }
.page-head-dark { background: var(--graphite); color: #fff; padding: 48px 0 56px; }
.page-head-dark .breadcrumb, .page-head-dark .breadcrumb a { color: var(--steel-2); }
.page-head-dark .page-intro { color: #c9d0d6; }
.page-intro { color: var(--steel); font-size: 1.1rem; max-width: 62ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 20px; }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line-strong); }

/* ------------------------------------------------------------ Filter */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-count { font: .72rem var(--mono); opacity: .7; }
.filter-count { margin-left: auto; font-size: .75rem; color: var(--steel); text-transform: uppercase; letter-spacing: .1em; }
.empty { padding: 48px 0; color: var(--steel); }

/* ------------------------------------------------------------ Produktseite */
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery-main img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; background: var(--bg-alt); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumb { padding: 0; width: 88px; aspect-ratio: 5 / 4; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active, .gallery-thumb:hover { opacity: 1; border-color: var(--ink); }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-sku { font-size: .72rem; color: var(--steel); letter-spacing: .12em; margin-bottom: 8px; }
.product-subtitle { color: var(--steel); font-size: 1.05rem; }
.product-price { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-price .price-lg { margin-bottom: 6px; }
.price-note { font-size: .85rem; color: var(--steel); }
.buy-box { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 46px; }
.qty input { width: 48px; border: 0; text-align: center; font-family: var(--mono); -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink-2); }
.qty-btn:hover { background: var(--bg-alt); }
.qty-sm { height: 36px; }
.qty-sm input { width: 38px; }
.qty-sm .qty-btn { width: 32px; }
.delivery { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ok); letter-spacing: .04em; margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31,138,91,.15); }
.add-feedback { min-height: 1.5em; font-size: .9rem; color: var(--ok); margin-bottom: 12px; }
.add-feedback a { font-weight: 600; }
.notice { padding: 14px 16px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 2px; font-size: .92rem; margin: 0 0 20px; }
.notice-warn { background: var(--warn-soft); border-color: var(--warn); }
.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.safety-list { margin: 0; padding: 20px 20px 20px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.safety-list li + li { margin-top: 8px; }
@media (max-width: 900px) {
  .product-layout, .product-details { grid-template-columns: 1fr; }
  .product-info { position: static; }
}

/* ------------------------------------------------------------ Tabellen */
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tbody th[scope="row"] { font-weight: 500; color: var(--steel); width: 45%; }
.spec-table td { font-family: var(--mono); font-size: .88rem; }
.spec-table thead th, .spec-group th { font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--ink); padding-top: 22px; }
.section-alt .spec-group th { background: var(--bg-alt); }
.spec-table tbody:first-child .spec-group th { padding-top: 10px; }

/* ------------------------------------------------------------ Formulare */
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; background: var(--surface); min-width: 0; }
.panel legend { font-weight: 650; font-size: 1.05rem; padding: 0 8px; margin-left: -8px; }
.panel legend .mono { color: var(--accent-ink); margin-right: 6px; font-size: .9rem; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(63,182,209,.25); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; margin: 6px 0 0; }
.pw-wrap { position: relative; }
.field .pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--steel); cursor: pointer; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--accent-ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pw-toggle svg { width: 22px; height: 22px; }
.pw-toggle .pw-off, .pw-toggle[aria-pressed="true"] .pw-on { display: none; }
.pw-toggle[aria-pressed="true"] .pw-off { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-zip { grid-template-columns: 140px 1fr; }
@media (max-width: 560px) { .field-row, .field-row-zip { grid-template-columns: 1fr; gap: 0; } }
.req { color: var(--danger); }
.opt { color: var(--steel); font-weight: 400; }
.hint { color: var(--steel); font-size: .82rem; margin: 6px 0 0; }
.legal-note { font-size: .85rem; color: var(--steel); }
.form-error { padding: 12px 14px; background: var(--danger-soft); color: var(--danger); border-radius: 2px; font-size: .9rem; }
.form-success { margin-top: 16px; padding: 14px 16px; background: #e8f5ee; color: var(--ok); border-left: 3px solid var(--ok); }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.pay-option:hover { border-color: var(--ink); }
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); background: var(--selected-bg); }
.pay-option input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.pay-option-body { display: flex; flex-direction: column; gap: 2px; }
.pay-option-body span { font-size: .87rem; color: var(--steel); }
.paypal-slot, .applepay-slot { min-height: 50px; margin-top: 8px; }
apple-pay-button { --apple-pay-button-width: 100%; --apple-pay-button-height: 50px; --apple-pay-button-border-radius: 4px; display: block; }

/* ------------------------------------------------------------ Warenkorb / Kasse */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line-img { width: 96px; aspect-ratio: 5 / 4; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; background: var(--bg-alt); }
.cart-line h3 { font-size: 1rem; margin-bottom: 2px; }
.cart-line h3 a { color: inherit; text-decoration: none; }
.cart-line-meta { color: var(--steel); font-size: .85rem; margin-bottom: 10px; }
.cart-line-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-line-total { font-family: var(--mono); font-weight: 600; text-align: right; }
.link-btn { background: none; border: 0; padding: 0; color: var(--steel); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--danger); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-img { width: 72px; }
  .cart-line-total { grid-column: 2; text-align: left; }
}

.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-alt); }
.summary-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.summary h2 { font-size: 1.1rem; margin-bottom: 16px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: .9rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-lines .mono { white-space: nowrap; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .93rem; }
.summary-row span:last-child { font-family: var(--mono); }
.summary-total { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 14px; font-weight: 650; font-size: 1.1rem; }
.summary-vat { color: var(--steel); font-size: .82rem; }
.summary .btn { margin-top: 18px; }
.ship-progress { margin: 6px 0 12px; font-size: .82rem; color: var(--steel); }
.ship-bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.ship-bar span { display: block; height: 100%; background: var(--accent); }
@media (max-width: 960px) { .summary-sticky { position: static; order: -1; } }

.review-list { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.review-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }

.bank-box { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px; margin: 20px 0; background: var(--surface); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.kv dt { color: var(--steel); font-size: .88rem; }
.kv dd { margin: 0; font-family: var(--mono); font-size: .92rem; word-break: break-word; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-aside { border-left: 1px solid var(--line); padding-left: 32px; }
.h-small { font-size: 1.05rem; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ------------------------------------------------------------ Rechtstexte */
.legal-wrap { max-width: 820px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .lead { font-size: 1.1rem; color: var(--ink); }
.legal ul.plain { list-style: none; padding: 0; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--graphite); color: #b7c0c7; margin-top: 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(1.35); }
.footer-h { font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.site-footer a { color: #dfe5ea; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .muted { color: var(--steel-2); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.withdraw-link.btn { margin-top: 18px; border-color: rgba(255,255,255,.4); color: #fff; }
.withdraw-link.btn:hover { background: #fff; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: var(--steel-2); }
.footer-bottom a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ Konto & Anmeldung */
.admin-chip { font-size: .68rem; letter-spacing: .12em; padding: 6px 8px; border: 1px solid var(--accent-ink); color: var(--accent-ink); border-radius: 2px; text-decoration: none; margin-right: 4px; }
.admin-chip:hover { background: var(--accent-ink); color: #fff; }
.cart-link.is-current { background: var(--bg-alt); }
.user-dot { position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--surface); }
.auth-wrap { max-width: 480px; }
.auth-section h1 { margin-bottom: 20px; }
.auth-links { margin: 16px 0 0; font-size: .9rem; text-align: center; }
.auth-alt { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 4px 0 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
/* Pflicht-Zustimmungen (AGB, Fertigungshinweise) */
.consents { margin: 8px 0 14px; }
.consents .field, .field.consent { margin-bottom: 10px; }
.consents .check, .field.consent .check { margin: 0; font-size: .88rem; line-height: 1.5; }
.has-error .check input { outline: 2px solid var(--danger); outline-offset: 1px; }
.form-success.flash { margin: 0 0 20px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1c13; color: #fff; }
.panel-danger { border-color: #f1c1bc; }
.link-danger { color: var(--danger); }
.panel .h-small, .panel legend { margin-top: 0; }

.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.account-user { margin-bottom: 16px; word-break: break-word; }
.account-nav nav { display: flex; flex-direction: column; margin: 0 -20px 16px; border-top: 1px solid var(--line); }
.account-nav nav a { padding: 10px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.account-nav nav a:hover { background: var(--bg-alt); }
.account-nav nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); color: var(--ink); font-weight: 600; }
.account-main > .panel { margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.detail-grid .panel { margin: 0; }
.empty-box { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--steel); }
.timeline { list-style: none; padding: 0; margin: 0 0 24px; border-left: 2px solid var(--line); }
.timeline li { padding: 6px 0 6px 16px; position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--steel-2); }
@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .account-nav { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Tabellen & Status */
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table thead th { font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); border-bottom: 1px solid var(--ink); }
.data-table tbody tr:hover { background: var(--bg-alt); }
.data-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.thumb-cell { width: 76px; }
.thumb-cell img, .thumb-empty { width: 64px; height: 51px; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; display: block; background: var(--bg-alt); }
.status { display: inline-block; font: 600 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 7px; border-radius: 2px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line-strong); white-space: nowrap; }
.status-awaiting_payment, .status-payment_pending, .status-p-draft { background: var(--warn-soft); color: var(--warn); border-color: #f1d2a5; }
.status-paid, .status-in_production { background: var(--accent-soft); color: var(--accent-ink); border-color: #b9e3ee; }
.status-shipped, .status-completed, .status-p-active { background: #e8f5ee; color: var(--ok); border-color: #b8dfc9; }
.status-cancelled, .status-failed, .status-payment_review { background: var(--danger-soft); color: var(--danger); border-color: #f1c1bc; }
.status-pending_payment, .status-p-archived { color: var(--steel); }

/* ------------------------------------------------------------ Admin */
.admin-bar { background: var(--graphite); color: #cfd6dc; position: sticky; top: var(--header-h); z-index: 40; }
.admin-bar-inner { display: flex; align-items: center; gap: 20px; min-height: 48px; flex-wrap: wrap; }
.admin-label { font-size: .7rem; letter-spacing: .14em; color: var(--accent); }
.admin-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.admin-nav a { color: #cfd6dc; text-decoration: none; padding: 14px 12px; font-size: .9rem; }
.admin-nav a:hover { color: #fff; }
.admin-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.admin-bar-link { color: var(--steel-2); font-size: .85rem; text-decoration: none; }
.admin-bar-link:first-of-type { margin-left: auto; }
.admin-bar .link-btn { color: var(--steel-2); text-decoration: none; font-size: .85rem; }
.admin-bar .link-btn:hover, .admin-bar-link:hover { color: #fff; }
.admin-section { padding-top: 28px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.admin-side { position: sticky; top: calc(var(--header-h) + 64px); }
.admin-form textarea { font-family: var(--font); line-height: 1.5; }
.admin-form textarea#f-specs { font-family: var(--mono); font-size: .85rem; }
@media (max-width: 960px) { .admin-form-grid { grid-template-columns: 1fr; } .admin-side { position: static; } }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 28px; }
/* Besucherstatistik */
.stats-ranges { display: flex; gap: 8px; margin-bottom: 18px; }
.stats-range { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; color: inherit; text-decoration: none; }
.stats-range:hover { border-color: var(--ink); }
.stats-range.is-active { background: var(--accent); border-color: var(--accent); color: #061317; font-weight: 600; }
.stats-panel { margin-bottom: 14px; }
.stats-chart { display: block; width: 100%; height: auto; }
.stats-chart text { font: 11px var(--mono); fill: var(--steel); }
.stats-grid { stroke: var(--line); stroke-width: 1; }
.stats-bar { fill: var(--accent); opacity: .85; }
.stats-bar:hover { opacity: 1; }
.stats-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; opacity: .7; }
.stats-key { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--steel); }
.stats-key-bar, .stats-key-line { display: inline-block; width: 14px; height: 10px; border-radius: 2px; background: var(--accent); }
.stats-key-line { height: 2px; margin-left: 12px; background: var(--ink); opacity: .7; }
.stats-table { max-width: 460px; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
a.kpi:hover { border-color: var(--ink); }
.kpi-value { font: 600 1.6rem/1.1 var(--mono); }
.kpi-label { font-size: .82rem; color: var(--steel); }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: 1fr 1fr; } }

.image-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.image-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.image-item img { width: 96px; height: 77px; object-fit: cover; border-radius: 2px; }
.image-item label { display: block; color: var(--steel); }
.image-item input { width: 100%; margin-top: 4px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.image-item-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.upload-drop { display: block; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 18px; cursor: pointer; font-size: .9rem; color: var(--steel); background: var(--bg-alt); }
.upload-drop:hover { border-color: var(--ink); }
.upload-drop input { display: block; margin-bottom: 8px; }

.cat-form { display: grid; grid-template-columns: 1fr 1fr 2fr 90px; gap: 0 14px; align-items: end; }
.cat-actions { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.cat-form .form-error { grid-column: 1 / -1; margin-top: 10px; }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
@media (max-width: 760px) { .cat-form { grid-template-columns: 1fr; } }

.search-bar { display: flex; gap: 8px; margin-bottom: 16px; max-width: 520px; }
.search-bar input { flex: 1; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.pager { display: flex; gap: 10px; font-family: var(--mono); }

.data-table .mono { white-space: nowrap; }

.data-table .mono { white-space: nowrap; }

/* ------------------------------------------------------------ Varianten (Shop) */
.variant-picker { grid-column: 1 / -1; display: grid; gap: 18px; margin-bottom: 6px; }
.variant-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.variant-group legend { font-size: .88rem; color: var(--steel); margin-bottom: 10px; padding: 0; }
.variant-group legend strong { color: var(--ink); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch-dot { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--surface), 0 0 0 4px var(--line-strong); transition: box-shadow .15s; }
.swatch input:checked + .swatch-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.swatch input:focus-visible + .swatch-dot { outline: 2px solid var(--accent); outline-offset: 6px; }
.size-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-option > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: .9rem; transition: border-color .15s, box-shadow .15s; }
.size-option .mono { font-size: .82rem; color: var(--steel); }
.size-option:hover > span { border-color: var(--ink); }
.size-option input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--selected-bg); }
.size-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-line-variant { font-size: .85rem; color: var(--ink-2); margin: 0 0 2px; }
.variant-tag { display: inline-block; font-size: .8rem; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 2px; margin-top: 4px; }

/* Varianten-Editor (Admin) */
.variant-rows { display: grid; gap: 8px; margin: 8px 0 10px; }
.variant-row { display: flex; gap: 10px; align-items: center; }
.variant-row input:not([type=color]) { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.variant-row input[type=color] { width: 44px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; flex: none; }
.price-input { position: relative; flex: 0 0 120px; display: flex; }
.price-input input { padding-right: 26px !important; text-align: right; font-family: var(--mono); }
.price-input span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--steel); }

/* ------------------------------------------------------------ Datei-Upload */
.upload-drop-lg { display: flex; align-items: center; gap: 14px; padding: 22px; text-align: left; transition: border-color .15s, background .15s; }
.upload-drop-lg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-drop-lg svg { flex: none; color: var(--accent-ink); }
.upload-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.upload-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload-intro.notice { color: var(--ink); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.file-list a { display: inline-flex; align-items: center; gap: 6px; }
.file-ok { color: var(--ok); font-size: .85rem; margin-left: auto; }
.attachments .btn { margin-top: 12px; }

/* ------------------------------------------------------------ Zahlungs-Icons */
.pay-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-icon { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 52px; padding: 0 8px; border-radius: 4px; background: #fff; border: 1px solid var(--line-strong); }
.pay-icon img { height: 20px; width: auto; display: block; }
.pay-icon-text { font: 600 .74rem var(--font); color: #1b1f23; letter-spacing: .01em; gap: 6px; }
.pay-icon-text svg { color: #1b1f23; }
.pay-option-body .pay-icons { margin-top: 6px; }
.pay-option-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.site-footer .pay-icon { border-color: transparent; }

/* ------------------------------------------------------------ Hinweisleisten (Testmodus) */
.preview-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 8px; padding-bottom: 8px; }
.preview-bar-inner span { margin-right: auto; }

/* ------------------------------------------------------------ 3D-Druck-Service: Materialien */
.material-table td { vertical-align: top; }
.material-table td:first-child { white-space: nowrap; }
.service-specs { margin-top: 28px; max-width: 900px; }
.service-specs dd { font-family: var(--font); font-size: 1rem; }
.service-specs dt { font-weight: 600; color: var(--ink); }
#materialien, #express { scroll-margin-top: 80px; }

/* ------------------------------------------------------------ Admin: Handy-Ansicht */
.mp-toolbar { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 4px 20px; align-items: end; }
.mp-toolbar .field { margin-bottom: 0; }
.mp-url-row { display: flex; gap: 8px; }
.mp-url-row input { flex: 1; min-width: 0; font-family: var(--mono); }
.mp-quick, .mp-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mp-quick { margin-top: 12px; }
.mp-actions .check { margin: 0 0 0 auto; }
.mp-stage { position: relative; display: flex; justify-content: center; margin: 8px 0 16px; overflow: hidden; }
.mp-phone {
  flex: none; align-self: flex-start; transform-origin: top center;
  padding: 14px; border-radius: 34px; background: #11161b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -40px rgba(94, 197, 220, .55);
}
.mp-phone iframe { display: block; border: 0; border-radius: 22px; background: #fff; }
@media (max-width: 760px) { .mp-toolbar { grid-template-columns: 1fr; } .mp-actions .check { margin-left: 0; } }

/* Warenkorb-Spalte */
.cart-aside { display: grid; gap: 16px; align-content: start; }
.cart-pay { text-align: center; }
.cart-pay .pay-icons { justify-content: center; }

/* Offizielle Logos unverändert anzeigen (Apple-Pay-Zeichen bringt eigenen Rahmen mit) */
.pay-icon-applepay { padding: 0; border: 0; background: none; min-width: 0; }
.pay-icon-applepay img { height: 32px; }

/* ------------------------------------------------------------ Aktionspreise & Gutscheine */
.price-old { color: var(--steel); font-weight: 400; font-size: .85em; margin-right: 2px; }
.price-sale { color: var(--danger); }
.price-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--steel); margin-bottom: 4px; }
.price-ref s { color: var(--steel); }
.sale-badge { display: inline-block; font: 700 .72rem/1 var(--mono); padding: 4px 6px; border-radius: 3px; background: var(--danger); color: #fff; letter-spacing: .02em; }
.badge-sale { background: var(--danger); color: #fff; border-color: var(--danger); }
.size-option s { color: var(--steel-2); margin-right: 2px; }
.coupon-input { display: flex; gap: 8px; }
.coupon-input input { flex: 1; text-transform: uppercase; font-family: var(--mono); }
.coupon-input input[readonly] { background: var(--bg-alt); }
.coupon-ok { color: var(--ok); font-weight: 600; }
.coupon-err { color: var(--danger); }
.summary-discount span:last-child { color: var(--ok); }

/* ------------------------------------------------------------ Testkäufer-Modus */
.test-bar { background: repeating-linear-gradient(-45deg, #f2b867, #f2b867 14px, #f5c47e 14px, #f5c47e 28px); color: #2a1a03; font-size: .9rem; }
.test-bar .btn-outline { border-color: #2a1a03; color: #2a1a03; background: rgba(255,255,255,.35); }
.test-panel { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; border-left: 4px solid var(--warn); }
.test-panel > div:first-child { flex: 1 1 420px; }
.status-test { background: var(--warn); color: #2a1a03; border-color: var(--warn); }
.chip-test.is-active { background: var(--warn); border-color: var(--warn); color: #2a1a03; }
.pay-option-test { border-style: dashed; }
.section-gap { margin-top: 40px; }
.claim-list ul { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.claim-list li { break-inside: avoid; margin-bottom: 4px; }
.nowrap { white-space: nowrap; }
.field select[multiple] { padding: 6px; }
@media (max-width: 640px) { .claim-list ul { columns: 1; } }

/* Admin-Leiste kompakter */
.admin-nav a { padding: 14px 10px; }
.admin-bar-inner { gap: 14px; }

/* Farbe ↔ Bild im Admin */
.variant-row-color { flex-wrap: wrap; }
.color-image-pick { display: flex; align-items: center; gap: 8px; flex: 0 1 260px; min-width: 200px; }
.color-image-pick img, .color-image-empty { width: 40px; height: 32px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line-strong); flex: none; }
.color-image-empty { background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 4px, transparent 4px, transparent 8px); }
.color-image-pick select { flex: 1; min-width: 0; padding: 9px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); }

/* Aktionsanzeige auf der Produktseite */
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px; }
.price-line .price-old { font: 500 1.1rem var(--mono); color: var(--steel); }
.price-ref { margin: 0 0 8px; }
.price-ref .sale-badge { font-size: .8rem; padding: 6px 9px; letter-spacing: .01em; }
.sale-until { font-size: .82rem; color: var(--steel); }

/* ------------------------------------------------------------ Bildvollansicht (Lightbox) */
.gallery-main img.is-zoomable { cursor: zoom-in; }
.gallery-main img.is-zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
html.no-scroll { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 13, 17, .94); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 13, 17, .94); }
.lightbox-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 72px; overflow: hidden; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .25s ease; touch-action: pinch-zoom; user-select: none; }
.lightbox.is-zoomed .lightbox-img { transform: scale(2.4); cursor: zoom-out; }
.lightbox-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lightbox-btn:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-info { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 16px; margin: 0; font: .78rem var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.75); pointer-events: none; }
.lightbox.is-zoomed .lightbox-hint { display: none; }
@media (max-width: 640px) {
  .lightbox-stage { padding: 64px 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; }
  .lightbox-hint { display: none; }
}

/* ------------------------------------------------------------ Mobile Kaufleiste */
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-buy.is-visible { transform: translateY(0); }
  .sticky-buy-info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
  .sticky-buy-info strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy-price { font: .82rem var(--mono); color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex: none; min-height: 44px; padding: 0 18px; }
  .sticky-buy.is-added .btn { background: var(--ok); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .sticky-buy, .lightbox-img { transition: none; } }

/* Verifizierungs-Hinweis & Lexware */
.verify-banner p { margin-bottom: 10px; }
.verify-banner form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lexware-panel .btn { margin-top: 4px; }

/* ---------------------------------------------------------------- 3D-Druck-Konfigurator */
.page-head-actions { margin: 22px 0 0; }
#konfigurator { scroll-margin-top: 80px; }
.cfg-section { border-top: 1px solid var(--line); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 0 24px; align-items: start; }
.cfg-form { display: grid; gap: 24px; background: var(--surface); }
/* Desktop: Datei/Form und Regler als ein zusammenhängender Kasten links, Vorschau und Preis rechts */
.cfg-form-shape { grid-column: 1; grid-row: 1; margin: 0; border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 12px; }
.cfg-form-opts { grid-column: 1; grid-row: 2; margin: 0; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 12px; }
.cfg-side { grid-column: 2; grid-row: 1 / span 2; }
.cfg-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.cfg-group legend, .cfg-label { display: flex; gap: 8px; align-items: baseline; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 600; }
.cfg-group legend a { margin-left: auto; font-weight: 400; }
.cfg-stl { display: flex; align-items: center; gap: 14px; position: relative; }
.cfg-stl input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cfg-stl svg { flex: none; color: var(--accent-ink); }
.cfg-stl-info { margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }
.cfg-stl-info.is-error, .cfg-warn { color: var(--warn); }
.cfg-dim { display: grid; grid-template-columns: 64px minmax(0, 1fr) 128px; gap: 14px; align-items: center; margin-bottom: 8px; }
.cfg-dim label { font-size: .9rem; color: var(--steel); }
.cfg-dim input[type="range"] { width: 100%; accent-color: var(--accent); }
.cfg-num { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-alt); }
.cfg-num:focus-within { border-color: var(--accent); }
.cfg-num input { width: 100%; min-width: 0; border: 0; background: none; padding: 9px 4px 9px 12px; font-family: var(--mono); text-align: right; outline: none; -moz-appearance: textfield; }
.cfg-num span { padding-right: 12px; color: var(--steel); font-size: .85rem; }
.cfg-num input::-webkit-outer-spin-button, .cfg-num input::-webkit-inner-spin-button,
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip-opt > span { display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.chip-opt small { font-size: .7rem; color: var(--steel); }
.chip-opt:hover > span { border-color: var(--ink); }
.chip-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #061317; font-weight: 600; }
.chip-opt input:checked + span small { color: rgba(6, 19, 23, .72); font-weight: 400; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg-split { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; justify-content: space-between; }
.qty-stepper { display: inline-flex; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.qty-stepper input { width: 64px; border: 0; background: none; text-align: center; font-family: var(--mono); -moz-appearance: textfield; }
.cfg-switch { position: relative; display: flex; gap: 12px; align-items: center; cursor: pointer; line-height: 1.3; }
.cfg-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cfg-switch-ui { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line-strong); transition: background .2s; }
.cfg-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cfg-switch input:checked + .cfg-switch-ui { background: var(--accent); }
.cfg-switch input:checked + .cfg-switch-ui::after { transform: translateX(20px); }
.cfg-switch input:focus-visible + .cfg-switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }

.cfg-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.cfg-stage {
  position: relative; height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px;
  background:
    radial-gradient(circle at 50% 48%, rgba(94, 197, 220, .16), transparent 62%),
    linear-gradient(rgba(132, 219, 238, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(132, 219, 238, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    #151b21;
  touch-action: none; cursor: grab; user-select: none;
}
/* Perspektive in einer eigenen Ebene ohne Abschneiden: Safari (iPhone) zeichnet 3D-Inhalte sonst flach,
   wenn dasselbe Element Perspektive, overflow:hidden und runde Ecken hat */
.cfg-view { position: absolute; inset: 0; perspective: 900px; }
.cfg-stage.is-dragging { cursor: grabbing; }
/* erstes Zeichnen ohne Übergänge (sonst starten Flächen bei 0 und Safari behält die flache Ansicht) */
.cfg-stage.is-init .cfg-cuboid, .cfg-stage.is-init .cfg-cuboid i { transition: none; }
.cfg-scene { position: absolute; left: 50%; top: 44%; width: 0; height: 0; transform-style: preserve-3d; }
.cfg-cuboid { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transition: transform .35s ease; }
.cfg-cuboid[hidden] { display: none; }
.cfg-cuboid i { position: absolute; left: 0; top: 0; display: block; transition: width .35s ease, height .35s ease, transform .35s ease, background-color .3s; }
.cfg-build i:nth-child(1) { width: var(--x); height: var(--y); transform: translate(-50%, -50%) translateZ(calc(var(--z) / 2)); }
.cfg-build i:nth-child(2) { width: var(--x); height: var(--y); transform: translate(-50%, -50%) rotateY(180deg) translateZ(calc(var(--z) / 2)); }
.cfg-build i:nth-child(3) { width: var(--z); height: var(--y); transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--x) / 2)); }
.cfg-build i:nth-child(4) { width: var(--z); height: var(--y); transform: translate(-50%, -50%) rotateY(-90deg) translateZ(calc(var(--x) / 2)); }
.cfg-build i:nth-child(5) { width: var(--x); height: var(--z); transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--y) / 2)); }
.cfg-build i:nth-child(6) { width: var(--x); height: var(--z); transform: translate(-50%, -50%) rotateX(-90deg) translateZ(calc(var(--y) / 2)); }
.cfg-build i { border: 1px dashed rgba(132, 219, 238, .5); }
.cfg-build i:nth-child(6) { background: rgba(94, 197, 220, .1); border-style: solid; }
.cfg-part i {
  background-color: var(--c, #5ec5dc);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.cfg-shape { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.cfg-part .f-front { filter: brightness(.92); }
.cfg-part .f-side { filter: brightness(.72); }
.cfg-part .f-top { filter: brightness(1.08); background-image: none; }
.cfg-part .f-bottom { filter: brightness(.55); background-image: none; }
.cfg-part .f-slat { box-shadow: none; }
.cfg-part .f-inner { box-shadow: none; filter: brightness(.45); }
.cfg-part .f-disc { border-radius: 50%; }
.cfg-part .f-opening { background: radial-gradient(circle closest-side, color-mix(in srgb, var(--c, #5ec5dc) 30%, #000) 0 78%, var(--c, #5ec5dc) 80% 99%, transparent 100%); box-shadow: none; }
.cfg-part .f-slat[style*="clip-path"] { transition: none; }
/* Rückseiten der Lamellen nicht zeichnen: halbiert die Malarbeit beim Drehen, verhindert Flackern */
.cfg-part .f-slat { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cfg-lock:has(input:disabled) { cursor: default; }
.cfg-part[data-shape="stl"] i { opacity: .55; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.cfg-part.is-over i { box-shadow: inset 0 0 0 2px var(--warn); }
.cfg-stage-info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 22px 16px 10px; background: linear-gradient(rgba(21, 27, 33, 0), rgba(21, 27, 33, .9) 50%); pointer-events: none; }
.cfg-legend { margin: 0; font-size: .82rem; color: #84dbee; }
.cfg-stage-hint { margin: 0; color: #9aa6b1; font-size: .75rem; line-height: 1.35; }

.cfg-price { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(94, 197, 220, .12), var(--surface) 55%); }
.cfg-price-label { margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.cfg-total { margin: 4px 0 2px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.cfg-total-note { margin: 0; color: var(--steel); }
.cfg-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 16px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.cfg-rows dt { color: var(--steel); }
.cfg-rows dd { margin: 0; text-align: right; }
.cfg-rows [hidden] { display: none; }
.cfg-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #061317; font-size: .75rem; font-weight: 700; }
.cfg-note { margin: 0 0 8px; padding-left: 10px; border-left: 2px solid var(--line-strong); font-size: .85rem; color: var(--ink-2); }
.cfg-note-warn { border-color: var(--warn); color: var(--warn); }
.cfg-note-tip { border-color: var(--accent); color: var(--accent-ink); }
.cfg-tiers { margin: 14px 0 16px; }
.cfg-tiers p { margin: 0 0 6px; }
.cfg-tiers ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.cfg-tiers li { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border: 1px solid var(--line); border-radius: 8px; font-size: .74rem; color: var(--steel); }
.cfg-tiers li strong { font-size: .85rem; color: var(--ink); }
.cfg-tiers li.is-on { border-color: var(--accent); background: rgba(94, 197, 220, .16); }
.cfg-price .hint { margin: 10px 0 0; }
.cfg-request { max-width: 820px; margin: 28px auto 0; scroll-margin-top: 90px; }
.cfg-request h3 { margin-top: 0; }
.cfg-request-summary { padding: 10px 14px; border-radius: var(--radius); background: var(--bg-alt); }
@media (max-width: 960px) {
  /* Handy/Tablet: Datei/Form → Vorschau → Regler → Preis, damit die Vorschau beim Schieben sichtbar ist */
  .cfg { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cfg-side { display: contents; }
  .cfg-form-shape, .cfg-form-opts { grid-column: auto; grid-row: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .cfg-form-shape { order: 1; }
  .cfg-stage { order: 2; height: 260px; }
  .cfg-form-opts { order: 3; }
  .cfg-price { order: 4; }
  .cfg-scene { top: 41%; }
}
@media (max-width: 520px) {
  .cfg-dim { grid-template-columns: 52px minmax(0, 1fr) 108px; gap: 10px; }
  .chip-opt > span { min-width: 0; padding: 7px 13px; }
  .cfg-tiers ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cfg-stl { gap: 10px; padding: 12px 14px; font-size: .8rem; line-height: 1.35; }
  .cfg-stl svg { width: 22px; height: 22px; }
  .cfg-stl .hint { font-size: .72rem; }
  .cfg-stl-info { font-size: .78rem; }
  .cfg-legend { font-size: .74rem; }
  .cfg-stage-hint { font-size: .68rem; }
}
.cfg-stl-info { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .cfg-cuboid, .cfg-cuboid i { transition: none; } }
/* Admin: Konfigurator-Werte */
.field-row-4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.admin-grid td { padding: 6px 8px; vertical-align: middle; }
.admin-grid select, .admin-cell { width: 100%; min-width: 64px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-alt); font-family: var(--mono); font-size: .88rem; }
.admin-grid input[type="color"] { width: 44px; height: 34px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: none; }
.admin-grid input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.admin-grid-sm { max-width: 320px; }
.admin-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.admin-inline input, .admin-inline select { padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-alt); font-family: var(--mono); width: 80px; }
.admin-inline select { width: auto; font-family: var(--font); }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.text-warn { color: var(--warn); }
/* Konfigurator: Grundformen und Summenzeile */
.shape-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.shape-opt { position: relative; cursor: pointer; }
.shape-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.shape-opt > span { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 10px 6px 8px; border: 1px solid var(--line-strong); border-radius: 12px; text-align: center; line-height: 1.2; transition: background .15s, border-color .15s; }
.shape-opt svg { color: var(--accent-ink); margin-bottom: 2px; }
.shape-opt strong { font-size: .88rem; }
.shape-opt small { font-size: .7rem; color: var(--steel); }
.shape-opt:hover > span { border-color: var(--ink); }
.shape-opt input:checked + span { border-color: var(--accent); background: rgba(94, 197, 220, .16); box-shadow: inset 0 0 0 1px var(--accent); }
.shape-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg-group.is-muted .shape-row { opacity: .45; }
.cfg-group.is-muted .cfg-stability input[type="range"], .cfg-group.is-muted .cfg-stability-scale { opacity: .45; cursor: not-allowed; }
.cfg-rows .cfg-sum { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.cfg-rows dd.cfg-sum { font-size: 1.05rem; }
.cfg-stats { margin: -4px 0 12px; color: var(--steel); }
/* Konfigurator: Stabilität (Füllung) und Richtwert ± % */
.cfg-stability { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 14px; align-items: center; }
.cfg-stability input[type="range"] { width: 100%; accent-color: var(--accent); }
.cfg-stability datalist { display: none; }
.cfg-stability-out { display: flex; flex-direction: column; line-height: 1.25; }
.cfg-stability-out strong { font-size: .95rem; }
.cfg-stability-scale { display: flex; justify-content: space-between; margin: 4px 142px 0 0; font-size: .7rem; }
.cfg-pm { font-size: .55em; font-weight: 600; color: var(--steel); letter-spacing: 0; vertical-align: .25em; }
@media (max-width: 520px) {
  .cfg-stability { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; }
  .cfg-stability-scale { margin-right: 106px; font-size: .62rem; }
}
/* Konfigurator: Maße proportional koppeln */
.cfg-lock { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; cursor: pointer; font-size: .9rem; line-height: 1.35; position: relative; }
.cfg-lock input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cfg-lock-ui { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-alt); transition: background .15s, border-color .15s; }
.cfg-lock input:checked + .cfg-lock-ui { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23061317' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.cfg-lock input:focus-visible + .cfg-lock-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.is-locked .cfg-dim input[type="range"] { accent-color: var(--accent-ink); }
.is-locked .cfg-num { border-color: var(--accent); }