.carousel-inner img {
  object-fit: cover;
  height: 100px;
}
.card img {
  object-fit: cover;
}
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 5px;
  border: none; 
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.card-title {
  transition: color 0.3s;
}
.card:hover .card-title {
  color: #fd0d0d;
}
.nav-link {
  padding: 8px;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 5px;
}
.nav-link:hover {
  color: #000000 !important;
  background-color: #fd0d0d;
  border-radius: 5px;
}
.canvas-container {
  text-align: center;
  padding: 50px;
}
.canvas {
  border: 1px solid #000;
  background-color: #f0f0f0;
}

.message-container {
  text-align: center;
  padding: 50px 0;
}
.message-container h2 {
  font-size: 2rem;
  color: #fd0d0d;
}
.message-container p {
  font-size: 1.2rem;
  color: #333;
}
.contact-btn {
  margin-top: 20px;
}
.contact-card{
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 20px;
}
/* Styling für den Zeitstrahl */
.timeline {
  position: relative;
  padding: 40px 0;
  list-style-type: none;
  margin: 0;
}
.timeline li {
  position: relative;
  margin-bottom: 50px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background-color: #fd0d0d;
  transform: translateX(-50%);
}
.timeline .timeline-content {
  position: relative;
  width: 45%;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.timeline .timeline-content h4 {
  margin-top: 0;
  color: #fd0d0d;
}
.timeline .timeline-content p {
  font-size: 1.1rem;
  color: #333;
}
.timeline .timeline-content.left {
  left: 0%;
}
.timeline .timeline-content.right {
  left: 55%;
}
.timeline .timeline-content.right::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -15px;
  border: 15px solid transparent;
  border-left-color: #f8f9fa;
}
.timeline .timeline-content.left::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -15px;
  border: 15px solid transparent;
  border-right-color: #f8f9fa;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #fd0d0d;
}
.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: black 1px solid;
  border-radius: 5px;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.product-card .product-title {
  transition: color 0.3s;
}
.product-card:hover .product-title {
  color: #fd0d0d;
}
.product-image {
  height: 250px;
  object-fit: cover;
}
.contact-section {
  margin-top: 50px;
}
.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.product-card img {
  object-fit: cover;
  height: 250px;
}
.product-description {
  max-height: 100px;
  overflow: hidden;
}
.contact-btn {
  display: block;
  text-align: center;
  margin-top: 20px;
}
.faq-section,
.contact-form {
  margin-top: 50px;
}
.faq-section h3,
.contact-form h3 {
  text-align: center;
}
.form-group {
  margin-bottom: 20px;
}
.contact-form .form-control {
  border-radius: 5px;
}
.canvas-container {
  text-align: center;
  padding: 50px;
}
canvas {
  border: 1px solid #000;
  background-color: #f0f0f0;
}

/* Responsive CSS */
@media (max-width: 768px) {
  .timeline li::before {
    left: 20px;
  }
  .timeline .timeline-content {
    width: calc(100% - 40px);
    margin-left: 40px;
  }
  .timeline .timeline-content.left,
  .timeline .timeline-content.right {
    left: 0;
  }
  .timeline .timeline-content.right::before,
  .timeline .timeline-content.left::before {
    left: -15px;
    right: auto;
    border: 15px solid transparent;
    border-right-color: #f8f9fa;
  }
}
