/* ===== 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;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F7F4F2;
  color: #3D3D3D;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #385146;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B36F3D;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
:focus {
  outline: 2px solid #B36F3D;
  outline-offset: 4px;
}

/* ======= SOFT PASTEL COLOR PALETTE ======= */
:root {
  --primary: #385146; /* dark muted green */
  --secondary: #F7F4F2; /* soft pastel background */
  --accent: #B36F3D; /* pastel orange bronze */
  --pastel-pink: #FDE7E7;
  --pastel-mint: #E6F7EF;
  --pastel-yellow: #FFF7E2;
  --pastel-blue: #E3F1FB;
  --pastel-purple: #F3E9FA;
  --surface: #FFFFFF;
  --text-main: #3A4340;
  --text-light: #7F9085;
  --shadow: 0 4px 20px 0 rgba(96, 105, 127, 0.07);
  --border-radius: 18px;
  --card-gap: 24px;
}


/* ========== TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital,wght@0,400;1,400&family=Inter:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
}
.section h2, .section h3 {
  color: var(--primary);
}
.subheadline {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
p, li, address, .text-section {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
}

strong, b {
  font-weight: 600;
}

.text-section h2, .text-section h3 {
  color: var(--primary);
  margin-top: 18px;
}


/* ========= GLOBAL LAYOUT/SPACING ========= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.content-wrapper, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.13s, box-shadow 0.2s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 8px 32px 0 rgba(96, 105, 127, 0.13);
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 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: var(--pastel-mint);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  color: var(--primary);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 0;
  transition: box-shadow 0.19s;
}

/* Visual distinction for Testimonials */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card span {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  font-size: 1rem;
  margin-left: 12px;
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.04rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-yellow);
  padding: 24px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  flex: 1 1 270px;
  transition: box-shadow 0.17s;
}
.feature-item img {
  width: 42px;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 3px rgba(57,81,70,0.07));
}

/******* Card styling for recipes, sliders etc. *******/
.recipe-slider, .recipe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 14px 0 6px 0;
}
.recipe-slide {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  min-width: 230px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.16s, transform 0.1s;
}
.recipe-slide h3 {
  color: var(--primary);
  margin-bottom: 6px;
}
.recipe-slide a {
  align-self: flex-start;
  color: #8A4700;
  font-weight: 500;
  background: #fff3e7;
  border-radius: 14px;
  padding: 6px 16px;
  margin-top: 8px;
  transition: background 0.15s, color 0.17s;
}
.recipe-slide a:hover { background: #B36F3D; color: var(--surface); }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.quick-links a {
  color: #fff;
  background: var(--primary);
  padding: 8px 22px;
  border-radius: 22px;
  font-weight: 500;
  transition: background 0.17s;
  font-size: 1rem;
}
.quick-links a:hover {
  background: var(--accent);
}

/******** Filter, Tag & Pagination Styling *********/
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 14px;
}
.tag {
  background: var(--pastel-purple);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.category-filters button {
  background: var(--pastel-mint);
  color: var(--primary);
  border-radius: 16px;
  padding: 8px 18px;
  border: none;
  font-size: 1rem;
  transition: background 0.15s, color 0.14s;
}
.category-filters button:hover {
  background: var(--accent);
  color: #fff;
}
input[type=text], input[type=email], textarea {
  border: 1px solid #DDDCC9;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #FAF7F5;
  margin-bottom: 8px;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: var(--primary);
}
.pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination button {
  background: var(--pastel-blue);
  border-radius: 12px;
  color: var(--primary);
  padding: 6px 19px;
  border: none;
  transition: background 0.13s;
}
.pagination button:hover {
  background: #b6dafe;
}
.pagination span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.11rem;
  color: var(--primary);
  font-weight: 500;
}

/************* BUTTONS, CTA, LINKS *************/
.cta-btn {
  background: linear-gradient(90deg, #FDE7E7 0%, #E6F7EF 100%);
  color: var(--accent);
  padding: 14px 38px;
  border-radius: 24px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.18rem;
  font-weight: 400;
  border: none;
  box-shadow: var(--shadow);
  letter-spacing: 0.01em;
  margin-left: 18px;
  margin-right: 0;
  transition: background 0.18s, color 0.17s, box-shadow 0.15s, transform 0.12s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(177,111,61,0.11);
  transform: translateY(-2px) scale(1.03);
}
button, .button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 18px;
}

/************* NAVIGATION & HEADER *************/
header {
  background: #fff;
  border-bottom: 1.5px solid #EAEBEA;
  box-shadow: 0 1px 12px 0 rgba(149,176,156,0.06);
}
header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(59,81,70,0.04));
}
.main-nav {
  display: flex;
  gap: 20px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  margin-left: 24px;
  flex: 1 1 auto;
}
.main-nav a {
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.13s, color 0.14s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--accent);
}

/******* Hamburger Mobile Navigation *******/
.mobile-menu-toggle {
  background: var(--pastel-pink);
  color: var(--primary);
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin-left: 26px;
  transition: background 0.17s, color 0.16s, box-shadow 0.13s;
  z-index: 1010;
}
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(253,231,231,0.98);
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 26px 34px;
  z-index: 2004;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.57,.2,.19,1.08);
  box-shadow: -4px 0 32px 0 rgba(56,81,70,0.07);
  display: flex;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: var(--accent);
  background: none;
  border: none;
  padding: 8px;
  margin-bottom: 22px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.14s;
  z-index: 2030;
}
.mobile-menu-close:hover {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  padding: 12px 8px;
  border-radius: 11px;
  background: transparent;
  transition: background 0.13s, color 0.15s;
  font-weight: 600;
}
.mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--accent);
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .content-wrapper, .content-grid, .feature-grid, .card-container, .recipe-slider, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .recipe-slide, .feature-item, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cta-btn {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/****** Footer ********/
footer {
  background: var(--secondary);
  border-top: 1px solid #EAEBEA;
  padding: 28px 0 16px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  margin-top: 0;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.88;
}
.footer-nav a:hover {
  color: var(--accent);
}
address {
  font-style: normal;
  color: var(--text-light);
  font-size: 0.97rem;
}
address span {
  line-height: 1.5;
}

/****** Kontakt Info List ******/
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  list-style: none;
  font-size: 1.04rem;
  padding-left: 0;
}
.kontakt-info img {
  height: 21px;
  width: 21px;
  vertical-align: middle;
  margin-right: 8px;
}
.kontakt-info li {
  display: flex;
  align-items: center;
  gap: 7px;
}

/***** List and Guide styling *****/
.faq-list, .expert-tips, .step-by-step-guides {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  padding: 24px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.faq-list h3, .expert-tips h3, .step-by-step-guides h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
  color: var(--accent);
}
.faq-list p, .expert-tips ul, .step-by-step-guides ul, .step-by-step-guides ol {
  margin-bottom: 9px;
  font-size: 1rem;
}
.expert-tips ul, .step-by-step-guides ul, .step-by-step-guides ol {
  padding-left: 1.3em;
}

/****** Recipe list styling *****/
.recipe-list {
  flex-direction: column;
  list-style: none;
  gap: 22px;
  margin-bottom: 12px;
  padding-left: 0;
}
.recipe-list li {
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  padding: 20px 17px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.recipe-list h3 {
  color: var(--primary);
  margin-bottom: 1px;
  font-size: 1.21rem;
}
.recipe-list a {
  color: var(--accent);
  font-size: 0.96rem;
  margin: 0 4px;
}
.recipe-list a:hover { color: #385146; text-decoration: underline; }

/**** Text Section general ****/
.text-section {
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  margin-bottom: 10px;
  font-size: 1.06rem;
  box-shadow: var(--shadow);
}

/***** Cookie Consent Banner ******/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FFE6F0 0%, #E3F1FB 100%);
  color: var(--text-main);
  box-shadow: 0 -4px 24px 0 rgba(56,81,70,0.13);
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 24px 22px 24px;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 1rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  transition: transform 0.23s cubic-bezier(.67,.1,.18,1.07);
}
.cookie-banner.hide {
  transform: translateY(105%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
  min-width: 180px;
  margin-right: 22px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 8px 20px;
  transition: background 0.18s, color 0.16s, box-shadow 0.12s;
  box-shadow: 0 1px 8px 0 rgba(56,81,70,0.07);
}
.cookie-banner .accept {
  background: var(--pastel-mint);
  color: var(--primary);
  font-weight: 600;
}
.cookie-banner .accept:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .reject {
  background: var(--pastel-pink);
  color: var(--accent);
  font-weight: 500;
}
.cookie-banner .reject:hover {
  background: #fff;
  color: var(--primary);
}
.cookie-banner .settings {
  background: var(--pastel-yellow);
  color: var(--primary);
  font-weight: 500;
}
.cookie-banner .settings:hover {
  background: var(--primary);
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 5200;
  inset: 0;
  background: rgba(56,81,70,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.25s ease-out;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--surface);
  border-radius: 25px;
  padding: 36px 30px 30px 30px;
  min-width: 290px;
  max-width: 96vw;
  box-shadow: 0 6px 42px 0 rgba(56,81,70,0.19);
  z-index: 5230;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .modal-close:hover {
  color: var(--primary);
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1.33rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-category .category-label {
  font-weight: 500;
  color: var(--primary);
  flex: 1 1 auto;
}
.cookie-category .category-toggle {
  min-width: 44px;
  min-height: 28px;
  border-radius: 19px;
  border: none;
  background: var(--pastel-blue);
  position: relative;
  display: inline-block;
  margin-right: 8px;
  transition: background 0.14s;
}
.cookie-category .category-toggle[aria-checked="true"] {
  background: var(--accent);
}
.category-toggle::-webkit-slider-thumb {
  display: none;  /* For fallback – uses JS anyway */
}
.cookie-category .always {
  color: #888;
  font-size: 0.98rem;
  margin-left: 5px;
}
.cookie-actions-modal {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-actions-modal button {
  border-radius: 14px;
  padding: 9px 20px;
  border: none;
  font-size: 1rem;
}
.cookie-actions-modal .save {
  background: var(--pastel-mint);
  color: var(--primary);
  font-weight: 700;
}
.cookie-actions-modal .save:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-actions-modal .cancel {
  background: #efefef;
  color: var(--text-main);
  font-weight: 500;
}
.cookie-actions-modal .cancel:hover {
  background: #fff1e7;
}


/* ============== MISC & UTILITY ============== */
.section:last-child { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mt-16 { margin-top: 16px; }
.gap-14 { gap: 14px; }

/**** Animations and Transitions ****/
.card, .feature-item, .testimonial-card, .recipe-slide, .recipe-list li {
  transition: box-shadow 0.18s, transform 0.13s, background 0.19s;
}
.cta-btn, .main-nav a, .quick-links a, .category-filters button, .pagination button, .mobile-nav a {
  transition: background 0.17s, color 0.15s, transform 0.11s;
}


/****** Accessibility Improvements *******/
[tabindex]:focus, .main-nav a:focus, .mobile-nav a:focus, .cta-btn:focus {
  outline: 2.5px solid #B36F3D;
  outline-offset: 2px;
  text-decoration: underline;
}

/******** Responsive layout for Home and Content ********/
@media (max-width: 570px) {
  .content-wrapper, .content-grid, .feature-grid, .card-container {
    gap: 11px;
  }
  .quick-links {
    gap: 7px;
  }
}

/********** Modal & Banner On Top (for z-index) ************/
body.modal-open {
  overflow: hidden;
}

/***** General helper for hidden/visually hidden *****/
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* Prevent overlapping of .card, .section, testimonial, etc. */
.card, .feature-item, .testimonial-card, .section, .recipe-slide, .recipe-list li {
  margin-bottom: 20px;
}
.section, .card-container, .feature-grid, .content-grid, .testimonial-slider, .recipe-slider {
  gap: 20px;
}

/****** Ensure proper color contrast for testimonials & reviews ******/
.testimonial-card {
  background: var(--pastel-mint);
  color: var(--primary);
}
.testimonial-card p, .testimonial-card span {
  color: var(--primary);
}

/***** Print styles for basic legibility ******/
@media print {
  header, footer, .main-nav, .mobile-menu, .cta-btn, .cookie-banner { display: none !important; }
  .section, .card, .feature-item, .recipe-list li, .text-section { box-shadow: none !important; background: #fff !important; }
}

