/* ════════════════════════════════════════════════════════
   SANDIIX – Händlerbereich (haendlerbereich.html)
   Nur seitenspezifische Layout-Bausteine – Basis bleibt style.css
   ════════════════════════════════════════════════════════ */

/* ── Kopfbereich ─────────────────────────────────────────── */

.hb-hero { padding: calc(var(--nav-h) + clamp(52px, 8vw, 104px)) 0 clamp(44px, 6vw, 80px); position: relative; }
.hb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hb-hero__title {
  font-size: clamp(1.95rem, 4.5vw, 3.7rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hb-hero__intro {
  color: rgba(245, 245, 246, 0.9);
  max-width: 560px;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  margin-bottom: 18px;
}
.hb-hero__intro strong { color: #fff; }
.hb-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  color: var(--mut); font-size: 0.9rem;
  margin-bottom: 22px;
}
.hb-hero__meta .tag { flex: none; }

.hb-note {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(var(--red-rgb), 0.4);
  background: rgba(var(--red-rgb), 0.08);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem; font-weight: 700; color: var(--txt);
  margin-bottom: 26px;
}
.hb-note svg { flex: none; color: var(--red); }

.hb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--txt); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.hb-chips a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hb-chips a:hover { border-color: var(--red); background: rgba(var(--red-rgb), 0.1); transform: translateY(-2px); }

.hb-hero__media { position: relative; }
.hb-hero__media img {
  width: 100%; height: auto; display: block;
  border-radius: calc(var(--radius) * 1.2);
  border: 1px solid var(--line);
}
.hb-hero__media figcaption {
  margin-top: 10px;
  font-size: 0.8rem; color: var(--mut); text-align: center;
}

/* ── Sektionen etwas kompakter als die Story-Sektionen ───── */

.hb-section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.hb-section + .hb-section { border-top: 1px solid var(--line); }
.hb-sub { margin-top: 14px; color: var(--mut); max-width: 640px; }

/* ── Kennzahlen-Karten ───────────────────────────────────── */

.hb-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hb-stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(20px, 2.6vw, 30px) clamp(18px, 2.4vw, 28px);
  position: relative; overflow: hidden;
}
.hb-stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red);
}
.hb-stat b {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hb-stat span { font-size: 0.88rem; color: var(--mut); line-height: 1.5; display: block; }

/* ── Varianten-Karten ────────────────────────────────────── */

.hb-vcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hb-vcard {
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.hb-vcard:hover { border-color: rgba(var(--red-rgb), 0.55); transform: translateY(-4px); }
.hb-vcard__media {
  background: radial-gradient(120% 90% at 50% 30%, rgba(var(--red-rgb), 0.14), rgba(9, 9, 9, 0) 70%);
  padding: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}
.hb-vcard__media img { width: 100%; height: auto; max-height: 300px; object-fit: contain; display: block; }
.hb-vcard__body { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.hb-vcard__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.hb-vcard__head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.hb-vcard__range { font-size: 0.9rem; font-weight: 800; color: var(--red); letter-spacing: 0.06em; }
.hb-vcard__use { font-size: 0.88rem; color: var(--mut); margin-bottom: 16px; }
.hb-specs { margin-top: auto; }
.hb-specs div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 0; border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.hb-specs dt { color: var(--mut); flex: none; }
.hb-specs dd { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.hb-specs .hb-specs__price dd { color: var(--red); font-weight: 900; }
.hb-vcards__meta { margin-top: 18px; font-size: 0.88rem; color: var(--mut); max-width: 760px; }
.hb-vcards__meta strong { color: var(--txt); }

/* ── Vorteils-Spalten ────────────────────────────────────── */

.hb-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hb-col {
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(22px, 3vw, 34px);
}
.hb-col h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.hb-col .feature__list { max-width: none; }

/* ── Datenblatt-Tabelle ──────────────────────────────────── */

.hb-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  -webkit-overflow-scrolling: touch;
}
.hb-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.hb-table th, .hb-table td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.hb-table thead th {
  border-top: 0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
}
.hb-table thead th:not(:first-child) { color: var(--txt); }
.hb-table tbody th { font-weight: 600; color: var(--mut); white-space: nowrap; }
.hb-table tbody td { font-weight: 700; }
.hb-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.hb-table__both { font-weight: 500; font-size: 0.85em; color: var(--mut); white-space: nowrap; }

/* Scroll-Schatten: mobil ist die XL-Spalte nur per Wischen erreichbar –
   ohne Affordance wirkt die Tabelle abgeschnitten. */
.hb-tablewrap {
  background:
    linear-gradient(90deg, #101214 30%, rgba(16, 18, 20, 0)) left / 48px 100% no-repeat,
    linear-gradient(270deg, #101214 30%, rgba(16, 18, 20, 0)) right / 48px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.6), transparent) left / 16px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.6), transparent) right / 16px 100% no-repeat,
    rgba(255, 255, 255, 0.02);
  background-attachment: local, local, scroll, scroll;
}
.hb-table-hint { display: none; margin-top: 10px; font-size: 12.5px; color: rgba(245, 245, 246, 0.55); }
@media (max-width: 640px) {
  .hb-table-hint { display: block; }
}

.hb-boxes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin-top: 18px;
}
.hb-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(20px, 2.6vw, 28px);
  position: relative; overflow: hidden;
}
.hb-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.hb-box h3 {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.hb-box p, .hb-box address { font-style: normal; font-size: 0.92rem; color: rgba(245, 245, 246, 0.88); line-height: 1.75; }
.hb-box strong { color: #fff; }
.hb-box .hb-box__big { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 900; color: #fff; letter-spacing: 0.02em; display: block; margin-bottom: 6px; }
.hb-box a { color: var(--txt); font-weight: 700; }
.hb-box a:hover { color: var(--red); }

/* ── Logistik & Verpackung ───────────────────────────────── */

/* Kunden-Feedback 24.09.: Logistik-Grafik (breite Datenblatt-Karten) statt Foto –
   Karten oben in einer Reihe, Grafik in voller Breite darunter */
.hb-logi { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); }
.hb-logi__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hb-logi__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(18px, 2.4vw, 26px);
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start;
  flex: 1;
}
.hb-logi__icon {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(var(--red-rgb), 0.45);
  background: rgba(var(--red-rgb), 0.1);
  display: grid; place-items: center;
  color: var(--red);
}
.hb-logi__card h3 { font-size: 1.02rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.hb-logi__card p { font-size: 0.9rem; color: var(--mut); line-height: 1.6; }
.hb-logi__card p strong { color: var(--txt); }
.hb-logi__media { margin: 0; }
.hb-logi__mediagrid {
  display: grid; grid-template-columns: 414fr 424fr 429fr;
  gap: clamp(10px, 1.4vw, 16px); align-items: start;
}
.hb-logi__mediagrid img {
  display: block; width: 100%; height: auto;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12);
}
.hb-logi__media figcaption {
  margin-top: 12px;
  font-size: 0.8rem; color: rgba(245, 245, 246, 0.6);
}
@media (max-width: 700px) {
  .hb-logi__mediagrid { grid-template-columns: minmax(0, 1fr); }
}

/* ── Bestellung & Konditionen ────────────────────────────── */

.hb-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.hb-price__label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red);
}
.hb-price__value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; line-height: 1; }
.hb-price__note { font-size: 0.9rem; color: var(--mut); }
.hb-price__foot { font-size: 0.82rem; color: var(--mut); max-width: 640px; margin-bottom: clamp(26px, 4vw, 40px); }

.hb-order { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(26px, 4vw, 40px); }
.hb-order__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(20px, 2.6vw, 28px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  color: var(--txt);
  transition: border-color 0.35s, transform 0.35s var(--ease-out), background 0.35s;
}
.hb-order__card:hover { border-color: rgba(var(--red-rgb), 0.55); background: rgba(var(--red-rgb), 0.05); transform: translateY(-3px); }
.hb-order__icon {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(var(--red-rgb), 0.45);
  background: rgba(var(--red-rgb), 0.1);
  display: grid; place-items: center; color: var(--red);
}
.hb-order__card h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut); }
.hb-order__card b { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 900; overflow-wrap: anywhere; }
.hb-order__card span { font-size: 0.86rem; color: var(--mut); line-height: 1.55; }

/* ── Händler-werden-Formular (inline) ────────────────────── */

.hb-form {
  border: 1px solid rgba(var(--red-rgb), 0.4);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--anthracite);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  padding: clamp(24px, 4vw, 40px);
  max-width: 640px;
}
.hb-form__text { color: var(--mut); margin-bottom: 22px; }
.hb-form form { display: flex; flex-direction: column; gap: 14px; }
.hb-form label {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mut);
  display: flex; flex-direction: column; gap: 6px;
}
.hb-form input {
  font: inherit; font-weight: 600;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s;
}
.hb-form input:focus { border-color: var(--red); }
.hb-form form .btn { margin-top: 6px; align-self: flex-start; }
.hb-form__hint { font-size: 0.78rem; color: var(--mut); }
.hb-form__ok {
  color: var(--txt); font-weight: 700;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(var(--red-rgb), 0.4);
}
.hb-form__ok span { display: block; margin-top: 6px; font-weight: 400; color: var(--mut); }
.hb-form__alt { margin-top: 18px; font-size: 0.88rem; color: var(--mut); }
.hb-form__alt a { color: var(--txt); font-weight: 700; }
.hb-form__alt a:hover { color: var(--red); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 980px) {
  .hb-hero__grid { grid-template-columns: 1fr; }
  .hb-hero__media { max-width: 520px; }
  .hb-logi__cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .hb-vcards { grid-template-columns: 1fr; }
  .hb-cols { grid-template-columns: 1fr; }
  .hb-boxes { grid-template-columns: 1fr; }
  .hb-order { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hb-stats { grid-template-columns: 1fr; }
  .hb-stat b { font-size: 1.35rem; }
  .hb-note { border-radius: var(--radius); padding: 12px 16px; }
  .hb-form form .btn { align-self: stretch; }
}

/* ── Original-Dokumente (PDF-Abbilder) ── */
.hb-doc { margin-top: clamp(34px, 5vw, 56px); }
.hb-doc__head { max-width: 62ch; margin-bottom: clamp(18px, 2.6vw, 26px); }
.hb-doc__head h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 900; margin-bottom: 8px; }
.hb-doc__head p { color: rgba(245, 245, 246, 0.68); font-size: 0.98rem; line-height: 1.6; }
.hb-doc__page {
  display: block;
  max-width: 860px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px -38px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.hb-doc__page:hover { transform: translateY(-4px); border-color: rgba(var(--red-rgb), 0.55); }
.hb-doc__page img { display: block; width: 100%; height: auto; }
.hb-doc__pages {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1100px;
}
.hb-doc__pages .hb-doc__page { max-width: none; }
.hb-doc__hint { margin-top: 14px; font-size: 12.5px; color: rgba(245, 245, 246, 0.55); }
.hb-doc__actions {
  margin-top: 16px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hb-doc__actions .btn { display: inline-flex; align-items: center; gap: 9px; }
.hb-doc__actions .hb-doc__hint { margin-top: 0; }
@media (max-width: 760px) {
  .hb-doc__pages { grid-template-columns: minmax(0, 1fr); }
}
