/* ── tool.css — Charakter „HTTP-Statuscodes“ ────────────────────────────────────────────────────────────────────────
   WAS:   Die Seite nimmt die Farbe der Klasse des gewählten Codes an: --a1 folgt html[data-k] (1xx Blau · 2xx Grün · 3xx Violett · 4xx Bernstein ·
          5xx Rot, js/main.js setzt data-k). --a2 (Türkis) und --a3 (Rosa) sind fest. Dazu: Klassenleiste (fünf Kacheln mit „Strichcode“),
          große Code-Anzeige (erste Ziffer in Klassenfarbe), Finder mit Liste, Beispiel-Antwort als Code-Block, Verwechslungs-Karten.
   WARUM: Das Besondere an einer Statuscode-Referenz ist die Klasse – 4xx und 5xx sehen Entwickler zuerst an der Farbe. Die Anzeige soll das Ergebnis
          sofort tragen (große Nummer, Name, Bedeutung), die Liste ist Werkzeug.
   WIE ÄNDERN: Klassenfarben nur in den --k1…--k5 unten (hell/dunkel getrennt); Grundbausteine in ../_werk/werk.css. Das Raster (Finder links,
          Anzeige rechts, Finder klebt beim Scrollen) steht bei .hk-raster, die Handy-Reihenfolge ergibt sich aus der HTML-Reihenfolge
          (Klassenleiste → Anzeige → Finder → Verwechslungen).
   LAYOUT (Lauf 2, 27.10.): Desktop: .hk-links (Suche + Klassenknöpfe + Liste) als klebende Spalte links, Anzeige und die eingeklappten Kästen
          (.hk-kaesten) rechts untereinander. Handy: .hk-links ist display: contents, die Kinder stehen per grid-area in der Reihenfolge Suche → Anzeige
          → Liste → Kästen. Desktop (≥ 981 px) und Handy (≤ 980 px / ≤ 640 px) haben je einen eigenen Medienblock am Ende. Überholtes steht auskommentiert. */
:root { --k1: #60a5fa; --k2: #34d399; --k3: #c084fc; --k4: #fbbf24; --k5: #fb7185; --k-tinte: #0d0f13;
  --a1: var(--k4); --a2: #2dd4bf; --a3: #f472b6; --a1-tinte: #0d0f13; }
@media (prefers-color-scheme: light) { :root:not([data-thema="dunkel"]) { --k1: #1d4ed8; --k2: #047857; --k3: #7e22ce; --k4: #b45309; --k5: #be123c; --k-tinte: #ffffff; --a2: #0f766e; --a3: #be185d; --a1-tinte: #ffffff; } }
:root[data-thema="hell"] { --k1: #1d4ed8; --k2: #047857; --k3: #7e22ce; --k4: #b45309; --k5: #be123c; --k-tinte: #ffffff; --a2: #0f766e; --a3: #be185d; --a1-tinte: #ffffff; }
:root[data-k="1"] { --a1: var(--k1); } :root[data-k="2"] { --a1: var(--k2); } :root[data-k="3"] { --a1: var(--k3); } :root[data-k="4"] { --a1: var(--k4); } :root[data-k="5"] { --a1: var(--k5); }
body { transition: background-color 0.3s; }
.versteckt { display: none !important; }

/* ── Klassenfilter: Knopfreihe Alle · 1xx … 5xx (3 × 2, gleiche Breiten) ── */
.hk-klassen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 10px; }
.hk-klasse { --kf: var(--a2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 52px; padding: 6px 4px;
  background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--r-klein); color: var(--text); text-align: center; transition: border-color 0.15s, background 0.2s; }
.hk-klasse[data-k="1"] { --kf: var(--k1); } .hk-klasse[data-k="2"] { --kf: var(--k2); } .hk-klasse[data-k="3"] { --kf: var(--k3); }
.hk-klasse[data-k="4"] { --kf: var(--k4); } .hk-klasse[data-k="5"] { --kf: var(--k5); }
.hk-klasse:hover { border-color: var(--linie-stark); }
.hk-klasse[aria-pressed="true"] { background: color-mix(in srgb, var(--kf) 16%, var(--flaeche)); border-color: var(--kf); box-shadow: 0 0 0 1px var(--kf); }
.hk-klasse:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kf) 55%, transparent); }
.hk-k-nr { font: 700 17px/1.1 var(--mono); color: var(--kf); }
.hk-k-name { font-size: 12.5px; line-height: 1.2; color: var(--leise); overflow-wrap: anywhere; }
.hk-klasse[data-k=""] .hk-k-nr { font-family: var(--schrift); color: var(--text); }
.hk-klasse[data-k=""] { justify-content: center; }

/* Lauf 2 entfernt: große Klassenkacheln mit „Strichcode“ (ersetzt durch die Knopfreihe oben)
.hk-klassen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.hk-klasse { --kf: var(--k4); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px 14px 12px; min-width: 0;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); box-shadow: var(--schatten); overflow: hidden;
  transition: border-color 0.15s, background 0.2s, transform 0.15s; }
.hk-klasse[data-k="1"] { --kf: var(--k1); } .hk-klasse[data-k="2"] { --kf: var(--k2); } .hk-klasse[data-k="3"] { --kf: var(--k3); }
.hk-klasse[data-k="4"] { --kf: var(--k4); } .hk-klasse[data-k="5"] { --kf: var(--k5); }
.hk-klasse::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--kf); opacity: 0.55; transition: opacity 0.2s, height 0.2s; }
.hk-klasse:hover { border-color: var(--linie-stark); }
.hk-klasse:active { transform: translateY(1px); }
.hk-klasse.hat::before { opacity: 1; height: 6px; }
.hk-klasse.hat { border-color: color-mix(in srgb, var(--kf) 45%, var(--linie)); }
.hk-klasse[aria-pressed="true"] { background: color-mix(in srgb, var(--kf) 13%, var(--flaeche)); border-color: var(--kf); box-shadow: 0 0 0 1px var(--kf), var(--schatten); }
.hk-klasse:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kf) 55%, transparent); }
.hk-k-nr { font: 700 clamp(30px, 3.4vw, 42px)/1 var(--titel); letter-spacing: -0.03em; color: var(--kf); }
.hk-k-name { font-size: 16px; font-weight: 700; margin-top: 4px; }
.hk-k-satz { font-size: 13.5px; color: var(--leise); line-height: 1.3; min-height: 2.6em; }
.hk-k-ticks { display: flex; align-items: flex-end; gap: 1.5px; width: 100%; height: 22px; margin: 8px 0 5px; }
.hk-k-ticks .tk { flex: 1 1 0; min-width: 2px; max-width: 9px; height: 62%; border-radius: 1.5px; background: var(--kf); opacity: 0.6; transition: height 0.15s, opacity 0.15s; cursor: pointer; }
.hk-k-ticks .tk.inoff { background: transparent; box-shadow: inset 0 0 0 1px var(--kf); height: 42%; opacity: 0.9; }
.hk-k-ticks .tk:hover { opacity: 1; height: 85%; }
.hk-k-ticks .tk.an { opacity: 1; height: 100%; background: var(--kf); box-shadow: 0 0 0 2px color-mix(in srgb, var(--kf) 30%, transparent); }
.hk-k-n { font: 500 13px var(--mono); color: var(--sehr-leise); }

*/

/* ── Raster: Finder links, Anzeige rechts; Verwechslungen darunter über die ganze Breite ── */
.hk-raster { display: grid; gap: 14px; grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.62fr); grid-template-areas: "links detail" "links kaesten"; align-items: start; }
.hk-links { grid-area: links; position: sticky; top: 12px; align-self: start; display: flex; flex-direction: column; gap: 14px; min-width: 0; max-height: calc(100vh - 24px); }
.hk-suche { flex: none; }
.hk-listenfeld { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.hk-detail { grid-area: detail; scroll-margin-top: 10px; min-width: 0; }
.hk-kaesten { grid-area: kaesten; display: grid; gap: 14px; min-width: 0; }
/* .hk-finder { grid-area: finder; position: sticky; top: 12px; display: flex; flex-direction: column; max-height: calc(100vh - 24px); min-height: 360px; }   — Lauf 2: ersetzt durch .hk-links
.hk-paare { margin-top: 14px; } */
.hk-anzahl { margin: 0; font: 500 13px var(--mono); color: var(--sehr-leise); }

/* ── Anzeige ── */
.hk-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; }
.hk-nr { font: 700 clamp(84px, 9.4vw, 132px)/0.9 var(--titel); letter-spacing: -0.05em; color: var(--text); text-shadow: 0 10px 40px color-mix(in srgb, var(--a1) 28%, transparent); font-variant-numeric: tabular-nums; }
.hk-nr .k { color: var(--a1); }
.hk-nr.wechsel { animation: hk-wechsel 0.45s var(--kurve); }
@keyframes hk-wechsel { from { opacity: 0.35; transform: translateY(8px) scale(0.97); } }
.hk-name { margin: 0; font: 700 clamp(24px, 2.7vw, 36px)/1.1 var(--titel); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.hk-de { margin: 4px 0 0; color: var(--leise); font-size: 19px; }
.hk-chips { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hk-chips:empty { display: none; }
.hk-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 11px; border-radius: 99px; font: 700 13.5px var(--schrift); border: 1px solid var(--linie-stark); background: var(--flaeche-2); color: var(--text); text-decoration: none; }
/* .hk-chip.klasse { background: color-mix(in srgb, var(--a1) 16%, var(--flaeche-2)); border-color: color-mix(in srgb, var(--a1) 55%, transparent); }   — Lauf 2: Klassen-Chip entfällt */
.hk-chip.art.inoff { border-style: dashed; border-color: var(--hinweis); color: var(--hinweis); background: transparent; }
.hk-chip.art.veraltet, .hk-chip.art.reserviert, .hk-chip.art.temp { color: var(--hinweis); border-color: color-mix(in srgb, var(--hinweis) 55%, transparent); background: color-mix(in srgb, var(--hinweis) 9%, var(--flaeche-2)); }
.hk-chip.link { font-family: var(--mono); font-weight: 500; }
.hk-chip.link:hover { border-color: var(--a1); }
.hk-nav { display: flex; gap: 6px; align-self: start; }
.hk-nav .ikon-knopf { padding: 0; width: 42px; }
.hk-band { margin: 16px 0 0; padding: 11px 14px; border-radius: var(--r-klein); font-size: 15px; line-height: 1.45; color: var(--leise); background: var(--flaeche-2); border: 1.5px dashed var(--linie-stark); }
.hk-band.inoff { border-color: color-mix(in srgb, var(--hinweis) 65%, transparent); background: color-mix(in srgb, var(--hinweis) 8%, var(--flaeche)); color: var(--text); }
.hk-was { margin: 18px 0 16px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 62ch; }
.hk-was code, .hk-abschnitt code { font: 500 0.9em var(--mono); background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
/* .hk-fakten { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 8px; }   — Lauf 2: auto-fill gab je Code 2 oder 3 Kacheln, ungleiche Reihen */
.hk-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.hk-fakten > :only-child { grid-column: 1 / -1; }
.hk-fakten .wert-zahl { font-size: 18px; overflow-wrap: anywhere; }
.hk-fakten .wert.haupt .wert-zahl { font-size: 19px; }

.hk-abschnitte { display: grid; gap: 16px; margin-top: 22px; }
.hk-abschnitt { position: relative; padding: 2px 0 2px 18px; }
.hk-abschnitt::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: var(--a1); }
.hk-abschnitt.nutzer::before { background: var(--a2); } .hk-abschnitt.dev::before { background: var(--a3); }
.hk-abschnitt h3, .hk-block h3 { margin: 0 0 4px; font: 700 14px/1.2 var(--schrift); letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); }
.hk-abschnitt p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 70ch; }

.hk-block { margin-top: 26px; }
.fb-inhalt > .hk-block:first-child { margin-top: 4px; }
.hk-reiter { margin-bottom: 12px; }
.hk-z-satz { margin-top: 3px; font-size: 13.5px; color: var(--leise); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hk-block-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 10px; }
.hk-block-kopf h3 { margin: 0; }
.hk-code { margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--flaeche-2); border: 1px solid var(--linie); font: 500 16px/1.7 var(--mono); overflow-x: auto; white-space: pre; tab-size: 2; color: var(--text); }
.hk-code .ver { color: var(--sehr-leise); } .hk-code .cd { color: var(--a1); font-weight: 700; } .hk-code .rs { color: var(--text); font-weight: 700; }
.hk-code .hn { color: var(--leise); } .hk-code .kommentar { color: var(--sehr-leise); font-style: italic; }
.hk-code .zl { display: inline; }
.hk-hinweis { margin: 8px 0 0; font-size: 14.5px; color: var(--leise); }
.hk-aktion { margin-top: 10px; display: flex; }
.hk-nachbar { gap: 8px; }
.hk-nachbar .hk-n-nr { font: 700 16px var(--mono); color: var(--kn, var(--text)); }
.hk-nachbar[data-k="1"] { --kn: var(--k1); } .hk-nachbar[data-k="2"] { --kn: var(--k2); } .hk-nachbar[data-k="3"] { --kn: var(--k3); }
.hk-nachbar[data-k="4"] { --kn: var(--k4); } .hk-nachbar[data-k="5"] { --kn: var(--k5); }
.hk-nahe-paar { margin-bottom: 12px; }
.hk-merk { margin: 8px 0 0; color: var(--leise); font-size: 15.5px; line-height: 1.45; }
#nahe > .chips { margin-bottom: 8px; }

/* ── Finder ── */
.feld-rahmen.hk-suchrahmen input { font: 500 17px var(--schrift); padding: 13px 4px 13px 8px; letter-spacing: 0; }
.hk-suchrahmen input::-webkit-search-cancel-button { display: none; }
.hk-lupe { width: 22px; height: 22px; margin-left: 14px; color: var(--sehr-leise); flex: none; }
.hk-weg { flex: none; width: 40px; height: 40px; margin-right: 4px; border: 0; background: transparent; color: var(--leise); border-radius: 10px; display: grid; place-items: center; }
.hk-weg:hover { background: var(--flaeche-3); color: var(--text); }
.hk-weg svg { width: 18px; height: 18px; }
/* .hk-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 10px; }   — Lauf 2: Quellen-Umschalter und „Häufige“ entfernt */
.hk-filter .segment button { padding: 6px 12px; min-height: 36px; font-size: 14.5px; }
.hk-filter .chip { min-height: 44px; }
.hk-filter .chip[aria-pressed="true"] { background: color-mix(in srgb, var(--a1) 18%, var(--flaeche)); border-color: var(--a1); }
.hk-liste { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow-y: auto; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche-2); scrollbar-width: thin; overscroll-behavior: contain; position: relative; }
/* alt: max-height: clamp(280px, calc(100vh - 560px), 640px) — wurde auf Laptop-Höhen sehr knapp; jetzt füllt die Liste den Rest der klebenden Spalte (Desktop-Block unten) */
.hk-gruppe { position: sticky; top: 0; z-index: 1; display: flex; align-items: baseline; gap: 6px; padding: 8px 14px 6px; background: var(--flaeche-3); font: 700 12.5px var(--schrift); letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); border-bottom: 1px solid var(--linie); }
.hk-g-nr { font: 700 14px var(--mono); letter-spacing: 0; color: var(--kg, var(--text)); }
.hk-gruppe[data-k="1"] { --kg: var(--k1); } .hk-gruppe[data-k="2"] { --kg: var(--k2); } .hk-gruppe[data-k="3"] { --kg: var(--k3); } .hk-gruppe[data-k="4"] { --kg: var(--k4); } .hk-gruppe[data-k="5"] { --kg: var(--k5); }
.hk-zeile { --kz: var(--k4); display: grid; grid-template-columns: 3.4ch minmax(0, 1fr) auto; align-items: center; text-align: left; gap: 12px; width: 100%; text-align: left; padding: 8px 14px; min-height: 52px; border: 0; background: transparent; border-bottom: 1px solid var(--linie); border-left: 4px solid transparent; transition: background 0.12s; }
.hk-zeile[data-k="1"] { --kz: var(--k1); } .hk-zeile[data-k="2"] { --kz: var(--k2); } .hk-zeile[data-k="3"] { --kz: var(--k3); } .hk-zeile[data-k="4"] { --kz: var(--k4); } .hk-zeile[data-k="5"] { --kz: var(--k5); }
.hk-zeile:hover { background: var(--flaeche-3); }
.hk-zeile[aria-current="true"] { background: color-mix(in srgb, var(--kz) 15%, var(--flaeche-2)); border-left-color: var(--kz); }
.hk-zeile:focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--kz) 60%, transparent); }
.hk-z-nr { font: 700 20px var(--mono); color: var(--kz); }
.hk-z-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hk-z-name b { font-size: 16px; overflow-wrap: anywhere; }
.hk-z-name small { font-size: 13.5px; color: var(--leise); overflow-wrap: anywhere; }
.hk-zeile.inoff .hk-z-name b { font-weight: 500; }
.hk-z-art { font: 700 11.5px var(--schrift); letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--hinweis) 55%, transparent); color: var(--hinweis); white-space: nowrap; }
.hk-z-art.inoff { border-style: dashed; text-transform: none; letter-spacing: 0; font-size: 12px; }
.hk-leer { padding: 22px 16px; border: 1.5px dashed var(--linie-stark); border-radius: var(--r); color: var(--leise); text-align: center; }
.hk-leer p { margin: 0 0 8px; }
.hk-leer-gross { font: 700 20px var(--titel); color: var(--text); }

/* Lauf 2 entfernt: Verwechslungs-Karten (#paare-tafel) — Paare erscheinen als „Oft verwechselt mit“ in der Anzeige
.hk-paare-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.hk-paar { padding: 14px 16px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche-2); transition: border-color 0.2s, background 0.2s; }
.hk-paar.hat { border-color: color-mix(in srgb, var(--a1) 70%, transparent); background: color-mix(in srgb, var(--a1) 7%, var(--flaeche-2)); }
.hk-p-zeilen { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.hk-p-zeilen li { display: grid; grid-template-columns: 3.2ch minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.4; }
.hk-p-zeilen b { font: 700 16px var(--mono); color: var(--kp, var(--text)); }
.hk-p-zeilen li[data-k="1"] { --kp: var(--k1); } .hk-p-zeilen li[data-k="2"] { --kp: var(--k2); } .hk-p-zeilen li[data-k="3"] { --kp: var(--k3); } .hk-p-zeilen li[data-k="4"] { --kp: var(--k4); } .hk-p-zeilen li[data-k="5"] { --kp: var(--k5); }
.hk-paar .hk-merk { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--linie-stark); color: var(--text); font-size: 15.5px; }
.hk-paar .hk-merk strong { color: var(--leise); }

*/

/* ── Kopf-Icon (Original-Icon, quadratisch) auf neutralem Grund ── */
.kopf-glyphe { background: var(--flaeche-3); box-shadow: inset 0 0 0 1px var(--linie), 0 10px 30px -14px var(--a1); }
.kopf-glyphe img { display: block; width: 44px; height: 44px; object-fit: contain; }

/* ── Über dieses Tool (Tool-Profil, SEO/GEO; Aufbau wie pw-strength) ── */
.tool-profil { margin-top: 18px; padding: 20px; border-radius: var(--r-gross); background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); min-width: 0; }
.tool-profil-titel { margin: 0 0 10px; font: 700 15px/1.2 var(--schrift); letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); display: flex; align-items: center; gap: 9px; }
.tool-profil-titel::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--a1); }
.tool-profil h3 { margin: 18px 0 8px; font: 700 16px/1.3 var(--schrift); color: var(--text); }
.tool-profil p { margin: 0 0 10px; color: var(--leise); line-height: 1.6; }
.tool-profil-einl { color: var(--text); }
.tool-profil-liste { margin: 0; padding: 0 0 0 20px; color: var(--leise); line-height: 1.55; display: grid; gap: 4px; }
.tool-profil-faq { display: grid; gap: 8px; margin-top: 8px; }
.tool-profil-faq details { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--r); padding: 0 16px; }
.tool-profil-faq summary { list-style: none; cursor: pointer; padding: 13px 0; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tool-profil-faq summary::-webkit-details-marker { display: none; }
.tool-profil-faq summary::after { content: "+"; margin-left: auto; font: 500 22px/1 var(--mono); color: var(--sehr-leise); transition: transform 0.25s var(--kurve); }
.tool-profil-faq details[open] summary::after { transform: rotate(45deg); }
.tool-profil-faq details p { margin: 0 0 14px; }
.wissen details p + p { margin-top: -6px; }

/* ── Desktop (≥ 981 px): Liste füllt die klebende Spalte ── */
@media (min-width: 981px) {
  .hk-liste { min-height: 240px; }
  .hk-listenfeld { min-height: 240px; }
}

/* ── Schmale Bildschirme (≤ 980 px): Suche → Anzeige → Liste → Kästen ── */
@media (max-width: 980px) {
  .hk-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "suche" "detail" "liste" "kaesten"; }
  .hk-links { display: contents; }
  .hk-suche { grid-area: suche; }
  .hk-listenfeld { grid-area: liste; }
  .hk-liste { max-height: 520px; }
}
/* ── Handy (≤ 640 px) ── */
@media (max-width: 640px) {
  .kopf-glyphe img { width: 38px; height: 38px; }
  .hk-kopf { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
  .hk-nr { font-size: 78px; }
  .hk-name { font-size: 22px; }
  .hk-de { font-size: 16px; }
  .hk-chips { margin-top: 8px; }
  .hk-was { font-size: 17.5px; margin: 14px 0; }
  .hk-fakten { grid-template-columns: minmax(0, 1fr); }
  .hk-abschnitt p { font-size: 16px; }
  .hk-code { font-size: 14.5px; padding: 12px; }
  .feld-rahmen.hk-suchrahmen input { font-size: 17px; }
  .hk-zeile { padding: 8px 10px; gap: 10px; }
  .hk-detail { position: relative; }
  .tool-profil { padding: 16px; border-radius: 18px; }
}
/* Lauf 2 (alt) Schmale Bildschirme der vorigen Fassung:
@media (max-width: 980px) { .hk-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "detail" "finder"; } .hk-finder { position: static; max-height: none; } .hk-liste { max-height: 520px; } }
@media (max-width: 640px) { … Klassenkacheln gekürzt, .hk-nav ausgeblendet … } */
