/* ==============================
   STYLE: Startseite / index.php
   ============================== */
  body {
    margin: 0;
  }

  .home-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    font-family: 'Bebas Neue', sans-serif;
    min-height: 24%;
  }
  
  /* ==============================
     Filterbereich oben
     ============================== */
  .home-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  /* Dropdown-Styling modern & rund */
  #sort-select {
    padding: 10px 14px;
    font-size: 1rem;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    appearance: none;
    min-width: 200px;
  }
  
  /* Suchfeld */
  .search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .search-bar input {
    padding: 10px 14px;
    font-size: 1rem;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 220px;
  }
  
  .search-bar button {
    padding: 10px 14px;
    background-color: #1e2a38;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-bar button:hover {
    background-color: #2e3e50;
  }
  
  /* ==============================
     Modul-Karten-Grid
     ============================== */
  .modul-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .modul-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .modul-card:hover {
    transform: translateY(-4px);
  }
  
  /* Bildbereich */
  .image-placeholder img {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  
  /* Modulinfos */
  .modul-info {
    text-align: center;
  }
  
  .modul-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .modul-info p {
    font-size: 1rem;
    margin: 5px 0;
  }
  
  /* ==============================
     Responsive Anpassung
     ============================== */
  @media (max-width: 1024px) {
    .modul-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .modul-grid {
      grid-template-columns: 1fr;
    }
  
    .home-filter-bar {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-bar,
    .filter-group {
      width: 100%;
    }
  
    .search-bar input,
    .search-bar button,
    #sort-select {
      width: 100%;
    }
  }  

  /* Plus‑card erbt alle Dimensionen von .modul-card  */
.modul-card--add {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;          /* Größe des Pluszeichens */
  font-weight: 700;
  color: var(--primary, #555);
  border: 2px dashed #ccc;  /* macht sie visuell unterscheidbar */
  text-decoration: none;
  transition: background 0.15s ease-in-out;
}
.modul-card--add:hover {
  background: #f5f5f5;
}
.plus-icon {
  line-height: 1;
  pointer-events: none;     /* ganzer Kasten ist klickbar */
}