/* Gerätekatalog (katalog.html): Liste links, 3D-Vorschau + Technikdaten rechts; auf dem Handy untereinander */
.kat-page { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.kat-top { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.kat-title { display: flex; align-items: baseline; gap: 10px; }
.kat-title h1 { font-size: 17px; margin: 0; }
.kat-filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 420px; justify-content: flex-end; }
.kat-filters input, .kat-filters select { min-height: 40px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); color: inherit; font: inherit; }
.kat-filters input { flex: 1 1 220px; max-width: 360px; }
.kat-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(260px, 360px) 1fr; }
.kat-list { overflow: auto; border-right: 1px solid var(--line); background: var(--panel); padding: 6px 0 24px; }
.kat-group { padding: 12px 14px 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kat-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; width: 100%; text-align: left; padding: 8px 14px; border: 0; border-left: 3px solid transparent; background: none; color: inherit; cursor: pointer; font: inherit; }
.kat-item:hover, .kat-item:focus-visible { background: var(--panel-2); }
.kat-item.is-sel { background: #1c2029; border-left-color: var(--accent); }
.kat-item .sub { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.kat-item .kat-frei { display: inline-block; padding: 0 6px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 11px; line-height: 16px; }
.kat-item .dots { display: inline-flex; gap: 3px; align-items: center; }
.kat-item .dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #0007; background: #34373e; }
.kat-item .dots i[data-farbe="weiss"] { background: #e8eaed; }
.kat-item .dots i[data-farbe="silber"], .kat-item .dots i[data-farbe="chrom"] { background: linear-gradient(135deg, #8b9099, #f0f2f4 55%, #9aa0a8); }
.kat-item .dots i[data-farbe="transparent"] { background: #9aa6b4; opacity: .6; }
.kat-more { margin: 10px 14px; }
.kat-detail { min-height: 0; display: grid; grid-template-rows: minmax(260px, 1fr) auto; overflow: auto; }
.kat-view { position: relative; min-height: 260px; background: #020203; }
.kat-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kat-view-ctl { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.kat-view-ctl .seg button { min-height: 34px; }
.kat-info { padding: 14px 18px 22px; border-top: 1px solid var(--line); background: var(--panel); }
.kat-info h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: inherit; margin: 0 0 2px; }
.kat-info .kat-sub { color: var(--muted); margin-bottom: 10px; }
.kat-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 10px 0 0; font-size: 13px; }
.kat-facts dt { color: var(--muted); }
.kat-facts dd { margin: 0; }
.kat-ss { font: 12px var(--mono); color: var(--muted); }
.kat-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .kat-page { height: auto; overflow: visible; }
  .kat-main { grid-template-columns: 1fr; }
  .kat-detail { order: -1; grid-template-rows: 300px auto; }
  .kat-list { max-height: 55vh; border-right: 0; border-top: 1px solid var(--line); }
  .kat-filters { justify-content: stretch; }
  .kat-filters input { max-width: none; }
}
.kat-view-ctl .seg { background: rgba(14, 16, 20, .82); }
.kat-view-ctl .seg button { background: none; border: 0; color: var(--muted); padding: 4px 12px; border-radius: 6px; cursor: pointer; font: inherit; }
.kat-view-ctl .seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--accent); }
.kat-fam { margin: 10px 0 0; font-size: 13px; line-height: 1.6; } .kat-fam a { color: inherit; }
/* mehr Innenabstand an umrandeten Bedienelementen */
.kat-filters input, .kat-filters select { padding: 8px 12px; }
.kat-view-ctl .seg { padding: 3px; }
.kat-view-ctl .seg button { padding: 6px 14px; }
.kat-info .kat-color { padding: 6px 12px 6px 10px; }
.kat-more { padding: 8px 14px; }
