/* Body */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  background-color: #8B5E3C;
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  margin-top: 1em;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #A9744F;
}

/* Hero-Bereich */
.hero {
  background-image: url('../images/Sheanüsse.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 5em 1em;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.5em;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3em 1em;
  background-color: #f9f9f9;
}

.feature {
  flex: 1 1 300px;
  max-width: 300px;
  margin: 1em;
  text-align: center;
}

.feature img {
  border-radius: 10px;
  width: 100%;
  height: 220px;
}

/* Mission */
.mission {
  height: fit-content;
  padding: 3em 1em;
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
  justify-content: center;
}

.mission-content img {
  flex: 1 1 300px;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
/* ::contentReference[oaicite:0]{index=0} */

.mission-content > div {
  flex: 1 1 300px;
  max-width: 600px;
}



/* Produkte */

#produkte {
  text-align: center;
  background-color: #f9f9f9;
}

.produkt-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  padding: 2em 1em;
}

.produkt {
  flex: 1 1 250px;
  max-width: 250px;
  text-align: center;
  background-color: #fff;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

}

.produkt img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1em;
}

/* KUNDENSTIMMEN */

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  padding: 2em 1em;
}

body > section.kundenstimmen > div > div.testimonial {
  width: 50%;
}

body > section.kundenstimmen > div > div.testimonial > h2 {
  color: #51280B;
}

body > section.kundenstimmen > div > div.testimonial > blockquote {
  margin-left: 20px;
  color: #51280B;
}

body > section.kundenstimmen > div > div.testimonial > cite {
  margin-left: 40px;
  color: #51280B;
}

/* NEWSLETTER */

.newsletter {
  justify-content: right;
  text-align: right;
}

body > section.kundenstimmen > div > div.newsletter > * {
  color:  #51280B;
}

/* FOOTER */

.footer {
  text-align: center;
}

#footer {
  text-align: center;
  font-size: small;
}

/* Confirmation Banner */
#confirmation-banner {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 1em 1.5em;
  border-radius: 8px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  width: auto;
  max-width: 90vw;
  text-align: center;
  font-size: 1rem;
  animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; display: none; }
}


/* Newsletter-Formular zentrieren */
.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

input[type="email"] {
  font-size: 16px; /*!important;*/
  padding: 0.75em 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
  background-color: #fff;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.newsletter-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: nowrap;
}

.newsletter-row input[type="email"] {
  font-size: 16px;
  padding: 0.75em 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 300px;
  box-sizing: border-box;
}

.newsletter-row button {
  padding: 0.75em 1.5em;
  font-size: 1rem;
  height: 100%;
  margin-top: 0;
}

/* Kontaktseite */

.kontaktseite input[type="email"],
.kontaktseite input[type="text"],
.kontaktseite textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: block;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .mission-content {
    flex-direction: column;
    text-align: center;
  }

  .mission-content img {
    max-width: 40%;
  }
  .unsere-mission {
    max-height: 150px;
  }

  body > section.kundenstimmen > div > div.testimonial {
    width: 100%;
  }

  .kundenstimmen {
    justify-content: center;
    text-align: center;
  }

  .newsletter {
    justify-content: center;
    text-align: center;
  }

  .newsletter > form{
    padding-bottom: 20px;
  }

  #confirmation-banner {
    bottom: 80px;
  }


}

@media (max-width: 600px) {
  .newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-row input,
  .newsletter-row button {
    width: 100%;
  }
}
