/* ============================================================
   AUS UNSEREM NETZWERK (02.09.2026)

   Aufbau wie eine Anzeige aus den sozialen Netzen — Kevins Vorlage:
   Medium oben, Produktreihe zum Wischen, Fusszeile mit Logo und
   Herkunft, unten ein breiter Knopf.

   Der Kasten ist bewusst DUNKEL, auch in hellen Laeden: er soll sich
   sichtbar vom eigenen Inhalt absetzen. Werbung, die aussieht wie der
   Laden, ist getarnte Werbung — und die ist nicht erlaubt.
   ============================================================ */

.sv-netz {
  /* Die Fusszeile ist ein dreispaltiges Raster — ohne diese Zeile
     wird der Kasten zur ERSTEN SPALTE und ist 240 px breit
     (02.09.2026 gemessen). `1 / -1` heisst: ueber alle Spalten,
     egal wie viele es sind. Ausserhalb eines Rasters tut die
     Eigenschaft nichts, sie stoert also nirgends. */
  grid-column: 1 / -1;
  max-width: 30rem;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto;
  background: #101010;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
}

/* ---- Medium ---- */
.sv-netz__medium {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  text-decoration: none;
}
.sv-netz__bild {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sv-netz__pfeil {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(16,16,16,.82); color: #fff;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sv-netz__pfeil svg { width: 18px; height: 18px; }

/* ---- Produktreihe ----
   Waagerecht zum Wischen. `scroll-snap` laesst sie an der Kachel
   einrasten statt irgendwo stehenzubleiben; die Leiste selbst ist
   ausgeblendet, weil sie auf dunklem Grund nur stoert. */
.sv-netz__reihe {
  display: flex; gap: 10px;
  padding: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.sv-netz__reihe::-webkit-scrollbar { display: none; }
.sv-netz__kachel {
  flex: 0 0 clamp(104px, 30%, 130px);
  scroll-snap-align: start;
  text-decoration: none; color: inherit;
}
.sv-netz__kachel img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  background: #fff; border-radius: 10px; display: block;
}
.sv-netz__kachelname {
  display: block; margin-top: 6px;
  font-size: 0.72rem; line-height: 1.3; color: rgba(255,255,255,.72);
  /* Zwei Zeilen, dann Schluss: ein langer Name darf die Kachel nicht
     hoeher machen als ihre Nachbarn. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Fusszeile ---- */
.sv-netz__fuss {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 4px 16px 14px;
}
.sv-netz__logo {
  flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover; background: #fff;
}
.sv-netz__text { min-width: 0; }
.sv-netz__titel {
  margin: 0; font-size: 1.02rem; line-height: 1.3; font-weight: 600;
  text-wrap: balance;
}
.sv-netz__unter {
  margin: 3px 0 0; font-size: 0.86rem; line-height: 1.45;
  color: rgba(255,255,255,.66);
}
.sv-netz__herkunft {
  margin: 7px 0 0; font-size: 0.82rem; color: rgba(255,255,255,.66);
}
/* "Anzeige" traegt mehr Gewicht als der Rest der Zeile — es ist
   die Pflichtangabe, nicht die Marke daneben. */
.sv-netz__herkunft span { color: #fff; font-weight: 600; }

/* ---- Knopf ---- */
.sv-netz__knopf {
  /* Ohne die Hinweiszeile darunter ist der Knopf das Letzte im
     Kasten und braucht selbst den Abstand nach unten. */
  display: block; margin: 0 12px 14px;
  padding: 14px; border-radius: 999px;
  background: #f2f2f0; color: #101010;
  font-size: 0.95rem; font-weight: 600; text-align: center;
  text-decoration: none;
  transition: background 200ms ease;
}
.sv-netz__knopf:hover { background: #fff; }


/* Wer weniger Bewegung will, bekommt das Standbild. */
@media (prefers-reduced-motion: reduce) {
  .sv-netz__knopf { transition: none; }
}
