/* NaturGefühl - Main CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #F5FBFA;
  --accent1: #3A6F64;
  --accent2: #76B5A6;
  --accent3: #D4C23A;
  --text: #2c3e50;
  --light-bg: #fafbfa;
  --border-light: #e8ebe9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', 'Trebuchet MS', sans-serif;
  background-color: var(--primary);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.4;
  color: var(--text);
}

h1 {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

.italic-accent {
  font-style: italic;
  color: var(--accent1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 251, 250, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--accent2);
  transition: color 0.3s ease;
}

nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

body {
  padding-top: 70px;
}

/* Hero Section */
#hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -70px;
  padding-top: 70px;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(245, 251, 250, 0.3);
  z-index: 1;
}

#hero-content {
  position: relative;
  z-index: 2;
  color: var(--text);
  max-width: 800px;
}

#hero h1 {
  color: var(--text);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
  padding: 160px 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

section.alt {
  background-color: var(--light-bg);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.two-col img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.two-col.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-col.reverse .text {
  order: 2;
}

.two-col.reverse img {
  order: 1;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(58, 111, 100, 0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-content {
  padding: 1.8rem;
}

.product-card h4 {
  margin-bottom: 1rem;
}

.product-card p {
  margin-bottom: 0;
}

/* Table */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--accent1);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent2);
}

.faq-toggle {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text);
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

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

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

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

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

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(118, 181, 166, 0.1);
}

.form-disclaimer {
  background: var(--light-bg);
  border-left: 4px solid var(--accent3);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
}

button, .btn {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(58, 111, 100, 0.2);
}

button:active, .btn:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a, .footer-section p {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent3);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-policies {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-policies a {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

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

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

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

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

.modal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--accent1);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1500;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-height: 150px;
  overflow-y: auto;
}

.cookie-banner.active {
  display: flex;
}

.cookie-content {
  flex: 1;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

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

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-buttons .btn-secondary {
  background: var(--border-light);
  color: var(--text);
}

.cookie-buttons .btn-secondary:hover {
  background: var(--accent1);
  color: white;
}

/* Thank You Modal */
.thank-you-content {
  text-align: center;
}

.thank-you-icon {
  font-size: 3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

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

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  #hero h1 {
    font-size: 2.2rem;
  }

  #hero p {
    font-size: 1.1rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  section {
    padding: 80px 1.5rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col.reverse .text {
    order: 1;
  }

  .two-col.reverse img {
    order: 2;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-buttons button {
    flex: 1;
  }

  .modal-content {
    width: 90%;
    padding: 1.5rem;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
    padding-top: 60px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  header {
    padding: 0.8rem 0;
  }

  .header-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  body {
    padding-top: 60px;
  }

  section {
    padding: 60px 1rem;
  }

  #hero {
    padding-top: 60px;
  }

  .table-container {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.7rem;
  }

  .modal-content {
    padding: 1.2rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent1);
}

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

.max-width-section {
  max-width: 1280px;
  margin: 0 auto;
}

.highlight {
  background: rgba(212, 194, 58, 0.15);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}
