/*
 * Werkhof Beschlag und Werkzeug, Beispielshop.
 *
 * Erfundener Betrieb, gebaut als Vorführfläche für den Berater unten rechts.
 * Gestaltung: Werkstatt statt Hochglanz. Anthrazit und Beton als Flächen,
 * Signalgelb nur als Kante, wie am Absperrband. Kenndaten stehen in einer
 * Schreibmaschinenschrift, damit sie wie ein Typenschild wirken.
 */

/*
 * Die Schriften liegen bei uns, nicht bei Google.
 *
 * ⚠️ **Ein @import von fonts.googleapis.com wird live blockiert.** Unsere
 * Sicherheitsregeln erlauben nur eigene Quellen ("style-src self",
 * "font-src self" in "website/public/_headers"), und das ist Absicht: Ohne
 * diese Regel lädt jeder Besucher unbemerkt bei Google. Am 20.09.2026 fiel
 * es erst nach dem ersten Upload auf, die Seite stand kurz mit
 * Ersatzschriften da.
 *
 * Die Dateien stammen von Google Fonts und stehen unter der SIL Open Font
 * License, die das Mitausliefern ausdrücklich erlaubt. Geladen werden nur
 * die Schnitte, die die Seite benutzt, in latin und latin-ext.
 */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schriften/archivo-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schriften/archivo-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("schriften/archivo-700-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("schriften/archivo-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/ibm-plex-mono-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("schriften/ibm-plex-mono-500-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("schriften/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/source-sans-3-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/source-sans-3-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schriften/source-sans-3-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schriften/source-sans-3-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tiefe: #16191d;
  --stahl: #2b3239;
  --stahl-hell: #4a545e;
  --beton: #e9e7e2;
  --beton-hell: #f4f3f0;
  --papier: #ffffff;
  --signal: #ffb703;
  --signal-tief: #c98a00;
  --blau: #1f5fa9;
  --rot: #b3261e;
  --gruen: #2f6b3a;

  --schrift-display: "Archivo", "Segoe UI", sans-serif;
  --schrift-text: "Source Sans 3", "Segoe UI", sans-serif;
  --schrift-daten: "IBM Plex Mono", "Consolas", monospace;

  --rand: 1px solid rgba(22, 25, 29, 0.14);
  --rand-stark: 2px solid var(--tiefe);
  --breite: 1240px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
 * ⚠️ Ohne diese Zeile blendet der Katalogfilter nichts aus.
 *
 * `.karte` setzt `display: flex`, und eine Klasse schlägt das Attribut
 * `hidden`. Der Zähler sagte dann „24 von 55", während alle 55 Karten
 * dastanden. Am 20.09.2026 im Screenshot aufgefallen, nicht am Zähler.
 */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--beton);
  color: var(--tiefe);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--schrift-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────────────────── Kopf ───────────────────── */

.warnkante {
  height: 6px;
  background: repeating-linear-gradient(
    135deg,
    var(--signal) 0 18px,
    var(--tiefe) 18px 36px
  );
}

.kopf {
  background: var(--tiefe);
  color: var(--beton-hell);
  position: sticky;
  top: 0;
  z-index: 40;
}

.kopf-reihe {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.marke {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.marke-name {
  font-family: var(--schrift-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.marke-zusatz {
  font-family: var(--schrift-daten);
  font-size: 11px;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hauptmenue {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}

.hauptmenue a {
  color: rgba(233, 231, 226, 0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.hauptmenue a:hover,
.hauptmenue a[aria-current="page"] {
  color: var(--papier);
  border-bottom-color: var(--signal);
}

.kopf-suche {
  display: flex;
  align-items: center;
  background: var(--stahl);
  border: 1px solid var(--stahl-hell);
  border-radius: var(--radius);
  padding: 0 10px;
  height: 40px;
  min-width: 230px;
}

.kopf-suche input {
  background: transparent;
  border: 0;
  color: var(--papier);
  font-family: var(--schrift-text);
  font-size: 15px;
  width: 100%;
  padding: 0 8px;
}

.kopf-suche input::placeholder {
  color: rgba(233, 231, 226, 0.5);
}

.kopf-suche input:focus {
  outline: none;
}

.kopf-suche:focus-within {
  border-color: var(--signal);
}

.menue-knopf {
  display: none;
  background: var(--stahl);
  border: 1px solid var(--stahl-hell);
  color: var(--papier);
  font-family: var(--schrift-text);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ───────────────────── Hero ───────────────────── */

.hero {
  background: var(--tiefe);
  color: var(--beton-hell);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-marke {
  font-family: var(--schrift-daten);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.hero p {
  font-size: 19px;
  color: rgba(233, 231, 226, 0.78);
  max-width: 46ch;
  margin: 20px 0 30px;
}

.hero-knoepfe {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-zahlen {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 231, 226, 0.16);
  flex-wrap: wrap;
}

.hero-zahl {
  font-family: var(--schrift-daten);
  font-size: 13px;
  color: rgba(233, 231, 226, 0.62);
  line-height: 1.5;
}

.hero-zahl b {
  display: block;
  font-family: var(--schrift-display);
  font-size: 26px;
  color: var(--papier);
  font-weight: 700;
}

.hero-bild {
  background: var(--stahl);
  border: 1px solid var(--stahl-hell);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--beton-hell);
}

.hero-bild svg {
  width: 100%;
  height: auto;
}

@media (min-width: 861px) {
  .hero-marke {
    white-space: nowrap;
  }
}

/* ───────────────────── Knöpfe ───────────────────── */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--schrift-text);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--signal);
  background: var(--signal);
  color: var(--tiefe);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.knopf:hover {
  background: var(--signal-tief);
  border-color: var(--signal-tief);
}

.knopf-zweit {
  background: transparent;
  border-color: rgba(233, 231, 226, 0.4);
  color: var(--beton-hell);
}

.knopf-zweit:hover {
  background: rgba(233, 231, 226, 0.1);
  border-color: var(--beton-hell);
}

.knopf-hell {
  background: var(--tiefe);
  border-color: var(--tiefe);
  color: var(--papier);
}

.knopf-hell:hover {
  background: var(--stahl);
  border-color: var(--stahl);
}

/* ───────────────────── Abschnitte ───────────────────── */

.block {
  padding: 64px 0;
}

.block-hell {
  background: var(--beton-hell);
}

.block-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.block-kopf h2 {
  font-size: clamp(26px, 3vw, 36px);
  text-transform: uppercase;
}

.block-kopf p {
  margin: 8px 0 0;
  color: rgba(22, 25, 29, 0.66);
  max-width: 52ch;
}

.block-kopf a {
  font-family: var(--schrift-daten);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* ───────────────────── Kategorien ───────────────────── */

.kategorien {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kategorie {
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.kategorie:hover {
  border-color: var(--tiefe);
  transform: translateY(-2px);
}

.kategorie svg {
  height: 54px;
  width: auto;
}

.kategorie b {
  font-family: var(--schrift-display);
  font-size: 17px;
}

.kategorie span {
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(22, 25, 29, 0.55);
}

/* ───────────────────── Artikelkarten ───────────────────── */

.karten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.karte {
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.karte:hover {
  border-color: var(--tiefe);
  box-shadow: 0 6px 20px rgba(22, 25, 29, 0.09);
}

.karte-schild {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--tiefe);
  color: rgba(233, 231, 226, 0.75);
  font-family: var(--schrift-daten);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
}

.karte-schild .nr {
  color: var(--signal);
}

.karte-bild {
  padding: 14px 18px;
  background: var(--papier);
  border-bottom: var(--rand);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
}

.karte-bild svg {
  height: 140px;
  width: 100%;
}

/*
 * Echte Fotos neben Zeichnungen.
 *
 * Beide bekommen denselben Platz und dieselbe Höhe, sonst springt das Raster
 * an den Stellen, wo ein Foto steht. `contain` schneidet nichts ab: Bei einem
 * Werkzeug ist der Umriss die Information.
 */
.karte-bild .echtbild {
  height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.artikel-bild .echtbild {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.karte-text {
  padding: 15px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.karte-marke {
  font-family: var(--schrift-daten);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(22, 25, 29, 0.5);
}

.karte-name {
  font-family: var(--schrift-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
}

.karte-kurz {
  font-size: 14px;
  color: rgba(22, 25, 29, 0.66);
  line-height: 1.45;
}

.karte-fuss {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.preis {
  font-family: var(--schrift-display);
  font-weight: 700;
  font-size: 21px;
  white-space: nowrap;
}

.lager {
  font-family: var(--schrift-daten);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 2px;
  white-space: nowrap;
}

.lager-ja {
  background: rgba(47, 107, 58, 0.12);
  color: var(--gruen);
}

.lager-wenig {
  background: rgba(201, 138, 0, 0.16);
  color: var(--signal-tief);
}

.lager-nein {
  background: rgba(179, 38, 30, 0.1);
  color: var(--rot);
}

/* ───────────────────── Katalogseite ───────────────────── */

.katalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 36px 0 72px;
}

.filter {
  position: sticky;
  top: 98px;
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 20px;
}

.filter h2 {
  font-size: 13px;
  font-family: var(--schrift-daten);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(22, 25, 29, 0.55);
  margin-bottom: 14px;
}

.filter-gruppe {
  margin-bottom: 22px;
}

.filter-gruppe:last-of-type {
  margin-bottom: 0;
}

.filter-gruppe > b {
  display: block;
  font-family: var(--schrift-display);
  font-size: 15px;
  margin-bottom: 9px;
}

.filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  padding: 3px 0;
  cursor: pointer;
}

.filter input {
  accent-color: var(--tiefe);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-zahl {
  margin-left: auto;
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(22, 25, 29, 0.45);
}

.katalog-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.katalog-suche {
  display: flex;
  align-items: center;
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  height: 44px;
  padding: 0 12px;
  flex: 1;
  min-width: 240px;
}

.katalog-suche input {
  border: 0;
  background: transparent;
  font-family: var(--schrift-text);
  font-size: 16px;
  width: 100%;
  padding: 0 8px;
}

.katalog-suche input:focus {
  outline: none;
}

.katalog-suche:focus-within {
  border-color: var(--tiefe);
}

.sortierung {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--schrift-daten);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 25, 29, 0.55);
  white-space: nowrap;
}

.sortierung select {
  font-family: var(--schrift-text);
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tiefe);
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
}

.sortierung select:hover {
  border-color: var(--tiefe);
}

.treffer {
  font-family: var(--schrift-daten);
  font-size: 13px;
  color: rgba(22, 25, 29, 0.55);
  white-space: nowrap;
}

.leer {
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.leer b {
  font-family: var(--schrift-display);
  font-size: 19px;
  display: block;
  margin-bottom: 6px;
}

.leer p {
  margin: 0 0 18px;
  color: rgba(22, 25, 29, 0.66);
}

/* ───────────────────── Artikelseite ───────────────────── */

.pfad {
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(22, 25, 29, 0.55);
  padding: 18px 0;
}

.pfad a {
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 25, 29, 0.3);
}

.artikel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding-bottom: 64px;
  align-items: start;
}

.artikel-bild {
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.artikel-bild svg {
  height: 300px;
  width: 100%;
}

.nachweis-liste {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.nachweis-liste li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--papier);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 12px;
}

.nachweis-liste img {
  width: 96px;
  height: 72px;
  object-fit: contain;
}

.nachweis-liste b {
  font-family: var(--schrift-display);
  font-size: 16px;
}

.nachweis-liste span {
  display: block;
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(22, 25, 29, 0.6);
  line-height: 1.6;
}

.artikel h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 6px 0 12px;
}

.artikel-marke {
  font-family: var(--schrift-daten);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(22, 25, 29, 0.55);
}

.artikel-kurz {
  font-size: 19px;
  color: rgba(22, 25, 29, 0.72);
  margin: 0 0 22px;
}

.artikel-preis {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: var(--rand);
  border-bottom: var(--rand);
  margin-bottom: 20px;
}

.artikel-preis .preis {
  font-size: 34px;
}

.artikel-preis small {
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(22, 25, 29, 0.55);
}

.artikel-kaufen {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.menge {
  display: flex;
  align-items: center;
  border: var(--rand-stark);
  border-radius: var(--radius);
}

.menge button {
  background: transparent;
  border: 0;
  font-family: var(--schrift-display);
  font-size: 20px;
  width: 42px;
  height: 48px;
  cursor: pointer;
}

.menge span {
  font-family: var(--schrift-daten);
  font-size: 16px;
  width: 34px;
  text-align: center;
}

.artikel-text {
  line-height: 1.7;
  margin-bottom: 26px;
}

/* Das Typenschild: die Kenndaten wie am Gerät selbst. */
.typenschild {
  background: var(--tiefe);
  color: var(--beton-hell);
  border-radius: var(--radius);
  overflow: hidden;
  border-left: 5px solid var(--signal);
}

.typenschild h2 {
  font-family: var(--schrift-daten);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--signal);
  padding: 13px 18px 0;
}

.typenschild dl {
  margin: 0;
  padding: 12px 18px 18px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0;
  font-family: var(--schrift-daten);
  font-size: 14px;
}

.typenschild dt {
  padding: 7px 20px 7px 0;
  color: rgba(233, 231, 226, 0.6);
  border-bottom: 1px solid rgba(233, 231, 226, 0.12);
}

.typenschild dd {
  margin: 0;
  padding: 7px 0;
  text-align: right;
  border-bottom: 1px solid rgba(233, 231, 226, 0.12);
}

.typenschild dl > :nth-last-child(1),
.typenschild dl > :nth-last-child(2) {
  border-bottom: 0;
}

.hinweis-berater {
  margin-top: 22px;
  background: var(--papier);
  border: var(--rand);
  border-left: 5px solid var(--blau);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
}

.hinweis-berater b {
  display: block;
  font-family: var(--schrift-display);
  margin-bottom: 4px;
}

/* ───────────────────── Inhaltsseiten ───────────────────── */

.text-seite {
  max-width: 68ch;
  padding: 36px 0 72px;
}

.text-seite h1 {
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.text-seite h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}

.text-seite table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 16px;
}

.text-seite th,
.text-seite td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: var(--rand);
}

.text-seite th {
  font-family: var(--schrift-daten);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 25, 29, 0.6);
}

.text-seite td:last-child,
.text-seite th:last-child {
  text-align: right;
}

/* ───────────────────── Streifen und Fuß ───────────────────── */

.streifen {
  background: var(--tiefe);
  color: var(--beton-hell);
  padding: 44px 0;
}

.streifen-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.streifen-punkt b {
  font-family: var(--schrift-display);
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}

.streifen-punkt p {
  margin: 0;
  color: rgba(233, 231, 226, 0.7);
  font-size: 15px;
}

.streifen-punkt .nummer {
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: var(--signal);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 10px;
}

.fuss {
  background: var(--stahl);
  color: rgba(233, 231, 226, 0.72);
  padding: 44px 0 28px;
  font-size: 15px;
}

.fuss-raster {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(233, 231, 226, 0.14);
}

.fuss h3 {
  font-size: 13px;
  font-family: var(--schrift-daten);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--signal);
  margin-bottom: 12px;
}

.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fuss a {
  text-decoration: none;
}

.fuss a:hover {
  color: var(--papier);
  text-decoration: underline;
}

.fuss-unten {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--schrift-daten);
  font-size: 12px;
  color: rgba(233, 231, 226, 0.5);
}

/* ───────────────────── Weg ins Portal ───────────────────── */

/*
 * Der zweite Knopf der Seite, links unten.
 *
 * Er beantwortet die Frage, die nach dem Chatten kommt: Wo landet das? Die
 * Blase steht darüber statt daneben, damit sie den Text der Seite nicht
 * verdeckt, und sie ist zurückhaltender als die des Chatknopfes: Zwei
 * Sprechblasen, die gleich laut rufen, heben sich gegenseitig auf.
 */
.portalweg {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: min(320px, calc(100vw - 40px));
}

/*
 * Von oben gesetzt statt von unten (24.09.2026).
 *
 * Finn am iPhone: Beim Runterscrollen verschwand der Knopf ganz. Safari ab
 * iOS 26 schrumpft dabei seine untere Leiste, alles mit `bottom` rutscht mit
 * nach unten, und was unter die alte Kante der Leiste gerät, zeichnet Safari
 * nicht. `100svh` ändert sich beim Scrollen nicht, von oben gerechnet bleibt
 * der Knopf stehen. Dieselbe Rechnung, an seinem iPhone gemessen, steht in
 * `chatbot/public/einbau.js` beim Chatknopf.
 */
@supports (height: 100svh) {
  .portalweg {
    bottom: auto;
    top: calc(100svh - 10px); /* 10 statt 20: Finn am 24.09.2026, sass zu hoch */
    translate: 0 -100%;
  }
}

.portalweg-blase {
  background: var(--papier);
  border: var(--rand);
  border-left: 4px solid var(--blau);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(22, 25, 29, 0.78);
  box-shadow: 0 8px 26px rgba(22, 25, 29, 0.14);
}

.portalweg-blase b {
  display: block;
  font-family: var(--schrift-display);
  font-size: 15px;
  color: var(--tiefe);
  margin-bottom: 3px;
}

.portalweg-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tiefe);
  color: var(--beton-hell);
  text-decoration: none;
  font-family: var(--schrift-text);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--tiefe);
  box-shadow: 0 8px 26px rgba(22, 25, 29, 0.22);
}

.portalweg-knopf:hover {
  background: var(--stahl);
  border-color: var(--stahl);
}

/* Am Telefon sitzt rechts der Chatknopf: nur der Knopf, ohne Blase. */
@media (max-width: 700px) {
  .portalweg-blase {
    display: none;
  }
  .portalweg-knopf {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Der Hinweis, dass dies eine Vorführfläche ist. */
.sandbox-band {
  background: var(--signal);
  color: var(--tiefe);
  font-family: var(--schrift-daten);
  font-size: 13px;
  text-align: center;
  padding: 9px 24px;
  line-height: 1.5;
}

.sandbox-band b {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ───────────────────── Schmale Geräte ───────────────────── */

@media (max-width: 1080px) {
  .kategorien,
  .karten {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .katalog {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-raster,
  .artikel,
  .streifen-raster {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-bild {
    order: -1;
  }
  .kategorien,
  .karten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .katalog {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter {
    position: static;
  }
  .kopf-suche {
    display: none;
  }
  .hauptmenue {
    display: none;
  }
  .hauptmenue.offen {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--tiefe);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--stahl);
  }
  .hauptmenue.offen a {
    padding: 11px 0;
    width: 100%;
  }
  .menue-knopf {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }
  .marke-zusatz {
    display: none;
  }
  .kopf-reihe {
    gap: 14px;
  }
  .fuss-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .kategorien,
  .karten {
    grid-template-columns: minmax(0, 1fr);
  }
  .huelle {
    padding: 0 16px;
  }
  .artikel-bild {
    padding: 28px;
    min-height: 260px;
  }
  .artikel-bild svg {
    height: 180px;
  }
}
