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

:root {
  --color-primary: #F4FAF9;
  --color-accent-dark: #3F7265;
  --color-accent-mid: #78B8A7;
  --color-accent-gold: #D6C13C;
  --color-text-dark: #1a1a1a;
  --color-text-light: #4a4a4a;
  --color-border: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent-dark);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-accent-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

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

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

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: rgba(244, 250, 249, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav a {
  margin-left: 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}

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

/* SECTIONS */
section {
  padding: 180px 0;
}

section.hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInScale 1s ease-out;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* CONTAINER */
.container-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

section.wide {
  width: 100%;
}

/* ANIMATIONS */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
}

/* KRAFT SECTION */
#kraft {
  background-color: white;
}

#kraft .container-main {
  max-width: 1100px;
}

#kraft h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#kraft p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* TWO COLUMN BLOCK */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.two-column img:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* KRAFTQUELLEN */
#kraftquellen {
  background-color: white;
}

#kraftquellen h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#kraftquellen .two-column {
  gap: 3rem;
}

/* PRODUKTE */
#produkte {
  background-color: var(--color-primary);
}

#produkte h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.product-card h3 {
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.product-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* BEDEUTUNG */
#bedeutung {
  background-color: white;
}

#bedeutung h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.infographic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.info-item {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(120, 184, 167, 0.1) 100%);
  border-left: 4px solid var(--color-accent-mid);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.info-item h3 {
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* WISSENSCHAFT */
#wissenschaft {
  background-color: var(--color-primary);
}

#wissenschaft h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.fact-box {
  background: white;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-top: 3px solid var(--color-accent-gold);
  transition: transform 0.3s ease;
}

.fact-box:hover {
  transform: translateY(-5px);
}

.fact-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* TABELLE */
#tabelle {
  background-color: white;
}

#tabelle h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.table-wrapper {
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

table th {
  background-color: var(--color-accent-dark);
  color: white;
  padding: 1.5rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--color-accent-dark);
}

table td {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

table tbody tr:nth-child(even) {
  background-color: rgba(244, 250, 249, 0.8);
}

table tbody tr:hover {
  background-color: rgba(120, 184, 167, 0.15);
}

/* ALLTAG */
#alltag {
  background-color: var(--color-primary);
}

#alltag .two-column {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

#alltag h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.alltag-list {
  list-style: none;
}

.alltag-list li {
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--color-text-light);
  line-height: 1.8;
}

.alltag-list li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent-mid);
  font-weight: bold;
  font-size: 1.5rem;
}

/* GESCHICHTE */
#geschichte {
  background-color: white;
}

#geschichte .two-column {
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

#geschichte h2 {
  text-align: center;
  margin-bottom: 3rem;
  grid-column: 1 / -1;
}

#geschichte .two-column img {
  grid-column: 2;
  grid-row: 2;
}

#geschichte .text-content {
  grid-column: 1;
  grid-row: 2;
}

/* FAQ */
#faq {
  background-color: var(--color-primary);
}

#faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.faq-item {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem 2rem;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-text-dark);
  user-select: none;
  border-left: 4px solid var(--color-accent-mid);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(120, 184, 167, 0.08);
}

.faq-question.active {
  background-color: rgba(120, 184, 167, 0.15);
  color: var(--color-accent-dark);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--color-accent-mid);
}

.faq-icon.active {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(244, 250, 249, 0.5);
}

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

.faq-answer p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* HINWEIS */
#hinweis {
  background-color: white;
  border: 2px solid var(--color-accent-dark);
  border-radius: 8px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 3rem;
}

#hinweis h3 {
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
}

#hinweis p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* FINAL */
#final {
  background-color: var(--color-primary);
  text-align: center;
  padding: 6rem 2rem;
}

#final h2 {
  margin-bottom: 2rem;
}

#final p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
}

/* KONTAKT */
#kontakt {
  background-color: white;
}

#kontakt h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.kontakt-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.kontakt-info h3 {
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.kontakt-info h3:first-child {
  margin-top: 0;
}

.kontakt-info p {
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

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

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

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(63, 114, 101, 0.1);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(244, 250, 249, 0.8);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 4px;
}

/* BUTTONS */
button.btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

button.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent-mid) 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(63, 114, 101, 0.3);
}

button.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(63, 114, 101, 0.4);
}

button.btn-primary:active {
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

button.btn-secondary {
  background-color: var(--color-accent-gold);
  color: var(--color-text-dark);
  box-shadow: 0 8px 20px rgba(214, 193, 60, 0.2);
}

button.btn-secondary:hover {
  background-color: #c5af2e;
  transform: translateY(-3px);
}

/* FOOTER */
footer {
  background-color: var(--color-accent-dark);
  color: white;
  padding: 3rem 0;
  margin-top: 6rem;
}

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

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

.footer-compliance {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-accent-gold);
  font-weight: 600;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
  z-index: 999;
  border-top: 2px solid var(--color-accent-dark);
  display: none;
}

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

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

.cookie-text {
  flex: 1;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.btn-accept:hover {
  background-color: var(--color-accent-mid);
}

.btn-decline {
  background-color: transparent;
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent-dark);
}

.btn-decline:hover {
  background-color: var(--color-primary);
}

.btn-policy {
  background-color: transparent;
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent-dark);
  text-decoration: underline;
}

.btn-policy:hover {
  background-color: var(--color-primary);
}

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

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

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

.modal-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease-out;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
  color: var(--color-accent-dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--color-accent-dark);
}

.modal-body {
  color: var(--color-text-light);
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--color-accent-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.modal-body li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.modal-body li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent-mid);
}

/* THANK YOU MODAL */
#thank-you-modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

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

.thank-you-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease-out;
}

.thank-you-content h2 {
  color: var(--color-accent-mid);
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
  
  section { padding: 120px 0; }
  
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .infographic { grid-template-columns: 1fr; }
  .two-column { gap: 2rem; }
  
  .kontakt-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  footer .container-main { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  
  section { padding: 80px 2rem; }
  
  nav a { margin-left: 1rem; font-size: 0.85rem; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  
  .products-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; gap: 1.5rem; }
  .two-column.reverse { direction: ltr; }
  
  .infographic { grid-template-columns: 1fr; gap: 1.5rem; }
  
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
  
  .cookie-buttons button {
    flex: 1;
  }
  
  .modal-content {
    width: 95%;
    padding: 2rem;
  }
  
  .table-wrapper {
    font-size: 0.9rem;
  }
  
  table th, table td {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  
  body { font-size: 15px; }
  
  section { padding: 60px 1rem; }
  
  .header-container {
    padding: 0 1rem;
  }
  
  nav a {
    display: none;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .container-main {
    padding: 0 1rem;
  }
  
  .product-card {
    padding: 1.5rem;
  }
  
  .product-card img {
    height: 200px;
  }
  
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 0;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
