/* SIMMELADEN Entwurf 4 – ausschließlich Abschnitt Glasperlenstrahlen.
   Die vorhandene assets/style.css und übrige Seitengestaltung bleiben unberührt. */
.beadblast-section .beadblast-intro {
  max-width: 930px;
  margin: -5px 0 25px;
  line-height: 1.7;
  color: #355164;
}
.beadblast-section .beadblast-machine {
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #d5e5e9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 19px rgba(0,40,65,.06);
}
.beadblast-section .beadblast-machine img {
  display: block;
  width: 100%;
  height: auto;
}
.beadblast-section .beadblast-machine figcaption,
.beadblast-section .beadblast-compare figcaption {
  padding: 12px 14px;
  font-size: .84rem;
  color: #355164;
}
.beadblast-section .beadblast-subheading {
  margin: 33px 0 16px;
  color: var(--blue-deep);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.3;
}
.beadblast-section .beadblast-gallery { margin-top: 0; }
.beadblast-section .beadblast-subheading--examples { margin-top: 44px; }
.beadblast-section .beadblast-examples { display: grid; gap: 30px; }
.beadblast-section .beadblast-example h4 {
  margin: 0 0 15px;
  font-size: 1.04rem;
  color: var(--blue-deep);
}
.beadblast-section .beadblast-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.beadblast-section .beadblast-compare figure {
  position: relative;
  margin: 0;
  min-width: 0;
  border: 1px solid #d5e5e9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 19px rgba(0,40,65,.06);
}
.beadblast-section .beadblast-compare img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef3f4;
}
.beadblast-section .beadblast-example--sr2 .beadblast-compare img {
  aspect-ratio: 16 / 9;
}
.beadblast-section .beadblast-image-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 12px;
  color: white;
  background: rgba(25, 52, 65, .92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 5px;
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.beadblast-section .beadblast-image-label--after {
  background: rgba(24, 91, 72, .93);
}
.beadblast-section .beadblast-note { margin-top: 34px; }
/* Anlage links, rechts zwei größere Detailfotos. Oben und unten gemeinsame Flucht. */
.beadblast-section .beadblast-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.05fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}
/* Die natürliche Bildhöhe der Anlage definiert die Blockhöhe. Die zwei
   Detailbilder teilen sich rechts genau den Platz bis zur Unterkante. */
.beadblast-section .beadblast-overview .beadblast-machine {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.beadblast-section .beadblast-overview .beadblast-machine img {
  width: 100%;
  height: auto;
}
.beadblast-section .beadblast-overview-gallery {
  min-width: 0;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Die Überschrift steht in ihrer eigenen Zeile, bündig mit der Oberkante
   der linken Anlagenkarte. Die restliche Höhe wird für die beiden rechten
   Bilder reserviert, sodass die Spalten auch UNTEN bündig abschließen. */
.beadblast-section .beadblast-overview-gallery .beadblast-subheading {
  position: static;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  font-size: clamp(1.02rem, 1.65vw, 1.27rem);
  line-height: 1.3;
}
.beadblast-section .beadblast-overview-gallery .beadblast-gallery {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.beadblast-section .beadblast-overview-gallery .beadblast-gallery figure {
  display: block;
  position: relative;
  min-height: 0;
  min-width: 0;
  margin: 0;
}
.beadblast-section .beadblast-overview-gallery .beadblast-gallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
html.advent-active .beadblast-section .beadblast-machine,
html.advent-active .beadblast-section .beadblast-compare figure {
  background: #fffbf4;
  border-color: #dfceb1;
}
@media (max-width: 780px) {
  .beadblast-section .beadblast-overview { grid-template-columns: minmax(0,1fr); }
  .beadblast-section .beadblast-machine { width: 100%; max-width: 940px; margin-inline: auto; }
  .beadblast-section .beadblast-overview-gallery .beadblast-subheading {
    margin: 6px 0 14px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
  }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery {
    flex: none;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto;
    gap: 14px;
  }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery figure {
    aspect-ratio: 4 / 3;
  }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery img {
    height: 100%;
  }
}
@media (max-width: 600px) {
  .beadblast-section .beadblast-intro { margin-top: 0; }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
  }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery figure {
    aspect-ratio: 16 / 10;
  }
  .beadblast-section .beadblast-overview-gallery .beadblast-gallery img {
    height: 100%;
  }
  .beadblast-section .beadblast-compare { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .beadblast-section .beadblast-subheading--examples { margin-top: 36px; }
  .beadblast-section .beadblast-examples { gap: 28px; }
}
