:root {
  --color-primary-light: #e8f0fe;
  --color-primary-dark: #1565c0;
  --color-primary-darker: #0b3d91;
  --color-white: #ffffff;
  --color-light-bg: #f0f4ff;
  --color-text: #1a2533;
  --color-text-secondary: #4a5f7f;
  --color-border-light: #e0e8f2;
  --color-shadow: rgba(26, 37, 51, 0.08);
  --color-shadow-dark: rgba(26, 37, 51, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-white);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DIN Next Pro', 'Helvetica Now', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--color-text);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-rendering: geometricPrecision;
}

h1 {
  font-size: 78px;
  margin-bottom: 2rem;
  font-weight: 800;
}

h2 {
  font-size: 52px;
  margin-bottom: 1.8rem;
  margin-top: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 36px;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  max-width: 740px;
  color: var(--color-text);
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0);
  padding: 1.5rem 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px var(--color-shadow);
}

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

@media (max-width: 768px) {
  .header-container {
    padding: 0 28px;
  }
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.logo:hover {
  color: var(--color-primary-darker);
}

nav a {
  margin: 0 2rem;
  font-size: 16px;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

@media (max-width: 768px) {
  nav {
    display: none;
  }
}

section {
  padding: 140px 0;
  max-width: 100%;
}

.section-container {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .section-container {
    padding: 0 28px;
  }
}

.hero {
  background: linear-gradient(rgba(21, 101, 192, 0.3), rgba(11, 61, 145, 0.4)), url('images/hero.jpg') center/cover no-repeat;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0;
  text-align: center;
  min-height: 600px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.intro {
  background-color: var(--color-white);
}

.biochem {
  background-color: var(--color-primary-light);
  padding: 140px 0;
}

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

@media (max-width: 768px) {
  .biochem .section-container {
    grid-template-columns: 1fr;
  }
}

.biochem-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
  transform: translateX(-5%);
}

.tabelle {
  background-color: var(--color-white);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  max-width: 100%;
}

thead {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

th, td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

tbody tr:hover {
  background-color: var(--color-primary-light);
}

.lebensmittel {
  background-color: var(--color-white);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .food-grid {
    grid-template-columns: 1fr;
  }
}

.food-item {
  padding: 1.5rem;
  border-left: 4px solid var(--color-primary-dark);
  background-color: var(--color-light-bg);
  border-radius: 4px;
}

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

.food-item ul {
  margin-left: 2rem;
}

.food-item li {
  margin-bottom: 0.8rem;
}

.einflussfaktoren {
  background-color: var(--color-primary-light);
}

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

@media (max-width: 768px) {
  .einflussfaktoren .section-container {
    grid-template-columns: 1fr;
  }
}

.einflussfaktoren-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
}

.vergleich {
  background-color: var(--color-white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-column {
  padding: 2rem;
  border-radius: 8px;
}

.comparison-column.natural {
  background-color: #f0f8f0;
  border-left: 4px solid #2e7d32;
}

.comparison-column.enriched {
  background-color: #f8f0f0;
  border-left: 4px solid #c62828;
}

.comparison-column h4 {
  font-size: 20px;
  margin-bottom: 1rem;
}

.faq {
  background-color: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--color-primary-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.25s ease;
}

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

.faq-toggle {
  font-size: 20px;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), padding 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 1.5rem;
  background-color: var(--color-white);
}

.hinweis {
  background-color: #fff3cd;
  border-left: 4px solid #ff9800;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.hinweis h2 {
  font-size: 24px;
  margin-top: 0;
}

.abschluss {
  background-color: var(--color-white);
}

.uebersicht {
  background-color: var(--color-primary-light);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

.overview-item {
  padding: 1.5rem;
  background-color: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  text-align: center;
}

.overview-item h4 {
  font-size: 18px;
  margin-bottom: 0.8rem;
  color: var(--color-primary-dark);
}

.kontakt {
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background-color: var(--color-light-bg);
  padding: 2rem;
  border-radius: 8px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

button {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1rem 2rem;
  border: 1px solid var(--color-primary-dark);
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

button:hover {
  background-color: var(--color-primary-darker);
  border-color: var(--color-primary-darker);
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-primary-dark);
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--color-primary-darker);
}

footer {
  background-color: var(--color-primary-darker);
  color: var(--color-white);
  padding: 60px 0 40px;
}

footer .section-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  footer .section-container {
    grid-template-columns: 1fr;
  }
}

footer h4 {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 1rem;
}

footer p {
  font-size: 14px;
  margin-bottom: 0.8rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.25s ease;
}

footer a:hover {
  color: var(--color-white);
}

.footer-info {
  font-size: 14px;
  padding: 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .footer-info {
    padding: 0 28px;
  }
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links button {
  background: none;
  border: none;
  color: #ccc;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.footer-links button:hover {
  color: var(--color-white);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  animation: fadeIn 0.25s ease;
}

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

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

.modal-content {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

@media (max-width: 768px) {
  .modal-content {
    padding: 2rem;
    margin: 1rem;
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

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

.modal-content h2 {
  margin-top: 0;
  padding-right: 2rem;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
}

.modal-content ul,
.modal-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.modal-content li {
  margin-bottom: 0.8rem;
  font-size: 16px;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.modal-footer button {
  flex: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1.5rem;
  display: none;
  z-index: 999;
  animation: slideUp 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

@media (max-width: 768px) {
  .cookie-container {
    padding: 0 28px;
    flex-direction: column;
    align-items: stretch;
  }
}

.cookie-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .cookie-buttons {
    flex-direction: column;
  }
}

.cookie-buttons button {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
}

.cookie-buttons .btn-accept {
  background-color: #4caf50;
  border-color: #4caf50;
}

.cookie-buttons .btn-accept:hover {
  background-color: #45a049;
}

.cookie-buttons .btn-decline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.cookie-buttons .btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.image-wrapper {
  display: inline-block;
  max-width: 100%;
}

.image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.image-wrapper:hover img {
  transform: scale(1.04);
  box-shadow: 0 8px 24px var(--color-shadow-dark);
}

.text-intro {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.cta-link {
  color: var(--color-primary-dark);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.25s ease;
  cursor: pointer;
}

.cta-link:hover {
  color: var(--color-primary-darker);
}

.message {
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.info {
  background-color: #cfe5ff;
  color: #084298;
  border: 1px solid #b6d4fe;
}

.section-title {
  font-size: 48px;
  margin-bottom: 2rem;
}

.content-image {
  width: 60%;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .content-image {
    width: 100%;
  }
}
