:root {
  --primary-blue: #5B8BA3;
  --accent-beige: #C4B5A0;
  --accent-green: #A8D4C8;
  --accent-terra: #B8956F;
  --text-dark: #2C3E3F;
  --text-light: #F8F7F5;
  --border-light: #E8E3DD;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
}

nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

main {
  margin-top: 80px;
  width: 100%;
}

.section {
  padding: 4rem 2rem;
  width: 100%;
}

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

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.hero-section {
  background: linear-gradient(135deg, rgba(91, 139, 163, 0.85) 0%, rgba(168, 212, 200, 0.75) 100%),
    url('images/hero-fresh-produce.jpg') center/cover no-repeat;
  color: white;
  padding: 10rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-content h2 {
  color: var(--accent-beige);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0;
}

.grundlagen-section {
  background-color: white;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.grundlagen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.grundlagen-card {
  background-color: #FAFAF8;
  padding: 2rem;
  border-left: 4px solid var(--accent-beige);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grundlagen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.grundlagen-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.naehrstoffe-section {
  background-color: #F5F3F0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.naehrstoffe-content {
  order: 1;
}

.naehrstoffe-image {
  order: 2;
  width: 100%;
}

.naehrstoffe-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hydration-section {
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hydration-image {
  width: 100%;
}

.hydration-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hydration-content {
  order: 1;
}

.hydration-image {
  order: 2;
}

.kochmethoden-section {
  background: linear-gradient(135deg, #FBF9F7 0%, #F5F3F0 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cooking-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cooking-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

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

.cooking-card-content {
  padding: 1.5rem;
}

.cooking-card h3 {
  margin-bottom: 0.75rem;
}

.cooking-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

.mythen-section {
  background-color: #F5F3F0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.myth-item {
  background-color: white;
  padding: 2rem;
  border-radius: 6px;
  border-top: 3px solid var(--accent-green);
  margin-bottom: 1.5rem;
}

.myth-label {
  display: inline-block;
  background-color: var(--accent-beige);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.themenbereiche-section {
  background-color: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.theme-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

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

.theme-card-overlay {
  background-color: var(--primary-blue);
  color: white;
  padding: 2rem;
}

.theme-card-overlay h3 {
  color: var(--accent-beige);
  margin-bottom: 0.75rem;
}

.theme-card-overlay p {
  color: white;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.bewegung-section {
  background-color: #F5F3F0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bewegung-image {
  width: 100%;
}

.bewegung-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bewegung-content {
  order: 1;
}

.bewegung-image {
  order: 2;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.mahlzeiten-section {
  background-color: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.meal-card {
  background-color: #FAFAF8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.meal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

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

.meal-card-content {
  padding: 1.75rem;
}

.meal-card h3 {
  margin-bottom: 1rem;
}

.meal-card ul {
  margin-left: 1.5rem;
}

.meal-card li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.kennzeichnungen-section {
  background-color: #F5F3F0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kennzeichnungen-image {
  width: 100%;
}

.kennzeichnungen-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.kennzeichnungen-content {
  order: 1;
}

.kennzeichnungen-image {
  order: 2;
}

.faq-section {
  background-color: white;
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.faq-toggle {
  display: inline-block;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-dark);
  line-height: 1.7;
}

.faq-answer.active {
  display: block;
}

.soft-cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.soft-cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.soft-cta-section p {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.kontakt-section {
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.kontakt-info {
  order: 1;
}

.kontakt-form {
  order: 2;
}

.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  margin-bottom: 0.75rem;
}

.info-block p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

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

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

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(91, 139, 163, 0.1);
}

.form-disclaimer {
  background-color: #FBF9F7;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  border-left: 3px solid var(--accent-terra);
}

button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--accent-terra);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(91, 139, 163, 0.3);
}

button:active {
  transform: translateY(0);
}

footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-beige);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #D0D0D0;
}

.footer-section a {
  color: #D0D0D0;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #B0B0B0;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-bottom: 0;
}

.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;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin-bottom: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0;
  width: auto;
}

.close-modal:hover {
  color: var(--primary-blue);
  transform: none;
  box-shadow: none;
}

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

.modal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.modal-body li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 999;
  border-top: 3px solid var(--accent-beige);
  display: none;
}

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

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.cookie-buttons .btn-secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-buttons .btn-secondary:hover {
  background-color: var(--accent-beige);
  border-color: var(--accent-beige);
  color: var(--text-dark);
}

.thank-you-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  z-index: 2500;
  text-align: center;
  display: none;
}

.thank-you-modal.show {
  display: block;
}

.thank-you-modal h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.thank-you-modal p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.thank-you-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2400;
}

.thank-you-backdrop.show {
  display: block;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero-section {
    padding: 5rem 2rem;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.1rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .naehrstoffe-section,
  .hydration-section,
  .bewegung-section,
  .kennzeichnungen-section {
    grid-template-columns: 1fr;
  }

  .naehrstoffe-image,
  .hydration-image,
  .bewegung-image,
  .kennzeichnungen-image {
    order: 1 !important;
  }

  .naehrstoffe-content,
  .hydration-content,
  .bewegung-content,
  .kennzeichnungen-content {
    order: 2 !important;
  }

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

  .kontakt-info {
    order: 1;
  }

  .kontakt-form {
    order: 2;
  }

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

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

  .cookie-buttons button {
    flex: 1;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .modal-content {
    width: 95%;
    margin: 20% auto;
  }
}

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

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  nav {
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 3rem 1.5rem;
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content h2 {
    font-size: 0.95rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section-container {
    padding: 0;
  }

  .grundlagen-grid,
  .kochmethoden-section,
  .themenbereiche-section,
  .mahlzeiten-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }

  .cookie-buttons {
    gap: 0.5rem;
  }

  .cookie-buttons button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
