/* =============================
   CSS RESET & NORMALIZE
   ============================= */
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.4;
  background: #F7F3ED;
  color: #273A28;
  font-family: 'Roboto', serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #273A28;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #DA965C;
  outline-offset: 2px;
}

/* ============
   TYPOGRAPHY
   ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #273A28;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 13px;
}
h4, h5, h6 {
  font-size: 1.2rem;
}
p, ul, ol {
  font-size: 1.06rem;
  line-height: 1.7;
  font-family: 'Roboto', serif;
  color: #273A28;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.9rem;
}

/* Proportional, refined spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(39,58,40,0.07), 0 1.5px 4px rgba(218,150,92,0.06);
}

/* ============
   CONTAINER & LAYOUT
   ============ */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 36px;
}
.text-section {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 13px;
  background: #fff;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(39,58,40,0.08);
  display: flex;
  flex-direction: column;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F3ED;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(39,58,40,0.10);
  margin-bottom: 24px;
  color: #273A28;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==============
   HEADER & NAV
   ============= */
header {
  background: #fff;
  border-bottom: 1.5px solid #e1ddd7;
  box-shadow: 0 3px 8px rgba(39,58,40,0.03);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.06rem;
  padding: 7px 2px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  color: #273A28;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7F3ED;
  color: #DA965C;
}
.main-nav .cta-btn {
  background: #DA965C;
  color: #fff;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 1.02rem;
  margin-left: 18px;
  transition: background 0.22s, color 0.22s, box-shadow 0.16s;
  box-shadow: 0 2px 9px rgba(218,150,92,0.13);
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #273A28;
  color: #DA965C;
}

/* Mobile menu toggle (burger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #273A28;
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 4px;
  margin-left: 14px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  background: #F7F3ED;
  color: #DA965C;
}

/* ========
   MOBILE MENU OVERLAY
   ======== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 35px rgba(39,58,40,0.10);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.38,1.03,.53,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #273A28;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus {
  background: #F7F3ED;
  color: #DA965C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.22rem;
  color: #273A28;
  padding: 12px 0;
  border-radius: 5px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F3ED;
  color: #DA965C;
}

/* HIDE desktop nav on mobile */
@media (max-width:1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============
   HERO & FEATURES
   ============ */
.feature-grid, .recipe-grid, .quick-recipe-list, .traditional-recipe-list, .values-list, .comfort-recipe-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}
.feature-grid > div, .recipe-grid > div, .values-list > div,
.quick-recipe-list > div, .traditional-recipe-list > div, .comfort-recipe-list > div {
  background: #fff;
  border-radius: 13px;
  padding: 24px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(39,58,40,0.07);
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.21s;
}
.feature-grid > div:hover, .recipe-grid > div:hover, .values-list > div:hover,
.quick-recipe-list > div:hover, .traditional-recipe-list > div:hover, .comfort-recipe-list > div:hover {
  box-shadow: 0 8px 32px rgba(39,58,40,0.10);
}
.feature-grid img {
  height: 38px;
  margin-bottom: 15px;
}

/* ===========
   LISTS, TAGS
   =========== */
ul, ol {
  margin-bottom: 26px;
  margin-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-family: 'Roboto', serif;
}
.recipe-list {
  list-style: none;
  margin-left: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recipe-list li {
  display: flex;
  align-items: center;
  font-size: 1.04rem;
  gap: 12px;
}
.recipe-list .tag {
  background: #DA965C;
  color: #fff;
  font-size: 0.92rem;
  padding: 3px 11px;
  border-radius: 10px;
}
.tag-badge {
  background: #273A28;
  color: #fff;
  font-size: 0.90rem;
  padding: 3px 11px;
  border-radius: 9px;
  margin: 8px 0;
  margin-right: 10px;
  font-family: 'Montserrat', serif;
}

/* Origin note (traditionelle-gerichte special) */
.origin-note p {
  background: #F7F3ED;
  border-left: 3px solid #DA965C;
  padding: 12px 16px;
  border-radius: 8px;
  font-style: italic;
  color: #273A28;
  margin-bottom: 0;
}

/* ===========
   FILTERS & SORT
   =========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 18px;
  align-items: center;
}
.filters label {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  color: #273A28;
  cursor: pointer;
}
.filters input[type="checkbox"] {
  accent-color: #DA965C;
  margin-right: 4px;
  width: 17px;
  height: 17px;
}
.sort-options {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.sort-options button {
  background: #F7F3ED;
  color: #273A28;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.sort-options button:hover, .sort-options button:focus {
  background: #DA965C;
  color: #fff;
}

/* ============
   SEARCH FIELD
   ============ */
input[type="search"] {
  border: 1.5px solid #e1ddd7;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #fff;
  width: 100%;
  max-width: 340px;
  transition: border 0.2s;
  font-family: 'Roboto', serif;
}
input[type="search"]:focus {
  border-color: #DA965C;
  outline: none;
}

/* ============
   BUTTONS & CTAs
   ============ */
.cta-btn {
  display: inline-block;
  background: #DA965C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 16px rgba(218,150,92,0.13);
  cursor: pointer;
  margin-top: 19px;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #273A28;
  color: #DA965C;
  box-shadow: 0 8px 32px rgba(39,58,40,0.18);
  outline: none;
}
.cta-link {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #DA965C;
  font-size: 1.04rem;
  padding-bottom: 2px;
  border-bottom: 2px solid #DA965C;
  transition: color 0.18s, border-color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: #273A28;
  border-color: #273A28;
}

/* ============
   TESTIMONIALS
   ============ */
.testimonial-card {
  background: #fff;
  color: #273A28;
  border-left: 4px solid #DA965C;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  box-shadow: 0 4px 24px rgba(39,58,40,0.14);
  max-width: 600px;
  margin-bottom: 24px;
}
.testimonial-card strong {
  color: #DA965C;
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
  font-family: 'Montserrat', serif;
}
/* ============
  FOOTER
  ============ */
footer {
  background: #F7F3ED;
  border-top: 1.5px solid #e1ddd7;
  box-shadow: 0 -2px 10px rgba(39,58,40,0.05);
  padding: 36px 0 0 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #273A28;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 7px 7px 7px 0;
  transition: background 0.19s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #DA965C;
  background: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  color: #273A28;
  font-family: 'Roboto', serif;
}
.footer-contact img {
  height: 16px;
  width: 16px;
  vertical-align: text-bottom;
  margin-right: 7px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}

/* ============
   CONTACT DETAILS
   ============ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(39,58,40,0.07);
  padding: 26px 23px;
  margin-bottom: 22px;
}
.contact-details img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}

/* ============
   MISCELLANEOUS LAYOUTS
   ============ */
.serving-suggestions ul {
  list-style: disc inside;
  background: #F7F3ED;
  border-radius: 8px;
  padding: 14px 18px 10px 23px;
}
.editorial-team {
  margin-top: 20px;
  font-family: 'Montserrat', serif;
}

/* ============
   RESPONSIVE DESIGN
   ============ */
@media (max-width: 1000px) {
  .feature-grid, .recipe-grid, .quick-recipe-list, .traditional-recipe-list, .values-list, .comfort-recipe-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .recipe-grid > div, .values-list > div,
  .quick-recipe-list > div, .traditional-recipe-list > div, .comfort-recipe-list > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .section {
    padding: 25px 7px;
    margin-bottom: 36px;
  }
  .content-grid {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 16px;
    font-size: 0.96rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============
   ANIMATIONS & MICRO-INTERACTIONS
   ============ */
.card, .feature-grid > div, .values-list > div {
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .feature-grid > div:hover, .values-list > div:hover {
  box-shadow: 0 7px 29px rgba(39,58,40,0.14);
  transform: translateY(-3px) scale(1.02);
}
.cta-btn, .sort-options button {
  transition: background 0.22s, color 0.22s, box-shadow 0.19s, transform 0.16s;
}
.cta-btn:active, .sort-options button:active {
  transform: scale(0.96);
}
.mobile-menu, .mobile-menu.open {
  transition: transform 0.33s cubic-bezier(.38,1.03,.53,1);
}

/* ============== COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #273A28;
  box-shadow: 0 -6px 24px rgba(39,58,40,0.10);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px 15px 12px;
  width: 100%;
  border-top: 2px solid #DA965C;
  animation: cookie-banner-in 0.52s cubic-bezier(.37,1.15,.42,.93);
}
@keyframes cookie-banner-in {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 670px;
  font-size: 1.01rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  padding: 9px 22px;
  margin-top: 0;
}
.cookie-banner .accept {
  background: #DA965C;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #273A28;
  color: #DA965C;
}
.cookie-banner .reject {
  background: #e7e1da;
  color: #273A28;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F7F3ED;
  color: #DA965C;
}
.cookie-banner .settings {
  background: transparent;
  color: #DA965C;
  text-decoration: underline;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F7F3ED;
  color: #273A28;
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,58,40,0.30);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-backdrop-in 0.45s cubic-bezier(.37,1.05,.62,1);
}
@keyframes cookie-modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(39,58,40,0.17);
  max-width: 440px;
  min-width: 270px;
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  z-index: 2211;
  animation: cookie-modal-in 0.52s cubic-bezier(.37,1.03,.42,.94);
}
@keyframes cookie-modal-in {
  from { transform: translateY(30px) scale(0.94); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 2px;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #273A28;
  cursor: pointer;
  margin-bottom: 7px;
  margin-top: -18px;
  margin-right: -8px;
}
.cookie-modal .modal-close:focus {
  background: #F7F3ED;
  color: #DA965C;
  border-radius: 5px;
}
.cookie-modal .cookie-switches {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 10px 0 19px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', serif;
  color: #273A28;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  cursor: pointer;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #DA965C;
  width: 18px; height: 18px;
}
.cookie-modal .essential[disabled], .cookie-modal .essential[readonly] {
  filter: grayscale(50%);
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .modal-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 21px;
}
.cookie-modal button {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  padding: 10px 23px;
}
.cookie-modal .accept {
  background: #DA965C;
  color: #fff;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #273A28;
  color: #DA965C;
}
.cookie-modal .reject {
  background: #e7e1da;
  color: #273A28;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: #F7F3ED;
  color: #DA965C;
}
.cookie-modal .save {
  background: #273A28;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #DA965C;
  color: #fff;
}

/* ============
   Z-INDEX HIERARCHY
   ============ */
header {
  z-index: 1000;
}
.mobile-menu {
  z-index: 1100;
}
.cookie-banner {
  z-index: 2001;
}
.cookie-modal-backdrop {
  z-index: 2200;
}

/* ============
   PRINT OVERRIDE
   ============ */
@media print {
  header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
}
