/* --- CSS RESET & BASE --- */
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;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  background: #FAF7F2;
  color: #385838;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #385838;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #AE3B22;
  text-decoration: underline;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', Times, serif;
  color: #385838;
  margin-bottom: 16px;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-top: 16px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #566056;
  margin-bottom: 24px;
}

p {
  margin-bottom: 14px;
  color: #385838;
}

strong {
  font-weight: 600;
}

/* --- CONTAINER --- */
.container {
  max-width: 1140px;
  padding: 0 16px;
  margin: 0 auto;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 820px;
  padding: 0;
}

/* --- SECTIONS & SPACING --- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(56, 88, 56, 0.06);
  position: relative;
}

main > section.hero {
  background: #E4CDA1;
  border-radius: 0 0 32px 32px;
  padding: 64px 20px 48px 20px;
  margin-bottom: 48px;
  box-shadow: none;
}

.highlights-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}
.highlights-list li:before {
  content: '\2022';
  color: #385838;
  font-weight: bold;
  display: inline-block;
  width: 14px;
  margin-left: -18px;
  font-size: 1.2em;
  vertical-align: middle;
}

/* --- FLEXBOX LAYOUTS --- */
.header-flex {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 80px;
}

.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0 36px 0;
}

.card-container, .card-grid, .features-grid, .recipe-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 20px 0 0 0;
}
.features-grid > div, .recipe-list > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #FCF8F1;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(56, 88, 56, 0.04);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.features-grid > div:hover, .recipe-list > div:hover {
  box-shadow: 0 4px 28px 0 rgba(56, 88, 56, 0.09);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(56, 88, 56, 0.04);
  padding: 24px;
}

.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: #F8F5EC;
  box-shadow: 0 2px 16px 0 rgba(56, 88, 56, 0.06);
  border-radius: 12px;
  margin-bottom: 20px;
  color: #233423;
  font-style: italic;
  flex-direction: column;
  align-items: flex-start;
  border-left: 6px solid #E4CDA1;
}
.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #233423;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #7E5F37;
  font-style: normal;
}

.confirmation-card {
  background: #F5FAF6;
  border-radius: 14px;
  padding: 38px 24px 30px 24px;
  text-align: center;
  box-shadow: 0 1px 8px 0 rgba(48,80,48,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  margin-top: 24px;
  max-width: 400px;
}

/* --- BUTTONS --- */
.cta-button, .confirmation-card .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #385838;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  border-radius: 30px;
  padding: 12px 32px;
  border: none;
  outline: none;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(56,88,56,0.04);
  margin-top: 20px;
  margin-bottom: 12px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus, .confirmation-card .cta-button:hover, .confirmation-card .cta-button:focus  {
  background-color: #AE3B22;
  color: #fff;
  box-shadow: 0 2px 20px 0 rgba(174,59,34,0.07);
}

/* --- NAVIGATION --- */
header {
  background: #FAF7F2;
  box-shadow: 0 2px 8px 0 rgba(232,205,161,0.06);
  position: relative;
  z-index: 1020;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  color: #385838;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 4px 0 4px 0;
  transition: color 0.17s;
  border-radius: 3px;
}
header nav a:hover, header nav a:focus {
  color: #AE3B22;
  background: rgba(228,205,161,0.13);
}
header .cta-button {
  margin-top: 0;
  margin-bottom: 0;
}

footer {
  background: #E4CDA1;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 18px 0 rgba(56, 88, 56, 0.07);
  margin-top: 80px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #385838;
  font-size: 0.98rem;
  text-decoration: underline;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.99rem;
  color: #353D35;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 7px;
}

/* --- PAGINATION (Rezepte) --- */
.pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}
.pagination a {
  color: #385838;
  padding: 4px 12px;
  border-radius: 14px;
  background: #F8F5EC;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
}
.pagination a:hover {
  background: #E4CDA1;
  color: #AE3B22;
}

/* --- MOBILE/FLEX RESPONSIVE --- */
@media (max-width: 1023px) {
  .header-flex {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-flex {
    flex-wrap: wrap;
    gap: 32px;
    flex-direction: column;
  }
  .content-wrapper {
    max-width: 98vw;
    padding: 0;
  }
}
@media (max-width: 900px) {
  .features-grid > div, .recipe-list > div {
    min-width: 48vw;
    flex-basis: 48vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 100%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section, section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  main > section.hero {
    border-radius: 0 0 18px 18px;
    padding: 50px 12px 32px 12px;
    margin-bottom: 32px;
  }
  .features-grid, .recipe-list {
    gap: 14px;
  }
  .features-grid > div, .recipe-list > div {
    min-width: 94vw;
    flex-basis: 100%;
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 15px 11px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .card-container, .features-grid, .content-grid, .recipe-list {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  nav {
    flex-direction: column;
    gap: 6px;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #385838;
  cursor: pointer;
  margin-left: 12px;
  margin-right: 5px;
  z-index: 2010;
  transition: color 0.16s;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav,
  .header-flex .cta-button {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(56, 88, 56, 0.95);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.87, 0, 0.13, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E4CDA1;
  font-size: 2.4rem;
  padding: 18px 26px 10px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 2110;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 18px 32px 32px 50px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4CDA1;
  color: #385838;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  border-top: 3px solid #E4CDA1;
  box-shadow: 0px -2px 18px rgba(56,88,56,0.10);
  padding: 22px 18px 16px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-fade-in 0.6s cubic-bezier(0.87,0,0.13,1);
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.03rem;
  color: #385838;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.cookie-btn {
  background: #385838;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 28px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0px 1px 8px 0px rgba(56, 88, 56, 0.07);
}
.cookie-btn.reject {
  background: #fff;
  color: #385838;
  border: 1px solid #AE3B22;
}
.cookie-btn.settings {
  background: #E4CDA1;
  color: #385838;
  border: 1px solid #385838;
}
.cookie-btn:hover, .cookie-btn:focus { background: #AE3B22; color: #fff; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #385838; color: #fff; border: 1px solid #385838; }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #AE3B22; color: #fff; border-color: #AE3B22; }

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3200;
  background: rgba(56,88,56,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fade-in 0.4s cubic-bezier(0.87,0,0.13,1);
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  max-width: 430px;
  width: 96vw;
  padding: 36px 28px 25px 28px;
  box-shadow: 0 6px 36px 0 rgba(56, 88, 56, 0.16);
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #ECE4CF;
  font-size: 1.04rem;
  color: #385838;
}
.cookie-toggle {
  margin-left: auto;
  appearance: none;
  width: 40px;
  height: 22px;
  background: #e7e3dd;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #385838;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.5rem;
  color: #AE3B22;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: #385838;}

/* --- FORM/INTERACTION--- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 6px;
  border: 1px solid #E4CDA1;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #F8F5EC;
  color: #2A362A;
  outline: none;
  width: 100%;
  transition: border 0.18s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #385838;
  background: #FFF;
}

button {
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- SOCIAL BUTTONS --- */
.footer-contact a, .footer-contact a:visited {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #385838;
  text-decoration: none;
  font-size: 1rem;
}
.footer-contact a img {
  margin-right: 5px;
  max-width: 22px;
  max-height: 22px;
}
.footer-contact a:hover {
  color: #AE3B22;
  text-decoration: underline;
}

/* --- MICRO-INTERACTIONS, HOVER STATES --- */
.card, .features-grid > div, .recipe-list > div {
  transition: box-shadow 0.15s, background 0.16s;
}
.card:hover, .features-grid > div:hover, .recipe-list > div:hover {
  box-shadow: 0 8px 28px 0 rgba(174,59,34,0.10);
  background: #F5FAF6;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #AE3B22;
  outline-offset: 2px;
}

/* --- MISCELLANEOUS --- */
::-webkit-input-placeholder { color: #92886d; }
::-moz-placeholder { color: #92886d; }
:-ms-input-placeholder { color: #92886d; }
::placeholder { color: #92886d; }

/* Utility classes */
.hide { display: none !important; }

/* === END OF STYLE.CSS === */