/* Produktseite spezifisches CSS */

body {
    background-color: #333333;
    color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  main {
    padding: 40px 20px;
  }
  
  .produktkategorie-intro {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .produktkategorie-intro h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
  }
  
  .produktkategorie-intro p {
    font-size: 1.1em;
    color: #aaa;
  }
  
  .produkt-item {
    margin-bottom: 50px;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
  }
  
  .produkt-teil {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .produkt-bilder {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 900px;
  }
  
  .produkt-bilder img {
    width: 100%;
    height: auto; /* behält das Seitenverhältnis */
    max-height: 80vh; /* verhindert, dass es zu groß wird auf großen Bildschirmen */
    object-fit: contain; /* zeigt das ganze Bild ohne Verzerrung */
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #333;
  }
  
  
  .produkt-bilder img:hover {
    transform: scale(1.05);
  }
  
  .produkt-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .produkt-text h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #f9f9f9;
  }
  
  .produkt-text p {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  
  .downloads a {
    display: inline-block;
    color: #aaa;
    text-decoration: none;
    margin-right: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
  }
  
  .downloads a:hover {
    color: #fff;
    font-weight: bold;
    border-bottom: 1px solid #fff;
  }
  
  /* Modal für vergrößerte Bilder */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
  }
  
  @media (max-width: 768px) {
    .produkt-teil {
      flex-direction: column;
      align-items: center;
    }
  
    .produkt-bilder,
    .produkt-text {
      width: 100%;
      max-width: none;
    }
  
    .produkt-text {
      align-items: center;
      text-align: center;
    }
  
    .downloads a {
      display: block;
      margin: 5px 0;
    }
  }
  