/* ================================
   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.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #F5F0E6;
  color: #222C33;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: #27643B;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: #222C33;
}
input, select, textarea {
  background: #fff;
  border: 1px solid #E0E4EA;
  padding: 8px 12px;
  border-radius: 6px;
}
input:focus, select:focus, textarea:focus {
  border-color: #27643B;
  outline: none;
}

/* ================================
   Brand Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222C33;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, label, input, select, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222C33;
}
strong, b {
  font-weight: 700;
}

/* ================================
   Container & Core Layouts
   ================================ */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(39,100,59,0.06), 0 1.5px 8px rgba(34,44,51,0.04);
}

/* ================================
   Header & Navigation
   ================================ */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,44,51,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
nav > a img {
  max-height: 38px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 0 24px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #222C33;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #E9F2EC;
  color: #27643B;
}

.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #27643B;
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 8px;
  margin-left: 16px;
  transition: background 0.15s, box-shadow 0.15s, color 0.18s;
  box-shadow: 0 2px 8px rgba(39,100,59,0.08);
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #184623;
  color: #fff;
  box-shadow: 0 4px 18px rgba(39,100,59,0.13);
}

.cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: transparent;
  border: 2px solid #27643B;
  color: #27643B;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, border-color 0.18s;
  box-shadow: 0 2px 8px rgba(39,100,59,0.05);
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #27643B;
  color: #fff;
  border-color: #27643B;
}

/* ================================
   Mobile Navigation
   ================================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #27643B;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 295px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -2px 0 12px rgba(34,44,51,0.11);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.66,0,0.33,1), opacity 0.18s;
  z-index: 200;
  flex-direction: column;
  padding: 22px 16px 16px 24px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #A7411B;
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #27643B; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222C33;
  padding: 12px 0 12px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9F2EC;
  color: #27643B;
}

@media (max-width: 1080px) {
  .container { max-width: 940px; }
}
@media (max-width: 890px) {
  .container { max-width: 98vw; }
  nav ul { gap: 14px; }
}
@media (max-width: 768px) {
  nav ul, nav > .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================================
   Hero & Section Spacing
   ================================ */
h1, .brand-motto { color: #27643B; }
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.category-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}
.category-card {
  background: #F5F0E6;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.06);
  padding: 30px 22px 22px 22px;
  min-width: 250px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.17s;
  position: relative;
  margin-bottom: 20px;
}
.category-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.category-card h3 {
  color: #27643B;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 600;
}
.category-card p {
  line-height: 1.5;
  color: #495760;
}
.category-card:hover {
  box-shadow: 0 6px 32px rgba(39,100,59,0.12);
  transform: translateY(-2px) scale(1.02);
}
.category-cards a { flex: 1 1 260px; max-width: 350px; }

/* ================================
   Cards & Grids
   ================================ */
.card-container, .recipe-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .recipe-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.09);
  padding: 28px 20px 18px 20px;
  margin-bottom: 20px;
  flex: 1 1 275px;
  min-width: 250px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recipe-card h3 {
  color: #27643B;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.recipe-card p {
  font-size: 1rem;
}
.recipe-card a {
  margin-top: auto;
  font-weight: 500;
  color: #A7411B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.16s, text-decoration 0.14s;
  text-decoration: underline dotted #A7411B 1.5px;
}
.recipe-card a:hover, .recipe-card a:focus {
  color: #27643B;
  text-decoration: underline solid #27643B 2px;
}
.card:hover, .recipe-card:hover {
  box-shadow: 0 8px 38px rgba(39,100,59,0.17);
  transform: translateY(-4px) scale(1.015);
}

/* ================================
   Features & List Section
   ================================ */
ul {
  padding-left: 0;
}
.features, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F0E6;
  padding: 20px;
  border-radius: 9px;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.06);
  min-width: 180px;
}
.feature-list li, .values-list ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 9px;
  color: #222C33;
}
.values-list h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: #27643B;
}

/* Highlights icons etc. */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  vertical-align: middle;
}

/* ================================
   Forms & Inputs
   ================================ */
.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
input[type=text], select {
  min-width: 160px;
}

.recipe-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.recipe-filters button {
  background: #E9F2EC;
  color: #27643B;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  margin-right: 8px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.12s, color 0.13s;
}
.recipe-filters button:hover, .recipe-filters button.active {
  background: #27643B;
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.pagination button {
  background: #F5F0E6;
  border: none;
  color: #27643B;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.pagination button:hover {
  background: #27643B;
  color: #fff;
}
.pagination span {
  font-weight: 700;
  color: #222C33;
}

/* ================================
   Newsletter, Tips, & Callouts
   ================================ */
.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.newsletter-signup p {
  margin-bottom: 0;
}
.quick-tip-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #E9F2EC;
  color: #27643B;
  padding: 15px 20px;
  border-radius: 9px;
  margin-top: 32px;
  font-size: 1.08rem;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.08);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.quick-tip-banner img {
  width: 24px;
  height: 24px;
}

/* ================================
   Text-Image & Content Grids
   ================================ */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.content-grid, .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
/* Ensure min 20px between cards and sections */
.card, .card-container > *, .category-card, .recipe-card, .testimonial-card {
  margin-bottom: 20px;
}

/* ================================
   Testimonials
   ================================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #E9F2EC;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.08);
  margin-bottom: 20px;
  color: #222C33;
  flex-direction: row;
  max-width: 630px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(39,100,59,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #1B2431;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #27643B;
  font-weight: 600;
}

/* ================================
   Footer
   ================================ */
footer {
  background: #222C33;
  color: #fff;
  padding: 44px 0 0 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid #485866;
}
.footer-grid > * {
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #F5F0E6;
  opacity: .8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.13s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A7411B;
  opacity: 1;
}
.footer-contact {
  font-size: 1rem;
  color: #F5F0E6;
  opacity: .9;
  line-height: 1.7;
}
footer img {
  margin-bottom: 8px;
  max-width: 34px;
  display: inline-block;
  vertical-align: middle;
}
.brand-motto {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #A7411B;
  font-size: 1.1rem;
  opacity: 1;
  margin-top: 28px;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links a img {
  width: 31px;
  height: 31px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(34,44,51,0.10);
  transition: box-shadow 0.14s, background 0.12s;
}
.social-links a:hover img { background: #E9F2EC; box-shadow: 0 5px 20px rgba(39,100,59,0.14); }

/* ================================
   Misc Content Styling
   ================================ */
.historical-notes {
  background: #F5F0E6;
  margin-top: 20px;
  padding: 24px 18px;
  border-radius: 8px;
  box-shadow: 0 1.5px 8px rgba(39,100,59,0.07);
}
.historical-notes h3 {
  color: #27643B;
  font-size: 1.09rem;
  margin-bottom: 6px;
}

.text-section {
  margin-bottom: 20px;
}
.text-section ul {
  margin-left: 12px;
}
.text-section ul li {
  margin-bottom: 8px;
  color: #222C33;
  font-size: 1rem;
}
.values-list {
  margin-bottom: 16px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.contact-details img {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.region-map img {
  max-width: 100%;
}

/* ================================
   Cookie Consent Banner & Modal
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F5F0E6;
  color: #222C33;
  box-shadow: 0 -2px 20px rgba(39,100,59,0.11);
  padding: 24px 20px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 300;
  flex-wrap: wrap;
  animation: slideUp 0.7s cubic-bezier(.13,.69,.53,1.02);
}
@keyframes slideUp {
  from {transform: translateY(60px); opacity: 0; }
  to {transform: none; opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.cookie-banner p {
  max-width: 570px;
}
.cookie-btn {
  background: #fff;
  border: 2px solid #27643B;
  color: #27643B;
  border-radius: 6px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.17s, color 0.17s, border-color 0.18s;
}
.cookie-btn.accept {
  background: #27643B;
  color: #fff;
}
.cookie-btn.accept:hover { background: #184623; }
.cookie-btn.reject {
  background: #fff;
  color: #A7411B;
  border-color: #A7411B;
}
.cookie-btn.reject:hover { background: #F7E7E4; }
.cookie-btn.settings {
  background: #F5F0E6;
  color: #222C33;
  border-color: #27643B;
}
.cookie-btn.settings:hover { background: #E9F2EC; }

/* Cookie Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26, 38, 31, 0.39);
  z-index: 340;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; }
.cookie-modal {
  background: #fff;
  padding: 34px 26px 24px 26px;
  border-radius: 15px;
  box-shadow: 0 6px 38px rgba(34,44,51,0.16);
  min-width: 340px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.18s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98) translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #A7411B;
  font-size: 1.8rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 6px;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: #27643B;
}
.cookie-modal h2 {
  color: #27643B;
  font-size: 1.18rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #222C33;
}
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 22px;
  background: #E9F2EC;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.21s;
}
.cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  transition: left 0.22s cubic-bezier(.53,0,.33,1.25);
  background: #fff;
  box-shadow: 0px 1px 4px rgba(39,100,59,0.1);
}
.cookie-toggle input:checked + .slider {
  left: 22px;
  background: #27643B;
}
.cookie-toggle input:checked ~ {
  background: #27643B;
}
.cookie-category .desc {
  font-size: 0.97rem;
  color: #495760;
  margin-left: 6px;
  opacity: 0.88;
}
.cookie-category.essential label {
  color: #A7411B;
  font-weight: 700;
}

/* ================================
   Responsive – Mobile Styles
   ================================ */
@media (max-width: 1100px) {
  .footer-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .category-cards, .card-container, .content-grid, .footer-grid, .recipe-cards-grid {
    gap: 18px;
  }
  .section, main > section {
    padding: 30px 8px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { max-width: 98vw; }
  .content-wrapper, .footer-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .category-cards, .card-container, .content-grid, .recipe-cards-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section { flex-direction: column; gap: 19px; }
  .newsletter-signup { flex-direction: column; align-items: flex-start; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .footer-grid {
    padding-bottom: 10px;
  }
  .footer-nav, .footer-contact { align-items: flex-start; }
  .mobile-menu {
    width: 97vw;
    padding: 22px 6px 12px 18px;
  }
  .section, main > section {
    padding: 23px 2px;
  }
}
@media (max-width: 580px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.07rem; }
  .category-card,
  .card,
  .recipe-card {
    padding: 17px 7px 12px 11px;
    min-width: 0;
  }
  .footer-grid {
    gap: 10px;
  }
}
@media (max-width: 460px) {
  .cookie-modal {
    min-width: 98vw;
    border-radius: 0;
    padding: 17vw 3vw;
  }
}

/* ================================
   Transitions & Micro-interactions
   ================================ */
a, button, .cta-primary, .cta-secondary, .card, .category-card, .recipe-card, .pagination button, .mobile-menu, .mobile-nav a, .cookie-btn {
  transition: box-shadow 0.16s, color 0.13s, background 0.13s, border-color 0.13s, transform 0.14s;
}

/* Accessibility improvements for focus */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .mobile-nav a:focus, .cookie-btn:focus {
  outline: 2.5px solid #27643B;
  outline-offset: 2px;
}

/* Hide visually on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================================
   End of FlottenGeschmack Style
   ================================ */