:root {
  --primary-light: #fdf2f8;
  --primary-accent: #d81b60;
  --primary-dark: #880e4f;
  --white: #ffffff;
  --light-pink: #fff0f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Lora', serif;
  font-size: 18px;
  line-height: 1.82;
  color: #333;
  background-color: var(--white);
  letter-spacing: -0.3px;
}

h1 {
  font-family: 'Playfair Display', 'Bodoni MT', serif;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -1.2px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  max-width: 730px;
  word-spacing: 0.1em;
}

h2 {
  font-family: 'Playfair Display', 'Bodoni MT', serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.8rem;
  max-width: 730px;
}

h3 {
  font-family: 'Playfair Display', 'Bodoni MT', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
  max-width: 730px;
  word-spacing: 0.02em;
  hyphens: auto;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: box-shadow 0.32s ease-out;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.5rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', 'Bodoni MT', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.8px;
}

.logo a {
  color: var(--primary-dark);
}

nav {
  display: flex;
  gap: 3rem;
  list-style: none;
}

nav a {
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--primary-accent);
}

nav a:hover:after {
  width: 100%;
}

/* ===== MAIN CONTENT ===== */
main {
  padding-top: 100px;
}

section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.section-wrapper {
  max-width: 1840px;
  margin: 0 auto;
  padding: 140px 80px;
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--light-pink) 100%);
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(136, 14, 79, 0.15);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  color: var(--white);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}

/* ===== SECTIONS SPACING ===== */
#intro, #biochemie, #tabelle, #lebensmittel, #pflanzen, #einflussfaktoren, #vergleich, #faq, #hinweis, #abschluss, #uebersicht, #kontakt {
  padding: 140px 80px;
}

/* ===== INTRO SECTION ===== */
#intro p {
  font-size: 18px;
  line-height: 1.82;
  margin-bottom: 1.8rem;
}

/* ===== BIOCHEMIE SECTION ===== */
.biochemie-container {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 4rem;
  align-items: center;
}

.biochemie-container img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.biochemie-container img:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 20px 60px rgba(216, 27, 96, 0.15);
}

.biochemie-text h2 {
  margin-bottom: 1.5rem;
}

/* ===== TABELLE SECTION ===== */
.table-container {
  overflow-x: auto;
  margin-bottom: 3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--white);
}

table thead {
  background-color: var(--primary-light);
  border-bottom: 2px solid var(--primary-accent);
}

table th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  font-family: 'Georgia', 'Lora', serif;
  letter-spacing: -0.3px;
}

table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e0e0e0;
  font-family: 'Georgia', 'Lora', serif;
}

table tbody tr:hover {
  background-color: var(--light-pink);
  transition: background-color 0.2s ease;
}

/* ===== LEBENSMITTEL SECTION ===== */
.lebensmittel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.lebensmittel-item {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2rem;
  align-items: center;
}

.lebensmittel-item:nth-child(2n) {
  grid-template-columns: 55% 45%;
}

.lebensmittel-item:nth-child(2n) img {
  order: 2;
}

.lebensmittel-item:nth-child(2n) .lebensmittel-text {
  order: 1;
}

.lebensmittel-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.lebensmittel-item img:hover {
  transform: scale(1.035) translateY(-10px);
  box-shadow: 0 20px 60px rgba(216, 27, 96, 0.15);
}

.lebensmittel-text h3 {
  color: var(--primary-dark);
}

.lebensmittel-text p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===== PFLANZEN SECTION ===== */
.pflanzen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.pflanzen-item {
  background-color: var(--light-pink);
  padding: 2rem;
  border-radius: 8px;
  text-align: left;
}

.pflanzen-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.pflanzen-item img:hover {
  transform: scale(1.035) translateY(-8px);
  box-shadow: 0 15px 45px rgba(216, 27, 96, 0.12);
}

.pflanzen-item h3 {
  color: var(--primary-dark);
  font-size: 20px;
  margin-bottom: 1rem;
}

.pflanzen-item p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 100%;
}

/* ===== EINFLUSSFAKTOREN SECTION ===== */
.einflussfaktoren-container {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 4rem;
  align-items: center;
}

.einflussfaktoren-container img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.38s ease;
}

.einflussfaktoren-container img:hover {
  transform: scale(1.035) translateY(-8px);
}

.einflussfaktoren-text h2 {
  margin-bottom: 1.5rem;
}

/* ===== VERGLEICH SECTION ===== */
.vergleich-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.vergleich-column {
  padding: 2rem;
  background-color: var(--light-pink);
  border-radius: 8px;
}

.vergleich-column h3 {
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}

.vergleich-column ul {
  list-style: none;
  padding: 0;
}

.vergleich-column li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(216, 27, 96, 0.15);
  font-size: 16px;
  line-height: 1.6;
}

.vergleich-column li:last-child {
  border-bottom: none;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--light-pink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 17px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #ffe6f0;
}

.faq-question .toggle {
  font-size: 20px;
  color: var(--primary-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== HINWEIS SECTION ===== */
#hinweis {
  background-color: var(--light-pink);
  padding: 3rem 80px;
}

#hinweis h2 {
  color: var(--primary-dark);
}

#hinweis p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 800px;
}

/* ===== ABSCHLUSS SECTION ===== */
#abschluss {
  text-align: center;
  padding: 140px 80px;
}

#abschluss h2 {
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

#abschluss p {
  margin: 0 auto 2rem;
  max-width: 730px;
  font-size: 17px;
}

.abschluss-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.abschluss-links a {
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-light);
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.abschluss-links a:hover {
  background-color: var(--primary-accent);
  color: var(--white);
}

/* ===== UEBERSICHT SECTION ===== */
#uebersicht {
  padding: 140px 80px;
  background-color: var(--white);
}

.uebersicht-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.uebersicht-container img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.uebersicht-text h2 {
  margin-bottom: 1.5rem;
}

.uebersicht-text ul {
  list-style: none;
  padding-left: 0;
  max-width: 730px;
}

.uebersicht-text li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  border-bottom: 1px solid #e0e0e0;
}

.uebersicht-text li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-size: 20px;
}

/* ===== KONTAKT SECTION ===== */
#kontakt {
  padding: 140px 80px;
  background-color: var(--light-pink);
}

.kontakt-container {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 4rem;
  align-items: flex-start;
}

.kontakt-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.kontakt-form h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-family: 'Georgia', 'Lora', serif;
  letter-spacing: -0.3px;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Georgia', 'Lora', serif;
  line-height: 1.6;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 8px rgba(216, 27, 96, 0.2);
}

.form-disclaimer {
  font-size: 13px;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.form-submit {
  padding: 1rem 2rem;
  background-color: var(--primary-accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Georgia', 'Lora', serif;
  text-transform: capitalize;
  letter-spacing: -0.3px;
}

.form-submit:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(136, 14, 79, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background-color: #f5f5f5;
  padding: 3rem 80px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
}

.footer-container {
  max-width: 1500px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.footer-column p, .footer-column a {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-column a {
  display: block;
  color: var(--primary-accent);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-dark);
}

.footer-policies {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-policies a {
  display: inline;
  color: var(--primary-accent);
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: var(--primary-dark);
}

.footer-disclaimer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.footer-message {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: center;
}

/* ===== MODALS / POPUPS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
}

.modal-close:hover {
  color: var(--primary-dark);
}

.modal h2 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.modal p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.modal ul {
  padding-left: 1.5rem;
}

.modal li {
  margin-bottom: 0.8rem;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Georgia', 'Lora', serif;
}

.cookie-btn-accept {
  background-color: var(--primary-accent);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-dark);
}

.cookie-btn-decline {
  background-color: var(--light-pink);
  color: var(--primary-dark);
  border: 1px solid var(--primary-accent);
}

.cookie-btn-decline:hover {
  background-color: #fff0f5;
}

.cookie-btn-more {
  background-color: transparent;
  color: var(--primary-accent);
  border: 1px solid var(--primary-accent);
}

.cookie-btn-more:hover {
  background-color: var(--light-pink);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .header-container {
    padding: 1.5rem 3rem;
  }

  .section-wrapper, #intro, #biochemie, #tabelle, #lebensmittel, #pflanzen, #einflussfaktoren, #vergleich, #faq, #hinweis, #abschluss, #uebersicht, #kontakt {
    padding: 100px 3rem;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  nav {
    gap: 1.5rem;
  }

  .biochemie-container {
    grid-template-columns: 1fr;
  }

  .lebensmittel-grid {
    grid-template-columns: 1fr;
  }

  .lebensmittel-item {
    grid-template-columns: 1fr;
  }

  .lebensmittel-item:nth-child(2n) {
    grid-template-columns: 1fr;
  }

  .lebensmittel-item:nth-child(2n) img {
    order: unset;
  }

  .lebensmittel-item:nth-child(2n) .lebensmittel-text {
    order: unset;
  }

  .pflanzen-grid {
    grid-template-columns: 1fr 1fr;
  }

  .einflussfaktoren-container {
    grid-template-columns: 1fr;
  }

  .vergleich-container {
    grid-template-columns: 1fr;
  }

  .uebersicht-container {
    grid-template-columns: 1fr;
  }

  .kontakt-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header-container {
    padding: 1rem 1.8rem;
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 24px;
  }

  nav {
    gap: 1rem;
    flex-direction: column;
  }

  nav a {
    font-size: 14px;
  }

  h1 {
    font-size: 32px;
    letter-spacing: -0.6px;
  }

  h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  h3 {
    font-size: 22px;
  }

  .section-wrapper, #intro, #biochemie, #tabelle, #lebensmittel, #pflanzen, #einflussfaktoren, #vergleich, #faq, #hinweis, #abschluss, #uebersicht, #kontakt {
    padding: 80px 1.8rem;
  }

  #hero {
    height: 400px;
    padding: 1.8rem;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .pflanzen-grid {
    grid-template-columns: 1fr;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
  }

  .section-wrapper, #intro, #biochemie, #tabelle, #lebensmittel, #pflanzen, #einflussfaktoren, #vergleich, #faq, #hinweis, #abschluss, #uebersicht, #kontakt {
    padding: 60px 1rem;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 15px;
  }

  p {
    max-width: 100%;
  }

  table {
    font-size: 13px;
  }

  table th, table td {
    padding: 0.8rem;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}
