/* SupplySphere — Tokens und Komponenten (Fundament, Bauplan Kapitel 5).
   Richtung "Werft": Marineblau, Signalgelb, Barlow Condensed / IBM Plex.
   Kein Border-Radius außer Pills, keine Schatten, keine Emojis.
   Module ergänzen nur in static/css/<modul>.css. */

:root {
  --navy: #0F1B26; --panel: #16242F; --panel-2: #1D2E3B; --panel-3: #13212D;
  --line: #27394A; --line-2: #4A5D6E;
  --ink: #E8EDF1; --ink-2: #C5D0DA; --mute: #93A4B3; --mute-2: #5E7080;
  --yellow: #F2B705; --yellow-ink: #1A1400; --ok: #5BC48F; --warn: #F08A4B;
  --feld: #0B141C;
  --cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --rand: 64px; --breite: 1312px;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column;
}
main.haupt { flex: 1 0 auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--yellow); }
img, svg { max-width: 100%; display: block; }
svg.ic { flex-shrink: 0; }
h1, h2, h3, h4, .cond {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  line-height: 1.05; margin: 0; letter-spacing: 0.005em;
}
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 17px; letter-spacing: 0.05em; color: var(--mute); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.mono { font-family: var(--mono); }
.cond { text-transform: uppercase; }
.mute { color: var(--mute); }
.mute-2 { color: var(--mute-2); }
.ink-2 { color: var(--ink-2); }
.gelb { color: var(--yellow); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.klein { font-size: 12px; }
.winzig { font-size: 11px; }
.lbl {
  font-family: var(--cond); font-size: 17px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--mute);
}
.ueberzeile {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
}
.brotkrumen { font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; }
.brotkrumen a { color: var(--mute); }
.brotkrumen a:hover { color: var(--yellow); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.abschnitt { padding-top: 48px; padding-bottom: 48px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.raster { display: grid; gap: 20px; }
.raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.raster-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; }
.seitenleiste { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.zeile { display: flex; align-items: center; gap: 12px; }
.zeile-zwischen { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stapel { display: flex; flex-direction: column; gap: 12px; }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.leer { border: 1px dashed var(--line-2); padding: 32px; text-align: center; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Kopfzeile ---------- */
.kopf { border-bottom: 1px solid var(--line); background: var(--navy); }
.kopf-zeile { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.logo .logo-ic { color: var(--yellow); }
.logo-text { font-family: var(--cond); font-size: 26px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.kopf-suche { display: flex; flex: 1 1 auto; max-width: 640px; border: 1px solid var(--line); background: var(--feld); height: 44px; }
.kopf-suche:focus-within { border-color: var(--yellow); }
.kopf-suche .in { border: 0; height: 42px; background: transparent; flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 14px; }
.kopf-suche .btn-suche { height: 42px; padding: 0 18px; font-size: 18px; display: inline-flex; gap: 8px; align-items: center; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-weight: 500; white-space: nowrap; }
.nav .btn-klein { font-size: 17px; padding: 10px 18px; }
.sprachen { font-size: 12px; color: var(--mute); letter-spacing: 0.08em; }
.sprachen a { color: var(--mute); padding: 4px 2px; }
.sprachen a.on { color: var(--ink); }
.sprachen a:hover { color: var(--yellow); }
.firma-link { font-family: var(--cond); font-size: 19px; font-weight: 600; text-transform: none; }
.inline-form { display: inline; margin: 0; }
.linkknopf { background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; padding: 0; }
.linkknopf:hover { color: var(--yellow); }
.mnav { display: none; margin-left: auto; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-liste { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 260px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.mnav-liste a, .mnav-liste .linkknopf { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); min-height: 44px; width: 100%; text-align: left; }
.mnav-liste a.gelb { color: var(--yellow); font-family: var(--cond); text-transform: uppercase; font-size: 18px; font-weight: 700; }
.mnav-liste .sprachen { padding: 12px 18px; }

/* ---------- Fußzeile ---------- */
.fuss { margin-top: auto; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.fuss-zeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.fuss-marke { display: flex; flex-direction: column; gap: 6px; }
.fuss-logo { font-size: 20px; font-weight: 700; color: var(--ink); }
.fuss a { color: var(--mute); }
.fuss a:hover { color: var(--yellow); }
.fuss-spalten { display: flex; gap: 40px; }
.fuss-spalten > div { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Flash ---------- */
.flash-bereich { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { border: 1px solid var(--line-2); background: var(--panel); padding: 12px 16px; font-size: 14px; color: var(--ink-2); }
.flash.ok { border-color: var(--ok); }
.flash.warn { border-color: var(--yellow); }
.flash.fehler { border-color: var(--warn); }

/* ---------- Knöpfe ---------- */
.btn, .btn-ghost, .btn-quiet {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 18px; line-height: 1; padding: 12px 20px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.btn:hover { background: #FFC71C; color: var(--yellow-ink); }
.btn-ghost { background: transparent; color: var(--yellow); border-color: var(--yellow); font-weight: 600; }
.btn-ghost:hover { background: rgba(242, 183, 5, 0.1); color: var(--yellow); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); font-weight: 600; }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-gefahr { border-color: var(--warn); color: var(--warn); }
.btn-gross { font-size: 22px; padding: 0 36px; min-height: 64px; }
.btn-klein { font-size: 16px; padding: 7px 14px; min-height: 36px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn-ghost[disabled], .btn-quiet[disabled], .btn.aus { opacity: 0.45; cursor: not-allowed; }
button { font-family: inherit; }

/* ---------- Pills ---------- */
.pill {
  font-family: var(--mono); font-size: 11px; line-height: 1.6; padding: 1px 8px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 2px; display: inline-block;
}
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.due { border-color: var(--yellow); color: var(--yellow); }
.pill.old, .pill.warn { border-color: var(--warn); color: var(--warn); }
.pill.tag { border-color: var(--line); color: var(--mute); }
/* Zustand "reconditioned": neutral, damit Gelb (--yellow) allein Handlung bzw. faellige Bestaetigung bleibt. */
.pill.zustand-rec { border-color: var(--line-2); color: var(--ink-2); }
.pill.gross { font-size: 12px; padding: 2px 8px; }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); }
.card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.card.gelb-rahmen { border-color: var(--yellow); background: var(--panel-3); }
.inserat-karte { min-width: 0; }
.inserat-karte:hover { border-color: var(--line-2); }
.inserat-karte.verblasst { opacity: 0.85; }
.karte-foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); }
.karte-foto img { width: 100%; height: 100%; object-fit: cover; }
.karte-foto .ph { height: 100%; }
.karte-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.karte-kennung { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.karte-titel { font-size: 21px; font-weight: 600; line-height: 1.1; text-transform: none; }
.karte-titel a { color: var(--ink); }
.karte-titel a:hover { color: var(--yellow); }
.karte-zeile { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.karte-fuss { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; }
.karte-preis { font-size: 24px; font-weight: 700; text-transform: none; }
.karte-einheit { font-size: 14px; font-weight: 500; color: var(--mute); font-family: var(--sans); }

/* ---------- Fotoplatzhalter (nur wenn wirklich kein Foto) ---------- */
.ph {
  background: repeating-linear-gradient(135deg, var(--panel-2) 0 10px, #182835 10px 20px);
  display: flex; align-items: flex-end; padding: 10px; min-height: 120px; height: 100%;
}
.ph-text { font-size: 11px; color: var(--mute); }
.ph-gross { min-height: 360px; }
.ph-klein { min-height: 72px; width: 72px; padding: 4px; }
.ph-klein .ph-text { display: none; }

/* ---------- kv (Label/Wert-Raster) ---------- */
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); margin: 0; }
.kv > div, .kv > dt, .kv > dd { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.kv > div:nth-child(odd), .kv > dt { color: var(--mute); }
.kv > div:nth-last-child(-n+2), .kv > dt:last-of-type, .kv > dd:last-of-type { border-bottom: 0; }
.kv.eng { grid-template-columns: 120px minmax(0, 1fr); }
.kv .mono { font-family: var(--mono); }

/* ---------- Datenblatt ---------- */
.datenblatt { border: 1px solid var(--yellow); background: var(--panel-3); }
.datenblatt-kopf { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.datenblatt-titel { font-size: 21px; font-weight: 600; }
.datenblatt-link { margin-left: auto; white-space: nowrap; }
.datenblatt-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 6px 18px 14px; }
.datenblatt-text { padding: 6px 18px 14px; }
.datenblatt-text > * { grid-column: 1 / -1; margin: 0 0 6px; }
.datenblatt-leiste { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel-3); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.datenblatt-leiste b { color: var(--ink); font-weight: 600; }

/* ---------- Formulare ---------- */
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.f label, .f > .lbl { font-family: var(--cond); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); }
.f .hinweis { font-size: 12px; color: var(--mute); }
.f .fehler { font-size: 13px; color: var(--warn); }
.f.ungueltig .in { border-color: var(--warn); }
/* Grundregel bewusst nur mit einer Klasse (0,1,0): mit `input.in` (0,1,1) schlug sie
   Bausteinklassen wie `.aktion-menge` und drueckte deren Knopf aus dem Layout. */
.in {
  border: 1px solid var(--line-2); background: var(--feld); color: var(--ink);
  height: 46px; padding: 0 14px; font-size: 15px; font-family: var(--sans); width: 100%;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
textarea.in { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.in {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E8EDF1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.in:focus { outline: none; border-color: var(--yellow); }
.in::placeholder { color: var(--mute-2); }
.in.mono { font-family: var(--mono); }
.in[readonly] { color: var(--mute); }
.f-zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.f-zeile-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); min-height: 32px; cursor: pointer; }
/* Kontrollkästchen selbst gezeichnet — genau der `.box` aus Suche.dc.html:
   16-px-Quadrat mit 1-px-Rand, gefüllt gelb wenn gesetzt. Selbst gezeichnet,
   damit das Tippziel mobil auf 44 px wachsen darf, ohne dass das Quadrat
   mitwächst (ein natives Kästchen würde auf 16×44 px verzerrt). */
.cb input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin: 0; padding: 0; border: 0; flex-shrink: 0;
  background-color: transparent;
  background-image: linear-gradient(var(--feld), var(--feld)), linear-gradient(var(--line-2), var(--line-2));
  background-size: 14px 14px, 16px 16px;
  background-position: center, center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.cb input[type="checkbox"]:checked {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 16px 16px;
}
.cb input[type="checkbox"]:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.cb input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--yellow); flex-shrink: 0; }
.cb .zahl { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--mute); }
/* Auswahlfelder sind waehlbare Antworten, keine Feldbeschriftungen: Fliesstext in
   IBM Plex Sans, normale Gross-/Kleinschreibung. Als <label class="radio"> stehen sie
   in einem .f-Block und wuerden sonst die Regel `.f label` erben (Barlow Condensed,
   16 px, uppercase). Der zweite Selektor hat dieselbe Spezifitaet und steht spaeter
   im Blatt, gewinnt also. */
.radio, .f label.radio {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2);
  padding: 12px 14px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  text-transform: none; letter-spacing: normal; color: var(--ink-2);
}
.radio.on, .radio:has(input:checked) { border-color: var(--yellow); background: var(--panel-2); }
.radio input { accent-color: var(--yellow); margin: 0; }
input[type="file"].in { padding: 10px 14px; height: auto; }
.upload-vorschau { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.upload-vorschau img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.formular-fuss { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.step { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; padding: 28px 30px 30px; }
.step.active { border-color: var(--yellow); }
.stephead { display: flex; align-items: center; gap: 12px; }
.stepno { font-family: var(--cond); font-size: 22px; font-weight: 700; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--yellow); color: var(--yellow); flex-shrink: 0; }
.stepno.done { background: var(--yellow); color: var(--yellow-ink); }
.step-titel { font-size: 24px; }

/* ---------- Filter (Suche) ---------- */
.filter { display: flex; flex-direction: column; }
.filter .fl { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter .fl:first-child { padding-top: 6px; }
.filter .fl:last-child { border-bottom: 0; }
.filter h4 { margin: 0 0 2px; }
.filter-kopf { display: none; }
.filter-preis { display: flex; gap: 8px; }
.filter-preis .in { height: 36px; font-family: var(--mono); font-size: 13px; padding: 0 10px; }
.sortierung { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.sortierung select.in { height: 36px; width: auto; font-size: 14px; }

/* ---------- Tabellen ---------- */
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-family: var(--cond); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:hover td { background: var(--panel-3); }
td.zahl, th.zahl { text-align: right; font-family: var(--mono); }
.tabelle-leer td { color: var(--mute); text-align: center; padding: 32px; }

/* ---------- Seitenblätterung ---------- */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.seiten { display: flex; gap: 6px; }
.seite { font-family: var(--mono); font-size: 13px; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.seite:hover { border-color: var(--ink); color: var(--ink); }
.seite.on { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.seite.punkte { border-color: transparent; color: var(--mute); }

/* ---------- Kennzahlen, Hinweise ---------- */
.kennzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kennzahl { background: var(--navy); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.kennzahl .zahl { font-family: var(--cond); font-size: 40px; font-weight: 700; line-height: 1; }
.kennzahl .zahl.gelb { color: var(--yellow); }
.kennzahl .text { font-size: 13px; color: var(--mute); }
.hinweis-kasten { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--mute); }
.hinweis-kasten .ic { flex-shrink: 0; margin-top: 2px; }
.band { padding: 12px 16px; border: 1px solid var(--yellow); background: var(--panel-3); color: var(--ink-2); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.band.warn { border-color: var(--warn); }

/* ---------- Seitenleisten-Navigation (Cockpit/Admin) ---------- */
.snav { display: flex; flex-direction: column; }
.snav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 15px; color: var(--mute); border-left: 3px solid transparent; min-height: 44px; }
.snav a:hover { color: var(--ink); }
.snav a.on { color: var(--ink); border-left-color: var(--yellow); background: var(--panel); }
.snav .zahl { margin-left: auto; font-family: var(--mono); font-size: 11px; }
.snav .zahl.gelb { color: var(--yellow); }

/* ---------- Hero / Trust (Startseite) ---------- */
.hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--navy) 0%, var(--panel-3) 100%); }
.hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.hero-titel { font-size: 92px; line-height: 0.95; font-weight: 700; max-width: 900px; }
.hero-text { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 720px; margin: 0; }
.hero-suche { display: flex; align-items: center; gap: 14px; max-width: 980px; border: 2px solid var(--yellow); background: var(--feld); margin-top: 18px; padding-left: 20px; }
.hero-suche .in { border: 0; background: transparent; height: 64px; font-family: var(--mono); font-size: 17px; padding: 0; flex: 1 1 auto; min-width: 0; }
.hero-suche .btn-gross { min-height: 64px; }
.hero-kategorien { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 0; }
.hero-kategorien a { border: 1px solid var(--line); padding: 6px 14px; font-size: 14px; color: var(--ink-2); min-height: 36px; display: inline-flex; align-items: center; }
.hero-kategorien a:hover { border-color: var(--yellow); color: var(--yellow); }
.trust { border-bottom: 1px solid var(--line); }
.trust-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); padding-left: 0; padding-right: 0; max-width: none; }
.trust-feld { background: var(--navy); padding: 26px 32px; display: flex; flex-direction: column; gap: 6px; }
.trust-feld:first-child { padding-left: var(--rand); }
.trust-feld:last-child { padding-right: var(--rand); }
.trust-titel { font-size: 21px; }
.fehlerseite { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }
.fehlerseite > * { max-width: 720px; }
.fehlerseite h1 { font-size: 56px; }

/* ---------- Responsive (< 900 px) ---------- */
@media (max-width: 899px) {
  :root { --rand: 20px; }
  .kopf-zeile { height: 56px; gap: 12px; }
  .logo-text { font-size: 20px; }
  .logo .logo-ic { width: 24px; height: 24px; }
  .kopf-suche { max-width: none; height: 46px; }
  .kopf-suche .in { height: 44px; font-size: 13px; }
  .kopf-suche .btn-suche { height: 44px; padding: 0 12px; }
  .kopf-suche .btn-suche span { display: none; }
  .nav { display: none; }
  .mnav { display: block; }
  .raster-2, .raster-3, .raster-4, .raster-6, .zwei-spalten, .seitenleiste, .f-zeile, .f-zeile-3,
  .datenblatt-spalten, .kennzahlen, .trust-raster { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster { gap: 14px; }
  .zwei-spalten, .seitenleiste { gap: 24px; }
  .abschnitt { padding-top: 28px; padding-bottom: 28px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero { padding: 40px 0 32px; }
  .hero-titel { font-size: 44px; }
  .hero-text { font-size: 16px; }
  .hero-suche { flex-wrap: wrap; padding: 0; border-width: 1px; }
  .hero-suche .ic { display: none; }
  .hero-suche .in { height: 48px; padding: 0 14px; font-size: 14px; flex-basis: 100%; }
  .hero-suche .btn-gross { min-height: 48px; width: 100%; font-size: 18px; }
  .trust-feld, .trust-feld:first-child, .trust-feld:last-child { padding: 18px var(--rand); }
  .fuss-zeile { flex-direction: column; gap: 24px; }
  .fehlerseite { padding-top: 48px; padding-bottom: 48px; }
  .fehlerseite h1 { font-size: 34px; }
  .kv, .kv.eng { grid-template-columns: 120px minmax(0, 1fr); }
  .kv > div, .kv > dt, .kv > dd { font-size: 13px; padding: 12px 0; }
  .karte-titel { font-size: 19px; }
  .pagination { justify-content: center; }
  /* Filter als aufklappbarer Block */
  .filter { border: 1px solid var(--line); padding: 0 14px; margin-bottom: 16px; }
  .filter-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; cursor: pointer; font-family: var(--cond); font-size: 18px; font-weight: 600; text-transform: uppercase; min-height: 44px; }
  .filter-kopf::-webkit-details-marker { display: none; }
  .filter .fl:first-of-type { padding-top: 12px; border-top: 1px solid var(--line); }
  table { font-size: 13px; }
  th, td { padding: 10px 8px; }
  .btn-gross { font-size: 18px; padding: 0 20px; min-height: 52px; }
  .mobil-leiste { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px var(--rand) 20px; border-top: 1px solid var(--line); background: var(--navy); }

  /* ---------- Tippziele (Bauplan Kapitel 5: mindestens 44 px) ----------
     Unter 900 px ist der Finger das Zeigegerät. Jedes anklickbare Element
     bekommt hier mindestens 44 px Höhe — auch Navigations-, Fuß- und
     Brotkrumenlinks, die auf dem Schreibtisch nur so hoch wie ihre Zeile
     sind. Fließtext bleibt unberührt: erweitert werden nur Bedienelemente
     und die Linklisten, in denen sie stehen. */
  .btn-klein { min-height: 44px; padding: 8px 14px; }
  .filter-preis .in { height: 44px; }
  .sortierung { min-height: 44px; }
  .sortierung select.in { height: 44px; }
  .cb { min-height: 44px; }
  .cb input[type="checkbox"] { height: 44px; }   /* Quadrat bleibt 16 px, nur die Fläche wächst */
  .filter .fl > a { min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
  .hero-kategorien a { min-height: 44px; }
  .seite { min-height: 44px; height: 44px; }
  .logo { min-height: 44px; }
  .skip { min-height: 44px; display: inline-flex; align-items: center; }
  .karte-titel a { min-height: 44px; display: inline-flex; align-items: center; }
  .datenblatt-link, .brotkrumen a, .fuss a, .sprachen a, .linkknopf {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .mnav-liste .sprachen { gap: 4px; display: flex; align-items: center; }
  .mnav-liste .sprachen a { padding: 0 10px; }
}
@media (min-width: 900px) {
  details.filter > summary.filter-kopf { display: none; }
  details.filter { display: flex; }
}
@media (max-width: 480px) {
  .kennzahlen { grid-template-columns: minmax(0, 1fr); }
  .hero-titel { font-size: 38px; }
}
@media print {
  .kopf, .fuss, .mnav, .nav, .btn, .btn-ghost, .btn-quiet { display: none !important; }
  body { background: #fff; color: #000; }
}
