/* --- Global --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding-top: 90px;
  padding-left: 2%;
  padding-right: 2%;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #f5f5f5;
  transition: background-color 0.3s, color 0.3s;
}

/* --- Fonts --- */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(90deg, #3a9ecb, #2e86b2);
  color: #fff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(6px);
}

.title {
  font-size: 1.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.1);
  transition: 0.3s;
}

.shop-link:hover {
  background-color: rgba(255,255,255,0.2);
  text-decoration: none;
}

/* --- Allgemeine Section Styles --- */
section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* --- Text + Bild --- */
.text-bild-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.textbereich {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 600px;
}

.bildbereich {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 500px;
}

.bildbereich img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bildbereich img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* --- Video + Text --- */
.video-text-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.video-bereich {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 500px;
}

.video-bereich video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s;
}

.video-bereich video:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.videotext-bereich {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 600px;
}

/* --- Produkt Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.product-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.product-card p {
  margin: 5px 0;
  font-size: 1rem;
  color: #444;
}

.product-card .price {
  font-weight: 700;
  color: #007bff;
  font-size: 1.1rem;
}

/* --- Weitere Links --- */
.links-abschnitt {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.spezial-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #007bff;
  transition: 0.3s, color 0.3s, background-color 0.3s;
}

.spezial-link:hover {
  background-color: #007bff;
  color: #fff;
}

/* --- Kommentarbereich --- */
#kommentare {
  max-width: 1000px;
  margin: 60px auto;
  padding: 25px;
  background-color: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  body {
    padding-left: 5px;
    padding-right: 5px;
  }

  .textbereich, .bildbereich,
  .video-bereich, .videotext-bereich {
    max-width: 100%;
  }

  .text-bild-container, .video-text-container {
    gap: 15px;
  }

  .product-grid {
    gap: 15px;
  }

  .links-abschnitt {
    flex-direction: column;
    gap: 15px;
  }
}

@media (min-width: 1200px) {
  .bildbereich {
    max-width: 35%;
  }

  .textbereich {
    max-width: 60%;
  }
}
