/* =====================================================================
   HIREOS – Anfrage-Module (Kandidaten-Finder + Firmen-Kontaktformular)
   Nutzt die Design-Variablen von hireos.org (:root in Base.css),
   mit Fallbacks, damit die Module auch eigenständig funktionieren.
   Alle Klassen mit Präfix .hx- – keine Kollision mit der Website.
   ===================================================================== */

.hx {
  --hx-navy: var(--dark-900, #0f1729);
  --hx-navy-2: var(--dark-800, #1e293b);
  --hx-ink: var(--dark-900, #0f1729);
  --hx-text: var(--dark-700, #334155);
  --hx-meta: var(--meta, #5d6b80);
  --hx-line: var(--border, #e1e7ef);
  --hx-soft: var(--dark-50, #f8fafc);
  --hx-gold: var(--gold, #d7b055);
  --hx-gold-light: var(--gold-light, #e0c07e);
  --hx-gold-text: var(--gold-text, #876722);
  --hx-good: var(--good-ink, #1d6b41);
  --hx-good-bg: var(--good-bg, #f1f7f3);
  --hx-warn: var(--warn-ink, #8d3122);
  --hx-display: var(--font-display, "Cormorant Garamond", Georgia, serif);
  --hx-body: var(--font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --hx-ease: cubic-bezier(.16, 1, .3, 1);

  font-family: var(--hx-body);
  color: var(--hx-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx [hidden] { display: none !important; }

/* ---------- Grundlayout: Navy-Spalte + weiße Arbeitsfläche ---------- */
.hx-shell {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 8fr;
  background: #fff;
  border: 1px solid var(--hx-line);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 41, .25);
  max-width: 1180px;
  margin: 0 auto;
}
.hx-aside {
  position: relative;
  background: var(--hx-navy);
  color: #cbd5e1;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
}
.hx-aside::after { /* feine Gold-Kante wie bei den Buttons der Website */
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px; background: var(--hx-gold);
}
.hx-main {
  padding: clamp(24px, 4vw, 52px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.hx-eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hx-gold);
}
.hx-title {
  margin: 10px 0 0;
  font-family: var(--hx-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.01em;
}
.hx-lead { margin: 14px 0 0; font-size: .98rem; color: #cbd5e1; max-width: 38ch; }

/* ---------- Fortschritt (linke Spalte) ---------- */
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hx-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: .9rem;
  color: #8b97ab;
  transition: color .3s;
}
.hx-steps li span:first-child {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid #ffffff2e;
  font-size: .75rem; font-weight: 600;
  transition: all .35s var(--hx-ease);
}
.hx-steps li small { display: block; color: #8b97ab; font-size: .78rem; margin-top: 1px; }
.hx-steps li.is-active { color: #fff; }
.hx-steps li.is-active span:first-child { border-color: var(--hx-gold); color: var(--hx-gold); }
.hx-steps li.is-done { color: #e2e8f0; }
.hx-steps li.is-done span:first-child { background: var(--hx-gold); border-color: var(--hx-gold); color: var(--hx-navy); }
.hx-steps li.is-done small { color: var(--hx-gold-light); }

.hx-trust { list-style: none; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid #ffffff1f; display: grid; gap: 10px; }
.hx-trust li { display: flex; gap: 10px; font-size: .86rem; color: #cbd5e1; }
.hx-trust li::before { content: ""; flex: 0 0 14px; height: 1px; margin-top: .72em; background: var(--hx-gold); }

/* ---------- Kopfzeile rechts: Auswahl-Pfad + Zurück ---------- */
.hx-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 22px; }
.hx-trail { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-trail button {
  font: inherit; font-size: .78rem; font-weight: 500;
  padding: 5px 10px;
  background: var(--hx-soft);
  border: 1px solid var(--hx-line);
  color: var(--hx-ink);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.hx-trail button:hover { border-color: var(--hx-gold); background: #fff; }
.hx-trail button::after { content: "  ✎"; color: var(--hx-meta); font-size: .7rem; }
.hx-back {
  font: inherit; font-size: .8rem; font-weight: 500;
  background: none; border: 0; padding: 6px 0;
  color: var(--hx-meta); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.hx-back:hover { color: var(--hx-ink); }

/* ---------- Schritte ---------- */
.hx-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: hx-in .45s var(--hx-ease); }
@keyframes hx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hx-q {
  margin: 0 0 6px;
  padding: 0;
  font-family: var(--hx-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: var(--hx-ink);
}
.hx-hint { margin: 0 0 24px; font-size: .92rem; color: var(--hx-meta); }

/* Fachbereich: große Kacheln */
.hx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hx-tile { position: relative; display: block; cursor: pointer; }
.hx-tile input, .hx-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hx-tile__box {
  display: flex; flex-direction: column; gap: 14px;
  height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--hx-line);
  background: #fff;
  transition: border-color .25s, box-shadow .35s var(--hx-ease), transform .35s var(--hx-ease);
}
.hx-tile__box > div { display: grid; gap: 6px; }
.hx-tile__icon { width: 34px; height: 34px; color: var(--hx-gold-text); flex: 0 0 34px; }
.hx-tile__icon svg { width: 100%; height: 100%; display: block; }
.hx-tile__name { font-family: var(--hx-display); font-size: 1.45rem; font-weight: 600; color: var(--hx-ink); line-height: 1.1; }
.hx-tile__sub { font-size: .8rem; color: var(--hx-meta); line-height: 1.45; }
.hx-tile:hover .hx-tile__box { border-color: var(--hx-ink); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,23,41,.35); }
.hx-tile input:checked + .hx-tile__box { border-color: var(--hx-ink); box-shadow: inset 3px 0 0 var(--hx-gold); }
.hx-tile input:focus-visible + .hx-tile__box,
.hx-chip input:focus-visible + span { outline: 2px solid var(--hx-gold); outline-offset: 2px; }

/* Positionen + Regionen: Chips */
.hx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-chips--list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-chip { position: relative; cursor: pointer; display: block; }
.hx-chip > span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 100%;
  padding: 13px 16px;
  border: 1px solid var(--hx-line);
  background: #fff;
  font-size: .93rem; font-weight: 500; color: var(--hx-ink);
  transition: border-color .2s, background .2s, color .2s;
}
.hx-chip > span small { display: block; font-size: .75rem; font-weight: 400; color: var(--hx-meta); margin-top: 2px; }
.hx-chip > span::after { content: "→"; color: var(--hx-line); transition: color .2s, transform .3s var(--hx-ease); }
.hx-chips:not(.hx-chips--list) .hx-chip > span::after { content: none; }
.hx-chip:hover > span { border-color: var(--hx-ink); }
.hx-chip:hover > span::after { color: var(--hx-gold-text); transform: translateX(3px); }
.hx-chip input:checked + span { background: var(--hx-navy); border-color: var(--hx-navy); color: #fff; }
.hx-chip input:checked + span small { color: #cbd5e1; }
.hx-chip input:checked + span::after { color: var(--hx-gold); }

/* Mehrfachauswahl: Häkchen statt Pfeil */
.hx-chip--check > span::after {
  content: "" !important;
  flex: 0 0 18px; width: 18px; height: 18px;
  border: 1px solid var(--hx-line);
  background: #fff center / 12px no-repeat;
  transform: none !important;
}
.hx-chip--check input:checked + span::after {
  border-color: var(--hx-gold);
  background-color: var(--hx-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230f1729' stroke-width='1.8'/%3E%3C/svg%3E");
}
.hx-tile__box { position: relative; }
.hx-tile__box::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 18px; height: 18px; border: 1px solid var(--hx-line); background: #fff center / 12px no-repeat;
}
.hx-tile input:checked + .hx-tile__box::after {
  border-color: var(--hx-gold); background-color: var(--hx-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230f1729' stroke-width='1.8'/%3E%3C/svg%3E");
}
.hx-group { margin: 18px 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-gold-text); }
.hx-group:first-child { margin-top: 0; }
.hx-next { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.hx-btn--line { background: #fff; color: var(--hx-ink); border: 1px solid var(--hx-ink); box-shadow: none; }
.hx-btn--line:hover { background: var(--hx-navy); color: #fff; box-shadow: inset 3px 0 0 var(--hx-gold); }
.hx-btn[disabled].hx-btn--line { opacity: .35; cursor: not-allowed; }
.hx-link { font: inherit; font-size: .88rem; background: none; border: 0; padding: 0; cursor: pointer; color: var(--hx-meta); border-bottom: 1px solid var(--hx-gold); }
.hx-link:hover { color: var(--hx-ink); }

/* Vertrauen und Netzwerk/Suche */
.hx-stars { color: var(--hx-gold); letter-spacing: 1px; margin-right: 4px; }
.hx-trust li > span { display: block; }
.hx-plus { font-size: .55em; vertical-align: .55em; margin-left: 2px; color: var(--hx-gold-text); }
.hx-also { grid-column: 1 / -1; margin-top: 6px; padding: 14px 16px; background: #fff; border: 1px solid var(--hx-line); font-size: .9rem; color: var(--hx-text); line-height: 1.5; }
.hx-also strong { color: var(--hx-ink); font-weight: 600; }
.hx-chips--small .hx-chip > span { padding: 8px 12px; font-size: .84rem; }
.hx-assure { margin: 14px 0 0; font-size: .86rem; color: var(--hx-ink); display: flex; gap: 8px; align-items: baseline; }
.hx-assure::before { content: "✓"; color: var(--hx-good); font-weight: 700; }

/* =====================================================================
   KONTRASTFARBE (seit 20.11.2026): Kobaltblau nur für die Knöpfe, die zur
   Anfrage führen. Alles andere bleibt Navy/Gold. Ein Wert, überall gleich.
   ===================================================================== */
/* Eisblau mit Navy-Schrift (seit 20.11.2026, vom Inhaber gewählt: „6a“).
   Beim Überfahren wischt ein weicher Eisblau-Verlauf von links durch. */
:root { --hx-akzent: #cfe0ee; --hx-akzent-text: #0f1729; --hx-akzent-wisch: linear-gradient(90deg, #b7cde1, #e3eef7); }
.hx-btn:not(.hx-btn--line),
.hx-inline a.hx-inline__knopf,
.hx-btn-akzent {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hx-akzent) !important;
  border-color: var(--hx-akzent) !important;
  color: var(--hx-akzent-text) !important;
  box-shadow: none !important;
}
.hx-btn:not(.hx-btn--line)::before,
.hx-inline a.hx-inline__knopf::before,
.hx-btn-akzent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hx-akzent-wisch);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.hx-btn:not(.hx-btn--line):hover::before,
.hx-inline a.hx-inline__knopf:hover::before,
.hx-btn-akzent:hover::before { transform: scaleX(1); }
.hx-btn:not(.hx-btn--line):focus-visible, .hx-btn-akzent:focus-visible { outline: 2px solid var(--hx-akzent-text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hx-btn::before, .hx-inline__knopf::before, .hx-btn-akzent::before { transition: none; }
}

/* Hinweis mitten im Fachbeitrag (vom Worker eingesetzt, nur /insights/) */
.hx-inline {
  margin: 2.5rem 0; padding: 22px 24px;
  background: var(--dark-50, #f8fafc);
  border: 1px solid var(--border, #e1e7ef);
  box-shadow: inset 3px 0 0 var(--gold, #d7b055);
  display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center;
  font-family: var(--font-body, Inter, sans-serif);
}
.hx-inline p { margin: 0 !important; }
.hx-inline__titel { font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-size: 1.35rem !important; line-height: 1.25; color: var(--dark-900, #0f1729); font-weight: 500; }
.hx-inline__text { font-size: .92rem !important; color: var(--dark-600, #48566b); margin-top: 6px !important; }
.hx-inline__wege { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.hx-inline a.hx-inline__knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem;
  text-decoration: none !important; text-transform: uppercase; letter-spacing: .08em;
  font-size: .75rem; font-weight: 500; white-space: nowrap;
}
/* Farbe kommt aus dem Akzent-Block oben (Eisblau, Navy-Schrift). */
.hx-inline a.hx-inline__tel { font-size: .82rem; color: var(--dark-700, #334155) !important; text-align: center; text-decoration: none !important; border-bottom: 0 !important; }
.hx-inline a.hx-inline__tel:hover { color: var(--dark-900, #0f1729) !important; }
@media (max-width: 640px) { .hx-inline { grid-template-columns: 1fr; } }

/* Vertrauenszeile im Seitenkopf (vom Worker eingesetzt) */
.hx-proof { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-family: var(--font-body, Inter, sans-serif); font-size: .82rem; color: var(--meta, #5d6b80); }
.hx-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hx-proof .hx-stars { color: var(--gold, #d7b055); }
.hero .hx-proof { justify-content: center; }

/* ---------- Ergebnis ---------- */
.hx-breakdown { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--hx-line); display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 22px; }
.hx-breakdown li { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--hx-text); }
.hx-breakdown strong { color: var(--hx-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: var(--hx-soft);
  border: 1px solid var(--hx-line);
  box-shadow: inset 3px 0 0 var(--hx-gold);
  margin-bottom: 26px;
}
.hx-count {
  font-family: var(--hx-display);
  font-size: clamp(3.6rem, 7vw, 5rem);
  line-height: .9;
  font-weight: 500;
  color: var(--hx-ink);
  font-variant-numeric: tabular-nums;
  min-width: 1.2ch;
}
.hx-result p { margin: 0; }
.hx-result__main { font-size: 1.02rem; color: var(--hx-ink); font-weight: 500; }
.hx-result__meta { margin-top: 6px !important; font-size: .8rem; color: var(--hx-meta); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hx-live { display: inline-flex; align-items: center; gap: 6px; color: var(--hx-good); font-weight: 500; }
.hx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(29,107,65,.5); animation: hx-pulse 2s infinite; }
@keyframes hx-pulse { 70% { box-shadow: 0 0 0 7px rgba(29,107,65,0); } 100% { box-shadow: 0 0 0 0 rgba(29,107,65,0); } }

/* ---------- Formularfelder (schwebende Beschriftung) ---------- */
.hx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-grid .hx-span { grid-column: 1 / -1; }
.hx-field { position: relative; }
.hx-field input, .hx-field textarea, .hx-field select {
  width: 100%;
  font: inherit; font-size: .97rem; color: var(--hx-ink);
  padding: 22px 14px 8px;
  border: 1px solid var(--hx-line);
  border-radius: 0;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.hx-field textarea { min-height: 104px; resize: vertical; }
.hx-field label {
  position: absolute; left: 15px; top: 16px;
  font-size: .95rem; color: var(--hx-meta);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s var(--hx-ease), color .2s;
}
.hx-field input:focus, .hx-field textarea:focus { border-color: var(--hx-ink); box-shadow: inset 3px 0 0 var(--hx-gold); }
.hx-field input:focus + label, .hx-field input:not(:placeholder-shown) + label,
.hx-field textarea:focus + label, .hx-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.78);
  color: var(--hx-gold-text);
}
.hx-field .hx-opt { font-size: .82em; color: var(--hx-meta); }
.hx-field.is-invalid input, .hx-field.is-invalid textarea { border-color: var(--hx-warn); }
.hx-err { display: block; min-height: 0; font-size: .76rem; color: var(--hx-warn); margin-top: 4px; }

.hx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--hx-meta); line-height: 1.5; cursor: pointer; }
.hx-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--hx-navy); flex: 0 0 16px; }
.hx-consent a { color: var(--hx-ink); }
.hx-consent.is-invalid { color: var(--hx-warn); }
.hx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons (wie .btn--primary der Website) ---------- */
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.hx-btn {
  font-family: var(--hx-body);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 2rem;
  font-size: .8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  border: 0; border-radius: 0;
  background: var(--hx-navy); color: #fff;
  box-shadow: inset 3px 0 0 var(--hx-gold);
  cursor: pointer;
  transition: background-color .3s var(--hx-ease), box-shadow .3s var(--hx-ease);
}
.hx-btn:hover { background: var(--hx-navy-2); box-shadow: inset 6px 0 0 var(--hx-gold); }
.hx-btn:focus-visible { outline: 2px solid var(--hx-gold); outline-offset: 3px; }
.hx-btn[disabled] { opacity: .6; cursor: progress; }
.hx-btn .hx-arrow { transition: transform .3s var(--hx-ease); }
.hx-btn:hover .hx-arrow { transform: translateX(4px); }
.hx-small { font-size: .78rem; color: var(--hx-meta); }
.hx-alt { font-size: .85rem; color: var(--hx-meta); }
.hx-alt a { color: var(--hx-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--hx-gold); }

/* ---------- Erfolg ---------- */
.hx-success { margin: auto 0; text-align: left; animation: hx-in .5s var(--hx-ease); }
.hx-success__mark {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--hx-good-bg); color: var(--hx-good);
  border: 1px solid var(--good-line, #cbe1d3);
  margin-bottom: 20px;
}
.hx-success h3 { margin: 0 0 10px; font-family: var(--hx-display); font-weight: 500; font-size: 2rem; color: var(--hx-ink); line-height: 1.15; }
.hx-success p { margin: 0 0 8px; max-width: 52ch; }
.hx-formerror { margin-top: 14px; padding: 12px 14px; background: var(--warn-bg, #fdf4f2); border: 1px solid var(--warn-line, #e7cec9); color: var(--hx-warn); font-size: .86rem; }

/* ---------- Kontaktformular: direkte Kontaktwege links ---------- */
.hx-direct { display: grid; gap: 10px; }
.hx-direct a {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center;
  padding: 14px 16px;
  border: 1px solid #ffffff24;
  color: #fff; text-decoration: none;
  transition: border-color .25s, background .25s;
}
.hx-direct a:hover { border-color: var(--hx-gold); background: #ffffff08; }
.hx-direct svg { width: 22px; height: 22px; color: var(--hx-gold); justify-self: center; }
.hx-direct strong { display: block; font-size: .92rem; font-weight: 500; }
.hx-direct small { display: block; font-size: .78rem; color: #94a3b8; }
.hx-person { display: flex; gap: 14px; align-items: center; }
.hx-person__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hx-gold); background: var(--hx-navy-2); flex: 0 0 56px; }
.hx-person strong { color: #fff; font-weight: 500; display: block; }
.hx-person small { color: #94a3b8; font-size: .8rem; }

.hx-section-label { margin: 22px 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-meta); }
.hx-section-label:first-child { margin-top: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hx-shell { grid-template-columns: 1fr; }
  .hx-aside { gap: 20px; }
  .hx-steps { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
  .hx-steps li { grid-template-columns: 1fr; gap: 6px; font-size: .74rem; padding: 0; }
  .hx-steps li small { display: none; }
  .hx-trust { display: none; }
  .hx-main { min-height: 0; }
}
@media (max-width: 640px) {
  .hx-tiles { grid-template-columns: 1fr; }
  .hx-tile__box { flex-direction: row; align-items: center; padding: 16px; gap: 14px; }
  .hx-tile__box > div { display: grid; gap: 2px; }
  .hx-chips--list { grid-template-columns: 1fr; }
  .hx-grid { grid-template-columns: 1fr; }
  .hx-result { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .hx-btn { width: 100%; }
  .hx-steps { display: none; }
  /* Weiter-Button bleibt beim Scrollen durch lange Positionslisten sichtbar */
  .hx-next { position: sticky; bottom: 0; z-index: 2; background: #fff; margin: 18px -4px 0; padding: 12px 4px; border-top: 1px solid var(--hx-line); }
}
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
}

.hx-ts { margin-top: 14px; }
.hx-ts:empty { margin: 0; }
