/* ============================================================================
   CSS RESET & NORMALIZE (MOBILE FIRST)
============================================================================ */
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 {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #181818;
  text-decoration: underline;
}
input, button, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
}

/* ============================================================================
   FONT IMPORT (Bree Serif for display, Roboto for body)
============================================================================ */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Bree+Serif&display=swap');

/* ============================================================================
   ROOT VARIABLES — Brand Colors + Monochrome Palette
============================================================================ */
:root {
  --brand-brown: #4B2E19;
  --brand-primary: #6B3E26;
  --brand-accent: #B04010;
  --brand-accent-light: #C65125;
  --brand-bg-secondary: #FFFFFF;
  --brand-bg-tint: #F6F6F6;
  --gray-900: #181818;
  --gray-700: #363636;
  --gray-500: #909090;
  --gray-100: #E6E6E6;
  --mono-bg-card: #FAF9F7;
}

/* ============================================================================
   TYPOGRAPHY & MONOCHROME VISUAL HIERARCHY
============================================================================ */
h1, .display, .hero-section h1 {
  font-family: 'Bree Serif', serif;
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: var(--gray-900);
  font-weight: 400;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  h1, .hero-section h1 { font-size: 3rem; }
}
h2 {
  font-family: 'Bree Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--brand-brown);
  font-weight: 400;
}
h3 {
  font-family: 'Bree Serif', serif;
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--gray-700);
}
h4, h5, h6 {
  font-family: 'Bree Serif', serif;
  font-weight: 400;
  color: var(--brand-brown);
}
p, li, label, span, strong, div, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray-900);
  line-height: 1.65;
}
strong {
  font-weight: bold;
  color: var(--gray-700);
}
blockquote {
  border-left: 4px solid var(--gray-700);
  padding-left: 20px;
  color: var(--gray-700);
  font-style: italic;
  margin: 16px 0;
}

/* ============================================================================
   LAYOUT CONTAINERS — FLEXBOX ONLY!
============================================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--mono-bg-card);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(24,24,24,0.08);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(24,24,24,0.18);
}
.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;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07);
  min-height: 84px;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  font-weight: 400;
  color: var(--gray-900);
  margin: 0;
}
.testimonial-card span {
  margin-left: 12px;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--brand-brown);
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

/* ============================================================================
   HEADER, NAVIGATION, CTA
============================================================================ */
header {
  width: 100%;
  background: var(--brand-bg-secondary);
  border-bottom: 1.5px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 70;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 8px;
}
header img[alt="SweetRise Rezepte"] {
  max-height: 50px;
  margin-right: 24px;
}

nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Bree Serif', serif;
  font-size: 1rem;
  padding: 6px 0;
  color: var(--brand-brown);
  position: relative;
  transition: color .2s;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
}

/* Burger (mobile-menu-toggle) appears only on mobile */
.mobile-menu-toggle {
  display: block;
  background: var(--mono-bg-card);
  color: var(--brand-brown);
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 0 12px;
  transition: background .18s;
  z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--gray-100);
  color: var(--brand-accent);
}
@media (min-width: 1100px) {
  .mobile-menu-toggle { display: none; }
}
@media (max-width: 1099px) {
  nav.main-nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
}

/* ---- MOBILE SLIDE-IN MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 0 60px 8px rgba(0,0,0,0.16);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.74,.14,.18,.93);
  display: flex;
  flex-direction: column;
  /* hidden by default, show with .open JS class */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--brand-accent);
  font-size: 2.2rem;
  border: none;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color .18s;
  z-index: 205;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 36px 28px 16px 32px;
}
.mobile-nav a {
  font-family: 'Bree Serif', serif;
  font-size: 1.2rem;
  padding: 10px 0;
  color: var(--brand-brown);
  margin-bottom: 0;
  border-bottom: 1px solid var(--gray-100);
  width: 100%;
  transition: background .1s, color .18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gray-100);
  color: var(--brand-accent);
}

/* CTA BUTTONS ("Jetzt Rezept einsenden" etc.) */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: 'Bree Serif', serif;
  font-size: 1.07rem;
  border-radius: 44px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  border: none;
  min-width: 130px;
  transition: background .18s, color .15s, box-shadow .15s;
  margin-top: 18px;
}
.cta.primary {
  background: #fff;
  border: 2px solid var(--brand-brown);
  color: var(--brand-brown);
  box-shadow: 0 2px 12px rgba(107,62,38,0.07);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-brown);
  color: #fff;
  box-shadow: 0 2px 30px rgba(107,62,38,0.09);
}
.cta.secondary {
  background: var(--brand-brown);
  color: #fff;
  border: 2px solid var(--brand-brown);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: var(--brand-brown);
  border-color: var(--brand-brown);
}

/* ============================================================================
   HERO SECTION — starker Kontrast, große Typo
============================================================================ */
.hero-section {
  background: linear-gradient(124deg, #fff 68%, #ECEBEB 100%);
  border-bottom: 1.5px solid var(--gray-100);
  margin-bottom: 0;
  padding: 60px 0 40px 0;
  display: flex;
  justify-content: center;
}
.hero-section .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-section h1 {
  color: var(--gray-900);
  font-size: 2.1rem;
  margin-bottom: 10px;
  line-height: 1.13;
}
.hero-section p {
  font-size: 1.13rem;
  max-width: 520px;
  margin-bottom: 16px;
  color: var(--brand-brown);
}
@media (min-width: 700px) {
  .hero-section h1 { font-size: 2.8rem; }
  .hero-section p { font-size: 1.23rem; }
}

/* ============================================================================
   FEATURE GRID, VALUE LIST, RECIPE CARDS, TESTIMONIALS
============================================================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: flex-start;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--mono-bg-card);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
  padding: 28px 20px 18px 20px;
  min-width: 210px;
  flex: 1 0 180px;
  margin-bottom: 20px;
  gap: 8px;
  transition: box-shadow .18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 22px 0 rgba(75,46,25,0.10);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.07rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.value-list li img {
  width: 28px; height: 28px;
}

.recipe-list ul, .recipe-cards ul, .quick-recipes ul, .folk-recipe-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.recipe-list li, .recipe-cards li, .quick-recipes li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1.5px 10px rgba(24,24,24,.06);
  padding: 16px 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
.recipe-list a, .recipe-cards a {
  font-family: 'Bree Serif', serif;
  font-size: 1.03rem;
  color: var(--brand-accent);
  margin-top: 4px;
}
.recipe-list a:hover, .recipe-cards a:hover {
  text-decoration: underline;
  color: var(--brand-primary);
}
.tag, .badge, .tag.schnelle, .tag.traditionell, .tag.kreativ {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 16px;
  font-size: .95rem;
  font-family: 'Bree Serif', serif;
  letter-spacing: 0.01em;
  margin-right: 8px;
  background: var(--gray-100);
  color: var(--brand-brown);
  font-weight: 400;
}
.tag.schnelle,.badge {
  background: #181818;
  color: #fff;
}
.tag.traditionell {
  background: var(--brand-brown);
  color: #fff;
}
.tag.kreativ {
  background: var(--brand-accent);
  color: #fff;
}

.quicklinks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: .99rem;
  color: var(--brand-accent);
}
.quicklinks a {
  color: var(--brand-accent);
  font-weight: 500;
  transition: color .17s;
}
.quicklinks a:hover {
  color: var(--gray-900);
}

.category-filters, .pagination, .tag-cloud, .category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin-top: 14px;
}
.category-filters span {margin-right: 12px;}

.pagination span, .pagination a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  padding: 4px 13px;
  border-radius: 7px;
  background: #fff;
  margin-right: 6px;
  color: var(--gray-900);
  border: 1.2px solid var(--gray-100);
  transition: background .15s, color .14s;
}
.pagination a:hover, .pagination a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.pagination span {
  background: var(--brand-brown);
  color: #fff;
}

.tag-cloud a {
  font-family: 'Bree Serif', serif;
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 16px;
  padding: 4px 16px;
  margin-right: 7px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: background .16s, color .17s;
}
.tag-cloud a:hover {
  background: var(--brand-brown);
  color: #fff;
}
.category-links a {
  font-size: 1.03rem;
  padding: 4px 18px;
  background: none;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  transition: background .16s, color .18s;
}
.category-links a:hover { background: var(--gray-100); color: var(--brand-accent); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  padding-left: 0px;
}
.timeline div {
  font-family: 'Roboto', sans-serif;
  font-size: 1.04rem;
  color: var(--gray-700);
  border-left: 3px solid var(--gray-100);
  padding: 10px 0 10px 17px;
  position: relative;
}
.timeline div strong { color: var(--brand-accent); }

.chef-profiles {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 16px;
}
.chef-profiles > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  background: var(--mono-bg-card);
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(107,62,38,0.08);
  padding: 18px 20px;
}
.chef-profiles img {
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
}

.rating-summary {
  margin-top: 26px;
  padding: 13px 20px;
  background: #fff;
  border-radius: 8px;
  font-size: 1.15rem;
  font-family: 'Roboto', sans-serif;
  color: var(--brand-brown);
  box-shadow: 0 2px 10px rgba(0,0,0,0.045);
}

/* ============================================================================
   REGIONAL/ SIGNATURE FOLK RECIPE/CARDS — DEUTSCHE KÜCHE
============================================================================ */
.region-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signature-dishes, .map-overview {
  margin-top: 24px;
  background: var(--gray-100);
  padding: 16px 20px;
  border-radius: 10px;
  color: var(--gray-900);
  font-size: 1.07rem;
}
.folk-recipe-cards, .chef-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.folk-recipe-cards .text-section {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.03);
  padding: 20px 16px;
  min-width: 190px;
  flex: 1 0 170px;
}

/* ============================================================================
   NEWSLETTER SIGNUP
============================================================================ */
.newsletter-signup {
  background: linear-gradient(135deg, #fff 80%, #f5f4f4 100%);
  box-shadow: 0 -2px 18px rgba(24,24,24,0.04);
  border-radius: 16px;
  margin-bottom: 60px;
}
.newsletter-signup h2 {
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.newsletter-signup .cta {
  margin-top: 24px;
}

/* ============================================================================
   FOOTER
============================================================================ */
footer {
  background: var(--gray-900);
  color: #fff;
  padding: 50px 0 25px 0;
  margin-top: 60px;
  width: 100%;
}
footer .container {
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 18px;
  align-items: flex-start;
}
footer nav.main-nav, footer nav.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav.main-nav a, footer nav.footer-menu a {
  font-family: 'Bree Serif', serif;
  font-size: .97rem;
  color: #fff;
  opacity: 0.9;
  transition: color .14s, opacity .13s;
  padding-top: 1.5px;
}
footer nav.main-nav a:hover, footer nav.footer-menu a:hover {
  color: var(--brand-accent-light);
  opacity: 1;
  text-decoration: underline;
}
footer .contact-info {
  font-size: .98rem;
  line-height: 1.7;
  color: #E0DBD0;
  margin-bottom: 8px;
}
footer .contact-info img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 3px;
  opacity: .93;
}
footer .social-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 1.5px 6px rgba(0,0,0,.07);
}
footer .social-links img {
  width: 22px;
  height: 22px;
}
footer .social-links a:hover {
  background: var(--brand-accent);
}
footer .copyright {
  color: #F0F0F0;
  font-size: .97rem;
  margin-top: 20px;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ============================================================================
   FORMS, LABELS, SEARCH INPUTS
============================================================================ */
input[type=text], input[type=email], textarea {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 1rem;
  margin: 7px 0 10px 0;
  width: 100%;
  color: var(--gray-900);
  transition: border .13s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border: 1.6px solid var(--brand-accent);
  outline: none;
}
label {
  color: var(--gray-700);
  font-size: 1rem;
  margin-right: 6px;
  margin-bottom: 4px;
  display: inline-block;
}

/* ============================================================================
   COOKIE CONSENT BANNER & MODAL
============================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid var(--gray-100);
  box-shadow: 0 -2px 16px rgba(75,46,25,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 16px 17px 16px;
  z-index: 3000;
  transition: transform 0.33s cubic-bezier(.7,0,.175,1);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  text-align: center;
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 7px;
}
.cookie-banner button {
  font-family: 'Bree Serif', serif;
  font-size: .98rem;
  padding: 7px 18px;
  border-radius: 26px;
  border: none;
  min-width: 100px;
  font-weight: 700;
  margin: 0 7px;
  background: var(--gray-100);
  color: var(--brand-brown);
  transition: background .18s, color .15s;
  box-shadow: 0 1px 8px rgba(24,24,24,0.04);
}
.cookie-banner button.accept {
  background: var(--brand-brown);
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: var(--brand-accent);
}
.cookie-banner button.reject {
  background: var(--gray-900);
  color: #fff;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: var(--gray-100);
  color: var(--brand-accent);
}
.cookie-banner button.settings {
  background: var(--gray-100);
  color: var(--brand-brown);
  border: 1.2px solid var(--brand-brown);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: var(--brand-brown);
  color: #fff;
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.23);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 50px rgba(24,24,24,.13);
  max-width: 410px;
  width: 93vw;
  padding: 38px 36px 24px 36px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalAppear .36s cubic-bezier(.72,0,.19,1);
}
@keyframes modalAppear {
  0% {transform: scale(.9) translateY(60px);opacity:0;}
 100% {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal .cookie-modal-title {
  font-family: 'Bree Serif', serif;
  font-size: 1.2rem;
  color: var(--brand-brown);
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 8px; right: 16px;
  font-size: 1.7rem;
  color: var(--brand-accent);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 11px 0;
  background: #F9F9F9;
  border-radius: 7px;
  padding: 8px 13px;
}
.cookie-modal .cookie-category .cookie-cat-label {
  font-size: 1.02rem;
  color: var(--gray-900);
  font-weight: 700;
}
.cookie-modal .cookie-category .cookie-cat-desc {
  font-size: .97rem;
  color: var(--gray-700);
  font-weight: 400;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 21px;
  border-radius: 20px;
  background: var(--gray-100);
  position: relative;
  transition: background .15s;
  margin-left: 9px;
  flex-shrink: 0;
}
.cookie-modal .cookie-toggle input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  top: 0; left: 0;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px; left: 4px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2.5px rgba(24,24,24,0.11);
  transition: transform .20s;
}
.cookie-modal .cookie-toggle input:checked + span {
  background: var(--brand-accent);
}
.cookie-modal .cookie-toggle input:checked + span::before {
  transform: translateX(17px);
  background: var(--brand-accent);
}
.cookie-modal .cookie-toggle span {
  display: block;
  width: 40px;
  height: 21px;
  border-radius: 20px;
  background: var(--gray-100);
  transition: background .16s;
  position: relative;
}
.cookie-modal .cookie-toggle span::before {
  content: '';
  position: absolute;
  top: 3px; left: 4px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-modal .cookie-category.essential .cookie-toggle span,
.cookie-modal .cookie-category.essential .cookie-toggle input:checked + span {
  background: #D5D5D5;
}
.cookie-modal .cookie-category.essential .cookie-toggle span::before {
  background: #D5D5D5;
}
.cookie-modal .cookie-category.essential .cookie-toggle input {
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: center;
  margin-top: 21px;
}
.cookie-modal .cookie-modal-footer button {
  font-family: 'Bree Serif', serif;
  font-size: .97rem;
  font-weight: 700;
  min-width: 105px;
  border: none;
  outline: none;
  border-radius: 26px;
  padding: 8px 17px;
  background: var(--brand-brown);
  color: #fff;
  box-shadow: 0 1.5px 7px rgba(24,24,24,0.07);
  transition: background .15s, color .14s;
}
.cookie-modal .cookie-modal-footer button.cancel {
  background: var(--gray-100);
  color: var(--brand-brown);
}
.cookie-modal .cookie-modal-footer button.cancel:hover {
  background: var(--brand-brown);
  color: #fff;
}
.cookie-modal .cookie-modal-footer button.save {
  background: var(--brand-accent);
}
.cookie-modal .cookie-modal-footer button.save:hover {
  background: var(--brand-brown);
}

/* ============================================================================
   LEGAL PAGES & THANK YOU
============================================================================ */
.legal {
  background: #F8F8F8;
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 60px;
}
.legal h1, .legal h2 {
  color: var(--brand-brown);
}
.legal .text-section ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal .text-section li {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 7px;
}

/* ============================================================================
   RESPONSIVE DESIGN
============================================================================ */
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .feature-grid {
    gap: 18px;
  }
  .footer-nav, .footer-menu { gap: 15px; }
}
@media (max-width: 700px) {
  .section, .legal { padding: 24px 5vw; }
  .newsletter-signup { padding: 16px 0; }
  .card { padding: 18px 10px; }
  .chef-profiles, .folk-recipe-cards { flex-direction: column; gap: 14px; }
  .footer-nav { flex-direction: column; gap: 20px; }
  .content-grid { flex-direction: column; gap: 15px; }
  .feature-grid { flex-direction: column; gap: 16px; }
  .hero-section { padding: 40px 0 26px 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .section, .legal { padding: 13px 2vw; }
  .footer-nav, .footer-menu { gap: 8px; }
}

/* ============================================================================
   UTILITY/HELPER CLASSES
============================================================================ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 9px;
}
@media (max-width: 700px) {
  .text-section { gap: 11px; }
}

/* Hide visually for a11y, show only for screen-readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Overlap prevention and spacing (from reqs) */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .feature-grid > div, .folk-recipe-cards > div, .chef-profiles > div, .value-list li {
  margin-bottom: 20px;
}
.content-grid, .feature-grid, .card-container, .chef-profiles, .folk-recipe-cards, .testimonial-cards {
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================================
   TRANSITIONS & MICRO-INTERACTIONS
============================================================================ */
.card, .feature-grid > div, .testimonial-card, .cta, .cookie-banner, .cookie-modal-content, .mobile-menu {
  transition: box-shadow .2s, background .15s, color .15s, transform .13s;
}

/* ============================================================================
   END OF STYLES — NO GRID PROPERTIES USED
============================================================================ */
