
/* General styles */
body, html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
}

/* Hero Section */
.hero {
  /* max 400px high hero */
  height: auto;           /* lässt sich an Inhalt orientieren */
  max-height: 400px;      /* Obergrenze */
  min-height: 280px;      /* optional: Mindesthöhe, damit es nicht zu klein wird */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-align: center;     /* Überschrift/Teaser mittig */
  padding: 40px 20px;     /* Innenabstand für Balance */
  position: relative;
  overflow: hidden;       /* falls Inhalt überläuft */
}

.hero h1 {
  font-size: 3rem;        /* etwas kleiner als 4rem für 400px Höhe */
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 auto;
  max-width: 900px;
  text-align: justify;    /* Blocksatz */
  text-align-last: justify; /* letzte Zeile möglichst ausrichten (Browserabhängig) */
}

/* Content Sections */
.content-section {
  padding: 80px 20px;
  background: #f5f5f5;
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  /* Blocksatz für Fließtext */
  text-align: left;
  text-align-last: left;
}

.content-section img {
  max-width: 80%;
  margin-top: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  background: #333;
  /* Blocksatz für CTA-Beschreibungstext */
  text-align: left;
  text-align-last: left;
  color: white;
}

.cta-section .btn {
  display: inline-block;  /* damit Blocksatz den Button nicht beeinflusst */
  background: #ff6600;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
  margin-top: 20px;
}

.cta-section .btn:hover {
  background: #ff8533;
}

/* Optional responsive */
@media (max-width: 768px) {
  .hero {
    padding: 30px 16px;
    max-height: 360px;     /* am Handy etwas kompakter */
    min-height: 240px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}
