/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Basics */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #f0f0f0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Verhindert horizontales Scrollen bei kleinen Viewports */
}

/* Loader */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  border: 6px solid #222;
  border-top: 6px solid #00ffc3;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.2s linear infinite;
  margin-bottom: 1rem;
}

.loading-text {
  font-size: 1rem;
  color: #888;
  font-style: italic;
  user-select: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: #111;
  box-shadow: 0 2px 10px rgba(0, 255, 195, 0.2);
  z-index: 999;
  padding: 0.5rem 1rem;
  user-select: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  width: 110px;
  height: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.7rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #00ffc3;
  outline: none;
}

  .disclaimer-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 15, 15, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    user-select: none;
  }

  .disclaimer-content {
    background: #1a1a1a;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    max-width: 420px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow:
      0 0 25px rgba(0, 255, 195, 0.5),
      inset 0 0 12px rgba(0, 255, 195, 0.2);
    color: #ccc;
    border: 2px solid #00ffc3;
    user-select: text;
  }

  .disclaimer-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00ffc3, #0070ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
  }

  .disclaimer-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ddd;
    font-weight: 500;
  }

  #disclaimer-close-btn {
    background: linear-gradient(90deg, #00ffc3, #0070ff);
    border: none;
    color: #0f0f0f;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 0 18px #00ffc3;
    transition: all 0.3s ease;
    user-select: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  #disclaimer-close-btn:hover,
  #disclaimer-close-btn:focus {
    box-shadow: 0 0 30px #00ffc3;
    transform: scale(1.08);
    outline: none;
  }


.btn-join {
  background: linear-gradient(to right, #00ffc3, #0070ff);
  color: #0f0f0f !important;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 0 15px #00ffc3;
  transition: all 0.3s ease;
}

.btn-join:hover,
.btn-join:focus {
  box-shadow: 0 0 25px #00ffc3;
  transform: scale(1.05);
  outline: none;
}

/* Dropdown */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-toggle::after {
  content: '';
  font-size: 0.7rem;
  margin-left: 3px;
  color: #00ffc3;
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #222;
  min-width: 160px;
  border-radius: 6px;
  display: none;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.dropdown-menu li {
  border-bottom: 1px solid #333;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  color: #ddd;
  text-decoration: none;
  display: block;
  padding: 0.7rem 1rem;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #00ffc3;
  color: #0f0f0f;
  border-radius: 6px;
  outline: none;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  max-width: 950px;
  margin: 0 auto 4rem;
  padding: 3rem 1.5rem;
  text-align: center;
  user-select: none;

  /* Trennlinie unter Hero-Section */
  border-bottom: 3px solid #00ffc3aa;
  padding-bottom: 3rem; /* Damit die Linie nicht klebt */
  margin-bottom: 4rem;   /* Schon hast du Luft nach unten */
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.6rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.25rem;
  max-width: 600px;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta .btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 1.2rem;
  color: #0f0f0f;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 0 18px #00ffc3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta .btn:hover,
.cta .btn:focus {
  transform: scale(1.08);
  box-shadow: 0 0 30px #00ffc3;
  outline: none;
}


/* Content Sections */
.content-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 3rem auto;
  gap: 2rem;
  user-select: none;
}

/* Trennlinien zwischen Content-Blöcken */
.content-row > * {
  border-right: 2px solid rgba(0, 255, 195, 0.25);
  padding-right: 1.5rem;
}

.content-row > *:last-child {
  border-right: none;
  padding-right: 0;
}

.features,
.how-it-works,
.community-highlights,
.community-input {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.15);
  color: #ddd;
  flex: 1 1 280px;
  min-width: 280px;
  max-width: 32%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease; /* Für sanftes Hover */
}

.features:hover,
.how-it-works:hover,
.community-highlights:hover,
.community-input:hover {
  box-shadow: 0 0 40px rgba(0, 255, 195, 0.3);
}

/* Fette Linien zwischen den Abschnitten */
.features, .how-it-works, .community-highlights {
  border-bottom: 2px solid rgba(0, 255, 195, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Section Headings */
.features h2,
.how-it-works h2,
.community-highlights h2,
.community-input h2 {
  font-size: 1.6rem;
  color: #00ffc3;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* Feature Items */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #00ffc3;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.3;
}

/* How It Works List */
.how-it-works ol {
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.4;
}

.how-it-works ol li {
  margin-bottom: 0.7rem;
}

/* Community Highlights */
.community-highlights p {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.community-highlights .btn {
  padding: 0.6rem 1.6rem;
  background: linear-gradient(90deg, #00ffc3, #0070ff);
  color: #0f0f0f;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 0 15px #00ffc3;
  transition: all 0.25s ease;
}

.community-highlights .btn:hover,
.community-highlights .btn:focus {
  box-shadow: 0 0 30px #00ffc3;
  transform: scale(1.05);
  outline: none;
}

/* Community Input Section - fancy upgrade */
.community-input {
  background: #111;
  max-width: 700px;
  margin: 3.5rem auto 4.5rem auto;
  padding: 50px 30px;
  border-radius: 22px;
  box-shadow:
    0 0 40px rgba(0, 255, 195, 0.35),
    inset 0 0 18px rgba(0, 255, 195, 0.2);
  color: #ddd;
  user-select: none;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(0, 255, 195, 0.3);
}

.community-input:hover {
  box-shadow:
    0 0 70px rgba(0, 255, 195, 0.8),
    inset 0 0 30px rgba(0, 255, 195, 0.35);
  border-color: #00ffc3;
}

/* Form */
.community-input form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Feine Trennlinie in Formularen */
.community-input form > *:not(:last-child) {
  border-bottom: 1px solid #00ffc322;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.community-input label {
  font-size: 1rem;
  font-weight: 600;
  color: #00ffc3;
}

.community-input input,
.community-input textarea {
  background: #222;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #ddd;
  font-size: 1rem;
  resize: vertical;
  transition: background 0.3s ease;
}

.community-input input:focus,
.community-input textarea:focus {
  outline: none;
  background: #0070ff33;
  box-shadow: 0 0 10px #00ffc3aa;
}

.community-input-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #00ffc3, #0070ff);
  color: #0f0f0f;
  padding: 0.55rem 0.5rem;
  font-weight: 800;
  border-radius: 34px;
  box-shadow:
    0 0 14px #00ffc3,
    0 4px 12px rgba(0, 255, 195, 0.4);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 3rem auto;
  user-select: none;
  transition: all 0.35s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 2px 2px rgba(0, 255, 195, 0.3));

  max-width: 200px;
  width: 100%;
  
  text-align: center; /* Text schön mittig */
}

.community-input-btn:hover,
.community-input-btn:focus {
  box-shadow:
    0 0 40px #00ffc3,
    0 6px 25px rgba(0, 255, 195, 0.6);
  transform: scale(1.08);
  outline: none;
  filter: drop-shadow(0 3px 6px rgba(0, 255, 195, 0.5));
}





/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 5rem auto;
  padding-left: 2rem;
  color: #ddd;
}

/* Timeline vertical line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.5rem;
  width: 6px; /* dicker */
  height: 100%;
  background: linear-gradient(180deg, #00ffc3, #0070ff);
  border-radius: 3px;
}

/* Timeline items */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.6rem;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #00ffc3;
  border-radius: 50%;
  border: 3px solid #0070ff;
}

/* Timeline text */
.timeline-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ffc3;
  margin-bottom: 0.2rem;
}

.timeline-item p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.4;
}

/* Media Queries */
@media (max-width: 991px) {
  .content-row {
    flex-direction: column;
    max-width: 100%;
  }

  .content-row > * {
    border-right: none;
    padding-right: 0;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .features,
  .how-it-works,
  .community-highlights,
  .community-input {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .subtitle,
  .description {
    font-size: 1.1rem;
  }

  .cta .btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}
