/* ============================================================
   sora Sammelwelten — Landingpage-Bausteine
   Ergänzt /css/shop.css um die Komponenten, die bisher nur inline
   in der LEGO-Landingpage steckten (Split-Hero, USP-Block, Maß-
   Tabelle, Steps, Material-Kacheln, Kundenfoto-Mosaik, Video,
   Chatbot-CTA) — plus den NEUEN News-Block je Sammelwelt.

   Einbinden IMMER nach shop.css:
     <link rel="stylesheet" href="/css/shop.css?v=…">
     <link rel="stylesheet" href="/css/sammelwelt.css?v=…">

   Klassen, die es in shop.css schon gibt (.hero, .card, .grid, .btn,
   .faq-item, .masse-box, .info-box, .disclaimer, .cta-block), werden
   hier bewusst NICHT überschrieben — Abweichungen laufen über
   Modifier (z. B. .hero--split), damit der Shop unberührt bleibt.
   ============================================================ */

/* ---------- Hero mit Bild (Split-Layout) ---------- */
.hero--split .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero--split .container { grid-template-columns: 1fr; gap: 32px; }
  .hero--split .hero-image { order: -1; }
}
.hero--split h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero--split .lede strong { color: var(--color-text); }
.hero-image .img-slot { aspect-ratio: 4 / 3; }

/* Social Proof direkt unter der H1 */
.hero-trust {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-size: 14px; color: var(--color-muted);
  margin: 0 0 18px;
}
.hero-trust .stars { color: #f59e0b; font-size: 17px; letter-spacing: 2px; line-height: 1; }
.hero-trust strong { color: var(--color-text); }
.hero-trust .dot { opacity: 0.5; }

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.cta-subline { font-size: 13px; color: var(--color-muted); margin: -6px 0 22px; }

/* ---------- USP-Block (dunkel, zweispaltig) ---------- */
.usp {
  background: var(--color-dark); color: #f0f0f0;
  border-radius: var(--radius); padding: 36px 32px;
  margin: 24px 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
}
@media (max-width: 880px) {
  .usp { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
}
.usp h2 { color: #fff; margin-top: 0; }
.usp p { color: #d6d6d6; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.usp-item { border-left: 3px solid var(--color-primary); padding-left: 14px; }
.usp-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.usp-item span { color: #b8bec5; font-size: 13px; }
.usp-image .img-slot { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #3a3a3a 0%, #525252 100%); }
.usp-image .img-slot::after { color: #c0c8b6; opacity: 0.7; }
.usp-hinweis {
  font-size: 14px; color: #c9c9c9;
  border-left: 3px solid var(--color-primary);
  padding: 8px 0 8px 14px; margin-top: 4px;
}
.usp-hinweis a { color: #a5d6a7; }

/* ---------- Maß-Tabelle (typische Sammlerstücke → Haubentyp) ---------- */
.set-table-wrap { overflow-x: auto; margin: 28px 0 12px; }
.set-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.set-table th, .set-table td {
  padding: 11px 14px; text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.set-table thead th { background: var(--color-primary-dark); color: #fff; font-weight: 600; }
.set-table tbody tr:nth-child(even) { background: var(--color-primary-soft); }
.set-table td.mass { white-space: nowrap; font-variant-numeric: tabular-nums; }
.set-table .tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: #fff4e0; color: #8a5a12; border: 1px solid #f0d9b0;
}
.set-table .tag.ok { background: var(--color-primary-soft); color: var(--color-primary-dark); border-color: #cfe3cf; }
.set-table a.tag { text-decoration: none; cursor: pointer; transition: filter .15s, box-shadow .15s, transform .15s; }
.set-table a.tag::after { content: " ↗"; font-weight: 700; }
.set-table a.tag:hover { filter: brightness(0.95); box-shadow: 0 2px 6px rgba(0,0,0,0.14); transform: translateY(-1px); text-decoration: none; }
.set-table-note { font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ---------- „Weitere Lösungen" — Icon-Karten ---------- */
.loesungen-grid {
  /* fest 2 × 2 statt auto-fit: die Sektion hat immer 4 Karten —
     so entsteht nie eine 3+1-Reihe mit Lücke */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; margin-top: 32px;
}
@media (max-width: 720px) {
  .loesungen-grid { grid-template-columns: 1fr; }
}
.loesung-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.loesung-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(67,160,71,0.08); }
.loesung-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--color-primary-soft); color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.loesung-card .icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loesung-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--color-primary-dark); }
.loesung-card p { color: var(--color-muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.loesung-card .btn { align-self: flex-start; }

/* ---------- Konfigurator-Schritte ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 32px 0;
  counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--color-primary); color: #fff;
  border-radius: 50%; font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--color-muted); font-size: 14px; }
.step .hint { display: block; margin-top: 8px; font-size: 12px; color: var(--color-primary-dark); font-weight: 600; }

/* ---------- Material-Kennzahlen ---------- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 24px;
}
.material-item {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
}
.material-item .num { display: block; font-size: 26px; font-weight: 700; color: var(--color-primary-dark); line-height: 1.2; }
.material-item .lbl { display: block; font-size: 13px; color: var(--color-muted); margin-top: 6px; }

/* ---------- Zweispalter Text/Bild (z. B. Schutzfolie) ---------- */
.schutzfolie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 24px; }
@media (max-width: 880px) { .schutzfolie-grid { grid-template-columns: 1fr; } }

/* ---------- Video-Embed (responsive 16:9) ---------- */
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius); overflow: hidden;
  margin: 24px 0;
  background: var(--color-bg-soft);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Chatbot-/Berater-CTA ---------- */
.chatbot-cta {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 32px;
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  box-shadow: 0 4px 16px rgba(67,160,71,0.08);
}
@media (max-width: 720px) {
  .chatbot-cta { grid-template-columns: 1fr; gap: 16px; padding: 24px; text-align: center; }
  .chatbot-cta__buttons { justify-content: center; }
}
.chatbot-cta__avatar {
  width: 100%; aspect-ratio: 1; max-width: 200px; margin: 0 auto;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(67,160,71,0.25);
  position: relative;
}
.chatbot-cta__avatar svg { width: 56%; height: 56%; }
.chatbot-cta__avatar::after {
  content: ""; position: absolute; bottom: 14px; right: 14px;
  width: 18px; height: 18px; background: #4ade80; border: 3px solid #fff; border-radius: 50%;
}
.chatbot-cta h2 { margin-top: 0; }
.chatbot-cta p { color: var(--color-muted); margin-bottom: 20px; }
.chatbot-cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Kundenfoto-Mosaik ---------- */
.kundenfotos-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin: 28px 0 24px;
}
.kundenfotos-grid a {
  flex: 0 1 calc(33.333% - 8px);
  display: block; border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kundenfotos-grid a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); text-decoration: none; }
.kundenfotos-grid .img-slot { aspect-ratio: 4 / 3; border-radius: 0; height: 100%; }
@media (max-width: 720px) {
  .kundenfotos-grid { gap: 8px; }
  .kundenfotos-grid a { flex-basis: calc(50% - 6px); }
}
.kundenfotos-cta { text-align: center; margin-top: 16px; }
.kundenfotos-meta { font-size: 13px; color: var(--color-muted); text-align: center; margin-top: 18px; }

/* ============================================================
   NEWS-BLOCK je Sammelwelt
   Gefüttert aus <ordner>/news.json durch /js/sammelwelt-news.js.
   Idee: Neuerscheinung im Sammelgebiet → recherchierte Maße →
   direkt passende Haube/Standardvitrine vorschlagen.
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 28px;
}
.news-card {
  background: #fff; border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(67,160,71,0.08); }
.news-card__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--color-muted); margin-bottom: 10px;
}
.news-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--color-primary-soft); color: var(--color-primary-dark);
  border: 1px solid #cfe3cf;
}
.news-badge--beispiel { background: #fff4e0; color: #8a5a12; border-color: #f0d9b0; }
.news-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--color-primary-dark); }
.news-card p { color: var(--color-muted); font-size: 14px; margin: 0 0 14px; }
.news-masse {
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--color-bg-soft); border-radius: 4px;
  font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px;
}
.news-masse dt { color: var(--color-muted); }
.news-masse dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.news-card__cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.news-card__cta .btn { font-size: 14px; padding: 10px 16px; }
.news-quelle { font-size: 12px; color: var(--color-muted); margin: 12px 0 0; }
.news-meta { font-size: 13px; color: var(--color-muted); margin-top: 20px; }
