/* Grundlayout */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #3d3d3d;
}

/* Headerbereich mit Parallax-Effekt */
.sp-niglhof-header {
  background: url('/images/Bilder/Homepage_2025/Bild%20Kuh%20und%20Joghurtgl%C3%A4ser.webp') center center / contain no-repeat fixed;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.sp-niglhof-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  width: 300px;
  height: auto;
  z-index: 0;
}

.sp-niglhof-headline {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 16px;
  z-index: 1;
}

.sp-niglhof-headline h1 {
  font-size: 2.5rem;
  color: #8DC63F;
  margin: 0;
}

.sp-niglhof-headline p {
  font-size: 1.2rem;
  color: #8C5E3C;
}

.sp-niglhof-buttons {
  margin-top: 2rem;
}

.sp-niglhof-buttons a {
  background-color: #8DC63F;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  margin: 0 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
}

.sp-niglhof-buttons a:hover {
  background-color: #76b02d;
}

.sp-niglhof-footer {
  padding: 2rem;
  background-color: #f0eee9;
  text-align: center;
  font-size: 0.9rem;
}

/* Menüleiste */
.sp-menubar-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 1rem;
  flex-wrap: wrap;
}

.sp-menubar-logo-small img {
  max-width: 120px;
  height: auto;
}

.sp-menubar-flex-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.sp-menubar-flex-nav li {
  display: inline;
}

.sp-menubar-flex-nav a {
  text-decoration: none;
  font-weight: bold;
  color: #3d3d3d;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.sp-menubar-flex-nav a:hover {
  color: #8DC63F;
}

/* Über uns */
.sp-hof-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.sp-hof-bild {
  flex: 1 1 400px;
  max-width: 500px;
}

.sp-hof-text {
  flex: 1 1 400px;
  max-width: 600px;
}

/* Produkte */
.sp-produkt-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-produkt-item {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #f9f8f6;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

/* Zitat */
.sp-zitat blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-style: italic;
  color: #8C5E3C;
  text-align: center;
}

.sp-zitat p {
  margin-top: 1rem;
  font-weight: bold;
  color: #8DC63F;
  text-align: center;
}

/* Galerie */
.sp-galerie-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-galerie-button {
  margin-top: 2rem;
  text-align: center;
}

.sp-galerie-button a {
  background-color: #8DC63F;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Kontakt */
.sp-kontakt-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.sp-kontakt-info {
  flex: 1 1 400px;
  max-width: 500px;
}

.sp-kontakt-map {
  flex: 1 1 400px;
  max-width: 600px;
}

/* Allgemein */
section {
  padding: 4rem 2rem;
}

section h2 {
  color: #8DC63F;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

section p,
section li {
  font-size: 1.1rem;
  color: #4a4a4a;
}

section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #8DC63F;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #76b02d;
}

.niglhof-formular {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.niglhof-formular input,
.niglhof-formular textarea {
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  color: #333;
  width: 100%;
}

.niglhof-formular input::placeholder,
.niglhof-formular textarea::placeholder {
  color: #999;
}

.niglhof-formular button {
  padding: 0.75rem;
  background-color: #95C93D;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.niglhof-formular button:hover {
  background-color: #89ba39;
}

.niglhof-formular input,
.niglhof-formular textarea,
.niglhof-formular button {
  font-size: 1rem !important;
  padding: 0.75rem !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  outline: none !important;
  font-family: inherit !important;
  color: #333 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background-color: #fff !important;
}

.niglhof-formular input::placeholder,
.niglhof-formular textarea::placeholder {
  color: #999 !important;
}

.niglhof-formular button {
  background-color: #95C93D !important;
  color: white !important;
  font-weight: bold !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  border-radius: 6px !important;
}

.niglhof-formular button:hover {
  background-color: #89ba39 !important;
}

/* Einleitung mit reduziertem Abstand */
.sp-einleitung {
  padding: 2rem 2rem 1.5rem 2rem !important;
}

.sp-zitat blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-style: italic;
  color: #8C5E3C;
  text-align: center;
  line-height: 1.6;
}

/* Kontaktbereich moderat anpassen */
.sp-kontakt-grid {
  padding-bottom: 2rem;
}

/* Hauptüberschrift auf Inhaltsseiten */
h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #8DC63F; /* optional: an dein Farbkonzept anpassen */
}

/* Wichtige Farb- und Textformatierungen absichern */
h1, h2, h3, h4, h5, h6 {
  color: #8DC63F !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}

section p,
.sp-hof-text p,
.sp-einleitung p {
  color: #4a4a4a !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
  margin-bottom: 1.5rem !important;
}

.sp-galerie-button a {
  background-color: #8DC63F !important;
  color: white !important;
  text-decoration: none !important;
  font-weight: bold !important;
  border-radius: 8px !important;
  padding: 0.8rem 1.5rem !important;
  display: inline-block !important;
  transition: background-color 0.3s ease !important;
}

.sp-galerie-button a:hover {
  background-color: #76b02d !important;
}

/* Falls globale Farbe per Bootstrap Variable geladen wird – überschreiben */
body {
  color: #3d3d3d !important;
}
.produktübersicht-zweispaltig {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.produktkategorie {
  flex: 1 1 450px;
  max-width: 600px;
}

.produktkategorie h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 🔄 Hier beginnt das responsive Upgrade */
.produkte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
/* 🔄 Upgrade-Ende */

.produktkarte {
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.produktkarte img {
  width: 100%;
  border-radius: 0.5rem;
  height: auto;
}

.produktkarte h3 {
  margin-top: 0.75rem;
  font-size: 1.2rem;
}

.einheit {
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
}

/* Bewertungsbereich: zentrierter Text und Button */
.sp-bewerten-inhalt {
  text-align: center;
  margin-top: 1rem;
}

.sp-bewerten-inhalt p {
  text-align: center !important;
  margin-bottom: 1rem;
}

.sp-bewerten-button {
  background-color: #8DC63F;
  color: white !important;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.sp-bewerten-button:hover {
  background-color: #76b02d;
}

/* -------------------------------------------
   🟩 Startseite – Einleitung zentrieren
   ------------------------------------------- */
.sp-einleitung {
  text-align: center !important;
}

.sp-einleitung p {
  text-align: center !important;
}

/* 🧹 Zitat-Symbol entfernen */
.sp-zitat blockquote::before {
  content: none !important;
}

/* 🧭 Familie Himmelstoß zentrieren */
.sp-zitat p {
  text-align: center !important;
}
.sp-hof-bild-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.sp-hof-bild {
  max-width: 500px;
  width: 100%;
}

.sp-hof-bild img {
  width: 100%;
  height: auto;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}
.sp-landgenuss-text {
  text-align: center;
  padding: 1rem 2rem 2rem 2rem;
}

.sp-landgenuss-text p {
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;

<style>
  .sp-landgenuss-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
  }
</style>

#sp-bottom1 {
  background-color: #ffffff !important;
  color: #333 !important;
}
#sp-bottom1 a,
#sp-bottom1 i {
  color: #333 !important;
}
.sp-nachhaltigkeit {
  display: flex;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.sp-nachhaltigkeit-hinweis {
  background-color: #f9f8f6;
  border-left: 6px solid #8DC63F;
  padding: 1.5rem 2rem;
  max-width: 700px;
  font-size: 1.1rem;
  color: #4a4a4a;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sp-nachhaltigkeit {
  display: flex;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.sp-nachhaltigkeit-hinweis {
  background-color: #f9f8f6;
  border-left: 6px solid #8DC63F;
  padding: 1.5rem 2rem;
  max-width: 700px;
  font-size: 1.1rem;
  color: #4a4a4a;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center; /* ➤ Hinzugefügt für zentrierten Text */
}

a.button {
  background-color: #557B33;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

a.button:hover {
  background-color: #6d9033;
}

