/* === 🏨 Betriebe Grid Layout === */

.betriebe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;

  }
  
  .betrieb-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
  }
  
  .betrieb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  }
  
  /* --- Image --- */
  .betrieb-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
  }
  
  /* --- Multiple badges --- */
  .betrieb-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
  }
  
  .betrieb-badge {
    background: rgba(25, 149, 173, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s ease;
  }
  
  .betrieb-badge:hover {
    background: rgba(25, 149, 173, 1);
  }
  
  /* --- Title overlay --- */
  .betrieb-card h5 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    z-index: 1;
    transition: background 0.3s ease;
  }
  
  .betrieb-card:hover h5 {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
  }
  
  /* --- Section heading --- */
  .region-betriebe-heading {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: left;
    color: #192a3d;
  }
  
  /* === 📱 Responsive Styles === */
  @media (max-width: 1024px) {
    .betriebe-grid {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 700px) {
    .betriebe-grid {
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
  
    .betrieb-card img {
      height: 180px;
    }
  
    .betrieb-card h5 {
      font-size: 1rem;
      padding: 10px 8px;
    }
  
    .betrieb-badge {
      font-size: 0.65rem;
      padding: 3px 8px;
    }
  }
  
  @media (max-width: 480px) {
    .betriebe-grid {
      grid-template-columns: 1fr;
    }
  
    .betrieb-card img {
      height: 200px;
    }
  
    .region-betriebe-heading {
      text-align: center;
    }
  }
  

