/* =========================================================================
   VDI 3805 Datenportal – Hottgenroth Software
   Oberfläche v2 · modernes Web-Design auf Basis der HS-Marken-Essentials
   (Logo, Primärblau #1565C0, Ein-CTA-Regel, Systemschrift, Hell/Dunkel)
   ========================================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --primary: #1565C0;
  --primary-hover: #1976D2;
  --primary-press: #0D47A1;
  --primary-text: #1565C0;
  --primary-soft: #E8F0FB;
  --primary-soft-2: #D3E3F8;
  --ring: rgba(21, 101, 192, .35);

  --red: #CC0000;
  --red-soft: #FFE8E8;
  --success: #2E7D32;
  --success-soft: #E8F5E9;
  --warn: #B26A00;
  --warn-soft: #FFF8E1;

  --bg: #F3F4F6;
  --surface: #FFFFFF;
  --surface-2: #F8F9FB;
  --surface-sunken: #EEF0F3;
  --border: #E2E5EA;
  --border-strong: #CBD1D9;
  --text: #15181E;
  --text-2: #4F5763;
  --text-3: #7A828E;
  --plate: #FFFFFF;

  --header: #1E1E1E;
  --footer: #1E1E1E;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-md: 0 6px 16px -4px rgba(16, 24, 40, .10), 0 2px 4px rgba(16, 24, 40, .05);
  --shadow-lg: 0 24px 56px -12px rgba(16, 24, 40, .28);

  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --pill: 999px;

  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', Consolas, monospace;
  --t: 200ms ease;

  --header-h: 56px;
  --sidebar-w: 280px;
  --wrap: 1440px;

  /* Tönungen für Hersteller ohne Logo */
  --tone-0-bg: #E3EEFA; --tone-0-fg: #0B4F8A;
  --tone-1-bg: #E4F3E6; --tone-1-fg: #1E6A2A;
  --tone-2-bg: #FFF2D2; --tone-2-fg: #7A5200;
  --tone-3-bg: #FBE6E6; --tone-3-fg: #8E2020;
  --tone-4-bg: #ECEFF1; --tone-4-fg: #37474F;

  color-scheme: light;
}

[data-theme="dark"] {
  --primary-text: #6EA8EE;
  --primary-soft: rgba(52, 125, 214, .16);
  --primary-soft-2: rgba(52, 125, 214, .28);
  --ring: rgba(110, 168, 238, .45);

  --red: #FF6B6B;
  --red-soft: rgba(255, 107, 107, .12);
  --success: #7BD08A;
  --success-soft: rgba(123, 208, 138, .14);
  --warn: #F4C152;
  --warn-soft: rgba(244, 193, 82, .12);

  --bg: #121316;
  --surface: #1B1D21;
  --surface-2: #212328;
  --surface-sunken: #16181B;
  --border: #2C3036;
  --border-strong: #3B4048;
  --text: #ECEEF2;
  --text-2: #AEB5BF;
  --text-3: #808893;
  --plate: #F7F8FA;

  --header: #1A1A1A;
  --footer: #161616;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 20px -6px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 56px -12px rgba(0, 0, 0, .7);

  --tone-0-bg: rgba(110, 168, 238, .16); --tone-0-fg: #9CC4F2;
  --tone-1-bg: rgba(123, 208, 138, .14); --tone-1-fg: #9ADAA5;
  --tone-2-bg: rgba(244, 193, 82, .14);  --tone-2-fg: #F2CD78;
  --tone-3-bg: rgba(255, 128, 128, .14); --tone-3-fg: #F3A3A3;
  --tone-4-bg: rgba(176, 190, 197, .14); --tone-4-fg: #C3CDD2;

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 14px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
a { color: var(--primary-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary-soft-2); }

.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 15px; height: 15px; }
.i--lg { width: 22px; height: 22px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--text-3); }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-md);
  transition: top var(--t);
}
.skip:focus { top: 12px; }

/* ---------- Kopfzeile ---------- */
.appbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: var(--header);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.appbar__inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; border-radius: 6px; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 32px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 16px; font-weight: 500; }
.brand__sub { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.brand__divider { width: 1px; height: 26px; background: rgba(255, 255, 255, .18); }
.appbar__spacer { flex: 1; }
.appbar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; min-width: 36px; padding: 0 10px;
  border: 0; border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background var(--t);
}
.appbar__btn:hover { background: rgba(255, 255, 255, .16); }
.appbar__btn:focus-visible { outline-color: #fff; }
.appbar__btn .label { font-size: 13px; font-weight: 500; }
[data-theme="dark"] .appbar__btn .i-moon, :root:not([data-theme="dark"]) .appbar__btn .i-sun { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(13, 71, 161, .25); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--primary:active { background: var(--primary-press); }
.btn--outline { background: transparent; color: var(--primary-text); border-color: currentColor; }
.btn--outline:hover { background: var(--primary-soft); }
.btn--danger { background: transparent; color: var(--red); border-color: currentColor; }
.btn--danger:hover { background: var(--red-soft); }
.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-sunken); color: var(--text); }
.btn--sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn--lg { --h: 46px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-sunken); color: var(--text-3); border-color: transparent; box-shadow: none; cursor: not-allowed; }
.btn .i { width: 17px; height: 17px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--primary-text);
  text-decoration: none !important;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.icon-btn:hover { border-color: var(--primary-text); background: var(--primary-soft); }
.icon-btn--plain { border-color: transparent; background: transparent; color: var(--text-2); }
.icon-btn--plain:hover { background: var(--surface-sunken); border-color: transparent; color: var(--text); }

.linkbtn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 4px; margin: -2px -4px;
  border: 0; border-radius: 4px; background: none;
  color: var(--primary-text); font-size: 13px; font-weight: 500;
}
.linkbtn:hover { text-decoration: underline; }

/* ---------- Badges & Tags ---------- */
.gnum {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 6px;
  border-radius: var(--r-xs);
  background: var(--primary-soft); color: var(--primary-text);
  font: 600 12px/1 var(--mono); letter-spacing: .02em;
  flex-shrink: 0;
}
.gnum--lg { min-width: 40px; height: 32px; font-size: 14px; border-radius: var(--r-sm); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 20px; padding: 0 8px; border-radius: var(--pill);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.badge--new { background: var(--success-soft); color: var(--success); }
.badge--current { background: var(--primary-soft); color: var(--primary-text); }
.badge--neutral { background: var(--surface-sunken); color: var(--text-2); }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: var(--pill); background: var(--surface-sunken); color: var(--text-2);
  font-size: 11.5px; white-space: nowrap;
}
.tag--more { background: transparent; border: 1px dashed var(--border-strong); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(21, 101, 192, .12), transparent 70%),
    radial-gradient(600px 260px at 0% 120%, rgba(21, 101, 192, .06), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(52, 125, 214, .22), transparent 70%),
    radial-gradient(600px 260px at 0% 120%, rgba(52, 125, 214, .10), transparent 70%),
    var(--surface);
}
.hero__inner { padding-top: 40px; padding-bottom: 32px; display: grid; gap: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 4px 10px 4px 6px; border-radius: var(--pill);
  background: var(--primary-soft); color: var(--primary-text);
  font-size: 12.5px; font-weight: 600;
}
.eyebrow .gnum { height: 20px; min-width: 0; background: var(--primary); color: #fff; font-size: 11px; }
.hero h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; max-width: 820px; }
.hero__lead { font-size: 16px; color: var(--text-2); max-width: 720px; }
.hero__copy { display: grid; gap: 12px; }

.stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 13px; }
.stats li { display: inline-flex; align-items: center; gap: 7px; }
.stats strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats .i { color: var(--text-3); width: 16px; height: 16px; }

/* Suche mit Vorschlägen */
.search { position: relative; max-width: 760px; }
.search__field {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 8px 0 18px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-md);
  transition: border-color var(--t), box-shadow var(--t);
}
.search__field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring), var(--shadow-md); }
.search__field > .i { color: var(--text-3); width: 20px; height: 20px; }
.search input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font-size: 16px;
}
.search input::placeholder { color: var(--text-3); }
.search input::-webkit-search-cancel-button { display: none; }
.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px;
  background: var(--surface-2); color: var(--text-3);
  font: 600 12px/1 var(--mono);
}
.search__clear { margin-right: 2px; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 6px; list-style: none;
  max-height: min(420px, 60vh); overflow: auto;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.suggest__label { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.suggest__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer;
}
.suggest__opt[aria-selected="true"], .suggest__opt:hover { background: var(--primary-soft); }
.suggest__opt .t { flex: 1; min-width: 0; font-weight: 500; }
.suggest__opt .m { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.suggest__opt mark { background: none; color: var(--primary-text); font-weight: 700; }
.suggest__opt--all { border-top: 1px solid var(--border); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; color: var(--primary-text); }
.suggest__opt--all .i { color: var(--primary-text); }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick__label { font-size: 13px; color: var(--text-3); margin-right: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px 0 6px;
  border: 1px solid var(--border); border-radius: var(--pill);
  background: var(--surface); color: var(--text);
  font-size: 13px; font-weight: 500;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.chip .gnum { height: 22px; min-width: 26px; font-size: 11px; border-radius: var(--pill); }
.chip:hover { border-color: var(--primary-text); background: var(--primary-soft); }
.chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.chip[aria-pressed="true"] .gnum { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Katalog-Layout ---------- */
.page { flex: 1; }
.catalog { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }

/* Filterleiste */
.filters {
  position: sticky; top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.filters__head { display: none; }
.filters__scroll { overflow: auto; overscroll-behavior: contain; padding: 6px 0; }
.filters__foot { display: none; }
.fgroup { padding: 12px 14px; }
.fgroup + .fgroup { border-top: 1px solid var(--border); }
.fgroup__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.flist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.fopt {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 6px 8px;
  border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--text); text-align: left;
  transition: background var(--t), color var(--t);
}
.fopt:hover { background: var(--surface-sunken); }
.fopt__name { flex: 1; min-width: 0; line-height: 1.3; overflow-wrap: anywhere; }
.fopt__count { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fopt[aria-pressed="true"], .fopt.is-on { background: var(--primary-soft); color: var(--primary-text); font-weight: 600; }
.fopt[aria-pressed="true"] .fopt__count, .fopt.is-on .fopt__count { color: var(--primary-text); }
.fopt.is-empty { color: var(--text-3); }
.fopt .gnum { min-width: 28px; height: 22px; font-size: 11px; background: var(--surface-sunken); color: var(--text-2); }
.fopt[aria-pressed="true"] .gnum { background: var(--primary); color: #fff; }
.fopt--all .i { color: var(--text-3); margin: 0 5px; }
label.fopt { cursor: pointer; }
.cb {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin: 0; flex-shrink: 0;
  border: 1.5px solid var(--border-strong); border-radius: 5px;
  background: var(--surface) center / 12px no-repeat;
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t);
}
.cb:hover { border-color: var(--primary-text); }
.cb:checked, .cb:indeterminate { border-color: var(--primary); background-color: var(--primary); }
.cb:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cb:indeterminate { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }

.mini-search {
  display: flex; align-items: center; gap: 8px;
  height: 36px; margin: 0 0 8px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2);
  transition: border-color var(--t), box-shadow var(--t);
}
.mini-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.mini-search .i { width: 15px; height: 15px; color: var(--text-3); }
.mini-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.fmore { margin: 6px 8px 0; }
.fempty { padding: 6px 8px; font-size: 13px; color: var(--text-3); }

/* Ergebnisbereich */
.results { min-width: 0; display: grid; gap: 18px; }
#results { display: grid; gap: 28px; min-width: 0; }
.rbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.rbar h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.rbar p { margin-top: 2px; color: var(--text-2); font-size: 13.5px; }
.rbar__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filter-toggle { display: none; }
.filter-toggle .count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--primary); color: #fff; font-size: 11px; }

.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--pill); background: var(--surface-sunken); border: 1px solid var(--border); }
.segmented button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border: 0; border-radius: var(--pill); background: transparent; color: var(--text-2);
  font-size: 13px; font-weight: 500;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--primary-text); box-shadow: var(--shadow-sm); }
.segmented .i { width: 16px; height: 16px; }

.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none;
  height: 38px; padding: 0 36px 0 14px;
  border: 1px solid var(--border); border-radius: var(--pill);
  background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t);
}
.select select:hover { border-color: var(--border-strong); }
.select select:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 1px; }
.select .i { position: absolute; right: 12px; width: 15px; height: 15px; color: var(--text-3); pointer-events: none; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.afchip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 6px 0 12px;
  border: 1px solid var(--primary-soft-2); border-radius: var(--pill);
  background: var(--primary-soft); color: var(--primary-text);
  font-size: 12.5px; font-weight: 500;
}
.afchip span { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afchip button { display: inline-flex; border: 0; padding: 3px; border-radius: 50%; background: transparent; color: inherit; }
.afchip button:hover { background: rgba(21, 101, 192, .15); }
.afchip .i { width: 14px; height: 14px; }

/* Abschnittstitel */
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shead h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.shead h3 .i { color: var(--primary-text); }
.shead p { font-size: 12.5px; color: var(--text-3); }

/* Neu & aktualisiert */
.recent { display: grid; gap: 12px; }
.recent__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rcard {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 12px;
  padding: 12px 14px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); color: var(--text);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.rcard:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.rcard .avatar { grid-row: span 3; width: 52px; height: 40px; }
.rcard__t { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard__m { font-size: 12.5px; color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard__d { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* Logos */
.plate {
  display: flex; align-items: center; justify-content: center;
  background: var(--plate); border-radius: var(--r-sm);
  overflow: hidden;
}
.plate img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.plate--md { height: 76px; padding: 12px 18px; }
.plate--lg { width: 220px; height: 112px; padding: 16px 22px; border: 1px solid var(--border); }
.plate--word { padding: 10px 14px; text-align: center; background: var(--surface-2) !important; }
[data-theme="dark"] .plate--word { background: var(--surface-sunken) !important; }
.plate--word span { font-weight: 700; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere; }
.plate--md.plate--word span { font-size: 17px; }
.plate--lg.plate--word span { font-size: 22px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 30px; flex-shrink: 0; padding: 3px 4px;
  border: 1px solid var(--border); border-radius: var(--r-xs);
  background: var(--plate); overflow: hidden;
  font: 700 11.5px/1 var(--font); letter-spacing: .02em;
}
.avatar img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.avatar--initials { border-color: transparent; }
.tone-0 { background: var(--tone-0-bg); color: var(--tone-0-fg); }
.tone-1 { background: var(--tone-1-bg); color: var(--tone-1-fg); }
.tone-2 { background: var(--tone-2-bg); color: var(--tone-2-fg); }
.tone-3 { background: var(--tone-3-bg); color: var(--tone-3-fg); }
.tone-4 { background: var(--tone-4-bg); color: var(--tone-4-fg); }

/* Herstellerkarten */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.mcard {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 10px 10px 14px;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.mcard:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mcard .plate { border: 1px solid var(--border); }
[data-theme="dark"] .mcard .plate { border-color: transparent; }
.mcard__body { display: grid; gap: 6px; padding: 0 6px; }
.mcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mcard__name { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.mcard__arrow { color: var(--text-3); transition: transform var(--t), color var(--t); }
.mcard:hover .mcard__arrow { color: var(--primary-text); transform: translateX(3px); }
.mcard__meta { font-size: 12.5px; color: var(--text-2); }
.mcard__meta strong { color: var(--text); font-weight: 600; }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.mcard .badge--new { position: absolute; top: 16px; right: 16px; }

/* Datensatz-Liste */
.table {
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.row {
  display: grid; align-items: center; gap: 0 16px;
  grid-template-columns: 22px minmax(170px, 1.1fr) minmax(240px, 2fr) 160px 84px 38px;
  min-height: 64px; padding: 10px 16px;
  border-top: 1px solid var(--border);
  transition: background var(--t);
}
.table--nomaker .row { grid-template-columns: 22px minmax(240px, 1fr) 170px 90px 38px; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--surface-2); }
.row.is-selected { background: var(--primary-soft); }
.row--head {
  min-height: 42px; padding-top: 0; padding-bottom: 0;
  background: var(--surface-2);
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3);
}
.row--head:hover { background: var(--surface-2); }
.sortbtn {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; margin: 0 -6px;
  border: 0; border-radius: 4px; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.sortbtn:hover { color: var(--text); }
.sortbtn[aria-pressed="true"] { color: var(--primary-text); }
.sortbtn .i { width: 13px; height: 13px; }
.row__check { display: flex; align-items: center; }
.row__maker { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 600; }
.row__maker span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__maker:hover span:last-child { color: var(--primary-text); text-decoration: underline; }
.row__main {
  display: grid; gap: 3px; min-width: 0; padding: 4px 0;
  border: 0; background: none; text-align: left; color: var(--text);
}
.row__title { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; }
.row__title > span:not(.gnum) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__main:hover .row__title > span:not(.gnum) { color: var(--primary-text); text-decoration: underline; }
.row__line { color: var(--text-2); font-weight: 400; }
.row__meta { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__date { display: grid; gap: 2px; justify-items: start; font-variant-numeric: tabular-nums; }
.row__date-v { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.row__size { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.row__size-inline { display: none; }
.row__actions { display: flex; justify-content: flex-end; }

.more-rows { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--border); }

/* Leerer Zustand */
.empty {
  display: grid; justify-items: center; gap: 10px;
  padding: 56px 24px; text-align: center;
  border: 1px dashed var(--border-strong); border-radius: var(--r);
  background: var(--surface);
}
.empty__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); }
.empty__icon .i { width: 26px; height: 26px; }
.empty h3 { font-size: 17px; font-weight: 600; }
.empty p { color: var(--text-2); max-width: 460px; }
.empty .btn { margin-top: 8px; }

/* ---------- Herstellerseite ---------- */
.maker { padding-top: 22px; padding-bottom: 56px; display: grid; gap: 26px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.crumbs .i { width: 15px; height: 15px; }
.mhero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(21, 101, 192, .08), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.mhero__info { display: grid; gap: 10px; min-width: 0; }
.mhero h1 { font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.mhero__stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.mhero__stats strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.mhero__groups { display: flex; flex-wrap: wrap; gap: 6px; }
.mhero__groups a {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px;
  border: 1px solid var(--border); border-radius: var(--pill); color: var(--text-2); font-size: 12.5px;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.mhero__groups a:hover { border-color: var(--primary-text); color: var(--primary-text); text-decoration: none; background: var(--primary-soft); }
.mhero__groups .gnum { height: 20px; min-width: 24px; font-size: 10.5px; border-radius: var(--pill); }
.mhero__cta { display: grid; gap: 8px; justify-items: stretch; min-width: 250px; }
.mhero__hint { font-size: 12px; color: var(--text-3); text-align: center; }

.gsection { display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.gsection__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.gsection__head h2 { font-size: 18px; font-weight: 600; }
.gsection__head .count { color: var(--text-3); font-size: 13px; }
.gsection__head .linkbtn { margin-left: auto; }

/* ---------- Auswahlleiste ---------- */
.selbar {
  position: fixed; left: 50%; bottom: 20px; z-index: 45;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 10px;
  border-radius: var(--r-lg);
  background: #1E1E1E; color: #fff;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  animation: rise 220ms ease;
}
@keyframes rise { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.selbar__info {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 6px 10px 6px 6px; border: 0; border-radius: var(--r);
  background: transparent; color: #fff; text-align: left;
  transition: background var(--t);
}
.selbar__info:hover { background: rgba(255, 255, 255, .08); }
.selbar__info:focus-visible { outline-color: #fff; }
.selbar__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px;
  background: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums;
}
.selbar__text { display: grid; line-height: 1.25; min-width: 0; }
.selbar__text strong { font-weight: 600; white-space: nowrap; }
.selbar__text small { color: rgba(255, 255, 255, .65); font-size: 12px; white-space: nowrap; }
.selbar__actions { display: flex; align-items: center; gap: 6px; }
.selbar .btn--ghost { color: rgba(255, 255, 255, .8); }
.selbar .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.selbar .btn:focus-visible { outline-color: #fff; }
body.has-selection .page { padding-bottom: 88px; }

/* ---------- Seitenpanel & Dialog ---------- */
dialog { padding: 0; border: 0; color: var(--text); background: var(--surface); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10, 12, 16, .45); backdrop-filter: blur(2px); }
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(520px, 100vw); height: 100dvh;
  display: none; flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--border);
}
.drawer[open] { display: flex; animation: slidein 240ms ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 16px 22px; border-bottom: 1px solid var(--border); }
.drawer__title { flex: 1; min-width: 0; display: grid; gap: 4px; }
.drawer__title h2 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.drawer__title .sub { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.drawer__body { flex: 1; overflow: auto; padding: 20px 22px 28px; display: grid; gap: 22px; align-content: start; overscroll-behavior: contain; }
.drawer__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); background: var(--surface-2); }
.drawer__foot .spacer { flex: 1; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--border); }
.facts div { padding: 12px 14px; background: var(--surface); display: grid; gap: 2px; }
.facts .wide { grid-column: 1 / -1; }
.facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 8px; min-width: 0; }
.facts dd .mono { font-size: 12.5px; font-weight: 400; overflow-wrap: anywhere; }

.note { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; }
.note .i { color: var(--primary-text); margin-top: 1px; }
.note--warn { background: var(--warn-soft); border-color: transparent; color: var(--text); }
.note--warn .i { color: var(--warn); }

.block { display: grid; gap: 10px; }
.block__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.block__title .i { color: var(--text-3); }
.vlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.vitem { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 38px; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--border); }
.vitem:first-child { border-top: 0; }
.vitem.is-selected { background: var(--primary-soft); }
.vitem__main { display: grid; gap: 2px; min-width: 0; }
.vitem__date { display: flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vitem__meta { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vitem__size { font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.vlist--sel .vitem { grid-template-columns: auto minmax(0, 1fr) auto 38px; }

/* Hilfe-Dialog */
.modal {
  width: min(720px, calc(100vw - 32px)); max-height: min(86vh, 900px);
  margin: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
}
.modal[open] { display: flex; animation: pop 200ms ease; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .drawer__body { padding-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { position: relative; padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 6px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; }
.steps strong { font-weight: 600; }
.steps span { font-size: 13px; color: var(--text-2); }
.glossary { margin: 0; display: grid; gap: 12px; }
.glossary div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.glossary dt { font-weight: 600; }
.glossary dd { margin: 0; color: var(--text-2); }
.keys { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--text-2); }
.keys span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Meldungen ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
body.has-selection .toasts { bottom: 96px; }
.toast {
  pointer-events: auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start;
  padding: 14px 12px 14px 16px; border-radius: var(--r);
  background: #24272C; color: #fff; box-shadow: var(--shadow-lg);
  animation: toastin 220ms ease;
}
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.toast > .i { margin-top: 1px; color: #9CC4F2; }
.toast--success > .i { color: #8BD597; }
.toast--error > .i { color: #FF9C9C; }
.toast__body { display: grid; gap: 2px; min-width: 0; }
.toast__title { font-weight: 600; }
.toast__text { font-size: 13px; color: rgba(255, 255, 255, .75); overflow-wrap: anywhere; }
.toast__close { border: 0; background: transparent; color: rgba(255, 255, 255, .6); padding: 2px; border-radius: 4px; display: inline-flex; }
.toast__close:hover { color: #fff; }
.toast__close:focus-visible { outline-color: #fff; }
.toast__bar { grid-column: 1 / -1; height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.toast__bar i { display: block; height: 100%; width: 0; background: #6EA8EE; border-radius: 4px; transition: width var(--t); }

/* ---------- Fußzeile ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, .72); margin-top: auto; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px; padding-top: 32px; padding-bottom: 32px; }
.footer a { color: rgba(255, 255, 255, .85); }
.footer a:hover { color: #fff; }
.footer a:focus-visible { outline-color: #fff; }
.footer__logo img { display: block; width: 104px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background var(--t), border-color var(--t); }
.footer__social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .55); }

/* ---------- Responsive: Tablet (600–1023px) ---------- */
@media (max-width: 1023px) {
  .catalog { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 55;
    width: min(360px, 88vw); max-height: none; height: 100dvh;
    border-radius: 0; border: 0; border-right: 1px solid var(--border);
    transform: translateX(-102%); visibility: hidden;
    transition: transform 240ms ease, visibility 0s linear 240ms;
    box-shadow: var(--shadow-lg);
  }
  body.filters-open .filters { transform: none; visibility: visible; transition: transform 240ms ease; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--border); }
  .filters__head h2 { font-size: 17px; font-weight: 600; }
  .filters__scroll { flex: 1; }
  .filters__foot { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface-2); }
  .filters__foot .btn--primary { flex: 1; }
  .scrim { position: fixed; inset: 0; z-index: 54; background: rgba(10, 12, 16, .45); opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms; }
  body.filters-open .scrim { opacity: 1; visibility: visible; transition: opacity 240ms ease; }

  .recent__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 22px minmax(150px, 1fr) minmax(200px, 1.6fr) 130px 38px; }
  .row__size { display: none; }
  .row__size-inline { display: inline; }
  .table--nomaker .row { grid-template-columns: 22px minmax(200px, 1fr) 150px 38px; }

  .mhero { grid-template-columns: auto minmax(0, 1fr); }
  .mhero__cta { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-width: 0; }
  .mhero__hint { grid-column: 1 / -1; }
  .footer__inner { grid-template-columns: 1fr; justify-items: start; }
}
@media (min-width: 1024px) { .scrim { display: none; } }

/* ---------- Responsive: Mobil (<600px) ---------- */
@media (max-width: 760px) {
  .row, .table--nomaker .row {
    grid-template-columns: 22px minmax(0, 1fr) 38px;
    grid-template-areas: "c maker act" "c main act" "c date act";
    gap: 6px 12px; padding: 14px 14px;
  }
  .row--head { display: none; }
  .table--nomaker .row { grid-template-areas: "c main act" "c date act"; }
  .row__check { grid-area: c; align-self: start; padding-top: 4px; }
  .row__maker { grid-area: maker; }
  .row__main { grid-area: main; padding: 0; }
  .row__date { grid-area: date; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
  .row__actions { grid-area: act; align-self: center; }
  .row__title { white-space: normal; }
  .row__title > span:not(.gnum) { white-space: normal; }
}
@media (max-width: 599px) {
  .wrap { padding-inline: 16px; }
  .brand__sub, .brand__divider { display: none; }
  .brand { gap: 10px; }
  .brand__name { font-size: 15px; white-space: nowrap; }
  .selbar__info { flex: 1; }
  .selbar__info > .i { display: none; }
  .selbar__text strong { overflow: hidden; text-overflow: ellipsis; }
  .appbar__btn .label { display: none; }
  .hero__inner { padding-top: 26px; padding-bottom: 22px; gap: 18px; }
  .hero__lead { font-size: 15px; }
  .search__field { height: 52px; }
  .search .kbd { display: none; }
  .stats { gap: 6px 16px; }
  .rbar { align-items: stretch; }
  .rbar__controls { width: 100%; }
  .rbar__controls .segmented { flex: 1; }
  .rbar__controls .segmented button { flex: 1; justify-content: center; }
  .select, .select select { width: 100%; }
  .rbar__controls .select { flex: 1 1 100%; order: 3; }
  .recent__list { grid-template-columns: minmax(0, 1fr); }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcard { padding: 8px 8px 12px; }
  .mcard .plate--md { height: 60px; padding: 8px 10px; }
  .mcard__body { padding: 0 4px; }
  .mcard__name { font-size: 14px; }
  .mcard__tags { display: none; }
  .mcard .badge--new { top: 12px; right: 12px; }
  .plate--md.plate--word span { font-size: 14px; }
  .mhero { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .plate--lg { width: 100%; height: 96px; }
  .mhero h1 { font-size: 24px; }
  .mhero__cta { grid-template-columns: 1fr; }
  .drawer { width: 100vw; border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .glossary div { grid-template-columns: 1fr; gap: 2px; }
  .selbar { bottom: 12px; padding: 6px; }
  .selbar__text small { display: none; }
  .selbar .btn--ghost { display: none; }
  .selbar .btn--primary .label-long { display: none; }
  .toasts { right: 16px; left: 16px; width: auto; }
}
@media (min-width: 600px) { .selbar .btn--primary .label-short { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .appbar__actions, .search, .quick, .filters, .rbar__controls, .selbar, .toasts, .row__check, .row__actions, .mhero__cta, .footer__social, .scrim { display: none !important; }
  .appbar { position: static; }
  .catalog { grid-template-columns: 1fr; }
  .mcard, .table, .mhero { box-shadow: none; break-inside: avoid; }
}
