/* --- 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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: #fff; color: #222; }
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section {
  display: block;
}
ol,ul {
  list-style: none;
}
img,svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
button,input,select,textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
/* --- BRAND CSS VARIABLES (with fallback) --- */
:root {
  --kw-primary: #20603d;
  --kw-secondary: #ecdcb0;
  --kw-bg: #ffffff;
  --kw-accent: #b11c27;
  --kw-font-display: 'Playfair Display', serif;
  --kw-font-body: 'Open Sans', Arial, sans-serif;
  --kw-radius: 14px;
  --kw-card-shadow: 0 3px 20px 0 rgba(32, 96, 61, 0.08);
  --kw-transition: 0.22s cubic-bezier(.4,.13,.62,1.09);
}

/* --- ROOT LAYOUT --- */
html {
  font-size: 16px;
  font-family: var(--kw-font-body);
  background: var(--kw-bg);
  color: #181a1b;
  scroll-behavior: smooth;
}
body {
  font-family: var(--kw-font-body);
  background: var(--kw-bg);
  color: #222;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--kw-font-display);
  font-weight: 700;
  color: var(--kw-primary);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 11px; }
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

p, li, .subheadline {
  font-size: 1rem;
  line-height: 1.6;
  color: #252525;
  margin-bottom: 10px;
  font-family: var(--kw-font-body);
}
.subheadline {
  font-size: 1.2rem;
  color: #334;
  margin-bottom: 20px;
  font-weight: 500;
}
strong, b {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

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

/* --- HEADER & MAIN NAV --- */
.site-header {
  background: var(--kw-bg);
  box-shadow: 0 2px 8px 0 rgba(32,96,61,0.025);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}
.site-header img[alt="KüchenWelle"] {
  height: 56px;
  width: auto;
  margin-right: 20px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--kw-font-display);
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--kw-primary);
  padding: 4px 2px;
  letter-spacing: 0.015em;
  transition: color 0.18s;
  border-radius: 3px;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--kw-accent);
  background: var(--kw-secondary);
}
.cta-button {
  font-size: 1.1rem;
  font-family: var(--kw-font-display);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: var(--kw-radius);
  background-color: var(--kw-accent);
  color: #fff;
  box-shadow: 0 3px 14px 0 rgba(177,28,39,0.14);
  margin-left: 20px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #222;
  color: var(--kw-secondary);
  box-shadow: 0 5px 20px 0 rgba(32,96,61,0.15);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  font-size: 2rem;
  color: var(--kw-primary);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  cursor: pointer;
  margin-left: 12px;
  border-radius: 8px;
  transition: background 0.13s;
  z-index: 1060;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--kw-secondary);
  color: var(--kw-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(236, 220, 176,0.97);
  box-shadow: 0 0 40px 0 rgba(32,96,61,0.08);
  z-index: 1100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(-105vw);
  transition: transform 0.34s var(--kw-transition);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: var(--kw-accent);
  border: none;
  align-self: flex-end;
  margin: 18px 28px 0 0;
  cursor: pointer;
  transition: color 0.18s, background 0.16s;
  border-radius: 50%;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: var(--kw-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 30px 0 32px 38px;
}
.mobile-nav a {
  font-family: var(--kw-font-display);
  font-weight: 700;
  font-size: 1.33rem;
  color: var(--kw-primary);
  padding: 10px 0;
  letter-spacing: 0.03em;
  border-radius: 5px;
  width: 100%;
  display: block;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--kw-accent);
  color: #fff;
}
.mobile-nav .cta-button {
  margin-left: 0;
  margin-top: 20px;
  font-size: 1.13rem;
  width: auto;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  background: linear-gradient(100deg, var(--kw-secondary) 60%, #fff 100%);
  min-height: 330px;
  align-items: center;
  margin-bottom: 44px;
  padding: 60px 0 30px 0;
  box-shadow: 0 3px 16px 0 rgba(236,220,176,0.09);
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  gap: 40px;
}
.hero .content-wrapper {
  flex: 1 1 auto;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--kw-accent);
  font-size: 2.7rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(32,96,61,0.04);
}
.hero .cta-button {
  margin-top: 18px;
}
@media (max-width: 800px) {
  .hero {
    min-height: 210px;
    padding: 30px 0 16px 0;
  }
  .hero .container {
    gap: 12px;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--kw-radius);
  box-shadow: var(--kw-card-shadow);
  padding: 28px 24px 26px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 200px;
  max-width: 300px;
  border: 3px solid var(--kw-secondary);
  position: relative;
  transition: box-shadow 0.19s, border 0.19s;
}
.feature-item img {
  height: 40px; width: 40px; margin-bottom: 0;
}
.feature-item h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: var(--kw-primary);
  font-family: var(--kw-font-display);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 9px 35px 0 rgba(35,80,56,0.12);
  border-color: var(--kw-primary);
  z-index: 3;
}

/* --- CALLOUT --- */
.callout {
  background: var(--kw-primary);
  color: #fff;
  border-radius: var(--kw-radius);
  box-shadow: 0 4px 30px 0 rgba(32,96,61,0.13);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--kw-font-body);
}
.callout h2 {
  color: #fff;
  margin-bottom: 6px;
}
.callout .cta-button {
  background: #fff;
  color: var(--kw-primary);
  margin-top: 10px;
  box-shadow: none;
}
.callout .cta-button:hover {
  background: var(--kw-accent);
  color: #fff;
}

/* --- TESTIMONIALS --- */
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: var(--kw-radius);
  padding: 24px 26px 20px;
  box-shadow: var(--kw-card-shadow);
  border: 2.5px solid var(--kw-secondary);
  min-width: 250px;
  max-width: 330px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: border 0.16s, box-shadow 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 2.5px solid var(--kw-accent);
  box-shadow: 0 14px 26px 0 rgba(177,28,39,0.11);
  z-index: 2;
}
.testimonial-text {
  color: #252525;
  font-size: 1.09rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-author {
  font-family: var(--kw-font-display);
  font-weight: 700;
  color: var(--kw-primary);
  font-size: 1.01rem;
}
.star-rating {
  display: flex;
  gap: 2px;
}
@media (max-width: 900px) {
  .testimonial-row {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* --- COMMON FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--kw-radius);
  box-shadow: var(--kw-card-shadow);
  padding: 22px 18px 20px 18px;
  transition: box-shadow 0.18s, border 0.15s;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LIST STYLES --- */
.feature-list, .tip-list, .values-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}
.feature-list li, .tip-list li, .values-list li {
  background: var(--kw-secondary);
  border-radius: 10px;
  padding: 12px 18px 11px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--kw-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 11px 0 rgba(32,96,61,0.055);
}

/* --- CATEGORY LIST & FILTERS --- */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.category-item {
  background: var(--kw-secondary);
  color: var(--kw-primary);
  border-radius: 9px;
  font-family: var(--kw-font-display);
  font-weight: bold;
  font-size: 1.08rem;
  padding: 12px 28px;
  box-shadow: 0 3px 10px 0 rgba(32,96,61,0.05);
  transition: background 0.16s, color 0.19s;
  border: 2px solid transparent;
}
.category-item:hover,
.category-item:focus {
  background: var(--kw-primary);
  color: #fff;
  border: 2px solid var(--kw-accent);
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.filter-options button {
  padding: 10px 28px;
  background: var(--kw-primary);
  color: #fff;
  font-family: var(--kw-font-display);
  font-weight: 700;
  border-radius: 9px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.14s, color 0.13s;
}
.filter-options button:hover {
  background: var(--kw-accent);
  color: #fff;
}

/* --- FEATURED RECIPES --- */
.featured-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.featured-recipe {
  background: #fff;
  border-radius: var(--kw-radius);
  box-shadow: var(--kw-card-shadow);
  padding: 22px 17px 18px;
  min-width: 210px;
  flex: 1 1 190px;
  max-width: 270px;
  margin-bottom: 20px;
  font-family: var(--kw-font-body);
  border: 2.5px solid var(--kw-secondary);
  transition: box-shadow 0.16s, border 0.15s;
}
.featured-recipe h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
  color: var(--kw-accent);
  font-family: var(--kw-font-display);
  font-weight: 700;
}
.featured-recipe:hover,
.featured-recipe:focus {
  box-shadow: 0 12px 30px 0 rgba(177,28,39,0.13);
  border: 2.5px solid var(--kw-accent);
}
@media (max-width: 950px) {
  .featured-recipes {
    flex-direction: column;
    gap: 17px;
  }
}

/* --- FORM / SEARCH --- */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--kw-radius);
  box-shadow: 0 1px 12px 0 rgba(32,96,61,0.11);
  max-width: 360px;
  margin-top: 15px;
  width: 100%;
}
.search-bar input[type="text"] {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 16px;
  font-size: 1rem;
  color: #252525;
  border-radius: var(--kw-radius) 0 0 var(--kw-radius);
}
.search-bar button {
  border: none;
  background: var(--kw-primary);
  color: #fff;
  padding: 7px 19px;
  border-radius: 0 var(--kw-radius) var(--kw-radius) 0;
  cursor: pointer;
  transition: background 0.15s;
}
.search-bar button:hover {
  background: var(--kw-accent);
}

/* --- TEXT SECTIONS ETC. --- */
.text-section, .community-commitment, .tradition-innovation {
  background: #fff;
  border-radius: var(--kw-radius);
  padding: 26px 24px 25px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 9px 0 rgba(32,96,61,0.05);
  border: 2px solid var(--kw-secondary);
}
.map {
  margin-top: 18px;
}
@media (max-width: 850px) {
  .content-wrapper { gap: 18px; }
}
@media (max-width: 600px) {
  .content-wrapper { gap: 13px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 30px 5px; }
  .callout { padding: 28px 10px; }
}

/* --- CARD ALIGNMENT RULES --- */
.card-container > *,
.card,
.content-grid > *,
.testimonial-row > *,
.featured-recipes > *,
.feature-list > *,
.tip-list > *,
.category-list > *,
.filter-options > *,
.feature-grid > * {
  margin-right: 0;
  margin-left: 0;
}

/* --- SPECIAL LABELS & TAGS --- */
.origin-tag {
  display: inline-block;
  background: var(--kw-accent);
  color: #fff;
  font-size: 0.93em;
  padding: 3px 10px 3px;
  border-radius: 8px;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.historical-note {
  color: #61745c;
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 9px;
}

/* --- FOOTER --- */
footer {
  background: var(--kw-primary);
  color: #fff;
  margin-top: 60px;
  padding: 40px 0 18px 0;
  width: 100%;
  position: relative;
  box-shadow: 0 -3px 22px 0 rgba(32,96,61,0.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #fff;
  font-family: var(--kw-font-display);
  font-weight: bold;
  letter-spacing: 0.01em;
  font-size: 1.04rem;
  padding: 4px 9px;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--kw-accent);
  color: #ffe7db;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.footer-info > div {
  min-width: 170px;
}
.social-media-links {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}
.social-media-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  box-shadow: 0 1px 9px 0 rgba(32, 96, 61, 0.05);
  transition: background 0.15s, box-shadow 0.14s;
}
.social-media-links a:hover {
  background: var(--kw-accent);
}
.social-media-links img { width: 20px; height: 20px; }
.footer-copyright {
  margin-top: 14px;
  font-size: 0.96rem;
  color: #e7e7e7;
  text-align: left;
  letter-spacing: 0.01em;
}
@media (max-width: 750px) {
  .footer-info {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* --- THANK YOU SECTION --- */
.thankyou-section {
  background: var(--kw-secondary);
  border-radius: var(--kw-radius);
  padding: 44px 18px 38px 23px;
  text-align: left;
  box-shadow: 0 3px 20px 0 rgba(32, 96, 61, 0.06);
}
.thankyou-section h1 { color: var(--kw-accent); }

/* --- RESPONSIVE FLEX ALIGNMENTS --- */
@media (max-width: 900px) {
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .callout {
    padding: 23px 10px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}
@media (max-width: 520px) {
  .feature-grid, .featured-recipes, .testimonial-row, .content-wrapper, .category-list, .footer-info, .card-container {
    gap: 12px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fffbe6;
  color: #181a1b;
  border-top: 2.5px solid var(--kw-primary);
  box-shadow: 0 -1px 18px 0 rgba(32,96,61,0.07);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  gap: 26px;
  font-family: var(--kw-font-body);
  font-size: 1.04rem;
  animation: cookieSlideIn 0.45s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  max-width: 470px;
  flex: 2 1 60%;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--kw-font-display);
  font-weight: 700;
  border-radius: 8px;
  border: none;
  font-size: 1.03rem;
  cursor: pointer;
  padding: 10px 21px;
  margin: 0;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: var(--kw-primary);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--kw-accent); }
.cookie-banner .reject {
  background: #fff;
  color: var(--kw-accent);
  border: 2.5px solid var(--kw-accent);
}
.cookie-banner .reject:hover {
  background: var(--kw-accent);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--kw-secondary);
  color: var(--kw-primary);
}
.cookie-banner .settings:hover {
  background: var(--kw-primary);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 6px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px; flex-wrap: wrap;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1600;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(32,96,61,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeIn 0.34s;
}
@keyframes fadeIn {
 from{opacity:0} to{opacity:1}
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 3px 30px 0 rgba(32,96,61,0.21);
  padding: 38px 32px 30px 32px;
  min-width: 320px;
  max-width: 98vw;
  min-height: 140px;
  color: #212;
  font-family: var(--kw-font-body);
  font-size: 1.08rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1700;
}
.cookie-modal h3 {
  color: var(--kw-accent);
  margin-bottom: 12px;
  font-size: 1.16rem;
  font-family: var(--kw-font-display);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 1.05rem;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 24px;
  background: var(--kw-secondary);
  border-radius: 14px;
  position: relative;
  margin-right: 5px;
  transition: background 0.15s;
  flex-shrink: 0;
  border: 2px solid var(--kw-primary);
  cursor: pointer;
  display:inline-block;
}
.cookie-modal .cookie-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--kw-primary);
  border-radius: 50%;
  transition: left 0.2s, background 0.14s;
}
.cookie-modal .cookie-switch.active {
  background: var(--kw-accent);
}
.cookie-modal .cookie-switch.active .slider {
  left: 16px; background: var(--kw-accent);
}
.cookie-modal .cookie-category.essential .cookie-switch {
  background: var(--kw-secondary);
  cursor: not-allowed;
  opacity: .7;
}
.cookie-modal-backdrop .close-modal {
  position: absolute;
  top: 21px;
  right: 28px;
  background: none;
  border: none;
  color: var(--kw-accent);
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal-backdrop .close-modal:hover {
  background: var(--kw-secondary);
  color: var(--kw-primary);
}
.cookie-modal .cookie-actions {
  display: flex; gap: 16px; margin-top: 18px;
}
@media (max-width:650px){
  .cookie-modal {
    padding: 20px 5vw 18px 5vw;
    min-width: 0;
  }
}

/* --- ANIMATIONS & INTERACTIONS --- */
.cta-button, button, .category-item, .feature-item, .featured-recipe, .testimonial-card, .cookie-banner button {
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, border 0.19s, transform 0.14s;
}
.cta-button:active, button:active, .category-item:active, .feature-item:active, .featured-recipe:active, .testimonial-card:active {
  transform: translateY(2px) scale(0.98);
}

/* --- SCROLLBAR (bold, modern) --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--kw-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--kw-primary);
  border-radius: 12px;
}

/* --- OVERLAP/STACKING PREVENTION --- */
.card, .callout, .testimonial-card, .text-section, .feature-item, .featured-recipe, .cookie-banner, .cookie-modal {
  margin-bottom: 20px;
}

/* --- ACCESSIBILITY IMPROVEMENTS --- */
:focus {
  outline: 2.5px solid var(--kw-accent);
  outline-offset: 2px;
}

/* --- UTILS --- */
.hide { display: none !important; }

/* --- END OF CSS --- */
