/* =====================
   Grundlayout und Farben
   ===================== */
   body {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f4f8;
    color: #2e3a59;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  /* =====================
     Header
     ===================== */
  header {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo span {
    font-size: 1.4em;
    font-weight: 700;
    color: #00b58b;
    letter-spacing: -0.5px;
  }
  
  header p {
    margin: 0;
    font-size: 0.95em;
    font-weight: 400;
    color: #666;
  }
  
  /* =====================
     Hero Section
     ===================== */
  .hero {
    position: relative;
    text-align: center;
    padding: 6em 1em;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1542744173-05336fcc7ad4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #ffffff;
    clip-path: ellipse(100% 100% at 50% 0%);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h2,
  .hero-content p {
    margin: 0 0 1em 0;
  }
  
  .hero .cta-button {
    margin-top: 2em;
    padding: 1.4em 3em;
    font-size: 1.2em;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  /* =====================
     Buttons
     ===================== */
  .cta-button {
    display: inline-block;
    padding: 1.2em 2.8em;
    font-size: 1.1em;
    background: linear-gradient(90deg, #00c896, #00b07e);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.4s ease;
    transform: scale(1);
    max-width: 280px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  .cta-button:hover {
    background: linear-gradient(90deg, #00d09c, #00b58b);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  
  /* =====================
     Inhalt und Sektionen
     ===================== */
  .section {
    padding: 3em 1em;
    max-width: 1200px;
    margin: auto;
  }
  
  .section h3 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.8em;
    color: #2e3a59;
  }
  
  .section p {
    text-align: center;
    font-size: 1.1em;
  }
  
  .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
  }
  
  .step {
    background: white;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, opacity 1s ease;
    opacity: 0;
  }
  
  .step.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .step:hover {
    transform: translateY(-5px);
  }
  
  .step h4 {
    margin-bottom: 0.8em;
    color: #00c282;
    font-weight: 600;
  }
  
  .step img {
    width: 60px;
    height: 60px;
    margin-bottom: 1em;
  }
  
  /* =====================
     Zielgruppen (Target Groups)
     ===================== */
  .target-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2em;
    text-align: center;
  }
  
  .target-groups .card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
  }
  
  .target-groups .card.visible {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* =====================
     Testimonials
     ===================== */
  .testimonials {
    background: #ffffff;
    padding: 4em 1em;
    text-align: center;
  }
  
  .testimonial-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
  }
  
  .testimonial {
    background: #f9f9f9;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    max-width: 300px;
    font-style: italic;
  }
  
  .testimonial strong {
    display: block;
    margin-top: 1em;
    font-style: normal;
    color: #00b58b;
  }

  /* =====================
   Fragebogen-Formular
   ===================== */
    form#checkup-form {
     max-width: 600px;
     margin: 0 auto;
     background: #ffffff;
     padding: 2em;
     border-radius: 12px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  
    form#checkup-form label {
     font-weight: 600;
     display: block;
     margin: 1.2em 0 0.4em;
     color: #2e3a59;
  }
  
    form#checkup-form select {
     width: 100%;
     padding: 0.8em;
     font-size: 1em;
     border: 1px solid #ccc;
     border-radius: 8px;
  }  
  
  /* =====================
     Footer
     ===================== */
  footer {
    background: linear-gradient(90deg, #00b58b, #00d09c);
    color: white;
    text-align: center;
    padding: 2em 1em;
    font-size: 0.9em;
    margin-top: 3em;
  }
  
  footer a {
    color: white;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* =====================
     Cookie-Banner
     ===================== */
  #cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    color: #2e3a59;
    padding: 1em 1.5em;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-size: 0.95em;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Rubik', sans-serif;
  }
  
  /* =====================
     Responsive
     ===================== */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5em;
    }
  
    .hero {
      padding: 4em 1em;
      clip-path: none;
    }
  
    .hero h2 {
      font-size: 1.6em;
    }
  
    .cta-button {
      width: calc(100% - 2em);
      padding: 1em;
      font-size: 1em;
      display: block;
      margin: 1.5em auto 0 auto;
      box-sizing: border-box;
      max-width: 280px;
    }
  
    .steps {
      flex-direction: column;
      align-items: center;
    }
  
    .testimonial-boxes {
      flex-direction: column;
      align-items: center;
    }
  
    .target-groups {
      grid-template-columns: 1fr;
    }
  
    .section h3 {
      font-size: 1.4em;
    }
  }
  .highlight-facts {
    background: #f0f4f8; /* gleiche Farbe wie body */
    padding: 4em 1em;
    text-align: center;
    border: none;
  }  
  
  .facts-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
  }
  
  .fact-card {
    background: #f8fdfc;
    border: 2px solid #00b58b33;
    border-radius: 12px;
    padding: 2em 1.5em;
    width: 260px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
  }
  
  .fact-card:hover {
    transform: translateY(-5px);
  }
  
  .fact-card img {
    height: 48px;
    margin-bottom: 1em;
  }
  
  .fact-card p {
    margin: 0;
    font-size: 1.05em;
    color: #2e3a59;
  }
  
/* =====================
   Ampelgrafik
   ===================== */
.traffic-light-section {
  text-align: center;
  background: #ffffff;
  padding: 4em 1em;
}

.traffic-light {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 2.5em;
  flex-wrap: wrap;
}

.light {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: bold;
  color: white;
  font-size: 1em;
}

.light .label {
  position: absolute;
  top: 130px;
  width: 100%;
  text-align: center;
  color: #2e3a59;
  font-size: 0.95em;
  line-height: 1.3;
}

.light.red {
  background: #e74c3c;
}

.light.yellow {
  background: #f1c40f;
  color: #2e3a59;
}

.light.green {
  background: #2ecc71;
}

@media (max-width: 600px) {
  .traffic-light {
    flex-direction: column;
    align-items: center;
  }

  .light {
    margin-bottom: 2em;
  }
}

/* =====================
   Konsequenzen-Sektion
   ===================== */
.consequences {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 2.5em;
}

.consequence {
  width: 260px;
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5em;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.consequence:hover {
  transform: translateY(-5px);
}

.consequence img {
  height: 48px;
  margin-bottom: 1em;
}

.consequence p {
  font-size: 1em;
  color: #2e3a59;
}

/* =====================
   Kompakte Fakten-Kacheln (zentriert, nebeneinander)
   ===================== */
   .facts-grid.compact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
  }
  
  .fact-card.compact {
    background: #ffffff;
    border-radius: 12px;
    padding: 2em 1.2em;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .fact-card.compact:hover {
    transform: translateY(-5px);
  }
  
  .fact-card.compact img {
    height: 50px;
    margin-bottom: 1em;
  }
  
  .fact-card.compact h4 {
    margin: 0;
    font-size: 1.6em;
    color: #00b58b;
  }
  
  .fact-card.compact p {
    margin-top: 0.6em;
    font-size: 1em;
    color: #2e3a59;
  }
  /* =====================
   Ampel-Kacheln (digitaler Status)
   ===================== */
.traffic-light-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
  text-align: center;
}

.traffic-card {
  width: 260px;
  padding: 2em 1.5em;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-top: 6px solid;
  transition: transform 0.3s ease;
}

.traffic-card:hover {
  transform: translateY(-5px);
}

.traffic-card.red {
  border-color: #e74c3c;
}

.traffic-card.yellow {
  border-color: #f1c40f;
}

.traffic-card.green {
  border-color: #2ecc71;
}

.traffic-card h4 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: #2e3a59;
}

.traffic-card p {
  font-size: 1em;
  color: #2e3a59;
}


/* =====================
   Konsequenzen-Kacheln
   ===================== */
.consequences-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
  text-align: center;
}

.consequence-card {
  width: 260px;
  padding: 2em 1.5em;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.consequence-card:hover {
  transform: translateY(-5px);
}

.consequence-card img {
  height: 48px;
  margin-bottom: 1em;
}

.consequence-card p {
  font-size: 1em;
  color: #2e3a59;
}

#score-output {
  display: none;
}

