/* Reset some default styles */
:root {
  --main-bg-color: #333;
  --main-text-color: white;
  --highlight-color: #00ff00;
  --slider-bg-color: rgba(200, 200, 200, 0.5);
}

body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  display: flex;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--main-text-color);
  margin: 3px 0;
  transition: all 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: var(--main-text-color);
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--highlight-color);
  bottom: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li:hover a::before {
  transform: scaleX(1);
}

/* Media Query für mobile Ansicht */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1001;
  }

  .mobile-toggle.active .bar {
    background-color: var(--highlight-color);
  }
  .navigation {
    min-height: 20px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 15px;
  }

  .nav-links li a {
    text-align: center;
  }
}

/* Content */
.content {
  padding: 50px 0;
  position: relative;
}

.intro {
  text-align: center;
  margin-bottom: 30px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-item {
  background-color: var(--slider-bg-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Stil für den Abschlussbereich */
.content:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to top, rgba(200, 200, 200, 0.8), rgba(200, 200, 200, 0));
  z-index: -1;
}
.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, rgba(200, 200, 200, 0.8), rgba(200, 200, 200, 0));
  z-index: -1;
}

/* Stil für den Slider */
.slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-item {
  flex: 0 0 calc(33.33% - 40px);
  text-align: center;
  transition: opacity 0.5s ease-in-out;
  padding: 20px;
  background-color: var(--slider-bg-color);
  position: relative;
}

.slider-item::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  z-index: -1;
}
.slider-item.active {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5) 10px,
    var(--slider-bg-color) 10px,
    var(--slider-bg-color) 20px
  );
  margin-left: 20px;
  margin-right: 20px;
}
.slider-item img {
  max-width: 100%;
  height: auto;
  width: 300px;
  height: 300px;
  border: 2px solid white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: black;
  z-index: 1;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

/* Vollständig sichtbare Mitte */
.slider-item.active {
  opacity: 1 !important;
  transform: scale(1.05);
}

/* Äußere Bilder verblassen */
.slider-item.active + .slider-item,
.slider-item.active - .slider-item {
  opacity: 0.5;
  transform: scale(1);
}
/* Filtereffekte nur auf Bilder anwenden */
.slider-item img {
  filter: brightness(40%);
  transition: filter 0.5s ease;
}

.slider-item.active img {
  filter: brightness(100%);
}
/* CSS für den Play-Pause-Button */
#playPauseButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--main-text-color);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.5s;
  opacity: 1;
}
#playPauseButton.fade-out {
  opacity: 0;
}

#playPauseButton.paused {
  background-color: rgba(255, 255, 255, 0.5);
}

#playPauseButton .play-icon,
#playPauseButton .pause-icon {
  display: none;
}

#playPauseButton.paused .pause-icon {
  display: inline;
}

#playPauseButton:not(.paused) .play-icon {
  display: inline;
}
/* Stil für das Play-Symbol */
.play-pause-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: var(--main-text-color);
  font-size: 24px;
  display: none;
  z-index: 2;
}

/* Slider-Item-Hover-Effekt für das Play-Symbol */
.slider-item:hover .play-pause-button {
  display: block;
}

/* Stil für die Roadmap */
.roadmap {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  flex-wrap: nowrap;
}

.hexagon {
  position: relative;
  width: 100px;
  height: 115.47px;
  background-color: #e0e0e0;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  font-weight: bold;
  text-align: center;
  line-height: normal;
}

.popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 14px;
  padding: 10px;
  width: 200px;
  text-align: center;
  display: none;
  z-index: 2;
}

/* Stil für die Verbindungsleiste */
.connector {
  flex-grow: 1;
  height: 2px;
  background-color: var(--highlight-color);
  margin: 0 5px;
}

/* Bei Hover oder Klick den Popup anzeigen */
.hexagon:hover .popup {
  display: block;
}

/* Bei Hover oder Klick die Verbindungsleiste anzeigen */
.hexagon:hover ~ .connector {
  display: block;
}

/* Bei Klick alle Popups anzeigen */
.show-all-popups .popup {
  display: block;
}
.content h2 {
  text-align: center;
}

/* Contact Form */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: var(--main-bg-color);
  padding: 20px;
  box-sizing: border-box;
}

.contact-form,
.contact-info {
  background-color: #444;
  color: #fff;
  padding: 20px;
  width: 48%;
  box-sizing: border-box;
}

.contact-form h2,
.contact-info h2 {
  margin-bottom: 20px;
}

.contact-form form {
  text-align: left;
  margin: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  background-color: #555;
  color: #fff;
}

.contact-form input[type="submit"] {
  background-color: #00f;
  color: #fff;
  border: none;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background-color: #007bff;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
}

/* Mobile View */
@media (max-width: 767px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }
}

/* Footer */
.footer {
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  text-align: center;
  padding: 20px;
}

/* Sticky Button */
.sticky-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #ffcc00;
  color: white;
  font-size: 16px;
  width: 180px;
  height: 40px;
  border-radius: 20px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 1000;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
}

.sticky-button:hover {
  background-color: #ffdd22;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.7);
}
