/* =====================================================================
   LEGO-Rezension (design: LEGO Rezension.dc.html)
   --w-col article column + sticky marginalia (set image, pips, stats).
   ===================================================================== */

.legoset-col {
  width: var(--w-col);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ---- header ---- */

.legoset-head {
  margin-top: 64px;
}

.legoset-back {
  font-size: 12.5px;
  color: var(--sub);
}

.legoset-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-top: 26px;
}

.legoset-kicker__label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: oklch(0.5 0.13 85);
}

:root[data-theme="dunkel"] .legoset-kicker__label {
  color: oklch(0.74 0.1 85);
}

.legoset-kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.6 0.13 85);
}

.legoset-kicker__date {
  color: var(--faint);
}

.legoset-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 12px 0 0;
  font-weight: 700;
}

/* ---- layout: article + marginalia ---- */

.legoset-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 32px;
}

.legoset-article {
  flex: 1;
  min-width: 0;
}

/* ---- review text ---- */

.legoset-text p {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 18px;
  color: var(--body);
  text-wrap: pretty;
}

.legoset-text p:last-child {
  margin-bottom: 0;
}

/* pull quote */
.legoset-text blockquote {
  margin: 26px 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
}

.legoset-text blockquote p {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  color: inherit;
  margin: 0;
}

/* ---- fazit card ---- */

.legoset-fazit {
  margin-top: 36px;
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(60, 40, 20, .07);
}

.legoset-fazit__head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.legoset-fazit__ring {
  display: block;
  padding: 3px;
  border-radius: 50%;
  background: oklch(0.6 0.13 85);
  flex: none;
}

.legoset-fazit__avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card);
}

.legoset-fazit__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.legoset-fazit__meta {
  font-size: 12px;
  color: var(--faint);
}

.legoset-fazit__text p {
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
  color: var(--body);
  text-wrap: pretty;
}

/* ---- bottom links ---- */

.legoset-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.legoset-share {
  font-size: 12.5px;
}

/* ---- marginalia ---- */

.legoset-side {
  width: 168px;
  flex: none;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 28px;
  align-self: flex-start;
}

.legoset-side__img {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--card);
  display: grid;
  place-items: center;
  font: 10.5px ui-monospace, monospace;
  color: var(--faint);
}

.legoset-side__img--empty {
  background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 8px, var(--bg) 8px, var(--bg) 16px);
}

/* theme-aware set image (white product shot on warm card) */
.legoset-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  mix-blend-mode: multiply;
}

:root[data-theme="dunkel"] .legoset-img {
  mix-blend-mode: normal;
  filter: brightness(.8) saturate(.95);
}

.legoset-stat__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--faint);
}

.legoset-stat__value {
  font-size: 13px;
  margin-top: 3px;
  color: var(--body);
}

.legoset-stat__pips {
  margin-top: 5px;
}

/* brick-shaped pips (page-scoped override of the shared .pips) */
.legoset-pips .pips {
  gap: 2.5px;
}

.legoset-pips .pips__pip {
  width: 15px;
  height: 11.5px;
  border-radius: 0;
  background: var(--sub);
  opacity: .22;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='6' y='1' width='7.5' height='6' rx='1.5'/%3E%3Crect x='18.5' y='1' width='7.5' height='6' rx='1.5'/%3E%3Crect x='1' y='5.5' width='30' height='17.5' rx='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='6' y='1' width='7.5' height='6' rx='1.5'/%3E%3Crect x='18.5' y='1' width='7.5' height='6' rx='1.5'/%3E%3Crect x='1' y='5.5' width='30' height='17.5' rx='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.legoset-pips .pips__pip.is-filled {
  background: var(--sub);
  opacity: 1;
}

/* ---- responsive ---- */

@media (max-width: 600px) {
  .legoset-head {
    margin-top: 44px;
  }
}

@media (max-width: 900px) {
  /* marginalia stacks on top of the article */
  .legoset-layout {
    flex-direction: column-reverse;
    gap: 28px;
  }

  .legoset-side {
    position: static;
    width: 100%;
    border-left: none;
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 28px;
  }

  .legoset-side__img {
    width: 132px;
  }
}


/* kirbytag output ((image:…), (youtube:…)) inside review/legal text — the
   generic figure/consent styling lives in beitrag.css for the blog; these
   scoped equivalents keep embedded media styled on this page's column. */
.legoset-text .figure {
  margin: 26px 0;
}

.legoset-text .figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.legoset-text .figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
}

.legoset-text .video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  background: oklch(0.24 0.01 60);
}

.legoset-text .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.legoset-text .video-container .consent-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.legoset-text .video-container .consent-box p {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.legoset-text .video-container .consent-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
