@font-face {
  font-family: "Vend Sans";
  src: url("/Website.Tars/img/Fonts/VendSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vend Sans";
  src: url("/Website.Tars/img/Fonts/VendSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vend Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #333333;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00B7D6;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-title {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  color: #ffffff;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #00B7D6;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #009bb8;
}

/* Sections */
section {
  padding: 80px 0;
  scroll-margin-top: 100px;
}

#imprint {
  margin-top: 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #00B7D6;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature-item {
  flex-basis: calc(33.333% - 30px);
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s;
}

.feature-item-distributor {
  /* flex-basis: calc(33.333% - 30px); */
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-img {
  height: 200px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.feature-img-tsm {
  height: 200px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.feature-img-tsm img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
  transition: transform 0.3s;
}

.feature-item:hover .feature-img img {
  transform: scale(1.1);
}

.feature-content {
  padding: 20px;
}

.feature-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
}

.feature-content p {
  color: #666666;
}

/* Alternating Sections */
.alternate-section {
  display: flex;
  align-items: center;
}

.alternate-image {
  flex: 1;
  padding: 20px;
}

.alternate-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alternate-content {
  flex: 1;
  padding: 20px;
}

.alternate-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  position: relative;
}

.alternate-content h2::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: #00B7D6;
  bottom: -10px;
  left: 0;
}

.alternate-content p {
  margin-bottom: 20px;
  color: #666666;
}

.imprint-content {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.imprint-block {
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.imprint-block h3 {
  margin-bottom: 16px;
}

/* Footer */
footer {
  background-color: #333333;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-item {
  flex-basis: calc(33.333% - 30px);
  margin-bottom: 30px;
}

.footer-item h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
}

.footer-item h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #00B7D6;
  bottom: -8px;
  left: 0;
}

.footer-item p,
.footer-item a {
  color: #cccccc;
  margin-bottom: 10px;
  display: block;
}

.footer-item a:hover {
  color: #00B7D6;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444444;
  color: #999999;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  color: #f5f5f5;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1100;
}

.cookie-banner span {
  display: block;
  margin-top: 6px;
  color: #dcdcdc;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-btn--primary {
  background-color: #00B7D6;
  border-color: #00B7D6;
}

.cookie-btn:hover {
  opacity: 0.85;
}

/* Customer Slider */
.customer-slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.slide {
  min-width: 250px;
  padding: 20px;
  text-align: center;
}

.customer-logo {
  height: 100px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #666;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.customer-logo:hover {
  transform: scale(1.05);
  color: #00B7D6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 4));
  }
}

/* Responsive */
@media (max-width: 992px) {
  .feature-item {
    flex-basis: calc(50% - 20px);
  }

  .alternate-section {
    flex-direction: column;
  }

  .alternate-image,
  .alternate-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .feature-item {
    flex-basis: 100%;
  }

  .footer-item {
    flex-basis: 100%;
    text-align: center;
  }

  .footer-item h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile Navigation */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  .mobile-menu-title {
    display: block;
    padding: 30px 20px 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    border-bottom: 2px solid #00B7D6;
    margin: 0 20px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 20px;
    height: 100%;
  }

  nav ul li {
    margin: 0;
    margin-bottom: 20px;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }

  nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #00B7D6;
    transition: width 0.3s ease;
  }

  nav ul li a:hover::after,
  nav ul li a:active::after {
    width: 100%;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Carousel Styles */
.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

.carousel-inner {
  display: flex;
  animation: slide 25s infinite linear;
}

.carousel-item {
  flex-shrink: 0;
  width: 280px;
  margin: 0 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  padding: 20px 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* Optional, to ensure consistent height */
}

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

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
