/* ===== 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, 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FCFAF7;
  color: #256128;
}
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style-type: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; letter-spacing: 0.01em; color: #256128; }
strong { font-weight: 600; }

/* ===== BRAND COLORS (warm_friendly) ===== */
:root {
  --color-primary: #388e3c;
  --color-primary-dark: #256128;
  --color-secondary: #f5e6dc;
  --color-accent: #FFB27A;
  --color-surface: #fffbed;
  --color-highlight: #f0c789;
  --color-card: #ffffff;
  --color-cta: #ffb27a;
  --color-cta-hover: #ffaa55;
  --color-on-primary: #fff;
  --color-shadow: rgba(40,80,44,0.10);
  --color-shadow-strong: rgba(56,142,60,0.18);
  --color-border: #e7e3de;
}

/* ===== TYPOGRAPHY ===== */
body { font-size: 16px; }
h1 { font-size: 2.6rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.15rem; font-weight: 600; }
p, li, dd {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #256128;
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  font-size: 1.18rem;
  color: #37704a;
  margin-bottom: 8px;
}

/* ===== LAYOUT & SPACING ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 22px;
  box-shadow: 0 2px 15px var(--color-shadow);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px var(--color-shadow-strong);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HERO & SPECIAL BACKGROUNDS ===== */
section:first-of-type {
  background: var(--color-secondary);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 32px -16px var(--color-shadow-strong);
}

/* ===== BUTTONS & CTA ===== */
.cta-button, .cookie-consent-banner button, .cookie-modal button {
  background: linear-gradient(90deg, var(--color-cta) 80%, var(--color-accent) 100%);
  color: var(--color-on-primary);
  padding: 13px 34px;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--color-shadow);
  transition: background 0.18s, transform 0.15s, box-shadow 0.22s;
  outline: none;
  margin: 10px 0 0 0;
  display: inline-block;
}
.cta-button:hover, .cookie-consent-banner button:hover, .cookie-modal button:hover {
  background: linear-gradient(90deg, var(--color-cta-hover) 85%, var(--color-accent) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 25px var(--color-shadow-strong);
}
.cta-button:focus {
  box-shadow: 0 0 0 3px var(--color-highlight);
}

/* ===== NAVIGATION ===== */
header {
  background: var(--color-surface);
  padding: 0 0 6px 0;
  box-shadow: 0 2px 16px -14px var(--color-shadow);
  position: relative;
  z-index: 70;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #388e3c;
  border-radius: 14px;
  padding: 8px 14px;
  transition: background 0.18s, color 0.2s;
}
.main-nav a:hover {
  background: var(--color-highlight);
  color: #256128;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 10px 18px;
}

/* Hamburger (mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-cta);
  color: var(--color-on-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 101;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-cta-hover);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbed;
  box-shadow: 0 4px 40px 0 rgba(40,80,44,0.28);
  transform: translateX(-120vw);
  transition: transform 0.32s cubic-bezier(.57,.09,.57,1.18);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 32px 22px 0;
  background: none;
  border: none;
  color: #388e3c;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  width: 44px;
  height: 44px;
}
.mobile-menu-close:hover {
  background: var(--color-highlight);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.mobile-nav a {
  padding: 22px 34px;
  font-size: 1.24rem;
  color: #388e3c;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  transition: background 0.18s, color 0.20s;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: #256128;
}

@media (max-width: 1050px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 8px; padding-right: 8px; }
  header .container { padding: 14px 10px 4px 10px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 6px; }
  .cta-button { padding: 10px 18px; font-size: 1rem; }
}
@media (max-width: 830px) {
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ===== SECTION/CARDS/FLEX-LAYOUTS ===== */
.feature-grid, .recipe-teasers, .recipe-listings, .blog-post-teasers, .tip-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > li, .blog-post-teasers > article, .recipe-teasers > article, .recipe-listings > article, .tip-listings > .text-section {
  background: var(--color-card);
  border-radius: 22px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 23px 20px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.20s;
}
.feature-grid > li:hover, .recipe-listings > article:hover, .recipe-teasers > article:hover, .blog-post-teasers > article:hover, .tip-listings > .text-section:hover {
  box-shadow: 0 8px 32px var(--color-shadow-strong);
}
.feature-grid img {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--color-secondary);
  object-fit: contain;
  margin-bottom: 4px;
}

/* ===== TEXT STYLES for lists and blocks ===== */
ul, ol {
  margin-left: 22px;
  margin-bottom: 12px;
}
ul li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 18px;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-cta);
}
/* FAQ List for sellerie-wissen.html */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #388e3c;
  margin-bottom: 4px;
}
.faq-list dd {
  margin-bottom: 0;
  color: #256128;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbed;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 670px;
  border: 1px solid var(--color-border);
}
.testimonial-card blockquote {
  flex: 1;
  font-size: 1.15rem;
  color: #256128;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #388e3c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
  margin-top: 40px;
  padding: 32px 0 24px 0;
  box-shadow: 0 -2px 14px var(--color-shadow);
}
.footer-nav, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.footer-contact {
  font-size: 0.98rem;
  flex-wrap: wrap;
  color: #6a8f68;
  gap: 8px;
  text-align: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #388e3c;
  font-size: 1.09rem;
  border-radius: 10px;
  padding: 5px 11px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover {
  background: var(--color-highlight);
  color: #256128;
}

/* ============ COOKIE CONSENT ============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fffbed;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 16px var(--color-shadow-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 28px 18px 20px 18px;
  font-size: 1.06rem;
  color: #256128;
  border-radius: 22px 22px 0 0;
  transition: transform 0.33s;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(160px);
  pointer-events: none;
}
.cookie-consent-banner button {
  margin-left: 8px;
  margin-right: 8px;
  min-width: 125px;
  font-size: 1.05rem;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,28,20,0.19);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #fffbed;
  border-radius: 24px;
  box-shadow: 0 8px 42px var(--color-shadow-strong);
  padding: 38px 36px 30px 36px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #256128;
}
.cookie-category input[type=checkbox] {
  width: 24px; height: 24px;
  accent-color: var(--color-primary);
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.49rem;
  font-weight: 600;
  color: #388e3c;
  margin-bottom: 0;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  position: absolute;
  right: 34px; top: 34px;
  font-size: 2rem;
  color: #388e3c;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  width: 36px; height: 36px;
}
.cookie-modal .close-modal:hover {
  background: var(--color-highlight);
}

/* ========== SPECIAL COMPONENTS ============= */
.address-block {
  padding: 22px 32px;
  background: var(--color-secondary);
  border-radius: 16px;
  box-shadow: 0 1px 9px var(--color-shadow-strong);
  font-size: 1.11rem;
  margin-bottom: 12px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 3px;
}

/* Recipe/Breadcrumbs/Filters/Categories */
.recipe-filters, .blog-categories, .tip-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.recipe-filters span, .blog-categories span, .tip-categories span {
  font-weight: 600;
  color: #388e3c;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 10px;
}
.recipe-filters a, .blog-categories a, .tip-categories a {
  font-size: 1.03rem;
  color: #388e3c;
  border-radius: 16px;
  padding: 6px 13px;
  background: var(--color-secondary);
  font-weight: 500;
  transition: background 0.19s, color 0.19s;
}
.recipe-filters a:hover, .blog-categories a:hover, .tip-categories a:hover {
  background: var(--color-highlight);
  color: #256128;
}
.tip-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 1.09rem;
  color: #37704a;
}
.tip-preview-list li { flex: 1 1 340px; background: #fffbed; border-radius: 13px; padding: 11px 16px; box-shadow: 0 1px 6px var(--color-shadow-strong); min-width: 190px; }

/* Blog teaser articles spacing */
.blog-post-teasers > article, .recipe-listings > article {
  margin-right: 0;
}

/* CTA Banner Section */
.content-wrapper > .cta-button, .content-wrapper a.cta-button {
  margin-top: 10px;
  align-self: flex-start;
}

/* ========== RESPONSIVE DESIGN - MOBILE-FIRST ========== */
@media (max-width: 750px) {
  .container { max-width: 99vw; padding: 0 4vw; }
  header .container { flex-direction: row; flex-wrap: wrap; gap: 9px; padding: 7px 7px 7px 7px; }
  section, .section { padding: 29px 4vw; margin-bottom: 38px; }
  .card-container, .content-grid, .feature-grid, .recipe-teasers, .recipe-listings, .blog-post-teasers, .tip-listings {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > li, .blog-post-teasers > article, .recipe-listings > article, .recipe-teasers > article, .tip-listings > .text-section {
    min-width: 0; max-width: 100%;
    padding: 17px 11px;
  }
  .testimonial-card { flex-direction: column; gap: 10px; max-width: 100%; padding: 13px; }
  .text-image-section { flex-direction: column; gap: 17px; align-items: flex-start; }
  .content-wrapper { gap: 14px; }
  .recipe-filters, .blog-categories, .tip-categories { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-nav, .footer-contact { gap: 7px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .address-block { padding: 15px 6px; }
  .cookie-modal-content { padding: 22px 6vw 18px 6vw; max-width: 97vw; }
}

/* ========== MICRO-INTERACTIONS/TRANSITIONS ========= */
.card, .feature-grid > li, .blog-post-teasers > article, .recipe-listings > article, .testimonial-card, .content-wrapper {
  transition: box-shadow 0.25s, background 0.16s;
}
a, button, .cta-button, .main-nav a, .mobile-nav a, .cookie-consent-banner button, .cookie-modal button {
  transition: background 0.20s, color 0.18s, box-shadow 0.22s;
}

/* ========== VISUAL ENHANCEMENTS ========== */
.card, .feature-grid > li, .blog-post-teasers > article, .recipe-listings > article, .testimonial-card {
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: 0 1.5px 14px var(--color-shadow);
  border-radius: 20px;
}

/* ========== FOCUS STATES ========== */
*:focus-visible {
  outline: 2px dashed #ffb27a;
  outline-offset: 2px;
  z-index: 1;
}

/* ========== UTILITY CLASSES ========== */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }

/* === Hide visually === */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ========== PRINT OPTIMIZATION ========== */
@media print {
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; }
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal, footer { display: none !important; }
}
