/* ===== 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,
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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1E2CF;
  color: #1F2937;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #174B2E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B16322;
  outline: none;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174B2E;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 1.125rem; font-weight: 500; margin-bottom: 8px; }
h5 { font-size: 1rem; font-weight: 500; }
h6 { font-size: 0.95rem; font-weight: 500; }
p, ul, ol, li {
  font-size: 1rem;
  color: #183241;
  margin-bottom: 15px;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  color: #1F2937;
  border-left: 4px solid #B16322;
  background: #f9f9f9;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
strong, b { font-weight: 700; }

/* ===== CONTAINERS & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(23, 75, 46, 0.06);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #174B2E;
  color: #fff;
  border-bottom: 4px solid #D9843B;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 20px 16px 20px;
  min-height: 72px;
}
.logo img {
  height: 54px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(23, 75, 46, 0.1);
  color: #D9843B;
}
.cta-btn {
  background: #B16322;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 30px;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(23,75,46,0.09);
  border: none;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D9843B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(177,99,34,0.13);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #B16322;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.65rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 1102;
  position: relative;
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D9843B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 75, 46, 0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.86,0,.07,1);
  box-shadow: 0 8px 28px rgba(30,35,50,0.2);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 16px 0 10px 18px;
  border: none;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 29px;
  margin-top: 18px;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 7px 8px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(177,99,34,0.33);
  color: #FFEBDB;
}

@media (max-width: 996px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 997px) {
  .mobile-menu { display: none; }
  .mobile-menu-toggle { display: none; }
}

/* ===== HERO & SECTIONS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section .container {
  padding: 0 20px;
}

/* ===== FEATURE GRID & CARDS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
  align-items: stretch;
  width: 100%;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  background: #fff;
  border-radius: 13px;
  padding: 28px 24px 20px 24px;
  box-shadow: 0 2px 18px rgba(23,75,46,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 8px 36px rgba(177,99,34,0.14);
}
.feature-grid img {
  height: 45px;
  margin-bottom: 18px;
}

/* Cards, Card Container, Card Spacing */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(23,75,46,0.10);
  margin-bottom: 20px;
  padding: 24px 18px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 36px rgba(23,75,46,0.14);
  transform: translateY(-2px) scale(1.02);
}

/* ===== CONTENT GRID & TEXT-IMAGE SECTIONS ===== */
.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;
    align-items: flex-start;
  }
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1E2CF;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(23,75,46,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  color: #183241;
}
.testimonial-card blockquote {
  margin: 0 0 10px 0;
  color: #183241;
  font-size: 1.08rem;
  background: none;
  border-left: 4px solid #B16322;
  padding-left: 18px;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #B16322;
  font-size: 1rem;
  margin-bottom: 6px;
}
.testimonial-card img[alt="Bewertung"] {
  height: 22px;
  margin-right: 1px;
}

/* ===== FEATURE ITEM (for future expan.) ===== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== SEARCH, FILTER & SORT OPTIONS (Rezepte) ===== */
.search-bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 18px;
}
.search-bar input[type="text"] {
  flex: 1 1 auto;
  padding: 12px 16px;
  border: 1px solid #D0C9BB;
  border-radius: 9px 0 0 9px;
  font-size: 1rem;
  background: #fff;
  color: #183241;
  transition: border 0.14s;
}
.search-bar button {
  background: #174B2E;
  border-radius: 0 9px 9px 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: none;
  transition: background 0.18s;
}
.search-bar button:hover,
.search-bar button:focus {
  background: #D9843B;
}
.search-bar img {
  height: 22px;
}
.sort-options {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.sort-options select {
  padding: 7px 18px 7px 10px;
  border: 1px solid #D0C9BB;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #183241;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-tags span {
  background: #ece8e3;
  color: #174B2E;
  border-radius: 15px;
  font-size: 0.98rem;
  padding: 4px 16px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.15s;
}
.filter-tags span:hover, .filter-tags span:focus {
  background: #D9843B;
  color: #fff;
}

/* ===== BLOG FEATURED POST ===== */
.featured-post {
  background: #D9843B;
  color: #fff;
  padding: 18px 24px;
  border-radius: 9px;
  font-size: 1.09rem;
  margin-top: 14px;
  box-shadow: 0 2px 13px rgba(23,75,46,0.13);
}
.featured-post h4 {
  color: #fff;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
}

/* ===== FOOTER ===== */
footer {
  background: #174B2E;
  color: #F1E2CF;
  padding: 40px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #F1E2CF;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 5px 9px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D9843B;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #F1E2CF;
}
.footer-contact img {
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-brand {
  font-size: 0.92rem;
  color: #D0C9BB;
  margin-top: 16px;
}

@media (min-width: 650px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
  }
  .footer-brand {
    margin-top: 0;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1600;
  background: #fff;
  color: #183241;
  box-shadow: 0 -4px 28px rgba(23,75,46,0.13);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.36s cubic-bezier(.86,0,.07,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner .cookie-btn {
  background: #174B2E;
  color: #fff;
  border-radius: 30px;
  padding: 9px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  margin-right: 8px;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.cookie-settings-btn {
  background: #B16322;
}
.cookie-banner .cookie-btn.reject {
  background: #e9e9e9;
  color: #183241;
  border: 1px solid #C9BAB0;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #D9843B;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1650;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 75, 46, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.22s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #1F2937;
  border-radius: 18px;
  padding: 34px 28px 24px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 36px rgba(23,75,46,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #174B2E;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #174B2E;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-settings-close {
  position: absolute; right: 16px; top: 18px;
  background: none;
  border: none;
  color: #D9843B;
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
}

/* ===== GENERAL SPACING (apply at all breakpoints as needed) ===== */
@media (max-width: 1000px) {
  .feature-grid > div, .card {
    min-width: 48%;
    flex-basis: 48%;
  }
}
@media (max-width: 800px) {
  .feature-grid > div, .card {
    min-width: 98%;
    flex-basis: 98%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7vw;
  }
  .feature-grid {
    gap: 18px;
  }
  .section, section {
    padding: 28px 0 0 0;
    margin-bottom: 32px;
  }
  p, ul, ol, li {
    font-size: 0.98rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .card {
    padding: 17px 7px;
  }
}
@media (max-width: 540px) {
  .logo img {
    height: 38px;
  }
  .cookie-modal {
    min-width: 88vw;
    max-width: 98vw;
    padding: 21px 8px 18px 8px;
  }
  .container {
    padding: 0 3vw;
  }
}

/* ===== MICRO-INTERACTIONS & ACCESSIBILITY ===== */
.main-nav a:focus, .footer-nav a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-nav a:focus {
  outline: 2px solid #B16322;
  outline-offset: 3px;
}
.cta-btn:active, .main-nav a:active, .card:active {
  transform: scale(0.97);
}
.mobile-menu-toggle:focus {
  outline: 2.5px dashed #fff;
}

/* ===== MISC UTILS ===== */
.hidden { display: none !important; }

/* ===== END CSS ===== */