/* ========== CSS RESET & NORMALIZATION ========== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; background: #FFF8F0; }
ol, ul { list-style: none; }
a { background: transparent; color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ========== VARIABLES ========== */
:root {
  --primary: #355E3B;
  --secondary: #8FBC8F;
  --accent: #FFF8F0;
  --text-dark: #222;
  --text-light: #fff;
  --gradient: linear-gradient(90deg, #8FBC8F 0%, #355E3B 100%);
  --shadow-card: 0 2px 14px 0 rgba(53,94,59,0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --transition: all 0.25s cubic-bezier(.55,.19,.16,.86);
}

/* ========== TYPOGRAPHY ========== */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  font-size: 16px;
  background: var(--accent);
}
@media (max-width: 600px) { body { font-size: 15px; } }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1.12rem; font-weight: 500; }
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

/* ========== GENERAL CONTAINER/STYLES ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== HEADER / NAVIGATION ========== */
header {
  background: var(--gradient);
  box-shadow: 0 3px 16px 0 rgba(53,94,59,0.06);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 20px 20px 18px 20px;
}
header a img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--text-light);
  font-family: 'Oswald', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 4px;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255,255,255,0.10);
  outline: none;
}

.cta-btn {
  background: var(--secondary);
  color: var(--text-dark);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 11px 31px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 14px 0 rgba(53,94,59,0.08);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  display: inline-block;
  margin-left: 16px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 6px 22px 0 rgba(53,94,59,0.11);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1002;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  border-radius: 50%;
  padding: 10px 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--accent);
  box-shadow: 0 3px 22px 0 rgba(53,94,59,0.18);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.52,.32,.37,1.1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--primary);
  color: var(--accent);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 10px 14px;
  margin: 24px 0 0 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(53,94,59,0.13);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus { outline: 3px solid var(--secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 50px 0 0 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  padding: 7px 0;
  border-radius: var(--radius-md);
  transition: background 0.17s;
  min-width: 170px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--text-dark);
}
@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none !important;  /* Hide normal nav on mobile */
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== HERO & MAIN SECTIONS ========== */
section {
  width: 100%;
  background: #FFF8F0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px 0 rgba(53,94,59,0.06);
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 800px) {
  section {
    border-radius: var(--radius-md);
    padding: 30px 0;
    margin-bottom: 46px;
  }
}

/* Section intro gradient background for first section */
section:first-of-type {
  background: linear-gradient(135deg, #FFF8F0 60%, #8FBC8F 100%);
  box-shadow: 0 6px 38px 0 rgba(53,94,59,0.11);
}

/* ========== FLEXBOX LAYOUT PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 26px 26px 20px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.21s, transform 0.24s;
}
.card:hover {
  box-shadow: 0 7px 30px 0 rgba(53,94,59,0.18);
  transform: translateY(-5px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* ========== FEATURE LISTS & RECIPE LISTS ========== */
.feature-grid, .tip-grid, .popular-traditional-recipes, .faq-list, .recipe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .tip-grid li, .popular-traditional-recipes li, .faq-list li, .recipe-list li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 27px 22px 19px 22px;
  flex: 1 1 230px;
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.2s;
}
.feature-grid li:hover, .tip-grid li:hover, .recipe-list li:hover,
.popular-traditional-recipes li:hover, .faq-list li:hover {
  box-shadow: 0 7px 24px 0 rgba(53,94,59,0.14);
  transform: translateY(-3px);
}

.feature-grid img, .tip-grid img, .infobox img, .popular-traditional-recipes img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

/* Region Menu (traditionelle-rezepte) */
.region-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 1.01rem;
}
.region-menu a {
  color: var(--primary);
  padding: 4px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.region-menu a:hover { background: var(--secondary); }

/* Infobox grid (Tipps & Tricks) */
.infobox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.infobox {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 21px 15px 14px 15px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.16s, transform 0.2s;
}
.infobox:hover { box-shadow: 0 6px 19px 0 rgba(53,94,59,0.11); }

/* ========== SPECIAL LABELS & BADGES ========== */
.featured-label {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 3px 9px 3px 9px;
  margin-bottom: 7px;
  margin-right: 10px;
  letter-spacing: 0.03em;
}

/* ========== FOOTER ========== */
footer {
  background: #fff;
  box-shadow: 0 -2px 12px 0 rgba(53,94,59,0.05);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 46px;
  padding: 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 38px 20px 18px 20px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 9px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.footer-nav a:hover { background: var(--secondary); }
.footer-contact {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 5px;
}
.footer-contact img {
  height: 17px; width: 17px; vertical-align: middle; margin-right: 5px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-social a {
  display: flex; align-items: center; border-radius: 50%; padding: 7px;
  background: var(--secondary);
  transition: background 0.15s;
}
.footer-social a:hover { background: var(--primary); }
.footer-social img {
  width: 21px; height: 21px;
  filter: brightness(0.20) contrast(3);
}
.footer-copyright {
  width: 100%;
  font-size: 0.88rem;
  color: #89a393;
  margin-top: 22px;
}

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 30px 15px 12px 15px;
  }
}

/* ========== RESPONSIVE LAYOUTS ========== */
@media (max-width: 1024px) {
  .container { padding: 0 14px; }
  section { padding: 36px 0; }
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section, section { padding: 22px 0; margin-bottom: 32px; border-radius: var(--radius-md); }
  .card, .feature-grid li, .tip-grid li, .recipe-list li, .infobox {
    padding: 17px 10px 10px 15px;
    min-width: 0;
  }
}

/* ========== LEGAL, CONTACT, TEAM BIOS, ETC. ========== */
.legal-section {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 25px 20px 20px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details {
  background: var(--secondary);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 16px 17px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.map img {
  width: 80px;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 10px 0;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.team-bios > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 200px;
  padding: 18px 14px 14px 15px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-values ul {
  margin-top: 7px;
  margin-bottom: 0;
  padding-left: 1em;
  list-style: disc;
}
.team-values li {
  margin-bottom: 2px;
}

/* ========== THANK YOU MESSAGE, NEXT STEPS ========== */
.thank-you-message {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 22px 13px 22px;
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.next-steps {
  margin: 18px 0 0 0;
  display: flex;
  align-items: center;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: var(--gradient);
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 11vw 22px 11vw;
  box-shadow: 0 -7px 24px 0 rgba(53,94,59,0.12);
  z-index: 1500;
  font-size: 1.02rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.52,.32,.37,1.1), opacity 0.3s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  flex: 1 1 40vw;
  max-width: 480px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn-settings {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  padding: 9px 23px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-btn {
  background: #fff;
  color: var(--primary);
  font-weight: bold;
  margin-right: 6px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--text-dark);
}
.cookie-btn.reject {
  background: #e59191;
  color: var(--text-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bf272c;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--secondary);
  color: var(--text-dark);
  border-color: var(--secondary);
}
@media (max-width: 950px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 5vw 14px 5vw;
    font-size: 0.98rem;
  }
  .cookie-banner-actions { width: 100%; }
}
@media (max-width: 600px) {
  .cookie-banner {
    font-size: 0.94rem;
    padding: 11px 8px 11px 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 1600;
  background: rgba(53,94,59,0.19);
  backdrop-filter: blur(3px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  min-width: 290px;
  max-width: 96vw;
  background: #fff;
  color: var(--primary);
  z-index: 1700;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 50px 0 rgba(53,94,59,0.15);
  padding: 35px 30px 32px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.32s cubic-bezier(.49,.09,.47,1.13);
}
.cookie-modal.active {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.0);
}
.cookie-modal-header { font-family:'Oswald'; font-size:1.12rem; margin-bottom:14px; }
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.cookie-modal-category label {
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-switch {
  margin-left: 18px;
  width: 40px;
  height: 23px;
  background: #d6e6d6;
  border-radius: 15px;
  display: inline-block;
  position: relative;
  transition: background 0.18s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 19px; height: 19px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.18s, background 0.17s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--primary);
  left: 19px;
}
.cookie-modal-footer {
  margin-top: 23px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-btn {
  font-family: 'Oswald'; font-size: 1rem;
  background: var(--secondary);
  color: var(--text-dark);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.17s;
  margin-right: 9px;
}
.cookie-modal-btn.close {
  background: #ececec;
  color: var(--primary);
}
.cookie-modal-btn:hover,
.cookie-modal-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* ========== CALL-TO-ACTION BUTTONS ETC. ========== */
a.cta-btn {
  display: inline-block;
  text-align: center;
}
a.cta-btn:active { transform: scale(0.98); }

/* ========== GENERAL UTILITY CLASSES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.space-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animated-fadeInUp { animation: fadeInUp 0.8s ease both; }

/* ========== OVERRIDES & SPECIALS ========== */
/* Ensure proper margins between all cards, lists, sections */
.feature-grid li:not(:last-child), .tip-grid li:not(:last-child), .faq-list li:not(:last-child), .recipe-list li:not(:last-child), .popular-traditional-recipes li:not(:last-child), .infobox:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}

/* Ensure white text in main hero gradient, but dark text in testimonial/review cards */
section:first-of-type h1, section:first-of-type p, section:first-of-type a {
  color: var(--primary)!important;
  text-shadow: 0 2px 10px rgba(255,255,255,0.22);
}

.testimonial-card, .recipe-list li, .faq-list li, .popular-traditional-recipes li {
  color: #222;
  background: #fff;
}

/* --- Placeholder input styles --- */
input[type=text], input[type=email], textarea {
  border: 1px solid #b5d1b5;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--primary);
  background: #f8fcf8;
  margin-bottom: 16px;
  transition: border 0.16s;
}
input:focus, textarea:focus { border: 1.5px solid var(--primary); outline: none; }

/* --- Hide scrollbar on mobile menu overlay (beauty only) --- */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- For accessibility, always visible focus outlines --- */
a:focus, button:focus, input:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #e9f6e9;
}


/* ========== END: STYLE.CS ========== */
