body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  text-align: justify;
  hyphens: auto; /*aktiviert Silbentrennung*/
  margin: 0;
  line-height: 1.7;
  color: #3a3a3a;
  background: #f8faf9;
  }

header {
  position: sticky;
  top: 0;
  background: none;/*#5fcf80;*/
  box-shadow: none;
  margin: 0;
}
header a {
  color: white; /*#2e7d32*/;
  color: #5fcf80; /*#2e7d32*/;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: opacity 0.2s ease;
}
header a:hover {
  opacity: 0.75;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  padding: 18px 0;
  padding-bottom: 0;
}

main {
  max-width: 800px;
  margin: 5rem auto;
  margin-top: 8rem;
  padding: 0 1.2rem;
  background: none;
  /*border: 1px solid #eee;*/
  box-shadow: none;
}

.hero {
  text-align: center;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.6rem;
  background: #5fcf80;
  color: white;
  font-height: 600;
  text-decoration: none;
  border-radius: 8px;
  }

.content-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.media {
  display: flex;
  gap: 24px; /* Abstand */
  align-items: flex-start;
}

.media img {
  width: 220px; /* feste Bildbreite */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.media .text {
  flex: 1; /* Text nimmt Restbreite */
}

/* Schriftgroessen*/
h1 { font-size: 2.8rem; margin-bottom: 2rem;
   font-weight: 700;
   letter-spacing: -0.5px}
h2 { font-size: 1.4rem; font-weight: 600; margin-top: 4rem; margin-bottom: 1.2rem}
h3 { font-size: 1.2rem; }
p  { font-size: 1.05rem; line-height: 1.75; color: #444}

/* Abstaende definieren*/
section {
    margin: 5rem 0;
}

/* Definition Container-Layout: Im Moment durch die main:max-width festgelegt, Aufruf in html über <main class="container"> statt <main>: Theoretisch best practice*/

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.2rem;
}


.card {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
}
::dselection {
  background: #c8f2d6;
}

footer {
    color: #666;
  }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0;
  /*position: relative; */ /*-*/
}

.logo {
  height: 100%;
  /*display: flex; */ /*-*/
  /*align-items: center; */ /*-*/
}
  .logo img {
    height: 100%;
    width: auto;
    display: block;
  }

  .main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

.banner {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  margin-top: 0;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*===========================
Burger Menü
============================*/
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto; /*-*/
}

.burger span {
  width: 26px;
  height: 3px;
  background: #5fcf80;
  display: block;
}

/* mobile Anpassung */
@media (max-width: 768px) {
  
  /*burger sichtbar*/
  .burger {
    display: flex;
  }

  /*Naviagtion verstecken*/
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2e7d32; /*optional dunkler Hintergrund*/
    display: none;
    z-index: 1000;
  }

  /*horizontales Flex von header nav überschreiben*/
  header nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.2rem;
  }
  .main-nav.active {
    display: block;
  }
}

  
  


























