/* ============================================
   Reset & Grundstruktur
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
}


/* ============================================
   Loader (Vollbild-Overlay)
============================================ */
#loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

.loader-text {
  font-size: 1rem;
  color: #333;
  text-align: center;
  max-width: 80%;
  line-height: 1.4;
}


/* ============================================
   Hero Section
============================================ */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
  background-color: #f9f9f9;
}

.hero-text-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 1rem;
  color: #555;
}


.hero-feature-box {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.4em;
  position: relative;
}

.hero-features li::before {
  content: "\2022";
  color: #1d4ed8;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.hero-image-wrapper {
  margin-top: 0.8rem;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 720px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  height: auto;
}



/* ============================================
   Welcome Section
============================================ */
.welcome-section {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: left;
}

.welcome-section h2 {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 1rem;
  color: #555;
}


.welcome-section p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.subheadline {
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
  color: #555;
  line-height: 1.4;
}


/* ============================================
   Features Section
============================================ */
#features .feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

#features .feature img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-right: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#features .feature p {
  flex: 1;
  font-size: 1.1rem;
  color: #555555;
  text-align: left;
}


/* ============================================
   Success Stories Section
============================================ */
#success-stories {
  padding: 50px 0;
  background-color: #f9f9f9;
}

#success-stories img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#success-stories .testimonial {
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 20px;
}


/* ============================================
   Kontakt & Tabellenbereich
============================================ */
#contact {
  padding: 50px 0;
}

#contact img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contact p {
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 20px;
}

#contact .contact-info {
  display: flex;
  justify-content: center;
  background-color: #f2f2f2;
  padding: 15px 0;
  border-radius: 5px;
  margin: 20px 0;
}

#contact table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

#contact td {
  padding: 10px 0;
  font-size: 1rem;
  color: #555555;
}


/* ============================================
   Globale Helferklassen
============================================ */
.text-left {
  text-align: left;
}

.heading-center {
  text-align: center;
}


/* ============================================
   Responsive Anpassungen
============================================ */
@media (max-width: 600px) {
	
  #hero {
      padding: 30px 0;
  }
  
  .hero-title {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    max-width: 90%;
    margin-inline: auto;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  #hero h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 1.2rem;
  }

  #hero p,
  #features .feature p,
  #success-stories .testimonial,
  #contact p,
  #contact td {
    font-size: 1rem;
  }

  #features .feature {
    flex-direction: column;
    text-align: center;
  }

  #features .feature img {
    margin-bottom: 20px;
    margin-right: 0;
    max-width: 90%;
  }

  .welcome-section h2 {
    font-size: 1.3rem;
  }

  .subheadline {
    font-size: 1rem;
  }
}
