/* One portrait video entry in the existing SCHELL service-page layout. */
.service-detail--mauerbau .masonry-video-hero {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 18px 16px 4px;
}
.masonry-video-card {
  position: relative;
  display: block;
  width: min(100%, 310px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 5px solid #fdfdf9;
  border-radius: 12px;
  background: #253a2d;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(20,48,32,.18);
  transform: rotate(4deg);
  transition: transform .3s var(--ease), box-shadow .3s ease;
  isolation: isolate;
}
.masonry-video-card > img { display:block; width:100%; height:100%; object-fit:cover; }
.masonry-video-card-shade {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(3,21,12,.55),transparent 28%,transparent 48%,rgba(3,21,12,.86));
}
.masonry-video-card-top {
  position:absolute; top:18px; left:18px; right:18px;
  display:flex; align-items:center; gap:8px;
  font-size:10px; font-weight:800; letter-spacing:.13em;
}
.masonry-video-card-top svg { width:20px; height:20px; flex:none; }
.masonry-video-play {
  position:absolute; left:50%; top:47%; transform:translate(-50%,-50%);
  display:grid; place-items:center; width:76px; height:76px; border-radius:50%;
  background:#d4f29d; color:#123c28; box-shadow:0 7px 23px rgba(23,52,31,.22);
  transition:transform .3s var(--ease), background .3s ease;
}
.masonry-video-play svg { width:27px; height:27px; margin-left:3px; }
.masonry-video-card-caption {
  position:absolute; left:22px; right:18px; bottom:23px;
  display:flex; flex-direction:column; gap:10px;
}
.masonry-video-card-caption > span:first-child {
  font-size:9px; font-weight:800; letter-spacing:.1em; line-height:1.5;
}
.masonry-video-card-caption strong {
  font-family:var(--serif); font-size:38px; font-weight:600; line-height:1;
}
.masonry-video-card-cta { display:flex; align-items:center; justify-content:space-between; font-size:12px; font-weight:700; }
.masonry-video-credit { max-width:360px; margin:0; color:var(--muted); text-align:center; font-size:11px; line-height:1.6; }
.masonry-video-link {
  display:inline-flex; align-items:center; gap:11px; max-width:100%;
  margin-top:24px; padding:10px 0 12px; border-bottom:1px solid #9dbb8f;
  color:var(--forest); text-decoration:none; font-size:12px; font-weight:750; line-height:1.55;
}
.masonry-video-link-icon {
  flex:none; display:grid; place-items:center; width:34px; height:34px; border-radius:50%;
  background:#dcecc9; color:#376644;
}
.masonry-video-link-icon svg { width:16px; height:16px; margin-left:2px; }
.masonry-video-link > span:last-child { margin-left:5px; }
.masonry-video-card:focus-visible, .masonry-video-link:focus-visible { outline:3px solid #668f4f; outline-offset:6px; }
@media (hover:hover) {
  .masonry-video-card:hover { transform:rotate(2deg) translateY(-4px); box-shadow:0 20px 44px rgba(20,48,32,.2); }
  .masonry-video-card:hover .masonry-video-play { transform:translate(-50%,-50%) scale(1.06); background:#def6b0; }
}
@media (max-width:800px) {
  .service-detail--mauerbau .masonry-video-hero { padding-top:8px; gap:24px; }
  .masonry-video-card { width:min(100%,295px); }
}
@media (max-width:400px) {
  .masonry-video-card { width:min(100%,255px); border-width:4px; }
  .masonry-video-card-caption { left:17px; right:17px; bottom:20px; }
  .masonry-video-card-caption strong { font-size:34px; }
  .masonry-video-link { font-size:11px; gap:9px; }
  .masonry-video-play { width:66px; height:66px; }
}
@media (prefers-reduced-motion:reduce) {
  .masonry-video-card, .masonry-video-play { transition:none; }
  .masonry-video-card:hover { transform:rotate(4deg); }
  .masonry-video-card:hover .masonry-video-play { transform:translate(-50%,-50%); }
}
