
/* Header-Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

header img {
  height: 50px;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Beispiel für Produktkarten (optional erweitern) */
.produkt {
  border: 1px solid #ddd;
  padding: 1rem;
  margin: 1rem;
  vertical-align: top;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.produkt img {
  max-width: 100%;
  height: auto;
}



/*=== Product Presentation Startseite ===*/
body {
    font-family: sans-serif;
    margin: 2rem;
  }
  .produkt {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  img {
    max-width: 300px;
  }
  button {
    background: #0078D4;
    color: white;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
  }
  .produkt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px; /* z. B. feste Höhe für gleich große Boxen */
    box-sizing: border-box;
  }
  
  .produkt img {
    max-height: 160px;
    object-fit: contain;
  }
  
  .produkt h2, .produkt p {
    margin: 0.5rem 0;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .produkt a {
    margin-top: auto;
    color: #0078D4;
    text-decoration: none;
    font-weight: bold;
  }
    
/*=== Produktdetailseite ===*/

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
  color: #333;
}

#produkt-detail {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#produkt-detail h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

#produkt-detail img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

#produkt-detail p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

#produkt-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

#produkt-detail li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

#produkt-detail strong {
  font-size: 1.4rem;
  color: #27ae60;
}

#produkt-detail a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #2980b9;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

#produkt-detail a:hover {
  background-color: #1c5980;
}

/*=== Angebot anfragen ====*/

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f4f8;
  margin: 0;
  padding: 0;
}

.angebot-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.angebot-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  width: 100%;
}

.angebot-box h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #222;
}

.info-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.produkt-box {
  background: #eef2ff;
  padding: 0.75rem 1rem;
  border-left: 4px solid #4f46e5;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.produkt-label {
  font-weight: bold;
  margin-right: 0.5rem;
}

.produkt-name {
  color: #333;
}

.anfrage-form {
  display: flex;
  flex-direction: column;
}

.anfrage-form label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #333;
}

.anfrage-form input,
.anfrage-form textarea {
  margin-bottom: 1.2rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.anfrage-form input:focus,
.anfrage-form textarea:focus {
  border-color: #4f46e5;
  outline: none;
}

.anfrage-form button {
  background: #4f46e5;
  color: white;
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.anfrage-form button:hover {
  background: #3730a3;
}
/* === Produktliste als Grid === */
#produktliste{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;           /* Abstand zwischen Karten */
  align-items: stretch;
}

/* Karte: nur Innenlayout, keine feste Breite mehr */
.produkt{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  height: 420px;       /* optional, für gleich hohe Karten */
}

.produkt img{
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.produkt h2, .produkt p{
  margin: .5rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.produkt a{
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  color: #0078D4;
}





