body {
    margin: 0;
    background: #08080c;
    font-family: system-ui, -apple-system, sans-serif;
    color: #f5f5f5;
  }
  
  .hero {
    position: relative;
    margin-bottom: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-picture,
  .hero-image {
    display: block;
    width: 100%;
  }
  
  .hero video {
    width: 100%;
    display: block;
  }
  
  .hero-text {
    position: absolute;
    bottom: 20px;
    color: black;
    background: rgba(255, 255, 255, 0.75);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  
  .grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    max-width: 1200px;
    padding: 10px;
    margin: auto;
  }
  
  .grid-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
  }
  
  .grid-item img,
  .grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease, opacity .3s ease;
    loading: lazy;
  }
  
  .grid-item:hover img,
  .grid-item:hover video {
    transform: scale(1.04);
    opacity: .95;
  }
  
  .featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
 

  .masonry {
    column-count: 3;        /* Anzahl Spalten (Desktop) */
    column-gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
  }
  
  .masonry-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    display: inline-block;
    width: 100%;
  }
  
  .masonry-item img,
  .masonry-item video {
    width: 100%;
    height: auto;           /* WICHTIG: natürliche Höhe */
    display: block;
  }

  .video-clickload {
    position: relative;
    cursor: pointer;
  }
  
  .video-thumb {
    width: 100%;
    display: block;
    border-radius: 12px;
  }
  
  .video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
  }
  
  .video-play-button {
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 28px;
    cursor: pointer;
  }
  
  .video-size {
    color: white;
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.9;
  }
  
    
  @media (max-width: 900px) {
    .masonry {
      column-count: 2;
      max-width: 800px;
    }
  }
  
  @media (max-width: 600px) {
    .masonry {
      column-count: 1;
      max-width: 400px;
    }
  }
  
  @media (max-width: 700px) {
    .featured {
      grid-column: span 1;
      grid-row: span 1;
    }
  }
  